@charset "UTF-8";
/* ==========================================================================
   ProCare Contracting
   Implements design-system/procare-contracting/MASTER.md
   Palette is brand-derived (logo.png), NOT the generator's trust-blue.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color — see MASTER.md for measured contrast ratios */
  --color-brand: #e03c31;          /* logo red. 4.32:1 on white — large text / fills only */
  --color-primary: #c42d24;        /* 5.60:1 — safe for buttons, links, small text */
  --color-primary-hover: #a32319;  /* 7.40:1 */
  --color-on-primary: #ffffff;
  --color-secondary: #77787b;      /* logo gray. 4.42:1 — decorative only */
  --color-muted-fg: #5a5b5e;       /* 6.79:1 — the one gray allowed on body copy */
  --color-background: #ffffff;
  --color-surface: #f5f5f4;
  --color-surface-2: #ebeae8;
  --color-foreground: #1a1b1d;     /* 16.4:1 */
  --color-border: #dededc;
  --color-destructive: #b4231a;    /* 6.40:1 */
  --color-ring: #c42d24;

  /* Dark section (footer, CTA band) */
  --color-dark: #1a1b1d;
  --color-dark-2: #26282b;
  --color-on-dark: #f7f7f6;        /* 15.6:1 on --color-dark */
  --color-on-dark-muted: #b9bab9;  /* 8.1:1 on --color-dark — AA at body size */

  /* Typography */
  --font-heading: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing — density 4/10 (standard) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Geometry */
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1200px;
  --gutter: clamp(1rem, 5vw, 2.5rem);
  --section-y: clamp(3rem, 8vw, 6rem);
  --header-h: 72px;

  --transition: 200ms ease;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1.0625rem;              /* 17px — above the 16px floor */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;                /* belt-and-braces against horizontal scroll */
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 var(--space-md); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary-hover); }

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

/* `picture` is an ordinary auto-height block. Any `img { height: 100% }`
   inside one resolves against that auto height, falls back to intrinsic
   size, and overflows its container. Every picture that wraps a
   height-constrained image must therefore carry the height itself. */
picture { display: block; max-width: 100%; }
.hero__media picture,
.card__media picture { width: 100%; height: 100%; }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25rem; }
li { margin-bottom: var(--space-xs); }

strong { font-weight: 700; }

/* Global focus treatment — never removed, only replaced. */
:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: #ffffff; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--surface { background: var(--color-surface); }
.section--dark { background: var(--color-dark); color: var(--color-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--color-on-dark); }
.section--dark p { color: var(--color-on-dark-muted); }

.section-head { max-width: 60ch; margin-bottom: var(--space-2xl); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.section--dark .eyebrow,
.hero .eyebrow { color: #ff8078; }   /* lightened red: 6.9:1 on --color-dark */

.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--color-muted-fg); }
.section--dark .lead { color: var(--color-on-dark-muted); }

.grid { display: grid; gap: var(--space-xl); }
/* 420px floor keeps this at 2 columns on desktop. A 320px floor resolves to
   3 columns at 1200px, which strands the 4th service card alone on row 2. */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  z-index: 200;
  padding: 12px 20px;
  background: var(--color-foreground);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--transition);
}
.skip-link:focus-visible { transform: translateY(0); color: #fff; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 48px;                  /* exceeds the 44px touch minimum */
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}

/* CTAs are charcoal, not red. Red is the conventional destructive/error
   signal and this site uses it for form errors; a red "Send request" button
   competes with its own error state. Red survives as an accent (eyebrows,
   stat figures, icons, rules), where it carries brand without shouting. */
