/* ==========================================================
   CKC — landing page styles
   One accent (Tiffany green), one teal-tinted neutral family,
   Geist for Latin + figures, native CJK system fonts for Chinese.
   ========================================================== */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --tiffany: #0ABAB5;
  --tiffany-hover: #09A7A2;
  --tiffany-dark: #067B78;
  --tiffany-deep: #04504E;
  --tiffany-ink: #023533;
  --tiffany-light: #EEF8F7;
  --tiffany-tint: #E2F3F1;
  --tiffany-border: #C4E6E2;
  --tiffany-glow: rgba(10, 186, 181, 0.22);

  /* Neutrals (all tinted toward the brand teal) */
  --text-heading: #0E1B1E;
  --text-body: #36474B;
  --text-soft: #5A6C70;
  --text-muted: #8A9B9E;
  --bg-page: #FFFFFF;
  --bg-subtle: #F5F9F9;
  --bg-wash: #EFF7F6;
  --border: #DCE7E6;
  --border-light: #EAF1F0;

  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --star: #E5A53A;
  --success: #12A37A;
  --danger: #C8433A;

  /* Type */
  --font-sans: "Geist", "Noto Sans HK", "PingFang HK", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-num: "Geist", system-ui, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Elevation: teal-tinted, single light source from above */
  --shadow-sm: 0 1px 2px rgba(6, 50, 52, 0.05), 0 1px 1px rgba(6, 50, 52, 0.03);
  --shadow-md: 0 8px 24px -8px rgba(6, 50, 52, 0.12), 0 2px 6px rgba(6, 50, 52, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(6, 50, 52, 0.18), 0 4px 12px rgba(6, 50, 52, 0.05);
  --shadow-float: 0 18px 40px -10px rgba(6, 50, 52, 0.22), 0 3px 8px rgba(6, 50, 52, 0.06);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* z-index scale */
  --z-base: 1;
  --z-float: 4;
  --z-header: 50;
  --z-fab: 60;
  --z-progress: 70;
  --z-grain: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fine film grain over the whole page so flat tints don't look digital */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--tiffany-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--tiffany); }
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  color: var(--text-heading);
  font-weight: 700;
  text-wrap: balance;
}
p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--tiffany);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 36px); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--text-heading);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ==========================================================
   Scroll-reveal system (only active when JS has loaded)
   ========================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="left"]  { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================
   Header & Navigation
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border-light);
  box-shadow: 0 6px 24px -12px rgba(6, 50, 52, 0.18);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: opacity 0.2s;
}
.brand:hover { opacity: 0.85; }
.brand-logo-img { height: 48px; width: auto; max-width: none; }
.footer-logo-img { height: 38px; width: auto; max-width: none; }

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  color: var(--text-body);
  font-size: 14.5px;
  font-weight: 550;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--tiffany);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--text-heading); background: var(--bg-subtle); }
.nav-links a.is-active { color: var(--tiffany-dark); }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--tiffany);
  color: var(--tiffany-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 20px -6px rgba(10, 186, 181, 0.45);
}
.btn-primary:hover {
  background: var(--tiffany-hover);
  color: var(--tiffany-ink);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 14px 26px -8px rgba(10, 186, 181, 0.55);
}
/* Light sweep across primary buttons on hover */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:disabled { opacity: 0.7; cursor: progress; transform: none; }

.btn-outline {
  background: #fff;
  color: var(--text-heading);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--tiffany); color: var(--tiffany-dark); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.6);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; transform: translateY(-1px); }

.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-heading);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-whatsapp-nav svg { color: var(--whatsapp-dark); flex: none; }
.btn-whatsapp-nav:hover { border-color: var(--whatsapp); background: #F2FCF6; color: var(--text-heading); }

/* Hero CTA: calm by default, one soft ring every few seconds to draw the eye */
.btn-cta-flash {
  --cta-shadow: 0 1px 0 rgba(255, 255, 255, 0.38) inset, 0 14px 28px -10px rgba(10, 186, 181, 0.55);
  gap: 14px;
  padding: 17px 34px 17px 38px;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--cta-shadow);
  animation: ctaRing 3.6s var(--ease-out) 1.6s infinite;
}
@keyframes ctaRing {
  0% { box-shadow: 0 0 0 0 rgba(10, 186, 181, 0.5), var(--cta-shadow); }
  45%, 100% { box-shadow: 0 0 0 16px rgba(10, 186, 181, 0), var(--cta-shadow); }
}
.btn-cta-arrow {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(2, 53, 51, 0.12);
  font-size: 16px;
  transition: transform 0.35s var(--ease-spring), background 0.2s;
}
.btn-cta-flash:hover .btn-cta-arrow { transform: translateX(4px); background: rgba(2, 53, 51, 0.2); }

/* ==========================================================
   Section scaffolding
   ========================================================== */
.section { padding: clamp(72px, 9vw, 112px) 0 clamp(80px, 10vw, 124px); position: relative; }
.section > .wrap { position: relative; z-index: var(--z-base); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}
.section-header h2,
.section-head-split h2,
.steps-info-col h2,
.faq-intro h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 750;
  margin-bottom: 14px;
}
.section-header p,
.section-head-split p {
  font-size: 16.5px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tiffany-dark);
}
.section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--tiffany);
}

/* Left-aligned header with supporting copy pushed right */
.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head-split h2 { margin-bottom: 0; }
.section-head-split p { max-width: 440px; justify-self: end; }

/* ==========================================================
   Hero
   ========================================================== */
