/* ==========================================================================
   PrakanBuddy — Design System v2
   Signature: "annotation notes" — pinned cards with a hairline connector that
   point at a term and explain it plainly. Used instead of stock insurance
   iconography (no shields, umbrellas, handshakes). It embodies the brand
   promise: อธิบายก่อนเสนอ / explain before proposing.
   ========================================================================== */

:root {
  --red: #E31B2F;
  --red-dark: #C11326;
  --red-tint: #FDECEE;
  --burgundy: #5C0712;
  --burgundy-soft: #7A1220;
  --warm-white: #FFF9F5;
  --white: #FFFFFF;
  --ink: #231B1C;
  --ink-soft: #756A6B;
  --border: #EADFDA;
  --border-strong: #DCCCC5;
  --line-green: #06C755;
  --whatsapp-green: #25D366;
  --messenger-blue: #0866FF;

  --font-body: 'Noto Sans Thai', 'Noto Sans Lao', 'Manrope', system-ui, sans-serif;
  --font-en: 'Manrope', system-ui, sans-serif;

  --max-width: 1200px;
  --pad-mobile: 20px;
  --pad-desktop: 80px;
  --gap-s: 64px;
  --gap-l: 112px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 28px;
  --header-h: 68px;
  --header-h-lg: 76px;
  --bar-h: 68px;

  --shadow-card: 0 14px 36px -20px rgba(92, 7, 18, 0.24);
  --shadow-lift: 0 20px 44px -22px rgba(92, 7, 18, 0.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.012em; line-height: 1.22; }
p { margin: 0; }
.num { font-family: var(--font-en); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------- Layout ---------------------------------- */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--pad-mobile); }
@media (min-width: 1024px) { .wrap { padding: 0 var(--pad-desktop); } }
.sec { padding-top: var(--gap-s); padding-bottom: var(--gap-s); }
@media (min-width: 1024px) { .sec { padding-top: var(--gap-l); padding-bottom: var(--gap-l); } }
.sec-tight { padding-top: 0; }
main { padding-top: var(--header-h); }
@media (min-width: 1024px) { main { padding-top: var(--header-h-lg); } }
body.has-bar main { padding-bottom: var(--bar-h); }
@media (min-width: 1024px) { body.has-bar main { padding-bottom: 0; } }

/* ------------------------------- Type ------------------------------------ */
.eyebrow {
  display: inline-block; font-family: var(--font-en); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
h1 { font-size: 33px; }
h2 { font-size: 25px; }
h3 { font-size: 18px; }
@media (min-width: 640px) { h1 { font-size: 42px; } h2 { font-size: 31px; } }
@media (min-width: 1024px) { h1 { font-size: 56px; line-height: 1.1; } h2 { font-size: 38px; } h3 { font-size: 20px; } }
.lede { font-size: 16.5px; color: var(--ink-soft); line-height: 1.72; }
@media (min-width: 1024px) { .lede { font-size: 18.5px; } }
.sec-head { max-width: 660px; }
.sec-head .lede { margin-top: 14px; }

/* ------------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 20px -12px rgba(227,27,47,.9); }
.btn-primary:hover { background: var(--red-dark); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--warm-white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-line { background: var(--line-green); color: var(--white); }
.btn-line:hover { filter: brightness(.94); }
.btn-wa { background: var(--whatsapp-green); color: var(--white); }
.btn-wa:hover { filter: brightness(.94); }
.btn-messenger { background: var(--messenger-blue); color: var(--white); }
.btn-messenger:hover { filter: brightness(.94); }
.btn-line::before, .btn-wa::before, .btn-messenger::before {
  content: ""; flex: 0 0 20px; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.btn-line::before {
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v16/icons/line.svg");
  mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v16/icons/line.svg");
}
.btn-wa::before {
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v16/icons/whatsapp.svg");
  mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v16/icons/whatsapp.svg");
}
.btn-messenger::before {
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v16/icons/messenger.svg");
  mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v16/icons/messenger.svg");
}
.btn-block { width: 100%; }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 14.5px; }
.tlink {
  display: inline-flex; align-items: center; gap: 7px; min-height: 48px;
  font-weight: 700; font-size: 15px; color: var(--burgundy);
}
.tlink .ar { transition: transform .16s ease; }
.tlink:hover .ar { transform: translateX(4px); }
.tlink:hover { color: var(--red); }

:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--burgundy); color: var(--white);
  padding: 14px 20px; z-index: 300; font-weight: 700;
}
.skip:focus { left: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ------------------------------- Header ---------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h);
  background: var(--red); z-index: 100; display: flex; align-items: center;
}
@media (min-width: 1024px) { .hdr { height: var(--header-h-lg); } }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { font-family: var(--font-en); font-weight: 800; font-size: 19px; color: var(--white); letter-spacing: -.02em; }
.logo em { font-style: normal; opacity: .72; }
.nav-d { display: none; }
@media (min-width: 1024px) {
  .nav-d { display: flex; gap: 32px; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-d a { color: var(--white); font-weight: 600; font-size: 15px; padding: 6px 0; position: relative; }
  .nav-d a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--white);
    transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .nav-d a:hover::after, .nav-d a[aria-current="page"]::after { transform: scaleX(1); }
}
.hdr-right { display: flex; align-items: center; gap: 10px; }
.hdr-cta { display: none; }
@media (min-width: 1024px) { .hdr-cta { display: inline-flex; min-height: 44px; padding: 0 22px; font-size: 15px; } }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; color: var(--white); font-weight: 700; font-size: 13.5px;
}
.lang-btn:hover { background: rgba(255,255,255,.24); }
.lang-btn svg { width: 15px; height: 15px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 148px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-m);
  box-shadow: var(--shadow-lift); padding: 6px; display: none; z-index: 120;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: flex; align-items: center; min-height: 46px; padding: 0 14px;
  border-radius: var(--r-s); font-size: 15px; font-weight: 600;
}
.lang-menu a:hover { background: var(--warm-white); }
.lang-menu a[aria-current="true"] { color: var(--red); background: var(--red-tint); }

.burger {
  display: flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--white);
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger svg { width: 26px; height: 26px; }

.panel {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); z-index: 99;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease; overflow-y: auto;
}
.panel.open { opacity: 1; transform: none; pointer-events: auto; }
.panel .wrap { padding-top: 8px; padding-bottom: 40px; }
.panel a.mlink {
  display: flex; align-items: center; min-height: 54px; font-size: 18px; font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.panel .btn { margin-top: 22px; }
.panel .mlang { margin-top: 26px; }
.panel .mlang-title { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.panel .mlang-row { display: flex; gap: 8px; }
.panel .mlang-row a {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1.5px solid var(--border); border-radius: var(--r-s); font-weight: 700; font-size: 15px;
}
.panel .mlang-row a[aria-current="true"] { border-color: var(--red); background: var(--red-tint); color: var(--red); }

/* ------------------------------- Sticky bar ------------------------------ */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px;
  padding: 10px var(--pad-mobile); padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--border);
}
@media (min-width: 1024px) { .bar { display: none; } }
.bar .btn { flex: 1; min-height: 48px; font-size: 15px; padding: 0 12px; }

