/* ============================================================
   STRATELEC — Strategic Electric Group
   Base Stylesheet
   ============================================================ */

/* --- CSS Variables (from Brand Guide v1.0) --- */
:root {
  /* Primary Brand Colors */
  --color-red:          #EC1F1E;   /* Strategic Red */
  --color-yellow:       #FDCF0C;   /* Voltage Yellow */
  --color-charcoal:     #1C1C1C;   /* Deep Charcoal */
  --color-white:        #FFFFFF;   /* Pure White */

  /* Complementary Colors */
  --color-blue:         #2B4C7E;   /* Steel Blue */
  --color-gold:         #C8A800;   /* Burnished Gold */
  --color-gray-dark:    #4A4A4A;   /* Industrial Gray */
  --color-gray-light:   #F5F5F5;   /* Off-White */

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

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --transition: 0.3s ease;
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: #C8D1DC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-gold);
}

ul, ol {
  list-style: none;
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-charcoal);
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
}

.text-white { color: var(--color-white); }
.text-red   { color: var(--color-red); }
.text-gold  { color: var(--color-gold); }


/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Section Background Textures --- */
/* White sections: warm neutral gradient */
.section {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, #E2DEDA 0%, #D0C9C3 100%);
}

/* Divider between adjacent same-background sections */
.section + .section,
.section--gray + .section--gray,
.section--dark + .section--dark,
.section + .section--gray,
.section--gray + .section {
  border-top: 2px solid var(--color-red);
}

