/* ==========================================================================
   Valencia Trails Naples Florida
   Magaly Moreno, REALTOR | Premiere Plus Realty
   valenciatrailsfloridanaples.com
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #0d2830;
  --ink-soft: #34535c;
  --muted: #5d7880;

  --teal: #12626f;
  --teal-deep: #0b3a44;
  --teal-dark: #082a32;
  --teal-tint: #e8f1f2;

  --gold: #b3823f;
  --gold-light: #d9ae72;
  --gold-tint: #f6efe4;

  --sand: #faf6f0;
  --sand-2: #f3ece1;
  --line: #e6ddd0;
  --line-soft: #efe8dd;
  --white: #ffffff;

  --ok: #1c6b4d;
  --err: #a12b2b;
  --err-bg: #fdf1f1;

  --font-display: "Lora", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --shadow-xs: 0 1px 2px rgba(13, 40, 48, .06);
  --shadow-sm: 0 2px 10px rgba(13, 40, 48, .07);
  --shadow-md: 0 10px 30px rgba(13, 40, 48, .09);
  --shadow-lg: 0 24px 60px rgba(13, 40, 48, .14);
  --shadow-gold: 0 10px 26px rgba(179, 130, 63, .28);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --header-h: 76px;
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 .55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.4vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration-color: rgba(18, 98, 111, .35); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

strong { font-weight: 600; }

sup {
  font-size: .58em;
  line-height: 0;
  vertical-align: .55em;
  letter-spacing: 0;
  margin-left: -.05em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

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

::selection { background: var(--gold-tint); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 999;
  background: var(--teal-deep);
  color: #fff;
  padding: .75rem 1.15rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1340px; }
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.6rem, 5vw, 4rem); }
.section--sand { background: var(--sand); }
.section--sand-2 { background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.1rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.075rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .745rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.05rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .65;
  flex: none;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .65;
  flex: none;
}
.eyebrow--light { color: var(--gold-light); }

.lede { font-size: 1.135rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .975rem;
  font-weight: 600;
  letter-spacing: .012em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
    background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--gold { --btn-bg: var(--gold); box-shadow: var(--shadow-gold); }
.btn--gold:hover { --btn-bg: #a4742f; box-shadow: 0 14px 32px rgba(179, 130, 63, .34); }

.btn--primary { box-shadow: 0 10px 26px rgba(18, 98, 111, .26); }
.btn--primary:hover { --btn-bg: var(--teal-deep); box-shadow: 0 14px 32px rgba(18, 98, 111, .32); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bd: var(--teal); --btn-fg: var(--teal-deep); background: var(--teal-tint); }

.btn--ghost-light { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .2); --btn-bd: #fff; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--teal-deep); box-shadow: var(--shadow-md); }
.btn--light:hover { --btn-bg: var(--sand); }

.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1.02rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.btn svg { flex: none; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
    box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-top {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .93);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 24px rgba(13, 40, 48, .07);
}

/* pages without a dark hero behind the header keep it solid */
.site-header--solid,
.site-header--solid.is-top {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header--solid.is-top .brand-name,
.site-header--solid.is-top .header-phone { color: var(--ink); }
.site-header--solid.is-top .brand-sub { color: var(--muted); }
.site-header--solid.is-top .nav-link { color: var(--ink-soft); }
.site-header--solid.is-top .nav-toggle { color: var(--ink); border-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.155rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.008em;
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.site-header.is-top .brand-name { color: #fff; }
.site-header.is-top .brand-sub { color: rgba(255, 255, 255, .8); }
.site-header.is-top .nav-link { color: rgba(255, 255, 255, .92); }
.site-header.is-top .nav-link::after { background: var(--gold-light); }
.site-header.is-top .header-phone { color: #fff; }
.site-header.is-top .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .4); }

.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.5vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li { margin: 0; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: .45rem .1rem;
  font-size: .935rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .1rem;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--teal-deep); }
.site-header.is-top .nav-link:hover,
.site-header.is-top .nav-link.is-active { color: #fff; }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: none;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* mobile panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem var(--gutter) 1.6rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a.m-link {
  display: block;
  padding: .95rem .2rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav a.m-link:hover { color: var(--teal); }
.mobile-nav .btn-row { flex-direction: column; }
.mobile-nav .btn { width: 100%; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 860px);
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2.8rem, 6vw, 4.75rem);
  isolation: isolate;
  overflow: hidden;
  background: var(--teal-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.06);
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 42, 50, .55) 0%, rgba(8, 42, 50, .10) 30%, rgba(6, 32, 39, .52) 76%, rgba(6, 32, 39, .80) 100%),
    linear-gradient(97deg, rgba(6, 32, 39, .68) 0%, rgba(6, 32, 39, .30) 48%, rgba(6, 32, 39, 0) 92%);
}