/* --------------------------- Floating contact --------------------------- */
.contact-float {
  position: fixed; right: 18px; bottom: 22px; z-index: 95;
  display: grid; gap: 10px;
}
.float-contact {
  display: flex; align-items: center; gap: 9px; min-width: 152px; min-height: 48px;
  padding: 4px 14px 4px 4px; border-radius: 999px; color: var(--white);
  box-shadow: 0 12px 30px -12px rgba(35,27,28,.5);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.float-contact:hover {
  color: var(--white); transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(35,27,28,.58); filter: brightness(.97);
}
.float-contact:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.float-mark {
  display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.18); font-family: var(--font-en);
  font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: -.02em;
}
.float-mark img {
  width: 24px; height: 24px; display: block; filter: brightness(0) invert(1);
}
.float-phone-icon { width: 23px; height: 23px; display: block; fill: currentColor; }
.float-label { font-size: 13px; line-height: 1; font-weight: 800; }
.float-line { background: var(--line-green); }
.float-wa { background: var(--whatsapp-green); }
.float-messenger { background: var(--messenger-blue); }
.float-phone { background: var(--burgundy); }
@media (max-width: 1023px) {
  .contact-float {
    right: 12px; bottom: calc(var(--bar-h) + 12px);
    display: flex; gap: 8px;
  }
  .float-contact {
    min-width: 46px; width: 46px; min-height: 46px; height: 46px; padding: 3px;
  }
  .float-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ------------------------------- Buddy AI ------------------------------- */
.buddy-chat { position: fixed; left: 18px; bottom: 22px; z-index: 130; }
.buddy-launch {
  position: relative; display: inline-flex; align-items: center; gap: 7px; min-width: 190px; min-height: 76px;
  padding: 7px 20px 7px 78px; overflow: visible; border: 2px solid rgba(255,255,255,.92); border-radius: 24px;
  color: var(--white); background: linear-gradient(135deg, #5D0816 0%, var(--burgundy) 52%, var(--red) 100%);
  box-shadow: 0 18px 44px -12px rgba(92,7,18,.72), 0 0 0 5px rgba(227,27,47,.1);
  text-align: left; transition: transform .18s ease, box-shadow .18s ease;
}
.buddy-launch:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 24px 54px -12px rgba(92,7,18,.78), 0 0 0 7px rgba(227,27,47,.13); }
.buddy-launch:focus-visible { outline: 3px solid #FFD6DB; outline-offset: 4px; }
.buddy-avatar { position: absolute; left: -10px; bottom: -1px; width: 94px; height: 104px; overflow: hidden; pointer-events: none; filter: drop-shadow(0 7px 8px rgba(42,12,18,.28)); }
.buddy-avatar img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.buddy-launch-copy { display: grid; line-height: 1.15; }
.buddy-launch-copy small { margin-bottom: 4px; color: #FFD6DB; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.buddy-launch-copy strong { color: var(--white); font-size: 17px; font-weight: 900; white-space: nowrap; }
.buddy-live { position: absolute; right: 11px; top: 11px; width: 10px; height: 10px; border: 2px solid var(--white); border-radius: 50%; background: #41D87A; box-shadow: 0 0 0 0 rgba(65,216,122,.55); animation: buddy-pulse 2s infinite; }
@keyframes buddy-pulse { 0% { box-shadow: 0 0 0 0 rgba(65,216,122,.55); } 70% { box-shadow: 0 0 0 9px rgba(65,216,122,0); } 100% { box-shadow: 0 0 0 0 rgba(65,216,122,0); } }
.buddy-panel {
  position: absolute; left: 0; bottom: 92px; width: min(380px, calc(100vw - 36px)); max-height: min(650px, calc(100vh - 150px));
  max-width: calc(100vw - 24px); overflow: hidden; border: 1px solid var(--border); border-radius: 24px; background: var(--white);
  box-shadow: 0 28px 70px -25px rgba(35,27,28,.5);
}
.buddy-panel[hidden] { display: none; }
.buddy-head { display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 9px 14px 9px 10px; color: var(--white); background: linear-gradient(135deg, #5D0816, var(--burgundy)); }
.buddy-head-profile { display: grid; min-width: 0; grid-template-columns: 50px 9px minmax(0, auto); align-items: center; column-gap: 7px; }
.buddy-head-profile img { align-self: end; width: 50px; height: 60px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 4px 4px rgba(0,0,0,.18)); }
.buddy-head-profile > span:last-child { display: grid; min-width: 0; }
.buddy-head strong { font-size: 15px; }
.buddy-head small { opacity: .78; font-size: 11px; line-height: 1.3; }
.buddy-status { width: 9px; height: 9px; border-radius: 50%; background: #7EE787; box-shadow: 0 0 0 3px rgba(126,231,135,.15); }
.buddy-close { width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.12); font-size: 26px; line-height: 1; }
.buddy-back { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.1); font-size: 25px; font-weight: 700; line-height: 1; }
.buddy-back:hover,
.buddy-close:hover { background: rgba(255,255,255,.2); }
.buddy-back:focus-visible,
.buddy-close:focus-visible { outline: 3px solid #FFD6DB; outline-offset: 2px; }
.buddy-messages { min-height: 210px; max-height: 330px; overflow-y: auto; padding: 18px; background: #FFFDFC; }
.buddy-msg { display: flex; min-width: 0; margin-bottom: 12px; }
.buddy-msg span { min-width: 0; max-width: 88%; padding: 10px 13px; border-radius: 16px; overflow-wrap: anywhere; word-break: break-word; white-space: pre-wrap; font-size: 14px; line-height: 1.55; }
.buddy-msg--assistant span { border: 1px solid var(--border); border-bottom-left-radius: 5px; background: var(--white); }
.buddy-msg--user { justify-content: flex-end; }
.buddy-msg--user span { border-bottom-right-radius: 5px; color: var(--white); background: var(--burgundy); }
.buddy-msg--typing span { color: var(--ink-soft); font-style: italic; }
.buddy-quick { display: flex; min-width: 0; gap: 7px; overflow-x: auto; overscroll-behavior-x: contain; padding: 0 14px 12px; background: #FFFDFC; scrollbar-width: thin; }
.buddy-quick button { flex: 0 0 auto; min-width: 0; min-height: 38px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--burgundy); background: var(--white); font-size: 12.5px; font-weight: 700; }
.buddy-form { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) 42px; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--white); }
.buddy-form textarea { width: 100%; min-width: 0; max-height: 100px; resize: none; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 14px; font: inherit; font-size: 14px; line-height: 1.4; }
.buddy-form button { align-self: end; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--white); background: var(--red); font-size: 21px; font-weight: 900; }
.buddy-form button:disabled { opacity: .45; cursor: wait; }
.buddy-foot { display: flex; justify-content: space-between; gap: 12px; padding: 0 16px 14px; color: var(--ink-soft); background: var(--white); font-size: 10.5px; line-height: 1.35; }
.buddy-foot a { flex: 0 0 auto; color: var(--red); font-weight: 800; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
@media (max-width: 1023px) {
  .buddy-chat { left: 12px; bottom: calc(var(--bar-h) + 12px); }
  .buddy-launch { min-width: 160px; min-height: 66px; padding: 6px 15px 6px 66px; border-radius: 21px; }
  .buddy-avatar { left: -9px; width: 80px; height: 90px; }
  .buddy-launch-copy small { font-size: 9px; }
  .buddy-launch-copy strong { font-size: 15px; }
  .buddy-panel { position: fixed; left: 12px; right: auto; bottom: calc(var(--bar-h) + 92px); width: min(520px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - var(--bar-h) - 114px); max-height: calc(100dvh - var(--bar-h) - 114px); }
  .buddy-messages { max-height: calc(100vh - 350px); }
}
@media (max-width: 640px) {
  .buddy-chat { left: 10px; bottom: calc(var(--bar-h) + 10px); }
  .buddy-launch {
    justify-content: center; width: 78px; min-width: 78px; height: 74px; min-height: 74px; padding: 0;
    border-radius: 22px; box-shadow: 0 14px 34px -12px rgba(92,7,18,.72), 0 0 0 4px rgba(227,27,47,.1);
  }
  .buddy-launch:hover { transform: translateY(-2px); }
  .buddy-avatar { left: 5px; bottom: 8px; width: 68px; height: 76px; }
  .buddy-launch-copy {
    position: absolute; z-index: 1; right: 5px; bottom: 4px; left: 5px; display: block; padding: 2px 3px;
    border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(92,7,18,.88); text-align: center;
  }
  .buddy-launch-copy small { display: none; }
  .buddy-launch-copy strong { display: block; font-size: 11px; line-height: 1.25; }
  .buddy-live { top: 6px; right: 6px; width: 9px; height: 9px; }
  body.buddy-is-open { overflow: hidden; touch-action: none; }
  body.buddy-is-open .buddy-chat { z-index: 2140; inset: 0; }
  body.buddy-is-open .contact-float,
  body.buddy-is-open .bar,
  body.buddy-is-open .buddy-launch { opacity: 0; visibility: hidden; pointer-events: none; }
  .buddy-panel {
    z-index: 1; top: 0; right: 0; bottom: 0; left: 0;
    display: flex; width: auto; max-width: none; height: auto; max-height: none; flex-direction: column;
    border: 0; border-radius: 0; overscroll-behavior: contain;
    background: #FFFDFC; box-shadow: none;
  }
  .buddy-head {
    position: relative; z-index: 3; flex: 0 0 auto; display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; min-height: 66px;
    padding: max(8px, env(safe-area-inset-top)) 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 8px 24px rgba(92,7,18,.16);
  }
  .buddy-back { display: inline-grid; place-items: center; flex: 0 0 44px; }
  .buddy-head-profile { grid-template-columns: 42px 8px minmax(0, auto); column-gap: 6px; }
  .buddy-head-profile img { width: 42px; height: 50px; }
  .buddy-head strong { font-size: 15px; line-height: 1.25; }
  .buddy-head small { font-size: 11px; }
  .buddy-close { width: 44px; height: 44px; flex: 0 0 44px; }
  .buddy-messages {
    flex: 1 1 auto; min-height: 0; max-height: none; padding: 18px 14px 12px;
    overscroll-behavior: contain; background: linear-gradient(180deg, #FFF9F7 0%, #FFFDFC 46%, #FFFDFC 100%);
    -webkit-overflow-scrolling: touch;
  }
  .buddy-msg span { max-width: 92%; font-size: 14px; line-height: 1.5; }
  .buddy-quick { flex: 0 0 auto; flex-wrap: wrap; overflow-x: hidden; gap: 7px; padding: 8px 12px 11px; }
  .buddy-quick button { flex: 1 1 calc(50% - 7px); max-width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 14px; white-space: normal; line-height: 1.3; }
  .buddy-form { flex: 0 0 auto; grid-template-columns: minmax(0, 1fr) 48px; gap: 9px; padding: 11px 12px 8px; box-shadow: 0 -8px 24px rgba(53,28,31,.07); }
  .buddy-form textarea { max-height: 84px; font-size: 16px; }
  .buddy-form button { width: 48px; height: 48px; }
  .buddy-foot { flex: 0 0 auto; align-items: center; min-height: 34px; padding: 0 14px max(10px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .buddy-live { animation: none; } }

/* ------------------------------- Reveal ---------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------- Hero ------------------------------------ */
.hero { padding-top: 36px; padding-bottom: var(--gap-s); }
@media (min-width: 1024px) { .hero { padding-top: 72px; padding-bottom: var(--gap-l); } }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.06fr .94fr; align-items: center; gap: 56px; } }
.hero h1 .l2 { display: block; color: var(--red); }
.hero-acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.hero-vis { position: relative; }
.portrait {
  position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--burgundy) 0%, var(--red) 78%);
}
.portrait .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 30px; color: rgba(255,249,245,.92);
  font-size: 13.5px; line-height: 1.65;
}
.portrait .ph b { font-size: 15.5px; margin-bottom: 8px; display: block; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Real advisor photography */
.photo-frame { position: relative; isolation: isolate; }
.photo-frame::before {
  content: ""; position: absolute; z-index: -1; border-radius: var(--r-l);
  background: linear-gradient(145deg, var(--burgundy), var(--red));
}
.photo-frame--hero { max-width: 480px; margin-left: auto; }
.photo-frame--hero::before { inset: 26px -18px -18px 30%; }
.hero-photo {
  border: 1px solid rgba(92,7,18,.12); background: #d4cfcb;
  box-shadow: 0 30px 60px -36px rgba(92,7,18,.72);
}
.hero-photo img { object-position: 52% 32%; }
.about-photo-wrap { max-width: 460px; margin: 0 auto; padding: 0 12px 18px 0; }
.photo-frame--about::before { inset: 24px -18px -18px 36%; }
.about-photo {
  border: 1px solid rgba(92,7,18,.12); background: #d4cfcb;
  box-shadow: var(--shadow-lift);
}
.about-photo img { object-position: 52% 30%; }
@media (max-width: 767px) {
  .photo-frame--hero { margin-right: 10px; }
  .photo-frame--hero::before,
  .photo-frame--about::before { right: -10px; bottom: -10px; }
}

/* Deliberate brand artwork used until a verified real portrait is supplied. */
.clarity-card {
  position: relative; isolation: isolate; aspect-ratio: 4/5; overflow: hidden;
  border-radius: var(--r-l); padding: 34px 30px; color: var(--white);
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.18) 0 14%, transparent 14.5%),
    linear-gradient(155deg, var(--burgundy) 0%, #8C0F20 52%, var(--red) 100%);
  box-shadow: 0 30px 60px -36px rgba(92,7,18,.7);
}
.clarity-card::before {
  content: ""; position: absolute; z-index: -1; width: 68%; aspect-ratio: 1;
  right: -24%; bottom: -8%; border: 1px solid rgba(255,255,255,.32); border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.045), 0 0 0 68px rgba(255,255,255,.035);
}
.clarity-card::after {
  content: ""; position: absolute; z-index: -1; inset: 23% -18% auto 38%; height: 38%;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; transform: rotate(-28deg);
}
.clarity-brand {
  display: inline-flex; padding: 7px 12px; border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px; font-family: var(--font-en); font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.clarity-card strong {
  display: block; max-width: 9em; margin-top: 48px; font-size: clamp(28px, 4.3vw, 46px);
  line-height: 1.18; letter-spacing: -.03em;
}
.clarity-card strong em { display: block; color: #FFD7DB; font-style: normal; }
.clarity-path { display: flex; align-items: center; gap: 0; margin-top: 42px; }
.clarity-path i { width: 11px; height: 11px; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; position: relative; }
.clarity-path i + i { margin-left: 27%; }
.clarity-path i:not(:last-child)::after {
  content: ""; position: absolute; left: 9px; top: 3px; width: calc(27vw - 4px); max-width: 116px;
  border-top: 1px dashed rgba(255,255,255,.48);
}
.clarity-terms { position: absolute; left: 30px; right: 30px; bottom: 30px; display: grid; gap: 8px; }
.clarity-terms span {
  display: flex; align-items: center; min-height: 38px; padding: 7px 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px);
}
.advisor-card {
  position: relative; min-height: 420px; overflow: hidden; border-radius: var(--r-l); padding: 34px;
  background: linear-gradient(145deg, var(--burgundy), var(--red)); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-lift);
}
.advisor-card::before {
  content: ""; position: absolute; width: 270px; height: 270px; top: -78px; right: -70px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.05), 0 0 0 68px rgba(255,255,255,.035);
}
.advisor-monogram {
  position: absolute; top: 34px; left: 34px; font-family: var(--font-en); font-size: 52px;
  line-height: 1; font-weight: 800; letter-spacing: -.06em; color: rgba(255,255,255,.9);
}
.advisor-card p { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #FFD7DB; }
.advisor-card strong { display: block; margin-top: 10px; font-size: 30px; line-height: 1.25; }
.advisor-card small { margin-top: 14px; font-family: var(--font-en); font-weight: 700; color: rgba(255,255,255,.7); }

/* Signature annotation notes */
.annote {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-s);
  box-shadow: var(--shadow-card); padding: 13px 15px; font-size: 13px; line-height: 1.55;
}
.annote b { display: block; font-weight: 800; color: var(--burgundy); font-size: 13px; margin-bottom: 3px; }
@media (min-width: 1024px) {
  .annote { position: absolute; max-width: 196px; }
  .annote::before {
    content: ""; position: absolute; width: 26px; height: 1px; background: var(--border-strong);
  }
  .annote-a { top: -18px; right: -28px; }
  .annote-a::before { left: -26px; top: 50%; }
  .annote-b { bottom: 12%; left: -36px; }
  .annote-b::before { right: -26px; top: 50%; }
}
@media (max-width: 1023px) {
  .annote-wrap { display: grid; gap: 10px; margin-top: 14px; }
}

