/* ═══════════════════════════════════════════════════════════════
   GIẶT ƠI! — SHARED DESIGN SYSTEM
   Plain HTML/CSS/JS. No framework. No build step.
   Inspired by dongcmd.com's design system (which was inspired
   by natnu.design), rebranded to Giặt Ơi!'s palette per BRAND.md.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Brand Fonts ─── */
@font-face {
  font-family: 'Bahianita';
  src: url('/fonts/Bahianita-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/fonts/BeVietnamPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/fonts/BeVietnamPro-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ─── Brand Variables ─── */
/* Per BRAND.md — strict palette: red / off-white / yellow.
   NOTE: The brand guideline PDF has a typo on page 5 — it writes #630000
   next to a swatch that is clearly bright red. The actual color sampled
   from every official logo PNG and every red background in the PDF is
   #e00303. Same for yellow: PDF text says #F5C343, actual swatch/PNG
   pixels are #ffc200. Sampled values are authoritative. */
:root {
  /* Core brand hexes — sampled from official logo PNGs */
  --brand-red:    #e00303;
  --brand-white:  #e4dfd6;
  --brand-yellow: #ffc200;

  /* Derived surfaces */
  --bg:          #ffffff;
  --bg-alt:      #ffffff;
  --bg-red:      var(--brand-red);
  --surface:     rgba(224, 3, 3, 0.04);
  --border:      rgba(224, 3, 3, 0.1);
  --border-hover:rgba(224, 3, 3, 0.22);

  /* Text — all derived from brand red for spec compliance */
  --text:        var(--brand-red);
  --text2:       rgba(224, 3, 3, 0.72);
  --muted:       rgba(224, 3, 3, 0.48);
  --text-inverse:var(--brand-white);
  --text-inverse-2: rgba(228, 223, 214, 0.72);

  /* Interactive */
  --accent:      var(--brand-red);
  --accent2:     var(--brand-yellow);
  --nav-bg:      rgba(255, 255, 255, 0.92);
  --card-bg:     #ffffff;
  --card-bg-red: rgba(228, 223, 214, 0.06);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Content above decorative backgrounds */
.nav, main, section, footer { position: relative; z-index: 1; }

/* ─── Navigation — scroll-aware, transparent over hero, solid after scroll ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(228, 223, 214, 0.28);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 112px;
}

/* Logos — swap between white-and-yellow (over hero) and color (over light) */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
  position: relative;
}
.nav-logo:hover { opacity: 0.78; }
.nav-logo img {
  height: 84px;
  width: auto;
  transition: opacity 0.4s ease;
}
.nav-logo .logo-color { position: absolute; left: 0; top: 0; opacity: 0; }
.nav.scrolled .nav-logo .logo-light { opacity: 0; }
.nav.scrolled .nav-logo .logo-color { opacity: 1; }

/* Links — white over red hero, red after scroll */
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-links a {
  font-size: 18px;
  font-weight: 500;
  color: var(--brand-white);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; }
.nav.scrolled .nav-links a { color: var(--text2); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--text); }

/* CTA button — white over red hero, red after scroll */
.nav-cta {
  background: var(--brand-white);
  color: var(--brand-red);
  border: none;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.nav-cta:hover {
  background: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.26);
}
.nav-cta:active { transform: translateY(0) scale(0.98); }

/* ─── Burger button (hidden on desktop) ─── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.nav.scrolled .nav-burger span { background: var(--text); }
.nav.menu-open { background: #ffffff !important; border-bottom-color: rgba(224,3,3,0.1) !important; }
.nav.menu-open .logo-light { opacity: 0 !important; }
.nav.menu-open .logo-color { opacity: 1 !important; }
.nav.menu-open .nav-cta { background: var(--brand-red) !important; color: #fff !important; border-color: var(--brand-red) !important; }
.nav-burger.active span { background: var(--brand-red); }
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav.scrolled .nav-cta {
  background: var(--brand-red);
  color: var(--brand-white);
  box-shadow: 0 4px 16px rgba(224, 3, 3, 0.22);
}
.nav.scrolled .nav-cta:hover {
  background: #b00202;
  transform: translateY(-2px) scale(1.04);
}

/* ─── Hero — red brand moment ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background: var(--brand-red);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;

}
.hero > * { position: relative; z-index: 2; }
.hero-corner-deco {
  position: absolute !important;
  bottom: 0;
  left: 0;
  width: 160px;
  height: 160px;
  border-top-right-radius: 100%;
  background: var(--brand-yellow);
  z-index: 1 !important;
  pointer-events: none;
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlow 5s ease-in-out infinite;
  transform-origin: bottom left;
}
/* ─── Washing Machine Bubbles ─── */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.bubble {
  position: absolute;
  bottom: -20%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0.03) 60%, transparent);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 -4px 6px rgba(255,255,255,0.08), inset 4px 2px 4px rgba(255,255,255,0.15);
  animation: bubbleFloat var(--dur, 8s) var(--delay, 0s) ease-in infinite;
  cursor: pointer;
  pointer-events: auto;
}
@keyframes bubbleFloat {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% { opacity: 1; }
  50% {
    transform: translateY(-50vh) translateX(var(--wobble, 30px)) scale(1.05);
  }
  90% { opacity: 0.6; }
  100% {
    transform: translateY(-120vh) translateX(var(--wobble2, -20px)) scale(0.8);
    opacity: 0;
  }
}

