/* ==========================================================================
   Growtect - growtect.ca
   Single stylesheet, mobile first. No build step, no external requests.

   Contents
     1.  Fonts
     2.  Tokens
     3.  Reset & base
     4.  Layout helpers
     5.  Typography
     6.  Buttons, icons, links
     7.  Header & navigation
     8.  Hero
     9.  About
     10. Services
     11. Contact & form
     12. FAQ accordion
     13. Footer
     14. Reveal on scroll
     15. Print
   ========================================================================== */


/* 1. Fonts ================================================================= */
/* Variable fonts, latin subset, self-hosted. Licences sit beside the files in
   assets/fonts/ (both SIL Open Font License 1.1). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}


/* 2. Tokens =============================================================== */

:root {
  /* Palette sampled from the Growtect logo artwork. */
  --green-900: #082420;
  --green-800: #0b2c27;
  --green-700: #0d3630;   /* primary - the logo wordmark green */
  --green-600: #145147;
  --green-500: #1d6a5d;
  --gold-500: #b8965a;    /* logo leaf gold - fills, borders, decoration */
  --gold-400: #cfae74;    /* gold text/icons on the dark green */
  --gold-300: #e3cda2;
  --gold-700: #8c6b30;    /* gold text/icons on paper or white (AA: 4.6:1) */
  --olive-500: #6b7c4e;
  --olive-300: #9aa576;

  --paper: #f9f8f5;       /* warm off-white */
  --white: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #414f4a;
  --ink-faint: #68716b;   /* placeholders - still AA against white */
  --ink-onDark: #eef2ef;
  --ink-onDark-soft: #c3d2cc;
  --rule: #e3e0d8;
  --rule-onDark: rgba(233, 240, 236, 0.18);
  /* Form controls need 3:1 against their surroundings (WCAG 1.4.11), so their
     borders are darker than the decorative hairlines above. */
  --field-bd: #918c7f;
  --field-bd-hover: #7f7a6e;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', 'Iowan Old Style', 'Palatino Linotype',
    Palatino, Georgia, 'Times New Roman', serif;

  /* Fluid scale: min at 360px viewport, max at 1280px. */
  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.17vw, 1.09rem);
  --step-1: clamp(1.13rem, 1.05rem + 0.32vw, 1.31rem);
  --step-2: clamp(1.35rem, 1.18rem + 0.72vw, 1.75rem);
  --step-3: clamp(1.65rem, 1.32rem + 1.4vw, 2.44rem);
  --step-4: clamp(2rem, 1.4rem + 2.5vw, 3.4rem);

  --shell: 74rem;
  --shell-narrow: 52rem;
  --gutter: clamp(1.25rem, 0.7rem + 2.6vw, 2.75rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 7.5rem);

  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 4.75rem;

  --shadow-sm: 0 1px 2px rgba(8, 36, 32, 0.05), 0 6px 16px rgba(8, 36, 32, 0.05);
  --shadow-md: 0 2px 6px rgba(8, 36, 32, 0.07), 0 18px 40px rgba(8, 36, 32, 0.1);
  --shadow-lg: 0 8px 22px rgba(8, 36, 32, 0.14), 0 30px 70px rgba(8, 36, 32, 0.22);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* 3. Reset & base ========================================================= */

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

* { margin: 0; }

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

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

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Off-screen sprite holding the <symbol> icon definitions. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--green-700);
  color: var(--paper);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transform: translateY(-110%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus-visible { transform: translateY(0); }


/* 4. Layout helpers ======================================================= */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: var(--shell-narrow); }

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--about { background: var(--paper); }
.section--services { background: var(--white); border-block: 1px solid var(--rule); }
.section--faq { background: var(--paper); }

.section__head {
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);
  text-align: center;
}

.section__sub {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}


/* 5. Typography =========================================================== */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-3);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--green-700);
  text-wrap: balance;
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.9rem;
}

/* On the dark green panels the lighter gold is the readable one. */
.section--contact .eyebrow { color: var(--gold-400); }

.lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
}

.prose { max-width: 800px; margin-inline: auto; text-align: center; }

.prose > * + * { margin-top: 1.15rem; }

.prose p { color: var(--ink-soft); }

.prose strong { color: var(--green-700); font-weight: 600; }

.prose .display { margin-top: 1.4rem; }

.ornament {
  width: clamp(3.5rem, 3rem + 2vw, 4.75rem);
  height: auto;
  margin-inline: auto;
  opacity: 0.9;
}


/* 6. Buttons, icons, links ================================================ */