/* ------------------------------- Journey paths --------------------------- */
.paths { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 768px) { .paths { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.path {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-m);
  padding: 24px 22px; display: flex; flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.path:hover { border-color: var(--red); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.path h3 { margin-bottom: 8px; }
.path p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.path .tlink { margin-top: 12px; font-size: 14.5px; }

/* ------------------------------- Trust ----------------------------------- */
.trust {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-l);
  display: grid; overflow: hidden;
}
@media (min-width: 768px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust-i { padding: 24px 22px; border-bottom: 1px solid var(--border); }
.trust > .trust-i:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .trust-i { border-bottom: none; border-right: 1px solid var(--border); }
  .trust > .trust-i:last-child { border-right: none; }
}
.trust-i b { display: block; color: var(--red); font-size: 16px; margin-bottom: 8px; }
.trust-i p { color: var(--ink-soft); font-size: 14.5px; }

/* ------------------------------- Benefits -------------------------------- */
.bens { display: grid; margin-top: 36px; }
.ben { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 24px 0; border-top: 1px solid var(--border); }
.bens .ben:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) {
  .bens { grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 56px; }
  .ben { grid-template-columns: 1fr; padding: 0; border-top: none; }
  .bens .ben:last-child { border-bottom: none; }
  .bens .ben + .ben { border-left: 1px solid var(--border); padding-left: 36px; }
}
.ben .n { font-family: var(--font-en); font-weight: 800; font-size: 26px; color: var(--border-strong); }
@media (min-width: 1024px) { .ben .n { font-size: 32px; color: var(--red); margin-bottom: 14px; display: block; } }
.ben h3 { margin-bottom: 8px; }
.ben p { color: var(--ink-soft); font-size: 15px; }

/* ------------------------------- Coverage check -------------------------- */
.check {
  background: var(--burgundy); color: var(--warm-white); border-radius: var(--r-l);
  padding: 32px 22px; position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .check { padding: 56px; } }
.check .eyebrow { color: #F5A9B0; }
.check h2 { color: var(--white); }
.check .lede { color: rgba(255,249,245,.76); font-size: 15.5px; }
.check-inner { max-width: 620px; }
.check-stage { margin-top: 28px; }
.q-meta {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-en);
  font-size: 13px; font-weight: 700; color: rgba(255,249,245,.62); margin-bottom: 14px;
}
.q-track { flex: 1; height: 3px; background: rgba(255,249,245,.2); border-radius: 999px; overflow: hidden; }
.q-fill { display: block; height: 100%; background: #F5A9B0; border-radius: 999px; transition: width .3s ease; }
.q-text { font-size: 20px; font-weight: 800; color: var(--white); line-height: 1.3; }
@media (min-width: 1024px) { .q-text { font-size: 24px; } }
.q-why { font-size: 13.5px; color: rgba(255,249,245,.62); margin-top: 8px; }
.q-opts { display: grid; gap: 10px; margin-top: 20px; }
.q-opt {
  display: flex; align-items: center; text-align: left; min-height: 56px; padding: 12px 18px;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,249,245,.24);
  border-radius: var(--r-m); color: var(--warm-white); font-size: 15.5px; font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}
.q-opt:hover { background: rgba(255,255,255,.15); border-color: rgba(255,249,245,.6); }
.check-nav { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.check-nav button {
  background: none; border: none; color: rgba(255,249,245,.72); font-weight: 700;
  font-size: 14.5px; min-height: 44px; padding: 0 4px;
}
.check-nav button:hover { color: var(--white); }
.res-list { display: grid; gap: 12px; margin-top: 20px; }
.res-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,249,245,.2); border-radius: var(--r-m); padding: 20px; }
.res-card h4 { color: var(--white); font-size: 17px; margin-bottom: 6px; }
.res-card p { color: rgba(255,249,245,.76); font-size: 14.5px; }
.res-card a { display: inline-flex; min-height: 44px; align-items: center; color: #F5A9B0; font-weight: 700; font-size: 14px; }
.res-note { font-size: 12.5px; color: rgba(255,249,245,.55); margin-top: 18px; line-height: 1.6; }
.res-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.res-acts .btn-outline { border-color: rgba(255,249,245,.45); color: var(--white); }

/* ------------------------------- Services -------------------------------- */
.svc-scroll {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 32px calc(var(--pad-mobile) * -1) 0; padding: 4px var(--pad-mobile) 14px;
  scrollbar-width: none;
}
.svc-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .svc-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; overflow: visible; margin: 44px 0 0; padding: 0; }
}
.svc {
  scroll-snap-align: start; flex: 0 0 76%; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-m); padding: 26px 22px; display: flex; flex-direction: column; min-height: 218px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
