/* ============================================
   El Paso Electric — "Warm Craft" Design
   Commercial Electrical Since 1919
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-navy: #1B2A4A;
  --color-gold: #C4963C;
  --color-white: #FFFFFF;
  --color-warm-white: #FAFAF7;
  --color-navy-light: #2C3E6B;
  --color-navy-dark: #0F1A30;
  --color-gold-light: #D4AF5C;
  --color-copper: #A67C2E;
  --color-bg-alt: #F5F3EE;
  --color-border: #D1CFC8;
  --color-text: #4A4A4A;
  --color-text-light: #6B6B6B;

  --font-heading: 'Caladea', Georgia, serif;
  --font-body: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;

  --max-width: 1200px;
  --section-padding: 7rem 2rem;
  --section-padding-mobile: 4rem 1.25rem;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

/* --- Copper Accents --- */
.copper-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-copper), var(--color-gold-light));
  border: none;
  margin: 1.5rem 0;
}

.copper-line--center {
  margin: 1.5rem auto;
}

.copper-line--wide {
  width: 120px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-copper));
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  box-shadow: 0 4px 20px rgba(196, 150, 60, 0.35);
  transform: translateY(-1px);
}

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

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

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(196, 150, 60, 0.6);
}

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

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-navy);
  border-bottom: 2px solid var(--color-copper);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo a {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-est {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

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

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--color-gold);
}

.header-cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

/* Hamburger */
.hamburger-wrap {
  display: none;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.hamburger-label {
  display: none;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--color-navy-dark);
  border-bottom: 2px solid var(--color-copper);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(196, 150, 60, 0.15);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-gold);
}

.mobile-nav .mobile-phone {
  display: block;
  margin-top: 1rem;
  color: var(--color-gold);
  font-weight: 600;
}