.hero.hero-grand {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  padding: 58px 0 72px;
  background:
    radial-gradient(ellipse 60% 70% at 18% 40%, rgba(255, 255, 255, 0.85) 0%, transparent 70%),
    #E6F5F3;
  display: flex;
  align-items: center;
}
.hero-character-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-base);
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-banner-stage {
  position: absolute;
  left: calc(50% - 285px);
  bottom: -56px;
  height: 100%;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  line-height: 0;
  flex: none;
}
.hero-banner-stage picture { display: contents; }
.hero-banner-img {
  height: 85%;
  width: auto;
  max-width: none;
  object-fit: contain;
  user-select: none;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 24%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 24%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
  -webkit-mask-composite: source-in;
  translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -6px);
  transition: translate 0.6s var(--ease-out);
}
.js .hero-banner-img { animation: heroImageIn 1.6s var(--ease-out) both; }
@keyframes heroImageIn {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1360px) {
  .hero.hero-grand { min-height: 640px; }
  .hero-banner-stage { left: calc(50% - 250px); bottom: -42px; }
  .hero-banner-img { height: 82%; }
}
@media (max-width: 1120px) {
  .hero.hero-grand { min-height: 580px; }
  .hero-banner-stage { left: calc(50% - 220px); bottom: -36px; }
  .hero-banner-img { height: clamp(70%, 40vw, 78%); }
  .hero-floating-badge { padding: 10px 14px; gap: 10px; scale: 0.88; }
  .hero-floating-badge.hero-offer-card { padding: 0; scale: 1; }
}
@media (max-width: 960px) {
  .hero-character-layer { display: none; }
  .hero-grand-visual-stage { display: none; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, clamp(300px, 34vw, 468px)) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
  align-items: center;
  width: 100%;
}
.hero-grand-copy { max-width: 100%; }
.hero-grand-copy h1 {
  font-size: clamp(31px, 3.3vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero-line { display: block; }
.js .hero-line,
.js .hero-anim {
  animation: heroRise 0.9s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}

.highlight-wrap { position: relative; display: inline-block; white-space: nowrap; }
.highlight-wrap svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 14px;
  pointer-events: none;
  overflow: visible;
}
.highlight-wrap path { stroke-dasharray: 290; stroke-dashoffset: 0; }
.js .highlight-wrap path { animation: drawLine 1.1s var(--ease-out) 0.65s both; }
@keyframes drawLine { from { stroke-dashoffset: 290; } }

.hero-lede {
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 26px;
  max-width: 500px;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}
.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-heading);
}
.hero-trust-list svg { color: var(--tiffany); flex: none; }

.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.hero-grand-visual-stage {
  min-height: 520px;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 12px;
  padding-bottom: clamp(58px, 5.8vw, 86px);
  position: relative;
  z-index: var(--z-float);
}

/* Floating badges & stacked offer cards */
.hero-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 #fff, var(--shadow-float);
  z-index: var(--z-float);
  pointer-events: auto;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  translate: calc(var(--px, 0) * 18px) calc(var(--py, 0) * 12px);
  transition: translate 0.6s var(--ease-out), box-shadow 0.3s;
}
.hero-offers-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.4vw, 20px);
  margin-top: 0;
  margin-left: clamp(10px, 1.4vw, 22px);
  max-width: 100%;
  z-index: var(--z-float);
  pointer-events: none;
  translate: calc(var(--px, 0) * 18px) calc(var(--py, 0) * 12px);
  transition: translate 0.6s var(--ease-out);
}
.hero-offers-row .hero-floating-badge {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  translate: none;
}
.hero-offers-row .hero-floating-badge.b-rate { animation: floatOffer 5s ease-in-out infinite; }
.hero-offers-row .hero-floating-badge.b-free {
  margin-left: clamp(34px, 4.2vw, 64px);
  animation: floatOffer 5s ease-in-out 2.5s infinite;
}
.js .hero-offers-row .hero-floating-badge { opacity: 0; animation: offerCardIn 0.8s var(--ease-spring) var(--d, 0.9s) forwards, floatOffer 5s ease-in-out calc(var(--d, 0.9s) + 0.8s) infinite; }
.js .hero-offers-row .b-free { --d: 1.15s; }
@keyframes offerCardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.9); }
  to { opacity: 1; transform: none; }
}
@keyframes floatOffer {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-7px); }
}
.hero-offers-row .hero-floating-badge.hero-offer-card:hover,
.hero-offers-row .hero-floating-badge.hero-offer-card:focus-visible {
  z-index: 30;
  animation-play-state: paused;
}
.js .hero-offers-row .hero-floating-badge.hero-offer-card:hover,
.js .hero-offers-row .hero-floating-badge.hero-offer-card:focus-visible {
  animation-play-state: running, paused;
}
.hero-floating-badge.hero-offer-card {
  display: block;
  padding: 0;
  width: clamp(210px, 19vw, 276px);
  flex: 0 1 auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 16px;
  overflow: visible;
  box-shadow: none;
  text-decoration: none;
  perspective: 1100px;
  scale: 1;
  transition: translate 0.6s var(--ease-out), scale 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}
.hero-floating-badge.hero-offer-card:hover,
.hero-floating-badge.hero-offer-card:focus-visible {
  scale: 1.12;
  transition: translate 0.6s var(--ease-out), scale 0.46s cubic-bezier(0.34, 1.45, 0.64, 1) 0.44s;
}
.hero-floating-badge.hero-offer-card picture {
  display: block;
  position: relative;
  border: 1px solid rgba(196, 230, 226, 0.85);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  transform-origin: center center;
  will-change: transform;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.hero-floating-badge.hero-offer-card picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.42) 48%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}
