/* ============================================
   IRONCLAD HOME SERVICES — Industrial Modern
   Bold. Heavy. Photo-driven. Premium contractor.
   ============================================ */

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --red: #E8651A;
  --red-hover: #C4520F;
  --red-light: #FFF5EB;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --white: #FFFFFF;
  --slate-50: #F1F5F9;
  --slate-100: #E2E8F0;
  --slate-200: #CBD5E1;
  --slate-300: #94A3B8;
  --slate-400: #64748B;
  --slate-500: #475569;
  --slate-600: #334155;
  --green: #16A34A;

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

  --section-pad: 100px;
  --container-max: 1280px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-layered: 0 2px 4px rgba(0,0,0,0.07), 0 12px 28px rgba(0,0,0,0.14);
  --shadow-glow-red: 0 8px 32px rgba(232,101,26,0.25);
  --shadow-glow-navy: 0 12px 40px rgba(15,23,42,0.3);
}

/* ============================================
   Reset & Base
   ============================================ */

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--red);
  color: white;
  padding: 12px 24px;
  z-index: 10000;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
  text-decoration: none;
  font-size: 0.9rem;
}
.skip-link:focus {
  top: 0;
}

.section--compact { padding-top: 120px; padding-bottom: 40px; }

/* Page entrance animation — auto-fades via CSS as fallback */
.page-entrance {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  pointer-events: none;
  animation: entranceFade 0.6s ease 0.1s forwards;
}

.page-entrance.done {
  opacity: 0;
  visibility: hidden;
}

@keyframes entranceFade {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================
   Typography — Bold, Industrial
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }

/* Section Heading — Left-aligned with thick left border */
.section-heading {
  padding-left: 20px;
  border-left: 4px solid var(--red);
  margin-bottom: 16px;
}

.section-heading__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.section-heading__title {
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-heading__sub {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 620px;
  margin-top: 14px;
  line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(232,101,26,0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow-navy);
}

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

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

.btn--lg { padding: 18px 40px; font-size: 0.95rem; }
.btn--sm { padding: 10px 20px; font-size: 0.8rem; }

/* ============================================
   Top Bar
   ============================================ */

.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--red);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__right { display: flex; gap: 24px; }

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar__item svg {
  width: 14px;
  height: 14px;
  fill: var(--red);
  flex-shrink: 0;
}

/* ============================================
   Navigation — Sticky, bold
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

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

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.nav__logo-text span { color: var(--red); }

.nav__links { display: flex; gap: 32px; }

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-500);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.active { color: var(--navy); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__cta { margin-left: 16px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger → X animation when menu is open */
.nav__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Mobile Menu — Full-screen dark overlay
   ============================================ */

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 1002;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  overflow-y: auto;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  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;
}

.mobile-menu::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(232,101,26,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 2;
}

.mobile-menu__close:hover {
  border-color: var(--red);
  background: rgba(232,101,26,0.1);
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 18px 0;
  color: rgba(255,255,255,0.65);
  border: none;
  transition: color 0.3s, transform 0.3s, letter-spacing 0.3s;
  position: relative;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--white);
  transform: translateX(8px);
  letter-spacing: 0.08em;
}

.mobile-menu__link.active::after {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(232,101,26,0.6);
}

/* Staggered entrance */
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }

