﻿:root {
  --navy: #0b1f3a;
  --navy-deep: #061428;
  --navy-mid: #143356;
  --navy-soft: #e8eef5;
  --navy-glow: #1a3d66;
  --ink: #1b2230;
  --muted: #5c677a;
  --line: #e4e9f0;
  --white: #ffffff;
  --bg: #f5f7fa;
  --shadow: 0 12px 30px rgba(6, 20, 40, 0.1);
  --radius: 10px;
  --font-display: "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", sans-serif;
  --max: 1120px;
  --blue: var(--navy-mid);
  --blue-dark: var(--navy-deep);
  --blue-light: #2a4f78;
  --grad: linear-gradient(135deg, #061428 0%, #0b1f3a 42%, #1a3d66 100%);
  --grad-glow: 0 0 22px rgba(26, 61, 102, 0.55), 0 0 48px rgba(11, 31, 58, 0.4);
  --chrome-z: 100;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 17px;
  text-align: center;
  font-weight: 400;
}

body.nav-open {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

h1, h2, h3, h4, p, li, span, a, label, summary {
  overflow: visible;
  white-space: normal;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ===== Sticky chrome ===== */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: var(--chrome-z);
}

.topbar {
  background: var(--grad);
  color: #eef5ff;
  font-size: 0.9rem;
  font-weight: 500;
  animation: barGlow 3.2s ease-in-out infinite alternate;
  box-shadow: var(--grad-glow);
}

@keyframes barGlow {
  from {
    filter: brightness(1);
    box-shadow: 0 0 14px rgba(11, 31, 58, 0.45);
  }
  to {
    filter: brightness(1.12);
    box-shadow: 0 0 32px rgba(26, 61, 102, 0.75), 0 0 56px rgba(11, 31, 58, 0.45);
  }
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
  font-weight: 700;
}

.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

/* ===== Brand (icon-biz pulse style) ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
}

.brand__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  animation: logoShine 2.4s ease-in-out infinite;
}

@keyframes logoShine {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(11, 31, 58, 0.4)) brightness(1);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(26, 61, 102, 0.85)) brightness(1.08);
    transform: scale(1.04);
  }
}

.brand__stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.15rem;
}

.brand__en {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandPulse 2.8s ease-in-out infinite;
}

.brand--pulse .brand__en {
  text-shadow: none;
}

@keyframes brandPulse {
  0%, 100% {
    filter: brightness(1);
    opacity: 0.92;
  }
  50% {
    filter: brightness(1.25);
    opacity: 1;
  }
}

.brand__ko {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ===== Desktop nav ===== */
.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 0.4rem 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 6px;
}

.nav a:hover,
.nav a.is-active {
  color: var(--navy-glow);
  background: var(--navy-soft);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle__icon {
  width: 22px;
  height: 16px;
  display: block;
}

.nav-toggle__icon line {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* ===== Mobile drawer (right → left) ===== */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 40, 0.55);
  z-index: calc(var(--chrome-z) + 10);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 320px);
  height: 100%;
  background: var(--white);
  z-index: calc(var(--chrome-z) + 20);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(6, 20, 40, 0.18);
  text-align: left;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--grad);
  color: #fff;
}

.nav-drawer__head strong {
  font-size: 1rem;
}

.nav-drawer__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  gap: 0.2rem;
  overflow-y: auto;
}

.nav-drawer__nav a {
  padding: 0.85rem 1rem;
  font-weight: 700;
  border-radius: 8px;
  color: var(--ink);
}

.nav-drawer__nav a:hover,
.nav-drawer__nav a.is-active {
  background: var(--navy-soft);
  color: var(--navy);
}

