/* =========================================================
   Vanguard Facilities — stylesheet
   Brand: Bebas Neue (display) + system UI (body)
   Palette: charcoal #231F20, brand grey #939598, white
   ========================================================= */

@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue Book";
  src: url("fonts/BebasNeue-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours */
  --ink: #231f20;
  --ink-soft: #4a4646;
  --grey: #939598;
  --grey-text: #6f7175; /* darkened brand grey — meets 4.5:1 text contrast on white, decorative --grey reserved for borders/icons */
  --grey-light: #d8d7d8;
  --surface: #f6f5f4;
  --surface-strong: #ececea;
  --border: #e1dfde;
  --white: #ffffff;
  --success: #2e6b3e;
  --error: #a5312a;

  /* Type */
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-display-book: "Bebas Neue Book", "Arial Narrow", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --radius: 4px;
  --radius-lg: 8px;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --section-pad: clamp(3.5rem, 7vw, 6.5rem);
  --container: 1200px;
  --shadow-sm: 0 1px 3px rgba(35, 31, 32, 0.08);
  --shadow-md: 0 8px 24px rgba(35, 31, 32, 0.12);
  --transition: 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

section[id] {
  scroll-margin-top: 84px;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.04em; }

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-display-book);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--grey-text);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.9em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: inline-block;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section {
  padding-block: var(--section-pad);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--white);
  padding: 0.85em 1.25em;
  z-index: 1000;
  border-radius: var(--radius);
  font-family: var(--font-body);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 48px;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #000;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-block { width: 100%; }

.btn:active { transform: translateY(1px); }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo mark stays an SVG image (font-independent). The wordmark is set as
   real HTML text in Bebas Neue rather than baked into the SVG, because an
   <img>-embedded SVG can't see this page's @font-face — it renders with
   whatever font is installed locally, which broke the logo's appearance. */
.brand-mark {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  color: var(--ink);
}

.brand-word-top {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand-word-bottom {
  font-family: var(--font-display-book);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.brand-word-rev,
.brand-word-rev .brand-word-top {
  color: var(--white);
}

.brand-word-rev .brand-word-bottom {
  color: rgba(255, 255, 255, 0.65);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.25rem);
}

.main-nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 0.35em 0;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width var(--transition);
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn):focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle svg { width: 22px; height: 22px; }

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    gap: 0;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    overflow-y: auto;
  }

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

  .main-nav a:not(.btn) {
    padding: 1em 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
  }

  .main-nav .btn {
    margin-top: 1.25rem;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(105deg, rgba(20, 18, 18, 0.92) 0%, rgba(35, 31, 32, 0.82) 45%, rgba(35, 31, 32, 0.55) 100%), var(--hero-img);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-shape {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: min(38vw, 420px);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 680px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.5em 1em;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 46ch;
  margin-bottom: 0.75em;
}

.hero .sub {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-credential {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.hero-credential svg { flex-shrink: 0; }

/* =========================================================
   Trust strip
   ========================================================= */

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trust-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  padding-block: 1.1rem;
}

.trust-strip-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.trust-strip-row svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ink);
}

/* =========================================================
   Services
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--ink);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { margin-bottom: 0.5em; }

.service-card .tagline {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.9em;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.service-list li {
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.4em 0.75em;
  border-radius: 999px;
}

/* =========================================================
   Supporting services — deliberately smaller/quieter than the
   priority trade cards above (maintenance, coordination, cleaning)
   ========================================================= */

.support-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.support-section .section-head { margin-bottom: clamp(1.5rem, 3vw, 2rem); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.support-card {
  background: var(--white);
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
}

.support-card-head {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.5em;
}

.support-card-head svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--grey-text);
}

.support-card-head h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0;
  margin: 0;
}

.support-card .tagline {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: 0.75em;
}

.support-card .service-list li {
  font-size: 0.76rem;
  padding: 0.32em 0.6em;
  background: var(--surface);
}

/* =========================================================
   How it works
   ========================================================= */

