/* =============================================
   Edmonton's Best Contractors — Design System
   ============================================= */

/* 
   =====================================================
   THEME TOGGLE - Switch between light and dark header
   =====================================================
   
   LIGHT THEME (current): Default - no class needed
   DARK THEME: Add class="theme-dark" to the <html> tag
   
   To switch to dark:
   - Find <html lang="en"> in any HTML file
   - Change to: <html lang="en" class="theme-dark">
   
   Or toggle via JS: document.documentElement.classList.toggle('theme-dark')
*/

/* --- TOKENS --- */
:root {
  --primary: #1a1a1a;
  --accent: #00A3D7;
  --accent-hover: #008FBD;
  --accent-light: #E6F7FD;
  --light: #F8FBFC;
  --white: #FFFFFF;
  --text: #333333;
  --muted: #666666;
  --border: #E0E0E0;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Light theme (default) */
  --header-bg: var(--white);
  --header-text: var(--primary);
  --header-logo-filter: none;
  --header-border: var(--accent);
}

/* Dark theme */
.theme-dark {
  --header-bg: var(--primary);
  --header-text: var(--white);
  --header-logo-filter: brightness(0) invert(1);
  --header-border: var(--accent);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
  image-rendering: -webkit-optimize-contrast;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}
h1 { font-size: 48px; font-weight: 700; }
h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
p { margin-bottom: 16px; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section--light {
  background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
  border-top: 1px solid rgba(0, 163, 215, 0.1);
  border-bottom: 1px solid rgba(0, 163, 215, 0.1);
}
.section--dark {
  background: var(--primary);
  color: var(--white);
}
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.btn--lg {
  padding: 18px 40px;
  font-size: 18px;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn--dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--dark:hover {
  background: #333;
  border-color: #333;
  color: var(--white);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  z-index: 1000;
  transition: box-shadow 0.3s, background 0.3s;
  border-bottom: 2px solid var(--header-border);
}
.header.scrolled {
  box-shadow: var(--shadow-lg);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--header-text);
  letter-spacing: 3px;
  text-decoration: none;
}
.header__logo:hover {
  color: var(--accent);
}
.header__logo-img {
  height: 55px;
  width: auto;
  filter: var(--header-logo-filter);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav a {
  color: var(--header-text);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.header__nav a:hover {
  color: var(--accent);
}
.header__cta {
  margin-left: 16px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 8px 0;
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown__menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 14px;
}
.nav-dropdown__menu a:hover {
  background: var(--light);
  color: var(--accent);
}

/* --- MEGA MENU --- */
.mega-dropdown {
  position: static;
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.mega-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.mega-dropdown__arrow {
  font-size: 10px;
  transition: transform 0.3s;
  line-height: 1;
}
.mega-dropdown:hover .mega-dropdown__arrow {
  transform: rotate(180deg);
}
.mega-dropdown__panel {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 999;
  pointer-events: none;
}
.mega-dropdown__panel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.mega-dropdown:hover .mega-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-dropdown__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.mega-dropdown__panel--areas .mega-dropdown__inner {
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.mega-dropdown__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0,163,215,0.15);
}
.mega-dropdown__col a {
  display: block;
  padding: 7px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  transition: color 0.2s, padding-left 0.2s;
}
.mega-dropdown__col a:hover {
  color: var(--accent);
  padding-left: 6px;
}
.mega-dropdown__col--cta {
  background: linear-gradient(135deg, var(--light) 0%, rgba(0,163,215,0.06) 100%);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.mega-dropdown__col--cta .mega-dropdown__heading {
  border-bottom: none;
  margin-bottom: 8px;
}
.mega-dropdown__col--cta p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.mega-dropdown__col--cta .btn {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  padding: 12px 20px;
  font-size: 14px;
}
.mega-dropdown__all-link {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--accent) !important;
  text-align: center;
  padding: 4px 0 !important;
}
.mega-dropdown__all-link:hover {
  color: var(--accent-hover) !important;
  padding-left: 0 !important;
}

/* Mobile menu toggle */
.header__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--header-text);
  font-size: 28px;
  cursor: pointer;
}

/* --- HERO --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
  min-height: 0;
  border-bottom: 4px solid var(--accent);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.hero__image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__image-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.hero::before {
  display: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.hero__content h1 {
  color: var(--primary);
  margin-bottom: 16px;
}
.hero__content p {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 32px;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__tagline {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Full-width hero with background image */
.hero--full {
  min-height: 520px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}
.hero--full .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,40,65,0.92) 0%, rgba(0,100,150,0.8) 50%, rgba(0,163,215,0.65) 100%);
}
.hero--full .container {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  display: block;
}
.hero--full .hero__content {
  max-width: 700px;
}
.hero--full .hero__content h1 {
  color: var(--white);
  font-size: 56px;
  margin-bottom: 8px;
}
.hero--full .hero__tagline {
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 20px;
}
.hero--full .hero__content p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 1.7;
}

