/* ============================================
   EASTBROOK CONSTRUCTION & CONSULTING
   style.css — Design System
   ============================================ */

:root {
  --blue:      #2473D3;
  --blue-dk:   #1a5cb0;
  --blue-lt:   #e8f2ff;
  --orange:    #FFA600;
  --orange-dk: #e69500;
  --dark:      #1c1c1c;
  --text:      #333333;
  --text-lt:   #666666;
  --border:    #e0e0e0;
  --gray-bg:   #f7f7f7;
  --white:     #ffffff;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; color: var(--dark); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { line-height: 1.75; color: var(--text-lt); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5.5rem 0; }
.section-gray { background: var(--gray-bg); }
.section-blue { background: var(--blue); }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white p { color: rgba(255,255,255,0.8) !important; }

.section-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 0.6rem;
  display: block;
}
.section-blue .section-label { color: rgba(255,255,255,0.7); }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0.75rem auto 0; }
.section-desc { font-size: 1rem; color: var(--text-lt); max-width: 600px; margin-top: 0.75rem; line-height: 1.78; }
.section-blue .section-desc { color: rgba(255,255,255,0.8); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 0.75rem 1.8rem; border-radius: 3px; cursor: pointer;
  transition: all 0.2s; border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dk); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.65); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* TOP BAR */
.top-bar {
  background: var(--blue); padding: 0.5rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.76rem; color: rgba(255,255,255,0.9);
}
.top-bar a { color: rgba(255,255,255,0.9); transition: color 0.2s; }
.top-bar a:hover { color: var(--white); }
.top-bar-left,.top-bar-right { display: flex; gap: 1.8rem; align-items: center; }
.top-bar-item { display: flex; align-items: center; gap: 0.4rem; }

/* NAV */
.nav {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 2rem;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 52px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 0.15rem; list-style: none; align-items: center; }
.nav-links a {
  display: inline-block;
  text-align: center;
  line-height: 1.25;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--text);
  padding: 0.5rem 0.9rem; border-radius: 3px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,.nav-links a.active { color: var(--blue); background: var(--blue-lt); }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-portal {
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 600;
  color: var(--blue); border: 2px solid var(--blue); padding: 0.45rem 1rem;
  border-radius: 3px; transition: all 0.2s;
}
.nav-portal:hover { background: var(--blue); color: var(--white); }
.nav-cta {
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 700;
  background: var(--orange); color: var(--white); padding: 0.5rem 1.3rem;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.04em; transition: background 0.2s;
}
.nav-cta:hover { background: var(--orange-dk); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span { display: block; width: 25px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; position: fixed; inset: 0;
  background: var(--white); z-index: 300;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; color: var(--dark); letter-spacing: 0.05em; transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--blue); }
.nav-drawer a.drawer-portal { background: var(--blue); color: var(--white); padding: 0.7rem 2rem; border-radius: 8px; font-size: 1.15rem; }
.nav-drawer a.drawer-portal:hover { background: var(--orange); color: var(--white); }
.drawer-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; background: none; border: none; font-size: 2.6rem; line-height: 1; cursor: pointer; color: var(--dark); font-weight: 400; z-index: 2; }
.drawer-close:hover { color: var(--blue); }

/* HERO */
.hero {
  position: relative; height: 88vh; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  background: #1c1c1c;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,16,36,0.42) 0%, rgba(8,16,36,0.18) 55%, rgba(8,16,36,0) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 0 7rem; max-width: 760px; margin: 0 auto; text-align: center; }
.hero-tag {
  display: inline-block; background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 2px; margin-bottom: 1.4rem;
}
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 1.2rem; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: 1.02rem; color: rgba(255,255,255,0.95);
  line-height: 1.78; max-width: 600px; margin: 0 auto 2rem; font-weight: 400;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(8,16,36,0.92); backdrop-filter: blur(8px); z-index: 2;
}
.hero-stats-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: center;
}
.hero-stat {
  padding: 1.3rem 4rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--orange); line-height: 1; margin-bottom: 0.2rem;
}
.hero-stat-label {
  font-size: 0.68rem; color: rgba(255,255,255,0.65);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; font-family: var(--font-head);
}

/* TRUST STRIP */
.trust-strip { background: var(--gray-bg); border-bottom: 1px solid var(--border); padding: 1.1rem 2rem; }
.trust-strip-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 2.8rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 600;
  color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.trust-icon { color: var(--blue); font-size: 0.95rem; }
.trust-sep { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; }

/* SERVICES */
.services-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.services-top.services-top-4 { grid-template-columns: repeat(4, 1fr); }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 5px;
  overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; display: block;
}
.service-card:hover { box-shadow: 0 10px 35px rgba(0,0,0,0.1); transform: translateY(-4px); }
.service-card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.service-card-body { padding: 1.3rem; }
.service-card-title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.service-card-desc { font-size: 0.82rem; color: var(--text-lt); line-height: 1.62; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.8rem;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--blue);
}

.services-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.service-list-item {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--blue); border-radius: 4px;
  padding: 0.9rem 1.2rem; font-family: var(--font-head); font-size: 0.85rem;
  font-weight: 600; color: var(--dark); transition: background 0.2s, box-shadow 0.2s; display: block;
}
.service-list-item:hover { background: var(--blue-lt); box-shadow: 0 4px 14px rgba(0,0,0,0.06); }

