/* ============================================
   WINDWARD ROOFING & CONSTRUCTION
   Premium Stylesheet — Architectural Luxury
   DM Serif Display + Outfit
   Zero frameworks. Zero bloat. Pure speed.
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --primary: #153d26;
  --primary-dark: #0e2a1a;
  --primary-light: #1f5736;
  --primary-rgb: 21, 61, 38;
  --secondary: #f47920;
  --secondary-dark: #d4631a;
  --secondary-light: #ff9147;
  --accent: #c5a55a;
  --accent-dark: #a8893e;
  --accent-light: #d4ba78;

  /* Neutrals — Brand green undertones */
  --dark: #153d26;
  --dark-medium: #122e1e;
  --dark-light: #1a4a2e;
  --gray-900: #1c2b25;
  --gray-700: #3a4f47;
  --gray-600: #4b5e56;
  --gray-500: #687d74;
  --gray-400: #8a9e96;
  --gray-300: #b0c4bc;
  --gray-200: #d4e0db;
  --gray-100: #eef3f1;
  --gray-50: #f6f9f8;
  --white: #ffffff;
  --success: #16a34a;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1280px;
  --max-width-wide: 1440px;
  --header-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition: 0.35s var(--ease-out);
  --transition-fast: 0.2s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(8, 14, 11, 0.06);
  --shadow-sm: 0 2px 8px rgba(8, 14, 11, 0.08);
  --shadow-md: 0 4px 20px rgba(8, 14, 11, 0.1), 0 2px 6px rgba(8, 14, 11, 0.04);
  --shadow-lg: 0 12px 40px rgba(8, 14, 11, 0.12), 0 4px 12px rgba(8, 14, 11, 0.06);
  --shadow-xl: 0 24px 60px rgba(8, 14, 11, 0.16), 0 8px 24px rgba(8, 14, 11, 0.08);
  --shadow-glow-orange: 0 6px 30px rgba(244, 121, 32, 0.4);
  --shadow-glow-green: 0 6px 30px rgba(21, 61, 38, 0.3);

  /* Borders */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-full: 9999px;
}


/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}


/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }

.bg-dark {
  background: var(--dark);
  color: var(--white);
}

.bg-dark-light {
  background: var(--dark-light);
  color: var(--white);
}

.bg-gray {
  background: var(--gray-100);
}

.bg-primary {
  background: var(--primary);
  color: var(--white);
}

.bg-primary-dark {
  background: var(--primary-dark);
  color: var(--white);
}

.section {
  padding: 72px 0;
  position: relative;
}

.section-sm {
  padding: 48px 0;
}

.section-lg {
  padding: 100px 0;
}

/* Subtitle */
.subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 620px;
  font-weight: 300;
}

.text-center .subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Decorative accent line */
.accent-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

.accent-line--secondary {
  background: var(--secondary);
}

.accent-line--wide {
  width: 72px;
  height: 3px;
}

/* Overline label */
.overline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-outline--dark {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline--dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-green {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-green:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-phone {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-phone:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 0.92rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}


/* --- Top Bar --- */
.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 0.02em;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: var(--gray-300);
  transition: color var(--transition);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-phone {
  font-weight: 600;
  color: var(--white) !important;
  letter-spacing: 0.03em;
}


/* --- Header --- */
.header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: box-shadow var(--transition), background var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img,
.logo-img {
  height: 48px;
  width: auto;
}


/* --- Navigation --- */
.nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-item {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav-link {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 8px 0;
  z-index: 100;
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--accent);
  animation: dropdownFade 0.25s var(--ease-out);
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 0.85rem;
  color: var(--gray-700);
  transition: all var(--transition-fast);
  letter-spacing: 0;
  text-transform: none;
}

.nav-dropdown a:hover {
  background: var(--gray-50);
  color: var(--primary);
  padding-left: 28px;
}

/* Mega Menu */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 740px;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: 32px;
  z-index: 100;
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--accent);
  animation: dropdownFade 0.3s var(--ease-out);
}