.how-section {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.how-section .eyebrow { color: var(--grey-light); }
.how-section .eyebrow::before { background: var(--white); }
.how-section p { color: rgba(255, 255, 255, 0.75); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  position: relative;
}

.step {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.step h3 { color: var(--white); margin-bottom: 0.5em; }
.step p { margin-bottom: 0; color: rgba(255, 255, 255, 0.72); }

.how-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.how-note svg { width: 28px; height: 28px; flex-shrink: 0; }
.how-note p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; max-width: 60ch; }

/* =========================================================
   Commercial / Domestic split
   ========================================================= */

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap);
}

.client-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.client-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.client-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.15) 0%, rgba(35, 31, 32, 0.92) 78%);
  z-index: -1;
}

.client-card-body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  width: 100%;
}

.client-card h3 { color: var(--white); }
.client-card-body p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; }

.client-tag {
  display: inline-block;
  font-family: var(--font-display-book);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5em;
}

.client-list {
  list-style: none;
  margin: 1em 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5em 1em;
}

.client-card .quote-cta {
  margin-top: 1.5rem;
  display: inline-flex;
}

.client-list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 1.1em;
  position: relative;
}

.client-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--white);
}

/* =========================================================
   Why choose us
   ========================================================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-item {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  gap: 1rem;
}

.why-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--ink);
  margin-top: 0.15em;
}

.why-item h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin-bottom: 0.3em;
}

.why-item p { margin: 0; font-size: 0.92rem; }

/* =========================================================
   Quote form
   ========================================================= */

.quote-section {
  background: var(--surface);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 980px) {
  .quote-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.quote-aside .eyebrow { margin-bottom: 0.9em; }

.quote-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.quote-points li {
  display: flex;
  gap: 0.7em;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.quote-points svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink); margin-top: 0.1em; }

.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.4em; }
.form-field.full { grid-column: 1 / -1; }

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field .optional {
  font-weight: 400;
  color: var(--grey-text);
  text-transform: none;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75em 0.85em;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  min-height: 48px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(35, 31, 32, 0.12);
  outline: none;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--error);
}

.field-error {
  font-size: 0.82rem;
  color: var(--error);
  display: none;
  align-items: center;
  gap: 0.4em;
}

.form-field.has-error .field-error { display: flex; }

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

fieldset legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
  margin-bottom: 0.5em;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem 1rem;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.95rem;
  cursor: pointer;
}

.radio-option input,
.checkbox-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.file-field {
  border: 1.5px dashed var(--grey-light);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75em;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}

.file-field:hover,
.file-field:focus-within {
  border-color: var(--ink);
  background: var(--surface);
}

.file-field svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--grey-text);
}

.file-field-text { min-width: 0; }

.file-field input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-field-label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

.file-field-hint {
  font-size: 0.78rem;
  color: var(--grey-text);
  margin: 0.25em 0 0;
}

.file-field-list {
  margin-top: 0.5em;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
}

.consent-row {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.consent-row input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15em;
  accent-color: var(--ink);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: 0.7em;
  padding: 1em 1.1em;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.form-status svg { width: 22px; height: 22px; flex-shrink: 0; }

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

.form-status.success {
  background: #eaf3ec;
  color: var(--success);
  border: 1px solid #bfdcc5;
}

.form-status.error {
  background: #fbeceb;
  color: var(--error);
  border: 1px solid #f0c4c1;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--grey-text);
  margin: 0;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: none;
}

.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.85; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.privacy-note {
  max-width: 720px;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--grey-text);
}

/* =========================================================
   Contact
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 1.9rem);
}

.contact-card svg {
  width: 26px;
  height: 26px;
  margin-bottom: 0.9rem;
}

.contact-card h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 0.4em;
}

.contact-card a {
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  border-bottom-color: currentColor;
}

.contact-card p { margin: 0; font-size: 0.95rem; }

.placeholder-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey-text);
  background: var(--surface-strong);
  padding: 0.2em 0.55em;
  border-radius: 999px;
  margin-left: 0.4em;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 3rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
}

.footer-brand-lockup { margin-bottom: 0.9rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); max-width: 36ch; font-size: 0.88rem; margin-bottom: 1rem; }

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  transition: background var(--transition), border-color var(--transition);
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav a:hover,
.footer-nav a:focus-visible { text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a { color: inherit; text-decoration: underline; }

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