/* ============================================================
   BANKS AUTOMOTIVE — Main Stylesheet
   Vehicle Repair Shop | Digby, Nova Scotia
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --navy:        #0B2545;
  --navy-mid:    #1E3A6E;
  --navy-light:  #2D5196;
  --red:         #C1121F;
  --red-dark:    #9B0E19;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --black:       #0D1117;
  --gray:        #6B7280;
  --gray-light:  #E5E7EB;
  --gray-mid:    #D1D5DB;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container-max:    1200px;
  --section-padding:  90px 0;
  --nav-height:       80px;

  --shadow-sm:  0 2px 6px rgba(0,0,0,0.08);
  --shadow-md:  0 6px 18px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 36px rgba(0,0,0,0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition:      0.3s ease;
  --transition-slow: 0.6s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageFadeIn 0.35s ease;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { line-height: 1.75; }

/* ============================================================
   Utilities
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--red);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,18,31,0.38);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: var(--navy);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: height var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  height: 66px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background-color: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background-color var(--transition);
}
.nav-logo:hover .nav-logo-icon {
  background-color: var(--red-dark);
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  margin-top: 2px;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: block;
}

.nav-logo-tagline {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}

/* Desktop Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover {
  color: var(--white);
  background-color: rgba(255,255,255,0.08);
}
.nav-link.active {
  color: var(--white);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background-color: var(--red);
  border-radius: 2px;
}

.nav-cta {
  background-color: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  margin-left: 8px;
}
.nav-cta:hover {
  background-color: var(--red-dark) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-hamburger:hover { background-color: rgba(255,255,255,0.08); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background-color: #0e2d57;
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  z-index: 999;
  flex-direction: column;
  gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 13px 16px;
  width: 100%;
  border-radius: var(--radius-sm);
}
.nav-mobile .nav-cta {
  margin-top: 10px;
  text-align: center;
  justify-content: center;
}

/* ============================================================
   Hero — Home Page
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(11,37,69,0.25) 0%, rgba(11,37,69,0.4) 35%, rgba(11,37,69,0.78) 60%, rgba(11,37,69,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-logo {
  max-width: 360px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--red);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 26px;
  letter-spacing: -0.02em;
}
.hero-title .accent { color: var(--red); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 20px;
  line-height: 1.8;
  max-width: 500px;
}

.hero-free-estimate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-bottom {
  margin-top: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  letter-spacing: 0.01em;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 60px;
}
.hero-stat {
  text-align: center;
  padding: 20px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background-color: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-number .accent { color: var(--red); }
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Hero Visual Panel (right column) */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(10px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.hero-card-icon {
  width: 46px;
  height: 46px;
  background-color: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.hero-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}
.hero-card-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.hero-service-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hero-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
}
.hero-service-item i {
  color: var(--red);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.hero-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-info-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-md);
  padding: 18px;
  backdrop-filter: blur(10px);
}
.hero-info-card-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-info-card-value {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}
.hero-info-card-value span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ============================================================
   Page Hero (Interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0B2545 0%, #1E3A6E 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 48px,
    rgba(255,255,255,0.018) 48px,
    rgba(255,255,255,0.018) 49px
  );
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 40%, transparent);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.page-hero-title {
  color: var(--white);
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3rem);
}
.page-hero-subtitle {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.82rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }
.breadcrumb-current { color: var(--red); font-weight: 600; }

/* ============================================================
   Services Preview (Home)
   ============================================================ */
.services-preview {
  background-color: var(--off-white);
}

.services-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background-color: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.service-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 10px; }

/* ============================================================
   Why Choose Us (Home)
   ============================================================ */
.why-us {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.62); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background-color: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.why-item:hover {
  background-color: rgba(255,255,255,0.09);
  transform: translateY(-3px);
}
.why-icon {
  width: 52px;
  height: 52px;
  background-color: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.why-item h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}
.why-item p {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ============================================================
   Stats Banner
   ============================================================ */
.stats-banner {
  background-color: var(--red);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.22);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background-color: var(--off-white);
  text-align: center;
  padding: 100px 0;
}
.cta-section .section-title { color: var(--navy); }
.cta-section .cta-body {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 44px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   About — Story Section
   ============================================================ */
.story-section { background-color: var(--white); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px 80px;
}
.story-text { grid-column: 1; grid-row: 1 / 3; align-self: start; }
.story-visual { grid-column: 2; grid-row: 1; }
.story-map-wrapper {
  grid-column: 2;
  grid-row: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story-map-wrapper iframe { aspect-ratio: 8 / 5; height: auto; }
.story-label { text-align: left; }
.story-text h2 { color: var(--navy); margin-bottom: 20px; }
.story-text p { color: var(--gray); margin-bottom: 16px; line-height: 1.85; }

.story-highlights { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.story-highlight-item { display: flex; align-items: flex-start; gap: 14px; }
.story-highlight-item i {
  color: var(--red);
  font-size: 0.95rem;
  margin-top: 5px;
  flex-shrink: 0;
}
.story-highlight-item p { margin-bottom: 0; font-size: 0.95rem; color: var(--gray); }

/* Visual block */
.story-visual { position: relative; }
.story-image-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.story-image-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255,255,255,0.03) 30px,
    rgba(255,255,255,0.03) 31px
  );
}
.story-image-block i {
  font-size: 4.5rem;
  color: rgba(255,255,255,0.18);
  position: relative;
  z-index: 1;
}
.story-image-block-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.story-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 122px;
  height: 122px;
  background-color: var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.story-badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.story-badge-text {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin-top: 4px;
}

/* ============================================================
   Values Section (About)
   ============================================================ */
