/* ============================================
   SummitEdge Contractors — Version A "Bold Industrial"
   ============================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }

/* --- Design Tokens --- */
:root {
  /* Colors */
  --navy:        #0B1E3D;
  --near-black:  #111111;
  --dark-bg:     #0D0D0D;
  --card-bg:     #161B26;
  --card-bg-alt: #1A2035;
  --red:         #C42B2B;
  --red-hover:   #E03434;
  --red-dark:    #9A1F1F;
  --white:       #FFFFFF;
  --off-white:   #F0F0F0;
  --gray-100:    #E5E5E5;
  --gray-200:    #CCCCCC;
  --gray-300:    #AAAAAA;
  --gray-400:    #888888;
  --gray-500:    #666666;
  --gray-600:    #444444;
  --gray-700:    #2A2A2A;
  --border:      rgba(255,255,255,0.08);
  --border-light:rgba(255,255,255,0.12);
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.55);

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

  /* Spacing */
  --section-py:   100px;
  --section-py-sm: 64px;
  --container-px:  24px;
  --gap:           24px;
  --gap-lg:        40px;

  /* Sizes */
  --container-max: 1200px;
  --header-h:      80px;
  --radius:        6px;
  --radius-lg:     12px;

  /* Transitions */
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --speed:  0.3s;
  --speed-slow: 0.5s;

  /* Hazard stripe */
  --stripe: repeating-linear-gradient(
    -45deg,
    var(--red) 0px,
    var(--red) 10px,
    transparent 10px,
    transparent 20px
  );
  --stripe-thin: repeating-linear-gradient(
    -45deg,
    var(--red) 0px,
    var(--red) 4px,
    transparent 4px,
    transparent 12px
  );
}

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

/* --- Typography --- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--off-white);
  background: var(--near-black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--gray-300);
  text-transform: none;
  letter-spacing: 0;
  max-width: 620px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 12px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--speed) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196,43,43,0.4);
}

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

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

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-phone {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-phone:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11,30,61,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--speed) var(--ease);
  height: var(--header-h);
}
.site-header.scrolled {
  background: rgba(11,30,61,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  height: 68px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.site-header.scrolled .logo img {
  height: 40px;
  width: 40px;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.logo-text span {
  color: var(--red);
}

.nav-desktop { display: flex; align-items: center; gap: 8px; }
.nav-desktop a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-200);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color var(--speed) var(--ease);
  position: relative;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--white);
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--speed) var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 1010;
}
.hamburger span {
  display: block;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--speed) var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--navy);
  padding: 100px 32px 40px;
  transition: right var(--speed) var(--ease);
  z-index: 1005;
  border-left: 3px solid var(--red);
  overflow-y: auto;
}
.nav-mobile.open { right: 0; }
.nav-mobile a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-200);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--speed) var(--ease);
}
.nav-mobile a:hover { color: var(--red); }
.nav-mobile .btn { margin-top: 24px; width: 100%; justify-content: center; }

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1004;
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed) var(--ease);
}
.mobile-overlay.show { opacity: 1; visibility: visible; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, var(--near-black) 0%, var(--navy) 50%, #0F2847 100%);
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(196,43,43,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(11,30,61,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--stripe);
}
.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-label::before {
  content: '';
  width: 40px;
  height: 3px;
  background: var(--red);
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-200);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 36px;
}

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

.hero-stats {
  position: absolute;
  right: 0;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 2;
}
.hero-stat {
  text-align: right;
  padding-right: 28px;
  border-right: 3px solid var(--red);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* --- Sections --- */
.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section-dark {
  background: var(--near-black);
}
.section-navy {
  background: var(--navy);
}
.section-darker {
  background: var(--dark-bg);
}

.section-header {
  margin-bottom: 56px;
}

/* Hazard divider */
.hazard-divider {
  width: 100%;
  height: 6px;
  background: var(--stripe);
}
.hazard-divider-thin {
  width: 60px;
  height: 4px;
  background: var(--stripe-thin);
  margin: 16px auto 0;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--navy);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.trust-item {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: var(--border-light);
}
.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: var(--red);
}
.trust-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.trust-label {
  font-size: 0.85rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--speed) var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  color: var(--red);
  margin-bottom: 20px;
}
.card h3 { color: var(--white); margin-bottom: 12px; }
.card p { color: var(--gray-300); font-size: 0.95rem; line-height: 1.7; }
.card .btn { margin-top: 20px; }

/* Service card variant */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--speed) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}
.service-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--card-bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-card-img svg {
  width: 64px;
  height: 64px;
  color: var(--red);
  opacity: 0.6;
}
.service-card-body { padding: 28px; }
.service-card-body h3 { color: var(--white); margin-bottom: 12px; }
.service-card-body p { color: var(--gray-300); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.service-card-list { margin-bottom: 20px; }
.service-card-list li {
  color: var(--gray-300);
  font-size: 0.9rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.service-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--red);
}

