/* ==========================================================================
   Saida Country Club — main stylesheet
   ========================================================================== */

:root {
  --navy: #12304f;
  --navy-2: #1f4878;
  --navy-deep: #0b1f35;
  --pine: #24553a;
  --lime: #a8c94a;
  --lime-2: #c3dd73;
  --sand: #f6f1e7;
  --sand-2: #ece3d2;
  --ink: #1c2024;
  --muted: #5b6470;
  --line: #e3ddd1;
  --white: #fff;
  --wa: #25d366;

  --font-display: "Jacques Francois", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(11, 31, 53, .35);
  --shadow-sm: 0 6px 18px -8px rgba(11, 31, 53, .25);
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: 8px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.icon { width: 1.2em; height: 1.2em; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.5em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--lime); color: var(--navy-deep); }
.btn-accent:hover { background: var(--lime-2); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-2); }
.link-arrow .icon { transition: transform .25s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header::before { /* soft shade so the logo is readable over bright photos */
  content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(5,18,32,.55), rgba(5,18,32,0));
  transition: opacity .3s;
}
.site-header.is-solid, body:not(.has-hero) .site-header {
  background: rgba(18, 48, 79, .96);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.4);
}
.site-header.is-solid::before, body:not(.has-hero) .site-header::before { opacity: 0; }
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-solid, body:not(.has-hero) .site-header { background: rgba(18, 48, 79, .85); backdrop-filter: saturate(140%) blur(12px); }
}
body:not(.has-hero) main { padding-top: var(--header-h); }

.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .sub-trigger > a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; transition: background-color .2s, color .2s;
}
.nav-list a:hover { background: rgba(255,255,255,.12); }
.nav-list a[aria-current="page"] { color: var(--lime); }
.site-nav { display: flex; align-items: center; gap: 18px; }

.has-sub { position: relative; }
.sub-trigger { display: flex; align-items: center; }
.sub-trigger > a { padding-right: 4px; }
.sub-toggle { display: grid; place-items: center; width: 32px; height: 44px; border: 0; background: none; border-radius: 999px; }
.sub-toggle .icon { width: 18px; height: 18px; transition: transform .25s; }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 230px; padding: 10px;
  background: var(--white); color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub-menu a { display: block; padding: 9px 14px; border-radius: 8px; font-weight: 500; text-decoration: none; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--sand); color: var(--navy); }

@media (min-width: 1001px) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-sub:hover .sub-toggle .icon, .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
}

