/* =========================================================
   Valencia Sky Naples Florida | Magaly Moreno, REALTOR®
   Native CSS, no framework. Mobile first.
   ========================================================= */

:root {
  --ink: #0c1e2f;
  --ink-2: #14304a;
  --ink-3: #1f4160;
  --ivory: #f8f4ed;
  --sand: #efe7da;
  --sand-2: #e5dbc9;
  --white: #ffffff;
  --gold: #c19a5b;
  --gold-2: #a8823f;
  --gold-soft: #f3e9d6;
  --sky: #3f89b3;
  --sky-soft: #e4eff5;
  --text: #1f2a35;
  --muted: #5d6b79;
  --line: rgba(12, 30, 47, 0.12);
  --open: #1c7a58;
  --open-bg: #e1f3ea;
  --soon: #a2620f;
  --soon-bg: #fcefdc;
  --danger: #b43c2f;

  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(12, 30, 47, 0.08);
  --shadow: 0 18px 50px rgba(12, 30, 47, 0.14);
  --shadow-lg: 0 30px 80px rgba(12, 30, 47, 0.22);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --gap: 1.5rem;
  --header-h: 84px;
  --mobile-bar-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: .75rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.25rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { margin-top: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.text-gold { color: var(--gold-2); }
.small { font-size: .9rem; color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.86); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lead, .section--ink .note { color: rgba(255,255,255,.7); }
.section--ink .eyebrow { color: var(--gold); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px rgba(193,154,91,.35); }
.btn--primary:hover { background: var(--gold-2); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-3); }
.btn--light { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.55); backdrop-filter: blur(8px); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.section--ink .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.section--ink .btn--ghost:hover { border-color: var(--white); }
.btn--sm { padding: .7rem 1.15rem; font-size: .86rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.text-link { font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.text-link:hover { color: var(--gold-2); }

/* ---------- Status chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip--open { background: var(--open-bg); color: var(--open); }
.chip--soon { background: var(--soon-bg); color: var(--soon); }
.chip--neutral { background: var(--sky-soft); color: var(--ink-3); }
.chip--neutral::before { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 200;
  transition: background-color .4s, box-shadow .4s, padding .4s, backdrop-filter .4s;
  color: var(--white);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); transition: min-height .4s; }
.header.is-scrolled, .header--solid {
  background: rgba(248, 244, 237, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.header.is-scrolled .header__inner { min-height: 68px; }

/* Brand wordmark. Replace the inner markup with an <img> once the Magaly Moreno logo file is supplied. */
.brand { display: inline-flex; flex-direction: column; line-height: 1; gap: .2rem; }
.brand__name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; }
.brand__title { font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.brand__name em { font-style: normal; color: var(--gold); }

.nav { display: none; }
.nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; }
.nav__link { font-size: .92rem; font-weight: 600; opacity: .92; position: relative; padding: .35rem 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.nav__link:hover::after, .nav__link:focus-visible::after { width: 100%; }
.header__actions { display: none; align-items: center; gap: .75rem; }
.header__phone { font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; }
.header__phone svg { width: 18px; height: 18px; }

.menu-btn {
  display: inline-flex; align-items: center; gap: .6rem; background: transparent; border: 1.5px solid currentColor; border-radius: 999px; padding: .55rem .95rem; font-weight: 700; font-size: .85rem;
}
.menu-btn__bars { position: relative; width: 20px; height: 12px; }
.menu-btn__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s, top .35s; }
.menu-btn__bars span:nth-child(1) { top: 0; }
.menu-btn__bars span:nth-child(2) { top: 5px; }
.menu-btn__bars span:nth-child(3) { top: 10px; }
body.nav-open .menu-btn__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.nav-open .menu-btn__bars span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__actions { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Mobile panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 190; background: var(--ink); color: var(--white);
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s; }
body.nav-open { overflow: hidden; }
body.nav-open .header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-nav__list { list-style: none; display: grid; gap: .25rem; }
.mobile-nav__link { display: block; font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.8rem); padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav__link:hover { color: var(--gold); }
.mobile-nav__foot { display: grid; gap: .8rem; padding-top: 1.5rem; }
.mobile-nav__foot a { font-weight: 600; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate;
  padding-block: calc(var(--header-h) + 3rem) clamp(4rem, 9vw, 7rem);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; will-change: transform; transform: scale(1.06); animation: heroZoom 7s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,30,47,.45) 0%, rgba(12,30,47,.05) 35%, rgba(12,30,47,.35) 70%, rgba(12,30,47,.85) 100%);
}
.hero__content { max-width: 820px; }
.hero__kicker { display: inline-flex; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.hero__kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 { color: var(--white); text-wrap: balance; }
.hero__sub { margin-top: 1rem; max-width: 680px; font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 500; line-height: 1.35; color: rgba(255,255,255,.95); text-wrap: balance; }
.hero__kicker, .hero h1, .hero__sub { text-shadow: 0 2px 24px rgba(12,30,47,.35); }
.hero__lead { margin-top: 1.4rem; max-width: 620px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.88); }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__status { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__status .chip { background: rgba(255,255,255,.14); color: var(--white); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); }
.hero__status .chip--open::before { background: #5fd3a4; }
.hero__status .chip--soon::before { background: #f2b866; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 2rem; display: none; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.8); writing-mode: vertical-rl;
}
.scroll-cue span { width: 1px; height: 56px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { top: -100%; } 60%, 100% { top: 100%; } }
@media (min-width: 900px) { .scroll-cue { display: flex; } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat__value { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.7rem); color: var(--ink); line-height: 1; }
.stat__label { display: block; margin-top: .45rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 0; }
}