/* Drifting bubbles — float around randomly, never leave the screen */
/* Bubble pop */
.bubble.popping, .bubble-drift.popping {
  animation: bubblePop 0.3s ease-out forwards !important;
  pointer-events: none;
}
@keyframes bubblePop {
  0%   { transform: scale(1); opacity: 1; }
  40%  { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}

.bubble-drift {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0.03) 60%, transparent);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 -4px 6px rgba(255,255,255,0.08), inset 4px 2px 4px rgba(255,255,255,0.15);
  animation: bubbleDrift var(--dur, 12s) var(--delay, 0s) ease-in-out infinite;
  opacity: 0.7;
  cursor: pointer;
  pointer-events: auto;
}
@keyframes bubbleDrift {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(var(--dx1, 40px), var(--dy1, -30px)) scale(1.05); }
  50%  { transform: translate(var(--dx2, -20px), var(--dy2, 25px)) scale(0.95); }
  75%  { transform: translate(var(--dx3, 30px), var(--dy3, 15px)) scale(1.02); }
  100% { transform: translate(0, 0) scale(1); }
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(255,194,0,0.14), transparent 62%);
  filter: blur(60px);
  animation: heroDrift1 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -15%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%);
  filter: blur(80px);
  animation: heroDrift2 22s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.hero-logo {
  width: min(550px, 88vw);
  height: auto;
  margin-bottom: -20px;
  filter: drop-shadow(0 10px 32px rgba(0,0,0,0.22));
}
.hero h1 {
  font-family: 'Bahianita', sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--brand-white);
  margin-bottom: 20px;
  max-width: 900px;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.9s + var(--w, 0) * 0.14s);
}
.hero h1 .accent { color: var(--brand-white); }
.hero h1 .initial { color: var(--brand-yellow); }
.hero-sub-en {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
}
.hero-sub {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--brand-white);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.55s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-white);
  color: var(--brand-red);
  border: none;
  border-radius: 12px;
  padding: 18px 40px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}
/* Hero-only entrance + infinite pulse (scoped so big-cta CTA is not affected) */
.hero > .hero-cta {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards,
             ctaPulse 2.8s ease-in-out 1.55s infinite;
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
  background: #ffffff;
}
.hero-cta:active { transform: translateY(0); }
.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}
.hero-cta:hover svg { transform: translateX(6px); }