/* --- Empathy / Problem Section --- */
.empathy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}
.empathy-content h2 { color: var(--white); margin-bottom: 20px; }
.empathy-content p { color: var(--gray-300); line-height: 1.8; margin-bottom: 16px; }
.empathy-visual {
  display: grid;
  gap: 16px;
}
.pain-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card-bg);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pain-point-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--red);
}
.pain-point h4 { color: var(--white); margin-bottom: 4px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.pain-point p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.5; }

/* --- Pillars / Standards --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.pillar {
  text-align: center;
  padding: 40px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--speed) var(--ease);
}
.pillar:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--red);
}
.pillar h3 { color: var(--white); margin-bottom: 12px; }
.pillar p { color: var(--gray-300); font-size: 0.95rem; line-height: 1.7; }

/* --- Process Timeline --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: var(--border-light);
}
.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  transition: all var(--speed) var(--ease);
}
.process-step:hover .step-num {
  background: var(--red);
  color: var(--white);
}
.process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--speed) var(--ease);
  position: relative;
}
.testimonial:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-stars svg { width: 18px; height: 18px; color: #F5A623; fill: #F5A623; }
.testimonial-text {
  color: var(--gray-200);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-text::before {
  content: '\201C';
  font-size: 2rem;
  color: var(--red);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--red);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}
.testimonial-source {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --- Gallery --- */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: var(--radius);
  color: var(--gray-300);
  border: 1px solid var(--border);
  transition: all var(--speed) var(--ease);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card-bg);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--card-bg-alt));
  gap: 8px;
}
.gallery-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--gray-600);
}
.gallery-placeholder span {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,30,61,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-overlay svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed) var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close svg { width: 28px; height: 28px; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.lightbox-nav:hover { background: var(--red); }
.lightbox-nav svg { width: 24px; height: 24px; }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-caption {
  text-align: center;
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
}
.contact-info h3 { color: var(--white); margin-bottom: 20px; }
.contact-info p { color: var(--gray-300); line-height: 1.8; margin-bottom: 24px; }

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196,43,43,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.contact-detail-text span,
.contact-detail-text a {
  color: var(--gray-300);
  font-size: 0.95rem;
}
.contact-detail-text a:hover { color: var(--red); }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form h3 { color: var(--white); margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--speed) var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }

.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* --- CTA Section --- */
.cta-section {
  background:
    linear-gradient(135deg, rgba(196,43,43,0.15), rgba(11,30,61,0.95)),
    var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--stripe);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: var(--gray-200); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Footer --- */
.site-footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--gap-lg);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.7; margin-top: 16px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color var(--speed) var(--ease);
}
.footer-col a:hover { color: var(--red); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--speed) var(--ease);
  padding: 0;
}
.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.footer-social a svg { width: 18px; height: 18px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--gray-500); font-size: 0.82rem; }
.footer-bottom a { color: var(--gray-500); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--red); }

/* --- Map --- */
.map-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
  filter: grayscale(0.6) brightness(0.8);
}

/* --- Credentials Grid --- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.credential-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--speed) var(--ease);
}
.credential-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.credential-card svg {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin: 0 auto 16px;
}
.credential-card h4 { color: var(--white); margin-bottom: 8px; }
.credential-card p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.6; }

/* --- Service Area Tags --- */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.area-tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gray-300);
  transition: all var(--speed) var(--ease);
}
.area-tag:hover {
  border-color: var(--red);
  color: var(--white);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--near-black) 0%, var(--navy) 100%);
  padding: calc(var(--header-h) + 48px) 0 56px;
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--stripe);
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-400);
}
.breadcrumb a { color: var(--gray-300); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--gray-500); margin: 0 8px; }

/* --- About Story --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--card-bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image svg {
  width: 80px;
  height: 80px;
  color: var(--gray-600);
}
.about-content h2 { color: var(--white); margin-bottom: 20px; }
.about-content p { color: var(--gray-300); line-height: 1.8; margin-bottom: 16px; }

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
/* stagger only triggers after parent is visible */
.stagger:not(.visible) > * {
  opacity: 0;
  transform: translateY(20px);
}

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

  .hero-stats { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .empathy-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image { max-height: 360px; }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* --- Responsive: 768px --- */
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
    --container-px: 18px;
    --header-h: 68px;
  }

  .nav-desktop { display: none; }
  .header-cta .btn-phone span.phone-text { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 40px) 0 60px; }
  .hero h1 { font-size: 2rem; }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2)::after { display: none; }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .process-grid::before { display: none; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns .btn { width: 100%; justify-content: center; }
}

/* --- Responsive: 480px --- */
@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-item::after { display: none; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}