@media (min-width: 520px) { .svc { flex-basis: 58%; } }
@media (min-width: 1024px) { .svc { flex: initial; } .svc:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); border-color: var(--border-strong); } }
.svc .tag {
  font-family: var(--font-en); font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.svc h3 { margin-bottom: 9px; }
.svc p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.svc .tlink { font-size: 14px; margin-top: 12px; }

/* ------------------------------- Timeline -------------------------------- */
.tl { margin-top: 40px; }
.tl-list { display: flex; flex-direction: column; }
.tl-step { display: grid; grid-template-columns: 34px 1fr; gap: 18px; position: relative; padding-bottom: 30px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step .dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-en);
  font-weight: 800; font-size: 14px; z-index: 1;
}
.tl-step:not(:last-child)::before {
  content: ""; position: absolute; left: 16px; top: 34px; bottom: -4px; width: 2px; background: var(--border);
}
.tl-step h3 { font-size: 17px; margin-bottom: 4px; }
.tl-step p { color: var(--ink-soft); font-size: 14.5px; }
@media (min-width: 1024px) {
  .tl-list { flex-direction: row; }
  .tl-step { grid-template-columns: 1fr; padding: 0 22px 0 0; align-content: start; }
  .tl-step .dot { margin-bottom: 16px; }
  .tl-step:not(:last-child)::before { left: 34px; top: 16px; bottom: auto; right: 4px; width: auto; height: 2px; }
}