.btn-primary { background: var(--color-foreground); color: #fff; }
.btn-primary:hover { background: #3a3d42; color: #fff; transform: translateY(-1px); }

.btn-secondary { background: transparent; color: var(--color-foreground); border-color: var(--color-border); }
.btn-secondary:hover { background: var(--color-surface-2); border-color: var(--color-foreground); }

/* On dark sections a charcoal button would vanish, so it inverts to white. */
.hero .btn-primary,
.cta-band .btn-primary {
  background: #ffffff;
  color: var(--color-foreground);
}
.hero .btn-primary:hover,
.cta-band .btn-primary:hover { background: var(--color-surface-2); color: var(--color-foreground); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost-light:hover { background: #fff; color: var(--color-foreground); }

.btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.btn-row--center { justify-content: center; }

.btn .icon { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------------------------
   5. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.6) blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { height: 40px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-foreground);
  cursor: pointer;
  transition: background-color var(--transition);
}
.nav-toggle:hover { background: var(--color-surface); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: var(--space-lg); }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li { margin: 0; }
/* `:not(.btn)` matters: the nav also contains the CTA button, and a bare
   `.site-nav a` rule outranks `.btn-primary` and overrides its text colour. */
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-foreground);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav a:not(.btn):hover { color: var(--color-primary); }
/* Current page marked with aria-current, so the styling and the a11y tree agree. */
.site-nav a[aria-current="page"] { color: var(--color-primary); border-bottom-color: var(--color-brand); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-foreground);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--color-primary); }
.header-phone .icon { width: 18px; height: 18px; color: var(--color-primary); }

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-md) var(--gutter) var(--space-xl);
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav[hidden] { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) {
    min-height: 52px;
    padding-block: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    font-size: 1.0625rem;
  }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--color-border); }
  .site-nav .btn { margin-top: var(--space-md); width: 100%; }
  /* Icon-only on small screens, but the box must stay a real tap target:
     the bare 18px icon is narrower than the 24px WCAG 2.2 AA minimum. */
  .header-phone {
    margin-left: auto;
    min-width: 44px;
    justify-content: center;
  }
  .header-phone span { display: none; }
  .header-phone .icon { width: 22px; height: 22px; }
}
@media (min-width: 901px) {
  .nav-toggle { display: none; }
  .site-nav[hidden] { display: flex; }     /* desktop ignores the mobile hidden state */
}

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(480px, 72vh, 700px);
  padding-block: var(--section-y);
  background: var(--color-dark);
  color: #fff;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  /* Overlay keeps white text at >7:1 over any part of the photo. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(15, 16, 18, 0.9) 0%, rgba(15, 16, 18, 0.78) 45%, rgba(15, 16, 18, 0.5) 100%);
}
.hero__content { max-width: 46rem; }
.hero h1 { color: #fff; }
.hero p { color: #e8e8e7; font-size: clamp(1.0625rem, 1.8vw, 1.3125rem); }
.hero .btn-row { margin-top: var(--space-xl); }

.hero--compact { min-height: 0; padding-block: clamp(3rem, 7vw, 5rem); }
.hero--compact h1 { font-size: clamp(2rem, 5vw, 3.25rem); }

/* Breadcrumb-ish page intro on interior pages */
.page-intro p { color: #e8e8e7; max-width: 60ch; }

/* --------------------------------------------------------------------------
   7. CARDS
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__media { aspect-ratio: 4 / 3; background: var(--color-surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--space-lg); }
.card__body h3 { margin-bottom: var(--space-sm); }
.card__body p { color: var(--color-muted-fg); font-size: 1rem; }

/* Whole card clickable via a stretched link, so the tap target is the card. */
.card--link { position: relative; }
.card--link h3 a { color: var(--color-foreground); text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; }
.card--link:hover h3 a { color: var(--color-primary); }
.card--link:focus-within { box-shadow: var(--shadow-lg); }

/* Icon feature cards (no photo) */
.feature {
  padding: var(--space-lg);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  border-radius: var(--radius);
  background: rgba(224, 60, 49, 0.1);
  color: var(--color-primary);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature p { color: var(--color-muted-fg); font-size: 1rem; }

/* --------------------------------------------------------------------------
   8. STATS / PROOF
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
}
.stat { text-align: center; }
.stat dt { order: 2; color: var(--color-muted-fg); font-size: 0.9375rem; }
.stat dd {
  order: 1;
  margin: 0 0 var(--space-xs);
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-primary);
}
.stat { display: flex; flex-direction: column; }
.section--dark .stat dt { color: var(--color-on-dark-muted); }
.section--dark .stat dd { color: #ff8078; }

/* --------------------------------------------------------------------------
   9. TRADE LIST  (Services > What We Do)
   Plain <ul>/<li> semantics — deliberately NOT headings, so the page does not
   compete for "orlando roofer" / "orlando plumber" queries.
   -------------------------------------------------------------------------- */
.trade-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--space-sm) var(--space-lg);
  margin: var(--space-lg) 0 var(--space-xl);
  padding: 0;
  list-style: none;
}
.trade-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0;
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.0625rem;
}
.trade-list .icon { width: 20px; height: 20px; flex: none; color: var(--color-primary); }

/* Closing statement. A short rule ABOVE the line, not a tab beside it. */
.closing-line {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  font-size: clamp(1.125rem, 1.9vw, 1.4375rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 34ch;
}
.closing-line::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: var(--space-lg);
  background: var(--color-brand);
}

/* Scope / minimum-project callout — set apart by surface and space, not an edge stripe. */
.scope-callout {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.scope-callout h2 { margin-bottom: var(--space-md); }
.scope-callout p { color: var(--color-muted-fg); }
.scope-callout .amount { color: var(--color-foreground); font-weight: 700; white-space: nowrap; }

/* --------------------------------------------------------------------------
   10. PORTFOLIO GRID
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--space-lg);
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-2);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  padding: var(--space-md);
  background: var(--color-surface);
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
}

/* --------------------------------------------------------------------------
   11. SPLIT (image + text)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 739px) {
  .split--reverse .split__media { order: 0; }
}

.value-list { list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.value-list li {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.value-list img { width: 56px; height: 56px; flex: none; object-fit: contain; }
.value-list h3 { margin-bottom: var(--space-xs); font-size: 1.125rem; }
.value-list p { color: var(--color-muted-fg); font-size: 1rem; margin: 0; }

/* --------------------------------------------------------------------------
   12. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); }

/* Visible label, always. Never a placeholder standing in for one. */
.field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; }
.field .req { color: var(--color-primary); }
.field .hint { font-size: 0.875rem; color: var(--color-muted-fg); }

.input,
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  min-height: 48px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;               /* 16px floor stops iOS zoom-on-focus */
  color: var(--color-foreground);
  transition: border-color var(--transition);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-secondary); }

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--color-destructive); border-width: 2px; }

