/* ============================================================
   Appalachian Erosion Control — Main Stylesheet
   To update brand colors, edit the variables in :root below.
   ============================================================ */

:root {
  --color-primary:      #376364;   /* dark teal */
  --color-primary-dark: #403b37;   /* dark brown/charcoal */
  --color-accent:       #b65039;   /* burnt orange/terracotta */
  --color-accent-hover: #9a4230;
  --color-teal-mid:     #4e8384;
  --color-teal-light:   #8eb5b6;
  --color-slate:        #47545d;
  --color-tan:          #e6cbb6;
  --color-white:        #ffffff;
  --color-off-white:    #f4efea;   /* warm tinted white */
  --color-light-gray:   #e8e1da;
  --color-mid-gray:     #999999;
  --color-dark-gray:    #4a4542;
  --color-text:         #403b37;   /* dark brown for body text */
  --color-overlay:      rgba(64, 59, 55, 0.62);  /* brown-tinted overlay */

  --font-sans: 'Segoe UI', Arial, sans-serif;
  --max-width: 1280px;
  --nav-height: 80px;
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--color-text); background: var(--color-white); line-height: 1.6; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
}
.section-title.light { color: var(--color-white); }
.section-body {
  font-size: 1.05rem;
  color: var(--color-dark-gray);
  max-width: 680px;
}
.section-body.light { color: rgba(255,255,255,0.82); }
.btn {
  display: inline-block;
  padding: 11px 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-outline {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-dark {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-dark:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
/* Solid variant — used only for form submit */
.btn-solid {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-solid:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
#site-nav.scrolled {
  background: var(--color-primary-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
#site-nav .nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Hide nav logo on home page until user scrolls past the hero */
#site-nav.home-nav .nav-logo { opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
#site-nav.home-nav.scrolled .nav-logo { opacity: 1; pointer-events: auto; }

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--color-accent); }
/* nav-cta intentionally removed — contact link uses same style as other nav links */

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — VIDEO BACKGROUND
   ============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  /* opacity controlled by JS — starts at 0, fades in when buffered */
}
/* Loading pulse on the overlay while video buffers */
#hero-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}
#hero-loader::after {
  content: '';
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#hero-fallback {
  position: absolute;
  inset: 0;
  background: var(--color-primary-dark);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 820px;
}
.hero-content .hero-logo {
  height: 100px;
  width: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--color-teal-light); }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
#intro-strip {
  background: var(--color-primary);
  padding: 36px 24px;
}
#intro-strip .strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.strip-stat {
  text-align: center;
  flex: 1;
  min-width: 150px;
}
.strip-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}
.strip-stat .stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}
.strip-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
#who-we-are {
  padding: 100px 24px;
  background: var(--color-white);
}
#who-we-are .who-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
#who-we-are .who-text .section-body {
  margin-top: 20px;
  margin-bottom: 32px;
}
.who-image {
  position: relative;
}
.who-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
}
.who-image-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 20px 28px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  border-radius: 2px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.who-image-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
}

/* ============================================================
   CORE SERVICES
   ============================================================ */
#core-services {
  padding: 100px 24px;
  background: var(--color-off-white);
}
#core-services .cs-header {
  max-width: var(--max-width);
  margin: 0 auto 56px;
}
#core-services .cs-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.04); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,18,0.9) 0%, rgba(10,26,18,0.3) 60%, transparent 100%);
}
.service-card-body {
  position: relative;
  z-index: 1;
  padding: 36px 32px;
}
.service-card-body .service-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.service-card-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 10px;
}
.service-card-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}
.service-card-body .card-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.service-card-body .card-link:hover { gap: 14px; }
.service-card-body .card-link::after { content: '→'; }

/* ============================================================
   ADDITIONAL SERVICES (IMAGE BUTTONS)
   ============================================================ */
#additional-services {
  padding: 80px 24px;
  background: var(--color-white);
}
#additional-services .as-header {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  text-align: center;
}
#additional-services .as-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.img-btn {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-height: 300px;
  text-decoration: none;
  cursor: pointer;
}
.img-btn img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.img-btn:hover img { transform: scale(1.06); }
.img-btn-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,18,0.88) 0%, rgba(10,26,18,0.25) 70%, transparent 100%);
  transition: background var(--transition);
}
.img-btn:hover .img-btn-overlay {
  background: linear-gradient(to top, rgba(10,26,18,0.95) 0%, rgba(10,26,18,0.45) 70%, rgba(10,26,18,0.1) 100%);
}
.img-btn-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 32px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.img-btn-tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 1px;
  margin-bottom: 10px;
}
.img-btn-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.img-btn-body p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
  line-height: 1.5;
}
.img-btn-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.img-btn:hover .img-btn-cta { gap: 14px; }
.img-btn-cta::after { content: '→'; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
#before-after {
  padding: 100px 24px;
  background: var(--color-off-white);
}
#before-after .ba-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
#before-after .ba-header { margin-bottom: 48px; }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ba-item {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.ba-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.ba-label {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 1px;
}
.ba-label.after { background: var(--color-accent); }