.hero-floating-badge.hero-offer-card:hover picture,
.hero-floating-badge.hero-offer-card:focus-visible picture {
  border-color: rgba(10, 186, 181, 0.72);
  box-shadow: 0 24px 52px -10px rgba(6, 50, 52, 0.34), 0 0 0 2px rgba(10, 186, 181, 0.25);
  animation: offerCardSpinOnce 0.56s cubic-bezier(0.37, 0, 0.25, 1) 1 forwards;
}
.hero-floating-badge.hero-offer-card:hover picture::after,
.hero-floating-badge.hero-offer-card:focus-visible picture::after {
  animation: offerCardGlint 0.52s ease-out 0.42s forwards;
}
@keyframes offerCardSpinOnce {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}
@keyframes offerCardGlint {
  0%   { transform: translateX(-130%); opacity: 0.9; }
  100% { transform: translateX(130%); opacity: 0; }
}
.hero-floating-badge.hero-offer-card img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Option 5 variant: advisor centered in right stage, Offer 1 on her left & Offer 2 on her right */
[data-hero-variant="5"] .hero-banner-stage {
  left: calc(50% - 510px);
}
[data-hero-variant="5"] .hero-banner-img {
  mask-image:
    linear-gradient(to right, transparent 0%, #000 32%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 32%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
}
[data-hero-variant="5"] .hero-grand-visual-stage {
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 18px;
}
[data-hero-variant="5"] .hero-offers-row {
  flex-direction: row;
  align-items: center;
  gap: clamp(192px, 20.5vw, 292px);
  margin-left: 0;
  max-width: none;
  width: max-content;
}
[data-hero-variant="5"] .hero-floating-badge.hero-offer-card {
  flex: none;
  width: clamp(180px, 15.2vw, 224px);
}
[data-hero-variant="5"] .hero-offers-row .hero-floating-badge.b-rate {
  margin-top: -40px;
}
[data-hero-variant="5"] .hero-offers-row .hero-floating-badge.b-free {
  margin-left: 0;
  margin-top: 40px;
}
@media (max-width: 1360px) {
  [data-hero-variant="5"] .hero-banner-stage { left: calc(50% - 475px); }
}
@media (max-width: 1120px) {
  [data-hero-variant="5"] .hero-banner-stage { left: calc(50% - 432px); }
}
@keyframes badgeIn {
  from { opacity: 0; transform: translate(-50%, -30%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes floatBadge {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%); }
  50% { opacity: 1; transform: translate(-50%, calc(-50% - 8px)); }
}

.badge-metric-pill {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-num);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, var(--tiffany) 0%, var(--tiffany-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 10px -2px rgba(6, 123, 120, 0.45);
}
.badge-pill-rate { font-size: 19px; }
.badge-pill-free { font-size: 15px; letter-spacing: -0.03em; }
.badge-text b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
}
.badge-text span {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.3;
}
.b-rate .badge-text span { color: var(--tiffany-dark); font-weight: 600; }

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
  animation: liveDot 2.4s ease-out infinite;
}
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(18, 163, 122, 0.55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(18, 163, 122, 0); }
}

/* ==========================================================
   4 Core Promises
   ========================================================== */
#promises {
  overflow: hidden;
  background-color: #F3F9F8;
}
#promises::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/opt/skyline.webp") center bottom / cover no-repeat;
  opacity: 0.26;
  pointer-events: none;
}
#promises::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.5) 12%, transparent 26%, transparent 72%, rgba(255, 255, 255, 0.7) 88%, #fff 100%);
  pointer-events: none;
}

.promises-surround-layout {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 28px;
  align-items: center;
}
.promises-side-col { display: flex; flex-direction: column; gap: 22px; }
.promises-center-col { position: relative; display: flex; justify-content: center; }
.promises-center-stage {
  position: relative;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.promises-ambient-aura {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(10, 186, 181, 0.24) 0%, rgba(10, 186, 181, 0.06) 55%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  animation: auraBreathe 7s ease-in-out infinite;
}
.promises-ambient-aura::before,
.promises-ambient-aura::after {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  border: 1px dashed rgba(10, 186, 181, 0.28);
  animation: promisesOrbitSpin 28s linear infinite;
}
.promises-ambient-aura::after {
  inset: -6px;
  border-style: solid;
  border-color: rgba(10, 186, 181, 0.14) transparent rgba(10, 186, 181, 0.22) transparent;
  animation-duration: 18s;
  animation-direction: reverse;
}
@keyframes auraBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.8; }
}
@keyframes promisesOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.promises-center-advisor-img {
  position: relative;
  width: 100%;
  max-width: 320px;
  mask-image: linear-gradient(180deg, #000 68%, rgba(0, 0, 0, 0.5) 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 68%, rgba(0, 0, 0, 0.5) 86%, transparent 100%);
  filter: drop-shadow(0 14px 28px rgba(6, 50, 52, 0.1));
}
.promises-center-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text-heading);
}

/* Promise cards: full-bleed 3:2 bespoke studio still-life artwork with crisp
   editorial typography overlaid on the uncluttered left canvas. */
.promise-card {
  position: relative;
  display: flex;
  min-height: 256px;
  aspect-ratio: 3 / 2;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  background: #EAF4F2;
  box-shadow: 0 18px 40px -22px rgba(6, 70, 68, 0.24), 0 2px 8px rgba(6, 50, 52, 0.05);
  overflow: hidden;
  isolation: isolate;
  scale: 1;
  transition: transform 0.45s var(--ease-out), scale 0.42s var(--ease-spring), opacity 0.35s ease, filter 0.35s ease, box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
@media (min-width: 961px) {
  .promises-surround-layout .promise-card {
    animation: promiseOrbitFloat 9.5s ease-in-out infinite;
  }
  .promises-surround-layout .promises-side-col:first-child .promise-card:last-child {
    animation-delay: -4.8s;
  }
  .promises-surround-layout .promises-side-col:last-child .promise-card:first-child {
    animation-delay: -2.4s;
  }
  .promises-surround-layout .promises-side-col:last-child .promise-card:last-child {
    animation-delay: -7.2s;
  }
  .promises-surround-layout:has(.promise-card:hover) .promise-card,
  .promises-surround-layout:has(.promise-card:hover) .promises-ambient-aura,
  .promises-surround-layout:has(.promise-card:hover) .promises-ambient-aura::before,
  .promises-surround-layout:has(.promise-card:hover) .promises-ambient-aura::after {
    animation-play-state: paused;
  }
  .promises-surround-layout:has(.promise-card:hover) .promise-card:not(:hover) {
    opacity: 0.72;
    filter: saturate(0.86);
  }
}
@keyframes promiseOrbitFloat {
  0%, 100% { translate: 0px 0px; }
  25%      { translate: 5px -7px; }
  50%      { translate: 0px -10px; }
  75%      { translate: -5px -4px; }
}
.promise-card:hover {
  z-index: 20;
  scale: 1.06;
  border-color: rgba(10, 186, 181, 0.68);
  box-shadow: 0 28px 56px -18px rgba(6, 70, 68, 0.36), 0 0 0 2px rgba(10, 186, 181, 0.18);
}
.promise-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}
.promise-card:hover .promise-card-bg {
  transform: scale(1.03);
}
.promise-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(242, 249, 248, 0.78) 0%, rgba(242, 249, 248, 0.35) 56%, transparent 78%);
  pointer-events: none;
}
.promise-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 72%;
}
.promise-kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.promise-kicker .num {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tiffany-dark);
}
.promise-kicker .kicker-tag {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: var(--tiffany-deep);
}
.promise-card h3 {
  font-size: 18.5px;
  font-weight: 750;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.promise-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #364F54;
  margin-bottom: 14px;
}
.promise-guarantee {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
  color: var(--tiffany-deep);
}
.promise-guarantee svg {
  flex: none;
  width: 16px;
  height: 16px;
  padding: 2.5px;
  border-radius: 50%;
  color: #fff;
  background: var(--tiffany-dark);
}