/* Every consumed icon is a stroked outline that inherits the text colour. */
svg:not(.sprite) {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--green-900);
  --btn-bd: var(--gold-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  min-height: 3rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn svg { font-size: 1.15em; stroke-width: 1.9; }

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--gold:hover { background: var(--gold-400); border-color: var(--gold-400); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: rgba(233, 240, 236, 0.55);
}

.btn--ghost:hover {
  --btn-bg: rgba(249, 248, 245, 0.12);
  --btn-bd: var(--paper);
}

.btn--sm { padding: 0.62em 1.15em; min-height: 2.5rem; font-size: var(--step--1); }

.btn--block { width: 100%; }

.contact-list { display: grid; gap: 0.75rem; }

.contact-list li { display: flex; align-items: center; gap: 0.85rem; }

.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(184, 150, 90, 0.16);
  color: var(--gold-400);
  font-size: 1.05rem;
}

.contact-list a {
  color: var(--ink-onDark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.contact-list a:hover { color: var(--white); border-bottom-color: var(--gold-400); }

.social__list { display: flex; gap: 0.6rem; }

.social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--rule-onDark);
  color: var(--ink-onDark-soft);
  font-size: 1.4rem;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.social a:hover {
  color: var(--green-900);
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
}


/* 7. Header & navigation ================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: block; flex: none; line-height: 0; text-decoration: none; }

/* Sized by height so the horizontal lockup always clears the header bar. */
.brand__mark {
  height: clamp(2.05rem, 1.75rem + 1.1vw, 2.6rem);
  width: auto;
  transition: opacity 0.28s var(--ease);
}

.brand__mark--dark { position: absolute; top: 0; left: 0; opacity: 0; }

.brand { position: relative; }

/* Solid header once the page scrolls: swap the logo to the dark artwork.
   Pages without a dark hero (privacy.html) opt in permanently via --solid. */
.site-header.is-stuck,
.site-header.is-open,
.site-header--solid {
  background: rgba(249, 248, 245, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 var(--rule), 0 10px 30px rgba(8, 36, 32, 0.06);
}

.site-header.is-stuck .brand__mark--light,
.site-header.is-open .brand__mark--light,
.site-header--solid .brand__mark--light { opacity: 0; }

.site-header.is-stuck .brand__mark--dark,
.site-header.is-open .brand__mark--dark,
.site-header--solid .brand__mark--dark { opacity: 1; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--rule-onDark);
  border-radius: 10px;
  color: var(--paper);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-header.is-stuck .nav-toggle,
.site-header.is-open .nav-toggle,
.site-header--solid .nav-toggle { color: var(--green-700); border-color: var(--rule); }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.16s var(--ease);
}

.nav-toggle__bars { position: relative; }

.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -0.4rem; }
.nav-toggle__bars::after { top: 0.4rem; }

.site-header.is-open .nav-toggle__bars { transform: rotate(45deg); }
.site-header.is-open .nav-toggle__bars::before { opacity: 0; transform: translateY(0.4rem); }
.site-header.is-open .nav-toggle__bars::after { transform: translateY(-0.4rem) rotate(-90deg); }

/* Mobile: the list becomes a drop panel under the bar. */
.site-nav {
  position: absolute;
  inset: var(--header-h) 0 auto;
  visibility: hidden;
  opacity: 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  box-shadow: 0 24px 40px rgba(8, 36, 32, 0.12);
  transform: translateY(-0.5rem);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: translateY(0); }

.site-nav__list {
  display: grid;
  gap: 0.25rem;
  padding: 1rem var(--gutter) 1.5rem;
}

.site-nav__list a:not(.btn) {
  display: block;
  padding: 0.7rem 0.25rem;
  color: var(--green-700);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.site-nav__list a:not(.btn):hover { color: var(--gold-700); }

.site-nav__cta { margin-top: 0.9rem; }
.site-nav__cta .btn { width: 100%; }

@media (min-width: 60em) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 0.3rem + 1.4vw, 2rem);
    padding: 0;
  }

  .site-nav__list a:not(.btn) {
    padding: 0.3rem 0;
    color: var(--ink-onDark);
    border-bottom: 1px solid transparent;
    transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
  }

  .site-nav__list a:not(.btn):hover { color: var(--white); border-bottom-color: var(--gold-400); }

  .site-header.is-stuck .site-nav__list a:not(.btn),
  .site-header--solid .site-nav__list a:not(.btn) { color: var(--green-700); }

  .site-header.is-stuck .site-nav__list a:not(.btn):hover,
  .site-header--solid .site-nav__list a:not(.btn):hover { color: var(--gold-700); }

  .site-nav__cta { margin-top: 0; }
  .site-nav__cta .btn { width: auto; }
}