.nav-item:hover .mega-menu {
  display: block;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mega-menu h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.mega-menu ul li a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.mega-menu ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.header-cta {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #080e0b;
  transition: all var(--transition);
  border-radius: 1px;
}

.menu-toggle:hover span {
  background: var(--primary);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  transition: right 0.4s var(--ease-out);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
  right: 0;
  display: block;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
  transition: color var(--transition);
  padding: 4px;
}

.mobile-nav-close:hover {
  color: var(--dark);
}

.mobile-nav-body {
  padding: 20px;
}

.mobile-nav-body a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  font-weight: 500;
  transition: color var(--transition);
}

.mobile-nav-body a:hover {
  color: var(--primary);
}

.mobile-nav-body .sub-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 20px;
  padding-bottom: 6px;
  border: none;
}

.mobile-nav-body .sub-link {
  padding: 10px 0 10px 16px;
  font-size: 0.88rem;
  font-weight: 400;
  border-bottom: none;
}

.mobile-nav-cta {
  padding: 20px;
  border-top: 1px solid var(--gray-200);
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 14, 11, 0.65);
  z-index: 1500;
  backdrop-filter: blur(4px);
}

.mobile-overlay.active {
  display: block;
}


/* ============================================
   HERO — Cinematic Fullscreen
   ============================================ */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  padding: 90px 0 70px;
  overflow: hidden;
  min-height: 520px;
}

/* Subtle noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  z-index: 3;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 4;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 400;
}

.hero h1 .text-accent,
.hero h1 .highlight {
  color: var(--accent);
}

.hero .subtitle {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

.hero p {
  color: rgba(255, 255, 255, 0.75);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-btns {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
}
.hero-btns .btn {
  flex-shrink: 0;
  white-space: nowrap;
}


/* --- Hero Video Background --- */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: var(--primary);
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(8, 14, 11, 0.80) 0%,
      rgba(8, 14, 11, 0.70) 30%,
      rgba(15, 68, 34, 0.45) 70%,
      rgba(15, 68, 34, 0.30) 100%
    );
}

/* Gold accent line at bottom of hero */
.hero-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent 80%);
  z-index: 5;
}


/* Hero Split: text left, form right */
.hero-split {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

.hero-content .overline {
  color: var(--accent);
  margin-bottom: 16px;
}


/* Hero Form — Floating Lead Capture (hidden on mobile/tablet, shown at 1024px+) */
.hero-form {
  display: none;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
}

.hero-form iframe {
  display: block;
  width: 100%;
  height: 584px;
}


/* ============================================
   CREDENTIAL BADGES — Horizontal Scroll Strip
   ============================================ */
.credential-badges {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  background: var(--primary-dark);
}

.credential-badges::-webkit-scrollbar {
  display: none;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  flex: 1;
  justify-content: center;
  transition: all var(--transition);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.credential-badge + .credential-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.credential-badge:hover {
  background: rgba(255, 255, 255, 0.05);
}

.credential-badge .badge-icon {
  font-size: 0.9rem;
  color: var(--accent);
}


/* ============================================
   PARTNERS / MANUFACTURERS
   ============================================ */
.partners {
  padding: 56px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.partners .section-header {
  margin-bottom: 32px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity var(--transition-slow);
}

.partners-grid:hover {
  opacity: 0.85;
}

.partners-grid img {
  height: 44px;
  width: auto;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.partners-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.08);
}


/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
  position: relative;
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 26px 24px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.service-card h3 a {
  color: var(--dark);
  transition: color var(--transition);
}

.service-card h3 a:hover {
  color: var(--primary);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
  font-weight: 300;
}

.service-card .learn-more {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-card .learn-more:hover {
  gap: 10px;
  color: var(--primary);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--primary);
  color: var(--white);
}


/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--dark);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

/* Diagonal gold accent */
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(197, 165, 90, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.stats-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 20px 28px;
  flex: 1;
  min-width: 140px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--accent);
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}


/* ============================================
   TRUST BAR (used on sub-pages)
   ============================================ */
.trust-bar {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0;
  position: relative;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  opacity: 0.5;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.trust-stat { padding: 12px; }

.trust-stat .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  display: block;
  line-height: 1;
}

.trust-stat .label {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative diagonal stripe */
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 50%;
  height: 250%;
  background: linear-gradient(135deg, transparent 40%, rgba(197, 165, 90, 0.04) 50%, transparent 60%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent 60%);
}

.cta-section h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}


/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  margin-bottom: 48px;
}