/* Error text sits with its field, never only in a summary at the top. */
.field .error {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 1.25rem;
  color: var(--color-destructive);
  font-size: 0.875rem;
  font-weight: 600;
}
.field .error:empty { display: none; }
.field .error .icon { width: 16px; height: 16px; flex: none; }

.form-status {
  padding: var(--space-md);
  border-radius: var(--radius);
  font-weight: 600;
}
.form-status:empty { display: none; }
.form-status[data-state="error"] { background: #fbeae9; color: var(--color-destructive); }
.form-status[data-state="success"] { background: #e8f4ec; color: #14652f; }

.contact-panel {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: start;
}
.contact-details { list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.contact-details li { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); }
.contact-details .icon { width: 22px; height: 22px; flex: none; color: var(--color-primary); margin-top: 3px; }
.contact-details a { font-weight: 600; }
.contact-details .label {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. CTA BAND + FOOTER
   -------------------------------------------------------------------------- */
.cta-band { background: var(--color-dark); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--color-on-dark-muted); margin-inline: auto; }

.site-footer {
  background: var(--color-dark);
  color: var(--color-on-dark-muted);
  border-top: 1px solid var(--color-dark-2);
  padding-block: var(--space-3xl) var(--space-xl);
  font-size: 0.9375rem;
}
.site-footer h4 { color: var(--color-on-dark); font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer a { color: var(--color-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--space-sm); }
.footer-grid a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: var(--space-md); }
/* Google Maps embed. The pasted iframe is a fixed 600x450, which overflows
   a 375px viewport; width/height attributes stay on the element to reserve
   the ratio (CLS), and these rules make it fluid. */
.footer-map { margin-top: var(--space-2xl); }
.footer-map h4 { margin-bottom: var(--space-md); }
.footer-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-dark-2);
}
@media (max-width: 700px) {
  .footer-map iframe { height: 240px; }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-dark-2);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   14. MOTION — subtle tier (3/10)
   `.reveal` only hides content once JS confirms it can un-hide it.
   -------------------------------------------------------------------------- */
.js-reveal-armed .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms ease-out, transform 350ms ease-out;
}
.js-reveal-armed .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal-armed .reveal { opacity: 1; transform: none; }
  .card:hover, .btn-primary:hover { transform: none; }
  .gallery figure:hover img { transform: none; }
}

/* --------------------------------------------------------------------------
   15. UTILITIES
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Touch-target floor. Scoped to touch devices and narrow viewports so the
   desktop footer keeps its tighter 32px rhythm where a mouse is in use. */
@media (pointer: coarse), (max-width: 900px) {
  .footer-grid a,
  .contact-details a,
  .brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .contact-details li { margin-bottom: var(--space-md); }
}

.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }

@media print {
  .site-header, .cta-band, .nav-toggle { display: none; }
  body { color: #000; }
}
