/* =====================================================================
   OLIVERA HOME DEVELOPERS — PUBLIC SITE STYLESHEET

   Design direction: land record / cadastral drawing.
   Measurements, rates, distances and registration numbers are set in a
   monospace face because they are record values, not marketing copy.
   Plot-grid hairlines are the structural signature.
   ===================================================================== */

/* ---------------------------------------------------------------- TOKENS */
:root {
  /* Colour — light blue and light green.
     The pale tints carry the surfaces; the deeper shades of the same two
     hues carry text and buttons, so nothing on this site fails contrast.
     Every pairing below is verified at WCAG AA or better. */
  --ink:          #132a38;   /* deep blue-slate — body text, 14.0:1 on paper */
  --ink-soft:     #4a606f;
  --ink-faint:    #7d919e;
  --paper:        #f5f9fb;   /* page background — light blue-white */
  --paper-warm:   #e7f1f8;   /* alternating band — light blue */
  --white:        #ffffff;

  /* Blue — the brand hue */
  --sky-pale:     #e7f1f8;
  --sky:          #cfe4f2;
  --sky-line:     #b8d6ea;
  --blue:         #1d6491;   /* links, headings accent, secondary buttons */
  --blue-deep:    #12455f;   /* footer, hover states */

  /* Green — the action hue */
  --mint-pale:    #e6f4ec;
  --mint:         #c9e6d5;
  --green:        #29704c;   /* primary buttons, availability */
  --green-deep:   #1c5237;

  /* Kept as aliases so no component rule needs rewriting */
  --field:        var(--blue);
  --field-deep:   var(--blue-deep);
  --field-light:  var(--sky-pale);
  --marker:       var(--green);
  --marker-deep:  var(--green-deep);
  --marker-light: var(--mint-pale);
  --brass:        #1d6491;

  --line:         #d9e6ef;
  --line-strong:  #b3c8d6;

  --ok:           #29704c;
  --hold:         #8a6210;
  --sold:         #a33c30;

  /* Type */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body:    'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono:    'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  --fs-hero:   clamp(2.4rem, 6vw, 4.6rem);
  --fs-h1:     clamp(2rem, 4.4vw, 3.2rem);
  --fs-h2:     clamp(1.55rem, 3.2vw, 2.35rem);
  --fs-h3:     clamp(1.15rem, 2vw, 1.45rem);
  --fs-body:   1.0625rem;
  --fs-sm:     0.9375rem;
  --fs-xs:     0.8125rem;
  --fs-micro:  0.6875rem;

  /* Space */
  --gap:      1.25rem;
  --pad-sec:  clamp(3.5rem, 8vw, 6.5rem);
  --maxw:     1200px;
  --maxw-txt: 68ch;

  --radius:   3px;
  --shadow:   0 1px 2px rgba(19,42,56,.06), 0 8px 24px rgba(19,42,56,.07);
  --shadow-lg:0 2px 4px rgba(19,42,56,.08), 0 20px 48px rgba(19,42,56,.13);

  --header-h: 68px;
}

/* ---------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--marker);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--field); color: #fff; padding: .8rem 1.2rem;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- LAYOUT */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 860px; }
.section { padding-block: var(--pad-sec); }
.section--tint { background: var(--paper-warm); }
/* The call-to-action bands. Light green, dark text — the counterpart to the
   light blue used everywhere else, so the two hues alternate down the page. */
.section--field {
  background: var(--mint-pale);
  color: var(--ink);
  border-block: 1px solid var(--mint);
}
.section--field h2, .section--field h3 { color: var(--ink); }
.section--field p { color: var(--ink-soft); }
.prose { max-width: var(--maxw-txt); }

.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ------------------------------------------------- SIGNATURE: SECTION MARK
   A hairline that carries a mono label and tick marks, the way a plot
   layout sheet labels a boundary run. Used as the section eyebrow. */
