/*
Theme Name: FCU Aircon
Theme URI: https://fcuaircon.cservicecnter.com
Author: FCU AIRCON
Description: fcu수냉식 에어컨 수리 전문업체 맞춤 테마
Version: 1.0
Text Domain: fcuaircon
*/

:root{
  --bg:#FFFFFF;
  --bg-sub:#F1F5F9;
  --accent:#4F46E5;
  --accent-sub:#22C55E;
  --text:#0F172A;
  --radius:12px;
  --gap-img-text:16px;
  --pad-x:24px;
  --section-gap:48px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Pretendard',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
button{font-family:inherit;cursor:pointer}

h1{font-size:29px;line-height:1.6;font-weight:700;margin:0 0 16px}
h2{font-size:22px;line-height:1.6;font-weight:700;margin:0 0 12px}
h3{font-size:18px;line-height:1.6;font-weight:700;margin:0 0 8px}
p{margin:0 0 16px}

.container{max-width:1120px;margin:0 auto;padding:0 var(--pad-x)}
.section{padding:var(--section-gap) 0}
.section-bg{background:var(--bg-sub)}
.section-head{margin-bottom:32px}
.section-head::before{content:"";display:block;width:48px;height:4px;border-radius:2px;background:var(--accent);margin-bottom:14px}
.section-head.kicker-green::before{background:var(--accent-sub)}
.section-head .title{font-weight:800;letter-spacing:-.01em}
.section-head .subtitle{font-weight:400;color:var(--text);opacity:.75;margin-top:8px}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:0 20px;border-radius:var(--radius);
  font-weight:700;border:none;white-space:nowrap;
}
.btn-primary{background:var(--accent);color:#fff}
.btn-outline{background:#fff;color:var(--accent);border:1px solid var(--accent)}
.btn-sub{background:var(--accent-sub);color:#fff}
.btn-group{display:flex;gap:12px;flex-wrap:wrap}

/* icons */
.icon{width:24px;height:24px;flex:none}

/* header */
.site-header{
  position:sticky;top:0;z-index:100;background:#fff;
  border-bottom:1px solid var(--bg-sub);
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:64px}
.site-logo{display:flex;align-items:center;gap:10px}
.site-logo img{width:32px;height:32px}
.site-logo-text{display:flex;flex-direction:column;line-height:1.25}
.site-logo-ko{font-weight:700;font-size:17px}
.site-logo-en{font-weight:400;font-size:11px;color:var(--text);opacity:.6;letter-spacing:.02em}
.nav-pc{display:none}
.nav-pc ul{display:flex;align-items:center;gap:28px}
.nav-pc a{display:flex;align-items:center;gap:6px;font-weight:500}
.hamburger{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:none;border:none}
.hamburger span,.hamburger span::before,.hamburger span::after{
  content:"";display:block;width:24px;height:2px;background:var(--text);position:relative;transition:.2s;
}
.hamburger span::before{position:absolute;top:-8px}
.hamburger span::after{position:absolute;top:8px}
.mobile-menu{max-height:0;overflow:hidden;transition:max-height .3s ease;background:#fff;border-bottom:1px solid var(--bg-sub)}
.mobile-menu.open{max-height:400px}
.mobile-menu ul{padding:8px var(--pad-x) 16px}
.mobile-menu li{border-top:1px solid var(--bg-sub)}
.mobile-menu a{display:flex;align-items:center;gap:10px;min-height:44px}

@media (min-width:768px){
  .nav-pc{display:block}
  .hamburger,.mobile-menu{display:none}
}

/* hero: 이미지만 PC/모바일 분리, H1 텍스트 블록은 DOM에 하나만 존재 */
.hero{position:relative}
.hero-bg-pc{display:none}
.hero-bg-mobile{width:100%;border-radius:0;height:auto}
.hero-overlay{position:static;background:none}
.hero-content{padding:24px var(--pad-x)}
.hero h1{font-size:29px}
@media (min-width:768px){
  .hero{color:#fff}
  .hero-bg-mobile{display:none}
  .hero-bg-pc{display:block;width:100%;height:520px;object-fit:cover}
  .hero-overlay{position:absolute;inset:0;background:rgba(15,23,42,.42);display:flex;align-items:center}
  .hero-content{padding:0 var(--pad-x)}
  .hero h1{font-size:40px}
}

/* pain points / why us */
.point-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:768px){.point-grid{grid-template-columns:repeat(3,1fr)}}

/* Why Us: 모바일은 가로 슬라이드(기차형 무한루프), PC는 고정 3열 그리드 */
.point-grid-marquee{overflow:hidden}
@media (max-width:767px){
  .point-grid-marquee{margin:0 calc(var(--pad-x) * -1)}
  .point-grid-marquee .marquee-track{
    display:flex;width:max-content;gap:24px;padding:0 var(--pad-x);
    animation:fcu-marquee 28s linear infinite;
  }
  .point-grid-marquee .marquee-track .point-card{flex:0 0 78vw}
}
@keyframes fcu-marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (min-width:768px){
  .point-grid-marquee .marquee-track{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;animation:none;width:auto}
  .point-grid-marquee .marquee-track .point-card[aria-hidden="true"]{display:none}
}
.point-card{
  background:#fff;border-radius:var(--radius);padding:24px;
  border-top:3px solid var(--accent);
  box-shadow:0 2px 4px rgba(15,23,42,.06),0 16px 32px -12px rgba(15,23,42,.18);
  transition:transform .2s ease,box-shadow .2s ease;
}
.point-card:hover{
  transform:translateY(-4px);
  box-shadow:0 4px 8px rgba(15,23,42,.08),0 24px 40px -14px rgba(79,70,229,.28);
}
.point-card .icon{margin-bottom:var(--gap-img-text)}

/* fullscreen image */
.fullbleed{width:100%;overflow:hidden}
.fullbleed img{width:100%;object-fit:cover}

/* region grid (cases) */
.case-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:768px){.case-grid{grid-template-columns:repeat(3,1fr)}}
.case-card{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;display:block}
.case-card img{width:100%;height:100%;object-fit:cover}
.case-caption{
  position:absolute;left:0;right:0;bottom:0;background:rgba(15,23,42,.72);color:#fff;
  padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;
}
.case-title{font-weight:700;font-size:15px}
.case-view{font-size:13px;opacity:.9;display:flex;align-items:center;gap:4px;white-space:nowrap}
@media (min-width:768px){
  .case-caption{transform:translateY(100%);opacity:0;transition:.3s}
  .case-card:hover .case-caption{transform:translateY(0);opacity:1}
}

/* about swipe (mobile) */
.about-cards{display:flex;gap:16px}
@media (max-width:767px){
  .about-cards{
    overflow-x:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none;
  }
  .about-cards::-webkit-scrollbar{display:none}
  .about-cards .point-card{flex:0 0 100%;scroll-snap-align:start}
}
@media (min-width:768px){.about-cards{display:grid;grid-template-columns:repeat(3,1fr)}}

/* About Us / Why Us 카드: 숫자 배지(아이콘 대체) + 입체 그림자, 두 섹션 동일 스타일 */
.about-cards .point-card{
  position:relative;
  border:1px solid rgba(15,23,42,.12);border-left:4px solid var(--accent);
  background:#fff;
  box-shadow:0 2px 6px rgba(15,23,42,.10),0 18px 36px -14px rgba(15,23,42,.30);
}
.about-cards .point-num{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;margin-bottom:var(--gap-img-text);
  border-radius:50%;background:var(--accent);color:#fff;
  font-weight:800;font-size:16px;line-height:1;
}
.about-cards .point-card:nth-child(2){border-left-color:var(--accent-sub)}
.about-cards .point-card:nth-child(2) .point-num{background:var(--accent-sub)}
.contact-info{margin:32px 0;text-align:left}
.center-row{display:flex;justify-content:center}
.case-more{text-align:center;margin-top:32px}
.dots{display:flex;justify-content:center;gap:10px;margin-top:16px}
.dots span{width:9px;height:9px;border-radius:50%;background:rgba(15,23,42,.28)}
.dots span.active{background:var(--accent)}
@media (min-width:768px){.dots{display:none}}

/* faq accordion */
.faq-item{border-bottom:1px solid var(--bg-sub)}
.faq-q{
  width:100%;text-align:left;background:none;border:none;padding:20px 0;
  display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:18px;min-height:44px;
}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-a p{padding-bottom:20px}
.faq-item.open .faq-a{max-height:600px}
.faq-item.open .faq-q .chev{transform:rotate(180deg)}
.faq-q .chev{transition:.2s}

/* consult cta */
.consult-cta{background:var(--accent);color:#fff;text-align:center}
.consult-cta h2{color:#fff}
.consult-cta .btn-primary{background:#fff;color:var(--accent)}
.consult-cta .btn-outline{background:transparent;color:#fff;border-color:#fff}

/* footer */
.site-footer{background:var(--text);color:#fff;padding:var(--section-gap) 0}
.site-footer .brand{font-weight:700;margin-bottom:12px}
.site-footer .info p{margin:0 0 6px;opacity:.85;font-size:14px}
.footer-links{display:flex;gap:20px;margin-top:20px;flex-wrap:wrap}
.footer-links a{display:flex;align-items:center;gap:6px;opacity:.9}

/* case single templates */
.case-body{max-width:760px;margin:0 auto;padding:var(--section-gap) var(--pad-x)}
.case-lead-img{margin:24px 0}
.case-lead-img img{width:100%;border-radius:var(--radius);display:block}
.case-lead-img figcaption{font-size:13px;color:var(--text);opacity:.6;margin-top:8px}
.case-body .fcu-card-grid .fcu-card{position:relative;border-top:3px solid var(--accent);background:#fff;box-shadow:0 2px 4px rgba(15,23,42,.06),0 12px 24px -10px rgba(15,23,42,.15)}
.case-body .fcu-card-grid .fcu-card h3{margin-bottom:6px}
.case-body h1{font-size:29px}
.case-body table{width:100%;border-collapse:collapse;margin:24px 0}
.case-body th,.case-body td{border:1px solid var(--bg-sub);padding:12px;text-align:left;font-size:15px}
.case-body th{background:var(--bg-sub)}
.fcu-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:24px 0}
.fcu-card{border-radius:var(--radius);padding:20px;background:var(--bg-sub)}
.fcu-timeline{list-style:none;margin:24px 0;padding:0;border-left:2px solid var(--accent)}
.fcu-timeline li{position:relative;padding:0 0 24px 24px}
.fcu-timeline li::before{content:"";position:absolute;left:-7px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--accent)}
.fcu-checklist li{position:relative;padding:8px 0 8px 32px;border-bottom:1px solid var(--bg-sub)}
.fcu-checklist li::before{content:"";position:absolute;left:0;top:12px;width:18px;height:18px;border-radius:4px;background:var(--accent-sub)}
.fcu-step-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:24px 0}
.fcu-step{display:flex;flex-direction:column;align-items:center;text-align:center;width:110px}
.fcu-step-num{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;margin-bottom:6px}
.fcu-step-txt{font-size:14px}
.fcu-step-arrow{font-size:20px;color:#94a3b8;padding:0 4px}
@media (max-width:480px){.fcu-step-row{flex-direction:column}.fcu-step-arrow{transform:rotate(90deg)}}
.fcu-details{border:1px solid var(--bg-sub);border-radius:var(--radius);padding:16px;margin-bottom:12px}
.fcu-details summary{font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}

/* fade-in */
.fade-in{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.fade-in.is-visible{opacity:1;transform:translateY(0)}

/* contact page */
.contact-box{max-width:520px;margin:0 auto;padding:var(--section-gap) var(--pad-x);text-align:center}
.contact-box .btn{width:100%}

/* sitemap page */
.sitemap-list{max-width:760px;margin:0 auto;padding:var(--section-gap) var(--pad-x)}
.sitemap-list h2{margin-top:32px}
.sitemap-list li{min-height:44px;display:flex;align-items:center;border-bottom:1px solid var(--bg-sub)}