/* ============================================================
   PROJECT GALLERY
   ============================================================ */
#project-gallery {
  padding: 100px 24px;
  background: var(--color-white);
}
#project-gallery .pg-header {
  max-width: var(--max-width);
  margin: 0 auto 48px;
}
.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  min-height: 260px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:first-child {
  grid-column: span 2;
}
.gallery-item:first-child img { height: 380px; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-footer {
  max-width: var(--max-width);
  margin: 40px auto 0;
  text-align: center;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  padding: 100px 24px;
  background-color: var(--color-primary);
  background-image: url('../media/panels.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(55, 99, 100, 0.88);
}
/* Disable fixed attachment on touch devices where it looks broken */
@media (hover: none) {
  #cta-banner {
    background-attachment: scroll;
  }
}
#cta-banner .cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
#cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.15;
}
#cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
}
#cta-banner .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--color-primary-dark);
  padding: 64px 24px 32px;
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand .footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) opacity(0.9);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-phone {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 160px 24px 80px;
  background: var(--color-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.page-header.ph-services::before { background-image: url('../media/work.jpg'); }
.page-header.ph-projects::before { background-image: url('../media/work2.jpg'); }
.page-header.ph-contact::before  { background-image: url('../media/about.jpg'); }
.page-header-inner { position: relative; z-index: 1; }
.page-header .section-label { justify-content: center; text-align: center; }
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
#services-detail {
  padding: 100px 24px;
  background: var(--color-white);
}
.services-detail-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--color-light-gray);
}
.service-row:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
}
.service-row-text .section-body { margin: 16px 0 24px; }
.service-list {
  list-style: none;
  margin-bottom: 28px;
}
.service-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-light-gray);
  font-size: 0.9rem;
  color: var(--color-dark-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
#projects-section {
  padding: 100px 24px;
  background: var(--color-white);
}
.projects-inner { max-width: var(--max-width); margin: 0 auto; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.project-card {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.project-card:hover img { transform: scale(1.04); }
.project-card-body {
  padding: 24px;
  background: var(--color-white);
}
.project-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.project-card-body p {
  font-size: 0.85rem;
  color: var(--color-dark-gray);
}
.project-tag {
  display: inline-block;
  background: var(--color-off-white);
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 1px;
  margin-bottom: 10px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
#contact-section {
  padding: 100px 24px;
  background: var(--color-white);
}
.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.contact-info .section-body { margin-bottom: 36px; }
.contact-info img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 36px;
}
.contact-detail {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-light-gray);
}
.contact-detail:first-of-type { border-top: 1px solid var(--color-light-gray); }
.contact-detail-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 5px;
}
.contact-detail a,
.contact-detail span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}
.contact-detail a:hover { color: var(--color-accent); }

/* Contact Form */
.contact-form-wrap {
  background: var(--color-off-white);
  padding: 48px 40px;
  border-radius: 2px;
}
.contact-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-light-gray);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.78rem;
  color: var(--color-mid-gray);
  margin-top: 12px;
}
.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 14px 20px;
  border-radius: 2px;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: center; justify-content: center;
    background: var(--color-primary-dark); gap: 32px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-cta { padding: 14px 32px; }
  .nav-toggle { display: flex; }

  #who-we-are .who-inner { grid-template-columns: 1fr; gap: 48px; }
  .who-image { margin-bottom: 32px; }
  .who-image-badge { left: 0; }

  #core-services .cs-grid { grid-template-columns: 1fr; }
  #additional-services .as-grid { grid-template-columns: 1fr 1fr; }

  .ba-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }

  .service-row { grid-template-columns: 1fr; gap: 36px; }
  .service-row.reverse { direction: ltr; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .projects-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  #additional-services .as-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .projects-grid { grid-template-columns: 1fr; }
  .strip-divider { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  #cta-banner .cta-actions { flex-direction: column; align-items: center; }
}
