/* =========================================================================
   EverSecure Locksmiths — Global Stylesheet
   Design tokens, layout system, components, and page-specific sections
   ========================================================================= */

/* --- Design tokens --------------------------------------------------------*/
:root {
  /* Brand colours */
  --red: #B30808;
  --red-dark: #8a0606;
  --red-soft: #FFE9E9;
  --navy: #112952;
  --navy-dark: #0a1a3a;
  --navy-light: #ACC1E4;

  /* Neutrals */
  --white: #ffffff;
  --cream: #faf6f0;
  --off-white: #f7f5f1;
  --ink: #0c1a35;
  --text: #2a2a2a;
  --text-soft: #5a6477;
  --border: #ebe5d8;
  --border-strong: #d8d2c2;

  /* Type */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Spacing */
  --container: 1200px;
  --container-narrow: 880px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(17, 41, 82, 0.06);
  --shadow-md: 0 8px 24px rgba(17, 41, 82, 0.08);
  --shadow-lg: 0 24px 48px rgba(17, 41, 82, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Header & banner heights */
  --header-h: 84px;
  --banner-h: 44px;
}

/* --- Reset ----------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--red-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.9vw, 1.7rem); }
h4 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); }

p { margin: 0; }

strong { font-weight: 700; color: var(--ink); }

/* --- Layout helpers -------------------------------------------------------*/
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--navy-light); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--red-soft);
  border-radius: 999px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-header p { color: var(--text-soft); margin-top: 16px; font-size: 1.08rem; }

/* --- Buttons --------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(179, 8, 8, 0.28);
}
.btn--primary:hover {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(179, 8, 8, 0.32);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--block { width: 100%; justify-content: center; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --- Back banner ----------------------------------------------------------*/
.back-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  position: sticky;
  top: 0;
  z-index: 102;
  height: var(--banner-h);
  padding: 0 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background .2s ease;
}
.back-banner:hover,
.back-banner:focus-visible {
  background: var(--red-dark);
  color: var(--white);
}
.back-banner-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
}
.back-banner svg {
  flex-shrink: 0;
  transition: transform .2s ease;
}
.back-banner:hover svg { transform: translateX(-3px); }

@media (max-width: 540px) {
  .back-banner { font-size: 0.85rem; }
  .back-banner-inner { padding: 4px 6px; }
}

/* --- Header / Nav ---------------------------------------------------------*/
.site-header {
  position: sticky;
  top: var(--banner-h);
  z-index: 101;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  position: relative;
  padding: 8px 2px;
}
.nav-links a:not(.btn):hover { color: var(--red); }
.nav-links a:not(.btn).active {
  color: var(--red);
}
.nav-links a:not(.btn).active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile-only CTA inside the dropdown — hidden by default */
.nav-mobile-cta { display: none; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.97rem;
}
.nav-phone svg { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  /* Mobile menu = dropdown that sits flush below the header */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(17, 41, 82, 0.10);
  }
  .nav-links.is-open {
    max-height: calc(100vh - var(--header-h) - var(--banner-h));
    overflow-y: auto;
  }
  .nav-links a:not(.btn) {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
  .nav-links a.active::after { display: none; }

  /* Show the CTA inside the dropdown menu */
  .nav-links .nav-mobile-cta {
    display: inline-flex;
    margin: 20px 24px 24px;
    padding: 18px 28px;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
  }

  /* Hide the desktop CTA button from header bar */
  .nav-cta > a.btn { display: none; }

  .nav-phone span.label { display: none; }
  .brand img { height: 44px; }
}

@media (max-width: 540px) {
  :root { --header-h: 72px; --banner-h: 38px; }
  .nav-phone { font-size: 0.9rem; }
}