/* Gray sections: slightly deeper warm neutral gradient */
.section--gray {
  background: linear-gradient(180deg, #D6CFCA 0%, #C4BBB4 100%);
}

.section--dark {
  background: var(--color-charcoal);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Electrical background layer (shared base) */
.section--dark .electrical-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Ensure all content sits above the background layer */
.section--dark > .container,
.section--dark > .split-content {
  position: relative;
  z-index: 1;
}

/* --- 1. Lightning Bolts --- */
.elec-lightning .electrical-bg {
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath d='M45 10 L35 45 L50 45 L30 80' stroke='%23F0C800' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M160 30 L150 60 L162 60 L145 90' stroke='%23D01515' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M100 120 L92 148 L105 148 L88 175' stroke='%23F0C800' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='45' cy='80' r='3' fill='%23F0C800'/%3E%3Ccircle cx='145' cy='90' r='2.5' fill='%23D01515'/%3E%3Ccircle cx='88' cy='175' r='2' fill='%23F0C800'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* --- 2. Circuit Paths with Nodes --- */
.elec-circuit .electrical-bg {
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cline x1='0' y1='75' x2='120' y2='75' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='120' y1='75' x2='120' y2='150' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='120' y1='150' x2='220' y2='150' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='220' y1='150' x2='220' y2='225' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='220' y1='225' x2='300' y2='225' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='0' y1='200' x2='60' y2='200' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cline x1='60' y1='200' x2='60' y2='50' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cline x1='60' y1='50' x2='200' y2='50' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cline x1='200' y1='50' x2='200' y2='0' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cline x1='270' y1='0' x2='270' y2='100' stroke='%23D01515' stroke-width='1.5'/%3E%3Cline x1='270' y1='100' x2='170' y2='100' stroke='%23D01515' stroke-width='1.5'/%3E%3Cline x1='170' y1='100' x2='170' y2='280' stroke='%23D01515' stroke-width='1.5'/%3E%3Cline x1='170' y1='280' x2='80' y2='280' stroke='%23D01515' stroke-width='1.5'/%3E%3Ccircle cx='120' cy='75' r='5' fill='%23D01515'/%3E%3Ccircle cx='120' cy='150' r='5' fill='%23D01515'/%3E%3Ccircle cx='220' cy='150' r='5' fill='%23D01515'/%3E%3Ccircle cx='220' cy='225' r='5' fill='%23D01515'/%3E%3Ccircle cx='60' cy='200' r='4' fill='%23F0C800'/%3E%3Ccircle cx='60' cy='50' r='4' fill='%23F0C800'/%3E%3Ccircle cx='200' cy='50' r='4' fill='%23F0C800'/%3E%3Ccircle cx='270' cy='100' r='4' fill='%23D01515'/%3E%3Ccircle cx='170' cy='100' r='4' fill='%23D01515'/%3E%3Ccircle cx='170' cy='280' r='4' fill='%23D01515'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* --- 3. Power Lines & Towers --- */
.elec-powerlines .electrical-bg {
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300'%3E%3Cline x1='80' y1='300' x2='80' y2='40' stroke='%23F0C800' stroke-width='3'/%3E%3Cline x1='60' y1='60' x2='100' y2='60' stroke='%23F0C800' stroke-width='2.5'/%3E%3Cline x1='50' y1='100' x2='110' y2='100' stroke='%23F0C800' stroke-width='2'/%3E%3Cline x1='65' y1='60' x2='75' y2='100' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cline x1='95' y1='60' x2='85' y2='100' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cline x1='320' y1='300' x2='320' y2='50' stroke='%23F0C800' stroke-width='3'/%3E%3Cline x1='300' y1='70' x2='340' y2='70' stroke='%23F0C800' stroke-width='2.5'/%3E%3Cline x1='290' y1='110' x2='350' y2='110' stroke='%23F0C800' stroke-width='2'/%3E%3Cline x1='305' y1='70' x2='315' y2='110' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cline x1='335' y1='70' x2='325' y2='110' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cpath d='M100 60 Q200 85 300 70' stroke='%23D01515' stroke-width='1.5' fill='none'/%3E%3Cpath d='M110 100 Q200 130 290 110' stroke='%23D01515' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='60' cy='60' r='3' fill='%23D01515'/%3E%3Ccircle cx='100' cy='60' r='3' fill='%23D01515'/%3E%3Ccircle cx='300' cy='70' r='3' fill='%23D01515'/%3E%3Ccircle cx='340' cy='70' r='3' fill='%23D01515'/%3E%3Ccircle cx='50' cy='100' r='3' fill='%23D01515'/%3E%3Ccircle cx='110' cy='100' r='3' fill='%23D01515'/%3E%3Ccircle cx='290' cy='110' r='3' fill='%23D01515'/%3E%3Ccircle cx='350' cy='110' r='3' fill='%23D01515'/%3E%3C/svg%3E");
  background-size: 400px 300px;
}

/* --- 4. Wiring Schematic --- */
.elec-schematic .electrical-bg {
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250' viewBox='0 0 250 250'%3E%3Cline x1='20' y1='60' x2='50' y2='60' stroke='%23F0C800' stroke-width='2'/%3E%3Cpolyline points='50,60 55,50 65,70 75,50 85,70 95,50 100,60' stroke='%23F0C800' stroke-width='2' fill='none'/%3E%3Cline x1='100' y1='60' x2='130' y2='60' stroke='%23F0C800' stroke-width='2'/%3E%3Cline x1='75' y1='170' x2='75' y2='195' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='60' y1='195' x2='90' y2='195' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='65' y1='201' x2='85' y2='201' stroke='%23D01515' stroke-width='1.5'/%3E%3Cline x1='70' y1='207' x2='80' y2='207' stroke='%23D01515' stroke-width='1'/%3E%3Cline x1='170' y1='30' x2='170' y2='70' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='155' y1='70' x2='185' y2='70' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='155' y1='80' x2='185' y2='80' stroke='%23D01515' stroke-width='2'/%3E%3Cline x1='170' y1='80' x2='170' y2='120' stroke='%23D01515' stroke-width='2'/%3E%3Ccircle cx='170' cy='170' r='4' stroke='%23F0C800' stroke-width='1.5' fill='none'/%3E%3Cline x1='140' y1='170' x2='166' y2='170' stroke='%23F0C800' stroke-width='2'/%3E%3Cline x1='174' y1='170' x2='200' y2='170' stroke='%23F0C800' stroke-width='2'/%3E%3Cline x1='174' y1='170' x2='196' y2='155' stroke='%23F0C800' stroke-width='2'/%3E%3Cline x1='130' y1='60' x2='170' y2='60' stroke='%23F0C800' stroke-width='1' stroke-dasharray='3 3'/%3E%3Cline x1='170' y1='120' x2='170' y2='166' stroke='%23D01515' stroke-width='1' stroke-dasharray='3 3'/%3E%3Cline x1='75' y1='60' x2='75' y2='170' stroke='%23F0C800' stroke-width='1' stroke-dasharray='3 3'/%3E%3Ccircle cx='75' cy='60' r='3' fill='%23F0C800'/%3E%3Ccircle cx='170' cy='60' r='3' fill='%23F0C800'/%3E%3Ccircle cx='75' cy='170' r='3' fill='%23F0C800'/%3E%3C/svg%3E");
  background-size: 250px 250px;
}

/* --- 5. Lightning Storm (dramatic, with glow) --- */
.elec-storm .electrical-bg {
  background:
    radial-gradient(ellipse at 10% 40%, rgba(240,200,0,0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 60%, rgba(208,21,21,0.05) 0%, transparent 35%),
    radial-gradient(ellipse at 50% 20%, rgba(240,200,0,0.04) 0%, transparent 30%);
}
.elec-storm .electrical-bg-bolts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='400' viewBox='0 0 500 400'%3E%3Cpath d='M120 0 L100 80 L130 80 L80 200 L115 200 L50 350' stroke='%23F0C800' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M350 20 L338 80 L355 80 L325 170' stroke='%23D01515' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M450 100 L442 140 L453 140 L435 190' stroke='%23F0C800' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M220 200 L212 240 L225 240 L208 290' stroke='%23D01515' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='350' r='4' fill='%23F0C800' opacity='0.6'/%3E%3Ccircle cx='325' cy='170' r='3' fill='%23D01515' opacity='0.6'/%3E%3Ccircle cx='435' cy='190' r='3' fill='%23F0C800' opacity='0.5'/%3E%3Ccircle cx='208' cy='290' r='3' fill='%23D01515' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 500px 400px;
}

/* --- 6. Outlets, Plugs & Bulbs (for light sections or split) --- */
.elec-outlets .electrical-bg {
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Crect x='30' y='25' width='50' height='70' rx='8' stroke='%23F0C800' stroke-width='2.5' fill='none'/%3E%3Cline x1='45' y1='42' x2='45' y2='55' stroke='%23F0C800' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='65' y1='42' x2='65' y2='55' stroke='%23F0C800' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='55' cy='72' r='4' stroke='%23F0C800' stroke-width='2' fill='none'/%3E%3Cline x1='55' y1='68' x2='55' y2='76' stroke='%23F0C800' stroke-width='2'/%3E%3Crect x='125' y='50' width='45' height='30' rx='4' stroke='%23D01515' stroke-width='2' fill='none'/%3E%3Cline x1='140' y1='80' x2='140' y2='100' stroke='%23D01515' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='155' y1='80' x2='155' y2='100' stroke='%23D01515' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M147 30 Q147 45 147 50' stroke='%23D01515' stroke-width='2.5' fill='none'/%3E%3Ccircle cx='55' cy='160' r='18' stroke='%23F0C800' stroke-width='2' fill='none'/%3E%3Cpath d='M45 175 Q55 185 65 175' stroke='%23F0C800' stroke-width='2' fill='none'/%3E%3Cline x1='48' y1='180' x2='62' y2='180' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cline x1='48' y1='184' x2='62' y2='184' stroke='%23F0C800' stroke-width='1.5'/%3E%3Cpath d='M50 152 Q55 145 60 152' stroke='%23F0C800' stroke-width='1.5' fill='none'/%3E%3Crect x='130' y='140' width='35' height='50' rx='5' stroke='%23D01515' stroke-width='2' fill='none'/%3E%3Crect x='138' y='148' width='19' height='18' rx='2' stroke='%23D01515' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.section--dark p,
.section--dark li {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.section--red {
  background: var(--color-red);
  color: var(--color-white);
}

.section--red h2,
.section--red h3 {
  color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-xs);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-gray-dark);
  max-width: 700px;
  margin: 0 auto;
}

.section--dark .section-header p,
.section--red .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--color-red);
  margin: var(--space-sm) auto;
  border-radius: 2px;
}

.section--dark .accent-line,
.section--red .accent-line {
  background: var(--color-yellow);
}


/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.9rem 2rem;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn--primary:hover {
  background-color: #b01010;
  border-color: #b01010;
  color: var(--color-white);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}

.btn--outline:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

.btn--gold {
  background-color: var(--color-yellow);
  color: var(--color-charcoal);
  border-color: var(--color-yellow);
}

.btn--gold:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn--large {
  padding: 1.1rem 2.8rem;
  font-size: 0.95rem;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: rgba(28, 28, 28, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 55px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.nav-logo-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-yellow);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--color-yellow);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-yellow);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--color-yellow);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.8rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-charcoal);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 28, 28, 0.85) 0%,
    rgba(28, 28, 28, 0.6) 50%,
    rgba(208, 21, 21, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 750px;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-lg);
}

