/* ==========================================================
   Neo Trail — styles
   ========================================================== */

:root {
  /* Palette modelled on lepassagetoindia.com: white, blue, navy, cool grey */
  --ink: #1a1e39;          /* headings, dark text */
  --ink-2: #0a2357;        /* navy */
  --ivory: #ffffff;        /* page background */
  --sand: #f0f3f7;         /* alternate section background */
  --paper: #ffffff;        /* cards */
  --brand: #0077b8;        /* primary blue (buttons, footer) - white text 4.85:1 */
  --brand-light: #7fc4ec;  /* accent on navy - 7.9:1 */
  --brand-deep: #006aa6;   /* small blue text / hover - 5.2:1 on grey */
  --dark-bg: linear-gradient(160deg, #0a2357 0%, #071a42 100%);
  --text: #1a1e39;
  --muted: #5f6874;        /* 4.9:1 on grey sections */
  --line: rgba(26, 30, 57, .12);
  --line-light: rgba(255, 255, 255, .18);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(10, 35, 87, .35);
  --shadow-sm: 0 6px 20px -10px rgba(10, 35, 87, .3);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: inherit; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.35rem; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--brand); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.logo img { height: 60px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .logo img { height: 50px; }
.footer-tagline {
  margin: 12px 0 0; font-size: .7rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: #d6ecf9;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.2em; font-size: .88rem; }
.btn-saffron { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 119, 184, .8); }
.btn-saffron:hover { background: var(--brand-deep); }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-block { width: 100%; }
.link-btn {
  background: none; border: 0; padding: 0;
  color: var(--brand-deep); font-weight: 600; font-size: .95rem;
  border-bottom: 1px solid currentColor;
  min-height: 36px;
  transition: color .2s, letter-spacing .25s var(--ease);
}
.link-btn:hover { color: var(--brand); letter-spacing: .02em; }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 1.1em;
}
.eyebrow-line { width: 32px; height: 1.5px; background: currentColor; display: inline-block; }
.eyebrow-light { color: var(--brand-light); }

.section { padding: clamp(56px, 7.5vw, 96px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4.5vw, 48px); }
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 620px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  padding: 10px 0;
  box-shadow: 0 10px 30px -20px rgba(10, 35, 87, .35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: .86rem; }
  .logo img { height: 50px; }
}
.nav a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 600;
  position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { color: var(--brand-deep); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero (full-bleed slideshow) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 130px 0 0;
  background: var(--sand);
  color: var(--ink);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; margin: 0; }
/* Classic push slider: the new photo slides in from the right edge while the
   current one slides out to the left (reversed when going backwards). */