.nav-toggle { display: none; position: relative; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Mobile navigation */
@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: calc(var(--header-h) + 16px) var(--gutter) max(28px, env(safe-area-inset-bottom));
    background: var(--navy-deep);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-list > li > a, .sub-trigger > a { width: 100%; min-height: 58px; padding: 0 4px; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .02em; text-transform: none; font-weight: 400; border-radius: 0; }
  .nav-list a:hover { background: none; color: var(--lime); }
  .sub-trigger > a { flex: 1; }
  .sub-toggle { width: 48px; height: 48px; background: rgba(255,255,255,.08); }
  .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
  .sub-menu {
    position: static; transform: none; min-width: 0; padding: 0 0 12px; background: none; color: var(--white); box-shadow: none;
    display: none; opacity: 1; visibility: visible; grid-template-columns: 1fr 1fr; gap: 4px;
  }
  .has-sub.is-open .sub-menu { display: grid; }
  .sub-menu a { padding: 10px 12px; background: rgba(255,255,255,.06); }
  .sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--lime); color: var(--navy-deep); }
  .nav-cta { min-height: 52px; font-size: 1rem; }
  .site-header.nav-is-open { background: var(--navy-deep); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 clamp(56px, 10vh, 110px);
  color: var(--white); background: var(--navy-deep);
  overflow: hidden;
}
.hero-page { min-height: 72vh; min-height: 72svh; }
.hero-short { min-height: 56vh; min-height: 56svh; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(6,20,36,.85) 0%, rgba(6,20,36,.35) 45%, rgba(6,20,36,.15) 70%, rgba(6,20,36,.45) 100%),
    linear-gradient(to right, rgba(6,20,36,.55), rgba(6,20,36,0) 65%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-content { position: relative; }
.kicker { margin: 0 0 .4em; font-size: clamp(.9rem, 2.4vw, 1.05rem); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--lime); }
.hero-title {
  max-width: 14ch; margin: 0 0 .35em;
  font-family: var(--font-display); font-size: clamp(2.6rem, 9vw, 6.2rem); line-height: 1; letter-spacing: -.01em;
  text-wrap: balance; overflow-wrap: anywhere;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-lead { max-width: 560px; margin-bottom: 1.8em; font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: rgba(255,255,255,.9); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .9rem; color: rgba(255,255,255,.75); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 640px), (max-height: 620px) { .scroll-cue { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-tight-top { padding-top: 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .eyebrow { color: var(--lime); }
.section-dark p { color: rgba(255,255,255,.86); }

.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.eyebrow { margin: 0 0 .7em; font-size: .8rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--pine); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); color: inherit; text-wrap: balance; }
.section:not(.section-dark) .section-title { color: var(--navy); }
.section-title a { text-decoration: none; }
.section-title a:hover { color: var(--pine); }
.section-sub { color: var(--muted); font-size: 1.1rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--muted); }

/* ---------- Service cards (home) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.service-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.service-card h3 { margin-bottom: .25em; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); }
.service-card p { flex: 1; color: var(--muted); font-size: 1rem; }
.service-card:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text .btn-row { margin-top: 1.6em; }
.split-form { align-items: start; }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
}

/* ---------- Stats ---------- */
.stats { background: linear-gradient(120deg, var(--navy-deep), var(--navy-2)); color: var(--white); padding: clamp(40px, 6vw, 64px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; font-weight: 400; color: var(--lime); }
.stat span { display: block; margin-top: 8px; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 26px); margin-bottom: 44px; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); margin: clamp(36px, 5vw, 56px) 0 0; }
.feature { padding: 28px 26px; background: var(--sand); border-radius: var(--radius); transition: transform .3s var(--ease), background-color .3s; }
.feature:hover { transform: translateY(-4px); background: var(--sand-2); }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: var(--navy); color: var(--lime); }
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 1000px) { .feature-grid, .feature-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid, .feature-grid-3 { grid-template-columns: 1fr; } }

/* ---------- Testimonial ---------- */
.testimonial { margin: 0; text-align: center; }
.quote-mark { width: 52px; height: 52px; margin: 0 auto 18px; color: var(--lime); }
.testimonial blockquote { margin: 0 0 24px; }
.testimonial blockquote p { font-family: var(--font-display); font-size: clamp(1.35rem, 3.2vw, 2rem); line-height: 1.4; color: var(--navy); }
.testimonial figcaption strong { display: block; font-size: 1.05rem; }
.testimonial figcaption span { color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Instagram ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand-2); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18,48,79,.55); color: var(--white); opacity: 0; transition: opacity .3s; }
.insta-overlay .icon { width: 34px; height: 34px; }
.insta-item:hover img { transform: scale(1.08); }
.insta-item:hover .insta-overlay, .insta-item:focus-visible .insta-overlay { opacity: 1; }
@media (max-width: 900px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Service page ---------- */
.section-intro { padding-bottom: clamp(48px, 7vw, 80px); }
.intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.intro-grid .lead { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.facts li { padding: 20px 18px; border-radius: var(--radius-sm); background: var(--sand); border-left: 4px solid var(--lime); }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.5rem; overflow-wrap: anywhere; font-weight: 400; line-height: 1.1; color: var(--navy); }
.facts span { font-size: .9rem; color: var(--muted); }
@media (max-width: 899px) { .intro-grid { grid-template-columns: 1fr; } }

.rows { display: grid; gap: clamp(48px, 8vw, 100px); }
.row-item { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); }
.row-reverse .row-media { order: 2; }
.row-media {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); box-shadow: var(--shadow);
}
button.row-media { cursor: zoom-in; }
.row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
button.row-media:hover img { transform: scale(1.04); }
.row-num { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 1.1rem; color: var(--lime); letter-spacing: .1em; }
.section-sand .row-num { color: var(--pine); }
.row-text h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--navy); }
.row-text p { color: var(--muted); margin: 0; }
@media (max-width: 899px) {
  .row-item { grid-template-columns: 1fr; gap: 22px; }
  .row-reverse .row-media { order: 0; }
}