.hero h1 {
  font-size: 4.5rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  line-height: 1.05;
}

.hero h1 .highlight {
  color: var(--color-yellow);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 700;
  color: var(--color-yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Hero with centered logo */
.hero--logo {
  background: linear-gradient(
    160deg,
    var(--color-charcoal) 0%,
    #2a2020 40%,
    #302218 70%,
    var(--color-charcoal) 100%
  );
}

.hero--logo::before {
  background: none;
}

.hero-content--centered {
  text-align: center;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 4px 20px rgba(240, 200, 0, 0.25));
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-content--centered .hero-buttons {
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-logo {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 130px;
  }
}

/* Hero with background photo (McCarthy-style) */
.hero--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--photo::before {
  background: linear-gradient(
    to right,
    rgba(28, 28, 28, 0.92) 0%,
    rgba(28, 28, 28, 0.75) 50%,
    rgba(28, 28, 28, 0.3) 100%
  );
}

.hero-logo-corner {
  position: absolute;
  top: calc(var(--nav-height) + var(--space-sm));
  left: var(--space-md);
  z-index: 3;
}

.hero-logo-corner img {
  width: 170px;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(240, 200, 0, 0.3));
}

.hero-content--left {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 850px;
  padding: calc(var(--nav-height) + 140px) var(--space-md) var(--space-lg);
}

@media (max-width: 768px) {
  .hero-logo-corner img {
    width: 120px;
  }
  .hero-content--left {
    padding-top: calc(var(--nav-height) + 120px);
  }
}

@media (max-width: 480px) {
  .hero-logo-corner img {
    width: 90px;
  }
  .hero-content--left {
    padding-top: calc(var(--nav-height) + 100px);
  }
}


/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero--slideshow {
  background: var(--color-charcoal);
}

.hero--slideshow::before {
  background: linear-gradient(
    to right,
    rgba(28, 28, 28, 0.92) 0%,
    rgba(28, 28, 28, 0.75) 50%,
    rgba(28, 28, 28, 0.3) 100%
  );
  z-index: 2;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.8s ease;
  transform: translateZ(0);
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide.leaving {
  opacity: 0;
  z-index: 1;
}

/* Slide indicators */
.hero-slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.75rem;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-indicator.active {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  transform: scale(1.2);
}


/* ============================================================
   CARD GRIDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.card {
  background: var(--color-white);
  border-radius: 8px;
  padding: var(--space-md);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-red);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section--dark .card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-yellow);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-red);
}

.section--dark .card-icon {
  color: var(--color-yellow);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-gray-dark);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.section--dark .card p {
  color: rgba(255, 255, 255, 0.75);
}

/* 2-column card grid for services overview */
.card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

.card-grid--2col .card {
  display: flex;
  flex-direction: column;
}

.card-grid--2col .card p,
.card-grid--2col .card ul {
  flex: 1;
}


/* ============================================================
   SERVICES LIST (bullet-style within cards)
   ============================================================ */
.service-list {
  margin: var(--space-sm) 0;
  padding-left: 0;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
}

.section--dark .service-list li {
  color: rgba(255, 255, 255, 0.8);
}

.section--dark .service-list li::before {
  background: var(--color-yellow);
}


/* ============================================================
   HOW IT WORKS — Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  counter-reset: step-counter;
}

.step {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  position: relative;
}

.step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-sm);
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
}

.section--dark .step::before {
  background: var(--color-yellow);
  color: var(--color-charcoal);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}

.section--dark .step p {
  color: rgba(255, 255, 255, 0.75);
}


/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  padding: var(--space-md) 0;
  background: var(--color-white);
}

.divider-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-red), transparent);
}

.divider-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-red);
  white-space: nowrap;
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--space-lg) 0;
  text-align: center;
  background-color: var(--color-red);
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 14px,
      rgba(0, 0, 0, 0.06) 14px,
      rgba(0, 0, 0, 0.06) 15px
    );
  color: var(--color-white);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto var(--space-md);
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn--secondary {
  border-color: var(--color-white);
  color: var(--color-white);
}

.cta-banner .btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-red);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* ============================================================
   FEATURED PROJECT
   ============================================================ */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.featured-project-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.featured-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-project-img:hover img {
  transform: scale(1.03);
}

.featured-project-text h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.featured-project-text p {
  margin-bottom: var(--space-md);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-charcoal);
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-lg) 0 var(--space-md);
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-iec {
  margin-top: var(--space-sm);
}

.footer-iec img {
  width: 150px;
  height: auto;
  border-radius: 4px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-yellow);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--color-yellow);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition);
}