/* ------------------------------- Split panel ----------------------------- */
.split {
  display: grid; gap: 28px; background: var(--burgundy); color: var(--warm-white);
  border-radius: var(--r-l); padding: 36px 24px;
}
@media (min-width: 1024px) { .split { grid-template-columns: .92fr 1.08fr; padding: 64px; gap: 56px; align-items: center; } }
.split .eyebrow { color: #F5A9B0; }
.split h2 { color: var(--white); }
.split .lede { color: rgba(255,249,245,.8); }
.split .btn { margin-top: 24px; }

/* ------------------------------- Testimonials ---------------------------- */
.testi-note {
  font-size: 13px; color: var(--ink-soft); background: var(--white);
  border: 1px dashed var(--border-strong); border-radius: var(--r-s); padding: 11px 15px; margin-top: 20px;
}
.testi-scroll {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 20px calc(var(--pad-mobile) * -1) 0; padding: 4px var(--pad-mobile) 12px; scrollbar-width: none;
}
.testi-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .testi-scroll { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; overflow: visible; margin: 24px 0 0; padding: 0; } }
.testi {
  scroll-snap-align: start; flex: 0 0 80%; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-m); padding: 24px;
}
@media (min-width: 520px) { .testi { flex-basis: 60%; } }
.testi .flag {
  display: inline-block; font-family: var(--font-en); font-size: 11px; font-weight: 700;
  color: var(--red); border: 1px solid var(--red); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px;
}
.testi .q { font-size: 15px; margin-bottom: 14px; }
.testi .who { font-size: 12.5px; color: var(--ink-soft); font-weight: 700; }