.mobile-menu__link {
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__link:hover {
  transform: translateX(8px);
}

.mobile-menu__cta {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.mobile-menu__cta .btn {
  width: auto;
  min-width: 240px;
  justify-content: center;
}

/* Contact info at bottom of mobile menu */
.mobile-menu__info {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  z-index: 1;
}

.mobile-menu__info a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.mobile-menu__info a:hover {
  color: var(--red);
}

/* ============================================
   HERO — Full-width, bottom-left overlay
   ============================================ */

.hero {
  position: relative;
  min-height: 60vh;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 40%, #0F172A 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(232,101,26,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(232,101,26,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 100px 24px 80px;
}

.hero__content {
  max-width: 680px;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero__title {
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero__title span {
  display: inline;
  background: linear-gradient(135deg, #E8651A, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

/* Trust signals — inline row */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero__trust-item:nth-child(1) svg { fill: var(--green); }
.hero__trust-item:nth-child(2) svg { fill: var(--amber); }
.hero__trust-item:nth-child(3) svg { fill: var(--red); }

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

/* Cinematic hero light sweep */
.hero__sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(232,101,26,0.04) 40%,
    rgba(255,255,255,0.03) 50%,
    rgba(232,101,26,0.04) 60%,
    transparent 80%
  );
  animation: heroSweep 8s ease-in-out infinite;
}

@keyframes heroSweep {
  0% { transform: translateX(0); }
  50% { transform: translateX(300%); }
  100% { transform: translateX(0); }
}

/* ============================================
   Stats Strip — Oversized numbers
   ============================================ */

.stats-strip {
  background: var(--navy);
  padding: 56px 0;
  border-bottom: 4px solid var(--red);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-strip__item { position: relative; }

.stats-strip__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stats-strip__number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(232,101,26,0.3), 0 0 60px rgba(232,101,26,0.1);
}

.stats-strip__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-300);
}

/* ============================================
   Alternating Service Rows (NOT card grids)
   ============================================ */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.service-row--reverse .service-row__image { order: 2; }
.service-row--reverse .service-row__content { order: 1; }

.service-row__image {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.service-row__image::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: 40px 40px;
  pointer-events: none;
}

.service-row:hover .service-row__image::before { opacity: 0.8; }
.service-row:hover .service-row__image svg {
  fill: rgba(255,255,255,0.6);
  transform: scale(1.1);
  transition: fill 0.4s, transform 0.4s;
}
.service-row__image svg { transition: fill 0.4s, transform 0.4s; }

.service-row__image svg {
  width: 64px;
  height: 64px;
  fill: rgba(255,255,255,0.4);
  position: relative;
  z-index: 1;
}

.service-row__image span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

.service-row__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
}

.service-row__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.service-row__title {
  text-transform: uppercase;
  margin-bottom: 18px;
}

.service-row__text {
  color: var(--slate-500);
  margin-bottom: 28px;
  line-height: 1.75;
  font-size: 1.02rem;
}

.service-row__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  transition: gap 0.3s;
}

.service-row__link:hover { gap: 14px; }

.service-row__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.service-row__link:hover svg {
  transform: translateX(4px);
}

/* Gray bg for alternating */
.service-row--gray { background: var(--slate-50); }

/* ============================================
   Testimonial Banner — Full-width, dramatic
   ============================================ */

.testimonial-banner {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  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;
}

.testimonial-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232,101,26,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.testimonial-banner__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.testimonial-banner__quote-mark {
  display: block;
  margin: 0 auto 24px;
  opacity: 0.25;
}

.testimonial-banner__quote-mark svg {
  width: 120px;
  height: 120px;
  fill: var(--red);
}

.testimonial-banner__text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: 0.01em;
}

.testimonial-banner__author {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.testimonial-banner__author strong {
  color: var(--white);
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-banner__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial-banner__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--amber);
}

/* Multiple testimonials rotation — smooth fade */
.testimonial-slide {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.testimonial-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-banner__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-banner__dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  position: relative;
}

/* Expand touch target */
.testimonial-banner__dots button::before {
  content: '';
  position: absolute;
  inset: -16px;
}

.testimonial-banner__dots button.active {
  background: var(--red);
  border-color: var(--red);
}

/* ============================================
   Before / After Interactive Slider
   ============================================ */

.before-after {
  padding: var(--section-pad) 0;
}

.ba-slider {
  position: relative;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  touch-action: pan-y pinch-zoom;
}

.ba-slider.is-dragging {
  touch-action: none;
}

/* Both images: full-size, stacked. clip-path reveals each side. */
.ba-slider__after,
.ba-slider__before {
  position: absolute;
  inset: 0;
}

.ba-slider__after { z-index: 1; }
.ba-slider__before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-slider__after img,
.ba-slider__before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}


/* Labels */
.ba-slider__label {
  position: absolute;
  bottom: 20px;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 12;
  pointer-events: none;
  transition: opacity 0.3s;
}

.ba-slider__label--before {
  left: 20px;
  background: rgba(15,23,42,0.85);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.ba-slider__label--after {
  right: 20px;
  background: var(--red);
  color: var(--white);
}

/* Drag handle */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: col-resize;
}

.ba-slider__handle-line {
  flex: 1;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba-slider__handle-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), var(--shadow-glow-red);
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: handlePulse 2.5s ease-in-out infinite;
}

.ba-slider__handle-circle:hover,
.ba-slider.is-dragging .ba-slider__handle-circle {
  transform: scale(1.15);
  box-shadow: 0 4px 24px rgba(232,101,26,0.4);
  animation: none;
}

.ba-slider__handle-circle svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

@keyframes handlePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 0 rgba(232,101,26,0.4); }
  50% { box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 10px rgba(232,101,26,0); }
}