.section-header .overline {
  color: var(--accent-dark);
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  color: var(--gray-600);
  max-width: 650px;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
}

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.bg-dark .section-header .overline,
.bg-dark-light .section-header .overline {
  color: var(--accent);
}

.bg-dark .section-header h2,
.bg-dark-light .section-header h2 {
  color: var(--white);
}

.bg-dark .section-header p,
.bg-dark-light .section-header p {
  color: rgba(255, 255, 255, 0.85);
}


/* ============================================
   PROJECT CARDS — Portfolio
   ============================================ */
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(8, 14, 11, 0.88));
  color: var(--white);
  transform: translateY(10px);
  opacity: 0.85;
  transition: all var(--transition);
}

.project-card:hover .project-card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}

.project-card-overlay p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 300;
}

.project-card-overlay .project-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(197, 165, 90, 0.9);
  color: var(--dark);
  border-radius: var(--radius);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}


/* ============================================
   ABOUT SPLIT — Two Column
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-split-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Gold corner accent */
.about-split-image::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: 60px;
  height: 60px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  pointer-events: none;
}

.about-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split-content {
  max-width: 560px;
}

.about-split-content .overline {
  color: var(--accent-dark);
}

.about-split-content h2 {
  margin-bottom: 18px;
}

.about-split-content p {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-weight: 300;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--dark-medium);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/cta-background.webp') center / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

/* Subtle grain on dark section */
.testimonials::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials .section-header .overline {
  color: var(--accent);
}

.testimonials .section-header h2 {
  color: var(--white);
}

.testimonials .section-header p,
.testimonials .subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 20px;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(197, 165, 90, 0.15);
  transform: translateY(-2px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(197, 165, 90, 0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
  font-weight: 300;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.testimonial-card .role {
  font-size: 0.78rem;
  color: var(--gray-400);
}


/* ============================================
   FAQ — Native <details> Elements
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--dark);
  text-align: left;
  line-height: 1.3;
  transition: color var(--transition);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--transition);
  min-width: 24px;
  text-align: center;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-question:hover {
  color: var(--primary);
}

.faq-item .icon {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform var(--transition);
  min-width: 24px;
  text-align: center;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-answer {
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-weight: 300;
}


/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.contact-form-section .container {
  max-width: 820px;
}

.contact-form-wrapper {
  position: relative;
}

.contact-form-wrapper iframe {
  display: block;
  width: 100%;
  height: 673px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
}


/* ============================================
   LOCATION GRID
   ============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.location-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.location-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: all var(--transition);
}

.location-card:hover .location-card-icon {
  background: var(--primary);
  color: var(--white);
}

.location-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.location-card h3 a {
  color: var(--dark);
  transition: color var(--transition);
}

.location-card h3 a:hover {
  color: var(--primary);
}

.location-card p {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin: 0;
}


/* ============================================
   PAGE HERO — Content Pages
   ============================================ */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 68px 0 56px;
  position: relative;
  overflow: hidden;
}

/* Diagonal accent */
.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 70%;
  height: 220%;
  background: linear-gradient(135deg, transparent 40%, rgba(197, 165, 90, 0.04) 50%, transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent 50%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
}

.page-hero .overline {
  color: var(--accent);
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0;
  background: var(--gray-50);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb a {
  color: var(--gray-500);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--gray-300);
  margin: 0 8px;
}

.breadcrumb .current {
  color: var(--gray-700);
  font-weight: 600;
}


/* ============================================
   CONTENT BODY — Service/Location Pages
   ============================================ */
.content-body {
  padding: 60px 0;
}

.content-body h2 {
  margin-top: 2.5rem;
}

.content-body h2:first-child {
  margin-top: 0;
}

.content-body ul,
.content-body ol {
  padding-left: 24px;
  margin-bottom: 1.25rem;
}

.content-body ul {
  list-style: disc;
}

.content-body ol {
  list-style: decimal;
}

.content-body li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Two column layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.sidebar {
  order: 2;
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 26px;
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.sidebar-card ul li {
  margin-bottom: 0;
}

.sidebar-card ul li a {
  display: block;
  padding: 11px 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.sidebar-card ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.sidebar-card ul li:last-child a {
  border: none;
}

.sidebar-cta {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--primary));
}

.sidebar-cta h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 300;
}