.nav-drawer__foot {
  margin-top: auto;
  padding: 1.1rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.nav-drawer__foot a {
  display: block;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-drawer,
  .nav-backdrop {
    display: none !important;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary,
.btn-accent {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--grad-glow);
  animation: barGlow 3.2s ease-in-out infinite alternate;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 40, 0.55) 0%, rgba(6, 20, 40, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__brand {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fff, #9ec5ff, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandShine 3s linear infinite;
}

@keyframes brandShine {
  to {
    background-position: 200% center;
  }
}

.hero__headline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.25;
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  opacity: 0.92;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===== Stats ===== */
.stats {
  background: var(--grad);
  color: #fff;
  padding: 2.25rem 0;
  box-shadow: var(--grad-glow);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat__num {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.1;
}

.stat__unit {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.75;
  margin-top: 0.15rem;
}

.stat__label {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  opacity: 0.92;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Sections ===== */
.section {
  padding: 4rem 0;
}

.section--white {
  background: var(--white);
}

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

.section__head {
  margin-bottom: 2rem;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-glow);
}

.section__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
}

.section__desc {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* ===== Service grid ===== */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(6, 20, 40, 0.14);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.tags span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-mid);
  background: var(--navy-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Before / After ===== */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.ba-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.ba-card__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.ba-card__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.ba-shot {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.ba-shot img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.ba-shot span {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.ba-shot--before span {
  background: rgba(6, 20, 40, 0.75);
}

.ba-shot--after span {
  background: rgba(26, 61, 102, 0.9);
}

.ba-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-shot img {
    height: 170px;
  }
}

/* ===== Features / Process ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem;
  box-shadow: var(--shadow);
}

.feature__num {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--navy-glow);
  margin-bottom: 0.5rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.process__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 0.9rem;
}

.process__step {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.55rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--grad-glow);
}

.process__item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--navy);
}

.process__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Guarantee ===== */
.guarantee {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.guarantee__list {
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

.guarantee__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.guarantee__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.guarantee__item h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  color: var(--navy);
}

.guarantee__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.guarantee__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.guarantee__visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (min-width: 860px) {
  .guarantee {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
  }
}

/* ===== Region ===== */
.region-band {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.region-band img {
  width: min(100%, 560px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.region-list span,
.region-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .region-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Review marquee ===== */
.review-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.review-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marqueeRtl 42s linear infinite;
}

.review-marquee:hover .review-marquee__track {
  animation-play-state: paused;
}

@keyframes marqueeRtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.naver-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.nv-review {
  flex: 0 0 min(320px, 82vw);
  width: min(320px, 82vw);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  text-align: left;
  box-shadow: var(--shadow);
}

.nv-review__head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.nv-review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nv-review__name {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

.nv-review__stars {
  color: #03c75a;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.nv-review__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.nv-review__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--ink);
}

.nv-review__body {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nv-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #03c75a;
  background: #e8f8ef;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

/* ===== Charts / tables / metrics ===== */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 0.9rem;
  box-shadow: var(--shadow);
}

.metric-card__value {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
}

.metric-card__label {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .metric-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.chart-bars {
  display: grid;
  gap: 1.15rem;
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}

.chart-bars__row {
  display: grid;
  gap: 0.35rem;
}

.chart-bars__label {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.chart-bars__track {
  height: 14px;
  background: var(--navy-soft);
  border-radius: 999px;
  overflow: hidden;
}

.chart-bars__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(26, 61, 102, 0.45);
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-bars__fill--muted {
  background: linear-gradient(90deg, #9aa8bc, #6d7c92);
  box-shadow: none;
}

.chart-bars__fill.is-on {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.chart-legend span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 0.4rem;
  vertical-align: -1px;
}

.chart-legend__us::before {
  background: var(--grad);
}

.chart-legend__them::before {
  background: #8a97ab;
}

.compare-pair {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.data-table th {
  background: var(--grad);
  color: #fff;
  font-weight: 700;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: #f8fafc;
}

.data-table .check {
  color: #0a7a3e;
  font-weight: 800;
}

.data-table .warn {
  color: #b45309;
  font-weight: 700;
}

/* ===== FAQ / Form ===== */
.faq {
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

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

.faq summary::after {
  content: "+";
  font-weight: 800;
  color: var(--navy-glow);
}

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

.faq p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.form-panel {
  max-width: 760px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.15rem;
  box-shadow: var(--shadow);
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  display: none;
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #e8f8ef;
  color: #0a7a3e;
  font-weight: 700;
  text-align: center;
}

.form-success.is-visible {
  display: block;
}

.phone-xl {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--navy);
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== CTA / Footer / Float ===== */
.cta-band {
  background: var(--grad);
  color: #fff;
  padding: 2.5rem 0;
  box-shadow: var(--grad-glow);
  animation: barGlow 3.2s ease-in-out infinite alternate;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.9;
}

.cta-band .phone-xl,
.cta-band a.phone-xl {
  color: #fff;
}

@media (min-width: 768px) {
  .cta-band__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer {
  background: var(--navy-deep);
  color: #c9d6e8;
  padding: 2.5rem 0 5.5rem;
  text-align: left;
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0.25rem 0;
  font-size: 0.92rem;
  color: #c9d6e8;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  margin-top: 1.75rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem !important;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.float-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-deep);
  box-shadow: 0 -8px 24px rgba(6, 20, 40, 0.25);
}

.float-call a {
  padding: 0.95rem 0.5rem;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.float-call a:first-child {
  background: var(--grad);
}

@media (min-width: 960px) {
  .float-call {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

/* ===== Page hero / prose ===== */
.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 40, 0.55), rgba(6, 20, 40, 0.8));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem;
  max-width: 640px;
}

.page-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  font-weight: 900;
}

.page-hero p {
  margin: 0;
  opacity: 0.92;
}

.prose {
  max-width: 720px;
  margin-inline: auto;
}

.prose h2 {
  margin: 0.35rem 0 0.75rem;
  color: var(--navy);
  font-size: 1.55rem;
}

.prose p {
  color: var(--muted);
}

.content-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem auto 0;
  max-width: 560px;
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

.content-list li {
  position: relative;
  padding: 0.75rem 0.9rem 0.75rem 2.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
}

.content-list li::before {
  content: "✓";
  position: absolute;
  left: 0.85rem;
  color: var(--navy-glow);
  font-weight: 900;
}

/* ===== Page enrichment layouts ===== */
.tip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tip-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-align: left;
  box-shadow: var(--shadow);
}

.tip-card h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.tip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  box-shadow: var(--shadow);
}

.package-card--featured {
  border-color: var(--navy-glow);
  background: linear-gradient(180deg, #fff 0%, #eef3f9 100%);
  box-shadow: var(--grad-glow);
}

.package-card h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  text-align: left;
}

.package-card li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.package-card li:last-child {
  border-bottom: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(6, 20, 40, 0.85));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: left;
}

.channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.channel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.15rem;
  box-shadow: var(--shadow);
}

.channel-card h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
}

.channel-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-frame img {
  width: 100%;
  height: min(360px, 50vw);
  object-fit: cover;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checklist input {
  margin-top: 0.25rem;
  accent-color: var(--navy);
}

@media (min-width: 640px) {
  .tip-grid,
  .package-grid,
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .channel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.anim-fade,
.text-rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.anim-fade.is-in,
.text-rise.is-in {
  opacity: 1;
  transform: none;
}

.hero__brand,
.hero__headline,
.page-hero h1 {
  min-height: 1.2em;
}

.hero__brand:not(.is-typing):not(.is-typed),
.hero__headline:not(.is-typing):not(.is-typed),
.page-hero h1:not(.is-typing):not(.is-typed) {
  opacity: 0;
}

.hero__brand.is-typing,
.hero__brand.is-typed,
.hero__headline.is-typing,
.hero__headline.is-typed,
.page-hero h1.is-typing,
.page-hero h1.is-typed {
  opacity: 1;
}

.stat {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.stat.is-in {
  opacity: 1;
  transform: none;
}

.stat__num {
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .anim-fade,
  .text-rise,
  .stat {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .review-marquee__track,
  .brand__en,
  .brand__mark,
  .topbar,
  .btn-primary {
    animation: none !important;
  }

  .chart-bars__fill {
    transition: none;
  }
}
