/*
Theme Name: GJL FINERO Child
Theme URI: https://gjl.techhomecity.com
Description: FINERO 피네로 — 간접조명 설치 전문 (angle.veteranfix 아키텍처)
Author: FINERO 피네로
Author URI: https://gjl.techhomecity.com
Template: twentytwentyfive
Version: 3.0.0
Text Domain: gjl-finero-child
*/

/* ============================================================
   1. 디자인 토큰
   ============================================================ */
:root {
  --clr-primary:    #100021;
  --clr-accent:     #f97316;
  --clr-accent-dk:  #ea6404;
  --clr-bg:         #ffffff;
  --clr-bg-soft:    #f8f9fa;
  --clr-text:       #1a1a2e;
  --clr-text-muted: #6b7280;
  --clr-border:     #e5e7eb;
  --font-main:      'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:          1100px;
  --radius:         8px;
  --transition:     .2s ease;
  --ease-expo:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   2. 리셋 & 기본
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

p, li, dt, dd {
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-style: normal;
  line-height: 1.25;
  color: var(--clr-primary);
  word-break: keep-all;
}

/* ============================================================
   3. 컨테이너
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ============================================================
   4. 버튼 시스템
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  font-style: normal;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
  white-space: nowrap;
  line-height: 1.3;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}

.btn-accent:hover {
  background: var(--clr-accent-dk);
  border-color: var(--clr-accent-dk);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
}

.btn-outline-primary {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn-outline-primary:hover {
  background: var(--clr-primary);
  color: #fff;
}

.btn-sm {
  padding: .45rem 1rem;
  font-size: .85rem;
  min-height: 36px;
}

.btn-lg {
  padding: .9rem 2.2rem;
  font-size: 1.05rem;
  min-height: 54px;
}

/* ============================================================
   5. 스크롤 진행바
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--clr-accent);
  z-index: 9999;
  width: 0;
  transition: width .1s linear;
}

/* ============================================================
   6. 헤더
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--clr-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
  height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.site-logo a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .1rem;
  text-decoration: none;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.logo-text strong {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: #fff;
  font-style: normal;
}

.logo-sub {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .45);
  font-style: normal;
}

.header-cta {
  flex-shrink: 0;
}

/* ============================================================
   7. 히어로
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      135deg,
      rgba(16, 0, 33, .92) 0%,
      rgba(16, 0, 33, .78) 35%,
      rgba(16, 0, 33, .55) 65%,
      rgba(16, 0, 33, .38) 100%
    ),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(249, 115, 22, .15) 0%, transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 6rem;
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-main);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.1rem;
  font-style: normal;
}

.hero__title {
  font-family: var(--font-main);
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
  font-style: normal;
}

.hero__brand-line {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
  font-style: normal;
}

.hero__sub {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 2rem;
  font-style: normal;
}

/* Trust badges */
.hero__badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: #fff;
}

.trust-badge__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(249, 115, 22, .18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
}

.trust-badge__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-accent);
  fill: none;
}

.trust-badge__body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.trust-badge__hl {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  font-style: normal;
}

.trust-badge__cap {
  font-size: .75rem;
  color: rgba(255, 255, 255, .55);
  font-style: normal;
  line-height: 1.4;
}

/* CTA group */
.hero__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.hero__cta-note {
  font-size: .76rem;
  color: var(--clr-accent);
  line-height: 1.6;
  max-width: 480px;
  word-break: keep-all;
}

/* ============================================================
   8. 섹션 기본
   ============================================================ */
.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--clr-primary);
  color: #fff;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--soft {
  background: var(--clr-bg-soft);
}

.section--tight {
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--clr-accent);
  margin-bottom: .5rem;
  font-style: normal;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: .75rem;
  font-style: normal;
}

.section--dark .section-title {
  color: #fff;
}

.section-desc {
  font-size: 1rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: 1.7;
  font-style: normal;
}

.section--dark .section-desc {
  color: rgba(255, 255, 255, .65);
}

/* ============================================================
   9. 서비스 카드
   ============================================================ */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.service-card__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--clr-accent);
  opacity: .2;
  line-height: 1;
  margin-bottom: .5rem;
  font-style: normal;
}

.service-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: .5rem;
  font-style: normal;
}

.service-card__desc {
  font-size: .9rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin: .75rem 0;
  flex: 1;
}

