/* ============================================================
   BRANDT ELECTRICAL — Main Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   1. Custom Properties
   ------------------------------------------------------------ */
:root {
  --navy:        #0D1F4E;
  --navy-mid:    #162B6A;
  --navy-light:  #1E3A8A;
  --amber:       #D97706;
  --amber-light: #F59E0B;
  --amber-pale:  #FEF3C7;
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --text:        #1C2331;
  --text-muted:  #5A6478;

  --font-head:  'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body:  'Inter', 'Segoe UI', Arial, sans-serif;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.08);
  --shadow-xl:  0 20px 48px rgba(0,0,0,.18);

  --transition: 200ms ease;
  --max-w: 1180px;
  --section-py: 80px;
}

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

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

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

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

/* ------------------------------------------------------------
   3. Utilities
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: var(--section-py) 0; }
.section--dark { background: var(--navy); }
.section--gray { background: var(--gray-100); }
.section--off-white { background: var(--off-white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

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

.section-header { margin-bottom: 52px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn--primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(217,119,6,.35);
}
.btn--primary:hover {
  background: #b45309;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217,119,6,.45);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

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

.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }

/* Tag / badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber-pale);
  color: #92400E;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Dividers */
.divider {
  width: 48px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin-bottom: 20px;
}
.divider--center { margin-inline: auto; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }

/* ------------------------------------------------------------
   4. Navigation
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}

.nav--scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
  padding: 12px 0;
}

.nav--scrolled .nav__logo-name { color: var(--navy); }
.nav--scrolled .nav__logo-tagline { color: var(--text-muted); }
.nav--scrolled .nav__link { color: var(--gray-700); }
.nav--scrolled .nav__link:hover { color: var(--navy); }
.nav--scrolled .nav__phone { color: var(--navy); }

/* Default (transparent over dark hero) */
.nav__logo-name { color: var(--white); }
.nav__logo-tagline { color: rgba(255,255,255,.65); }
.nav__link { color: rgba(255,255,255,.85); }
.nav__phone { color: var(--white); }

/* On non-hero pages, nav starts solid */
.nav--solid {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
  padding: 12px 0;
}
.nav--solid .nav__logo-name { color: var(--navy); }
.nav--solid .nav__logo-tagline { color: var(--text-muted); }
.nav--solid .nav__link { color: var(--gray-700); }
.nav--solid .nav__link:hover { color: var(--navy); }
.nav--solid .nav__phone { color: var(--navy); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-text { line-height: 1; }

.nav__logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.nav__logo-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { background: rgba(255,255,255,.1); }
.nav--scrolled .nav__link:hover,
.nav--solid .nav__link:hover { background: var(--gray-100); }

.nav__link.active { color: var(--amber); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__phone:hover { color: var(--amber); }

.nav__cta { display: inline-flex; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 6px;
  transition: background var(--transition);
}
.nav__hamburger:hover { background: rgba(255,255,255,.1); }
.nav--scrolled .nav__hamburger:hover,
.nav--solid .nav__hamburger:hover { background: var(--gray-100); }

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav--scrolled .nav__hamburger span,
.nav--solid .nav__hamburger span { background: var(--navy); }

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: block;
  transition: color var(--transition);
}
.nav__mobile-link:hover { color: var(--amber); }
.nav__mobile-link.active { color: var(--amber); }

.nav__mobile-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--amber-light);
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__mobile-cta { margin-top: 32px; width: 100%; justify-content: center; }

/* ------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  padding: 120px 0 80px;
}

/* Geometric background elements */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -8%;
  width: 55%;
  height: 130%;
  background: linear-gradient(145deg, var(--navy-mid) 0%, #0A1735 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

/* Bolt accent shape */
.hero__accent {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__badge {
  margin-bottom: 20px;
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero__headline em {
  color: var(--amber-light);
  font-style: normal;
}

.hero__subheadline {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 56px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero__trust-item svg { color: var(--amber-light); flex-shrink: 0; }

/* ------------------------------------------------------------
   6. Trust Bar
   ------------------------------------------------------------ */
.trust-bar {
  background: var(--navy);
  padding: 28px 0;
  position: relative;
  z-index: 2;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
}

.trust-bar__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--amber-light);
}

.trust-bar__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  line-height: 1.2;
}

.trust-bar__sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  margin-top: 2px;
}

/* ------------------------------------------------------------
   7. Services Grid
   ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--amber-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 1.125rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--amber);
  margin-top: 18px;
  transition: gap var(--transition);
}
.service-card__link:hover { gap: 8px; }

/* ------------------------------------------------------------
   8. About Snippet
   ------------------------------------------------------------ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split__visual {
  position: relative;
}

.about-split__photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-split__photo-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0.15;
}

.about-split__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--amber);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-split__badge-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-split__badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-content__list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-content__list-item svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }

.about-content__actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   9. Testimonials
   ------------------------------------------------------------ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: var(--amber-light);
}

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
}

.testimonial-card__location {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 1px;
}

/* ------------------------------------------------------------
   10. CTA Banner
   ------------------------------------------------------------ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0A1735 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(217,119,6,.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

.cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   11. Services (Full Page)
   ------------------------------------------------------------ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

.page-hero--gray::after { background: var(--gray-100); }

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  line-height: 1.7;
}

/* Service detail items */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-of-type { border-bottom: none; }

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