.sidebar-cta .btn {
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.sidebar-cta .phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-top: 16px;
  color: var(--white);
}


/* ============================================
   FEATURES / BENEFITS GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  min-width: 44px;
  height: 44px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: all var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.7;
  font-weight: 300;
}


/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.checklist li::before {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 2px;
}


/* ============================================
   ADDITIONAL COMPONENTS
   ============================================ */

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  counter-increment: step;
  position: relative;
}

.process-step-number {
  min-width: 48px;
  height: 48px;
  background: var(--dark);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.process-step h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.7;
  font-weight: 300;
}

/* Notice */
.notice {
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
  background: rgba(197, 165, 90, 0.04);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.notice--warning {
  border-left-color: var(--secondary);
  background: rgba(244, 121, 32, 0.04);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 40px 0;
  border: none;
}

.divider--dark {
  background: rgba(255, 255, 255, 0.06);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge--green {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

.badge--orange {
  background: rgba(244, 121, 32, 0.1);
  color: var(--secondary);
}

.badge--gold {
  background: rgba(197, 165, 90, 0.12);
  color: var(--accent-dark);
}

/* Card grid generic */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Image card */
.image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.image-card img {
  width: 100%;
  object-fit: cover;
}

.image-card figcaption {
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--gray-600);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 80px 0 0;
  position: relative;
  z-index: 10;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--primary) 40%, transparent 80%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 44px;
  width: auto;
}

.footer-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 0.78rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.footer p {
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  transition: all var(--transition);
  display: inline-block;
  font-weight: 300;
}

.footer ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-item .icon {
  color: var(--accent);
  min-width: 18px;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 300;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom a:hover {
  color: var(--accent);
}


/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 26px;
}

.blog-card-meta {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.25;
}

.blog-card h3 a {
  color: var(--dark);
  transition: color var(--transition);
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 300;
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: 8px;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card .read-more:hover {
  gap: 10px;
  color: var(--primary);
}


/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 40px;
}

.team-card {
  text-align: center;
  transition: all var(--transition);
  width: 180px;
}

.team-card:hover {
  transform: translateY(-3px);
}

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.team-card:hover img {
  box-shadow: var(--shadow-md);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.team-card .team-title {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0 0 6px;
  font-weight: 400;
}

.team-card .team-email {
  font-size: 0.78rem;
  margin: 0;
}

.team-card .team-email a {
  color: var(--primary);
  text-decoration: none;
}

.team-card .team-email a:hover {
  text-decoration: underline;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin: 0;
  font-weight: 300;
}


/* ============================================
   PORTFOLIO GRID
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.portfolio-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.portfolio-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(8, 14, 11, 0.85));
  color: var(--white);
  transition: all var(--transition);
}

.portfolio-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 3px;
}

.portfolio-overlay p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 300;
}


/* ============================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for grid children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.4s; }


/* Keyframe animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-fade-in-up { animation: fadeInUp 0.6s var(--ease-out) both; }
.animate-fade-in { animation: fadeIn 0.5s var(--ease-out) both; }
.animate-slide-left { animation: slideInLeft 0.6s var(--ease-out) both; }
.animate-slide-right { animation: slideInRight 0.6s var(--ease-out) both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }


/* ============================================
   MOBILE — max 767px
   ============================================ */
@media (max-width: 767px) {
  /* Cinematic gradient hero background (video doesn't load on mobile) */
  .hero-video-wrapper {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 40%, var(--primary) 100%);
  }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(8, 14, 11, 0.85) 0%,
      rgba(8, 14, 11, 0.65) 50%,
      rgba(15, 68, 34, 0.45) 100%
    );
  }

  /* Compact hero for mobile */
  .hero {
    padding: 56px 0 48px;
    min-height: auto;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero .subtitle {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }
  .hero-badges {
    justify-content: center;
  }

  /* Stack CTA buttons vertically, full width */
  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  /* Simplify top bar — hide address + duplicate phone */
  .top-bar span[aria-hidden="true"] {
    display: none;
  }
  .top-bar-contact .top-bar-phone + .top-bar-phone {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }
  .top-bar-contact {
    flex-wrap: wrap;
    gap: 4px 14px;
    justify-content: center;
    width: 100%;
  }

  /* Footer / section form iframe height */
  .contact-form-wrapper iframe {
    height: 580px;
  }
}


