/*  NatureFriend — light, editorial theme for the Swazm components: cream
    surfaces, deep botanical green, serif display headings (Playfair Display),
    Manrope body. Colors/fonts come from CSS custom properties generated from
    content/site.yml "theme" tokens into theme.css.  */

/* --- Self-hosted fonts (SIL OFL): Manrope (body), Playfair Display (headings) --- */
@font-face {
  font-family: 'Manrope';
  src: url('/naturefriend/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('/naturefriend/assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/naturefriend/assets/fonts/playfair-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/naturefriend/assets/fonts/playfair-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
  /* Fallbacks — theme.css (generated) overrides these. */
  --color-primary: #274f38;
  --color-primary-ink: #f7f5ef;
  --color-accent: #2f6844;
  --color-bg: #f6f3ec;
  --color-surface: #ffffff;
  --color-ink: #1f2b24;
  --color-muted: #5f6d64;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --hairline: color-mix(in srgb, var(--color-ink) 12%, transparent);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
}

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

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }

a { color: var(--color-accent); }

.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 46rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.6rem;
}

/* Buttons — rectangular, calm */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.button--primary { background: var(--color-primary); color: var(--color-primary-ink); }
.button--ghost { border-color: var(--color-primary); color: var(--color-primary); background: color-mix(in srgb, var(--color-surface) 75%, transparent); }
.button--light { background: var(--color-surface); color: var(--color-primary); }
.button:hover { filter: brightness(1.12); }
/* Arrow affordance on primary/light buttons, like the mockup */
.button--primary::after, .button--light::after { content: " →"; }

/* Demo banner — slim notice above the header pointing back to the maker */
.site-banner { background: var(--color-ink); color: var(--color-primary-ink); font-size: 0.85rem; }
.site-banner__inner { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; padding-block: 0.45rem; }
.site-banner__text { opacity: 0.9; }
.site-banner__link { color: inherit; font-weight: 700; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); }
.site-banner__link::after { content: " ↗"; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--color-bg) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.brand { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 0.5rem; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; }
.brand__tagline { color: var(--color-muted); font-size: 0.8rem; }
/* The header img is .brand__wordmark, the footer one .brand__logo — both need
   the cap, or an unmatched selector leaves the logo at its natural pixel size. */
.brand__logo, .brand__wordmark { max-height: 3rem; width: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a { text-decoration: none; color: inherit; font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.site-nav a:hover, .site-nav a.is-current { color: var(--color-accent); }
.site-nav a.button { color: var(--color-primary-ink); }
/* Active section (scroll-spy / current page): accent underline, not bold —
   bolding shifts each link's width and makes the whole bar jump. */
.site-nav__list > li > a:not(.button) { position: relative; }
.site-nav__list > li > a.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.4rem;
  height: 2px; border-radius: 2px;
  background: var(--color-accent);
}

.lang-switch { display: flex; gap: 0.35rem; }
.lang-switch a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  border: 1px solid color-mix(in srgb, var(--color-ink) 20%, transparent);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
}
.lang-switch a:hover { color: var(--color-accent); border-color: var(--color-accent); }

.currency-switch {
  font: inherit;
  font-size: 0.8rem;
  color: var(--color-muted);
  background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-ink) 20%, transparent);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
}

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle { display: block; background: none; border: none; padding: 0.5rem; cursor: pointer; }
  .nav-toggle__bar {
    display: block;
    width: 1.5rem; height: 2px;
    background: var(--color-ink);
    box-shadow: 0 -6px 0 var(--color-ink), 0 6px 0 var(--color-ink);
  }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav__list { flex-direction: column; align-items: flex-start; padding-block: 0.75rem; }
}

