/* Watamu Safari — site styles. No framework, no build step. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin.woff2) format('woff2');
}

:root {
  --bg: #ebe4d0;          /* logo background — keep in sync with logo.png */
  --bg-2: #e2d8bf;
  --surface: #fbf8f1;
  --ink: #2b1a11;
  --ink-2: #5a4636;
  --brown: #5b2a15;       /* logo brown */
  --brown-deep: #2f1b10;
  --clay: #9c431c;
  --tan: #f5c078;         /* logo giraffe tan */
  --line: #d9cdb2;
  --line-strong: #c7b796;
  --wa: #15803d;
  --wa-hover: #116a32;
  --wa-text: #166534;
  --wa-bright: #25d366;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(60, 30, 10, .06), 0 10px 28px -12px rgba(60, 30, 10, .28);
  --shadow-lg: 0 2px 4px rgba(60, 30, 10, .06), 0 22px 44px -16px rgba(60, 30, 10, .38);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-underline-offset: .18em; }
h1, h2, h3 { line-height: 1.15; }
p { margin: 0 0 1rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 3px solid var(--wa); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.small { font-size: .9rem; color: var(--ink-2); }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 760;
  font-size: clamp(2.35rem, 1.45rem + 3.9vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -.025em;
  margin: 0 0 1.1rem;
  color: var(--brown-deep);
  text-wrap: balance;
}
.display em { display: block; font-style: normal; color: var(--clay); }
.h2 {
  font-family: var(--serif);
  font-weight: 720;
  font-size: clamp(1.85rem, 1.25rem + 2.3vw, 2.9rem);
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--brown-deep);
  text-wrap: balance;
}
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 40rem; margin: 0; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .78rem; color: var(--clay); margin: 0 0 .7rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 750; letter-spacing: .09em; text-transform: uppercase; font-size: .78rem;
  color: var(--clay); background: rgba(156, 67, 28, .09);
  padding: .45rem .8rem; border-radius: 999px; margin: 0 0 1.4rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.3rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 128, 61, .7); }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-ghost { color: var(--brown); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { background: var(--surface); border-color: var(--brown); color: var(--brown); }
.btn-lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.08rem; }
.btn-lg .i { width: 1.35em; height: 1.35em; }
.btn-sm { min-height: 40px; padding: .5rem .95rem; font-size: .92rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.cta-note { margin: 1.1rem 0 0; font-size: .95rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; }
.cta-note .wa-number { gap: .35rem; }
.link-arrow { font-weight: 750; color: var(--clay); display: inline-flex; gap: .35rem; align-items: center; text-decoration: none; }
.link-arrow .i { width: 1.05em; height: 1.05em; transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(60, 30, 10, .45); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand img { height: 56px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--ink); font-weight: 650; text-decoration: none; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--clay); }
.nav a[aria-current="page"] { border-bottom-color: var(--clay); }
.nav .lang { border: 1.5px solid var(--line-strong); border-radius: 999px; padding: .2rem .6rem; font-size: .78rem; letter-spacing: .06em; }
.nav .lang:hover { border-color: var(--clay); }
.header-wa { margin-left: .25rem; }
.nav-toggle {
  display: none; margin-left: .25rem; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .i { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 899px) {
  :root { --header-h: 66px; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .header-wa { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; box-shadow: 0 20px 30px -20px rgba(60, 30, 10, .5);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a[aria-current="page"] { color: var(--clay); border-bottom-color: var(--line); }
  .nav .lang { align-self: flex-start; margin-top: 1rem; border: 1.5px solid var(--line-strong); padding: .35rem .9rem; font-size: .9rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(1.5rem, 4.5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: min(720px, 70vw); aspect-ratio: 1; right: -12vw; top: -14vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 192, 120, .55) 0, rgba(245, 192, 120, .25) 45%, rgba(245, 192, 120, 0) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.hero-media {
  display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem;
  height: clamp(400px, 40vw, 540px);
}
.hm { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-2); }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-1 { grid-row: 1 / span 2; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { height: 300px; grid-template-columns: 1.5fr 1fr; gap: .6rem; }
  .hm { border-radius: 18px; }
}

/* ---------- trust strip ---------- */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 1.7rem; }
.trust-item { display: flex; gap: .85rem; align-items: flex-start; }
.trust-item > .i { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 12px; background: rgba(245, 192, 120, .45); color: var(--brown); }
.trust-item h3 { font-size: 1rem; margin: .1rem 0 .2rem; font-weight: 750; }
.trust-item p { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 999px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; gap: 1.1rem; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-tight { padding-top: .5rem; }
.sec-head { max-width: 42rem; margin-bottom: 2.2rem; }
.sec-head p { color: var(--ink-2); font-size: 1.12rem; margin: .7rem 0 0; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; max-width: none; }

.intro { padding-bottom: 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.intro .h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.7rem); color: var(--clay); }
.intro .prose { font-size: 1.15rem; }
@media (max-width: 799px) { .intro-grid { grid-template-columns: 1fr; } }

.prose { font-size: 1.1rem; max-width: 44rem; }
.prose p { margin: 0 0 1.15rem; }
.prose h2 { font-family: var(--serif); font-size: 1.75rem; font-weight: 720; margin: 2.4rem 0 1rem; color: var(--brown-deep); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 1.3rem; } .cards .card-body h3 { font-size: 1.32rem; } }
@media (min-width: 640px) and (max-width: 819px) { .cards-3 .card:nth-child(3) { display: none; } }
@media (min-width: 820px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card.card-custom { background: var(--brown-deep); color: #f3eadb; }
.card-custom .card-body { justify-content: center; gap: .8rem; padding: 1.8rem 1.5rem; }
.card-custom .card-body h3 { color: #fff; }
.card-custom .card-body p { color: rgba(243, 234, 219, .82); }
.card-custom .btn { margin-top: .6rem; }
.card-custom-icon { width: 3rem; height: 3rem; padding: .65rem; border-radius: 14px; background: rgba(245, 192, 120, .18); color: var(--tan); }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.045); }
.chip {
  position: absolute; left: .85rem; top: .85rem;
  background: rgba(251, 248, 241, .94); color: var(--brown);
  font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px;
}
.card-body { padding: 1.25rem 1.35rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-body h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 720; margin: 0; letter-spacing: -.01em; }
.card-body h3 a { color: var(--brown-deep); text-decoration: none; }
.card-body h3 a:hover { color: var(--clay); }
.card-body p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.card-actions { margin-top: auto; padding-top: .9rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid var(--line); }
.link-wa {
  color: var(--wa-text); font-weight: 750; font-size: .92rem; text-decoration: none;
  display: inline-flex; gap: .4rem; align-items: center;
  padding: .45rem .8rem; border-radius: 999px; background: rgba(21, 128, 61, .1);
  transition: background-color .2s;
}
.link-wa:hover { background: rgba(21, 128, 61, .18); }

/* ---------- steps ---------- */
.steps-sec { background: var(--brown-deep); color: #f3eadb; position: relative; overflow: hidden; isolation: isolate; }
.steps-sec::after {
  content: ''; position: absolute; z-index: -1; right: -160px; top: -160px; width: 520px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 192, 120, .16) 0, rgba(245, 192, 120, 0) 70%);
}
.steps-sec .h2 { color: #fff; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; padding: 0; margin: 2.2rem 0 2.4rem; }
.steps li { counter-increment: s; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--radius); padding: 1.6rem; }
.steps li::before { content: counter(s); display: block; font: 800 2.6rem/1 var(--serif); color: var(--tan); margin-bottom: .7rem; }
.steps h3 { color: #fff; font-size: 1.22rem; margin: 0 0 .4rem; }
.steps p { color: rgba(243, 234, 219, .82); margin: 0; }
@media (max-width: 799px) { .steps { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-teaser { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-photo {
  margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 10px solid var(--surface); box-shadow: var(--shadow-lg); rotate: -1.5deg; background: var(--surface);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-grid .lead { margin-top: 1rem; }
.about-page { align-items: start; }
.sign { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--clay); margin-top: 1.5rem; }
@media (max-width: 799px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
}

/* ---------- gallery ---------- */
.lb-item { display: block; border-radius: 14px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.lb-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.lb-item:hover img { transform: scale(1.05); }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.strip .lb-item, .photo-grid .lb-item { aspect-ratio: 1; }
@media (max-width: 799px) { .strip { grid-template-columns: repeat(3, 1fr); gap: .5rem; } }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .pg-3 { grid-template-columns: repeat(3, 1fr); } .pg-4 { grid-template-columns: repeat(4, 1fr); } }
.masonry { columns: 2; column-gap: .6rem; }
.masonry .lb-item { break-inside: avoid; margin-bottom: .6rem; }
@media (min-width: 700px) { .masonry { columns: 3; column-gap: .9rem; } .masonry .lb-item { margin-bottom: .9rem; } }
@media (min-width: 1040px) { .masonry { columns: 4; } }
.masonry .lb-item img { height: auto; }

/* ---------- page head / tours ---------- */
.page-head { padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.5rem); }
.page-head .lead { margin-top: .25rem; }
.notfound { padding-bottom: 3rem; }
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--clay); }
.tour-hero { padding: 1.4rem 0 clamp(2rem, 4vw, 3.5rem); }
.tour-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.tour-hero-media { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--bg-2); }
.tour-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.facts li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--surface); border: 1px solid var(--line);
  padding: .45rem .85rem; border-radius: 999px; font-weight: 650; font-size: .92rem;
}
.facts .i { color: var(--wa); width: 1.05em; height: 1.05em; }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; }
.checklist .i { color: var(--wa); width: 1.35rem; height: 1.35rem; margin-top: .2rem; }
.book-card {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 1.7rem; display: grid; gap: .8rem;
}
.book-card h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 720; margin: 0; color: var(--brown-deep); }
.book-card p { margin: 0; color: var(--ink-2); }
.book-card .small { text-align: center; }
.wa-number { display: inline-flex; gap: .5rem; align-items: center; color: var(--wa-text); font-weight: 750; text-decoration: none; }
.wa-number:hover { color: var(--wa-hover); text-decoration: underline; }
.wa-number-center { justify-content: center; padding: .3rem; }
.wa-number-lg { font-size: 1.2rem; }
.wa-number-lg .i { width: 1.4em; height: 1.4em; }
@media (max-width: 899px) {
  .tour-hero-grid, .tour-layout { grid-template-columns: 1fr; }
  .tour-hero-media { order: -1; }
  .book-card { position: static; }
}
.band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  background: var(--brown-deep); color: #fff; border-radius: 26px; padding: clamp(1.75rem, 4vw, 3.2rem);
}
.band .h2 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, .8); margin-top: .7rem; }
.band .btn { flex: none; }
@media (max-width: 799px) { .band { flex-direction: column; align-items: flex-start; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s; min-width: 0;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card > .i { width: 2.7rem; height: 2.7rem; padding: .6rem; border-radius: 12px; background: rgba(245, 192, 120, .45); color: var(--brown); margin-bottom: .6rem; }
.cc-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; color: var(--ink-2); }
.cc-value { font-family: var(--serif); font-size: 1.3rem; font-weight: 720; overflow-wrap: anywhere; color: var(--brown-deep); }
.contact-wa { background: #e3f1e4; border-color: #b9dcc0; }
.contact-wa > .i { background: var(--wa); color: #fff; width: 3.4rem; height: 3.4rem; padding: .75rem; }
.contact-wa .cc-value { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); }
.contact-wa .btn { margin-top: auto; align-self: flex-start; }
.contact-where p { margin: .3rem 0 .6rem; color: var(--ink-2); }
@media (max-width: 799px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-wa .btn { margin-top: .8rem; }
}

/* ---------- CTA + form ---------- */
.cta-sec { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cta-copy .lead { margin: 1rem 0 1.8rem; }
.cta-wa-line { margin: 1.6rem 0 .5rem; }
@media (max-width: 899px) { .cta-grid { grid-template-columns: 1fr; } }

.enquiry { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: clamp(1.3rem, 3vw, 2.1rem); }
.enquiry h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 720; margin: 0; color: var(--brown-deep); }
.form-lead { color: var(--ink-2); font-size: .95rem; margin: .45rem 0 1.4rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field > span { font-weight: 700; font-size: .9rem; }
.field small { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 50px;
  padding: .75rem .9rem; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wa); box-shadow: 0 0 0 4px rgba(21, 128, 61, .18); }
.field-row { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: .75rem; }
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-date { grid-column: 1 / -1; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--brown-deep); color: #e9dfcf; padding: 3.75rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 170px; border-radius: 14px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(233, 223, 207, .78); max-width: 22rem; margin-bottom: 1.3rem; }
.site-footer h2 { font: 800 .8rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--tan); margin: .3rem 0 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .footer-links span { color: #f3eadb; text-decoration: none; display: inline-flex; gap: .55rem; align-items: center; }
.footer-links a:hover { color: var(--tan); }
.footer-contacts .i { color: var(--tan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.75rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: rgba(233, 223, 207, .65); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(233, 223, 207, .85); }
@media (max-width: 799px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- persistent WhatsApp CTAs ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 0;
  height: 62px; min-width: 62px; padding: 0 17px; border-radius: 999px;
  background: var(--wa-bright); color: #fff; text-decoration: none; font-weight: 750;
  box-shadow: 0 10px 28px -6px rgba(10, 80, 35, .55), 0 0 0 0 rgba(37, 211, 102, .5);
  animation: wa-pulse 2.6s ease-out 1.5s 3;
  transition: gap .25s, padding .25s, background-color .2s;
}
.wa-float .i { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s; color: #0b2e17; }
.wa-float:hover, .wa-float:focus-visible { gap: .6rem; padding-right: 22px; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 260px; }
.wa-float .i { color: #fff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px -6px rgba(10, 80, 35, .55), 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 10px 28px -6px rgba(10, 80, 35, .55), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px -6px rgba(10, 80, 35, .55), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.mbar { display: none; }
@media (max-width: 899px) {
  .wa-float { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mbar {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .65rem .9rem calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(251, 248, 241, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(60, 30, 10, .5);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .mbar .btn-wa { flex: 1; min-height: 54px; font-size: 1.05rem; }
  .mbar .btn-wa .i { width: 1.4em; height: 1.4em; }
}
@media (max-width: 420px) {
  .header-wa span { display: none; }
  .header-wa { width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .header-wa .i { width: 22px; height: 22px; }
}

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: rgba(20, 12, 7, .94); color: #fff;
}
.lightbox::backdrop { background: rgba(20, 12, 7, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; padding: 4.5rem 1rem 1.5rem; max-width: 100%; }
.lightbox img { max-width: min(92vw, 1280px); max-height: calc(100dvh - 9rem); width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { font-size: .95rem; color: rgba(255, 255, 255, .8); text-align: center; }
.lb-btn {
  position: absolute; z-index: 2; width: 50px; height: 50px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn .i { width: 26px; height: 26px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; top: 26px; left: 22px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 18px; translate: none; } }