/* ─── Sections ─── */
.section-pad {
  padding: 140px 0;
  border-top: 2px solid rgba(224, 3, 3, 0.12);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;

}
.section-pad-sm {
  padding: 100px 0;
  border-top: 2px solid rgba(224, 3, 3, 0.12);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;

}
.section-red, .section-red + * {
  border-top-color: transparent;
}
.big-cta {
  border-top: 2px solid rgba(228, 223, 214, 0.2);

}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--brand-red);
  margin-bottom: 20px;
  text-align: center;
  display: block;
  width: fit-content;
  padding: 6px 20px;
  background: var(--brand-red);
  color: #ffffff;
  border: 1.5px solid var(--brand-red);
  border-radius: 100px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.78;
}
.section-title {
  font-family: 'Bahianita', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
  text-align: center;
  margin-bottom: 72px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Accent on light-bg titles: subtle red tone (main theme red+white, no yellow here) */
.section-title .accent {
  color: var(--brand-yellow);
  position: relative;
  white-space: nowrap;
}
.section-title .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.06em;
  height: 0.12em;
  background: var(--brand-yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.fade-up.visible .accent::after,
.visible .accent::after { transform: scaleX(1); }

/* ─── Brand Decoration — concentric circles (washing machine drum motif) ─── */
/* ─── Brand Decoration — concentric circles (washing machine drum motif) ─── */
.brand-decor {
  position: relative;
}
.brand-decor > * { position: relative; z-index: 1; }
.brand-decor .container,
.brand-decor .section-label,
.brand-decor .section-title { position: relative; z-index: 1; }
.brand-decor::before {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  aspect-ratio: 771 / 1448;
  pointer-events: none;
  z-index: 0;
  background: url('/images/brand-circles.svg') no-repeat center/contain;
}
/* Position variants — fill height, stick to one side */
.decor-left::before { left: 0; }
.decor-right::before { right: 0; }
.decor-top-right::before { right: 0; }
.decor-bottom-left::before { left: 0; }

/* Alt section — white background */
.section-alt { background: var(--bg-alt); }
/* Red section — inverse colors */
.section-red {
  background: var(--brand-red);
  color: var(--text-inverse);
}
.section-red .section-label { background: #ffffff; color: var(--brand-red); border-color: #ffffff; opacity: 1; }
.section-red .section-title { color: var(--brand-white); }
.section-red .section-title .accent { color: var(--brand-white); }
.section-red .section-title .accent::after { background: var(--brand-white); }

/* ─── Cards ─── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
  transition: border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease,
              background 0.45s ease;
}
.card-red {
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #ffffff !important;
}
.card-red h3, .card-red .price, .card-red .price small, .card-red .price-note, .card-red p, .card-red .step-num { color: #ffffff !important; }
.card-red .card-icon { background: rgba(255,255,255,0.2) !important; }
.card-red .card-icon svg { stroke: #ffffff !important; }
.card-red .price-note { color: rgba(255,255,255,0.7) !important; }

.card-yellow {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-red);
}
.card-yellow h3, .card-yellow .price, .card-yellow p { color: var(--brand-red); }
.card-yellow .step-num { color: var(--brand-red) !important; opacity: 0.6; }
.card-yellow .price-note { color: rgba(224,3,3,0.6); }

.card-blue {
  background: #229CD1 !important;
  border-color: #229CD1 !important;
  color: #ffffff !important;
}
.card-blue h3, .card-blue .price, .card-blue .price small, .card-blue .price-note, .card-blue p, .card-blue .step-num { color: #ffffff !important; }
.card-blue .card-icon { background: rgba(255,255,255,0.2) !important; }
.card-blue .card-icon svg { stroke: #ffffff !important; }

.card:hover {
  border-color: var(--brand-red);
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 28px 64px rgba(224, 3, 3, 0.16);
}
.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  border-radius: 14px;
  margin-bottom: 24px;
  color: var(--brand-white);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 12px 28px rgba(224, 3, 3, 0.35);
}
.card-icon svg { width: 28px; height: 28px; transition: transform 0.4s ease; }
.card:hover .card-icon svg { transform: scale(1.1); }

/* Mix 4 brand colors across Tại Sao icons */
#tai-sao .grid-4 .card:nth-child(1) .card-icon { background: var(--brand-red); }
#tai-sao .grid-4 .card:nth-child(2) .card-icon { background: var(--brand-yellow); }
#tai-sao .grid-4 .card:nth-child(3) .card-icon { background: #229CD1; }
#tai-sao .grid-4 .card:nth-child(4) .card-icon { background: #50EAFF; }
.card h3 {
  font-family: 'Bahianita', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.card p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
}
.card .price {
  font-family: 'Bahianita', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--brand-red);
  margin: 16px 0 8px;
  line-height: 1;
}
.card .price small {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  margin-left: 4px;
}
.card .price-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* card-red styles moved to .card-red block above .card:hover */

/* ─── Price Calculator ─── */
.calc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.calc-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.calc-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.calc-overlay.open .calc-box {
  transform: translateY(0);
}
.calc-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.calc-close:hover { color: var(--brand-red); }
.calc-title {
  font-family: 'Bahianita', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 4px;
}
.calc-rate {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.calc-input-group {
  margin-bottom: 24px;
}
.calc-input-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 10px;
}
.calc-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.calc-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  background: #ffffff;
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-red);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.calc-btn:first-child { border-radius: 12px 0 0 12px; }
.calc-btn:last-child { border-radius: 0 12px 12px 0; }
.calc-btn:hover { background: rgba(224,3,3,0.05); border-color: var(--brand-red); }
.calc-stepper input {
  width: 80px;
  height: 48px;
  border: 2px solid var(--border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Be Vietnam Pro', sans-serif;
  -moz-appearance: textfield;
}
.calc-stepper input::-webkit-inner-spin-button,
.calc-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.calc-area-group {
  margin-bottom: 24px;
}
.calc-area-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 10px;
}
.calc-area-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
}
.calc-area-btn {
  flex: 1;
  padding: 10px 0;
  border: 2px solid var(--border);
  background: #ffffff;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.calc-area-btn:first-child { border-radius: 12px 0 0 12px; }
.calc-area-btn:last-child { border-radius: 0 12px 12px 0; border-left: none; }
.calc-area-btn.active {
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}
.calc-area-btn:last-child.active { border-left: none; }
.calc-ship-note {
  font-size: 13px;
  color: var(--brand-red);
  font-weight: 500;
  text-align: center;
}
.calc-result {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 8px;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.calc-result-row span:first-child {
  font-size: 14px;
  color: var(--text2);
}
.calc-result-row span:last-child {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.calc-result-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.calc-result-total span:first-child {
  font-size: 16px;
}
.calc-total {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-red);
}
.calc-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.calc-msg-box {
  background: rgba(224, 3, 3, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  position: relative;
}
.calc-msg {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  margin: 0;
  padding-right: 50px;
}
.calc-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--brand-red);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: background 0.2s;
}
.calc-copy-btn:hover { background: #b00202; }

.calc-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--brand-red);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.calc-cta:hover { background: #b00202; transform: translateY(-2px); }

/* ─── Background Decorations — spinning rings ─── */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  pointer-events: none;
  z-index: 0;
}
.deco-ring-red { border-color: rgba(224, 3, 3, 0.08); }
.deco-ring-yellow { border-color: rgba(255, 194, 0, 0.12); }
.deco-spin-slow { animation: decoSpin 30s linear infinite; }
.deco-spin-med { animation: decoSpin 20s linear infinite reverse; }
.deco-spin-fast { animation: decoSpin 14s linear infinite; }
@keyframes decoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Dashed variant */
.deco-ring-dash { border-style: dashed; border-width: 1.5px; }

/* ─── Apple-style Section Entrance ─── */
/* Each child inside a section animates in with stagger */
.section-enter .section-label,
.section-enter .section-title,
.section-enter .grid,
.section-enter > .container > p,
.section-enter .card,
.section-enter .pill-list,
.section-enter .hero-cta {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-enter.in-view .section-label { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.section-enter.in-view .section-title { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.section-enter.in-view .grid { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.section-enter.in-view > .container > p { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.section-enter.in-view .pill-list { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }

/* Cards stagger individually */
.section-enter .card {
  transform: translateY(80px) scale(0.95);
}
.section-enter.in-view .card:nth-child(1) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.3s; }
.section-enter.in-view .card:nth-child(2) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.45s; }
.section-enter.in-view .card:nth-child(3) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.6s; }
.section-enter.in-view .card:nth-child(4) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.75s; }

/* Big CTA entrance */
.big-cta .section-label,
.big-cta h2,
.big-cta p,
.big-cta .hero-cta {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.big-cta.in-view .section-label { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.big-cta.in-view h2 { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.big-cta.in-view p { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.big-cta.in-view .hero-cta { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }

/* ─── Scroll Navigation Dots ─── */
.scroll-nav {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  z-index: 90;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.scroll-nav.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-dot {
  position: relative;
  display: block;
  text-decoration: none;
  width: 10px;
  height: 10px;
}
.scroll-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(224, 3, 3, 0.3);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease;
  transform-origin: center;
}
.scroll-dot.active span {
  background: var(--brand-red);
  transform: scale(1.8);
}
/* Label — positioned to the left, hidden by default */
.scroll-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-red);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.scroll-dot.active::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* On hero (light dots for dark/red background) */
.scroll-nav.on-dark .scroll-dot span {
  background: rgba(255, 255, 255, 0.4);
}
.scroll-nav.on-dark .scroll-dot.active span {
  background: #ffffff;
}
.scroll-nav.on-dark .scroll-dot::before {
  color: var(--brand-red);
}

/* ─── Section corner decorations ─── */

/* Quarter circle animations — synced breathing 75%→100% */
@keyframes cornerBreathe {
  0%, 100% { transform: scale(0.75); }
  50% { transform: scale(1); }
}
@keyframes cornerGlow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 40px rgba(255,194,0,0.3); }
}
@keyframes cornerGlowRed {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 30px rgba(224,3,3,0.25); }
}
@keyframes cornerGlowBlue {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 30px rgba(34,156,209,0.3); }
}

/* Sparkle particles */
@keyframes sparkle {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  20% { opacity: 1; transform: translate(var(--sx, 20px), var(--sy, -20px)) scale(1); }
  100% { opacity: 0; transform: translate(var(--ex, 60px), var(--ey, -60px)) scale(0); }
}
.corner-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: sparkle var(--dur, 3s) var(--delay, 0s) ease-out infinite;
}
.corner-sparkle-yellow { background: var(--brand-yellow); }
.corner-sparkle-red { background: var(--brand-red); }
.corner-sparkle-white { background: rgba(255,255,255,0.6); }