[data-spotlight] { --mx: 50%; --my: 50%; }
[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(10, 186, 181, 0.75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 2;
}
[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(10, 186, 181, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
[data-spotlight]:hover::before,
[data-spotlight]:hover::after { opacity: 1; }

/* ==========================================================
   Loan solutions — asymmetric bento
   ========================================================== */
#solutions { background: #fff; overflow: hidden; }
#solutions::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(10, 186, 181, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.solutions-head-aside {
  justify-self: end;
  max-width: 440px;
  padding-left: 20px;
  border-left: 2px solid var(--tiffany);
}
.solutions-head-aside .solutions-lead {
  max-width: none;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.solutions-helper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13.5px;
  color: var(--text-soft);
}
.solutions-helper-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 650;
  color: var(--tiffany-dark);
  transition: color 0.2s;
}
.solutions-helper-link .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-spring);
}
.solutions-helper-link:hover { color: var(--tiffany-deep); }
.solutions-helper-link:hover .arrow { transform: translateX(4px); }

.loans-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 20px;
}
.loan-product-card {
  position: relative;
  display: grid;
  grid-template-columns: 204px 1fr;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 26px -18px rgba(6, 50, 52, 0.14), 0 2px 6px rgba(6, 50, 52, 0.03);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.loan-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -18px rgba(6, 70, 68, 0.22), 0 4px 10px rgba(6, 50, 52, 0.04);
  border-color: var(--tiffany-border);
}

.loan-media { position: relative; overflow: hidden; background: var(--bg-wash); min-height: 158px; }
.loan-product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.loan-product-card:hover .loan-product-img { transform: scale(1.05); }

/* Featured flagship card: Light Tiffany editorial two-part card */
.loan-product-card.is-featured {
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF9F8 100%);
  border-color: #BCE5E0;
  color: var(--text-heading);
}
.loan-product-card.is-featured .loan-media {
  position: relative;
  height: 290px;
  flex-shrink: 0;
  min-height: 0;
}
.loan-product-card.is-featured .loan-product-img {
  object-position: center 22%;
}
.loan-featured-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #C6ECE8;
  box-shadow: 0 4px 12px -6px rgba(6, 50, 52, 0.25);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tiffany-ink);
}
.loan-product-card.is-featured .loan-product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 28px 24px;
}
.loan-featured-metric {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 4px;
}
.loan-featured-metric .metric-num {
  font-family: var(--font-num);
  font-size: clamp(34px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tiffany);
}
.loan-featured-metric .metric-label {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--tiffany-ink);
}
.loan-product-card.is-featured .loan-metric-note {
  margin-bottom: 14px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-soft);
}
.loan-product-card.is-featured h3 {
  font-size: 24px;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.loan-product-card.is-featured .loan-product-body p:not(.loan-metric-note) {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 440px;
  margin-bottom: 20px;
}
.loan-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #D3ECE9;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tiffany-ink);
}
.loan-product-card.is-featured .loan-arrow-circle {
  width: 38px;
  height: 38px;
  background: #E2F6F4;
  border-color: #B4E3DE;
  color: var(--tiffany-ink);
}
.loan-product-card.is-featured:hover .loan-arrow-circle {
  background: var(--tiffany);
  border-color: var(--tiffany);
  color: var(--tiffany-ink);
}

/* Right column editorial cards */
.loan-product-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 18px;
}
.loan-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.loan-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
}
.loan-index {
  font-family: var(--font-num);
  font-weight: 750;
  color: var(--tiffany-dark);
  letter-spacing: 0.04em;
}
.loan-metric {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--tiffany-ink);
}
.loan-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--tiffany-dark);
  transition: color 0.25s;
}
.loan-arrow-circle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #D3EAE7;
  background: #F4FBFA;
  color: var(--tiffany-ink);
  transition: background 0.28s, border-color 0.28s, color 0.28s, transform 0.3s var(--ease-spring);
}
.loan-arrow-circle svg {
  transition: transform 0.3s var(--ease-spring);
}
.loan-product-card:hover .loan-cta-inline { color: var(--tiffany-ink); }
.loan-product-card:hover .loan-arrow-circle {
  background: var(--tiffany);
  border-color: var(--tiffany);
  color: var(--tiffany-ink);
}
.loan-product-card:hover .loan-arrow-circle svg {
  transform: translate(1.5px, -1.5px);
}
/* Whole card clickable */
.loan-product-cta::after { content: ""; position: absolute; inset: 0; z-index: 3; }

.loan-product-body h3 { font-size: 18px; margin-bottom: 5px; }
.loan-product-body p {
  flex-grow: 1;
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 10px;
}
.loan-sub-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================
   How it works
   ========================================================== */
#how {
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-wash) 0%, #F6FBFA 55%, #EAF5F3 100%);
}
#how::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 560px 420px at 78% 52%, rgba(10, 186, 181, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.steps-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.steps-info-col .lede {
  margin-bottom: 36px;
  color: var(--text-soft);
  max-width: 460px;
}
.steps-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step-item { position: relative; display: flex; gap: 20px; }
/* Hairline connector between timeline nodes */
.step-item:not(:last-child)::before,
.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: -22px;
  width: 2px;
  border-radius: 2px;
}
.step-item:not(:last-child)::before { background: var(--tiffany-border); }
.step-item:not(:last-child)::after {
  background: linear-gradient(180deg, var(--tiffany), var(--tiffany-dark));
  transform-origin: top;
  transition: transform 0.9s var(--ease-out) calc(var(--d, 0ms) + 450ms);
}
.js .step-item:not(.is-in)::after { transform: scaleY(0); }
.step-number-badge {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--tiffany-border);
  box-shadow: 0 4px 12px -4px rgba(6, 70, 68, 0.12);
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 750;
  color: var(--tiffany-dark);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease-spring);
}
.step-item:hover .step-number-badge {
  background: var(--tiffany);
  border-color: var(--tiffany);
  color: var(--tiffany-ink);
  transform: scale(1.06);
}
.step-meta-tag {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--tiffany-dark);
  margin-bottom: 3px;
}
.step-content h3 { font-size: 18px; margin: 0 0 6px; }
.step-content p { font-size: 14.5px; color: var(--text-soft); line-height: 1.68; margin: 0; }