.mobile-nav .btn {
  display: block;
  text-align: center;
  margin-top: 1rem;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(rgba(27, 42, 74, 0.65), rgba(27, 42, 74, 0.8)), url('../images/heroes/hero-main.png') center/cover no-repeat;
  padding: 7rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(166, 124, 46, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 150, 60, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(44, 62, 107, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  width: 450px;
  height: auto;
}

.hero-brand {
  font-family: 'Caladea', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #D4A843;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero .copper-line {
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-phone {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.hero-phone a {
  color: var(--color-gold-light);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

/* Page hero — smaller than home */
.hero--page {
  background: linear-gradient(rgba(27, 42, 74, 0.75), rgba(27, 42, 74, 0.9)), url('../images/heroes/hero-inner.png') center/cover no-repeat;
  padding: 9rem 2rem 5rem;
}

.hero--page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-padding);
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
  position: relative;
}

.section--navy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(166, 124, 46, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(196, 150, 60, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.section--navy .container {
  position: relative;
  z-index: 1;
}

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

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

.section--alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.section--navy .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   VALUE PROPOSITION CARDS
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.value-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
  transform: translateY(-3px);
  border-top-color: var(--color-copper);
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(196, 150, 60, 0.1), rgba(166, 124, 46, 0.05));
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
  font-size: 1.5rem;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ============================================
   ABOUT TEASER
   ============================================ */
.about-teaser {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
}

.about-teaser-content h2 {
  margin-bottom: 0.5rem;
}

.about-teaser-content .lead {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: var(--font-heading);
}

.about-teaser-content p {
  margin-bottom: 1.25rem;
}

.about-teaser-image {
  background: var(--color-navy);
  aspect-ratio: 3 / 4;
  max-height: 600px;
  border: 2px solid rgba(196, 150, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-teaser-image::after {
  content: none;
}

.about-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--color-copper);
  transition: all var(--transition);
}

.service-preview-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.service-preview-item .service-icon {
  color: var(--color-gold);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-preview-item h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.service-preview-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ============================================
   PORTFOLIO / PROJECTS PREVIEW
   ============================================ */
.projects-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.1);
  transform: translateY(-4px);
  border-color: rgba(196, 150, 60, 0.4);
}

.project-card-image {
  height: 220px;
  background: var(--color-navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-card-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-copper), var(--color-gold-light), var(--color-copper));
}

.project-card-image span {
  font-family: var(--font-heading);
  color: rgba(196, 150, 60, 0.25);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-content {
  padding: 1.5rem;
}

.project-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-copper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.project-card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.project-card-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* Full projects page — larger cards */
.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.project-card--large .project-card-image {
  height: 260px;
}

.project-card--large .project-card-content {
  padding: 2rem;
}

.project-card--large .project-card-content h3 {
  font-size: 1.5rem;
}

/* ============================================
   PROJECT FILTERS
   ============================================ */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}

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

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

/* ============================================
   SDVOSB CALLOUT
   ============================================ */
.sdvosb-callout {
  text-align: center;
  padding: 5rem 2rem;
}

.sdvosb-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--color-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2rem;
}

/* --- SDVOSB Logo --- */
.sdvosb-logo {
  display: block;
  width: 280px;
  height: auto;
  margin: 0 auto 2rem;
}

.sdvosb-logo--small {
  width: 80px;
}

.sdvosb-logo--footer {
  display: inline-block;
  width: 36px;
  height: auto;
  vertical-align: middle;
  margin-right: 0.5rem;
  border-radius: 50%;
}

/* --- CTA Phone --- */
.cta-phone {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.cta-phone a {
  color: var(--color-gold-light);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: var(--transition);
}

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

.cta-section .cta-phone,
.section--navy .cta-phone {
  color: rgba(255, 255, 255, 0.75);
}

.cta-section .cta-phone a,
.section--navy .cta-phone a {
  color: var(--color-gold-light);
}
.cta-section .cta-phone {
  color: var(--color-text-light);
}

.cta-section .cta-phone a {
  color: var(--color-copper);
  font-size: 1.5rem;
  font-weight: 700;
}

.cta-section .cta-phone a:hover {
  color: var(--color-gold);
}



.sdvosb-callout h2 {
  color: var(--color-white);
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.sdvosb-callout p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.sdvosb-inline {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 750px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.sdvosb-inline .sdvosb-logo {
  width: 280px;
  flex-shrink: 0;
  margin: 0;
}
.sdvosb-inline p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-navy);
  opacity: 0.85;
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.story-section {
  max-width: 800px;
  margin: 0 auto;
}

.story-section .lead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--color-navy);
  margin-bottom: 2rem;
  font-style: italic;
}

.story-section p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.story-section h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* Story grid — 3-column layout */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.story-col h3 {
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.story-col hr.copper-line {
  margin-bottom: 1.25rem;
}

.story-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--color-navy);
  opacity: 0.9;
}



/* Values grid on about page */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.about-value {
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-gold);
}

.about-value h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.about-value p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.7;
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

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

.team-card-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--color-navy);
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(196, 150, 60, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(196, 150, 60, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--color-copper);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
  transform: translateY(-2px);
  border-color: rgba(196, 150, 60, 0.3);
}

.service-card-accent {
  background: linear-gradient(180deg, var(--color-copper), var(--color-gold-light));
}

.service-card-body {
  padding: 2.5rem 2.5rem 2.5rem 2rem;
}

.service-card-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-copper);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-copper);
  box-shadow: 0 0 0 3px rgba(196, 150, 60, 0.1);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.file-upload {
  padding: 2rem;
  border: 2px dashed var(--color-border);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.file-upload:hover {
  border-color: var(--color-copper);
  background: rgba(196, 150, 60, 0.03);
}

.file-upload-icon {
  font-size: 1.5rem;
  color: var(--color-copper);
  margin-bottom: 0.5rem;
}

.file-upload p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

.file-upload input[type="file"] {
  display: none;
}

.form-submit {
  margin-top: 1rem;
}

.form-submit .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* Contact sidebar */

/* Address fields */
.address-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}



.form-row--address {
  display: grid;
  grid-template-columns: 1fr 6rem 8rem !important;
  gap: 0.75rem;
}

.address-fields .form-group {
  margin-bottom: 0;
}

.form-group--state {
  flex: 0 0 5.5rem;
  min-width: 0;
}

.form-group--zip {
  flex: 0 0 7rem;
  min-width: 0;
  position: relative;
}