/* Responsive */
@media (max-width: 768px) {
  .ba-slider {
    aspect-ratio: 4 / 3;
    margin-top: 32px;
    border-radius: var(--radius-md);
  }
  .ba-slider__handle {
    width: 56px;
  }
  .ba-slider__handle-circle {
    width: 44px;
    height: 44px;
  }
  .ba-slider__handle-circle svg {
    width: 14px;
    height: 14px;
  }
  .ba-slider__label {
    bottom: 16px;
    padding: 6px 14px;
    font-size: 0.65rem;
  }
  .ba-slider__label--before { left: 12px; }
  .ba-slider__label--after { right: 12px; }
  .before-after .section-heading__sub {
    font-size: 0.9rem;
  }
  .before-after .btn--secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   Process Timeline — Horizontal
   ============================================ */

.process {
  padding: var(--section-pad) 0;
  background: var(--slate-50);
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

/* Connecting line */
.process__timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--red);
  z-index: 0;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.process__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(232,101,26,0.3);
  transition: all 0.3s;
}

.process__step:hover .process__step-number {
  background: var(--navy);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(15,23,42,0.3), 0 0 0 8px rgba(232,101,26,0.15);
}

.process__step-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.process__step-text {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ============================================
   CTA — Diagonal clip-path
   ============================================ */

.cta-diagonal {
  position: relative;
  padding: 100px 0 80px;
  background: var(--red);
  clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
  margin: -40px 0;
  z-index: 1;
}

.cta-diagonal__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-diagonal h2 {
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-diagonal p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-diagonal__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Variation for non-home pages */
.cta-section {
  background: var(--red);
  padding: 80px 0;
  clip-path: polygon(0 6%, 100% 0%, 100% 94%, 0% 100%);
  margin: -20px 0 0;
}

.cta-section__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-section__inner h2 {
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-section__inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-section__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Service Area — Map-style layout
   ============================================ */

.service-area {
  padding: var(--section-pad) 0;
  padding-top: 60px;
}

.service-area__grid {
  margin-top: 40px;
}

.service-area__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-area__tag {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.service-area__tag:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232,101,26,0.3);
}

/* ============================================
   Gallery — Masonry CSS Columns
   ============================================ */

.gallery-masonry {
  column-count: 3;
  column-gap: 20px;
  margin-top: 40px;
}

.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.4s ease, transform 0.4s ease;
}
.gallery-masonry__item.hidden {
  opacity: 0;
  transform: scale(0.95);
  position: absolute;
  pointer-events: none;
}

.gallery-masonry__item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 48px rgba(232,101,26,0.2), 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-masonry__image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  transition: transform 0.5s var(--ease);
}

.gallery-masonry__image svg {
  width: 40px;
  height: 40px;
  fill: rgba(255,255,255,0.3);
}

.gallery-masonry__image span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* Varied heights for masonry effect */
.gallery-masonry__item--tall .gallery-masonry__image { min-height: 420px; }
.gallery-masonry__item--medium .gallery-masonry__image { min-height: 300px; }
.gallery-masonry__item--short .gallery-masonry__image { min-height: 220px; }

.gallery-masonry__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

@media (hover: none) {
  .gallery-masonry__overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, transparent 60%);
  }
}

.gallery-masonry__item:hover .gallery-masonry__overlay { opacity: 1; }
.gallery-masonry__item:hover .gallery-masonry__image { transform: scale(1.05); }

.gallery-masonry__overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-masonry__overlay span {
  color: var(--amber);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Filter tabs */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
}

.gallery-filter-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--slate-500);
}

.gallery-filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.gallery-filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ============================================
   Services Page — Full-height alternating sections
   ============================================ */