/* Integrated Editorial Case Dossier (single cohesive card, zero floating clutter) */
.showcase-card-wrap { position: relative; display: flex; justify-content: center; }
.showcase-main-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid rgba(196, 230, 226, 0.95);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(6, 70, 68, 0.24), 0 4px 12px rgba(6, 50, 52, 0.04);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.showcase-card-wrap:hover .showcase-main-card {
  transform: translateY(-4px);
  box-shadow: 0 30px 56px -24px rgba(6, 70, 68, 0.3), 0 6px 16px rgba(6, 50, 52, 0.05);
}
.showcase-img-wrap {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: var(--bg-wash);
}
.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.9s var(--ease-out);
}
.showcase-card-wrap:hover .showcase-img { transform: scale(1.04); }
.showcase-card-body {
  padding: 22px 24px 24px;
}
.showcase-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
  font-size: 12px;
}
.showcase-case-tag {
  font-weight: 700;
  color: var(--tiffany-dark);
}
.showcase-case-type {
  color: var(--text-muted);
  font-weight: 550;
}
.showcase-title {
  font-size: 19px;
  font-weight: 750;
  color: var(--text-heading);
  margin: 0 0 16px;
}
.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--border-light);
}
.metric-item span {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 3px;
}
.metric-item b {
  display: block;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 16.5px;
  font-weight: 750;
  line-height: 1.25;
  color: var(--text-heading);
}
.metric-item small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.showcase-result-bar {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E8F8F6 0%, #D9F2EF 100%);
  border: 1px solid #B5E3DE;
  color: var(--tiffany-ink);
}
.showcase-result-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.result-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--tiffany-dark);
}
.result-saving {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--tiffany-ink);
}
.result-saving strong {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tiffany-dark);
  margin-left: 4px;
}
.showcase-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(2, 53, 51, 0.12);
  font-size: 12px;
  color: var(--text-body);
}
.showcase-result-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.showcase-result-meta svg {
  color: var(--tiffany-dark);
  flex: none;
}

/* ==========================================================
   Calculator
   ========================================================== */
#calc { background: #fff; overflow: hidden; }
.calc-head {
  text-align: left;
  max-width: 620px;
  margin-bottom: clamp(30px, 4vw, 44px);
}
.calc-head h2 { margin-bottom: 10px; }
.calc-head p { color: var(--text-soft); margin: 0; }

.calc-card {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}
.calc-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 6px 0;
}
.calc-field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 650;
  color: var(--text-heading);
}
.calc-value-display {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tiffany-dark);
}
.calc-value-sm {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 700;
  color: var(--tiffany-dark);
}

/* Custom range slider with a filled track driven by --fill */
.calc-slider {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
.calc-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--tiffany) 0 var(--fill), var(--border) var(--fill) 100%);
}
.calc-slider::-moz-range-track { height: 6px; border-radius: 6px; background: var(--border); }
.calc-slider::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--tiffany); }
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--tiffany);
  box-shadow: 0 2px 8px rgba(6, 50, 52, 0.2);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.calc-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--tiffany);
  box-shadow: 0 2px 8px rgba(6, 50, 52, 0.2);
}
.calc-slider:hover::-webkit-slider-thumb,
.calc-slider:active::-webkit-slider-thumb { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(10, 186, 181, 0.14), 0 2px 8px rgba(6, 50, 52, 0.22); }
.calc-slider:focus-visible { outline: none; }
.calc-slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.35); }

.calc-scale-ticks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
}
.calc-tick-btn {
  font: inherit;
  font-family: var(--font-num);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.calc-tick-btn:hover { color: var(--tiffany-dark); background: var(--tiffany-light); }
.calc-tick-btn.active {
  color: var(--tiffany-ink);
  background: var(--tiffany-tint);
  font-weight: 700;
}

.tenor-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}
.tenor-pill {
  font: inherit;
  font-family: var(--font-num);
  font-weight: 650;
  font-size: 14.5px;
  color: var(--text-body);
  background: transparent;
  border: 0;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.tenor-pill small { font-size: 12px; font-weight: 500; margin-left: 2px; }
.tenor-pill:hover { color: var(--tiffany-ink); background: rgba(255, 255, 255, 0.7); }
.tenor-pill:active { transform: scale(0.97); }
.tenor-pill.active {
  background: var(--tiffany);
  color: var(--tiffany-ink);
  box-shadow: 0 4px 12px -4px rgba(10, 186, 181, 0.5);
}

.calc-apr-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.calc-scenario-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  text-align: left;
  font: inherit;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.calc-scenario-btn b { font-size: 13.5px; font-weight: 650; color: var(--text-heading); }
.calc-scenario-btn span {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}
.calc-scenario-btn:hover { border-color: var(--tiffany-border); background: var(--bg-wash); }
.calc-scenario-btn:active { transform: scale(0.98); }
.calc-scenario-btn.active {
  background: var(--tiffany-light);
  border-color: var(--tiffany);
}
.calc-scenario-btn.active b { color: var(--tiffany-ink); }
.calc-scenario-btn.active span { color: var(--tiffany-dark); font-weight: 700; }

.calc-result-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 30px 28px;
  border-radius: 22px;
  color: var(--tiffany-ink);
  border: 1px solid #E5D9C3;
  background: linear-gradient(160deg, #FAF7F1 0%, #F3EDE2 100%);
  box-shadow: 0 20px 44px -28px rgba(8, 48, 46, 0.14);
  position: relative;
  overflow: hidden;
}
.calc-result-label { font-size: 13.5px; font-weight: 600; color: #795F38; margin-bottom: 4px; }
.calc-monthly-hero {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--tiffany-ink);
  margin-bottom: 24px;
}
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-body);
}
.calc-breakdown-row b {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--tiffany-ink);
}
.calc-breakdown-row.is-interest b { color: var(--tiffany-dark); }
.calc-breakdown-row.is-total { border-top: 1px solid #E4D9C5; padding-top: 12px; margin-top: 4px; }
.calc-ratio-bar {
  display: flex;
  height: 7px;
  margin: 14px 0 24px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #E6DDD0;
  gap: 2px;
}
.ratio-principal { background: var(--tiffany-ink); width: 93%; border-radius: inherit; transition: width 0.6s var(--ease-out); }
.ratio-interest { background: var(--tiffany); width: 7%; border-radius: inherit; transition: width 0.6s var(--ease-out); }
.calc-legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: -14px 0 22px;
  font-size: 12px;
  color: var(--text-soft);
}
.calc-legend b {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--tiffany-ink);
  margin-left: 3px;
}
.calc-legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--tiffany-ink);
}
.calc-legend span + span::before { background: var(--tiffany); }
.calc-disclaimer { margin-top: 12px; font-size: 11.5px; line-height: 1.6; color: var(--text-soft); text-align: center; }

