/* ============================================================
   1. CUSTOM PROPERTIES
============================================================ */
:root {
  /* Brand colours — derived from logo (blue flame + cool near-black) */
  --dark:         #0F1419;
  --dark-light:   #1a2028;
  --dark-border:  #2a3441;
  --blue:         #1E88E5;
  --blue-dark:    #1565C0;
  --blue-pale:    #E3F2FD;
  --white:        #ffffff;
  --light-gray:   #f4f6f8;
  --text-dark:    #0F1419;
  --text-muted:   #64748b;

  /* Legacy aliases — keep existing var(--orange*) references working */
  --orange:       var(--blue);
  --orange-dark:  var(--blue-dark);
  --orange-pale:  var(--blue-pale);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing (8px base) */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 5rem;

  /* Layout */
  --container-max: 1200px;
  --header-height: 70px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   3. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { line-height: 1.7; }

strong {
  font-weight: 600;
  color: var(--text-dark);
}

/* ============================================================
   4. LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.section {
  padding-block: var(--space-xl);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-lg); }
  .section   { padding-block: var(--space-2xl); }
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.section-title {
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.section-title--light {
  color: var(--white);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

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

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

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

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

/* ============================================================
   6. HEADER + NAV
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
  border-bottom: 1px solid var(--dark-border);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.footer-logo-img {
  display: inline-block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  vertical-align: middle;
  margin-right: 0.6rem;
}

.logo-text {
  color: var(--white);
}

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav (hidden by default) */
.nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--dark-light);
  padding: var(--space-md) var(--space-sm);
  border-top: 2px solid var(--orange);
  border-bottom: 1px solid var(--dark-border);
  box-shadow: var(--shadow-lg);
}

.nav.is-open {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.75rem var(--space-sm);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--orange);
}

.nav-link--cta {
  background: var(--orange);
  color: var(--white) !important;
  text-align: center;
  font-weight: 700;
  margin-top: var(--space-xs);
  padding: 0.75rem var(--space-sm);
}

.nav-link--cta:hover {
  background: var(--orange-dark) !important;
  color: var(--white) !important;
}

/* Desktop nav */
@media (min-width: 768px) {
  .hamburger { display: none; }

  .nav {
    display: block !important;
    position: static;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 0.25rem;
    align-items: center;
  }

  .nav-link {
    font-size: 0.92rem;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }

  .nav-link--cta {
    margin-top: 0;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
  }
}

/* ============================================================
   7. HERO
============================================================ */
.hero {
  min-height: 100dvh;
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--dark);
  background-image:
    linear-gradient(
      to top,
      rgba(15, 20, 25, 0.92) 0%,
      rgba(15, 20, 25, 0.65) 50%,
      rgba(15, 20, 25, 0.45) 100%
    ),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-2xl);
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: var(--space-sm);
}