.hero-content { max-width: 760px; color: #fff; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero-lede {
  font-size: clamp(1.06rem, 1.9vw, 1.25rem);
  color: rgba(255, 255, 255, .92);
  max-width: 60ch;
  margin-bottom: 2rem;
}
.hero .btn-row { margin-bottom: 2.1rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: .875rem;
  color: rgba(255, 255, 255, .8);
}
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 15px; height: 15px; color: var(--gold-light); flex: none; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .6);
  display: none;
}
@media (min-width: 1024px) {
  .hero-scroll { display: block; animation: nudge 2.4s var(--ease) infinite; }
}
@keyframes nudge {
  0%, 100% { transform: translate(-50%, 0); opacity: .55; }
  50% { transform: translate(-50%, 7px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   7. Value strip
   -------------------------------------------------------------------------- */
.value-strip {
  position: relative;
  margin-top: -1px;
  background: var(--white);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
}
.value-item {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.55rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.value-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--teal-tint), #fff);
  color: var(--teal);
  border: 1px solid rgba(18, 98, 111, .14);
  margin-bottom: .35rem;
}
.value-icon svg { width: 21px; height: 21px; }
.value-item h3 { font-size: 1.08rem; margin: 0; }
.value-item p { font-size: .945rem; color: var(--ink-soft); margin: 0; line-height: 1.62; }

/* --------------------------------------------------------------------------
   8. Overview
   -------------------------------------------------------------------------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.fact-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin: 0;
  padding: 1.05rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}
.fact-list svg {
  width: 20px; height: 20px;
  color: var(--gold);
  flex: none;
  margin-top: .22rem;
}
.fact-list strong { display: block; margin-bottom: .1rem; }
.fact-list span { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }

.note-card {
  margin-top: 1.6rem;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .93rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   9. Lifestyle cards
   -------------------------------------------------------------------------- */
.life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.7rem);
}
.life-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.life-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.life-art {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 78% 12%, rgba(232, 196, 137, .38) 0%, rgba(232, 196, 137, 0) 55%),
    linear-gradient(150deg, #17707e 0%, #0f505c 55%, #0a333d 100%);
}
.life-card:nth-child(4n+2) .life-art {
  background:
    radial-gradient(120% 130% at 18% 14%, rgba(232, 196, 137, .34) 0%, rgba(232, 196, 137, 0) 58%),
    linear-gradient(200deg, #14697a 0%, #0d4753 58%, #092e37 100%);
}
.life-card:nth-child(4n+3) .life-art {
  background:
    radial-gradient(130% 140% at 82% 82%, rgba(232, 196, 137, .3) 0%, rgba(232, 196, 137, 0) 56%),
    linear-gradient(125deg, #1a7a86 0%, #10555f 52%, #0a343e 100%);
}
.life-card:nth-child(4n) .life-art {
  background:
    radial-gradient(120% 120% at 50% 8%, rgba(232, 196, 137, .32) 0%, rgba(232, 196, 137, 0) 60%),
    linear-gradient(165deg, #15727f 0%, #0e4d58 55%, #082f38 100%);
}
.life-art::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: url("images/pattern-trails.svg") center / cover no-repeat;
  opacity: .5;
  transition: transform .6s var(--ease);
}
.life-card:hover .life-card:nth-child(4n+2) .life-art {
  background:
    radial-gradient(120% 130% at 18% 14%, rgba(232, 196, 137, .34) 0%, rgba(232, 196, 137, 0) 58%),
    linear-gradient(200deg, #14697a 0%, #0d4753 58%, #092e37 100%);
}
.life-card:nth-child(4n+3) .life-art {
  background:
    radial-gradient(130% 140% at 82% 82%, rgba(232, 196, 137, .3) 0%, rgba(232, 196, 137, 0) 56%),
    linear-gradient(125deg, #1a7a86 0%, #10555f 52%, #0a343e 100%);
}
.life-card:nth-child(4n) .life-art {
  background:
    radial-gradient(120% 120% at 50% 8%, rgba(232, 196, 137, .32) 0%, rgba(232, 196, 137, 0) 60%),
    linear-gradient(165deg, #15727f 0%, #0e4d58 55%, #082f38 100%);
}
.life-art::before { transform: scale(1.08); }
.life-art svg {
  position: relative;
  width: 54px;
  height: 54px;
  color: rgba(255, 248, 236, .95);
  transition: transform .45s var(--ease-out);
}
.life-card:hover .life-art svg { transform: translateY(-4px) scale(1.06); }

.life-body { padding: 1.35rem 1.4rem 1.5rem; }
.life-body h3 { margin-bottom: .35rem; font-size: 1.16rem; }
.life-body p { font-size: .95rem; color: var(--ink-soft); margin: 0; line-height: 1.65; }

/* --------------------------------------------------------------------------
   10. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.6rem);
  background: linear-gradient(120deg, #0f505c 0%, #0b3a44 50%, #082a32 100%);
  color: #fff;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/pattern-trails.svg") center / cover no-repeat;
  opacity: .32;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -60%;
  width: 55%;
  height: 220%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(232, 196, 137, .3), transparent 70%);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { color: rgba(255, 255, 255, .84); max-width: 54ch; margin: 0; }
.cta-copy { flex: 1 1 380px; }

/* --------------------------------------------------------------------------
   11. Split sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
}

.split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.split-media:hover img { transform: scale(1.04); }

.media-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}
.media-panel-inner {
  position: relative;
  z-index: 1;
  max-width: 320px;
}
.media-panel-inner svg { width: 46px; height: 46px; color: var(--teal); margin: 0 auto .9rem; }
.media-panel-inner .panel-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: .3rem;
}
.media-panel-inner p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

.check-list {
  list-style: none;
  margin: 0 0 1.9rem;
  padding: 0;
  display: grid;
  gap: .68rem;
}
.check-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}
.check-list svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: .24rem;
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   12. About Magaly
   -------------------------------------------------------------------------- */
.agent-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  margin-inline: auto;
}
.agent-media img { width: 100%; }
.agent-badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  right: 1.1rem;
  padding: .85rem 1.05rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.agent-badge .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.3;
}
.agent-badge .r { font-size: .82rem; color: var(--muted); }

.agent-contact {
  list-style: none;
  margin: 1.7rem 0 1.9rem;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.agent-contact li { display: flex; align-items: center; gap: .75rem; margin: 0; }
.agent-contact svg { width: 19px; height: 19px; color: var(--gold); flex: none; }
.agent-contact a { color: var(--ink); font-weight: 500; text-decoration: none; }
.agent-contact a:hover { color: var(--teal); text-decoration: underline; }
.agent-contact span { color: var(--ink-soft); }

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.5rem;
}
.credential {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .42rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.credential svg { width: 14px; height: 14px; color: var(--gold); }

/* --------------------------------------------------------------------------
   13. Social icons
   -------------------------------------------------------------------------- */
.social-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-link {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  transition: transform .22s var(--ease), background-color .22s var(--ease),
    color .22s var(--ease), border-color .22s var(--ease);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  transform: translateY(-3px);
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.social-row--light .social-link {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .85);
}
.social-row--light .social-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* --------------------------------------------------------------------------
   14. Lead request form
   -------------------------------------------------------------------------- */
.request-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0f505c 0%, #0b3a44 55%, #082a32 100%);
  color: #fff;
  isolation: isolate;
}
.request-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/pattern-trails.svg") center / cover no-repeat;
  opacity: .3;
}
.request-section h2 { color: #fff; }
.request-section .section-head p { color: rgba(255, 255, 255, .82); }

.request-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: start;
}
@media (max-width: 980px) {
  .request-shell { grid-template-columns: 1fr; }
}

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
  padding: .38rem;
  background: var(--sand-2);
  border-radius: var(--r-pill);
  margin-bottom: 1.7rem;
}
@media (max-width: 560px) {
  .mode-tabs { grid-template-columns: 1fr; border-radius: var(--r-md); }
}
.mode-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: .55rem .8rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
@media (max-width: 560px) { .mode-tab { border-radius: var(--r-sm); } }
.mode-tab svg { width: 17px; height: 17px; flex: none; }
.mode-tab:hover { color: var(--teal-deep); }
.mode-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
}
.mode-tab[aria-selected="true"] svg { color: var(--gold); }