.hero-slide {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  transform: translateX(100%); z-index: 0;
}
/* only the two photos that are moving animate; parked ones reposition instantly off-screen */
.hero-slide.is-active, .hero-slide.is-leaving { transition: transform 1.6s cubic-bezier(.5, 0, .2, 1); }
.slide-media { position: absolute; inset: 0; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero-slide.is-active { transform: none; z-index: 2; }
.hero-slide.is-active img { animation: heroZoom 10s ease-out both; }
.hero-slide.is-leaving { transform: translateX(-100%); z-index: 1; }
.hero-slides.is-reverse .hero-slide:not(.is-active):not(.is-leaving) { transform: translateX(-100%); }
.hero-slides.is-reverse .hero-slide.is-leaving { transform: translateX(100%); }
.hero-slide.no-trans { transition: none !important; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero-wash {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 18%),
    linear-gradient(90deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .8) 30%, rgba(255, 255, 255, .3) 46%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(0deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 20%);
}
.hero-content { position: relative; flex: 1; display: flex; align-items: center; padding-bottom: 40px; }
.hero-copy { flex: 1; min-width: 0; max-width: 600px; }
@keyframes copyIn { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
.hero-copy > .eyebrow, .hero-copy > .hero-title, .hero-copy > .hero-lead, .hero-copy > .hero-trust {
  transition: opacity .5s ease, transform .5s ease;
}
.hero-copy.text-out > .eyebrow, .hero-copy.text-out > .hero-title,
.hero-copy.text-out > .hero-lead, .hero-copy.text-out > .hero-trust { opacity: 0; transform: translateX(18px); }
.hero-copy.text-in > .eyebrow    { animation: copyIn 1.1s cubic-bezier(.22, 1, .36, 1) both; }
.hero-copy.text-in > .hero-title { animation: copyIn 1.1s cubic-bezier(.22, 1, .36, 1) .12s both; }
.hero-copy.text-in > .hero-lead  { animation: copyIn 1.1s cubic-bezier(.22, 1, .36, 1) .24s both; }
.hero-copy.text-in > .hero-trust { animation: copyIn 1.1s cubic-bezier(.22, 1, .36, 1) .36s both; }
/* the planning box only animates on first load, so it never moves while someone is using it */
.hero-copy.is-first > .quick-plan { animation: copyIn 1.1s cubic-bezier(.22, 1, .36, 1) .3s both; }
.hero .eyebrow { color: var(--brand-deep); }
.hero-title {
  font-size: clamp(2.6rem, 5.8vw, 4.9rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: .4em;
  color: var(--ink);
}
.hero-title em { color: var(--ink); font-weight: 300; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator-word {
  grid-area: 1 / 1;
  font-style: italic; color: var(--brand); font-weight: 500;
  opacity: 0;
  white-space: nowrap;
}
.rotator-word.is-active { opacity: 1; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: #3a4152; max-width: 540px; margin-bottom: 1.8rem; }

.quick-plan {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 6px; align-items: stretch;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(10, 35, 87, .08);
  border-radius: 20px;
  padding: 6px;
  max-width: 600px;
  box-shadow: 0 24px 50px -28px rgba(10, 35, 87, .45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.qp-field { min-width: 0; display: flex; flex-direction: column; padding: 8px 16px; border-radius: 14px; transition: background .2s; }
.qp-field:hover, .qp-field:focus-within { background: rgba(240, 243, 247, .55); }
.qp-field span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-deep); font-weight: 700; }
.qp-field select, .qp-field input {
  background: transparent; border: 0; color: var(--ink); font: inherit; font-size: .95rem; padding: 2px 0; outline: none;
  color-scheme: light; min-width: 0; min-height: 36px; width: 100%;
}
.quick-plan .btn { border-radius: 14px; }

.hero-trust { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; gap: 28px; flex-wrap: wrap; color: #4a5262; font-size: .9rem; }
.hero-trust strong { color: var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-right: .25em; }

/* slide controls */
.hero-controls { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.hero-tabs { display: flex; gap: 10px; }
.hero-tab {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: baseline; text-align: left;
  width: 132px; padding: 10px 12px 12px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .55); color: var(--ink-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, transform .3s var(--ease);
}
.hero-tab:hover { background: rgba(255, 255, 255, .85); transform: translateY(-2px); }
.hero-tab.is-active { background: #fff; box-shadow: 0 14px 30px -18px rgba(10, 35, 87, .5); }
.ht-no { font-family: var(--serif); font-size: .8rem; color: var(--brand-deep); }
.ht-name { font-weight: 700; font-size: .85rem; }
.ht-bar { grid-column: 1 / -1; height: 2px; background: rgba(10, 35, 87, .12); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.ht-bar i { display: block; height: 100%; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-active .ht-bar i { animation: heroProgress var(--hero-delay, 6.5s) linear forwards; }
.hero.is-paused .hero-tab.is-active .ht-bar i { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero-nav { display: flex; align-items: center; gap: 10px; }
.hero-caption {
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55); margin-right: 8px; white-space: nowrap;
}
.round-btn.round-btn-light { background: rgba(255, 255, 255, .85); border-color: transparent; color: var(--ink); }
.round-btn.round-btn-light:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.marquee { overflow: hidden; padding: 18px 0; background: var(--sand); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 50s linear infinite; align-items: center; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-2); white-space: nowrap; }
.marquee-track i { color: var(--brand); font-style: normal; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-card { background: var(--ivory); padding: 32px 30px; transition: background .3s; }
.why-card:hover { background: var(--paper); }
.why-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.why-icon {
  width: 54px; height: 54px; border-radius: 16px 16px 6px 6px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(0, 119, 184, .14), rgba(127, 196, 236, .06));
  border: 1px solid rgba(0, 119, 184, .25);
  transition: transform .4s var(--ease);
}
.why-card:hover .why-icon { transform: translateY(-4px) rotate(-4deg); }
.why-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Destinations ---------- */
.destinations { background: var(--sand); }
.tabs {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px;
  background: rgba(255, 255, 255, .5); padding: 6px; border-radius: 999px; width: fit-content; max-width: 100%;
  border: 1px solid var(--line);
}
.tab {
  border: 0; background: transparent; padding: .7em 1.4em; border-radius: 999px; font-weight: 600; color: var(--muted);
  transition: background .25s, color .25s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: var(--ivory); }
.panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--paper); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.panel.is-active { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel-media { position: relative; min-height: 460px; }
.panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-chip {
  position: absolute; left: 20px; top: 20px; background: rgba(10, 35, 87, .75); color: var(--ivory);
  font-size: .78rem; font-weight: 600; padding: 7px 14px; border-radius: 99px; backdrop-filter: blur(6px);
}
.panel-body { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.panel-kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-deep); font-weight: 700; margin-bottom: .6em; }
.panel-body h3 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; margin-bottom: .35em; }
.panel-body > p { color: var(--muted); }
.panel-body .btn { align-self: flex-start; margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; font-size: .96rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}

/* ---------- Regions scroller ---------- */
.regions { padding-bottom: clamp(56px, 7vw, 84px); }
.scroller-ctrl { display: flex; gap: 10px; }
.round-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; font-size: 1.1rem;
  transition: background .25s, color .25s, border-color .25s;
}
.round-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 310px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 24px;
  scroll-padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
/* endless auto-glide (set up by main.js) */
.scroller.is-looping {
  scroll-snap-type: none; scroll-behavior: auto;
  padding-left: 0; padding-right: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.region-card {
  scroll-snap-align: start; position: relative; aspect-ratio: 3 / 4.2;
  border-radius: 200px 200px 18px 18px; overflow: hidden; box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.region-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -2; }
.region-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 35, 87, .88)); z-index: -1; }
.region-card:hover img { transform: scale(1.08); }
.region-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: var(--ivory); }
.region-info span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-light); font-weight: 700; }
.region-info h3 { margin: 6px 0 4px; font-size: 1.35rem; }
.region-info p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .78); }