.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 500; text-decoration: none; color: var(--navy); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.pager-link { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); transition: border-color .2s, transform .2s; }
.pager-link span { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager-link:hover { border-color: var(--navy); transform: translateY(-2px); }
.pager-next { text-align: right; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--pine) 0%, var(--navy) 70%); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .2em; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); max-width: 560px; }

/* ---------- Contact ---------- */
.section-dark .form-card p, .form-card p { color: var(--muted); }
.form-card { padding: clamp(24px, 4vw, 40px); background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form-title { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; /* 16px+ avoids iOS zoom */
  color: var(--ink); background: #fbfaf7; border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312304f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); background: var(--white); box-shadow: 0 0 0 4px rgba(31,72,120,.15); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.error { color: #c0392b; font-size: .85rem; }
.form-hint { margin: 0; font-size: .88rem; color: var(--muted); }
.form-note { margin: 0; font-size: .9rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--navy-2); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.alert-success { background: #e8f4ea; color: #1f5e2c; }
.alert-error { background: #fbeaea; color: #8f2a20; }
.contact-form.is-sending [data-submit] { opacity: .7; pointer-events: none; }

.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.info-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius-sm); background: var(--sand); text-decoration: none; transition: background-color .2s, transform .2s; overflow-wrap: anywhere; }
.info-card:hover { background: var(--sand-2); transform: translateY(-2px); }
.info-card small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-card > span:last-child { font-weight: 500; color: var(--navy); line-height: 1.35; }
.info-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--lime); }
.info-icon-wa { background: var(--wa); color: var(--white); }
@media (max-width: 480px) { .info-cards { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { margin-top: .2em; color: var(--lime); }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-list-lg { margin-top: 28px; font-size: 1.05rem; }

.map-section { background: var(--sand); }
.map-wrap { position: relative; height: clamp(320px, 50vw, 460px); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: var(--navy); background:
  radial-gradient(circle at 30% 30%, rgba(168,201,74,.25), transparent 50%),
  repeating-linear-gradient(45deg, rgba(18,48,79,.04) 0 2px, transparent 2px 22px), var(--sand); }
.map-placeholder > .icon { width: 44px; height: 44px; color: var(--pine); }
.map-placeholder p { margin: 0; font-weight: 500; }
.map-placeholder .btn-row { justify-content: center; }

.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); transition: background-color .2s, color .2s, transform .2s; }
.social a:hover { background: var(--lime); color: var(--navy-deep); transform: translateY(-2px); }
.social-dark a { background: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding-top: clamp(56px, 8vw, 88px); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.3fr; gap: clamp(28px, 4vw, 48px); padding-bottom: 48px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1em; }
.footer-col ul:not(.contact-list) { display: grid; gap: 8px; }
.footer-col .cols-2 { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: max(22px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; }
.to-top:hover { color: var(--lime); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 72px; } /* room for WhatsApp button */
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--white); box-shadow: 0 10px 24px -6px rgba(37,211,102,.6);
  transition: transform .25s var(--ease);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.nav-open .wa-float { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(6,16,28,.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); }
.lightbox-close .icon { width: 26px; height: 26px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.chip-row-center { margin-top: 24px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .wa-float, .cta-band, .map-section, .lightbox { display: none !important; }
  .hero { min-height: auto; color: var(--ink); background: none; }
  .hero-media { display: none; }
}