.mode-intro {
  margin-bottom: 1.4rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.mode-intro h3 { margin-bottom: .25rem; font-size: 1.32rem; }
.mode-intro p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}
@media (max-width: 620px) { .field-grid { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label {
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .005em;
}
.field .req { color: var(--gold); margin-left: .15rem; }
.field .hint { font-size: .8rem; color: var(--muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  appearance: none;
}
.field textarea { min-height: 116px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7880' 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 .8rem center;
  background-size: 18px;
  padding-right: 2.4rem;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #cfc2ae; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 98, 111, .16);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--err);
  background: var(--err-bg);
}
.field-error {
  display: none;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--err);
}
.field-error.is-shown { display: flex; }
.field-error svg { width: 14px; height: 14px; flex: none; }

.mode-fields {
  display: grid;
  gap: 1rem 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 620px) { .mode-fields { grid-template-columns: 1fr; } }
.mode-fields[hidden] { display: none; }

.js .mode-panel-anim {
  animation: fieldsIn .38s var(--ease-out) both;
}
@keyframes fieldsIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}

.form-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 1.5rem 0 1.35rem;
  grid-column: 1 / -1;
}

.consent {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--sand);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.consent input[type="checkbox"] {
  width: 22px; height: 22px;
  margin: .14rem 0 0;
  flex: none;
  accent-color: var(--teal);
  cursor: pointer;
}
.consent label { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; cursor: pointer; }
.consent a { font-weight: 500; }