/* ---------- Journeys ---------- */
.journeys { background: var(--sand); }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.journey {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.journey:hover { transform: translateY(-6px); border-color: rgba(0, 119, 184, .45); box-shadow: var(--shadow); }
.journey-img { aspect-ratio: 16 / 11; overflow: hidden; }
.journey-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.journey:hover .journey-img img { transform: scale(1.06); }
.journey-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.journey-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.journey-body .link-btn { align-self: flex-start; }
.journey-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.journey-meta span {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; color: var(--muted);
}
.journey-meta span:first-child { background: rgba(0, 119, 184, .12); border-color: transparent; color: var(--brand-deep); }

/* ---------- Experiences ---------- */
.experiences { background: var(--dark-bg); color: #fff; }
.experiences .section-lead { color: rgba(255, 255, 255, .75); }
.experiences h2 em { color: var(--brand-light); }
.exp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.exp-card {
  position: relative; isolation: isolate; overflow: hidden; display: block; width: 100%;
  aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 16px; cursor: pointer;
  text-align: left; color: #fff; background: var(--ink-2);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.exp-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 66, 0) 40%, rgba(7, 26, 66, .9) 100%); }
.exp-card:hover, .exp-card:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .8); }
.exp-card:hover img, .exp-card:focus-visible img { transform: scale(1.07); }
.exp-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.exp-title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.exp-desc { font-size: .8rem; line-height: 1.4; color: rgba(255, 255, 255, .82); }
.exp-cta {
  font-size: .78rem; font-weight: 700; color: var(--brand-light);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--ease), opacity .35s, margin .35s;
}
.exp-card:hover .exp-cta, .exp-card:focus-visible .exp-cta { max-height: 24px; opacity: 1; margin-top: 4px; }
@media (hover: none) { .exp-cta { max-height: 24px; opacity: 1; margin-top: 4px; } }
@media (max-width: 1080px) { .exp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .exp-info { padding: 12px; } .exp-title { font-size: 1rem; } }