.hero-headline {
  color: var(--white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.trust-item {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .hero-content {
    text-align: left;
  }

  .hero-sub {
    margin-inline: 0;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-trust-bar {
    justify-content: flex-start;
  }
}

/* ============================================================
   8. ABOUT
============================================================ */
.about {
  background: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.about-photo img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  background: var(--dark-light); /* placeholder colour */
  min-height: 200px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-text {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  justify-items: center;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border-bottom: 3px solid var(--orange);
  width: 100%;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-logo {
  display: block;
  height: 60px;
  width: auto;
  margin: 0 auto 0.35rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .about-grid  { grid-template-columns: 1fr 1fr; }
  .stats-row   { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   9. SERVICE SECTIONS
============================================================ */
.service-section {
  background: var(--white);
}

.service-section--alt {
  background: var(--light-gray);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* Reverse layout for alternating sections on desktop */
@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid--reverse {
    direction: rtl;
  }

  .service-grid--reverse > * {
    direction: ltr;
  }
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.service-list-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.service-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1;
}

.service-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

.service-list-item div strong,
.service-list-item div .service-subheading {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

/* h3 used for SEO heading hierarchy — visually identical to strong */
.service-subheading {
  margin: 0;
  padding: 0;
  line-height: inherit;
}

.service-list-item div p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  background: var(--light-gray); /* placeholder colour */
  min-height: 200px;
}

/* ============================================================
   10. CONTACT + FORM
============================================================ */
.contact {
  background: var(--dark);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

/* Contact info column */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--orange);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  font-size: 1rem;
}

.contact-item a:hover {
  color: var(--orange);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Booking form */
.booking-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-md);
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.required {
  color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem var(--space-sm);
  border: 2px solid #dde3ea;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.18);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #dc3545;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  font-size: 0.78rem;
  color: #dc3545;
  font-weight: 500;
  min-height: 1rem;
}

.form-success {
  text-align: center;
  color: #16a34a;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  min-height: 1.5rem;
  margin-top: var(--space-sm);
}

.form-success--visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-2xl) var(--space-lg);
  min-height: 280px;
}

.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #16a34a;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  animation: scaleIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-success-heading {
  font-size: 1.6rem;
  color: var(--text-dark);
}

.form-success-sub {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 400;
  font-family: var(--font-body);
}

@keyframes scaleIn {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   11. FOOTER
============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid var(--dark-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-block: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-block: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   12. SERVICE COMPARISON TABLE
============================================================ */
.comparison {
  background: var(--light-gray);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.comparison-table thead {
  background: var(--dark);
  color: var(--white);
}

.comparison-table th {
  padding: var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.comparison-table td {
  padding: var(--space-md);
  border-bottom: 1px solid #dde3ea;
  font-size: 0.95rem;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.table-row {
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.table-row:hover {
  background: var(--orange-pale);
}

.table-label {
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.table-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: auto;
}

.table-price {
  font-weight: 700;
  color: var(--orange-dark);
  font-size: 1.05rem;
  min-width: 100px;
  text-align: right;
}

.comparison-note {
  text-align: center;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--orange);
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .comparison-table th:nth-child(2),
  .comparison-table td:nth-child(2) {
    display: none;
  }

  .table-wrapper {
    margin-bottom: var(--space-md);
  }

  .table-price {
    text-align: left;
    margin-left: auto;
  }
}

/* ============================================================
   13. HOVER EFFECTS & INTERACTIONS
============================================================ */

/* Service list item hover */
.service-list-item {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
}

.service-list-item:hover {
  transform: translateX(4px);
  background: rgba(30, 136, 229, 0.05);
}

/* Stat card hover */
.stat-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Nav link hover */
.nav-link {
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

/* Footer link hover */
.footer-nav a,
.footer-contact a {
  position: relative;
}

.footer-nav a::before,
.footer-contact a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width var(--transition-base);
}

.footer-nav a:hover::before,
.footer-contact a:hover::before {
  width: 100%;
}

/* ============================================================
   14. SCROLL REVEAL ANIMATION
============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    backface-visibility: hidden;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered reveal timing - smooth cascade effect */
  .reveal:nth-child(1) { transition-delay: 0ms; }
  .reveal:nth-child(2) { transition-delay: 80ms; }
  .reveal:nth-child(3) { transition-delay: 160ms; }
  .reveal:nth-child(4) { transition-delay: 240ms; }
  .reveal:nth-child(5) { transition-delay: 320ms; }
  .reveal:nth-child(6) { transition-delay: 400ms; }
  .reveal:nth-child(7) { transition-delay: 480ms; }
  .reveal:nth-child(8) { transition-delay: 560ms; }
  .reveal:nth-child(9) { transition-delay: 640ms; }
  .reveal:nth-child(10) { transition-delay: 720ms; }
}

/* ============================================================
   SEO / Semantic Overrides
============================================================ */

/* Remove browser default italic on <address> element */
address {
  font-style: normal;
}

/* ============================================================
   WHERE WE OPERATE — MAP
============================================================ */
.map-wrap {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 20, 16, 0.12);
  border: 1px solid var(--dark-border);
}

.coverage-map {
  width: 100%;
  height: 360px;
  background: var(--light-gray);
}

@media (min-width: 768px) {
  .coverage-map {
    height: 460px;
  }
}

@media (min-width: 1024px) {
  .coverage-map {
    height: 520px;
  }
}

/* Leaflet attribution — soften so it blends with the warm palette */
.coverage-map .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
}

/* Town labels on the coverage map */
.coverage-map .town-label {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(28, 20, 16, 0.15);
  white-space: nowrap;
}

/* Hide Leaflet's default tooltip arrow for a cleaner chip look */
.coverage-map .town-label::before {
  display: none;
}

/* Centre the bottom CTA in each About / Service column */
.about-content > .btn,
.service-content > .btn {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Home-base towns (Balsall Common, Dorridge) — orange emphasis */
.coverage-map .town-label--home {
  background: var(--orange);
  border-color: var(--orange-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 3px 10px;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}