.service-section {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-section--reverse .service-section__image { order: 2; }
.service-section--reverse .service-section__content { order: 1; }

.service-section__image {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.service-section__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.service-section__image svg {
  width: 72px;
  height: 72px;
  fill: rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}

.service-section__image span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

.service-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
}

.service-section__content .section-heading { margin-bottom: 24px; }

.service-section__text {
  color: var(--slate-500);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-section__meta {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.service-section__meta-item span:first-child {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.service-section__meta-item span:last-child {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
}

.service-section__list {
  margin-bottom: 32px;
}

.service-section__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--slate-600);
}

.service-section__list li svg {
  width: 18px;
  height: 18px;
  fill: var(--green);
  flex-shrink: 0;
}

/* Sticky progress indicator */
.services-progress {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-progress__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--slate-300);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.services-progress__dot.active {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.3);
}

.services-progress__dot::after {
  content: attr(data-label);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.services-progress__dot:hover::after,
.services-progress__dot.active::after {
  opacity: 1;
}

/* ============================================
   About Page
   ============================================ */

/* Hero for inner pages */
.page-hero {
  background: var(--navy);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,101,26,0.08) 0%, transparent 60%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .breadcrumb {
  margin-bottom: 24px;
}

.page-hero .breadcrumb a,
.page-hero .breadcrumb span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { margin: 0 8px; }

.page-hero__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.page-hero h1 {
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
  max-width: 700px;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* About: Story */
.about-story {
  max-width: 780px;
  padding: var(--section-pad) 0;
}

.about-story__image {
  background: var(--slate-100);
  border-radius: var(--radius-lg);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.about-story__image svg {
  width: 64px;
  height: 64px;
  fill: var(--slate-300);
}

.about-story__image span {
  font-size: 0.85rem;
  color: var(--slate-400);
}

.about-story__content p {
  color: var(--slate-500);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-story__content p:first-of-type {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 500;
}

/* Timeline */
.about-timeline {
  margin-top: 40px;
  border-left: 3px solid var(--red);
  padding-left: 24px;
}

.about-timeline__item {
  position: relative;
  padding-bottom: 28px;
}

.about-timeline__item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
}

.about-timeline__year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-timeline__text {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin-top: 4px;
}

/* Team — Large photo areas */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.team-card__photo {
  background: var(--slate-100);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.5s var(--ease);
}

.team-card__photo svg {
  width: 48px;
  height: 48px;
  fill: var(--slate-300);
}

.team-card__photo span {
  font-size: 0.85rem;
  color: var(--slate-400);
}

.team-card:hover .team-card__photo { transform: scale(1.05); }

.team-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15,23,42,1) 0%, rgba(15,23,42,0.95) 40%, rgba(15,23,42,0.7) 70%, transparent 100%);
  padding: 80px 24px 24px;
  transform: translateY(40px);
  transition: transform 0.4s var(--ease);
}

.team-card:hover .team-card__overlay { transform: translateY(0); }

.team-card__overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card__overlay .role {
  color: var(--amber);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 8px;
}

.team-card__overlay p {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Values — 2x2 with thick top border */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  padding: 36px;
  border-top: 4px solid var(--red);
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.value-card:nth-child(2) { border-top-color: var(--amber); }
.value-card:nth-child(3) { border-top-color: var(--navy); }
.value-card:nth-child(4) { border-top-color: var(--green); }

.value-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.value-card__icon svg {
  width: 48px;
  height: 48px;
  fill: var(--navy);
}

.value-card h4 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--slate-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Certifications logo bar */
.certifications {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 48px 0;
  border-top: 1px solid var(--slate-200);
  margin-top: 48px;
}

.certification-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--slate-100);
  transition: all 0.3s var(--ease);
}

.certification-item:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232,101,26,0.12);
}

.certification-item svg {
  width: 36px;
  height: 36px;
  fill: var(--red);
}

.certification-item span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .certifications {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .certifications {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
    margin-top: 32px;
  }
  .certification-item {
    flex-direction: row;
    padding: 20px;
    gap: 16px;
    border-width: 2px;
  }
  .certification-item svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .certification-item span {
    text-align: left;
    font-size: 0.75rem;
  }
}

/* ============================================
   Contact — Split screen
   ============================================ */

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 120px);
}

.contact-split__form {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-split__form h2 {
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-split__form > p {
  color: var(--slate-500);
  margin-bottom: 36px;
}

.contact-split__info {
  background: var(--navy);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

/* Form field spacing */
.form-gap {
  margin-top: 24px;
}

/* Floating label inputs */
.form-group {
  position: relative;
  margin-bottom: 24px;
}

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

.form-field {
  position: relative;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 18px 16px 8px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(232,101,26,0.1);
}

.form-field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--slate-400);
  pointer-events: none;
  transition: all 0.2s;
}

.form-field textarea ~ label {
  top: 18px;
  transform: none;
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field select ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  transform: none;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
}

.form-field select:focus ~ label {
  top: 6px;
  transform: none;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
}

/* Contact info on dark side */
.contact-info-block {
  margin-bottom: 40px;
}

.contact-info-block h3 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 24px;
}

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

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(232,101,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--red);
}

.contact-info-item h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

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

.contact-trust {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: auto;
}

.contact-trust__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-trust__badge svg {
  width: 20px;
  height: 20px;
  fill: var(--amber);
}