.captcha-wrap { margin-top: 1.25rem; min-height: 100px; }
.captcha-wrap .g-recaptcha > div { max-width: 100%; }
.recaptcha-note {
  margin-top: .55rem;
  font-size: .78rem;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
  margin-top: 1.5rem;
}
.form-actions .btn { flex: 1 1 260px; }
.form-meta { font-size: .82rem; color: var(--muted); flex: 1 1 220px; }

.btn.is-busy { pointer-events: none; opacity: .82; }
.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.is-busy .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  font-size: .94rem;
  display: none;
  align-items: flex-start;
  gap: .65rem;
  line-height: 1.6;
}
.form-status.is-shown { display: flex; }
.form-status svg { width: 19px; height: 19px; flex: none; margin-top: .16rem; }
.form-status--error { background: var(--err-bg); color: #7d2020; border: 1px solid #f0cfcf; }
.form-status--ok { background: #eef7f2; color: #14523c; border: 1px solid #cbe6d9; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3.2rem) 1rem;
}
.form-success.is-shown { display: block; animation: fieldsIn .45s var(--ease-out) both; }
.success-mark {
  width: 74px; height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: #eef7f2;
  color: var(--ok);
  border: 1px solid #cbe6d9;
}
.success-mark svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.form-success p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }
.form-success .btn-row { justify-content: center; margin-top: 1.5rem; }

/* aside next to the form */
.request-aside {
  display: grid;
  gap: 1rem;
}
.aside-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.aside-card h3 { color: #fff; font-size: 1.14rem; margin-bottom: .5rem; }
.aside-card p { font-size: .93rem; color: rgba(255, 255, 255, .82); margin: 0; }
.aside-contact { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .6rem; }
.aside-contact li { display: flex; align-items: center; gap: .65rem; margin: 0; font-size: .95rem; }
.aside-contact svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.aside-contact a { color: #fff; text-decoration: none; font-weight: 500; }
.aside-contact a:hover { color: var(--gold-light); text-decoration: underline; }
.aside-contact span { color: rgba(255, 255, 255, .82); }

.aside-portrait {
  display: flex;
  align-items: center;
  gap: .95rem;
  margin-bottom: .3rem;
}
.aside-portrait img {
  width: 66px; height: 66px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(255, 255, 255, .35);
  flex: none;
}
.aside-portrait .n { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: #fff; line-height: 1.3; }
.aside-portrait .r { font-size: .82rem; color: rgba(255, 255, 255, .74); }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: .8rem; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 11px; height: 11px;
  flex: none;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item summary:hover { color: var(--teal-deep); }
.faq-answer { padding: 0 1.3rem 1.3rem; color: var(--ink-soft); font-size: .98rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, .78);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: 2.8rem;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .68); }
.footer-brand p { margin-top: 1.05rem; color: rgba(255, 255, 255, .72); font-size: .93rem; max-width: 38ch; }
.footer-brand .social-row { margin-top: 1.25rem; }

.site-footer h2,
.footer-title {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 1.05rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .58rem; }
.footer-links li { margin: 0; }
.footer-links a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; margin: 0; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-light); flex: none; margin-top: .22rem; }
.footer-contact a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact span { color: rgba(255, 255, 255, .78); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 1.8rem 2.2rem;
  display: grid;
  gap: 1.15rem;
  font-size: .84rem;
  color: rgba(255, 255, 255, .62);
  line-height: 1.72;
}
.footer-legal p { margin: 0; }
.footer-legal strong { color: rgba(255, 255, 255, .8); font-weight: 600; }
.eho-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.eho-row svg { width: 26px; height: 26px; color: rgba(255, 255, 255, .8); flex: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 1.35rem 1.5rem;
  font-size: .84rem;
  color: rgba(255, 255, 255, .6);
}
.footer-bottom a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom nav { display: flex; gap: 1.15rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   17. Mobile sticky contact bar
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: .6rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(13, 40, 48, .1);
  transform: translateY(110%);
  transition: transform .32s var(--ease);
}
.mobile-bar.is-shown { transform: none; }
.mobile-bar .btn { flex: 1 1 auto; min-height: 50px; }
.mobile-bar .btn--call {
  flex: 0 0 auto;
  width: 54px;
  padding: 0;
  --btn-bg: var(--white);
  --btn-fg: var(--teal-deep);
  --btn-bd: var(--line);
}
.mobile-bar .btn--call svg { width: 21px; height: 21px; }