/* Pattern A (Dịch Vụ, Tại Sao): yellow top-left, red bottom-right */
.section-deco-services {
  position: relative;
  overflow: hidden;
}
.section-deco-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  border-bottom-right-radius: 100%;
  background: var(--brand-yellow);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlow 5s ease-in-out infinite;
  transform-origin: top left;
}
.section-deco-services::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-top-left-radius: 100%;
  background: var(--brand-red);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlowRed 5s ease-in-out infinite;
  transform-origin: bottom right;
}

/* Pattern B (Quy Trình, Liên Hệ): red top-right, yellow bottom-left */
.section-deco-corner {
  position: relative;
  overflow: hidden;
}
.section-deco-corner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-bottom-left-radius: 100%;
  background: var(--brand-red);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlowRed 5s ease-in-out infinite;
  transform-origin: top right;
}
.section-deco-corner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 160px;
  height: 160px;
  border-top-right-radius: 100%;
  background: var(--brand-yellow);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlow 5s ease-in-out infinite;
  transform-origin: bottom left;
}

/* Per-section color mix: Yellow+Blue, Red+Yellow, Blue+Red, Yellow+Blue */
/* Dịch Vụ: red top-left, blue bottom-right */
#dich-vu.section-deco-services::before {
  background: var(--brand-red);
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlowRed 5s ease-in-out infinite;
}
#dich-vu.section-deco-services::after {
  background: var(--brand-yellow);
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlow 5s ease-in-out infinite;
}
/* Quy Trình: red top-right (default), yellow bottom-left (default) — keep as is */