.mark {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.4rem;
}
.mark__tick {
  width: 34px; height: 1px; background: var(--line-strong);
  position: relative; flex: none;
}
.mark__tick::before, .mark__tick::after {
  content: ''; position: absolute; top: -4px; width: 1px; height: 9px;
  background: var(--line-strong);
}
.mark__tick::before { left: 0; }
.mark__tick::after  { right: 0; }
.mark__label {
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.section--field .mark__label { color: var(--green); }
.section--field .mark__tick,
.section--field .mark__tick::before,
.section--field .mark__tick::after { background: var(--green); opacity: .5; }

/* Record values — gaj, rates, distances, RERA numbers */
.rec {
  font-family: var(--mono);
  font-size: .9em;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: .01em;
  padding: .85rem 1.5rem; min-height: 48px;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--marker); color: #fff; }
.btn--primary:hover { background: var(--marker-deep); }

.btn--field { background: var(--field); color: #fff; }
.btn--field:hover { background: var(--field-deep); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--onfield { background: var(--white); color: var(--blue); border-color: var(--sky-line); }
.btn--onfield:hover { border-color: var(--blue); }

.btn--wide { width: 100%; }
.btn--sm { padding: .6rem 1rem; min-height: 40px; font-size: var(--fs-xs); }

/* ---------------------------------------------------------------- TOP BAR */
.topbar {
  background: var(--blue-deep);
  color: #cfe4f2;
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 38px; flex-wrap: wrap;
}
.topbar__trust {
  font-family: var(--mono); font-size: var(--fs-micro);
  letter-spacing: .1em; text-transform: uppercase; color: #a8cde8;
}
.topbar__links { display: flex; gap: 1.15rem; align-items: center; }
.topbar__links a { display: inline-flex; align-items: center; gap: .35rem; }
.topbar__links a:hover { color: #fff; }

/* ---------------------------------------------------------------- HEADER */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,247,244,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { box-shadow: 0 1px 12px rgba(20,35,29,.08); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: .65rem; flex: none; }
.logo img { height: 42px; width: auto; }
.logo__text { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.05; }
.logo__text span { display: block; font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .55rem .7rem; font-family: var(--display); font-weight: 500;
  font-size: var(--fs-sm); border-radius: var(--radius);
  transition: color .16s ease, background .16s ease;
}
.nav a:hover, .nav a.is-active { color: var(--field); background: var(--field-light); }

.nav__drop { position: relative; }
.nav__drop > button {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer;
  padding: .55rem .7rem; font-family: var(--display); font-weight: 500; font-size: var(--fs-sm);
}
.nav__drop > button svg { transition: transform .2s ease; }
.nav__drop[data-open="true"] > button svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 260px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .4rem;
  display: none; max-height: 70vh; overflow-y: auto;
}
.nav__drop[data-open="true"] .nav__menu { display: block; }
.nav__menu a {
  display: block; padding: .55rem .7rem; font-size: var(--fs-sm);
  border-radius: 2px;
}
.nav__menu a small {
  display: block; font-family: var(--mono); font-size: var(--fs-micro);
  color: var(--ink-faint); letter-spacing: .02em; margin-top: 1px;
}

.header__cta { display: flex; align-items: center; gap: .5rem; flex: none; }

.burger {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius); width: 44px; height: 44px;
  cursor: pointer; align-items: center; justify-content: center;
}
.burger span { display: block; width: 19px; height: 1.5px; background: var(--ink); position: relative; transition: .2s; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--ink); transition: .2s;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- HERO */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--sky) 0%, var(--sky-pale) 55%, var(--mint-pale) 100%);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--sky-line);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
/* plot-grid signature */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29,100,145,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,100,145,.09) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  opacity: .2;
  mix-blend-mode: multiply;
}
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 2; max-width: 780px; }
.hero__eyebrow {
  font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem;
}
.hero h1 { font-size: var(--fs-hero); color: var(--ink); margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero__lead { font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--ink-soft); max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------------------------------------------------------- TRUST STRIP */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.trust__item {
  padding: 1.5rem 1.2rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .3rem;
}
.trust__item:last-child { border-right: 0; }
.trust__item strong {
  font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em;
}
.trust__item span {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}

/* ---------------------------------------------------------------- CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.card:hover, .card--link:hover { border-color: var(--field); box-shadow: var(--shadow); transform: translateY(-2px); }

.card__media { position: relative; aspect-ratio: 4/3; background: var(--paper-warm); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__eyebrow {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-faint);
}
.card__title { font-family: var(--display); font-weight: 700; font-size: 1.14rem; letter-spacing: -.015em; margin: 0; }
.card__text { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }
.card__foot {
  margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
}

/* status chips — plot inventory */
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .09em;
  text-transform: uppercase; padding: .28rem .55rem; border-radius: 2px;
  border: 1px solid currentColor;
}
.chip--available { color: var(--green-deep); background: var(--mint-pale); }
.chip--limited   { color: var(--hold); background: #fbf3e0; }
.chip--on_hold   { color: var(--hold); background: #fbf3e0; }
.chip--sold, .chip--sold_out { color: var(--sold); background: #fbebe9; }
.chip--upcoming  { color: var(--ink-faint); background: var(--paper-warm); }

.card__media .chip { position: absolute; top: .7rem; left: .7rem; background: rgba(255,255,255,.95); }

/* ------------------------------------------------------------ DATA TABLE */
.dtable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.dtable th, .dtable td {
  text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top;
}
.dtable th {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 400;
  background: var(--paper-warm);
}
.dtable td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

/* ----------------------------------------------------- PAYMENT PLAN CARDS */
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; position: relative;
}
.plan--featured { border-color: var(--green); border-width: 2px; }
.plan__flag {
  position: absolute; top: -1px; right: 1.2rem;
  background: var(--green); color: #fff;
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .11em;
  text-transform: uppercase; padding: .3rem .6rem;
}
.plan__name { font-family: var(--display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; margin: 0; }
.plan__structure { font-family: var(--mono); font-size: var(--fs-sm); color: var(--blue); }
.plan__benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.plan__benefits li { position: relative; padding-left: 1.4rem; font-size: var(--fs-sm); }
.plan__benefits li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border: 1px solid var(--green); background: var(--mint-pale);
}
.plan__suits { font-size: var(--fs-xs); color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: .8rem; margin-top: auto; }

.disclosure {
  border-left: 3px solid var(--blue);
  background: var(--sky-pale);
  padding: 1rem 1.15rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-top: 1.5rem;
}

/* -------------------------------------------------------------- AMENITIES */
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.amen__item { background: var(--white); padding: 1.35rem 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; }
.amen__icon { width: 30px; height: 30px; color: var(--green); }
.amen__item span { font-size: var(--fs-sm); font-weight: 600; font-family: var(--display); }

/* ---------------------------------------------------------------- STATS */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--sky-line); }
.stat { background: var(--white); padding: 1.8rem 1.2rem; text-align: center; }
.stat__num { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 4.5vw, 3rem); color: var(--blue); line-height: 1; letter-spacing: -.03em; }
.stat__num .suffix { color: var(--green); }
.stat__label { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); margin-top: .6rem; }