@media (max-width: 860px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .site-footer { padding-bottom: 8px; }
}

/* --------------------------------------------------------------------------
   18. Legal pages
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.8rem, 6vw, 4.6rem));
  padding-bottom: clamp(2.2rem, 5vw, 3.4rem);
  background: linear-gradient(140deg, #0f505c 0%, #0b3a44 55%, #082a32 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/pattern-trails.svg") center / cover no-repeat;
  opacity: .3;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.05rem); }
.page-hero p { color: rgba(255, 255, 255, .82); margin: 0; }

.legal { padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.legal-body { max-width: 820px; }
.legal-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal-body ul { color: var(--ink-soft); }
.legal-body p { color: var(--ink-soft); }
.legal-toc {
  padding: 1.3rem 1.5rem;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 2.6rem;
}
.legal-toc .footer-title { color: var(--gold); margin-bottom: .8rem; }
.legal-toc ol { margin: 0; padding-left: 1.15rem; columns: 2; column-gap: 2rem; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
.legal-toc li { font-size: .93rem; }
.updated-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: .82rem;
  color: #fff;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   19. Scroll reveal (only when JS is available)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .68s var(--ease-out), transform .68s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   20. Responsive header behaviour
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--header { display: none; }
}
@media (max-width: 620px) {
  .header-phone span { display: none; }
  .brand-sub { display: none; }
  .brand img { width: 38px; height: 38px; }
}
@media (min-width: 1081px) {
  .mobile-nav { display: none; }
}

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

/* --------------------------------------------------------------------------
   22. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-bar, .mobile-nav, .request-section, .cta-band, .hero-scroll { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  a { color: #000; }
}

/* ==========================================================================
   17. 2026 redesign — photo cards, carousels, video, guide flow
   Appended block. Everything here overrides the earlier icon-based
   treatments for sections 1-4, 6, 7 and the request form.
   ========================================================================== */

/* --- hero ---------------------------------------------------------------- */
.hero { min-height: min(96vh, 940px); }
.hero-media img { object-position: center 55%; }
.hero::after {
  background:
    linear-gradient(180deg, rgba(6, 32, 39, .58) 0%, rgba(6, 32, 39, .12) 26%, rgba(6, 32, 39, .58) 68%, rgba(5, 26, 32, .88) 100%),
    linear-gradient(96deg, rgba(5, 26, 32, .74) 0%, rgba(5, 26, 32, .34) 46%, rgba(5, 26, 32, 0) 88%);
}
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  text-shadow: 0 2px 26px rgba(4, 22, 28, .42);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-lede {
  max-width: 56ch;
  text-shadow: 0 1px 16px rgba(4, 22, 28, .5);
}
.eyebrow-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  margin-right: .55rem;
  vertical-align: middle;
  box-shadow: 0 0 0 4px rgba(217, 174, 114, .22);
}

/* --- carousel shell ------------------------------------------------------ */
.carousel { position: relative; }

