/* ==========================================================================
   Ave Maria Naples Florida | avemarianaplesflorida.com
   Site stylesheet. Plain CSS, no build step required.

   Sections
     1. Tokens and base
     2. Typography
     3. Layout helpers
     4. Buttons, chips, badges
     5. Header, navigation, mobile drawer
     6. Hero
     7. Section patterns (split, bands, grids, stats, timeline)
     8. Cards
     9. Carousel
    10. Tabs and filters
    11. Tables and FAQ
    12. Forms
    13. Magaly section, footer, floating CTA
    14. Map, misc
    15. Motion (reveal) and reduced motion
    16. Print
   ========================================================================== */

/* 1. Tokens and base ----------------------------------------------------- */
:root {
  --ink: #0d1b22;
  --deep: #103744;
  --deep-2: #0b2730;
  --deep-3: #17495a;
  --teal: #1d6b77;
  --teal-soft: #e3eff0;
  --green: #2f7a5b;
  --green-soft: #e6f1ea;
  --gold: #d7a95a;
  --gold-deep: #b4853a;
  --gold-soft: #f7ecd6;
  --clay: #c9673a;
  --clay-soft: #f8e7dd;
  --sand: #f5f0e7;
  --sand-2: #ece5d8;
  --cream: #fffdf9;
  --paper: #ffffff;
  --line: #e4dccf;
  --line-strong: #cfc4b2;
  --muted: #5c6b70;
  --text: #1f2e34;
  --on-dark: #f3efe7;
  --on-dark-muted: #b9c6c9;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(13, 27, 34, .06);
  --shadow: 0 14px 34px rgba(13, 27, 34, .10);
  --shadow-lg: 0 28px 60px rgba(13, 27, 34, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .32s;
  --header-h: 74px;
  --topbar-h: 38px;
  --header-total: var(--header-h);
}
@media (min-width: 900px) { :root { --header-total: calc(var(--topbar-h) + var(--header-h)); } }
@media (max-width: 599px) { :root { --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  /* Anchor targets clear the fixed header. Smooth scrolling is switched on by
     JavaScript after load, so a page opened at index.html#request jumps
     straight to the form instead of animating past the whole page. */
  scroll-padding-top: calc(var(--header-total) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.smooth-scroll { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
img { font-size: .85rem; color: var(--muted); }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .16em; }
a:hover { color: var(--deep); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--gold-soft); color: var(--ink); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--deep); color: #fff;
  padding: .7rem 1rem; border-radius: 10px; z-index: 1000;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* 2. Typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.32rem, 2.2vw, 1.62rem); }
h4 { font-size: 1.12rem; font-family: var(--sans); font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin: .3em 0; }
strong { font-weight: 700; }
small { font-size: .875em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--gold);
}
.on-dark .eyebrow, .dark .eyebrow { color: var(--gold); }