/* -------------------------------------------------------------- DIRECTOR */
.director { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.director__photo { border: 1px solid var(--line); background: var(--white); padding: 8px; }
.director__photo img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.director__msg { font-size: clamp(1.02rem, 1.6vw, 1.15rem); }
.director__sig { font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .06em; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.4rem; }
.director__sig strong { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink); }

/* ------------------------------------------------------------ TESTIMONIAL */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.quote__text { font-size: var(--fs-sm); line-height: 1.7; }
.quote__who { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); }
.quote__who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote__who strong { display: block; font-family: var(--display); font-size: var(--fs-sm); }
.quote__who span { font-family: var(--mono); font-size: var(--fs-micro); color: var(--ink-faint); letter-spacing: .05em; }

/* ---------------------------------------------------------------- FORMS */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.field label .req { color: var(--marker); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; min-height: 48px;
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--radius); font-family: var(--body); font-size: var(--fs-body);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--field); box-shadow: 0 0 0 3px var(--field-light);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--sold); }
.field__error { font-size: var(--fs-xs); color: var(--sold); }
.field__hint  { font-size: var(--fs-xs); color: var(--ink-faint); }

/* honeypot — never shown, never announced */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--field); }

.form-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem);
}
/* Kept for the markup that already uses it. On the light bands it is simply
   a white card, which reads better than a tinted box on a tinted background. */