/* Hero top padding for fixed header */
.hero .container {
  padding-top: calc(var(--header-height) + 20px);
}

/* --- ABOVE FOLD WRAPPER --- */
.above-fold {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.above-fold .hero--full {
  flex: 1;
  min-height: 0;
}

/* --- PROOF BAR --- */
.proof-bar {
  background: var(--primary);
  padding: 12px 0;
}
.proof-bar .container {
  display: flex;
  justify-content: center;
}
.proof-bar .grid {
  width: min(92%, 820px);
  margin: 0 auto;
  text-align: center;
  align-items: stretch;
  justify-content: center;
}
.proof-bar__stat {
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.proof-bar__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.proof-bar__label {
  display: block;
  max-width: 160px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  line-height: 1.4;
}

/* --- CARDS --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
  padding: 24px;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent);
}
.card:has(.card__img) {
  padding: 0;
}
.card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
}
.card__img--project {
  height: 220px;
  object-fit: cover;
  object-position: center;
}
.card__body {
  padding: 24px;
}
.card__body h3 {
  margin-bottom: 8px;
}
.card__body p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.card__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Related services link cards */
.card--link {
  display: block;
  padding: 32px 24px;
  text-decoration: none;
  color: inherit;
  border-left: 4px solid var(--accent);
}
.card--link h3 {
  color: var(--primary);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.card--link p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.card--link:hover h3 {
  color: var(--accent);
}

/* FAQ details (service pages) */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 20px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 24px;
  color: var(--accent);
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  padding-bottom: 20px;
  color: var(--muted);
}

/* Section alt background */
.section--alt {
  background: var(--light);
}

/* --- PROCESS --- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.process__step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.process__step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.process__step h3 {
  font-size: 18px;
}
.process__step p {
  font-size: 14px;
  color: var(--muted);
}

/* --- FAQ ACCORDION --- */
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}
.faq__question::after {
  content: '+';
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq__item.active .faq__question::after {
  content: '−';
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__answer p {
  padding-bottom: 20px;
  color: var(--muted);
}
.faq__item.active .faq__answer {
  max-height: 500px;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--accent);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 8px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 24px;
}

/* --- GALLERY --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s;
}
.gallery__item:hover img {
  transform: scale(1.05);
}

/* --- FOOTER --- */
.footer {
  background: linear-gradient(180deg, #141414 0%, #1a1a1a 100%);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
  border-top: 4px solid var(--accent);
}
.footer p {
  color: rgba(255,255,255,0.75);
}
.footer h4 {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s, padding-left 0.2s;
}
.footer a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer__logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
}
.footer__bottom {
  border-top: 1px solid rgba(0, 163, 215, 0.3);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.footer__bottom span {
  color: var(--accent);
}

/* --- FORMS --- */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- ANGLED SECTION DIVIDERS --- */
.section--angled {
  position: relative;
  padding-top: 100px;
}
.section--angled::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: inherit;
  transform: skewY(-2deg);
  z-index: 1;
}

/* --- SPLIT HERO (image left, text right — overlaps header) --- */
.hero--split {
  min-height: auto;
  margin-top: 0;
  padding-top: 0;
  background: var(--primary);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero--split::before { display: none; }
.hero--split .hero__image {
  height: 100%;
  min-height: 600px;
  background-size: cover;
  background-position: center;
}
.hero--split .hero__content {
  padding: 120px 48px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--split .hero__content h1 {
  color: var(--white);
}
.hero--split .hero__content p {
  color: rgba(255,255,255,0.9);
}

/* --- SERVICE ICON CARDS --- */
.icon-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid transparent;
  text-decoration: none;
  display: block;
}
.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}
.icon-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.icon-card__icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}
.icon-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.icon-card .card__link {
  color: var(--accent);
}

/* Location cards */
.location-card {
  padding: 24px 16px;
}
.location-card h3 {
  margin-bottom: 4px;
}

/* --- BADGE / TRUST STRIP --- */
.trust-strip {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-strip__badge {
  height: 80px;
  object-fit: contain;
}
.trust-strip__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-strip__text svg {
  color: var(--accent);
}

/* --- FEATURE ROW (alternating image/text) --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.feature-row--reverse {
  direction: rtl;
}
.feature-row--reverse > * {
  direction: ltr;
}
.feature-row__image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  padding: 24px;
  min-height: 400px;
}
.feature-row__image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.feature-row__content {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-row__content .accent-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-bottom: 20px;
}

/* --- TESTIMONIAL --- */
.testimonial {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
}
.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}
.testimonial blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.5;
  font-style: italic;
}
.testimonial cite {
  color: var(--accent);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}