.service-card__actions {
  margin-top: auto;
}

/* ============================================================
   10. Why 섹션
   ============================================================ */
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.why-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.why-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--clr-accent);
  opacity: .4;
  line-height: 1;
  flex-shrink: 0;
  font-style: normal;
}

.why-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4rem;
  font-style: normal;
}

.why-body p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.65;
}

/* ============================================================
   11. 갤러리
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item__figure {
  position: relative;
  overflow: hidden;
}

.gallery-item__figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease-expo);
}

.gallery-item:hover .gallery-item__figure img {
  transform: scale(1.05);
}

.gallery-item__caption {
  padding: .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-text);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.section-cta-wrap {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================================
   12. CTA 배너
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dk) 100%);
  padding: 5rem 0;
}

.cta-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-banner__body {
  flex: 1;
  min-width: 0;
}

.cta-banner__title {
  font-size: clamp(1.75rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .75rem;
  font-style: normal;
}

.cta-banner__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.25rem;
}

.cta-banner__micro {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.cta-banner__micro li {
  font-size: .9rem;
  color: rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.cta-banner__micro li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, .8);
  border-radius: 50%;
  flex-shrink: 0;
}

.cta-banner__btn-wrap {
  flex-shrink: 0;
}

.cta-banner__btn {
  background: #fff;
  color: var(--clr-accent);
  border-color: #fff;
  font-weight: 800;
}

.cta-banner__btn:hover {
  background: rgba(255, 255, 255, .9);
  color: var(--clr-accent-dk);
  border-color: rgba(255, 255, 255, .9);
  transform: translateY(-2px);
}

/* ============================================================
   13. Floating CTA
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 500;
}

.dp-float-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, .45);
  text-decoration: none;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.dp-float-cta:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(249, 115, 22, .6);
}

.dp-float-cta svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  position: relative;
  z-index: 1;
}

.dp-float-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .6; }
  50%  { transform: scale(1.2); opacity: .2; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ============================================================
   14. 푸터
   ============================================================ */
.site-footer {
  background: var(--clr-primary);
  color: #fff;
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: .2rem;
  font-style: normal;
}

.footer-logo span {
  font-size: .68rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .06em;
  font-style: normal;
}

.footer-desc {
  font-size: .9rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-top: .85rem;
}

.footer-col-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 1rem;
  font-style: normal;
}

.footer-nav ol {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-nav li a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
  transition: color var(--transition);
}

.footer-nav li a:hover {
  color: var(--clr-accent);
}

.footer-info p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  padding: 1.75rem 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
}

/* ============================================================
   15. 상담 카드
   ============================================================ */
.consult-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.consult-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
}

/* ============================================================
   16. NSEO 카드
   ============================================================ */
.nseo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.nseo-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg);
  transition: transform .25s var(--ease-expo), box-shadow .25s;
}

.nseo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
}

.nseo-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.nseo-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease-expo);
}

.nseo-card:hover .nseo-card__img {
  transform: scale(1.04);
}

.nseo-card__body {
  padding: 1rem;
}

.nseo-card__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  background: var(--clr-accent);
  color: #fff;
  padding: .2rem .5rem;
  border-radius: 3px;
  margin-bottom: .5rem;
  font-style: normal;
}

.nseo-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: .35rem;
  font-style: normal;
}

.nseo-card__desc {
  font-size: .85rem;
  color: var(--clr-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}

.nseo-card__link {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-accent);
  margin-top: .6rem;
}

/* ============================================================
   17. FAQ
   ============================================================ */
.faq-list {
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-weight: 600;
  color: var(--clr-primary);
  gap: 1rem;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--clr-accent);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  font-size: .9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* ============================================================
   18. 애니메이션
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-expo), transform .7s var(--ease-expo);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease-expo), transform .65s var(--ease-expo);
}

.reveal-anim.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   19. 유틸리티
   ============================================================ */
.text-center  { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   20. 반응형
   ============================================================ */
@media (max-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }
  .hero__content {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .hero__badges {
    gap: 1.25rem;
  }
  .why-list {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner .footer-brand {
    grid-column: auto;
  }
  .cta-banner__inner {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__cta-group {
    flex-direction: column;
  }
  .hero__cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .consult-cards {
    grid-template-columns: 1fr;
  }
}