/* Tại Sao: blue top-left, red bottom-right */
#tai-sao.section-deco-services::before {
  background: #229CD1;
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlowBlue 5s ease-in-out infinite;
}
/* Liên Hệ: yellow top-right, blue bottom-left */
#lien-he.section-deco-corner::before {
  background: var(--brand-yellow);
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlow 5s ease-in-out infinite;
}
#lien-he.section-deco-corner::after {
  background: #229CD1;
  animation: cornerBreathe 5s ease-in-out infinite, cornerGlowBlue 5s ease-in-out infinite;
}

/* ─── Steps Decoration ─── */
.steps-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}
.steps-deco-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.steps-deco-line {
  width: 80px;
  height: 3px;
  border-radius: 2px;
  opacity: 0.4;
}
@media (max-width: 768px) {
  .steps-deco-line { width: 50px; }
}

/* ─── Steps Flow (cards + arrows) ─── */
.steps-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.steps-flow .card {
  flex: 1;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.steps-flow .card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-bottom-left-radius: 100%;
  background: rgba(255,255,255,0.18);
  pointer-events: none;
}
.steps-flow .card-yellow::after {
  background: rgba(224,3,3,0.1);
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  flex-shrink: 0;
  padding: 0 8px;
}
.step-arrow svg {
  width: 40px;
  height: 24px;
}