/* MARQUEE */
.marquee-section {
  background: var(--white); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 2.2rem 0; overflow: hidden;
}
.marquee-label {
  text-align: center; font-family: var(--font-head); font-size: 0.68rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-lt); margin-bottom: 1.4rem;
}
.marquee-track-wrap { overflow: hidden; }
.marquee-track { display: flex; animation: marquee 30s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  padding: 0 2.8rem; border-right: 1px solid var(--border);
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  color: var(--text-lt); text-transform: uppercase; letter-spacing: 0.09em;
  white-space: nowrap; min-width: 180px;
  display: flex; align-items: center; justify-content: center;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* COMMITMENT */
.commitment-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.commitment-photo { border-radius: 5px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.commitment-photo img { width: 100%; height: 460px; object-fit: cover; display: block; }
.commitment-text h2 { margin-bottom: 1.1rem; }
.commitment-text p { margin-bottom: 0.9rem; }
.check-list { margin: 1.6rem 0; display: flex; flex-direction: column; gap: 0.8rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.check-dot {
  width: 22px; height: 22px; background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.65rem; flex-shrink: 0; margin-top: 1px;
}

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card { border-radius: 5px; overflow: hidden; position: relative; display: block; }
.project-card img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform 0.4s; }
.project-card:hover img { transform: scale(1.04); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,16,36,0.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem;
}
.project-tag {
  display: inline-block; background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.18rem 0.55rem; border-radius: 2px; margin-bottom: 0.45rem; width: fit-content;
}
.project-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.project-scope { font-size: 0.78rem; color: rgba(255,255,255,0.72); }

/* WHY */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.why-card {
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px; padding: 1.8rem; display: flex; gap: 1.2rem;
  align-items: flex-start; transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.14); }
.why-icon { font-size: 1.7rem; flex-shrink: 0; }
.why-title { font-family: var(--font-head); font-size: 0.93rem; font-weight: 700; color: var(--white); margin-bottom: 0.35rem; }
.why-desc { font-size: 0.84rem; color: rgba(255,255,255,0.72); line-height: 1.65; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 2rem; left: 12.5%; right: 12.5%;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: 0.25;
}
.process-step { text-align: center; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem; position: relative; z-index: 1;
}
.process-step:nth-child(even) .step-num { background: var(--orange); }
.step-title { font-family: var(--font-head); font-size: 0.93rem; font-weight: 700; color: var(--dark); margin-bottom: 0.45rem; }
.step-desc { font-size: 0.8rem; color: var(--text-lt); line-height: 1.65; }

/* CAM STRIP */
.cam-strip { background: var(--blue); padding: 3rem 2rem; }
.cam-strip-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cam-strip h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 0.25rem; }
.cam-strip p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* FOOTER */
footer { background: #111; color: rgba(255,255,255,0.65); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem;
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 42px; width: auto; filter: brightness(10); opacity: 0.85; }
.footer-about { font-size: 0.83rem; line-height: 1.75; color: rgba(255,255,255,0.5); margin-bottom: 1.1rem; }
.footer-lic {
  display: inline-block; font-family: var(--font-head); font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
  background: rgba(36,115,211,0.15); padding: 0.28rem 0.7rem; border-radius: 2px;
  text-align: center;
}
.footer-col-title { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.83rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-social { display: flex; gap: 0.6rem; }
.social-btn {
  width: 33px; height: 33px; border: 1px solid rgba(255,255,255,0.12); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.78rem; transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: var(--blue); color: var(--blue); }

/* LOGO WATERMARK — applied to gradient heroes for visual interest */
.has-logo-watermark { position: relative; overflow: hidden; }
.has-logo-watermark::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  width: 52%;
  height: 140%;
  background: url('/images/logo.png') no-repeat center right;
  background-size: contain;
  opacity: 0.09;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}
.has-logo-watermark > * { position: relative; z-index: 1; }
@media (max-width: 768px) { .has-logo-watermark::before { width: 80%; right: 2%; opacity: 0.07; } }

/* CHRIS VIDEO PLACEHOLDER SECTION */
.chris-video-section { background: #f7f7f7; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; padding: 5rem 2rem; }
.chris-video-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.chris-video-eyebrow { font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--orange); margin-bottom: 0.6rem; }
.chris-video-heading { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--dark); margin-bottom: 2rem; }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-top,
  .services-top.services-top-4 { grid-template-columns: repeat(2, 1fr); }
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-stat { padding: 1.1rem 2.5rem; }
}
@media (max-width: 768px) {
  .top-bar-left { display: none; }
  .nav-links { display: none; }
  .nav-actions .nav-portal { display: none; }
  .nav-hamburger { display: flex; }
  .hero { display: block; height: auto; min-height: 0; padding: 3rem 0 0; }
  .hero-content { padding: 0 0 2.5rem; }
  .hero-stats { position: static; }
  .hero-stats-inner { flex-wrap: wrap; padding: 0; }
  .hero-stat { padding: 1rem 1rem; min-width: 50%; }
  .section { padding: 4rem 0; }
  .commitment-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .cam-strip-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .services-top,
  .services-top.services-top-4 { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-stat { min-width: 50%; }
}