/* --- Hero (homepage) -----------------------------------------------------*/
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--cream) 0%, var(--red-soft) 100%);
  padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 9vw, 130px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(172, 193, 228, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255, 233, 233, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero h1 {
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}
.hero h1 .red { color: var(--red); }
.hero-sub {
  font-size: clamp(1.05rem, 0.96rem + 0.4vw, 1.18rem);
  color: var(--text-soft);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-bullets {
  margin: 0 0 36px;
}
.hero-bullets li {
  position: relative;
  padding: 14px 0 14px 38px;
  border-bottom: 1px dashed var(--border-strong);
  font-size: 1rem;
  color: var(--text);
}
.hero-bullets li:last-child { border-bottom: 0; }
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 22px; height: 22px;
  background: var(--red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-trust {
  margin-top: 32px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.hero-trust strong { color: var(--ink); }

.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.hero-image::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 3px solid var(--red);
  border-radius: var(--radius-lg);
  z-index: -1;
}

@media (max-width: 880px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image { order: -1; max-width: 480px; margin: 0 auto; }
  .hero-image img { aspect-ratio: 4 / 3; }
}

/* --- Generic page hero (small) --------------------------------------------*/
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--navy-light);
  padding: clamp(80px, 10vw, 130px) 0 clamp(70px, 9vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(179, 8, 8, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(172, 193, 228, 0.10) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 16px;
}
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero p {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem);
  max-width: 660px;
  margin: 0 auto;
  color: var(--navy-light);
}

/* --- PAS section ----------------------------------------------------------*/
.pas {
  background: var(--white);
}
.pas .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.pas-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pas-content h2 {
  margin-bottom: 20px;
}
.pas-content p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

@media (max-width: 880px) {
  .pas .container { grid-template-columns: 1fr; gap: 40px; }
}

/* --- Benefits / 3-up grid ------------------------------------------------*/
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}
.benefit-icon {
  width: 56px; height: 56px;
  background: var(--red-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  margin-bottom: 22px;
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.benefit-card p {
  color: var(--text-soft);
  line-height: 1.65;
}

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

/* --- Process / steps -----------------------------------------------------*/
.process {
  background: var(--cream);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.step-card {
  background: var(--white);
  padding: 40px 32px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}
.step-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.step-card p { color: var(--text); line-height: 1.65; }

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

/* --- Features (large list) -----------------------------------------------*/
.features {
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-item {
  padding: 30px 24px 26px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--red);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.feature-item h3 {
  font-size: 1.13rem;
  margin-bottom: 10px;
}
.feature-item p {
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

@media (max-width: 880px) { .features-grid { grid-template-columns: 1fr; } }
@media (min-width: 881px) and (max-width: 1100px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- FAQ accordion --------------------------------------------------------*/
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-strong);
}
.faq-item:first-child { border-top: 1px solid var(--border-strong); }

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 56px 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  transition: color .2s ease;
}
.faq-question:hover { color: var(--red); }
.faq-question::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 26px; height: 26px;
  background: var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .25s ease;
}
.faq-item.is-open .faq-question::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 12px 26px 4px;
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-category {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 48px 0 8px;
  padding-left: 4px;
}
.faq-category:first-child { margin-top: 0; }

/* --- CTA section ----------------------------------------------------------*/
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(179, 8, 8, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(172, 193, 228, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p {
  font-size: 1.1rem;
  color: var(--navy-light);
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-banner .btn-row { justify-content: center; }

/* --- About page ----------------------------------------------------------*/
.about-intro {
  background: var(--white);
  padding: clamp(60px, 8vw, 110px) 0;
}
.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.about-image {
  position: sticky;
  top: calc(var(--header-h) + var(--banner-h) + 24px);
}
.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-content > * + * { margin-top: 22px; }
.about-content p { color: var(--text); font-size: 1.05rem; line-height: 1.75; }
.about-content h2 { margin-top: 32px; }

.checklist {
  list-style: none;
  margin: 8px 0 8px !important;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.55;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 22px; height: 22px;
  background: var(--red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 880px) {
  .about-intro .container { grid-template-columns: 1fr; gap: 36px; }
  .about-image { position: static; max-width: 460px; margin: 0 auto; }
  .about-image img {
    aspect-ratio: 4 / 3;
    object-position: center top;
  }
}

/* --- Services page (icon list) -------------------------------------------*/
.services-list {
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
}
.service-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  align-items: start;
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--border);
}
.service-row:first-of-type { padding-top: 0; }
.service-row:last-of-type { border-bottom: 0; padding-bottom: 0; }

.service-icon-wrap {
  width: 84px;
  height: 84px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon-wrap svg { width: 40px; height: 40px; }

.service-content h3 {
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.1rem);
  margin-bottom: 6px;
}
.service-content .service-tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--red);
  margin-bottom: 18px;
  display: block;
}
.service-content p {
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.service-best-for {
  background: var(--cream);
  border-left: 4px solid var(--navy);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-soft);
  font-size: 0.97rem;
}

@media (max-width: 640px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-icon-wrap { width: 64px; height: 64px; border-radius: 16px; }
  .service-icon-wrap svg { width: 30px; height: 30px; }
}

.service-standards {
  background: var(--cream);
}
.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.standards-grid li {
  background: var(--white);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}
.standards-grid li::before {
  content: "";
  flex: 0 0 24px;
  width: 24px; height: 24px;
  background: var(--red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

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

/* --- Contact page --------------------------------------------------------*/
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.contact-info-card h3 { margin-bottom: 8px; }
.contact-info-card > p { color: var(--text-soft); margin-bottom: 26px; }
.contact-info-list { display: grid; gap: 18px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-item .icon {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-item .icon svg { width: 20px; height: 20px; }
.contact-info-item .label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-info-item .value {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  display: block;
  text-decoration: none;
  word-break: break-word;
}
.contact-info-item a.value:hover { color: var(--red); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { color: var(--text-soft); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179, 8, 8, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}
.form-status.is-error {
  display: block;
  background: var(--red-soft);
  color: var(--red-dark);
  border: 1px solid var(--red);
}
.form-status.is-loading {
  display: block;
  background: var(--off-white);
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Thank you page ------------------------------------------------------*/
.thankyou {
  min-height: calc(100vh - var(--header-h) - var(--banner-h) - 200px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--red-soft) 100%);
  padding: 60px 0;
}
.thankyou-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.thankyou-icon {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.thankyou-icon svg { width: 44px; height: 44px; }
.thankyou-card h1 { margin-bottom: 16px; }
.thankyou-card p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 28px; }

/* --- Privacy policy / legal page -----------------------------------------*/
.legal {
  background: var(--white);
  padding: clamp(60px, 8vw, 100px) 0;
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h1 { margin-bottom: 8px; }
.legal-content > p:first-of-type {
  color: var(--text-soft);
  margin-bottom: 36px;
  font-size: 0.95rem;
}
.legal-content h2 {
  margin: 44px 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
}
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-content h3 {
  margin: 24px 0 10px;
  font-size: 1.15rem;
  color: var(--navy);
}
.legal-content p { margin-bottom: 14px; line-height: 1.75; color: var(--text); }
.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: var(--text);
}
.legal-content a { word-break: break-word; }
.legal-content strong { color: var(--ink); }

/* --- Footer ---------------------------------------------------------------*/
.site-footer {
  background: var(--navy);
  color: var(--navy-light);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img {
  width: 130px;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy-light);
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: var(--navy-light);
  font-size: 0.95rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-contact-list { display: grid; gap: 12px; }
.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.5;
}
.footer-contact-list svg {
  flex-shrink: 0;
  color: var(--red-soft);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--navy-light);
}
.footer-bottom a { color: var(--navy-light); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* --- Utility / animation -------------------------------------------------*/
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s ease both; }
.fade-up.delay-1 { animation-delay: .1s; }
.fade-up.delay-2 { animation-delay: .2s; }
.fade-up.delay-3 { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; color: var(--white); }