.footer-socials a:hover {
  background: var(--color-red);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--color-white);
}


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

/* --- Tablet & Below (768px) --- */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.1rem; }

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

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--color-charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-content--left {
    text-align: left;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Grids */
  .card-grid,
  .card-grid--2col {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .featured-project {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .hero-tagline {
    font-size: 2.25rem;
  }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  h1 { font-size: 1.85rem; }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-tagline {
    font-size: 1.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

/* --- Large Desktop (1400px+) --- */
@media (min-width: 1400px) {
  :root {
    --max-width: 1320px;
  }

  h1 { font-size: 3.25rem; }

  .hero h1 {
    font-size: 5rem;
  }
}


/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for card grids */
.card-grid .card.reveal:nth-child(2) { transition-delay: 0.1s; }
.card-grid .card.reveal:nth-child(3) { transition-delay: 0.2s; }
.card-grid .card.reveal:nth-child(4) { transition-delay: 0.3s; }
.card-grid .card.reveal:nth-child(5) { transition-delay: 0.4s; }
.card-grid .card.reveal:nth-child(6) { transition-delay: 0.5s; }

.steps .step.reveal:nth-child(2) { transition-delay: 0.15s; }
.steps .step.reveal:nth-child(3) { transition-delay: 0.3s; }


/* ============================================================
   PAGE HERO (Interior pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: var(--color-charcoal);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-lg);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 28, 28, 0.7) 0%,
    rgba(28, 28, 28, 0.85) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.page-hero h1 .highlight {
  color: var(--color-yellow);
}

.page-hero .hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-yellow);
  letter-spacing: 0.04em;
}


/* ============================================================
   ABOUT — Story section
   ============================================================ */
.about-story {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-story p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-sm);
}

.section--gray .about-story p {
  color: var(--color-dark);
}


/* ============================================================
   ABOUT — IEC Affiliation
   ============================================================ */
.iec-affiliation {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.iec-logo {
  flex-shrink: 0;
}

.iec-logo img {
  width: 220px;
  height: auto;
}

.iec-text h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.iec-text p {
  color: var(--color-dark);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .iec-affiliation {
    flex-direction: column;
    text-align: center;
  }

  .iec-text .accent-line {
    margin-left: auto !important;
    margin-right: auto;
  }
}


/* ============================================================
   ABOUT — Team Photo
   ============================================================ */
.team-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  max-width: 900px;
  margin: 0 auto;
}

.team-photo img {
  width: 100%;
  height: auto;
}

/* Team Member Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.team-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8e8e8;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition);
}

.team-card-img img.show-logo {
  object-position: center 15%;
}

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

.team-card-img svg {
  width: 100%;
  height: 100%;
  display: block;
}

.team-card-info {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
}

.team-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  color: var(--color-navy);
}

.team-card-info p {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
  margin: 0;
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}


/* ============================================================
   GALLERY GRID (Projects page)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.gallery-img {
  height: 240px;
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img img {
  transform: scale(1.05);
}

.gallery-img--placeholder {
  background: var(--color-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  color: var(--color-gray-dark);
  opacity: 0.3;
}

.gallery-info {
  padding: 1.5rem;
}

.gallery-info h3 {
  margin-bottom: 0.5rem;
}

.gallery-info p {
  font-size: 0.9rem;
  color: var(--color-gray-dark);
  margin-bottom: 0.75rem;
}

.gallery-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  background: var(--color-gray-light);
  color: var(--color-gray-dark);
  border-radius: 4px;
}


/* ============================================================
   FORMS (Careers & Contact)
   ============================================================ */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.4rem;
}

.form-group .required {
  color: var(--color-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 2px solid #E0E0E0;
  border-radius: 6px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(208, 21, 21, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #B0B0B0;
}

.form-group input[type="file"] {
  padding: 0.6rem;
  border-style: dashed;
  background: var(--color-gray-light);
  cursor: pointer;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A4A4A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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


/* ============================================================
   CONTACT PAGE LAYOUT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-form-col h2 {
  margin-bottom: var(--space-xs);
}

.contact-form-col > p {
  margin-bottom: var(--space-md);
  color: var(--color-gray-dark);
}

.contact-form-col .form-wrapper {
  max-width: none;
}

.contact-info-card {
  background: var(--color-gray-light);
  border-radius: 8px;
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}

.contact-info-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

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

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: 50%;
}

.contact-info-icon svg {
  stroke: var(--color-white);
  width: 20px;
  height: 20px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-charcoal);
  margin-bottom: 0.15rem;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}

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


/* ============================================================
   RESPONSIVE — Additional breakpoints for new components
   ============================================================ */
@media (max-width: 768px) {
  .page-hero {
    min-height: 35vh;
  }

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

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

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

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.85rem;
  }
}


/* ============================================================
   LIGHTBOX / SLIDESHOW
   ============================================================ */
.gallery-item--has-slideshow {
  cursor: pointer;
}

.gallery-slideshow-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(28, 28, 28, 0.8);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.gallery-slideshow-badge svg {
  stroke: var(--color-white);
}

.gallery-img {
  position: relative;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 2001;
  line-height: 1;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--color-yellow);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  transition: background var(--transition);
  z-index: 2001;
}

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

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
  }

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


/* ============================================================
   APPROACH SECTION (Home page - full width dark)
   ============================================================ */
.approach-content {
  max-width: 700px;
}

.approach-content h2 {
  font-size: 2.5rem;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.approach-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .approach-content h2 {
    font-size: 2rem;
  }
}


/* ============================================================
   STATS BAR (Home page)
   ============================================================ */
.stats-bar {
  background-color: var(--color-charcoal);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(253, 207, 12, 0.03) 40px,
      rgba(253, 207, 12, 0.03) 41px
    );
  padding: var(--space-md) 0;
  border-bottom: 3px solid var(--color-red);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm) 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-yellow);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  .stat-number {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-number {
    font-size: 2rem;
  }
}