.carousel-track {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.carousel-track--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1080px) and (min-width: 761px) {
  .carousel-track--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* mobile: one card at a time, native swipe, snap */
@media (max-width: 760px) {
  .carousel-track {
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
  }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-track > [data-slide] { scroll-snap-align: center; scroll-snap-stop: always; }
}

.carousel-ui { display: none; }
@media (max-width: 760px) {
  .carousel-ui {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    margin-top: 1.25rem;
  }
}
.carousel-btn {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--teal);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.carousel-btn:active { transform: scale(.94); }
.carousel-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.carousel-btn svg { transition: transform .2s var(--ease); }
[data-carousel-prev] svg { transform: rotate(90deg); }
[data-carousel-next] svg { transform: rotate(-90deg); }

.carousel-dots { display: flex; align-items: center; gap: .5rem; }
.carousel-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: width .25s var(--ease), background .25s var(--ease);
}
.carousel-dot[aria-selected="true"] {
  width: 26px;
  border-radius: var(--r-pill);
  background: var(--gold);
}

/* --- photo card ---------------------------------------------------------- */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
@media (hover: hover) {
  .pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .pcard:hover .pcard-media img { transform: scale(1.07); }
}
.pcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--teal-deep);
}
.pcard--tall .pcard-media { aspect-ratio: 5 / 4; }
.pcard-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease-out);
}
.pcard-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 42, 50, 0) 46%, rgba(8, 42, 50, .30) 100%);
  pointer-events: none;
}
.pcard-body {
  padding: 1.25rem 1.3rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.pcard-body h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.28;
}
.pcard-body p {
  margin: 0;
  font-size: .945rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .pcard-media { aspect-ratio: 16 / 10; }
  .pcard--tall .pcard-media { aspect-ratio: 16 / 10; }
  .pcard-body { padding: 1.35rem 1.4rem 1.6rem; }
  .pcard-body h3 { font-size: 1.22rem; }
  .pcard-body p { font-size: 1rem; }
}

/* --- video --------------------------------------------------------------- */
.video-frame {
  max-width: 1080px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--teal-dark);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.video-embed img,
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.video-embed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 32, 39, .30) 0%, rgba(6, 32, 39, .18) 40%, rgba(5, 26, 32, .74) 100%);
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.video-embed.is-playing::after,
.video-embed.is-playing .video-play { display: none; }

.video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 1.05rem;
  padding: clamp(1.2rem, 3vw, 2.1rem);
  background: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  text-align: left;
}
.video-play-mark {
  flex: none;
  width: clamp(58px, 7vw, 76px);
  height: clamp(58px, 7vw, 76px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 12px 34px rgba(6, 32, 39, .48);
  transition: transform .3s var(--ease-out), background .3s var(--ease);
}
.video-play-mark svg { margin-left: 3px; }
.video-play:hover .video-play-mark { transform: scale(1.08); background: var(--gold-light); }
.video-play-mark::before {
  content: "";
  position: absolute;
  width: clamp(58px, 7vw, 76px);
  height: clamp(58px, 7vw, 76px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  animation: pulseRing 2.6s var(--ease) infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.video-play-text { display: flex; flex-direction: column; gap: .18rem; padding-bottom: .35rem; }
.video-play-text strong {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(4, 22, 28, .55);
}
.video-play-text small {
  font-size: .82rem;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 10px rgba(4, 22, 28, .6);
}
@media (max-width: 560px) {
  .video-play { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .video-play-text small { display: none; }
}

/* --- overview after video ------------------------------------------------ */
.h2-like {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.16;
  margin-bottom: .6em;
  color: var(--ink);
}
.fact-list--rich li { align-items: center; }
.fact-figure {
  flex: none;
  width: 62px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--teal-tint);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}
.fact-figure sup { font-size: .58em; font-weight: 600; }
.fact-figure svg { width: 22px; height: 22px; }
.fact-list--rich li > div { display: flex; flex-direction: column; gap: .12rem; }

/* --- photo panels for buying / selling ----------------------------------- */
.photo-panel {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--teal-deep);
}
.photo-panel picture { display: block; }
.photo-panel img {
  width: 100%;
  height: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-out);
}
@media (hover: hover) {
  .photo-panel:hover img { transform: scale(1.05); }
}
.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 32, 39, 0) 38%, rgba(5, 26, 32, .84) 100%);
  pointer-events: none;
}
.photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  padding: clamp(1.15rem, 2.4vw, 1.7rem);
  color: #fff;
}
.photo-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.9vw, 1.22rem);
  font-weight: 600;
  margin-bottom: .28rem;
}
.photo-caption > span:last-child {
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}
.photo-caption-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(6px);
}
.photo-caption-icon svg { width: 21px; height: 21px; color: var(--gold-light); }

