:root{
  --brand:#0e7c86;
  --brand-dark:#0a5c64;
  --brand-light:#e6f4f4;
  --bg:#f8fafb;
  --card:#ffffff;
  --text:#1f2937;
  --text-soft:#5b6572;
  --border:#e4e9ec;
  --radius:16px;
  --max:1120px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  word-break:keep-all;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{line-height:1.35;margin:0 0 .6em;}
p{margin:0 0 1em;}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px;}
.section{padding:80px 0;}
.section-head{text-align:center;max-width:640px;margin:0 auto 48px;}
.section-head h2{font-size:clamp(24px,3.2vw,32px);}
.section-head p{color:var(--text-soft);}
.eyebrow{display:inline-block;color:var(--brand);font-weight:700;font-size:14px;letter-spacing:.02em;margin-bottom:10px;}

/* Header */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(6px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:var(--max);margin:0 auto;padding:14px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:18px;color:var(--brand-dark);}
.logo svg{width:30px;height:30px;flex:none;}
.site-nav{display:flex;align-items:center;gap:22px;font-size:15px;font-weight:600;flex-wrap:wrap;}
.site-nav a{color:var(--text);white-space:nowrap;}
.site-nav a:hover{color:var(--brand);}
.btn-nav-call{
  background:var(--brand);color:#fff !important;padding:9px 18px;border-radius:999px;
}
.btn-nav-call:hover{background:var(--brand-dark);}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--brand);color:#fff;
  padding:15px 30px;border-radius:999px;font-weight:700;font-size:16px;
  border:none;cursor:pointer;
}
.btn:hover{background:var(--brand-dark);}
.btn-outline{background:#fff;color:var(--brand-dark);border:1.5px solid var(--brand);}
.btn-outline:hover{background:var(--brand-light);}
.btn-sm{padding:10px 20px;font-size:14px;}

/* Hero */
.hero{position:relative;color:#fff;overflow:hidden;}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.5));}
.hero-inner{position:relative;max-width:var(--max);margin:0 auto;padding:120px 24px 96px;text-align:center;}
.hero h1{font-size:clamp(32px,5vw,52px);font-weight:800;}
.hero .lead{font-size:clamp(16px,2vw,19px);color:#e7f3f2;max-width:560px;margin:0 auto 32px;white-space:pre-line;}
.hero-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;}

/* Auto-slideshow crossfade (5 images, pure CSS) */
@keyframes heroSlide{
  0%{opacity:0;}
  2%{opacity:1;}
  18%{opacity:1;}
  22%{opacity:0;}
  100%{opacity:0;}
}

/* Hero (split layout: text left, small auto-slide photo right) */
.hero-split{background:var(--brand-light);color:var(--text);overflow:visible;}
.hero-split .hero-inner{
  display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;
  padding:72px 24px;text-align:left;
}
.hero-split h1{font-size:clamp(28px,4vw,44px);font-weight:800;color:var(--brand-dark);}
.hero-split .lead{font-size:clamp(15px,1.8vw,18px);color:var(--text-soft);max-width:100%;margin:0 0 28px;white-space:pre-line;}
.hero-split .hero-actions{justify-content:flex-start;}
.hero-split .hero-media{
  position:relative;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;aspect-ratio:4/3;width:75%;margin:0 auto;
}
.hero-split .hero-media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
  opacity:0;animation:heroSlide 20s infinite;
}
.hero-split .hero-media img:nth-child(1){animation-delay:0s;}
.hero-split .hero-media img:nth-child(2){animation-delay:4s;}
.hero-split .hero-media img:nth-child(3){animation-delay:8s;}
.hero-split .hero-media img:nth-child(4){animation-delay:12s;}
.hero-split .hero-media img:nth-child(5){animation-delay:16s;}
@media (prefers-reduced-motion: reduce){
  .hero-split .hero-media img{animation:none;opacity:0;}
  .hero-split .hero-media img:first-child{opacity:1;}
}
@media (max-width:860px){
  .hero-split .hero-inner{grid-template-columns:1fr;text-align:center;padding:48px 24px;}
  .hero-split .hero-actions{justify-content:center;}
  .hero-split .hero-media{order:-1;width:75%;}
}

/* About */
.about-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;}
.about-grid img{border-radius:var(--radius);width:100%;aspect-ratio:4/3;object-fit:cover;}
.about-grid h2{font-size:clamp(24px,3vw,30px);}