/* ==========================================================
   Reviews — Light Tiffany showcase quote + warm champagne-pearl cards
   ========================================================== */
#reviews {
  overflow: hidden;
  background: linear-gradient(180deg, #F5FBFA 0%, #EDF7F6 100%);
}
#reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 620px 420px at 18% 58%, rgba(10, 186, 181, 0.08) 0%, transparent 72%);
  pointer-events: none;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 26px 28px;
  background: #FFFFFF;
  border: 1px solid #E5EEEE;
  border-radius: 22px;
  box-shadow: 0 12px 28px -18px rgba(6, 60, 58, 0.14), 0 2px 6px rgba(6, 50, 52, 0.03);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--tiffany-border);
  box-shadow: 0 20px 42px -18px rgba(6, 70, 68, 0.2), 0 4px 10px rgba(6, 50, 52, 0.04);
}
/* Featured card leans directly into signature airy Light Tiffany Green */
.review-card.is-featured {
  grid-row: 1 / span 2;
  padding: 36px 38px 32px;
  border-color: #B4E3DE;
  background: linear-gradient(155deg, #FFFFFF 0%, #E7F7F5 52%, #D4EFEA 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 22px 46px -22px rgba(10, 140, 136, 0.24);
}
.review-featured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.review-quote-mark { width: 36px; height: 28px; color: var(--tiffany); flex: none; }
.review-case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.review-case-num {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  color: #8C7046;
}
/* Warm Champagne / Ivory complement pairing gently with Light Tiffany */
.review-case-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: #FAF7F1;
  border: 1px solid #EAE0CF;
  font-size: 12px;
  font-weight: 650;
  color: #795F38;
}
.review-case-badge.is-tiffany {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(10, 186, 181, 0.35);
  color: var(--tiffany-dark);
}
.review-text {
  flex-grow: 1;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-body);
}
.is-featured .review-text {
  font-size: clamp(19px, 2vw, 22.5px);
  line-height: 1.65;
  font-weight: 550;
  color: var(--text-heading);
  letter-spacing: -0.005em;
  margin-bottom: 26px;
}
.review-figures {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 26px;
}
.review-figures-div {
  width: 1px;
  height: 36px;
  background: rgba(10, 186, 181, 0.28);
}
.review-figures .num {
  display: block;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--tiffany-dark);
}
.review-figures small { font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.is-featured .review-author {
  border-top-color: rgba(10, 186, 181, 0.22);
}
.author-avatar-img {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  object-fit: cover;
}
.is-featured .author-avatar-img { width: 54px; height: 54px; border-radius: 16px; }
.author-info { flex-grow: 1; min-width: 0; }
.author-info b { display: block; font-size: 14.5px; color: var(--text-heading); }
.author-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 12.5px;
  color: var(--text-soft);
}
.verified-tag { display: inline-flex; align-items: center; gap: 4px; color: var(--tiffany-dark); font-weight: 600; }

/* ==========================================================
   Application form
   ========================================================== */
#apply {
  background: #FFFFFF;
  overflow: clip;
}
.apply-head-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 8px;
}
.apply-head-meta {
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  color: var(--tiffany-dark);
}
.apply-head-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 650;
  color: var(--whatsapp-dark);
  transition: color 0.2s;
}
.apply-head-wa-link .arrow { transition: transform 0.3s var(--ease-spring); }
.apply-head-wa-link:hover { color: #15803D; }
.apply-head-wa-link:hover .arrow { transform: translateX(3px); }
.apply-layout {
  display: grid;
  grid-template-columns: 356px 1fr;
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}
.apply-advisor-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid #DCEEEB;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 22px 46px -28px rgba(8, 48, 46, 0.14), 0 4px 14px -6px rgba(10, 186, 181, 0.08);
}
.advisor-photo-wrap { position: relative; height: 244px; background: var(--bg-wash); overflow: hidden; }
.advisor-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.advisor-info-box { padding: 18px 22px 22px; }
.advisor-status-strip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 5px 12px;
  background: #EDF9F7;
  border: 1px solid #C6ECE8;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--tiffany-dark);
}
.advisor-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ABAB5;
  flex: none;
}
.advisor-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.advisor-name-row h3 { font-size: 19px; font-weight: 700; }
.advisor-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #FAF7F1;
  border: 1px solid #EAE0CF;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: #795F38;
}
.advisor-bio { font-size: 13px; color: var(--text-soft); margin-bottom: 14px; line-height: 1.55; }
.advisor-quote-bubble {
  position: relative;
  margin-bottom: 16px;
  padding: 13px 15px;
  background: #FAF7F1;
  border: 1px solid #EAE0CF;
  border-radius: 4px 14px 14px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-body);
}
.advisor-promises-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.advisor-promises-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.5; }
.advisor-promises-list svg { color: var(--tiffany); flex: none; margin-top: 2px; }
.advisor-promises-list b { color: var(--text-heading); }
.advisor-direct-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: #fff;
  border: 1.5px solid #BCE5CD;
  color: var(--whatsapp-dark);
  font-size: 13.5px;
  font-weight: 650;
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
.advisor-direct-wa svg { color: var(--whatsapp); flex: none; }
.advisor-direct-wa:hover { background: #F2FBF5; border-color: var(--whatsapp); color: #15803D; transform: translateY(-1px); }
.advisor-direct-wa:active { transform: scale(0.98); }

.apply-box {
  background: #fff;
  border: 1px solid #D9ECE9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 26px 56px -30px rgba(8, 48, 46, 0.16), 0 4px 16px -6px rgba(10, 186, 181, 0.08);
}
.apply-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(22px, 4vw, 40px);
  background: linear-gradient(135deg, #F5FBFA 0%, #E7F7F5 100%);
  border-bottom: 1px solid #D5ECE9;
}
.apply-dossier-kicker {
  display: block;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tiffany-dark);
  margin-bottom: 3px;
}
.apply-box-title {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}
.apply-form-body {
  padding: 24px clamp(22px, 4vw, 40px) clamp(26px, 4vw, 38px);
}
.form-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 148px;
  font-size: 12.5px;
  color: var(--text-soft);
}
.form-progress-text { white-space: nowrap; }
.form-progress-bar {
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: rgba(10, 186, 181, 0.16);
  overflow: hidden;
}
.form-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #0ABAB5 0%, #24D3CD 100%);
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.5s var(--ease-out);
}
.form-progress b { font-family: var(--font-num); color: var(--tiffany-dark); }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-group { position: relative; margin-bottom: 20px; }
.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text-heading);
}
.form-input, .form-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font: inherit;
  font-size: 15.5px;
  color: var(--text-heading);
  background: #F8FBFB;
  border: 1px solid #DCE7E7;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-input:hover, .form-select:hover { border-color: #B4D7D5; }