/* Mobile: stack cards vertically, rotate arrows down */
@media (max-width: 768px) {
  .steps-flow {
    flex-direction: column;
    gap: 0;
  }
  .step-arrow {
    width: auto;
    height: 40px;
    padding: 4px 0;
  }
  .step-arrow svg {
    transform: rotate(90deg);
    width: 32px;
    height: 20px;
  }
}

/* Grids */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── Step list (how-it-works) ─── */
.step-num {
  font-family: 'Bahianita', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand-yellow);
  opacity: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* ─── Coverage pills ─── */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}
.pill {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid rgba(228, 223, 214, 0.24);
  border-radius: 999px;
  color: var(--text-inverse);
  background: rgba(228, 223, 214, 0.04);
  transition: all 0.2s ease;
}
.pill:hover {
  background: rgba(228, 223, 214, 0.18);
  border-color: var(--brand-white);
  color: var(--brand-white);
  transform: translateY(-2px) scale(1.05);
}

/* ─── Big contact CTA ─── */
.big-cta {
  text-align: center;
  padding: 180px 24px;
  background: var(--brand-red);
  color: var(--text-inverse);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}
.big-cta .section-label { color: var(--brand-white); opacity: 0.9; }
.big-cta h2 {
  font-family: 'Bahianita', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--brand-white);
  max-width: 900px;
  margin: 0 auto 24px;
}
.big-cta h2 .accent { color: var(--brand-white); }
.big-cta h2 .accent::after { background: var(--brand-white); }
.big-cta p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--brand-white);
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ─── Footer ─── */
.footer {
  background: var(--bg);
  padding: 64px 24px 40px;
  border-top: 1px solid var(--border);

}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 8px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}
.footer-brand img { height: 80px; width: auto; object-fit: contain; flex-shrink: 0; align-self: flex-start; }
.footer-brand p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text2);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand-red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* ─── Scroll Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(56px) scale(0.96);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1s ease;
  filter: blur(6px);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.9s ease,
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Stagger delay for grid children — more dramatic */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.12s); }