.service-detail__visual {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--gray-100) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--gray-200);
}

.service-detail__icon {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
}

.service-detail__visual-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.service-detail__badge {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--amber);
  background: var(--amber-pale);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.service-detail__title {
  font-size: 1.625rem;
  margin-bottom: 14px;
}

.service-detail__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.service-detail__list-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.service-detail__list-item svg { color: var(--amber); flex-shrink: 0; }

/* ------------------------------------------------------------
   12. About Page
   ------------------------------------------------------------ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.value-card__icon {
  width: 60px;
  height: 60px;
  background: var(--amber-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin: 0 auto 20px;
}

.value-card__title {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.value-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.credential-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}

.credential-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
  margin: 0 auto 14px;
}

.credential-card__title {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.credential-card__detail {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-head);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--white);
  border: 3px solid var(--gray-200);
}

.team-card__name {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.875rem;
  color: var(--amber);
  font-weight: 600;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------
   13. Contact Page
   ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-label .required {
  color: #DC2626;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(30,58,138,.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #DC2626;
}

.form-error {
  font-size: 0.8125rem;
  color: #DC2626;
  display: none;
}

.form-error.visible { display: block; }

.form-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='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  font-size: 1rem;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.visible { display: block; }

.form-success__icon {
  width: 64px;
  height: 64px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16A34A;
  margin: 0 auto 20px;
}

.form-success__title {
  font-size: 1.375rem;
  margin-bottom: 10px;
}

.form-success__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-info-card__title {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-item__icon {
  width: 36px;
  height: 36px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.contact-info-item__label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.contact-info-item__value {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
}

.contact-info-item__value a {
  color: var(--navy);
  transition: color var(--transition);
}
.contact-info-item__value a:hover { color: var(--amber); }

/* Emergency card */
.emergency-card {
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
}

.emergency-card__icon { color: #FCA5A5; margin-bottom: 10px; }

.emergency-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.emergency-card__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
  margin-bottom: 14px;
}

.emergency-card__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}

/* Service area */
.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-area-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-head);
}

/* ------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------ */
.footer {
  background: #07122E;
  color: var(--white);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 4px;
}

.footer__logo-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__phone-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--amber-light);
  transition: color var(--transition);
}
.footer__phone-link:hover { color: var(--white); }

.footer__col-title {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--amber-light); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer__contact-item svg { color: var(--amber); flex-shrink: 0; margin-top: 1px; }

.footer__contact-item a {
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__contact-item a:hover { color: var(--amber-light); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.35);
}

.footer__license {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.35);
}

.footer__license svg { color: var(--amber); opacity: 0.6; }

/* ------------------------------------------------------------
   15. Page Transitions / Scroll Progress
   ------------------------------------------------------------ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--amber);
  z-index: 2000;
  transition: width 0.1s linear;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 900;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--navy-mid); }

/* ------------------------------------------------------------
   16. Photo Enhancements
   ------------------------------------------------------------ */

/* Hero background photo */
.hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  opacity: 0.2;
  mix-blend-mode: luminosity;
}

/* Service detail — photo visual */
.service-detail__visual--photo {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
  padding: 0;
  display: block;
}
.service-detail__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.service-detail__visual-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(13,31,78,.88) 0%, transparent 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-detail__visual--photo .service-detail__icon {
  background: var(--amber);
  color: var(--white);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.service-detail__visual--photo .service-detail__visual-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}

/* About split — real photo */
.about-split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* About page — dual photo group */
.about-split__photo-group {
  position: relative;
}
.about-split__photo-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 46%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-xl);
}
.about-split__photo-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .about-split__photo-accent {
    top: -12px;
    left: -12px;
    width: 40%;
  }
}

/* ------------------------------------------------------------
   17. Responsive
   ------------------------------------------------------------ */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-split { gap: 40px; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 40px; }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-detail--reverse { direction: ltr; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .contact-info-card, .emergency-card { flex: 1 1 280px; }

  .nav__phone { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-py: 52px; }

  .hero { padding: 100px 0 60px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero::after { height: 48px; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid > *:last-child { display: none; }

  .about-split { grid-template-columns: 1fr; }
  .about-split__visual { order: -1; }
  .about-split__badge { bottom: -16px; right: -8px; }

  .values-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .stats-row { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .contact-info { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }

  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .page-hero { padding: 120px 0 60px; }

  .cta-banner__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .trust-bar__grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; gap: 12px; }
}