.field-error {
  display: none;
  position: absolute;
  bottom: -1.4rem;
  left: 0;
  font-size: 0.75rem;
  color: #c0392b;
  white-space: nowrap;
}

.field-error.is-visible {
  display: block;
}

.input--error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 2px rgba(192,57,43,0.15) !important;
}

.contact-sidebar {
  padding-top: 1rem;
}

.contact-sidebar h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-sidebar .copper-line {
  margin-bottom: 2rem;
}

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

.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(196, 150, 60, 0.1), rgba(166, 124, 46, 0.05));
  border-radius: 50%;
  color: var(--color-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-navy);
}

.contact-info-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.contact-info-item a {
  color: var(--color-copper);
  font-weight: 600;
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-navy-dark);
  border-top: 2px solid var(--color-copper);
  padding: 4rem 2rem 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.footer-brand .logo-est {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-brand .sdvosb-footer {
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

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

.footer-signature {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

.footer-bottom {
  border-top: 1px solid rgba(196, 150, 60, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-teaser-image {
    max-height: 450px;
  }

  .services-preview-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media (max-width: 960px) {
  .nav-main {
    display: none;
  }

  .header-right {
    display: none;
  }

  .hamburger-wrap {
    display: flex;
  }

  .hamburger-label {
    display: block;
  }
}

@media (max-width: 768px) {

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

  .sdvosb-inline {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .sdvosb-inline .sdvosb-logo {
    width: 120px;
  }

  .hero {
    padding: 8rem 1.25rem 5rem;
  }

  .hero--page {
    padding: 7rem 1.25rem 3.5rem;
  }

  .hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  width: min(450px, 85vw);
  height: auto;
}

.hero-brand {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section {
    padding: var(--section-padding-mobile);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .projects-preview-grid,
  .projects-full-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

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

  .section-header {
    margin-bottom: 3rem;
  }

  .project-card--large .project-card-image {
    height: 200px;
  }

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

}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 1.25rem;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  .hero {
    padding: 7rem 1rem 4rem;
  }

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

  .container {
    padding: 0 1.25rem;
  }

  .project-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }
}

/* ============================================
   LOGO IMAGE
   ============================================ */
.logo-img {
  height: 90px;
  width: auto;
  display: block;
}

/* ============================================
   HERO STATS
   ============================================ */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(196, 150, 60, 0.25);
  flex-wrap: wrap;
}

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

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* ============================================
   THE PROBLEM SECTION
   ============================================ */
.problem-grid {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.problem-single {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.problem-intro {
  font-size: 1rem;
  color: var(--color-text-light);
  margin: 2rem auto 0;
  max-width: 600px;
  line-height: 1.6;
}
.problem-list {
  margin-top: 1.5rem;
}

.problem-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.problem-list li::before {
  content: '—';
  color: var(--color-copper);
  font-weight: 700;
  flex-shrink: 0;
}

.problem-callout {
  background: var(--color-navy);
  padding: 3rem;
  border-left: none;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 0;
}

.problem-callout h2 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.problem-callout hr {
  margin: 0 auto 1.25rem;
}

.problem-callout p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.8;
}

.problem-list--compact {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.problem-list--compact li {
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: none;
  color: var(--color-text-light);
  opacity: 0.7;
  width: 50%;
  justify-content: center;
}

@media (max-width: 640px) {
  .problem-list--compact li {
    width: 100%;
  }
}
/* ============================================
.diff-body {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-copper);
  transition: all var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
}

.step-icon {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.step-icon svg {
  stroke: var(--color-gold);
  color: var(--color-gold);
  opacity: 0.85;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin: 0;
}

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

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero-stats {
    gap: 1.5rem;
  }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============================================
   CONTACT FORM MESSAGES
   ============================================ */
.form-message {
  display: none;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}
.form-message--success {
  border-color: var(--color-gold);
  background: rgba(196, 150, 60, 0.1);
  color: #fff;
}
.form-message--error {
  border-color: #e03131;
  background: rgba(224, 49, 49, 0.1);
  color: #fff;
}
.form-message.is-visible {
  display: block;
}
.btn--loading {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

/* ============================================
   HONEYPOT FIELD (spam protection — hidden from humans)
   ============================================ */
.form-hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* --- Mission & Vision --- */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.mission-block h2,
.vision-block h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.mission-list {
  list-style: none;
  counter-reset: mission;
  padding: 0;
  margin: 1.5rem 0 0;
}

.mission-list li {
  counter-increment: mission;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
}

.mission-list li::before {
  content: counter(mission);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.vision-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text);
  font-style: italic;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* ===================================
   PROJECT CAROUSELS
   =================================== */

/* Project category nav */
.project-nav-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.project-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.project-nav__btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 3px solid var(--color-copper);
  border-radius: 4px;
  color: var(--color-navy);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.project-nav__btn:hover {
  border-left-color: var(--color-gold);
  background: var(--color-navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.project-nav__btn:hover .project-nav__count {
  background: var(--color-copper);
  color: #fff;
}

.project-nav__btn:hover .project-nav__icon svg {
  stroke: var(--color-gold-light);
}

.project-nav__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.project-nav__icon svg {
  stroke: var(--color-copper);
  transition: stroke 0.2s;
}

.project-nav__label {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.project-nav__count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-navy);
  transition: all 0.2s;
}

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

@media (max-width: 640px) {
  .project-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-nav__label {
    font-size: 0.8rem;
  }
}

/* Tighter spacing for carousel sections */.section--carousel {  padding-top: 3.5rem;  padding-bottom: 3.5rem;}@media (max-width: 768px) {  .section--carousel {    padding-top: 2.5rem;    padding-bottom: 2.5rem;  }}
/* Tighter spacing for carousel sections */
.section--carousel {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (max-width: 768px) {
  .section--carousel {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.category-section__title {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-gold);
  display: inline-block;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel__viewport {
  overflow: hidden;
  flex: 1;
  padding: 0.75rem 0 0.5rem;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel__card {
  min-width: calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.carousel__card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.carousel__card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-navy);
  position: relative;
}

.carousel__card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-copper), var(--color-gold-light), var(--color-copper));
}

.carousel__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel__card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.carousel__card-body {
  padding: 1.25rem 1.5rem;
}

.carousel__card-title {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.carousel__card-subtitle {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin: 0;
}

.carousel__card-location {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 0.8rem;
  margin: 0.25rem 0 0;
  font-style: italic;
  opacity: 0.8;
}


.carousel__card-year {
  font-family: var(--font-body);
  color: var(--color-copper);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.25rem 0 0;
  opacity: 0.9;
}
.carousel__arrow {
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, opacity 0.2s ease;
}

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

.carousel__arrow:disabled {
  opacity: 0.25;
  cursor: default;
  background: var(--color-navy);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.carousel__dot--active {
  background: var(--color-gold);
}

/* Carousel responsive */
@media (max-width: 1024px) {
  .carousel__card {
    min-width: calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 640px) {
  .carousel__card {
    min-width: 100%;
    max-width: 100%;
  }

  .carousel__arrow {
    width: 34px;
    height: 34px;
  }

  .carousel {
    gap: 0.5rem;
  }
}

/* ==================== CAREERS PAGE ==================== */
.careers-culture {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.careers-culture p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.careers-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.careers-standard-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.careers-standard-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-copper);
}

.careers-standard-icon {
  color: var(--color-copper);
  margin-bottom: 1rem;
}

.careers-standard-card h3 {
  font-family: 'Caladea', serif;
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.careers-standard-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.careers-expectations {
  max-width: 900px;
  margin: 2rem auto 0;
}

.careers-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.careers-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1.05rem;
  line-height: 1.5;
}

.careers-checklist li:last-child {
  border-bottom: none;
}

.checklist-icon {
  flex-shrink: 0;
  color: var(--color-copper);
  margin-top: 2px;
}

.careers-apply-section {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: 5rem 1.25rem;
}

.careers-apply h2 {
  font-family: 'Caladea', serif;
  color: var(--color-white);
}

.careers-apply p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.careers-apply-instruction {
  font-style: italic;
  margin-bottom: 2rem !important;
}

.careers-email-btn {
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
  display: inline-flex;
  align-items: center;
}

.careers-apply .cta-phone {
  color: rgba(255, 255, 255, 0.7);
}

.careers-apply .cta-phone a {
  color: var(--color-copper);
}

/* Careers responsive */
@media (max-width: 1024px) {
  .careers-standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .careers-standards-grid {
    grid-template-columns: 1fr;
  }

  .careers-checklist li {
    font-size: 1rem;
  }
}

/* ==================== MOBILE/TABLET PAGE TITLE ==================== */
.header-page-title {
  display: none;
}

@media (max-width: 960px) {
  .header-page-title {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-gold);
  }

  .header-inner {
    position: relative;
  }
}

/* ==================== NOT A GOOD FIT (RED X LIST) ==================== */
.checklist-icon--red {
  color: #C0392B;
}

.careers-checklist--red li {
  border-bottom-color: rgba(192, 57, 43, 0.12);
  padding: 0.45rem 0;
}

/* ==================== CARD GALLERY (inner slideshow per project card) ==================== */
.card-gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-gallery__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-gallery__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card-gallery__slide--active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.card-gallery__slide img,
.card-gallery__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play button overlay for video slides */
.card-gallery__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(27, 42, 74, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  z-index: 3;
}

.card-gallery__play-btn:hover {
  background: rgba(196, 150, 60, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.card-gallery__play-btn.is-playing {
  opacity: 0;
  pointer-events: none;
}

/* Mini nav arrows */
.card-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 42, 74, 0.65);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.card-gallery:hover .card-gallery__nav {
  opacity: 1;
}

.card-gallery__nav--prev {
  left: 6px;
}

.card-gallery__nav--next {
  right: 6px;
}

.card-gallery__nav:hover {
  background: var(--color-gold);
}

/* Gallery dots */
.card-gallery__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 4;
}

.card-gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease;
  cursor: pointer;
}

.card-gallery__dot--active {
  background: var(--color-gold);
}

/* Mobile: always show nav arrows */
@media (max-width: 640px) {
  .card-gallery__nav {
    opacity: 0.8;
    width: 24px;
    height: 24px;
  }

  .card-gallery__play-btn {
    width: 44px;
    height: 44px;
  }

  .card-gallery__play-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ==================== DROPDOWN NAVIGATION ==================== */
.nav-links > li {
  position: relative;
  padding: 0.5rem 0.35rem;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  background: #162240;
  border-top: 2px solid var(--color-copper);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  min-width: 200px;
  padding: 0.75rem 0 0.5rem;
  list-style: none;
  margin: 0;
  z-index: 1001;
}

/* Bridge to prevent hover gap */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  height: 20px;
}

.nav-links > li:hover > .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
  border-left: 2px solid transparent;
}

.nav-dropdown a:hover {
  color: var(--color-gold);
  background: rgba(255, 255, 255, 0.04);
  padding-left: 1.5rem;
  border-left-color: var(--color-copper);
}

/* Divider between groups */
.nav-dropdown__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.35rem 1rem;
}

/* Wide dropdown for Projects (many items) */
.nav-dropdown--wide {
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Scrollbar styling for long dropdowns */
.nav-dropdown--wide::-webkit-scrollbar {
  width: 4px;
}

.nav-dropdown--wide::-webkit-scrollbar-thumb {
  background: var(--color-copper);
  border-radius: 2px;
}

/* Hide dropdowns on mobile/tablet */
@media (max-width: 960px) {
  .nav-dropdown {
    display: none !important;
  }
}

/* Scroll offset for fixed header */
html {
  scroll-padding-top: 110px;
}


/* ==================== SERVICE AREA ==================== */
.service-area-block {
  margin-bottom: 2.5rem;
}
.service-area-block:last-child {
  margin-bottom: 0;
}
.service-area-block h3 {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.service-area-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 2rem;
  font-size: 0.9rem;
  font-family: "Source Serif 4", serif;
  white-space: nowrap;
}
.service-area-tag--extended {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}
.service-area-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  text-align: center;
}

@media (max-width: 768px) {
  .service-area-tags {
    gap: 0.4rem;
  }
  .service-area-tag {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Projects / Recent Work ── */
.projects-section {
  background: var(--color-warm-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--color-bg-alt, #f8f8f8);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--color-copper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.project-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-copper);
  margin-bottom: 0.75rem;
}

.project-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.25rem;
}

.project-streetview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-copper);
  text-decoration: none;
  transition: color 0.2s;
}

.project-streetview-link:hover {
  color: var(--color-navy);
}

.project-streetview-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-style: italic;
  color: #999;
}


/* Culture section: two-column on desktop */
.careers-culture {
  columns: 2;
  column-gap: 2.5rem;
}
.careers-culture p {
  break-inside: avoid;
}
@media (max-width: 768px) {
  .careers-culture {
    columns: 1;
  }
}





/* Service area: stacked layout — map top, columns below */
.service-area-map-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}
.colorado-map {
  width: 100%;
  max-width: 900px;
  height: auto;
}
.service-area-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.service-area-columns .service-area-tags {
  justify-content: flex-start;
}
/* Travel caveat: prominent callout */
.service-area-travel-note {
  text-align: center;
  margin-top: 1rem;
  padding: 1.25rem 2rem;
  background: var(--color-navy);
  border-radius: 8px;
}
.service-area-travel-note p {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  font-family: "Source Serif 4", serif;
  line-height: 1.6;
  margin: 0;
}

/* Dropdown: indented sub-items (project categories) */
.nav-dropdown__indent a {
  padding-left: 2rem !important;
  font-size: 0.78rem !important;
  opacity: 0.85;
}
.nav-dropdown__indent a:hover {
  opacity: 1;
}
/* Dropdown: better scroll hint */
.nav-dropdown--wide {
  max-height: calc(100vh - 120px);
  scrollbar-width: thin;
  scrollbar-color: rgba(196,150,60,0.4) transparent;
}

@media (max-width: 900px) {
  .service-area-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-area-columns .service-area-tags {
    justify-content: center;
  }
  .colorado-map {
    max-width: 900px;
    margin: 0 auto;
  }
  .service-area-travel-note {
    padding: 1rem 1.25rem;
  }
  .service-area-travel-note p {
    font-size: 0.95rem;
  }
}
/* Indeed Job Listings (Careers Page) */
.indeed-jobs__loading { text-align: center; color: rgba(255,255,255,0.6); font-style: italic; padding: 1rem 0; }
.indeed-jobs__list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.indeed-job-card { display: flex; align-items: center; justify-content: space-between; padding: 1.75rem 2rem; background: rgba(255,255,255,0.1); border: 2px solid var(--color-gold); border-radius: 8px; text-decoration: none; color: var(--color-white); transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s; box-shadow: 0 2px 12px rgba(196,150,60,0.15); }
.indeed-job-card:hover { border-color: var(--color-gold-light); background: rgba(255,255,255,0.15); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(196,150,60,0.25); }
.indeed-job-card__info h3 { margin: 0 0 0.35rem; font-size: 1.5rem; font-weight: 700; color: var(--color-gold-light); font-family: var(--font-heading); letter-spacing: 0.01em; }
.indeed-job-card__location { font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.indeed-job-card__arrow { white-space: nowrap; font-size: 1rem; font-weight: 700; color: var(--color-gold); flex-shrink: 0; margin-left: 1.5rem; padding: 0.5rem 1.25rem; border: 1px solid var(--color-gold); border-radius: 4px; transition: background 0.2s, color 0.2s; } .indeed-job-card:hover .indeed-job-card__arrow { background: var(--color-gold); color: var(--color-navy); }
.indeed-no-jobs p { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.85); max-width: 600px; margin: 1rem auto 1.5rem; text-align: center; }
@media (max-width: 640px) { .indeed-job-card { flex-direction: column; align-items: flex-start; gap: 0.75rem; } .indeed-job-card__arrow { margin-left: 0; } }


/* Hero page: tighter bottom spacing */
.hero--page {
  padding-bottom: 2.5rem;
}
/* Careers page: reduced section spacing */
body .careers-apply-section,
.section#culture,
.section#standards,
.section#expectations,
.section#not-a-fit {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
@media (max-width: 768px) {
  body .careers-apply-section,
  .section#culture,
  .section#standards,
  .section#expectations,
  .section#not-a-fit {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