.lede {
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  line-height: 1.6; color: var(--muted); max-width: 62ch;
}
.on-dark .lede, .dark .lede { color: var(--on-dark-muted); }
.on-dark, .dark { color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4,
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.on-dark a, .dark a { color: #fff; }
.on-dark a:hover, .dark a:hover { color: var(--gold); }

.measure { max-width: 68ch; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.note {
  font-size: .92rem; color: var(--muted); line-height: 1.55;
  padding: .9rem 1.1rem; border-left: 3px solid var(--gold);
  background: var(--sand); border-radius: 0 12px 12px 0;
}
.dark .note { background: rgba(255,255,255,.06); color: var(--on-dark-muted); }
.disclaimer {
  font-size: .9rem; color: var(--muted); line-height: 1.6;
}

/* 3. Layout helpers ------------------------------------------------------ */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.shell--narrow { max-width: 860px; }
.shell--wide { max-width: 1400px; }

.section { padding: clamp(3.6rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--deep); color: var(--on-dark); }
.section--dark-2 { background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%); color: var(--on-dark); }
.section--green { background: linear-gradient(160deg, #163f33 0%, #0f2d25 100%); color: var(--on-dark); }
.section--cream { background: var(--cream); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.section-head--row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.section-head--row > div { max-width: 720px; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.stack > * + * { margin-top: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* 4. Buttons, chips, badges --------------------------------------------- */
.btn {
  --btn-bg: var(--deep); --btn-fg: #fff; --btn-bd: var(--deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.5rem;
  font: 700 .98rem/1.1 var(--sans); letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill); text-decoration: none; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  white-space: nowrap;
}
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { width: 100%; }
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(13,27,34,.16); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: #e2b86a; }
.btn--clay { --btn-bg: var(--clay); --btn-fg: #fff; --btn-bd: var(--clay); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--deep); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--deep); background: #fff; }
.btn--light { --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--light:hover { --btn-bg: rgba(255,255,255,.18); --btn-bd: #fff; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--deep); --btn-bd: #fff; }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn--lg { min-height: 58px; padding: 1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .65; cursor: progress; transform: none; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--deep); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--teal); }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .75rem; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  background: var(--sand-2); color: var(--deep);
  border: 1px solid transparent;
}
.chip--gold { background: var(--gold-soft); color: #7a5717; }
.chip--green { background: var(--green-soft); color: #1f5a41; }
.chip--teal { background: var(--teal-soft); color: #14515b; }
.chip--clay { background: var(--clay-soft); color: #8a3f1c; }
.chip--outline { background: transparent; border-color: var(--line-strong); }
.chip--dark { background: rgba(255,255,255,.12); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }

.badge-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7;
}

/* 5. Header, navigation, mobile drawer ---------------------------------- */
/* The top bar and the main header live in one sticky block, so the whole
   primary navigation stays visible while scrolling on every screen size.
   Sticky (not fixed) keeps the header exactly as wide as the page. The body
   uses overflow-x: clip rather than hidden, which is what allows sticky to
   work. Anchor offsets come from scroll-padding-top on html. */
.site-top {
  position: sticky; top: 0; left: 0; right: 0; z-index: 900; width: 100%;
  transition: box-shadow var(--dur) var(--ease);
}
.site-top.is-scrolled { box-shadow: 0 6px 24px rgba(13,27,34,.10); }
.site-top.is-scrolled .site-header { background: rgba(255,253,249,.97); }
.topbar {
  background: var(--deep-2); color: var(--on-dark-muted);
  font-size: .82rem; height: var(--topbar-h);
}
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar__brand { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__brand strong { color: #fff; }
.topbar__links { display: flex; gap: 1.4rem; align-items: center; }
.topbar__links svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: .3rem; }
@media (max-width: 899px) { .topbar { display: none; } }

.site-header {
  position: relative;
  height: var(--header-h);
  background: rgba(255, 253, 249, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(13, 27, 34, .06);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header .shell, .topbar .shell { max-width: 1400px; }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: clamp(.8rem, 1.6vw, 1.6rem); height: 100%; }

/* The brand never shrinks or slides under the menu. The menu shrinks first. */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand__mark { width: 42px; height: 42px; flex: none; border-radius: 11px; overflow: hidden; box-shadow: var(--shadow-sm); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.32rem; color: var(--deep); letter-spacing: .01em; white-space: nowrap; }
.brand__sub { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-top: .18rem; white-space: nowrap; }

.nav { display: none; align-items: center; gap: 0; flex: 0 1 auto; min-width: 0; margin-left: auto; }
.nav a {
  position: relative; display: inline-block; padding: .55rem .58rem;
  font-size: .86rem; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 8px;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: .58rem; right: .58rem; bottom: .3rem; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover { color: var(--deep); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--deep); }
.header-cta { display: none; flex: 0 0 auto; }
@media (min-width: 1280px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
}
/* Tighter menu between 1280 and 1439 so nothing ever overlaps the brand. */
@media (min-width: 1280px) and (max-width: 1439px) {
  .nav a { padding: .55rem .4rem; font-size: .78rem; }
  .nav a::after { left: .4rem; right: .4rem; }
  .brand__name { font-size: 1.18rem; }
  .brand__sub { font-size: .62rem; }
  .header-cta { padding-left: .85rem; padding-right: .85rem; font-size: .84rem; }
}
@media (min-width: 1440px) and (max-width: 1599px) {
  .nav a { padding: .55rem .48rem; font-size: .82rem; }
  .nav a::after { left: .48rem; right: .48rem; }
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; flex: none;
}
.nav-toggle__bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.nav-toggle__bars span { display: block; height: 2px; background: var(--deep); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1280px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 950;
  background: var(--deep-2); color: #fff;
  transform: translateX(100%); visibility: hidden;
  transition: transform .42s var(--ease), visibility 0s linear .42s;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 1.1rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column;
}
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform .42s var(--ease); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.mobile-nav__close {
  width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav__close svg { width: 20px; height: 20px; }
.mobile-nav__list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 0; font-family: var(--serif); font-size: 1.55rem; color: #fff; text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.mobile-nav__list a:hover, .mobile-nav__list a[aria-current="page"] { color: var(--gold); padding-left: .35rem; }
.mobile-nav__list a svg { width: 18px; height: 18px; opacity: .55; }
.mobile-nav__contact { margin-top: auto; padding-top: 2rem; font-size: .95rem; color: var(--on-dark-muted); }
.mobile-nav__contact a { color: #fff; text-decoration: none; font-weight: 600; }
.mobile-nav__contact .btn { margin-top: 1rem; }
.mobile-nav__agent { display: block; margin-bottom: 1rem; }
.mobile-nav__agent strong { display: block; color: #fff; font-size: 1.05rem; }
body.nav-open { overflow: hidden; }

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  margin-top: calc(-1 * var(--header-total));
  padding-top: var(--header-total);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.js .hero__media img { transform: scale(1.06); animation: heroSettle 2.6s var(--ease) forwards; }
@keyframes heroSettle { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,39,48,.55) 0%, rgba(11,39,48,.18) 30%, rgba(11,39,48,.35) 62%, rgba(11,39,48,.92) 100%),
    linear-gradient(90deg, rgba(11,39,48,.55) 0%, rgba(11,39,48,0) 60%);
}
.hero .shell { position: relative; padding-bottom: clamp(2.6rem, 6vw, 5rem); padding-top: clamp(3rem, 8vw, 6rem); }
.hero__content { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { color: rgba(255,255,255,.88); font-size: clamp(1.08rem, 1.6vw, 1.32rem); max-width: 58ch; }
.hero .eyebrow { color: var(--gold); }
.hero .btn-row { margin-top: 1.9rem; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: .55rem .6rem; margin-top: 2rem; padding: 0; list-style: none;
}
.hero__facts li {
  margin: 0; padding: .48rem .9rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: .82rem; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 1.6rem; display: none; align-items: center; gap: .6rem;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); text-decoration: none;
}
.hero__scroll span { width: 1px; height: 46px; background: rgba(255,255,255,.55); overflow: hidden; position: relative; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--gold); animation: scrollCue 2.2s ease-in-out infinite; }
@keyframes scrollCue { 0% { top: -100%; } 60%, 100% { top: 100%; } }
@media (min-width: 1000px) { .hero__scroll { display: flex; } }

/* Compact page hero used on inner pages */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  margin-top: calc(-1 * var(--header-total)); padding-top: var(--header-total);
  min-height: 460px; display: flex; align-items: flex-end;
  background: var(--deep);
}
.page-hero .hero__media img { object-position: center 45%; }
.page-hero .hero__scrim { background: linear-gradient(180deg, rgba(11,39,48,.55) 0%, rgba(11,39,48,.25) 40%, rgba(11,39,48,.9) 100%); }
.page-hero .shell { position: relative; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2rem, 5vw, 3.4rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 18ch; }
.page-hero .lede { color: rgba(255,255,255,.88); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero--plain { min-height: 0; background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%); }
.page-hero--plain .shell { padding-top: clamp(3rem, 7vw, 5rem); }

.breadcrumb { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .82rem; color: rgba(255,255,255,.75); }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #fff; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

/* 7. Section patterns ---------------------------------------------------- */
.split { display: grid; gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
/* Grid children may shrink below their content width, so carousels and long
   words never push a column wider than the screen. */
.split > *, .grid > *, .request__grid > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(255,253,249,.94); border-radius: 12px; padding: .8rem 1rem;
  font-size: .85rem; color: var(--muted); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
}
.split__caption strong { color: var(--deep); display: block; font-size: .92rem; }
.floating-stat {
  position: absolute; top: -1.2rem; right: -0.6rem;
  background: var(--deep); color: #fff; padding: 1rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .8rem; line-height: 1.3; max-width: 200px;
}
.floating-stat strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--gold); }
@media (max-width: 600px) { .floating-stat { right: .5rem; top: -1rem; } }

.checklist { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: .15rem;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checklist--gold li::before { background-color: var(--gold-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4853a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.checklist--caution li::before { background-color: var(--clay-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9673a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E"); }
.dark .checklist li::before { background-color: rgba(255,255,255,.14); }

.stats { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
@media (min-width: 900px) { .stats--row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 380px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stat {
  display: flex; flex-direction: column; min-width: 0; height: 100%;
  padding: clamp(1.2rem, 2vw, 1.6rem) clamp(1.1rem, 1.8vw, 1.5rem);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm);
}
/* Sized so the longest values (June 2026, Long term) always fit on one line
   inside the card at 1280 px and above, and wrap cleanly below that. */
.stat__value { font-family: var(--serif); font-size: clamp(1.6rem, 1.15vw + 1rem, 2.35rem); color: var(--gold); line-height: 1.08; display: block; overflow-wrap: anywhere; }
.stat__label { display: block; margin-top: .5rem; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.4; }
.section--sand .stat, .section--cream .stat { background: #fff; border-color: var(--line); }
.section--sand .stat__value, .section--cream .stat__value { color: var(--deep); }
.section--sand .stat__label, .section--cream .stat__label { color: var(--muted); }

.band {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-3) 100%); color: var(--on-dark);
  padding: clamp(2rem, 5vw, 3.6rem); display: grid; gap: 1.6rem; align-items: center;
}
.band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215,169,90,.28) 0%, rgba(215,169,90,0) 70%); pointer-events: none;
}
.band h2, .band h3 { color: #fff; }
.band p { color: var(--on-dark-muted); }
.band--gold { background: linear-gradient(135deg, #f1dfbd 0%, var(--gold) 100%); color: var(--ink); }
.band--gold h2, .band--gold h3 { color: var(--ink); }
.band--gold p { color: #3d3122; }
.band--gold::after { background: radial-gradient(circle, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 70%); }
@media (min-width: 900px) { .band { grid-template-columns: 1.4fr auto; } }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3, .feature h4 { margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: .98rem; }
.dark .feature__icon { background: rgba(255,255,255,.1); color: var(--gold); }
.dark .feature p { color: var(--on-dark-muted); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline li { position: relative; padding-left: 2.4rem; margin: 0 0 1.4rem; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--gold); }
.timeline strong { display: block; color: var(--deep); font-size: 1.05rem; }
.timeline p { color: var(--muted); margin: .2rem 0 0; font-size: .98rem; }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { margin: 0; }

.two-col { columns: 2; column-gap: 2.5rem; }
@media (max-width: 760px) { .two-col { columns: 1; } }

.callout {
  display: grid; gap: 1.2rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.callout--gold { border-left: 5px solid var(--gold); }
.callout--teal { border-left: 5px solid var(--teal); }
.callout--clay { border-left: 5px solid var(--clay); }
.callout h3 { margin-bottom: .2rem; }

.compare { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.compare__col--accent { border-top: 5px solid var(--gold); }
.compare__col--teal { border-top: 5px solid var(--teal); }
.compare__col h3 { display: flex; align-items: center; gap: .6rem; }
.compare__col h3 svg { width: 26px; height: 26px; flex: none; color: var(--gold-deep); }
.dark .compare__col h3 svg { color: var(--gold); }
h2 > svg, h3 > svg { width: 1.05em; height: 1.05em; flex: none; }

/* 8. Cards --------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover, .card:focus-within { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badges { position: absolute; left: .8rem; top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.card__badges .chip { background: rgba(255,253,249,.94); backdrop-filter: blur(4px); box-shadow: var(--shadow-sm); }
.card__body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__kicker { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.card__title { font-size: 1.32rem; margin: 0; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-size: .84rem; color: var(--muted); }
.card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.card__meta svg { width: 14px; height: 14px; color: var(--teal); }
.card__text { color: var(--muted); font-size: .96rem; margin: 0; }
.card__price { font-weight: 700; color: var(--deep); font-size: .94rem; }
.card__price small { display: block; font-weight: 500; color: var(--muted); }
.card__actions { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem; position: relative; z-index: 1; }
.card__actions .btn { flex: 1 1 auto; }
.card--plain { box-shadow: none; }
.card--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--on-dark); }
.card--dark .card__title, .card--dark h3 { color: #fff; }
.card--dark .card__text, .card--dark .card__meta { color: var(--on-dark-muted); }
.card--dark .card__price { color: #fff; }
.card--accent { border-top: 4px solid var(--gold); }
.card--icon .card__body { padding-top: 1.5rem; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); margin-bottom: .4rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card--dark .card__icon { background: rgba(255,255,255,.1); color: var(--gold); }

.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .2rem 0; }
.spec div { background: var(--sand); border-radius: 10px; padding: .5rem .6rem; text-align: center; font-size: .8rem; color: var(--muted); }
.spec strong { display: block; color: var(--deep); font-size: 1rem; }
.card--dark .spec div { background: rgba(255,255,255,.08); color: var(--on-dark-muted); }
.card--dark .spec strong { color: #fff; }

/* Image tiles (amenity grids) */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow-sm); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,39,48,0) 35%, rgba(11,39,48,.9) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile__body { padding: 1.3rem; }
.tile__body h3 { color: #fff; margin-bottom: .2rem; font-size: 1.35rem; }
.tile__body p { color: rgba(255,255,255,.85); font-size: .92rem; margin: 0; }
.tile--wide { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .tile--span2 { grid-column: span 2; } }

/* 9. Carousel ------------------------------------------------------------ */
.carousel { --per-view: 1; --gap: 1.1rem; position: relative; min-width: 0; max-width: 100%; }
@media (min-width: 640px) { .carousel { --per-view: 2; } }
@media (min-width: 960px) { .carousel { --per-view: 3; } }
@media (min-width: 1200px) { .carousel { --per-view: 4; } }
.carousel[data-max="3"] { --per-view: 1; }
@media (min-width: 640px) { .carousel[data-max="3"] { --per-view: 2; } }
@media (min-width: 960px) { .carousel[data-max="3"] { --per-view: 3; } }
.carousel[data-max="2"] { --per-view: 1; }
@media (min-width: 760px) { .carousel[data-max="2"] { --per-view: 2; } }

.carousel__viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: .6rem .2rem 1.2rem; margin: -.6rem -.2rem -1.2rem;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: var(--gap); }
.carousel__slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; display: flex;
}
.carousel__slide > * { width: 100%; }
.carousel__slide.is-filtered { display: none; }

.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.carousel__nav { display: flex; gap: .6rem; }
.carousel__btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: #fff; color: var(--deep); cursor: pointer; display: grid; place-items: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover:not([disabled]) { background: var(--deep); color: #fff; border-color: var(--deep); transform: translateY(-2px); }
.carousel__btn[disabled] { opacity: .35; cursor: default; }
.dark .carousel__btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; }
.dark .carousel__btn:hover:not([disabled]) { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.carousel__dots { display: flex; gap: .45rem; flex-wrap: wrap; }
.carousel__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line-strong); cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.carousel__dot[aria-current="true"] { background: var(--gold); transform: scale(1.35); }
.dark .carousel__dot { background: rgba(255,255,255,.3); }
.dark .carousel__dot[aria-current="true"] { background: var(--gold); }
.carousel__count { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dark .carousel__count { color: var(--on-dark-muted); }

/* Mobile only carousel: one card at a time with swipe below 760px, the
   original grid or list layout from 760px up. */
@media (min-width: 760px) {
  .carousel--mobile { --per-view: 99; }
  .carousel--mobile .carousel__viewport { overflow: visible; scroll-snap-type: none; padding: 0; margin: 0; }
  .carousel--mobile .carousel__track { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
  .carousel--mobile.carousel--grid-3 .carousel__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .carousel--mobile.carousel--list .carousel__track { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .carousel--mobile .carousel__slide { flex: none; width: auto; display: block; }
  .carousel--mobile .carousel__controls { display: none; }
}
@media (min-width: 760px) and (max-width: 1080px) {
  .carousel--mobile.carousel--grid-3 .carousel__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .carousel--mobile { --per-view: 1; }
  .carousel--mobile .feature { flex-direction: column; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); height: 100%; }
}

.distance { list-style: none; margin: 0; padding: 0; }
.distance .carousel__slide { margin: 0; }
.distance__card { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; width: 100%; padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.distance__card strong { color: var(--deep); display: block; }
.distance__card small { color: var(--muted); display: block; }
.distance__card em { font-style: normal; font-weight: 700; color: var(--teal); white-space: nowrap; font-size: .95rem; text-align: right; }
@media (max-width: 759px) {
  .distance__card { grid-template-columns: minmax(0, 1fr); padding: 1.3rem 1.3rem 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); min-height: 150px; align-content: start; }
  .distance__card strong { font-size: 1.2rem; }
  .distance__card em { font-size: 1.15rem; text-align: left; white-space: normal; padding-top: .3rem; border-top: 1px solid var(--line); margin-top: .2rem; }
}

/* 10. Tabs and filters --------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filter-btn {
  padding: .55rem 1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong);
  background: #fff; color: var(--deep); font: 600 .88rem var(--sans); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--deep); transform: translateY(-1px); }
.filter-btn[aria-pressed="true"], .filter-btn[aria-selected="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.dark .filter-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); color: #fff; }
.dark .filter-btn[aria-pressed="true"], .dark .filter-btn[aria-selected="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.tabs__list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.tabs__list .filter-btn { font-size: .95rem; padding: .7rem 1.25rem; }
.tabs__panel[hidden] { display: none; }
.tabs__intro { display: grid; gap: 1.2rem; align-items: center; margin-bottom: 1.6rem; }
@media (min-width: 860px) { .tabs__intro { grid-template-columns: 1fr auto; } }
.tabs__intro h3 { margin: 0 0 .2rem; }
.tabs__intro p { margin: 0; color: var(--muted); }
.dark .tabs__intro p { color: var(--on-dark-muted); }

/* 11. Tables and FAQ ----------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
table.data th, table.data td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--deep); color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
table.data tbody tr:nth-child(even) { background: var(--sand); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td strong { color: var(--deep); }
table.data caption { caption-side: bottom; text-align: left; font-size: .85rem; color: var(--muted); padding: .8rem 1rem; }

.faq { display: grid; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; font-weight: 700; color: var(--deep); font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23103744' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat; transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--teal); }
.faq__body { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq__body p:last-child { margin-bottom: 0; }

/* 12. Forms -------------------------------------------------------------- */
.request { background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%); color: var(--on-dark); }
.request__grid { display: grid; gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
@media (min-width: 1000px) { .request__grid { grid-template-columns: .85fr 1.15fr; } }
.request__aside h2 { color: #fff; }
.request__aside p { color: var(--on-dark-muted); }
.request__contact { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.request__contact li { margin: 0; display: flex; gap: .8rem; align-items: center; }
.request__contact svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.request__contact a { color: #fff; text-decoration: none; font-weight: 600; }
.request__contact a:hover { color: var(--gold); }
.request__agent { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.request__agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.request__agent strong { display: block; color: #fff; }
.request__agent span { font-size: .9rem; color: var(--on-dark-muted); }

.form { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-lg); }
.form__grid { display: grid; gap: 1rem 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--deep); }
.field label .req { color: var(--clay); margin-left: .15rem; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  font: 500 1rem var(--sans); color: var(--text);
  background: var(--cream); border: 1.5px solid var(--line-strong); border-radius: 12px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.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='%23103744' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; padding-right: 2.6rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(29,107,119,.14); background: #fff; outline: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--clay); background: #fff8f4; }
.field__error { font-size: .84rem; color: #a5461a; font-weight: 600; display: none; }
.field.is-invalid .field__error { display: block; }
.field__hint { font-size: .82rem; color: var(--muted); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin: .15rem 0 0; flex: none; accent-color: var(--deep); appearance: auto; -webkit-appearance: auto; }
.consent a { color: var(--teal); }
.form__status { display: none; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; line-height: 1.5; }
.form__status.is-error { display: block; background: #fdeee6; color: #8a3f1c; border: 1px solid #f2c9b4; }
.form__status.is-success { display: block; background: var(--green-soft); color: #1f5a41; border: 1px solid #bfe0cc; }
.form__status.is-info { display: block; background: var(--teal-soft); color: #14515b; border: 1px solid #bcdbe0; }
.form__footer { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: .4rem; }
.form__fine { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; }
.form__fine a { color: var(--teal); }
.form__source { font-size: .84rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.form__source strong { color: var(--deep); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.g-recaptcha { min-height: 78px; }
.g-recaptcha > div { max-width: 100%; }
@media (max-width: 360px) { .g-recaptcha { transform: scale(.88); transform-origin: 0 0; } }

/* 13. Magaly section, footer, floating CTA ------------------------------- */
.agent { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .agent { grid-template-columns: .9fr 1.1fr; } }
.agent__photo { position: relative; max-width: 460px; }
.agent__photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; }
.agent__photo::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border-radius: var(--radius); border: 2px solid var(--gold); z-index: -1; opacity: .7; }
.agent__card { position: absolute; left: -1rem; bottom: 1.6rem; background: #fff; border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow); font-size: .84rem; color: var(--muted); }
.agent__card strong { display: block; color: var(--deep); font-size: 1rem; }
@media (max-width: 600px) { .agent__photo { margin: 0 1rem 0 0; } .agent__card { left: .6rem; } }
.agent__name { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .2rem; }
.agent__title { font-weight: 700; color: var(--gold-deep); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1.2rem; }
.agent__links { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.agent__links li { margin: 0; display: flex; align-items: center; gap: .75rem; }
.agent__links svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.agent__links a { color: var(--deep); font-weight: 600; text-decoration: none; }
.agent__links a:hover { color: var(--teal); text-decoration: underline; }
.social { display: flex; gap: .6rem; }
.social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); color: var(--deep); transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.social a:hover { background: var(--deep); color: #fff; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.dark .social a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }
.dark .social a:hover { background: var(--gold); color: var(--ink); }

.brokerage { background: var(--sand); border-top: 1px solid var(--line); }
.brokerage .shell { display: grid; gap: 1.6rem; align-items: center; padding-top: 2.6rem; padding-bottom: 2.6rem; }
@media (min-width: 860px) { .brokerage .shell { grid-template-columns: auto 1fr; gap: 2.6rem; } }
.brokerage__logo img { width: 240px; max-width: 100%; height: auto; }
.brokerage__text { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.brokerage__text strong { color: var(--deep); }

.site-footer { background: var(--deep-2); color: var(--on-dark-muted); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; margin-bottom: 1rem; }
.footer-brand .brand__mark { width: 40px; height: 40px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: var(--gold); }
.footer-agent { margin: 0 0 1rem; }
.footer-agent a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.footer-agent a:hover { color: var(--gold); }
.footer-agent span { display: block; font-size: .85rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-list li { margin: 0; }
.footer-list a { color: var(--on-dark-muted); text-decoration: none; transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.footer-list a:hover { color: #fff; padding-left: .2rem; }
.footer-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--gold); }
.footer-logo { margin-top: 1.4rem; display: inline-block; background: #fff; padding: .7rem .9rem; border-radius: 12px; }
.footer-logo img { width: 190px; height: auto; }
.footer-legal { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.62); }
.footer-legal p { margin-bottom: .8rem; }
.footer-legal strong { color: rgba(255,255,255,.85); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { color: var(--gold); }
.eho { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .8rem; }
.eho svg { width: 18px; height: 18px; }

.float-cta {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translate(-50%, 120%);
  z-index: 800; display: inline-flex; align-items: center; gap: .6rem;
  min-height: 54px; padding: .9rem 1.5rem; border-radius: var(--radius-pill);
  background: var(--gold); color: var(--ink); font: 800 1rem var(--sans); text-decoration: none;
  box-shadow: 0 14px 34px rgba(13,27,34,.28); border: 2px solid rgba(255,255,255,.8);
  transition: transform .4s var(--ease), opacity .4s var(--ease); opacity: 0; white-space: nowrap;
}
.float-cta svg { width: 20px; height: 20px; }
.float-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 1280px) { .float-cta { display: none; } }
body.has-float { padding-bottom: 76px; }
@media (min-width: 1280px) { body.has-float { padding-bottom: 0; } }

/* 14. Map, misc ---------------------------------------------------------- */
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--deep); aspect-ratio: 16 / 10; box-shadow: var(--shadow); color: #fff; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame__cta { position: relative; z-index: 1; max-width: 460px; }
.map-frame__cta h3 { color: #fff; }
.map-frame__cta p { color: var(--on-dark-muted); font-size: .92rem; }
.map-frame::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(29,107,119,.5), transparent 60%), radial-gradient(circle at 75% 70%, rgba(47,122,91,.5), transparent 55%); }
.map-frame.is-loaded::before, .map-frame.is-loaded .map-frame__cta { display: none; }


.geo-map { width: 100%; height: auto; border-radius: var(--radius); background: #eaf2ee; box-shadow: var(--shadow-sm); }
.geo-map text { font-family: var(--sans); }

.legal { font-size: 1rem; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.4rem; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.legal ul { color: var(--text); }
.legal .updated { color: var(--muted); font-size: .9rem; }

.confirm { text-align: center; max-width: 720px; margin: 0 auto; }
.confirm__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.confirm__icon svg { width: 40px; height: 40px; }

.source-line { font-size: .82rem; color: var(--muted); }

/* 15. Motion ------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-26px); }
.js [data-reveal="right"] { transform: translateX(26px); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-visible > :nth-child(2) { transition-delay: .08s; }
.js [data-reveal-group].is-visible > :nth-child(3) { transition-delay: .16s; }
.js [data-reveal-group].is-visible > :nth-child(4) { transition-delay: .24s; }
.js [data-reveal-group].is-visible > :nth-child(5) { transition-delay: .32s; }
.js [data-reveal-group].is-visible > :nth-child(6) { transition-delay: .40s; }
.js [data-reveal-group].is-visible > :nth-child(n+7) { transition-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  html.smooth-scroll { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
  .js .hero__media img { transform: none; animation: none; }
  .carousel__viewport { scroll-behavior: auto; }
}

/* 16. Print -------------------------------------------------------------- */
@media print {
  .site-top, .site-header, .topbar, .mobile-nav, .float-cta, .request, .hero__scroll, .carousel__controls { display: none !important; }
  body { background: #fff; color: #000; }
  a::after { content: none !important; }
}