/* Hero — full-bleed landscape with the copy on a soft cream veil (mockup) */
.hero {
  position: relative;
  background: url('/naturefriend/assets/img/hero.png') center / cover no-repeat;
  padding-block: clamp(4rem, 10vw, 8rem);
  border-bottom: 1px solid var(--hairline);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--color-bg) 96%, transparent) 0%,
    color-mix(in srgb, var(--color-bg) 82%, transparent) 38%,
    color-mix(in srgb, var(--color-bg) 30%, transparent) 62%,
    transparent 82%);
}
.hero__inner { position: relative; }
.hero__copy { max-width: 34rem; }
.hero__headline .accent { color: var(--color-accent); font-style: italic; }
.hero__lead { font-size: 1.05rem; color: var(--color-ink); max-width: 26rem; }
.hero__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero__media { display: none; } /* the landscape is the background */

/* Sections rhythm */
section { padding-block: clamp(2.75rem, 6vw, 5rem); }

/* Cards — grid default */
.cards__intro { color: var(--color-muted); max-width: 42rem; }
.cards__grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.card__icon {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.65rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  margin-bottom: 1rem;
}
.card__title { font-size: 1.25rem; margin-bottom: 0.35rem; }
.card__link { text-decoration: none; color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--color-muted); font-size: 0.95rem; }
/* Visible "Learn more" cue on cards that actually link somewhere */
.cards--grid .card:has(.card__link) .card__text::after {
  content: "Learn more →";
  display: block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
}

/* Feature strip under the hero: white row, centered icon + copy per cell.
   Column count is explicit per breakpoint (not auto-fit) so it's always
   known, and dividers use a row/column-aware nth-child formula (border-left
   when not in the first column, border-top when not in the first row) —
   this is what keeps the grid of dividers correct at every width: the first
   cell never has one, every other cell gets exactly the ones it needs, and
   there's never a stray or doubled line at a wrap point. */
.cards--strip { padding-block: 0; }
.cards--strip .cards__grid {
  grid-template-columns: 1fr;
  margin-top: -3rem;                    /* overlaps the hero edge (mockup) */
  background: var(--color-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--color-ink) 45%, transparent);
  padding: 1.9rem 1.25rem;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.cards--strip .card {
  background: none;
  border: none;
  border-radius: 0;                     /* dividers must be straight, not curved */
  padding: 1rem 1.25rem;
  text-align: center;
}
.cards--strip .card__icon { background: none; padding: 0; width: 2.4rem; height: 2.4rem; margin-inline: auto; margin-bottom: 0.65rem; border-radius: 0; }
.cards--strip .card__title { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; }
.cards--strip .card__text { font-size: 0.85rem; }

/* Column count is a non-overlapping range per breakpoint (max-width / min+max,
   never two open-ended min-width queries at once) — exactly one of the three
   blocks below is ever active, so their nth-child divider rules can never mix
   or out-specificity each other across a breakpoint boundary. Each block also
   fully restates border-top/border-left (never relies on another block's
   base for a "none"), so there's nothing left to inherit across breakpoints. */

/* 1 column, up to 560px: every card but the first divides from the one above. */
@media (max-width: 560px) {
  .cards--strip .card { border-top: 1px solid var(--hairline); border-left: none; }
  .cards--strip .card:first-child { border-top: none; }
}

/* 2 columns, 561–859px. */
@media (min-width: 561px) and (max-width: 859px) {
  .cards--strip .cards__grid { grid-template-columns: repeat(2, 1fr); }
  .cards--strip .card { border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
  .cards--strip .card:nth-child(-n+2) { border-top: none; }
  .cards--strip .card:nth-child(2n+1) { border-left: none; }
}

/* 4 columns (a single row), 860px and up. */
@media (min-width: 860px) {
  .cards--strip .cards__grid { grid-template-columns: repeat(4, 1fr); }
  .cards--strip .card { border-top: none; border-left: 1px solid var(--hairline); }
  .cards--strip .card:first-child { border-left: none; }
}

/* Impact stats: icon rings beside big serif numbers on the plain background */
.cards--stats { text-align: center; }
.cards--stats .cards__grid { gap: 1rem; }
.cards--stats .card { background: none; border: none; display: grid; justify-items: center; }
.cards--stats .card__icon {
  background: none;
  border: 1.5px solid color-mix(in srgb, var(--color-accent) 45%, transparent);
  width: 3.4rem; height: 3.4rem;
  padding: 0.7rem;
}
.cards--stats .card__title { font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--color-primary); margin: 0; }
.cards--stats .card__text { font-size: 0.9rem; }