/* --- guide lead-in above the form ---------------------------------------- */
.guide-lead {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(1.3rem, 3vw, 2.2rem);
  align-items: center;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) {
  .guide-lead { grid-template-columns: 132px 1fr; gap: 1.1rem; }
}
@media (max-width: 420px) {
  .guide-lead { grid-template-columns: 1fr; }
  .guide-cover { max-width: 168px; }
}

.guide-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .42rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, .10) inset;
  background:
    linear-gradient(170deg, rgba(18, 98, 111, .82) 0%, rgba(8, 42, 50, .94) 62%, rgba(6, 32, 39, .97) 100%),
    url("images/slot-active-living.jpg") center/cover no-repeat;
  transform: rotate(-2deg);
  transition: transform .4s var(--ease-out);
}
.guide-cover::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 7px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}
.form-card:hover .guide-cover { transform: rotate(-1deg) translateY(-3px); }
.guide-cover-kicker {
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
}
.guide-cover-title {
  font-family: var(--font-display);
  font-size: clamp(.98rem, 1.5vw, 1.16rem);
  font-weight: 600;
  line-height: 1.18;
}
.guide-cover-rule {
  width: 26px; height: 2px;
  background: var(--gold);
  margin: .1rem auto;
}
.guide-cover-sub {
  font-size: .64rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .8);
}
.guide-cover-by {
  font-size: .58rem;
  color: rgba(255, 255, 255, .66);
  margin-top: .1rem;
}

.guide-lead-copy h3 {
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  margin-bottom: .75rem;
}
.guide-points { list-style: none; display: grid; gap: .48rem; margin: 0 0 .95rem; padding: 0; }
.guide-points li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .935rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.guide-points svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: .16rem; }
.guide-meta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: .42rem .8rem;
  border-radius: var(--r-pill);
  background: var(--gold-tint);
  color: #7d5a24;
  font-size: .8rem;
  font-weight: 600;
}
.guide-meta svg { width: 15px; height: 15px; }

.opt {
  font-size: .74rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard-media img, .photo-panel img, .guide-cover,
  .video-play-mark, .carousel-btn, .carousel-dot { transition: none !important; }
  .video-play-mark::before { animation: none; }
  .hero-media img { animation: none; transform: none; }
}

/* --- guide download page ------------------------------------------------- */
.guide-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); }
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-side { order: -1; max-width: 260px; }
}
.guide-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: .45em; }
.guide-hero .lede em { font-style: italic; color: var(--teal); }
.guide-fallback { font-size: .88rem; color: var(--muted); margin-top: .9rem; }
.guide-cover--lg {
  aspect-ratio: 3 / 4;
  padding: 1.9rem 1.4rem;
  gap: .6rem;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-lg);
}
.guide-cover--lg .guide-cover-kicker { font-size: .68rem; }
.guide-cover--lg .guide-cover-title { font-size: 1.5rem; }
.guide-cover--lg .guide-cover-sub { font-size: .8rem; }
.guide-cover--lg .guide-cover-by { font-size: .7rem; }
.guide-cover--lg .guide-cover-rule { width: 36px; }
.fact-figure { white-space: nowrap; padding: 0 .35rem; }

/* The aside card is designed for the dark request section. On the light guide
   page it needs the inverse treatment or the text disappears. */
.guide-side .aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.guide-side .aside-card h3 { color: var(--ink); }
.guide-side .aside-card p  { color: var(--ink-soft); }
.guide-side .aside-portrait img { border-color: var(--line); }
.guide-side .aside-portrait .n { color: var(--ink); }
.guide-side .aside-portrait .r { color: var(--muted); }
.guide-side .aside-contact svg { color: var(--gold); }
.guide-side .aside-contact a   { color: var(--teal); }
.guide-side .aside-contact a:hover { color: var(--gold); }
.guide-side .aside-contact span { color: var(--ink-soft); }

@media (max-width: 620px) {
  /* keep "Magaly Moreno, REALTOR®" from breaking across lines on phones */
  .hero-trust { flex-direction: column; align-items: flex-start; gap: .55rem; }
  .hero-trust > span { align-items: flex-start; }
}