/* 8. Hero ================================================================= */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + clamp(2rem, 1rem + 5vw, 4rem))
    clamp(3rem, 2rem + 5vw, 5rem);
  color: var(--ink-onDark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(115% 85% at 76% 12%, rgba(29, 106, 93, 0.62), transparent 60%),
    radial-gradient(85% 70% at 8% 96%, rgba(107, 124, 78, 0.34), transparent 62%),
    linear-gradient(158deg, var(--green-800) 0%, var(--green-700) 46%, var(--green-900) 100%);
}

/* Two decorative layers: a faint woven texture and an oversized leaf mark.
   To use a photograph instead, see "Swapping the hero background" in README.md. */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 8px);
}

.hero__bg::after {
  content: '';
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(46rem, 78%);
  aspect-ratio: 320 / 241;
  background: url('../assets/logo-mark.png') no-repeat center / contain;
  opacity: 0.07;
}

.hero__inner {
  display: grid;
  gap: clamp(2.25rem, 1rem + 6vw, 4.5rem);
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
}

.hero__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}

.hero__titles {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule-onDark);
  max-width: 34rem;
  color: var(--ink-onDark-soft);
  font-size: var(--step--1);
  line-height: 1.5;
}

.hero__titles li { position: relative; padding-left: 1.05rem; }

.hero__titles li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

.hero .contact-list { margin-top: 1.75rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.hero .social { margin-top: 1.9rem; }

.hero__portrait { justify-self: center; }

.hero__portrait img {
  width: clamp(14rem, 10rem + 24vw, 24rem);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(249, 248, 245, 0.1);
  outline: 1px solid rgba(184, 150, 90, 0.5);
  outline-offset: 6px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 62em) {
  .hero { min-height: 100vh; min-height: 100svh; }

  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .hero__portrait { justify-self: end; }
}


/* 9. About ================================================================ */

.section--about::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 2px;
  margin: clamp(2.25rem, 1.5rem + 2vw, 3.25rem) auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}


/* 10. Services ============================================================ */

.cards {
  display: grid;
  gap: clamp(1.25rem, 0.6rem + 2vw, 2rem);
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 150, 90, 0.55);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.35rem;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--green-700), var(--green-600));
  color: var(--gold-300);
  font-size: 1.65rem;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.2;
  color: var(--green-700);
  margin-bottom: 0.7rem;
  text-wrap: balance;
}

.card__body { color: var(--ink-soft); margin-top: auto; }

@media (min-width: 48em) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* 11. Contact & form ====================================================== */

.section--contact {
  background:
    radial-gradient(100% 80% at 85% 8%, rgba(29, 106, 93, 0.5), transparent 62%),
    linear-gradient(165deg, var(--green-700), var(--green-900));
  color: var(--ink-onDark);
}

.section--contact .display { color: var(--white); }

.contact-grid {
  display: grid;
  gap: clamp(2.25rem, 1rem + 5vw, 4rem);
  align-items: start;
}

.contact-copy p { color: var(--ink-onDark-soft); }
.contact-copy .display { margin-bottom: 1.1rem; }
.contact-copy .contact-list { margin-top: 2rem; }

.appointment {
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.5rem);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.field-row { display: grid; gap: 1.1rem; }

.appointment > * + * { margin-top: 1.1rem; }

.field { display: grid; gap: 0.4rem; }

.field label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--green-700);
  letter-spacing: 0.01em;
}

.field label abbr {
  color: #a4472f;
  text-decoration: none;
  border: 0;
}

.field__hint { font-weight: 400; color: var(--ink-soft); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.78rem 0.95rem;
  background: var(--white);
  border: 1.5px solid var(--field-bd);
  border-radius: 10px;
  font-size: var(--step-0);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.field textarea { resize: vertical; min-height: 6.5rem; }

.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--field-bd-hover); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(20, 81, 71, 0.16);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.select { position: relative; display: block; }

.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}

.select svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.1rem;
  color: var(--green-600);
  pointer-events: none;
}

.field__error {
  display: none;
  font-size: var(--step--1);
  font-weight: 500;
  color: #a4472f;
}

.field.has-error .field__error { display: block; }

.field.has-error input,
.field.has-error textarea { border-color: #a4472f; }

.field.has-error input:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(164, 71, 47, 0.18); }

.form-status {
  display: none;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: var(--step--1);
  line-height: 1.5;
}

.form-status svg { font-size: 1.15rem; margin-top: 0.12em; }

.form-status.is-visible { display: flex; }

.form-status.is-ok {
  background: rgba(20, 81, 71, 0.1);
  color: #0f4b41;
}

.form-status.is-error {
  background: rgba(164, 71, 47, 0.1);
  color: #8c3a26;
}

.form-note {
  font-size: var(--step--1);
  color: var(--ink-soft);
  text-align: center;
}