/* --- CHECK LIST --- */
.check-list {
  margin-bottom: 24px;
}
.check-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.check-list li:last-child {
  border-bottom: none;
}
.check-list li svg {
  flex-shrink: 0;
}

/* --- CTA BANNER with background image --- */
.cta-banner--image {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}
.cta-banner--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 163, 215, 0.9);
}
.cta-banner--image .container {
  position: relative;
  z-index: 1;
}

/* --- CLIENT LOGOS --- */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.client-logos img {
  height: 50px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}
.client-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero--full .hero__content h1 { font-size: 42px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero__image-wrap { order: -1; }
  .hero--split { grid-template-columns: 1fr; }
  .hero--split .hero__image { min-height: 300px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--reverse { direction: ltr; }
  .feature-row__content { padding: 40px 24px; }
  .testimonial blockquote { font-size: 20px; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .hero--full .hero__content h1 { font-size: 32px; }
  .section { padding: 48px 0; }
  .hero { min-height: 450px; }
  .hero--full { min-height: 70vh; }
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .proof-bar__number { font-size: 36px; }
  .proof-bar .grid {
    width: 100%;
    transform: none;
  }

  /* Mobile nav - uses primary dark for mobile menu */
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .header__nav.open {
    transform: translateX(0);
  }
  .header__toggle {
    display: block;
  }
  .header__cta {
    margin-left: 0;
  }
  .header__nav a {
    color: var(--white);
  }
  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown__menu a {
    color: rgba(255,255,255,0.7);
  }

  /* Mobile mega menu */
  .mega-dropdown {
    height: auto;
    display: block;
  }
  .mega-dropdown__panel::before {
    display: none;
  }
  .mega-dropdown__panel {
    position: static;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    pointer-events: auto;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .mega-dropdown--open .mega-dropdown__panel {
    display: block;
    max-height: 600px;
  }
  .mega-dropdown--open .mega-dropdown__arrow {
    transform: rotate(180deg);
  }
  .mega-dropdown__inner {
    grid-template-columns: 1fr !important;
    max-width: none !important;
    padding: 8px 0;
    gap: 4px;
  }
  .mega-dropdown__heading {
    color: var(--accent);
    border-bottom-color: rgba(255,255,255,0.1);
    font-size: 10px;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }
  .mega-dropdown__col a {
    color: rgba(255,255,255,0.7);
    padding: 5px 12px;
    font-size: 13px;
  }
  .mega-dropdown__col a:hover {
    color: var(--white);
  }
  .mega-dropdown__col--cta {
    background: rgba(255,255,255,0.05);
    padding: 16px;
    margin-top: 8px;
  }
  .mega-dropdown__col--cta p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
  }
  .mega-dropdown__col--cta .btn {
    font-size: 13px;
    padding: 10px 16px;
  }
  .mega-dropdown__all-link {
    color: rgba(255,255,255,0.7) !important;
  }
  .mega-dropdown__arrow {
    color: var(--white);
  }

  .client-logos {
    gap: 24px;
  }
  .client-logos img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 { grid-template-columns: 1fr; }
  .hero__buttons {
    flex-direction: column;
  }
  .hero__buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* =============================================
   Brand Polish Overrides (2026-03-06)
   ============================================= */
:root {
  --primary: #1a1a1a;
  --accent: #00A3D7;
  --accent-hover: #008FBD;
  --surface: #ffffff;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
}

body {
  background: var(--white);
}

::selection {
  background: rgba(0, 163, 215, 0.3);
  color: var(--primary);
}

.header {
  transition: box-shadow 0.3s, background 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.btn {
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.hero--full {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.hero--full .hero__overlay {
  background: linear-gradient(135deg, rgba(0,40,65,0.92) 0%, rgba(0,100,150,0.8) 50%, rgba(0,163,215,0.65) 100%);
}

.proof-bar {
  background: var(--primary);
}

.card {
  border: none;
}

.cta-banner {
  background: var(--accent);
}

.cta-banner--image::before {
  background: linear-gradient(135deg, rgba(0,40,65,0.9) 0%, rgba(0,130,180,0.85) 100%);
}

.quick-cta-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1200;
  display: none;
  gap: 10px;
  background: var(--primary);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.quick-cta-bar .btn {
  flex: 1;
  text-align: center;
  font-size: 13px;
  padding: 12px 10px;
}

.quick-cta-bar .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .quick-cta-bar {
    display: flex;
  }
}