.form-input:focus, .form-select:focus {
  outline: none;
  background: #fff;
  border-color: var(--tiffany);
  box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.14);
}
.form-input::placeholder { color: var(--text-muted); }
.form-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235A6C70' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.input-prefix-wrap { position: relative; }
.input-prefix-wrap .prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  pointer-events: none;
}
.input-prefix-wrap .form-input { padding-left: 58px; }

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--danger);
}
.is-invalid .field-error { display: block; animation: errIn 0.3s var(--ease-out); }
.is-invalid .form-input,
.is-invalid .form-select { border-color: var(--danger); background: #FFF8F7; }
.is-invalid .form-input:focus { box-shadow: 0 0 0 4px rgba(200, 67, 58, 0.12); }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }
.is-valid .form-input { border-color: var(--tiffany-border); }

.phone-wa-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  font-size: 13px;
  font-weight: 550;
  color: var(--text-soft);
  cursor: pointer;
  user-select: none;
}
.phone-wa-check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0ABAB5;
  cursor: pointer;
}
.phone-wa-check:hover { color: var(--text-heading); }

.pics-checkbox-wrap {
  margin: 6px 0 22px;
  padding: 16px 18px;
  background: #FAF7F1;
  border: 1px solid #EAE0CF;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.65;
}
.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  border-radius: var(--radius-xs);
  transition: background 0.2s;
}
.checkbox-row:last-child { margin-bottom: 0; }
.checkbox-row input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0ABAB5;
  cursor: pointer;
}
.checkbox-row label { cursor: pointer; }
.checkbox-row.is-invalid label { color: var(--danger); }
.checkbox-row.is-invalid input { outline: 2px solid var(--danger); outline-offset: 1px; }