.contact-trust__badge span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   Section utilities
   ============================================ */

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

.section--gray { background: var(--slate-50); }
.section--navy { background: var(--navy); }

.thick-divider {
  height: 4px;
  background: var(--red);
  width: 60px;
  margin: 24px 0;
}

/* ============================================
   Footer — Heavy, industrial
   ============================================ */

.footer {
  background: linear-gradient(180deg, #0F172A 0%, #0a1020 100%);
  padding: 72px 0 0;
  color: rgba(255,255,255,0.6);
}

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

.footer__brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__license {
  display: inline-block;
  background: rgba(232,101,26,0.2);
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

.footer__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--white); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer__socials a:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px) scale(1.1);
}

.footer__socials svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.6);
}

.footer__socials a:hover svg { fill: var(--white); }

/* ============================================
   Scroll Reveal
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

.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 direction variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Hero word stagger */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: wordReveal 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service image zoom on hover */
.service-row__image {
  overflow: hidden;
}
.service-row__image img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-row:hover .service-row__image img {
  transform: scale(1.05);
}

/* Stat counter pulse on complete */
@keyframes statPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.stat-pulse {
  animation: statPulse 0.4s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .service-row,
  .service-section,
  .contact-split,
  .about-story,
  .before-after__grid,
  .service-area__grid {
    grid-template-columns: 1fr;
  }

  .service-row--reverse .service-row__image,
  .service-section--reverse .service-section__image { order: 0; }
  .service-row--reverse .service-row__content,
  .service-section--reverse .service-section__content { order: 0; }

  .service-row__content,
  .service-section__content {
    padding: 40px 24px;
  }

  .service-row__image,
  .service-section__image {
    min-height: 300px;
  }

  .contact-split__form,
  .contact-split__info {
    padding: 40px 24px;
  }

  .services-progress { display: none; }

  .stats-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stats-strip__item:nth-child(2)::after { display: none; }

  /* Trust items: tighten at tablet */
  .hero__trust { gap: 16px; }

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

  .gallery-masonry { column-count: 2; }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process__timeline::before { display: none; }

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

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .top-bar__right { display: none; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  /* --- HERO: Mobile --- */
  .hero {
    min-height: auto;
    padding: 60px 0 48px;
  }
  .hero__inner {
    padding: 0 20px;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
  }
  .hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero__trust {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
  }
  .hero__trust-item {
    font-size: 0.7rem;
  }
  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 0.95rem;
  }
  .hero__actions .btn--primary {
    box-shadow: 0 4px 24px rgba(220, 38, 38, 0.25);
  }

  .section--compact {
    padding-top: 48px;
  }

  /* --- SECTION HEADINGS --- */
  h2 {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
    line-height: 1.1;
  }
  .section-heading {
    padding-left: 16px;
    border-left-width: 3px;
    margin-bottom: 20px;
  }
  .section-heading__sub {
    font-size: 0.95rem;
    margin-top: 10px;
  }

  /* --- STATS --- */
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__item::after { display: none; }
  .stats-strip__number {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  .stats-strip__label {
    font-size: 0.75rem;
  }

  /* --- SERVICE ROWS --- */
  .service-row__image,
  .service-section__image {
    min-height: 240px;
  }
  .service-row__content,
  .service-section__content {
    padding: 32px 20px 40px;
  }
  .service-row__title {
    margin-bottom: 12px;
  }
  .service-row__text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  /* --- GALLERY --- */
  .gallery-masonry { column-count: 1; }
  .gallery-masonry__item { margin-bottom: 16px; }
  .gallery-masonry__item--tall .gallery-masonry__image,
  .gallery-masonry__item--medium .gallery-masonry__image,
  .gallery-masonry__item--short .gallery-masonry__image {
    min-height: 280px;
  }

  /* --- BEFORE/AFTER --- */
  .before-after {
    padding: var(--section-pad) 0 56px;
  }

  /* --- PROCESS TIMELINE --- */
  .process__timeline { grid-template-columns: 1fr; gap: 24px; }
  .process__step {
    padding: 28px 24px;
  }

  /* --- TESTIMONIALS --- */
  .testimonial-banner {
    padding: 56px 0;
  }
  .testimonial-banner__quote-mark svg {
    width: 72px;
    height: 72px;
  }
  .testimonial-banner__quote-mark {
    margin-bottom: 16px;
  }
  .testimonial-banner__text {
    font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .testimonial-banner__dots {
    margin-top: 24px;
  }

  /* --- CTA --- */
  .cta-diagonal {
    clip-path: polygon(0 3%, 100% 0%, 100% 97%, 0% 100%);
    padding: 72px 0 64px;
    margin: -24px 0;
  }
  .cta-diagonal p {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .cta-section {
    clip-path: polygon(0 2%, 100% 0%, 100% 98%, 0% 100%);
    padding: 64px 0 56px;
  }
  .cta-section .btn,
  .cta-diagonal .btn {
    width: 100%;
    max-width: 320px;
    padding: 18px 32px;
    font-size: 0.95rem;
  }

  /* --- SERVICE AREA --- */
  .service-area {
    padding: 48px 0 56px;
  }
  .service-area__grid {
    margin-top: 28px;
  }
  .service-area__tags {
    gap: 8px;
  }
  .service-area__tag {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  /* --- TEAM --- */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }
  .team-card__photo {
    min-height: 300px;
  }
  .team-card__overlay {
    transform: translateY(0);
    padding: 60px 20px 20px;
  }

  /* --- VALUES --- */
  .value-card {
    padding: 28px 24px;
  }
  .value-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
  .value-card__icon svg {
    width: 40px;
    height: 40px;
  }

  /* --- ABOUT --- */
  .about-story {
    padding: 48px 0 56px;
  }
  .about-story__content p:first-of-type {
    font-size: 1.05rem;
  }
  .about-timeline {
    margin-top: 32px;
    padding-left: 20px;
  }
  .about-timeline__item {
    padding-bottom: 24px;
  }

  /* --- PAGE HERO (inner pages) --- */
  .page-hero {
    padding: 40px 0 56px;
  }
  .page-hero h1 {
    margin-bottom: 12px;
  }
  .page-hero p {
    font-size: 0.95rem;
  }

  /* --- CONTACT FORM --- */
  .form-group--half { grid-template-columns: 1fr; gap: 20px; }
  .contact-split__form {
    padding: 36px 20px 40px;
  }
  .contact-split__info {
    padding: 36px 20px 40px;
  }
  .contact-split__form .btn {
    width: 100%;
    padding: 18px;
    box-shadow: 0 4px 24px rgba(220, 38, 38, 0.2);
  }

  /* --- FOOTER --- */
  .footer {
    padding-top: 48px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 20px 0;
  }
  .footer__socials a { width: 44px; height: 44px; }
  .footer__socials svg { width: 20px; height: 20px; }

  .form-field input,
  .form-field select,
  .form-field textarea {
    min-height: 52px;
    font-size: 1rem;
  }

  .form-gap {
    margin-top: 28px;
  }

  .form-field select {
    padding: 20px 16px 10px;
  }
}

@media (max-width: 480px) {
  :root { --section-pad: 48px; }

  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }
  .stats-strip__number { font-size: 2.5rem; }

  .service-row__image,
  .service-section__image {
    min-height: 200px;
  }
  .service-row__content,
  .service-section__content {
    padding: 28px 16px 36px;
  }

  .testimonial-banner {
    padding: 44px 0;
  }

  .cta-diagonal {
    padding: 60px 0 52px;
  }

  .before-after {
    padding: 48px 0 44px;
  }

  .team-card__photo {
    min-height: 260px;
  }

  .page-hero {
    padding: 32px 0 44px;
  }

  .footer {
    padding-top: 40px;
  }
  .footer__grid {
    gap: 28px;
    padding-bottom: 28px;
  }
}

@media (max-width: 375px) {
  .hero__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero__trust-item { font-size: 0.65rem; }

  .container {
    padding: 0 16px;
  }
  .hero__inner {
    padding: 0 16px;
  }
}

/* ============================================
   Real Image Support
   ============================================ */

/* Service row images */
.service-row__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Service section images (services.html) */
.service-section__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Gallery images */
.gallery-masonry__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team photos */
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About story image */
.about-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}


/* ============================================
   Diagonal CTA gap fix
   ============================================ */
.cta-diagonal + section,
.cta-diagonal + .site-footer {
    margin-top: -1px;
}

/* ============================================
   Before/After Labels — prominent
   ============================================ */
.ba-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   Service "Best for" callouts
   ============================================ */
.service-best-for {
    font-size: 0.8rem;
    color: var(--slate-300);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
}

/* ============================================
   Accessibility — Focus styles
   ============================================ */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

/* ============================================
   prefers-reduced-motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .ba-slider__handle-circle {
        animation: none !important;
    }
    .page-entrance {
        display: none !important;
    }
}