/* Rich text */
.richtext__body { color: var(--color-ink); }
.richtext__body p { max-width: 46rem; }

/* A body that's a pull-quote (blockquote) is elevated into a centered,
   editorial testimonial: a large decorative mark, serif italic quote, and a
   quieter attribution line — instead of the plain left-bordered quote used
   for prose. Scoped to :has(blockquote) so a normal richText body (e.g. the
   404 page) is unaffected. */
.richtext:has(blockquote) .container { text-align: center; }
.richtext__body blockquote {
  position: relative;
  margin: 1.5rem auto 0;
  padding: 0;
  border-left: none;
  max-width: 42rem;
}
.richtext__body blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.richtext__body blockquote p {
  margin: 0;
  max-width: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.5;
  color: var(--color-ink);
}
.richtext__body blockquote p + p {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

/* CTA band */
.cta-band { background: var(--color-primary); color: var(--color-primary-ink); }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 0.25em; }
.cta-band__text { opacity: 0.85; }

/* Dynamic list (items arrive client-side from an Azure Function) */
.dynlist__intro { color: var(--color-muted); }
.dynlist__items { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.dynlist__item {
  background: var(--color-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}
.dynlist__item h3 { font-family: var(--font-sans); margin: 0 0 0.2rem; font-size: 1.05rem; font-weight: 700; }
.dynlist__item time { color: var(--color-accent); font-size: 0.8rem; font-weight: 600; }
.dynlist__item p { margin: 0.35rem 0 0; color: var(--color-muted); font-size: 0.95rem; }
.dynlist__status:empty { display: none; }
.dynlist__status { color: var(--color-muted); margin-top: 1rem; }

/* Contact */
.contact__form { display: grid; gap: 1rem; margin-top: 1.5rem; max-width: 38rem; }
.contact__form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; }
.contact__form input,
.contact__form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--color-ink) 25%, transparent);
  border-radius: 8px;
  background: var(--color-surface);
}
.contact__form button { justify-self: start; }
.contact__status:empty { display: none; }
.contact__status { font-weight: 600; }
.contact__fallback { color: var(--color-muted); margin-top: 1.5rem; }

/* Packages / pricing */
.packages__intro { color: var(--color-muted); max-width: 42rem; }
.packages__grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.plan--featured { border-color: var(--color-accent); }
.plan__badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.plan__name { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--color-muted); margin: 0; }
.plan__tagline { font-size: 1.25rem; font-weight: 600; margin: 0; }
.plan__features { list-style: none; margin: 0.5rem 0; padding: 0; display: grid; gap: 0.5rem; }
.plan__features li { padding-left: 1.4rem; position: relative; color: var(--color-muted); }
.plan__features li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.plan__price { margin-top: auto; font-size: 1.4rem; font-weight: 700; }
.plan__price-note { font-size: 0.9rem; font-weight: 400; color: var(--color-muted); }
.plan__description { color: var(--color-muted); font-size: 0.95rem; }
.plan__price-line { display: block; }
.plan__price-line + .plan__price-line { font-size: 1.05rem; }
.packages__cta { margin-top: 2rem; }
.packages__footnote { color: var(--color-muted); font-size: 0.85rem; margin-top: 1.5rem; }

/* Price list */
.price-list__intro { color: var(--color-muted); max-width: 42rem; }
.price-list__items { list-style: none; margin: 2rem 0 0; padding: 0; }
.price-list__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--hairline);
}
.price-list__label { display: grid; }
.price-list__text { color: var(--color-muted); font-size: 0.9rem; }
.price-list__price { font-weight: 700; white-space: nowrap; }
.price-list__footnote { color: var(--color-muted); font-size: 0.85rem; margin-top: 1.5rem; }

