:root {
  --hyundai-green: #009b8f;
  --hyundai-gold: #d89a25;
  --ink: #121715;
  --muted: #5d6965;
  --line: #d9e1de;
  --paper: #f5f7f6;
  --white: #ffffff;
  --dark: #10211d;
  --accent: #f47c20;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 176px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.brand span {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--dark);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.header-call {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--dark);
  color: white;
  font-weight: 900;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 380px;
  align-items: center;
  gap: 36px;
  padding: 68px 0 72px;
}

.eyebrow,
.section-head p,
.video-copy p,
.section-kicker {
  margin: 0 0 10px;
  color: var(--hyundai-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 5.8vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.mobile-break {
  display: none;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: #35413d;
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.primary-button,
.secondary-button,
.submit-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary-button,
.submit-button {
  background: var(--dark);
  color: white;
}

.secondary-button {
  background: white;
  border: 1px solid var(--line);
  color: var(--dark);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid #bfcfca;
  border-top: 8px solid var(--hyundai-green);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 50px rgba(16, 33, 29, .12);
}

.hero-panel strong {
  color: var(--dark);
  font-size: 40px;
  line-height: 1;
}

.hero-panel > span {
  color: var(--hyundai-green);
  font-size: 18px;
  font-weight: 900;
}

.hero-panel ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.55;
}

.hero-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--hyundai-gold);
}

.promise-band {
  width: min(1180px, calc(100% - 40px));
  margin: -32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.promise-band div {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 7px;
  min-height: 128px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.promise-band div:last-child { border-right: 0; }
.promise-band b { color: var(--dark); font-size: 21px; }
.promise-band span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.promise-band small {
  color: #7d6960;
  font-size: 12px;
  line-height: 1.45;
}

.visual-strip {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 360px;
  margin: 84px auto 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background: var(--dark);
}

.visual-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 22, 19, .74), rgba(8, 22, 19, .18) 58%, rgba(8, 22, 19, .08));
}

.visual-strip div {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 34px;
  color: white;
}

.visual-strip strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.16;
}

.visual-strip span {
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.65;
}

.section,
.consult-section {
  width: min(1180px, calc(100% - 40px));
  margin: 84px auto;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 720px;
  gap: 12px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-head h2,
.video-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.16;
}