/* ------------------------------- Article cards --------------------------- */
.arts { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .arts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .arts { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.art {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-m);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.art:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.art .thumb {
  aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(140deg, #FDF3EE, #EFE2DB);
  display: flex; align-items: flex-end; padding: 16px; position: relative;
}
.art .thumb::after {
  content: ""; position: absolute; width: 64%; aspect-ratio: 1; right: -17%; top: -30%;
  border: 1px solid rgba(92,7,18,.17); border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(227,27,47,.045), 0 0 0 44px rgba(92,7,18,.035);
}
.art .thumb .thumb-mark {
  position: relative; z-index: 1; font-family: var(--font-en); font-size: 22px; font-weight: 800;
  color: var(--burgundy); letter-spacing: -.04em;
}
.art .thumb i {
  position: absolute; left: 16px; top: 16px; width: 42%; height: 1px; background: rgba(92,7,18,.18);
  box-shadow: 0 9px 0 rgba(227,27,47,.15), 0 18px 0 rgba(92,7,18,.1);
}
.art .thumb { padding: 0; background: #e9e1dc; }
.art .thumb::after { display: none; }
.art .thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.art:hover .thumb img { transform: scale(1.025); }
.art .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.art .meta {
  display: flex; gap: 8px; align-items: center; font-family: var(--font-en); font-size: 11.5px;
  font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
  flex-wrap: wrap;
}
.art .meta .sep { color: var(--border-strong); }
.art h3 { margin-bottom: 8px; font-size: 17px; }
.art .desc { color: var(--ink-soft); font-size: 14px; flex: 1; margin-bottom: 14px; }
.art .foot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ink-soft); gap: 10px; }
.art-feat { display: grid; }
@media (min-width: 768px) { .art-feat { grid-template-columns: 1.05fr 1fr; } }
.art-feat .thumb { aspect-ratio: auto; min-height: 210px; height: 100%; }
.art-feat .body { padding: 28px; }
@media (min-width: 1024px) { .art-feat .body { padding: 40px; } }
.art-feat h2 { font-size: 23px; margin-bottom: 10px; }
@media (min-width: 1024px) { .art-feat h2 { font-size: 27px; } }

/* Filters */
.filters {
  display: flex; gap: 8px; overflow-x: auto; margin: 22px calc(var(--pad-mobile) * -1) 0;
  padding: 4px var(--pad-mobile) 10px; scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .filters { flex-wrap: wrap; margin: 22px 0 0; padding: 0; } }
.chip {
  flex: 0 0 auto; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--border-strong); background: var(--white);
  font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.on { background: var(--red); border-color: var(--red); color: var(--white); }
.searchbar { margin-top: 28px; }
.searchbar input {
  width: 100%; min-height: 54px; border: 1.5px solid var(--border-strong); border-radius: var(--r-m);
  padding: 0 18px; font-size: 16px; font-family: inherit; background: var(--white); color: var(--ink);
}
.searchbar input:focus { border-color: var(--red); }

/* ------------------------------- Accordion ------------------------------- */
.acc { border-top: 1px solid var(--border); margin-top: 28px; }
.acc-i { border-bottom: 1px solid var(--border); }
.acc-t {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; text-align: left; padding: 20px 2px; min-height: 60px;
  font-weight: 700; font-size: 16px; color: var(--ink); font-family: inherit;
}
.acc-t:hover { color: var(--red); }
.acc-t .ic { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.acc-t .ic::before, .acc-t .ic::after {
  content: ""; position: absolute; background: var(--red); top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.acc-t .ic::before { width: 14px; height: 2px; }
.acc-t .ic::after { width: 2px; height: 14px; transition: transform .2s ease; }
.acc-i.open .acc-t .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.acc-p { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.acc-p .in { padding: 0 2px 22px; color: var(--ink-soft); font-size: 15px; max-width: 720px; }

/* ------------------------------- Panels / service detail ----------------- */
.panelbox {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-l); padding: 28px 22px;
}
@media (min-width: 1024px) { .panelbox { padding: 48px; } }
.panelbox--dashed { border-style: dashed; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 11.5px;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--burgundy);
  background: var(--warm-white); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 13px; margin-bottom: 14px;
}
.svc-detail { display: grid; gap: 6px; margin-top: 28px; }
@media (min-width: 900px) { .svc-detail { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.svc-detail .row { padding-top: 18px; border-top: 1px solid var(--border); }
.svc-detail .row b { display: block; font-size: 13px; color: var(--red); letter-spacing: .02em; margin-bottom: 7px; }
.svc-detail .row p { color: var(--ink-soft); font-size: 14.5px; }

.dual { display: grid; gap: 18px; }
@media (min-width: 900px) { .dual { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ticklist { display: grid; gap: 12px; margin-top: 18px; }
.ticklist li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 15px; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--red);
}

/* ------------------------------- Final CTA ------------------------------- */
.final {
  background: var(--red); color: var(--white); border-radius: var(--r-l); padding: 38px 24px;
}
@media (min-width: 1024px) { .final { padding: 72px; text-align: center; } }
.final h2 { color: var(--white); }
.final p { color: rgba(255,255,255,.88); margin-top: 14px; max-width: 580px; font-size: 16.5px; }
@media (min-width: 1024px) { .final p { margin-left: auto; margin-right: auto; } }
.final-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 1024px) { .final-acts { justify-content: center; } }
.final .btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.final .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }

/* ------------------------------- Forms ----------------------------------- */
.field { margin-bottom: 20px; }
.field > label, .field .lbl { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.field .req { color: var(--red); }
.field .opt { color: var(--ink-soft); font-weight: 400; font-size: 13px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; min-height: 54px; border: 1.5px solid var(--border-strong); border-radius: var(--r-m);
  padding: 0 16px; font-size: 16px; font-family: inherit; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 118px; padding: 15px 16px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field .hint { font-size: 13px; color: var(--ink-soft); margin-top: 7px; }
.field .err { color: var(--red-dark); font-size: 13px; margin-top: 7px; display: none; font-weight: 600; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red-dark); }
.field.bad .err { display: block; }
.chips { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media (min-width: 640px) { .chips { grid-template-columns: repeat(4,1fr); } }
.cbox { position: relative; }
.cbox input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.cbox span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-m); font-size: 14px; font-weight: 600; padding: 8px;
}
.cbox input:checked + span { border-color: var(--red); background: var(--red-tint); color: var(--red-dark); }
.cbox input:focus-visible + span { outline: 3px solid var(--burgundy); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; accent-color: var(--red); }
.consent label { font-weight: 400; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.success {
  display: none; background: #F1FBF4; border: 1px solid var(--line-green); border-radius: var(--r-l); padding: 28px;
}
.success.on { display: block; }
.success h3 { margin-bottom: 10px; }
.success p { color: var(--ink-soft); font-size: 15px; }
.message-summary {
  margin: 20px 0 0; padding: 18px; white-space: pre-wrap; overflow-wrap: anywhere;
  border: 1px solid #B8DCC3; border-radius: var(--r-m); background: var(--white);
  color: var(--ink); font: 14px/1.7 var(--font-body);
}
.prefill-note {
  font-size: 13px; color: var(--burgundy); background: var(--red-tint); border-radius: var(--r-s);
  padding: 10px 14px; margin-bottom: 18px; display: none;
}
.prefill-note.on { display: block; }

/* ------------------------------- Contact methods ------------------------- */
.methods { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .methods { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .methods { grid-template-columns: repeat(4,1fr); } }
.method {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-m);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 8px;
}
.method b { font-size: 16px; }
.method .sub { font-size: 13.5px; color: var(--ink-soft); }
.method .val { font-size: 13px; color: var(--ink-soft); font-family: var(--font-en); word-break: break-word; }
.method .btn { margin-top: auto; }
.method.m-line b { color: var(--line-green); }
.method.m-wa b { color: var(--whatsapp-green); }

/* ------------------------------- Footer ---------------------------------- */
.ftr { background: var(--burgundy); color: rgba(255,249,245,.82); padding: 56px 0 28px; margin-top: var(--gap-s); }
@media (min-width: 1024px) { .ftr { margin-top: var(--gap-l); } }
.ftr-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; } }
.ftr h4 { color: var(--white); font-size: 13.5px; margin-bottom: 14px; letter-spacing: .02em; }
.ftr li { margin-bottom: 10px; }
.ftr a { font-size: 14px; }
.ftr a:hover { color: var(--white); }
.ftr-logo { font-family: var(--font-en); font-weight: 800; font-size: 21px; color: var(--white); margin-bottom: 10px; }
.ftr-state { font-size: 14px; max-width: 320px; }
.ftr-disc {
  border-top: 1px solid rgba(255,249,245,.16); margin-top: 40px; padding-top: 22px;
  font-size: 12.5px; line-height: 1.7; color: rgba(255,249,245,.58); max-width: 900px;
}
.ftr-bot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px;
  font-size: 12.5px; color: rgba(255,249,245,.5);
}
.ftr-bot ul { display: flex; flex-wrap: wrap; gap: 16px; }

/* ------------------------------- Breadcrumb ------------------------------ */
.crumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.crumb a:hover { color: var(--red); }
.crumb .s { margin: 0 7px; color: var(--border-strong); }

.center { text-align: center; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.stack-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