/* ============================================================
   STATEMENT SECTION (McCarthy-inspired)
   ============================================================ */
/* Statement section: matching warm neutral gradient */
.statement-section {
  padding: var(--space-xl) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #DED8D4 0%, #CCC4BD 100%);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.statement-text {
  padding-right: var(--space-md);
}

.statement-heading {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.statement-bold {
  display: block;
  font-weight: 700;
  color: var(--color-charcoal);
}

.statement-light {
  display: block;
  font-weight: 500;
  color: var(--color-gray-dark);
}

.statement-body {
  font-size: 1.1rem;
  color: var(--color-gray-dark);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.statement-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.mosaic-item {
  border-radius: 6px;
  overflow: hidden;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-item--tall {
  grid-row: 1 / 3;
}

@media (max-width: 768px) {
  .statement-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .statement-text {
    padding-right: 0;
  }
  .statement-heading {
    font-size: 2.5rem;
  }
  .statement-mosaic {
    max-width: 500px;
  }
}


/* ============================================================
   SPLIT SECTIONS (McCarthy-inspired)
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.split-image {
  overflow: hidden;
  position: relative;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: var(--color-charcoal);
  transition: transform 0.6s ease;
}

.split-image:hover img {
  transform: scale(1.03);
}

.split-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
}

.split-content--dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.split-content--dark h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.split-content--dark p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.8;
}

.split-inner {
  max-width: 480px;
}

.split-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-yellow);
  margin-bottom: var(--space-xs);
}

.accent-line--left {
  margin: var(--space-sm) 0;
  margin-left: 0;
}

@media (max-width: 768px) {
  .split-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .split-image {
    height: 300px;
  }
  .split-content {
    padding: var(--space-lg) var(--space-md);
  }
  .split-content--dark h2 {
    font-size: 2rem;
  }
}


/* ============================================================
   PROJECTS SHOWCASE (Home page)
   ============================================================ */
.projects-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.showcase-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  text-decoration: none;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-item:hover img {
  transform: scale(1.08);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-sm);
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.0) 100%);
  color: var(--color-white);
  transition: padding var(--transition);
}

.showcase-item:hover .showcase-overlay {
  padding-bottom: calc(var(--space-md) + 4px);
}

.showcase-overlay h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.showcase-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-yellow);
}

@media (max-width: 768px) {
  .projects-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .projects-showcase {
    grid-template-columns: 1fr;
  }
  .showcase-item {
    aspect-ratio: 16 / 10;
  }
}


/* ============================================================
   VALUES GRID (Home page - numbered items)
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-item {
  padding: var(--space-md) var(--space-sm);
  border-top: 3px solid var(--color-red);
}

.value-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(28, 28, 28, 0.08);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