/* ---------- Essentials ---------- */
.essentials { background: var(--sand); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.ess-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.ess-table th, .ess-table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ess-table thead th { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: rgba(240, 243, 247, .5); }
.ess-table tbody th { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.ess-table tbody tr:last-child > * { border-bottom: 0; }
.ess-table tbody tr { transition: background .2s; }
.ess-table tbody tr:hover { background: rgba(0, 119, 184, .05); }
.tips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tip { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.tip h3 { font-size: 1.15rem; }
.tip p { margin: 0; color: var(--muted); font-size: .93rem; }


/* ---------- Enquiry ---------- */
.enquire {
  background: var(--dark-bg);
  color: var(--ivory);
}
.enquire-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.enquire-grid > *, .faq-grid > * { min-width: 0; }
.enquire-aside { position: sticky; top: 110px; }
.enquire-aside h2 em { color: var(--brand-light); }
.enquire .eyebrow { color: var(--brand-light); }
.enquire-aside > p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.aside-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.aside-list li { padding-left: 30px; position: relative; }
.aside-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .7rem; display: grid; place-items: center; font-weight: 700;
}
.aside-contact { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .95rem; }
.aside-contact span { color: rgba(255, 255, 255, .6); width: 100%; }
.aside-contact a { color: var(--brand-light); font-weight: 600; display: inline-block; padding: 8px 0; }

.form-card { background: var(--paper); color: var(--text); border-radius: 26px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
abbr[title] { text-decoration: none; color: var(--brand); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.field + .field { margin-top: 0; }
form > .field { margin-bottom: 20px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; color: var(--text);
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 119, 184, .14); }
.field input.is-invalid { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .1); }

/* simplified enquiry form */
.ef-head { text-align: center; margin-bottom: 24px; }
.ef-head h3 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); margin-bottom: .25em; }
.ef-head p { color: var(--muted); margin: 0; }
.ef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.ef-grid > * { min-width: 0; }
.ef-full { grid-column: 1 / -1; }
.input-icon { position: relative; }
.input-icon svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px;
  fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
  transition: stroke .2s;
}
.input-icon input { padding-left: 42px; }
.input-icon:focus-within svg { stroke: var(--brand); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6874' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input:not([type="date"]):placeholder-shown, .field textarea:placeholder-shown { text-overflow: ellipsis; }
.ef-submit { gap: .4em; }
.ef-chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.ef-submit:hover .ef-chev { transform: translateX(4px); }
.ef-submit.is-loading .ef-chev { display: none; }
.field label .opt { font-weight: 500; opacity: .8; }
.field input[type="month"] { color-scheme: light; min-height: 48px; }
.ef-note { text-align: center; font-size: .84rem; color: var(--muted); margin: 12px 0 0; line-height: 1.55; }


.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

#submitBtn { position: relative; padding: 1.1em 1.6em; font-size: 1rem; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
#submitBtn.is-loading .spinner { display: inline-block; }
#submitBtn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 14px 0 0; font-size: .92rem; text-align: center; min-height: 1.4em; }
.form-status.is-error { color: #c0392b; }
.form-status a { color: var(--brand-deep); font-weight: 600; }


/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500; transition: color .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--brand-deep); }
.accordion summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; font-family: var(--sans); font-size: 1.1rem; transition: transform .3s, background .3s, color .3s;
}
.accordion details[open] summary::after { content: "–"; background: var(--brand); color: #fff; border-color: var(--brand); }
.accordion details p { color: var(--muted); padding-right: 40px; margin: 0 0 22px; animation: panelIn .4s var(--ease); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .86); padding: 56px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.footer-about { margin-top: 16px; max-width: 340px; }
.site-footer .logo img { height: 56px; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); background: #1ebe5a; }
.wa-float, .call-float { transition: transform .3s var(--ease), opacity .3s, visibility .3s, background .25s; }
.hero-in-view .wa-float, .hero-in-view .call-float { opacity: 0; visibility: hidden; transform: scale(.6); }
@media (max-width: 620px) {
  .form-in-view .wa-float, .form-in-view .call-float { opacity: 0; visibility: hidden; transform: scale(.6); }
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.call-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #1a73e8; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(26, 115, 232, .7);
  transition: transform .3s var(--ease), background .25s;
}
.call-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1a73e8;
  animation: ring 2.4s ease-out infinite;
}
.call-float:hover { transform: scale(1.08); background: #1557b0; }
.call-float svg { width: 26px; height: 26px; fill: #fff; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Lead popup ---------- */
.lead-modal {
  padding: 0; border: 0; border-radius: 26px; color: var(--text);
  width: min(880px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100svh - 32px);
  overflow: hidden; background: var(--paper);
  box-shadow: 0 50px 100px -30px rgba(10, 35, 87, .6);
}
.lead-modal[open] { display: grid; grid-template-columns: .9fr 1.1fr; animation: leadIn .5s var(--ease); }
.lead-modal::backdrop { background: rgba(10, 35, 87, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes leadIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.lead-media { position: relative; min-height: 100%; isolation: isolate; }
.lead-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lead-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 35, 87, 0) 45%, rgba(10, 35, 87, .75)); }
.lead-media-text { position: absolute; left: 24px; right: 24px; bottom: 24px; color: var(--ivory); }
.lead-media-text p { margin: 10px 0 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; }
.lead-badge { display: inline-block; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.lead-body { position: relative; padding: 40px 40px 26px; overflow-y: auto; max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); }
.lead-body .eyebrow { margin-bottom: .8em; }
.lead-body h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: .3em; padding-right: 28px; }
.lead-intro { color: var(--muted); margin-bottom: 18px; }
.lead-body .field { margin-bottom: 14px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.lead-grid > * { min-width: 0; }
.lead-body .btn-block { margin-top: 6px; }
.lead-body .form-status { margin-top: 10px; }
.lead-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 4px 0 0; }
.lead-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--sand); color: var(--ink); font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.lead-close:hover { background: var(--ink); color: var(--ivory); transform: rotate(90deg); }