/* Problem cards */
.problem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.problem-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
  padding:28px 24px;text-align:left;
}
.problem-card .icon{
  width:46px;height:46px;border-radius:12px;background:var(--brand-light);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.problem-card .icon svg{width:24px;height:24px;color:var(--brand);}
.problem-card p{margin:0;font-weight:600;color:var(--text);}

/* Zigzag space sections */
.space-row{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:56px 0;border-bottom:1px solid var(--border);}
.space-row:last-child{border-bottom:none;}
.space-row.reverse .space-media{order:2;}
.space-row.reverse .space-copy{order:1;}
.space-media img{border-radius:var(--radius);width:100%;aspect-ratio:4/3;object-fit:cover;}
.space-copy .num{color:var(--brand);font-weight:800;font-size:14px;}
.space-copy h3{font-size:clamp(20px,2.6vw,26px);margin-top:6px;}
.space-copy p{color:var(--text-soft);}

/* Steps */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:step;}
.step-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:28px 22px;}
.step-card .step-num{font-size:28px;font-weight:800;color:var(--brand);}
.step-card h3{font-size:17px;margin:10px 0 4px;}
.step-card p{color:var(--text-soft);font-size:14px;margin:0;}

/* Before / After */
.ba-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.ba-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;}
.ba-card img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;}
.ba-label{padding:14px 18px;font-weight:700;font-size:14px;color:var(--text-soft);text-align:center;}

/* Photo cards (NSEO detail pages) */
.photo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
.photo-grid.related-grid{grid-template-columns:repeat(3,1fr);}
@media (max-width:860px){.photo-grid.related-grid{grid-template-columns:repeat(2,1fr);}}
.photo-card{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;}
.photo-card img{aspect-ratio:1/1;object-fit:cover;}
.photo-card span{display:block;padding:10px 12px;font-size:13px;font-weight:600;color:var(--text-soft);}

/* FAQ */
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
.faq-item{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:4px 20px;}
.faq-item summary{
  cursor:pointer;padding:18px 0;font-weight:700;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:22px;color:var(--brand);flex:none;}
.faq-item[open] summary::after{content:"–";}
.faq-item .a{padding:0 0 18px;color:var(--text-soft);}

/* CTA band */
.cta-band{background:var(--brand-dark);color:#fff;text-align:center;padding:80px 0;}
.cta-band h2{font-size:clamp(22px,3vw,30px);}
.cta-band p{color:#dff0ef;white-space:pre-line;margin-bottom:28px;}
.cta-band .btn{background:#fff;color:var(--brand-dark);}
.cta-band .btn:hover{background:#e6f4f4;}

/* Problem section content on detail pages */
.text-block{max-width:760px;margin:0 auto;}
.text-block h2{font-size:clamp(22px,3vw,28px);}
.text-block p{color:var(--text-soft);}

/* Footer */
.site-footer{background:#0d3438;color:#cfe3e2;padding:44px 0 90px;}
.site-footer .footer-inner{max-width:var(--max);margin:0 auto;padding:0 24px;}
.footer-brand{color:#fff;font-weight:800;font-size:18px;margin-bottom:8px;}
.site-footer p{margin:0 0 8px;font-size:14px;}
.site-footer a{text-decoration:underline;}
.copyright{color:#7fa3a1;margin-top:16px;}

/* Floating call (desktop) */
.side-call{
  position:fixed;right:26px;top:50%;transform:translateY(-50%);z-index:90;
  background:var(--brand);color:#fff;border-radius:999px;
  padding:16px 18px;display:flex;flex-direction:column;align-items:center;gap:4px;
  font-size:12px;font-weight:700;box-shadow:0 8px 24px rgba(14,124,134,.35);
}
.side-call svg{width:22px;height:22px;}

/* Mobile bottom call bar */
.mobile-call{
  position:fixed;left:0;right:0;bottom:0;z-index:95;
  display:none;
  background:var(--brand);color:#fff;
  padding:14px 20px;text-align:center;font-weight:800;font-size:16px;
  align-items:center;justify-content:center;gap:8px;
}

@media (max-width:860px){
  .about-grid{grid-template-columns:1fr;gap:28px;}
  .problem-grid{grid-template-columns:repeat(2,1fr);}
  .steps-grid{grid-template-columns:repeat(2,1fr);}
  .ba-grid{grid-template-columns:1fr;}
  .space-row,.space-row.reverse{grid-template-columns:1fr;gap:20px;}
  .space-row .space-media,.space-row.reverse .space-media{order:1;}
  .space-row .space-copy,.space-row.reverse .space-copy{order:2;}
  .photo-grid{grid-template-columns:repeat(2,1fr);}
  .site-nav{gap:14px;font-size:14px;}
  .side-call{display:none;}
  .mobile-call{display:flex;}
  body{padding-bottom:64px;}
  .section{padding:56px 0;}
}
@media (min-width:861px){
  .mobile-call{display:none;}
}
@media (max-width:480px){
  .problem-grid{grid-template-columns:1fr;}
  .steps-grid{grid-template-columns:1fr;}
  .photo-grid{grid-template-columns:repeat(2,1fr);}
}