.section-head span,
.video-copy span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.window-type-section {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.window-type-section .section-head {
  max-width: 720px;
}

.window-type-section .section-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.window-type-section .section-head span {
  max-width: 640px;
  font-size: 15px;
}

.window-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.window-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.window-card.featured {
  position: relative;
  border: 2px solid var(--hyundai-green);
  background: #eaf8f5;
  box-shadow: 0 16px 34px rgba(0, 90, 83, .13);
}

.window-card.featured::before {
  content: "채움창호 선택";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--dark);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.window-card.muted {
  background: #fbfcfb;
  opacity: .86;
}

.window-card > span {
  color: var(--hyundai-green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.window-card h3 {
  margin: 12px 0 10px;
  color: var(--dark);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.16;
}

.window-card p {
  margin: 0;
  color: #42524d;
  font-size: 15px;
  line-height: 1.65;
}

.window-card ol {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  counter-reset: window-point;
  list-style: none;
  line-height: 1.55;
}

.window-card li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.window-card li::before {
  content: counter(window-point);
  counter-increment: window-point;
  width: 28px;
  height: 28px;
  display: inline-block;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font-size: 13px;
  font-weight: 900;
  line-height: 28px;
  text-align: center;
}

.window-card.muted li::before {
  background: #8a7b59;
}

.window-type-note {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 18px;
  border-radius: 8px;
  background: var(--dark);
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
  text-align: center;
}

.window-type-note b {
  color: #9de0d9;
  min-width: max-content;
}

.price-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.price-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  width: min(100%, 260px);
  gap: 6px;
  padding: 6px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.price-tab {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.price-tab.active {
  background: var(--dark);
  color: white;
}

.price-panel { display: none; }
.price-panel.active { display: block; }

.price-scope {
  display: block;
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.price-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child { border-bottom: 0; }

.price-row span,
.price-row strong {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 16px;
  line-height: 1.45;
  text-align: center;
}

.price-row span {
  color: #3c4945;
}

.price-row strong {
  color: var(--dark);
  font-size: 20px;
  background: #f1f6f4;
}

.price-row.table-head {
  min-height: 52px;
  background: var(--dark);
}

.price-row.table-head span {
  color: white;
  font-weight: 900;
}

.price-note {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #d8c395;
  border-radius: 8px;
  background: #fff8e9;
  color: #574627;
  line-height: 1.6;
  text-align: center;
}

.price-note b {
  min-width: max-content;
  color: #7b5a16;
}

.spec-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.spec-grid article,
.check-grid div {
  min-height: 168px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.spec-grid b {
  color: var(--dark);
  font-size: 18px;
}

.spec-grid p,
.check-grid span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.frame-swatches {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 14px 0 2px;
}

.swatch {
  width: 28px;
  height: 28px;
  display: inline-block;
  border: 1px solid rgba(7, 28, 24, .16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55);
}

.swatch.clean-white {
  background: #fbfaf5;
  border-color: #cdd8d5;
}

.swatch.soft-beige { background: #d9d1c4; }
.swatch.fog-gray { background: #d7d9d8; }
.swatch.stone-gray { background: #5f6063; }
.swatch.deep-black { background: #242725; }

.swatch.wood-oak {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .24), transparent 22%),
    repeating-linear-gradient(90deg, #b99c6f 0 4px, #d8be8b 4px 8px, #a9875b 8px 11px);
}

.gallery-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.window-gallery {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr;
  gap: 12px;
}

.window-gallery figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e9eeee;
}

.window-gallery .gallery-main {
  min-height: 420px;
}

.window-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.window-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(16, 33, 29, .78);
  color: white;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.video-section {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 8px;
  background: var(--dark);
  color: white;
}

.video-copy p { color: #85d8d0; }
.video-copy span { color: rgba(255, 255, 255, .72); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  overflow: hidden;
  background: #07110f;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .7);
  font-weight: 900;
}

.check-grid div {
  min-height: 124px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.check-grid b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hyundai-green);
  color: white;
}

.faq-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  overflow: hidden;
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font-size: 20px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list strong {
  color: var(--dark);
  font-weight: 900;
}

.faq-list mark {
  padding: 2px 5px;
  border-radius: 5px;
  background: #e4f6f3;
  color: #006d65;
  font-weight: 900;
}

.faq-emphasis-list {
  display: grid;
  gap: 8px;
  margin: 0 18px 18px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 155, 143, .22);
  border-radius: 8px;
  background: #f0faf8;
  color: var(--dark);
  font-weight: 900;
  list-style: none;
}

.faq-emphasis-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--hyundai-green);
}

.consult-section {
  display: block;
}

.consult-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.consult-title {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.consult-form label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
}

.consult-form textarea {
  min-height: 118px;
  resize: vertical;
}

.wide,
.consent,
.submit-button,
.form-message {
  grid-column: 1 / -1;
}

.consent {
  display: flex !important;
  align-items: center;
  gap: 9px;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.consent input {
  width: 18px;
  min-height: 18px;
}

.submit-button { font-size: 16px; }
.submit-button:disabled { opacity: .62; cursor: wait; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; }

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.form-message.success {
  color: var(--hyundai-green);
  font-weight: 900;
}

.form-message.error {
  color: #b42318;
  font-weight: 900;
}

.site-footer {
  display: grid;
  gap: 6px;
  padding: 38px 28px 108px;
  background: var(--dark);
  color: white;
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: rgba(255, 255, 255, .68);
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .72);
}

.footer-info div {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.footer-info dt {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .48);
  font-weight: 800;
}

.footer-info dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 30;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 24px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 44px rgba(16, 33, 29, .22);
}

.sticky-cta a {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--dark);
  color: white;
  font-weight: 900;
}

.sticky-cta a:last-child {
  background: var(--accent);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 50px 0 70px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .promise-band,
  .window-compare,
  .window-gallery,
  .spec-grid,
  .check-grid,
  .consult-section,
  .video-section {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 60px;
    padding: 0 14px;
    gap: 10px;
  }

  .brand img {
    width: 136px;
    height: 34px;
  }

  .brand span {
    display: none;
  }

  .header-call {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero,
  .visual-strip,
  .section,
  .consult-section,
  .promise-band {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 42px 0 52px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .mobile-break {
    display: inline;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-panel {
    padding: 22px;
  }

  .hero-panel strong {
    font-size: 34px;
  }

  .promise-band,
  .window-compare,
  .window-gallery,
  .spec-grid,
  .check-grid,
  .consult-section,
  .video-section,
  .consult-form {
    grid-template-columns: 1fr;
  }

  .promise-band {
    margin-top: 0;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .promise-band div {
    min-height: 148px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .promise-band div:last-child {
    border-bottom: 0;
    border-right: 0;
  }

  .section,
  .consult-section {
    margin: 56px auto;
  }

  .price-section,
  .window-type-section,
  .gallery-section,
  .video-section {
    padding: 20px;
  }

  .visual-strip {
    min-height: 320px;
    margin-top: 56px;
  }

  .visual-strip::after {
    background: linear-gradient(0deg, rgba(8, 22, 19, .78), rgba(8, 22, 19, .1) 72%);
  }

  .visual-strip div {
    padding: 24px;
  }

  .visual-strip strong {
    font-size: clamp(23px, 6.4vw, 28px);
  }

  .visual-strip span {
    font-size: 14px;
  }

  .window-gallery .gallery-main,
  .window-gallery figure {
    min-height: 260px;
  }

  .window-card {
    min-height: 0;
    padding: 22px;
  }

  .window-type-section .window-compare {
    grid-template-columns: repeat(2, minmax(278px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .window-type-section .window-card {
    min-height: 360px;
    scroll-snap-align: start;
  }

  .window-type-note {
    display: grid;
  }

  .price-tabs {
    width: 100%;
  }

  .price-row,
  .price-row.table-head {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .price-row.table-head {
    display: none;
  }

  .price-row {
    padding: 14px;
    gap: 8px;
  }

  .price-row span,
  .price-row strong {
    padding: 0;
  }

  .price-row span:first-child {
    color: var(--hyundai-green);
    font-size: 18px;
    font-weight: 900;
  }

  .price-row strong {
    padding: 10px 12px;
    border-radius: 8px;
  }

  .price-note {
    display: grid;
  }

  .no-extra-section .check-grid {
    grid-template-columns: repeat(4, minmax(148px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .no-extra-section .check-grid div {
    min-height: 140px;
    padding: 18px 12px;
    scroll-snap-align: start;
  }

  .no-extra-section .check-grid span {
    font-size: 13px;
    line-height: 1.45;
  }

  .footer-info {
    gap: 7px 14px;
  }

  .video-section {
    gap: 18px;
  }
}