/* ============================================
   TABLET — 768px+
   ============================================ */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.4rem; }

  .hero {
    padding: 110px 0 90px;
    min-height: 560px;
  }

  .hero h1 { font-size: 3.25rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .container { grid-template-columns: repeat(4, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 2fr 1fr; }
  .sidebar { order: 0; }
  .page-hero h1 { font-size: 2.75rem; }

  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: 52px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-wrapper {
    max-width: 820px;
  }

  .testimonials .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ============================================
   DESKTOP — 1024px+
   ============================================ */
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.75rem; }

  .hero h1 {
    font-size: 3.75rem;
    line-height: 1.05;
  }

  .hero {
    padding: 130px 0 110px;
    min-height: 640px;
  }

  .hero-split {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hero-content { flex: 1; }

  .hero-form {
    display: block;
    width: 650px;
  }

  .section { padding: 96px 0; }
  .section-lg { padding: 120px 0; }

  .nav { display: flex; }
  .menu-toggle { display: none; }
  .header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .content-grid { grid-template-columns: 3fr 1fr; gap: 56px; }

  .cta-section h2 { font-size: 2.75rem; }
  .cta-section { padding: 100px 0; }

  .page-hero { padding: 92px 0 72px; }
  .page-hero h1 { font-size: 3.25rem; }

  .about-split { gap: 72px; }

  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-form-wrapper { max-width: 820px; }
  .section-header { margin-bottom: 56px; }

  .trust-stat .number { font-size: 2.75rem; }
  .stat-item .stat-number { font-size: 3.25rem; }

  .testimonials .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================
   WIDE — 1280px+
   ============================================ */
@media (min-width: 1280px) {
  h1 { font-size: 3.75rem; }

  .hero h1 { font-size: 4rem; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .locations-grid { grid-template-columns: repeat(4, 1fr); }

  .hero { min-height: 700px; }
  .hero-split { gap: 56px; }
  .hero-form { width: 650px; }
}


/* ============================================
   EXTRA WIDE — 1440px+
   ============================================ */
@media (min-width: 1440px) {
  .container { padding: 0 32px; }
  .hero h1 { font-size: 4.25rem; }
}


/* ============================================
   PRINT
   ============================================ */
@media print {
  .top-bar,
  .header,
  .mobile-nav,
  .mobile-overlay,
  .hero-video-wrapper,
  .hero-form,
  .footer-social,
  .btn,
  .credential-badges {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .hero,
  .page-hero,
  .cta-section,
  .stats-section,
  .testimonials {
    background: none !important;
    color: #000 !important;
    padding: 20px 0;
  }

  .hero h1,
  .page-hero h1 {
    color: #000 !important;
  }

  h1, h2, h3, h4 {
    color: #000 !important;
  }
}


/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-video-wrapper iframe {
    display: none;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   FORM MODAL POPUP
   ============================================ */
.form-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 14, 11, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.form-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-modal-overlay.active .form-modal {
  transform: translateY(0) scale(1);
}
.form-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.form-modal-close:hover {
  color: var(--dark);
}
.form-modal-header {
  text-align: center;
  padding: 40px 28px 12px;
}
.form-modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--dark);
  margin: 0 0 8px;
}
.form-modal-subtitle {
  color: var(--gray-600);
  font-size: 1.14rem;
  line-height: 1.6;
  margin: 0 0 8px;
}
.form-modal-emergency {
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}
.form-modal-emergency a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.form-modal-emergency a:hover {
  text-decoration: underline;
}

.form-modal iframe {
  display: block;
  width: 100%;
  min-height: 673px;
}

/* Full-screen form modal on mobile */
@media (max-width: 767px) {
  .form-modal {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .form-modal-close {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    top: 8px;
    right: 8px;
  }
  .form-modal-header {
    padding: 44px 20px 8px;
    flex-shrink: 0;
  }
  .form-modal-title {
    font-size: 1.3rem;
    padding: 0;
    margin: 0 0 6px;
  }
  .form-modal-subtitle {
    display: none;
  }
  .form-modal-emergency {
    font-size: 0.92rem;
  }
  .form-modal iframe {
    flex: 1;
    min-height: 0;
    height: auto;
  }
}