@property --tab-shift { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
/* side tab on the right edge that re-opens the popup */
.lead-trigger {
  --tab-shift: 0px;
  position: fixed; right: 0; top: 50%; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg) translateX(var(--tab-shift));   /* text reads bottom to top */
  padding: 16px 11px 18px; border: 0; border-radius: 0 16px 16px 0;          /* rounded on the page side */
  background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  box-shadow: 6px 0 24px -8px rgba(0, 106, 166, .6);
  transition: transform .35s var(--ease), opacity .3s, visibility .3s, background .25s;
}
.lead-trigger:hover, .lead-trigger:focus-visible { background: var(--brand-deep); }
.lt-icon { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.lt-icon svg { width: 16px; height: 16px; fill: var(--brand); margin-left: 2px; }
.lead-trigger.is-nudging { animation: nudge .9s var(--ease) .3s 2; }
@keyframes nudge { 0%, 100% { --tab-shift: 0px; } 40% { --tab-shift: 10px; } }
.lead-open .lead-trigger, .footer-in-view .lead-trigger { opacity: 0; visibility: hidden; --tab-shift: -100%; }
@media (max-width: 1359px) {
  .footer-in-view .wa-float, .footer-in-view .call-float { opacity: 0; visibility: hidden; transform: scale(.6); }
}

@media (max-width: 620px) {
  .lead-modal { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100svh - 24px); border-radius: 22px; overflow-y: auto; }
  .lead-modal[open] { grid-template-columns: 1fr; }
  .lead-media { min-height: 132px; }
  .lead-media-text { left: 18px; right: 60px; bottom: 14px; }
  .lead-media-text p { display: none; }
  .lead-body { padding: 22px 20px 20px; max-height: none; overflow: visible; }
  .lead-close { top: 12px; right: 12px; background: rgba(255, 255, 255, .9); }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-trigger { padding: 12px 8px 14px; font-size: .78rem; gap: 8px; border-radius: 0 12px 12px 0; }
  .lt-icon { width: 26px; height: 26px; }
  .lt-icon svg { width: 14px; height: 14px; }
  .form-in-view .lead-trigger { opacity: 0; visibility: hidden; --tab-shift: -100%; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav {
    position: fixed; inset: 0; background: var(--ivory); flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav-toggle { display: block; position: relative; z-index: 110; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .logo { position: relative; z-index: 110; }
  .logo img, .site-header.is-scrolled .logo img { height: 46px; }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 16%),
      linear-gradient(0deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .93) 50%, rgba(255, 255, 255, .5) 64%, rgba(255, 255, 255, 0) 78%);
  }
  .hero-content { align-items: flex-end; padding-top: 30vh; padding-bottom: 18px; }
  .hero-controls { position: static; padding-bottom: 20px; }
  .hero-tabs { width: 100%; }
  .hero-tab { width: auto; flex: 1; }
  .hero-nav { position: absolute; top: 96px; right: 24px; }
  .hero-nav .round-btn { display: none; }
  .hero-caption {
    margin: 0; font-size: .85rem; text-shadow: none;
    background: rgba(10, 35, 87, .45); padding: 6px 12px; border-radius: 99px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; }
  .panel-media { min-height: 300px; }
  .enquire-grid, .faq-grid { grid-template-columns: 1fr; }
  .enquire-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .hero-trust { gap: 16px; font-size: .84rem; }
  .why-grid, .journey-grid, .tips-grid, .ef-grid { grid-template-columns: 1fr; }
  .why-card { padding: 30px 24px; }
  .tabs { border-radius: 18px; width: 100%; }
  .tab { flex: 1 1 auto; padding: .6em 1em; }
  .section-head-row { align-items: flex-start; flex-direction: column; }
  .scroller { padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; grid-auto-columns: 74vw; }
  .hero { padding-top: 0; }
  .hero-content { padding-top: 34vh; padding-top: 34svh; padding-bottom: 14px; }
  .hero .eyebrow { margin-bottom: .7em; }
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 2.8rem); margin-bottom: .45em; }
  .hero-lead { display: none; }
  .quick-plan { grid-template-columns: minmax(0, 1fr) auto; }
  .quick-plan .qp-field:first-child { grid-column: 1 / -1; }
  .quick-plan .btn { padding: .8em 1.1em; }
  .hero-trust { margin-top: 1rem; }
  .hero-controls { padding-bottom: 14px; }
  .hero-tabs { gap: 6px; }
  .hero-tab { padding: 8px 4px 9px; grid-template-columns: 1fr; text-align: center; }
  .ht-no { display: none; }
  .ht-name { font-size: .72rem; }
  .hero-nav { top: 84px; right: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-bottom: 28px; }
  .accordion summary { font-size: 1.08rem; }
  .accordion details p { padding-right: 0; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer { padding: 44px 0 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .wa-float, .call-float { width: 52px; height: 52px; bottom: 16px; }
  .wa-float { right: 16px; }
  .call-float { left: 16px; }
}

@media (max-width: 920px) {
  .field input, .field select, .field textarea, .qp-field select, .qp-field input { font-size: 16px; }
}

/* ==========================================================
   Thank-you page (single screen)
   ========================================================== */
.ty-header { position: absolute; }
.ty-home { background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ty-page {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px 16px 22px;
}
.ty-bg { position: absolute; inset: 0; z-index: -1; }
.ty-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; animation: heroZoom 14s ease-out both; }
.ty-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 18%); }
.ty-card {
  width: 100%; max-width: 560px; text-align: center;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 28px; padding: 40px 40px 30px;
  box-shadow: 0 40px 90px -40px rgba(10, 35, 87, .55);
  animation: tyRise .8s var(--ease) both;
}
@keyframes tyRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.ty-seal { width: 72px; height: 72px; margin: 0 auto 18px; }
.ty-seal svg { width: 100%; height: 100%; overflow: visible; }
.ty-seal circle { fill: var(--brand); transform-origin: center; animation: tyPop .7s var(--ease) .2s both; filter: drop-shadow(0 10px 18px rgba(0, 119, 184, .45)); }
.ty-seal path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tyDraw .5s ease-out .75s forwards; }
@keyframes tyPop { from { transform: scale(0); } 70% { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes tyDraw { to { stroke-dashoffset: 0; } }
.ty-title { font-size: clamp(2.1rem, 5vw, 3.1rem); font-weight: 400; letter-spacing: -.02em; margin-bottom: .3em; }
.ty-lead { color: var(--muted); font-size: 1.05rem; max-width: 420px; margin: 0 auto 18px; }
.ty-lead strong { color: var(--ink); }
.ty-chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ty-chips li { background: var(--sand); border-radius: 99px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.ty-chips li span { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.ty-mini { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; }
.ty-mini::before { content: ""; position: absolute; top: 14px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--brand) 0 50%, var(--line) 50%); }
.ty-mini li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.ty-mini li b { font-weight: 600; overflow-wrap: anywhere; }
.ty-mini li > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line); font-size: .8rem; color: var(--muted); }
.ty-mini li.is-done { color: var(--ink); }
.ty-mini li.is-done > span { background: var(--brand); border-color: var(--brand); color: #fff; }
.ty-mini li:nth-child(2) > span { border-color: var(--brand); color: var(--brand-deep); }
.ty-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ty-actions .btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn-call { background: #1a73e8; color: #fff; }
.btn-call:hover { background: #1557b0; }
.ty-explore { display: inline-block; margin-top: 16px; padding: 6px 0; font-size: .9rem; font-weight: 600; color: var(--brand-deep); text-decoration: none; }
.ty-explore:hover { text-decoration: underline; }
.ty-foot {
  margin: 22px 0 0; padding: 7px 16px; border-radius: 99px; text-align: center;
  font-size: .8rem; font-weight: 600; color: var(--ink-2);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -14px rgba(10, 35, 87, .45);
}

@media (max-width: 620px) {
  .ty-page { padding: 92px 12px 16px; justify-content: flex-start; }
  .ty-home { padding: .5em 1em; font-size: .82rem; }
  .ty-card { padding: 30px 20px 22px; border-radius: 22px; }
  .ty-seal { width: 60px; height: 60px; margin-bottom: 14px; }
  .ty-mini li { font-size: .74rem; }
  .ty-actions .btn { flex: 1 1 0; padding: .9em 1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