/* Legal contact (Impressum) */
.legal-contact__address { font-style: normal; display: grid; gap: 0.2rem; margin: 1.5rem 0; }
.legal-contact__address span { display: block; }
.legal-contact__rows { margin: 0 0 1.5rem; }
.legal-contact__rows div { display: flex; gap: 0.75rem; }
.legal-contact__rows dt { color: var(--color-muted); min-width: 5rem; }
.legal-contact__rows dd { margin: 0; }

/* Comparison (them vs us) */
.comparison__intro { color: var(--color-muted); max-width: 42rem; }
.comparison__table { width: 100%; max-width: 50rem; border-collapse: collapse; margin-top: 2rem; }
.comparison__table th, .comparison__table td { text-align: left; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--hairline); }
.comparison__table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); }
.comparison__table th.comparison__ours { color: var(--color-accent); }
.comparison__them { color: var(--color-muted); }
.comparison__us { font-weight: 600; }
.comparison__ours, .comparison__us { background: color-mix(in srgb, var(--color-accent) 8%, transparent); }
.comparison__footnote { color: var(--color-muted); font-size: 0.85rem; margin-top: 1.5rem; }

/* Process / steps */
.process__steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.step__num { font-size: 0.85rem; font-weight: 700; color: var(--color-accent); }
.step__title { font-size: 1.05rem; margin: 0.4rem 0 0.3rem; }
.step__text { color: var(--color-muted); font-size: 0.95rem; }

/* About — full-bleed split band: image flush left, copy on the surface */
.about {
  background: var(--color-surface);
  border-block: 1px solid var(--hairline);
  padding-block: 0;
  overflow: hidden;
}
.about__inner {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  align-items: stretch;
  width: 100%;
}
@media (min-width: 860px) {
  .about__inner { grid-template-columns: 1fr 1fr; }
}
.about__media { margin: 0; position: relative; min-height: 22rem; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__copy { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem); max-width: 38rem; }
.about__sig { position: absolute; left: 1rem; bottom: 1rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
.about__name { font-weight: 700; }
.about__role { font-size: 0.9rem; }
.about__body { color: var(--color-muted); }

/* Logos / trust strip */
.logos { padding-top: 0; }
.logos__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
}
.logos__row {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  align-items: center;
}
.logos__item { color: var(--color-muted); font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; opacity: 0.8; }
.logos__item img { max-height: 1.75rem; width: auto; }

/* Footer */
.site-footer { margin-top: 3rem; background: var(--color-surface); border-top: 1px solid var(--hairline); }
.site-footer__inner { padding-block: 2.75rem; display: grid; gap: 1.75rem; }
.site-footer__logo { max-height: 2.6rem; margin-bottom: 0.25rem; }
.site-footer__text { color: var(--color-muted); font-size: 0.95rem; }
.site-footer__legal ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.site-footer__copyright { color: var(--color-muted); font-size: 0.85rem; margin: 0; }
.site-footer__heading { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--color-muted); margin: 0 0 0.6rem; }
.site-footer__column ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer__column a { text-decoration: none; color: var(--color-ink); font-size: 0.92rem; }
.site-footer__column a:hover { color: var(--color-accent); }
.site-footer__cta { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.5rem; }
.site-footer__cta-title { font-weight: 700; margin: 0 0 0.75rem; }
.site-footer__cta-text { color: var(--color-muted); font-size: 0.95rem; }
.site-footer__social { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; gap: 1rem; }
.site-footer__social a { display: inline-flex; color: var(--color-muted); }
.site-footer__social a:hover { color: var(--color-ink); }
.social-icon { width: 1.35rem; height: 1.35rem; display: block; }
@media (min-width: 860px) {
  /* Row 1: brand block | link columns | contact box. Row 2: legal. Row 3: ©. */
  .site-footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; align-items: start; column-gap: 2.5rem; }
  .site-footer__cta { grid-column: 4; grid-row: 1; }
  .site-footer__legal { grid-column: 1 / -1; grid-row: 2; }
  .site-footer__legal .site-footer__heading { display: none; }
  .site-footer__copyright { grid-column: 1 / -1; }
}