/* Shown only when scripting is off - see the <noscript> block in index.html. */
.form-fallback {
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.1rem;
  background: rgba(184, 150, 90, 0.12);
  border-left: 3px solid var(--gold-500);
  border-radius: 10px;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-soft);
}

.form-fallback a { color: var(--green-600); font-weight: 600; text-underline-offset: 3px; }

@media (min-width: 40em) {
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 62em) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
}


/* 12. FAQ accordion ======================================================= */

.faq {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__item + .faq__item { border-top: 1px solid var(--rule); }

.faq__heading { margin: 0; font: inherit; }

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: clamp(1.1rem, 0.9rem + 0.6vw, 1.45rem) clamp(1.15rem, 0.8rem + 1.4vw, 1.75rem);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  color: var(--green-700);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.faq__trigger:hover { background: rgba(184, 150, 90, 0.08); }

.faq__trigger[aria-expanded='true'] { color: var(--green-600); }

.faq__chevron {
  flex: none;
  font-size: 1.35rem;
  color: var(--gold-700);
  stroke-width: 2;
  transition: transform 0.3s var(--ease);
}

.faq__trigger[aria-expanded='true'] .faq__chevron { transform: rotate(180deg); }

/* Animated with an inline max-height set by main.js, so the transition works
   without hard-coding a height per panel. */
.faq__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.34s var(--ease);
}

.faq__body {
  padding: 0 clamp(1.15rem, 0.8rem + 1.4vw, 1.75rem) clamp(1.35rem, 1rem + 1vw, 1.75rem);
  color: var(--ink-soft);
  font-size: var(--step-0);
}

.faq__body > * + * { margin-top: 0.85rem; }

.faq__body ul { display: grid; gap: 0.45rem; }

.faq__body li { position: relative; padding-left: 1.35rem; }

.faq__body li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive-500);
}

.faq__body a { color: var(--green-600); font-weight: 500; text-underline-offset: 3px; }
.faq__body a:hover { color: var(--gold-700); }


/* 12b. Legal pages ======================================================== */

.legal {
  padding-block: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 4.5rem))
    var(--section-y);
}

.legal__head { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }

.legal__updated {
  margin-top: 0.9rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.legal__body > * + * { margin-top: 1.1rem; }

.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--green-700);
  margin-top: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
}

.legal__body p,
.legal__body li { color: var(--ink-soft); }

.legal__body ul { display: grid; gap: 0.5rem; }

.legal__body li { position: relative; padding-left: 1.35rem; }

.legal__body li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive-500);
}

.legal__body a { color: var(--green-600); font-weight: 500; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--gold-700); }

.legal__note {
  margin-top: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  padding: 1.1rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold-500);
  border-radius: 10px;
  font-size: var(--step--1);
  color: var(--ink-soft);
}


/* 13. Footer ============================================================== */

.site-footer {
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) 2rem;
  background: var(--green-900);
  color: var(--ink-onDark-soft);
  font-size: var(--step--1);
}

.site-footer__top {
  display: grid;
  gap: clamp(2rem, 1rem + 3.5vw, 3.5rem);
  padding-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
  border-bottom: 1px solid var(--rule-onDark);
}

.site-footer__brand img { width: clamp(10.5rem, 9rem + 5vw, 13.5rem); height: auto; }

.site-footer__pitch {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-0);
  color: var(--gold-400);
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1rem;
}

.site-footer ul { display: grid; gap: 0.6rem; }

.site-footer a {
  color: var(--ink-onDark-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.site-footer a:hover { color: var(--white); border-bottom-color: var(--gold-400); }

.site-footer__legal { padding-top: 1.75rem; display: grid; gap: 1rem; }

.disclaimer {
  font-size: 0.76rem;
  line-height: 1.6;
  color: #93a6a0;
  max-width: 62rem;
}

.copyright { font-size: 0.8rem; color: #93a6a0; }

@media (min-width: 48em) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer__legal {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
  }

  .copyright { text-align: right; }
}


/* 14. Reveal on scroll ==================================================== */

.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal--delay { transition-delay: 0.11s; }
.reveal--delay-2 { transition-delay: 0.22s; }

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0 !important;
  }

  .reveal { opacity: 1; transform: none; }
}


/* 15. Print =============================================================== */

@media print {
  .site-header,
  .hero__bg::after,
  .nav-toggle,
  .social,
  .hero__actions,
  .appointment { display: none; }

  body { background: #fff; color: #000; font-size: 11pt; }

  .hero,
  .section--contact {
    background: #fff !important;
    color: #000;
    min-height: 0;
    padding-block: 1.5rem;
  }

  .hero__name,
  .display { color: #000; }

  .hero__titles,
  .contact-list a,
  .contact-copy p { color: #333; }

  .faq__panel { max-height: none !important; }
  .faq__panel[hidden] { display: block; }
}
