/* Reset, typography and page shell */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--fs-base)/1.7 var(--font-ui); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; filter: brightness(var(--image-dim)); }
a { color: var(--link); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -0.012em; margin: 0 0 0.5em; text-wrap: balance; }
h1, h2 { font-weight: 300; line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lg); font-weight: 300; color: var(--text-muted); max-width: 58ch; line-height: 1.7; }
.small { font-size: var(--fs-sm); color: var(--text-muted); }
.center { text-align: center; }
.prose p { margin: 0 0 0.9em; max-width: 66ch; }

:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--brass-300); color: #1a1408; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--surface); color: var(--text);
  padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow-2); transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { display: inline-block; vertical-align: -0.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Layout */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.container.narrow { width: min(100% - 2 * var(--gutter), 820px); }
.section { padding-block: var(--section-y); }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font: 500 0.72rem/1 var(--font-ui); letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.eyebrow .icon { display: none; }
.stack > * + * { margin-top: var(--stack, 1rem); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1500; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line); transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(23, 35, 28, 0.4); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--text); font: 400 1.18rem/1.05 var(--font-display); letter-spacing: 0.01em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--forest-800); color: var(--brass-300); border: 1px solid rgba(205, 176, 122, 0.45); }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) {
  position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 12px 11px; border-radius: 0;
  color: var(--text); text-decoration: none; font: 500 0.72rem/1 var(--font-ui); letter-spacing: 0.11em; text-transform: uppercase; transition: color 0.3s;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .btn { margin-left: 10px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
body.home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
body.home .site-header:not(.is-scrolled) .brand,
body.home .site-header:not(.is-scrolled) .site-nav a:not(.btn),
body.home .site-header:not(.is-scrolled) .icon-btn { color: #fff; }
body.home main { margin-top: calc(-1 * var(--header-h)); }

.drawer-backdrop { position: fixed; inset: 0; z-index: 1900; background: var(--overlay); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
body.nav-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
/* The drawer and backdrop live inside the header, so while the menu is open the header must sit above everything
   and drop its blur (a backdrop-filter would trap the fixed drawer inside the header's own box). */
body.nav-open .site-header { z-index: 2100; backdrop-filter: none; -webkit-backdrop-filter: none; }

@media (min-width: 1241px) { .site-nav a:not(.btn) .icon { display: none; } }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; z-index: 2000; top: 0; right: 0; bottom: 0; width: min(92vw, 420px); flex-direction: column; align-items: stretch;
    gap: 0; padding: 92px 32px 32px; background: var(--bg); box-shadow: var(--shadow-3);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(105%); visibility: hidden; transition: transform 0.55s var(--ease-out), visibility 0s 0.55s;
  }
  body.nav-open .site-nav { transform: none; visibility: visible; transition: transform 0.55s var(--ease-out); }
  .site-nav a:not(.btn) {
    padding: 16px 0; font: 300 1.6rem/1.2 var(--font-display); letter-spacing: -0.01em; text-transform: none; color: var(--text) !important;
    border-bottom: 1px solid var(--line); gap: 16px;
  }
  .site-nav a:not(.btn) .icon { color: var(--accent-text); }
  .site-nav a:not(.btn)::after { left: 0; right: 0; bottom: -1px; }
  .site-nav .btn { margin: 28px 0 0; }
  .drawer-close { position: absolute; top: 18px; right: 18px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav > a { animation: drawer-link 0.8s var(--ease-out) both; animation-delay: calc(120ms + var(--n, 0) * 60ms); }
  .site-nav > :nth-child(2) { --n: 0; } .site-nav > :nth-child(3) { --n: 1; } .site-nav > :nth-child(4) { --n: 2; }
  .site-nav > :nth-child(5) { --n: 3; } .site-nav > :nth-child(6) { --n: 4; } .site-nav > :nth-child(7) { --n: 5; } .site-nav > :nth-child(8) { --n: 6; }
}
@keyframes drawer-link { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 1241px) { .site-nav .drawer-close, .icon-btn.nav-toggle { display: none; } }   /* the full menu is showing, so no menu button */

/* Footer */
.site-footer { position: relative; background: var(--forest-950); color: #c4cfc2; padding: clamp(56px, 8vw, 104px) 0 28px; margin-top: 0; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 50%; width: 64px; height: 1px; background: var(--brass-300); transform: translateX(-50%); }
.site-footer a { color: #eee6d4; }
.site-footer .footer-h { color: var(--brass-300); font: 500 0.72rem/1 var(--font-ui); letter-spacing: var(--track-caps); text-transform: uppercase; margin: 0 0 1.4em; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; gap: 40px 32px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: color 0.3s; }
.footer-grid a:hover { color: var(--brass-300); }
.footer-grid .icon { opacity: 0.6; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; font-size: 1.5rem; }
.footer-brand p { max-width: 34ch; font-weight: 300; }
.footer-base { margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; border-top: 1px solid rgba(205, 176, 122, 0.22); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: var(--fs-sm); color: #93a393; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-grid > *, .footer-grid li { min-width: 0; } .footer-grid a { overflow-wrap: anywhere; }

/* WhatsApp floating button: a green orb with a soft pulse; it opens into a labelled pill on hover or focus,
   and peeks open once shortly after the page loads. */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 1400; display: inline-flex; align-items: center; justify-content: center; isolation: isolate;
  height: 58px; min-width: 58px; padding: 0 17px; border-radius: var(--r-pill); color: #fff; text-decoration: none;
  background: linear-gradient(145deg, #2bd16b, #118a48);
  font: 500 0.72rem/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 16px 32px -12px rgba(17, 138, 72, 0.7), 0 2px 6px rgba(0, 0, 0, 0.16);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.whatsapp-fab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 2px solid rgba(43, 209, 107, 0.75); pointer-events: none;
  animation: fab-ring 3.4s var(--ease) 2.4s infinite;
}
.whatsapp-fab svg { width: 26px; height: 26px; flex: none; transition: transform 0.5s var(--ease-out); }
.whatsapp-fab span { max-width: 0; margin-left: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.6s var(--ease-out), margin 0.6s var(--ease-out), opacity 0.4s; }
.whatsapp-fab:hover, .whatsapp-fab:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 38px -12px rgba(17, 138, 72, 0.8), 0 2px 8px rgba(0, 0, 0, 0.18); }
.whatsapp-fab:hover span, .whatsapp-fab:focus-visible span { max-width: 170px; margin-left: 12px; opacity: 1; }
.whatsapp-fab:hover svg, .whatsapp-fab:focus-visible svg { transform: rotate(-10deg) scale(1.08); }
.whatsapp-fab:active { transform: translateY(-1px) scale(0.97); }
@keyframes fab-ring { 0% { transform: scale(1); opacity: 0.85; } 65%, 100% { transform: scale(1.55, 1.45); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-fab { animation: fab-in 1s var(--ease-out) 1.2s backwards; }
  .whatsapp-fab span { animation: fab-peek 5.2s var(--ease-out) 2.6s backwards; }
}
@keyframes fab-in { from { opacity: 0; transform: translateY(28px) scale(0.7); } }
@keyframes fab-peek {
  0% { max-width: 0; margin-left: 0; opacity: 0; }
  14%, 72% { max-width: 170px; margin-left: 12px; opacity: 1; }
  100% { max-width: 0; margin-left: 0; opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-fab { right: 16px; bottom: 16px; height: 54px; min-width: 54px; padding: 0 14px; }
  .whatsapp-fab span { display: none; }
}
body.full-screen .whatsapp-fab { right: auto; left: 18px; bottom: 18px; }
@media (max-width: 800px) { body.panel-open .whatsapp-fab { display: none; } }

/* Short landscape screens: a slimmer header leaves room for content */
@media (max-height: 480px) and (orientation: landscape) {
  :root { --header-h: 56px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-inner { padding-top: calc(var(--header-h) + 16px); }
  .hero { min-height: 0; }
}

/* ---- Announcement bar (closures, news, openings) ---- */
.notice-stack { position: relative; z-index: 1600; }
.site-notice { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 52px 8px var(--gutter); border-bottom: 1px solid var(--line); font-size: 0.92rem; line-height: 1.4; text-align: center; background: var(--brand-soft); color: var(--text); }
.site-notice[hidden] { display: none; }
.site-notice p { margin: 0; }
.site-notice a { margin-left: 6px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.site-notice.is-offer { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); }
.site-notice.is-closure { background: var(--danger-soft); color: var(--danger); border-color: var(--danger); }
.notice-close { display: none; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: var(--r-pill); opacity: 0.75; }
.notice-close:hover { opacity: 1; }
.js .notice-close { display: inline-flex; }
@media (max-width: 700px) { .site-notice { font-size: 0.88rem; padding-left: 14px; justify-content: flex-start; text-align: left; } }