.values-section { background-color: var(--off-white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 auto 22px;
  transition: background var(--transition);
}
.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.value-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 12px; }
.value-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.75; }

/* Team Strip (About) */
.team-section { background-color: var(--white); }
.team-strip {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.team-card {
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.team-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.team-card p { color: var(--gray); font-size: 0.82rem; }

/* ============================================================
   Services Page — Full Grid
   ============================================================ */
.services-full { background-color: var(--white); }
.services-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card-full {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card-full::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}
.service-card-full:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card-full:hover::after { transform: scaleY(1); }
.service-card-full h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.1rem; margin-top: 20px; }
.service-card-full p { color: var(--gray); font-size: 0.88rem; line-height: 1.75; margin-bottom: 20px; }

.service-features { display: flex; flex-direction: column; gap: 7px; }
.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--gray);
}
.service-feature i { color: var(--red); font-size: 0.68rem; flex-shrink: 0; }

/* Services note */
.services-note {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 60px;
}
.services-note h3 { color: var(--white); margin-bottom: 14px; }
.services-note p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 32px; font-size: 0.95rem; }

/* ============================================================
   Contact Page
   ============================================================ */
.contact-section { background-color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 64px;
}

.contact-info h2 { color: var(--navy); margin-bottom: 14px; font-size: 1.8rem; }
.contact-info > .contact-intro { color: var(--gray); margin-bottom: 40px; line-height: 1.8; }

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-info h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}
.contact-detail-info p,
.contact-detail-info a {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-detail-info a:hover { color: var(--red); }

.hours-table { margin-top: 6px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--gray);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; color: var(--navy); }

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.contact-form-wrapper h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.5rem; }
.contact-form-wrapper > p { color: var(--gray); margin-bottom: 32px; font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 16px;
  background-color: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,18,31,0.38);
}
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 28px;
  background-color: #eaf5ea;
  border-radius: var(--radius-md);
  border: 1px solid #b2d8b2;
}
.form-success i { font-size: 3rem; color: #2e7d32; margin-bottom: 16px; display: block; }
.form-success h4 { color: #1b5e20; margin-bottom: 8px; }
.form-success p { color: #2e7d32; font-size: 0.95rem; }

/* Map */
.map-section { background-color: var(--off-white); padding: 0; }
.map-container {
  height: 380px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.map-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.map-container i { font-size: 3rem; color: var(--red); position: relative; z-index: 1; }
.map-container p {
  position: relative; z-index: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.map-container span {
  position: relative; z-index: 1;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   Legal Pages (Privacy / Terms)
   ============================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  color: var(--gray);
  line-height: 1.8;
}
.legal-content h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content p {
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 16px 24px;
  list-style: disc;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--red);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: var(--black);
  color: rgba(255,255,255,0.75);
}
.footer-top {
  padding: 72px 0 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 48px;
}

.footer-brand .footer-logo-wrap { margin-bottom: 20px; display: inline-flex; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.48);
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background-color: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a i { font-size: 0.7rem; color: var(--red); }
.footer-links a:hover { color: var(--white); }

.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact-item i { color: var(--red); font-size: 0.88rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item p { font-size: 0.86rem; color: rgba(255,255,255,0.48); line-height: 1.55; }
.footer-contact-item a { color: rgba(255,255,255,0.48); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.28); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   Scroll To Top
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.scroll-top:hover {
  background-color: var(--red-dark);
  transform: translateY(-3px);
}

/* ============================================================
   Scroll Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid-preview { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.22); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-text { grid-column: 1; grid-row: auto; }
  .story-visual { grid-column: 1; grid-row: auto; order: -1; }
  .story-map-wrapper { grid-column: 1; grid-row: auto; order: 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-padding: 64px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid-preview { grid-template-columns: 1fr; }
  .services-grid-full { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 32px 24px; }
  .services-note { padding: 36px 24px; }
  .hero-stats { gap: 10px; }
}

/* ============================================================
   Contact Page — Phone-First Layout
   ============================================================ */
.contact-phone-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.contact-phone-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 48px,
    rgba(255,255,255,0.018) 48px, rgba(255,255,255,0.018) 49px
  );
}
.contact-phone-hero-inner { position: relative; z-index: 1; }

.contact-phone-icon-wrap {
  width: 84px;
  height: 84px;
  background-color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(193,18,31,0.45);
}
.contact-phone-hero h2 { color: var(--white); margin-bottom: 8px; }
.contact-phone-hero > div > p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

.contact-phone-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 14px auto 22px;
  transition: color var(--transition);
  text-decoration: none;
}
.contact-phone-number:hover { color: #ff6b6b; }

/* Contact Info Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: transparent;
}
.contact-card-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  margin: 0 auto 22px;
  transition: background var(--transition);
}
.contact-card:hover .contact-card-icon {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.contact-card h3 { color: var(--navy); margin-bottom: 14px; font-size: 1.15rem; }
.contact-card p,
.contact-card address { color: var(--gray); font-size: 0.95rem; line-height: 1.75; font-style: normal; }
.contact-card .card-phone-link {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--red);
  margin: 10px 0 8px;
  transition: color var(--transition);
  text-decoration: none;
}
.contact-card .card-phone-link:hover { color: var(--red-dark); }
.contact-card .hours-table { text-align: left; margin-top: 6px; }
.contact-card .btn { margin-top: 20px; font-size: 0.82rem; padding: 10px 22px; }

/* Full-width Google Maps embed */
.map-embed {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

/* Placeholder Image */
.placeholder-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.placeholder-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* About Page — Story Map Wrapper */
.story-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow-lg);
}
.story-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.22); }
  .stat-item:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .scroll-top { bottom: 20px; right: 20px; }
}