/* ---------- Intro ---------- */
.intro__media { position: relative; }
.intro__media .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.intro__media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro__media .frame:hover img { transform: scale(1.04); }
.intro__media .frame--small { position: absolute; right: -6%; bottom: -8%; width: 48%; aspect-ratio: 4 / 3; border: 6px solid var(--ivory); box-shadow: var(--shadow); }
.intro__list { margin-top: 1.75rem; display: grid; gap: .9rem; list-style: none; }
.intro__list li { display: flex; gap: .85rem; align-items: flex-start; }
.intro__list svg { flex: none; width: 22px; height: 22px; color: var(--gold-2); margin-top: .15rem; }
.intro__list strong { color: var(--ink); }
@media (max-width: 899px) { .intro__media { margin-bottom: 3rem; } .intro__media .frame--small { right: 0; bottom: -10%; } }

/* ---------- Status section ---------- */
.status-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 900px) { .status-grid { grid-template-columns: 1fr 1fr; } }
.status-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; }
.status-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.status-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.status-card:hover .status-card__media img { transform: scale(1.05); }
.status-card__media .chip { position: absolute; top: 1rem; left: 1rem; box-shadow: var(--shadow-sm); }
.status-card__body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.status-card__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.status-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; margin-top: .25rem; }
.status-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.status-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: .55rem; background: var(--gold); }
.status-card--open .status-list li::before { background: var(--open); }
.status-card--soon .status-list li::before { background: var(--soon); }
.status-card__foot { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.status-card__foot .note { flex: 1 1 220px; }

/* ---------- Carousel ---------- */
.carousel { --n: 1; position: relative; }
.carousel__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.carousel__controls { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.carousel__count { font-size: .85rem; font-weight: 700; color: var(--muted); min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), opacity .3s;
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.carousel__btn:disabled { opacity: .35; cursor: default; transform: none; background: var(--white); color: var(--ink); border-color: var(--line); }
.section--ink .carousel__btn { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.section--ink .carousel__btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.section--ink .carousel__btn:disabled { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.section--ink .carousel__count { color: rgba(255,255,255,.65); }
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n));
  gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: .5rem .25rem 1.5rem; margin: -.5rem -.25rem -1rem;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; min-width: 0; }
.carousel__track:focus-visible { outline-offset: 6px; }
@media (min-width: 640px) { .carousel { --n: 2; } }
@media (min-width: 1024px) { .carousel { --n: 4; } }
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn {
  border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: .55rem 1rem; font-size: .84rem; font-weight: 700; color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--ink .filter-btn { color: var(--white); border-color: rgba(255,255,255,.3); }
.section--ink .filter-btn:hover { border-color: var(--white); }
.section--ink .filter-btn[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.filters-empty { padding: 2rem; text-align: center; color: var(--muted); }

/* ---------- Cards (lifestyle) ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 100%;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media .chip { position: absolute; top: .9rem; left: .9rem; box-shadow: var(--shadow-sm); }
.card__body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body h3 { font-size: 1.45rem; }
.card__body p { font-size: .95rem; color: var(--muted); }
.card__meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.card__foot { margin-top: auto; padding-top: .6rem; }

/* Branded card */
.card--brand { background: var(--ink); color: var(--white); border: 0; justify-content: center; text-align: center; padding: 2rem 1.5rem; gap: 1rem; }
.card--brand .brand-logo { background: var(--white); border-radius: var(--radius-sm); padding: 1rem 1.2rem; width: min(100%, 250px); margin-inline: auto; }
.card--brand .brand-logo img { width: 100%; }
.card--brand h3 { color: var(--white); font-size: 1.6rem; }
.card--brand p { font-size: .9rem; color: rgba(255,255,255,.75); }
.card--brand a { font-weight: 700; color: var(--white); }
.card--brand a:hover { color: var(--gold); }
.card--brand .card__contact { display: grid; gap: .3rem; font-size: 1rem; }
.card--brand .card__disc { font-size: .78rem; color: rgba(255,255,255,.55); }

/* ---------- Homes ---------- */
.mosaic { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.mosaic figure { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: .9rem; bottom: .9rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: rgba(12,30,47,.55); padding: .35rem .7rem; border-radius: 999px; backdrop-filter: blur(6px); }
@media (min-width: 800px) {
  .mosaic { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .mosaic figure:first-child { grid-row: span 2; aspect-ratio: auto; }
}

.home-card {
  display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.home-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.home-card__head {
  padding: 1.5rem 1.5rem 1.25rem; color: var(--white);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 70%, #2f6389 100%);
  position: relative; overflow: hidden;
}
.home-card__head::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(193,154,91,.45), transparent 70%); }
.home-card__plan { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.home-card__head h3 { color: var(--white); font-size: 2rem; margin-top: .25rem; }
.home-card__tag { font-size: .88rem; color: rgba(255,255,255,.75); margin-top: .2rem; }
.home-card__specs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.home-card__specs > div { padding: .9rem .6rem; text-align: center; border-right: 1px solid var(--line); }
.home-card__specs > div:nth-child(3n) { border-right: 0; }
.home-card__specs > div:nth-child(n+4) { border-top: 1px solid var(--line); }
.home-card__specs dt { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.home-card__specs dd { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1.1; margin-top: .15rem; }
.home-card__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.home-card__price { font-size: .85rem; color: var(--muted); }
.home-card__price strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); font-weight: 600; line-height: 1.1; }
.home-card__body p { font-size: .93rem; color: var(--muted); }
.home-card__actions { margin-top: auto; display: grid; gap: .5rem; padding-top: .5rem; }
.pricing-note { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); max-width: 900px; }

/* ---------- Early Move In ---------- */
.emi { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1000px) { .emi { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.emi__panel { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.emi__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.emi__panel-head strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.table-wrap { overflow-x: auto; }
table.emi-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.emi-table th, .emi-table td { text-align: left; padding: .85rem 1.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.emi-table th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; background: var(--ivory); }
.emi-table td:first-child { font-weight: 700; color: var(--ink); }
.emi-table tr:last-child td { border-bottom: 0; }
.emi-table .now { color: var(--open); font-weight: 800; }
.emi__details { padding: 1rem 1.4rem; border-top: 1px solid var(--line); }
.emi__details summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; align-items: center; gap: .5rem; }
.emi__details summary::-webkit-details-marker { display: none; }
.emi__details summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--gold-2); }
.emi__details[open] summary::after { content: "−"; }
.emi__details .table-wrap { margin: 1rem -1.4rem 0; }
.emi__details .emi-table th, .emi__details .emi-table td { padding-inline: 1.4rem; font-size: .86rem; }
.emi__highlights { display: grid; gap: 1rem; margin-block: 1.5rem; }
.emi__highlight { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.emi__highlight b { font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; min-width: 2.2ch; }
.emi__highlight span { font-size: .95rem; color: var(--muted); }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 960px) { .location { grid-template-columns: 1fr 1.1fr; align-items: stretch; } }
.location__card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.5rem; }
.address { display: flex; gap: 1rem; align-items: flex-start; }
.address svg { flex: none; width: 26px; height: 26px; color: var(--gold-2); }
.address strong { display: block; font-size: 1.15rem; color: var(--ink); }
.poi { list-style: none; display: grid; gap: .8rem; }
.poi li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; }
.poi svg { flex: none; width: 20px; height: 20px; color: var(--sky); margin-top: .15rem; }
.poi strong { color: var(--ink); }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: var(--ink);
}
.map__bg { position: absolute; inset: 0; }
.map__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.map__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 2rem; color: var(--white); background: linear-gradient(180deg, rgba(12,30,47,.2), rgba(12,30,47,.75)); }
.map__overlay p { max-width: 380px; font-size: .95rem; color: rgba(255,255,255,.85); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.directions { font-size: .92rem; color: var(--muted); padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- About Magaly ---------- */
.about__photo { position: relative; max-width: 460px; margin-inline: auto; }
.about__photo .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.about__photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about__photo::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.about__badge { position: absolute; left: -1rem; bottom: 2rem; background: var(--white); border-radius: var(--radius-sm); padding: .9rem 1.1rem; box-shadow: var(--shadow); display: grid; gap: .1rem; }
.about__badge strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.about__badge span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-2); }
.about__badge img { width: 130px; margin-top: .4rem; }
.contact-list { list-style: none; display: grid; gap: .75rem; margin-top: 1.75rem; }
.contact-list li a, .contact-list li span { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--ink); }
.contact-list svg { width: 20px; height: 20px; color: var(--gold-2); flex: none; }
.contact-list a:hover { color: var(--gold-2); }
.social { display: flex; gap: .6rem; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.social a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.help-grid { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 600px) { .help-grid { grid-template-columns: 1fr 1fr; } }
.help { padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.help strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.help p { font-size: .9rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.4rem; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 0; font-weight: 700; color: var(--ink); font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--gold-2); border-bottom: 2px solid var(--gold-2); transform: rotate(45deg); transition: transform .3s var(--ease); margin-right: .25rem; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq .faq__a { padding: 0 0 1.3rem; color: var(--muted); }

/* ---------- Request form ---------- */
.request { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1000px) { .request { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.request__aside { display: grid; gap: 1.5rem; }
.request__aside .lead { color: rgba(255,255,255,.75); }
.request__aside .contact-list a { color: var(--white); }
.request__aside .contact-list svg { color: var(--gold); }
.request__aside .social a { color: var(--white); border-color: rgba(255,255,255,.3); }
.request__aside .social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.request__points { list-style: none; display: grid; gap: .6rem; font-size: .95rem; color: rgba(255,255,255,.8); }
.request__points li { display: flex; gap: .6rem; }
.request__points li::before { content: "✓"; color: var(--gold); font-weight: 800; }
.form-card { background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.7rem; }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); margin-bottom: .4rem; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--ivory);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; min-height: 50px;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230c1e2f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: var(--white); box-shadow: 0 0 0 4px rgba(63,137,179,.15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { display: none; margin-top: .35rem; font-size: .82rem; color: var(--danger); font-weight: 600; }
.field.is-invalid .field__error { display: block; }
.form-consent { font-size: .82rem; color: var(--muted); }
.form-consent a { text-decoration: underline; }
.form-status { display: none; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; }
.form-status.is-error { display: block; background: #fbe7e4; color: var(--danger); }
.form-status.is-info { display: block; background: var(--sky-soft); color: var(--ink-3); }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.request > * { min-width: 0; }
.form-card { overflow: hidden; }
.rc-wrap { max-width: 100%; overflow: hidden; }
.g-recaptcha { transform-origin: left top; }
@media (max-width: 420px) { .g-recaptcha { transform: scale(.9); } .rc-wrap { height: 70px; } }
@media (max-width: 350px) { .g-recaptcha { transform: scale(.77); } .rc-wrap { height: 60px; } }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: var(--white); padding-block: clamp(4rem, 8vw, 6.5rem); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,30,47,.88) 0%, rgba(12,30,47,.55) 60%, rgba(12,30,47,.3) 100%); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin-top: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; font-size: .95rem; }
.footer .brand { color: var(--white); margin-bottom: 1rem; }
.footer__contact { display: grid; gap: .5rem; font-size: .95rem; }
.footer__contact a { color: var(--white); font-weight: 600; }
.footer__broker { background: var(--white); border-radius: var(--radius-sm); padding: 1rem 1.2rem; display: inline-block; }
.footer__broker img { width: 200px; }
.footer__disc { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; line-height: 1.7; display: grid; gap: .9rem; color: rgba(255,255,255,.6); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; align-items: center; margin-top: 1.5rem; font-size: .82rem; }
.footer__legal ul { display: flex; gap: 1.25rem; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: grid; grid-template-columns: 1fr auto; gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(248,244,237,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 var(--line), 0 -10px 30px rgba(12,30,47,.08);
  transform: translateY(0); transition: transform .45s var(--ease), opacity .3s;
}
.mobile-cta.is-hidden { transform: translateY(110%); }
.mobile-cta .btn { padding-block: .85rem; }
.mobile-cta__phone { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.mobile-cta__phone svg { width: 20px; height: 20px; }
body.nav-open .mobile-cta { transform: translateY(110%); }
@media (max-width: 1023px) { body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; z-index: 160; left: var(--gutter); right: var(--gutter); bottom: calc(var(--mobile-bar-h) + .75rem + env(safe-area-inset-bottom, 0px));
  background: var(--white); color: var(--text); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 1rem 1.1rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-size: .86rem;
}
.cookie p { flex: 1 1 260px; }
.cookie a { text-decoration: underline; font-weight: 600; }
@media (min-width: 1024px) { .cookie { left: 1.5rem; right: auto; bottom: 1.5rem; max-width: 460px; } }

/* ---------- Legal pages ---------- */
.page-hero { padding: calc(var(--header-h) + 4rem) 0 3rem; background: var(--sand); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.7rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.legal h3 { font-size: 1.25rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.legal p, .legal li { color: var(--text); }
.legal p { margin-bottom: 1rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .4rem; margin-bottom: 1rem; }
.legal .meta { color: var(--muted); font-size: .9rem; }
.breadcrumb { list-style: none; display: flex; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* Thank you */
.thanks { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; background: var(--sand); }
.thanks__card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(2rem, 5vw, 3.5rem); max-width: 720px; text-align: center; display: grid; gap: 1.25rem; justify-items: center; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--open-bg); color: var(--open); display: grid; place-items: center; }
.thanks__icon svg { width: 34px; height: 34px; }
.thanks__card h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.thanks__broker { margin-top: 1rem; display: grid; gap: .5rem; justify-items: center; font-size: .85rem; color: var(--muted); }
.thanks__broker img { width: 200px; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; animation: none; }
}