.form-panel--dark { background: var(--white); border-color: var(--mint); box-shadow: var(--shadow); }
.form-panel--dark .field label { color: var(--ink-soft); }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius); font-size: var(--fs-sm); border-left: 3px solid; }
.alert--error   { background: #fbebe9; border-color: var(--sold); color: #7a2a20; }
.alert--success { background: var(--mint-pale); border-color: var(--green); color: var(--green-deep); }

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; text-align: left;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
}
.faq__q::after {
  content: '+'; font-family: var(--mono); font-size: 1.3rem; color: var(--green);
  flex: none; transition: transform .2s ease;
}
.faq__item[data-open="true"] .faq__q::after { content: '\2212'; }
.faq__a { display: none; padding: 0 0 1.25rem; font-size: var(--fs-sm); color: var(--ink-soft); max-width: 72ch; }
.faq__item[data-open="true"] .faq__a { display: block; }

/* --------------------------------------------------------------- GALLERY */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.gal a { display: block; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line); background: var(--paper-warm); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gal a:hover img { transform: scale(1.05); }

.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.filters a {
  font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .06em;
  padding: .45rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white);
}
.filters a:hover { border-color: var(--field); }
.filters a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ------------------------------------------------------------- PAGE HEAD */
.pagehead {
  background: linear-gradient(165deg, var(--sky) 0%, var(--sky-pale) 100%);
  color: var(--ink);
  border-bottom: 1px solid var(--sky-line);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
.pagehead::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29,100,145,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,100,145,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(100deg, transparent 20%, #000 100%);
}
.pagehead__inner { position: relative; z-index: 1; }
.pagehead h1 { color: var(--ink); margin-bottom: .35em; }
.pagehead p { color: var(--ink-soft); max-width: 60ch; }

.crumbs { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--blue-deep); text-decoration: underline; }

/* --------------------------------------------------------------- FOOTER */
.footer { background: var(--blue-deep); color: #b6d2e4; font-size: var(--fs-sm); padding-block: clamp(2.5rem, 6vw, 4rem) 0; }
.footer h4 { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: #7ba8c6; font-weight: 400; margin-bottom: 1rem; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer__bottom {
  margin-top: 2.5rem; padding-block: 1.3rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .05em; color: #7ba8c6;
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------- FLOATING ACTIONS */
.floats { position: fixed; right: 1rem; bottom: 1rem; z-index: 70; display: flex; flex-direction: column; gap: .6rem; }
.float {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 16px rgba(20,35,29,.28);
  transition: transform .18s ease;
}
.float:hover { transform: scale(1.06); }
.float--wa   { background: #25d366; }
.float--call { background: var(--blue); }
.float svg { width: 24px; height: 24px; }

/* mobile sticky action bar */
.mobilebar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  background: var(--white); border-top: 1px solid var(--line);
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .5rem;
}
.mobilebar .btn { flex: 1; }

/* --------------------------------------------------------------- MOTION */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------ RESPONSIVE */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .director { grid-template-columns: 1fr; }
  .director__photo { max-width: 280px; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(85vw, 340px);
    background: var(--white); border-left: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; z-index: 59;
  }
  .nav.is-open { transform: none; }
  .nav a, .nav__drop > button { padding: .85rem .6rem; width: 100%; font-size: 1rem; }
  .nav__drop { width: 100%; }
  .nav__menu { position: static; display: none; border: 0; box-shadow: none; background: var(--paper-warm); margin-top: .3rem; }
  .nav__drop[data-open="true"] .nav__menu { display: block; }
  .header__cta .btn { display: none; }
  .trust__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; }
  .floats { bottom: 5rem; }
  .mobilebar { display: flex; }
  body { padding-bottom: 68px; }
}

@media (max-width: 520px) {
  .topbar__trust { display: none; }
  .hero__actions .btn { width: 100%; }
  .amen { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------------------------------------------------------- PRINT */
@media print {
  .header, .topbar, .floats, .mobilebar, .footer, form { display: none !important; }
  body { background: #fff; }
}