.form-alert {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #FFF4F2;
  border: 1px solid #F3CFCB;
  color: var(--danger);
  font-size: 13.5px;
}
.form-legal-note { margin-top: 14px; text-align: center; font-size: 12px; color: var(--text-muted); }

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.success-card { display: none; text-align: center; padding: 36px clamp(22px, 4vw, 40px); }
.success-card.is-shown { display: block; animation: heroRise 0.7s var(--ease-out) both; }
.success-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tiffany-tint);
  color: var(--tiffany-dark);
}
.success-icon-wrap path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.is-shown .success-icon-wrap path { animation: checkDraw 0.6s var(--ease-out) 0.35s forwards; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.success-card h3 { font-size: 24px; margin-bottom: 8px; }
.success-ref { color: var(--text-soft); margin-bottom: 18px; }
.success-ref strong { font-family: var(--font-num); font-size: 19px; color: var(--tiffany-dark); letter-spacing: 0.02em; }
.success-body { max-width: 460px; margin: 0 auto 26px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================
   FAQ — intro column + list (Warm Champagne Pearl canvas)
   ========================================================== */
#faq { background: #FAF7F1; overflow: clip; }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5.5vw, 76px);
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro p { color: var(--text-soft); margin-bottom: 24px; max-width: 360px; }
.faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 10px;
  background: #fff;
  border: 1px solid #EAE0CF;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 24px -18px rgba(8, 48, 46, 0.2);
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.faq-contact img { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #EAE0CF; }
.faq-contact small { display: block; font-size: 12px; font-weight: 500; color: var(--text-soft); }
.faq-contact:hover { border-color: var(--whatsapp); color: var(--text-heading); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.faq-wrap {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #EAE0CF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 22px 46px -28px rgba(8, 48, 46, 0.12), 0 4px 14px -6px rgba(121, 95, 56, 0.06);
}
.faq-item {
  border-bottom: 1px solid #F1EAE0;
  transition: background 0.3s ease;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item[open] {
  background: linear-gradient(180deg, #FDFBF7 0%, #F7FAF9 100%);
}
.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-size: 16.5px;
  font-weight: 650;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.faq-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 7px;
  background: #FAF7F1;
  border: 1px solid #EAE0CF;
  border-radius: 99px;
  font-family: var(--font-num);
  font-size: 11.5px;
  font-weight: 700;
  color: #795F38;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.faq-item[open] .faq-num {
  background: #E7F7F5;
  border-color: #B4E3DE;
  color: var(--tiffany-dark);
}
.faq-summary:hover { color: var(--tiffany-dark); }
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: #F7FBFA;
  border: 1px solid #C6E7E3;
  transition: transform 0.45s var(--ease-out), background 0.3s, border-color 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  margin: -0.9px 0 0 -6px;
  border-radius: 2px;
  background: var(--tiffany-dark);
  transition: background 0.3s;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon {
  transform: rotate(135deg);
  background: #0ABAB5;
  border-color: #0ABAB5;
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
.faq-body {
  padding: 0 56px 24px 70px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  position: relative;
  padding: 64px 0 36px;
  background: #0E1D1F;
  border-top: 2px solid rgba(10, 186, 181, 0.5);
  color: #A2B5B8;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 1.15fr 0.9fr;
  gap: 36px 40px;
  margin-bottom: 40px;
}
.footer-brand { margin-bottom: 14px; }
.footer-desc { max-width: 340px; line-height: 1.75; margin-bottom: 18px; }
.footer-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 186, 181, 0.12);
  border: 1px solid rgba(127, 227, 222, 0.24);
  font-size: 12px;
  font-weight: 600;
  color: #9DEAE5;
}
.footer-trust-pill svg { color: #36D6D0; flex: none; }
.footer-col h4 { margin-bottom: 16px; font-size: 14.5px; font-weight: 650; color: #fff; letter-spacing: 0.01em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #A2B5B8; transition: color 0.2s; }
.footer-col a:hover { color: #7FE3DE; }
.footer-whatsapp-link { display: inline-flex; align-items: center; gap: 6px; }
.footer-whatsapp-link svg { color: var(--whatsapp); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-legal-box {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 12.5px;
  line-height: 1.75;
  color: #889B9E;
}
.footer-legal-box p { margin: 0; }
.footer-legal-box p + p { margin-top: 6px; }
.footer-copy {
  margin: 0;
  font-size: 12.5px;
  text-align: center;
  color: #7D9194;
}

/* ==========================================================
   Floating WhatsApp button (appears after the hero)
   ========================================================== */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-fab);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px -8px rgba(6, 50, 52, 0.3), 0 2px 6px rgba(6, 50, 52, 0.08);
  transition: transform 0.45s var(--ease-out), opacity 0.4s, box-shadow 0.3s, background 0.2s, padding 0.3s var(--ease-out), gap 0.3s var(--ease-out);
}
.js .floating-whatsapp:not(.is-visible) { opacity: 0; transform: translateY(24px) scale(0.9); pointer-events: none; }
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  gap: 10px;
  padding: 8px 18px 8px 8px;
  background: var(--whatsapp-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(6, 50, 52, 0.36);
}
.floating-whatsapp-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.floating-whatsapp-content {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.32s var(--ease-out), opacity 0.22s ease;
}
.floating-whatsapp:hover .floating-whatsapp-content,
.floating-whatsapp:focus-visible .floating-whatsapp-content {
  max-width: 180px;
  opacity: 1;
}
.floating-whatsapp-title { font-size: 13.5px; font-weight: 650; }
.floating-whatsapp-sub { font-family: var(--font-num); font-size: 11.5px; opacity: 0.9; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .hero-grid { gap: 24px; }
  .loan-product-card { grid-template-columns: 160px 1fr; }
}

@media (max-width: 1024px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-controls { padding: 4px 0; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero.hero-grand {
    min-height: auto;
    padding: 48px 0 56px;
    background:
      radial-gradient(ellipse 80% 60% at 100% 0%, rgba(10, 186, 181, 0.16) 0%, transparent 70%),
      #E9F6F4;
  }
  .hero-grid,
  .steps-section-grid,
  .faq-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-col-brand { grid-column: 1 / -1; }
  .hero-grand-visual-stage { display: none; }
  .section-head-split { grid-template-columns: 1fr; }
  .section-head-split p,
  .solutions-head-aside { justify-self: start; }

  .promises-surround-layout { grid-template-columns: 1fr; gap: 32px; }
  .promises-center-col { order: -1; }
  .promises-side-col { display: grid; grid-template-columns: repeat(2, 1fr); }

  .loans-grid { grid-template-columns: 1fr; }
  .loan-product-card.is-featured { grid-row: auto; min-height: 0; }
  .loan-product-card.is-featured .loan-media { height: 240px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .review-card.is-featured { grid-row: auto; }

  .steps-section-grid { gap: 48px; }

  .apply-layout { grid-template-columns: 1fr; max-width: 680px; }
  .apply-box { order: -1; }
  .apply-advisor-card { position: static; display: grid; grid-template-columns: 240px 1fr; }
  .advisor-photo-wrap { height: 100%; min-height: 260px; }

  .faq-intro { position: static; }
}

@media (max-width: 600px) {
  .promises-side-col { grid-template-columns: 1fr; }
  .promise-card { aspect-ratio: auto; min-height: 220px; padding: 20px 20px; border-radius: 18px; }
  .promise-card-content { max-width: 76%; }
  .promise-kicker .num { font-size: 21px; }
  .promise-card h3 { font-size: 17px; }
  .promise-card p { font-size: 13px; line-height: 1.6; }

  .loan-product-card { grid-template-columns: 104px 1fr; border-radius: 18px; }
  .loan-product-card.is-featured { display: flex; min-height: 0; }
  .loan-product-card.is-featured .loan-media { height: 205px; }
  .loan-product-card.is-featured .loan-product-body { padding: 20px 20px 20px; }
  .loan-featured-tag { top: 14px; left: 14px; }
  .loan-product-card.is-featured h3 { font-size: 21px; }
  .loan-product-body { padding: 14px 14px; }
  .loan-product-body p { font-size: 13px; margin-bottom: 8px; line-height: 1.55; }
  .loan-sub-meta { font-size: 11.5px; padding-top: 8px; }
  .loan-cta-inline { font-size: 12px; }

  .showcase-card-body { padding: 18px 18px 20px; }
  .showcase-metrics { gap: 8px; }
  .metric-item b { font-size: 15px; }

  .apply-advisor-card { grid-template-columns: 1fr; }
  .advisor-photo-wrap { height: 220px; min-height: 0; }
  .apply-box-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .form-progress { width: 100%; align-items: flex-start; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .hero-actions { align-items: stretch; }
  .btn-cta-flash { width: 100%; padding: 16px 24px; font-size: 17px; }

  .tenor-pills { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .tenor-pill { padding: 9px 2px; font-size: 13px; }
  .tenor-pill small { display: block; font-size: 10.5px; margin-left: 0; margin-top: 1px; }
  .calc-apr-presets { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .calc-scenario-btn { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; }
  .calc-result-box { padding: 26px 20px 22px; }

  .review-card, .review-card.is-featured { padding: 24px 22px; }
  .faq-summary { font-size: 15.5px; padding: 18px 18px; }
  .faq-q { gap: 10px; }
  .faq-body { padding: 0 18px 20px; }

  .site-footer { padding: 48px 0 92px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal-box { padding: 14px 16px; font-size: 12px; }

  .floating-whatsapp,
  .floating-whatsapp:hover,
  .floating-whatsapp:focus-visible { right: 16px; bottom: 16px; padding: 7px; gap: 0; }
  .floating-whatsapp-content { display: none; }
  .floating-whatsapp-icon { width: 44px; height: 44px; background: transparent; }
  .nav { height: 68px; gap: 10px; }
  .brand-logo-img { height: 37px; }
  .btn-whatsapp-nav span { display: none; }
  .btn-whatsapp-nav { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