/* ─── Keyframes ─── */
@keyframes heroLogoEntrance {
  0%   { opacity: 0; transform: translateY(-30px) scale(0.88); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes wordReveal {
  0%   { opacity: 0; transform: translateY(40px) scale(0.92); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes fadeUpIn {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 0 0 0 rgba(255,255,255,0.55); }
  50%      { box-shadow: 0 14px 40px rgba(0,0,0,0.28), 0 0 0 22px rgba(255,255,255,0); }
}
@keyframes heroDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-40px, 50px) scale(1.12); }
  66%      { transform: translate(50px, -30px) scale(0.88); }
}
@keyframes heroDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, -60px) scale(1.18); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.78; }
  50%      { opacity: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Focus ─── */
:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Tablet ─── */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-inner { padding: 0 24px; height: 96px; }
  .nav-links { gap: 28px; }
  .hero { padding: 160px 24px 120px; }
  .section-pad { padding: 100px 0; }
  .section-pad-sm { padding: 80px 0; }
  .container { max-width: 100%; padding: 0 24px; }
  .card { padding: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  /* Nav: compact bar + hamburger menu */
  .nav-inner { padding: 0 16px; height: 64px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    flex-direction: column;
    padding: 20px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0;
  }
  .nav-links { display: flex; }
  .nav-links.open {
    max-height: 320px;
    opacity: 1;
    padding: 20px 0;
  }
  .nav-links a {
    color: var(--brand-red) !important;
    font-size: 17px;
    font-weight: 500;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(224,3,3,0.08);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  }
  .nav-links a:nth-child(1) { transition-delay: 0.05s; }
  .nav-links a:nth-child(2) { transition-delay: 0.1s; }
  .nav-links a:nth-child(3) { transition-delay: 0.15s; }
  .nav-links a:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover { background: rgba(224,3,3,0.05); }
  .nav-cta { padding: 9px 18px; font-size: 13px; border-radius: 8px; margin-left: auto; }
  .nav-burger { display: flex; margin-left: 8px; }
  .nav-logo img { height: 44px; }
  .nav-logo-text { font-size: 18px; }

  /* Hero: fill viewport, centered, widen text */
  .hero {
    padding: 80px 10px 36px;
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    gap: 30px;
    padding-top: 36px;
  }
  .hero-logo {
    width: min(340px, 85vw);
    margin-bottom: -14px;
  }
  .hero > .hero-cta {
    margin-bottom: 0;
    padding: 14px 28px;
    font-size: 15px;
  }
  .hero h1 {
    font-size: 2.6rem;
    margin-bottom: 0;
    line-height: 1.08;
  }
  .hero-sub-en {
    font-size: 0.95rem;
    letter-spacing: 4px;
    margin-bottom: 0;
  }
  .hero-sub {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 0;
    padding: 0 4px;
  }

  /* Sections: fit viewport, spread content evenly */
  .section-pad {
    padding: 32px 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
  .section-pad-sm { padding: 32px 0; min-height: 100vh; min-height: 100dvh; }
  .container { padding: 0 20px; }
  .section-title { margin-bottom: 20px; font-size: 2.2rem; }
  .section-label { font-size: 10px; padding: 5px 16px; margin-bottom: 12px; letter-spacing: 4px; }

  /* Hide corner decorations on mobile */
  .section-deco-services::before,
  .section-deco-services::after,
  .section-deco-corner::before,
  .section-deco-corner::after,
  .hero-corner-deco { display: none !important; }

  /* Cards */
  .card { padding: 20px 18px; border-radius: 14px; }
  .card h3 { font-size: 1.5rem !important; margin-bottom: 4px; }
  .card p { font-size: 14px; line-height: 1.5; }
  .card-icon { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 10px; }
  .card-icon svg { width: 22px; height: 22px; }
  .price { font-size: 1.8rem !important; }
  .price-note { font-size: 13px !important; margin-bottom: 8px; }
  .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .grid-3 { grid-template-columns: 1fr; gap: 10px; }
  .grid-3 .card { padding: 16px 18px; }
  .grid-3 .card p { font-size: 13px; margin-bottom: 6px !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Steps */
  .steps-flow .card { max-width: 100%; padding: 20px 18px !important; }
  .step-num { font-size: 16px; margin-bottom: 4px; }
  .step-arrow { height: 28px; padding: 2px 0; }
  .step-arrow svg { width: 24px; height: 16px; }
  .steps-deco { margin-top: 16px; }
  .steps-deco-dot { width: 10px; height: 10px; }
  .steps-deco-line { width: 36px; height: 2px; }

  /* Scroll dots: smaller on mobile */
  .scroll-nav { right: 8px; gap: 12px; }
  .scroll-dot span { width: 8px; height: 8px; }
  .scroll-dot.active span { transform: scale(1.5); }
  .scroll-dot::before { font-size: 10px; right: 20px; padding: 3px 8px; }

  /* Big CTA tighter */
  .big-cta { padding: 80px 20px; min-height: auto; }
  .big-cta h2 { font-size: 2.2rem; }
  .big-cta p { font-size: 0.95rem; }

  /* Pill list: tighter */
  .pill { padding: 8px 14px; font-size: 13px; }

  /* Footer: stack */
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-left, .fade-right, .scale-in {
    opacity: 1; transform: none; transition: none;
  }
  html { scroll-behavior: auto; }
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
}
