/* ═══════════════════════════════════════════════════
   CAPUTO CONSTRUCTION — STYLESHEET
   ═══════════════════════════════════════════════════ */

:root {
  --red:       #D42B2B;
  --red-dark:  #A81F1F;
  --black:     #0F0F0F;
  --charcoal:  #1C1C1E;
  --steel:     #3A3A3C;
  --concrete:  #8A8A8E;
  --offwhite:  #F5F4F1;
  --white:     #FFFFFF;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--charcoal); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section { padding: 120px 0; }
.section--offwhite { background: var(--offwhite); }
.section--dark { background: var(--black); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

/* ─── HERO ANIMATIONS ─── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim { opacity: 0; animation: slideUp 0.9s var(--ease-out) forwards; animation-delay: var(--d,0s); }

/* ─── TYPOGRAPHY ─── */
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--charcoal); }
h2.white { color: #fff; }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
p  { line-height: 1.72; color: var(--steel); font-size: 15px; }

.eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 72px; }
.section-header h2 { margin-bottom: 18px; }
.section-sub { color: var(--concrete); line-height: 1.72; font-size: 16px; }
.meta { font-size: 13px; color: var(--concrete); letter-spacing: .04em; margin-bottom: 16px; }

.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; background: rgba(0,0,0,.06); color: var(--concrete); margin-bottom: 14px; }
.tag--red { background: var(--red); color: #fff; }

.link-red { color: var(--red); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.link-red:hover { gap: 9px; }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-weight: 600; letter-spacing: .025em; border-radius: 4px; transition: all .2s var(--ease); cursor: pointer; }
.btn--sm  { font-size: 13px; padding: 10px 22px; }
.btn--lg  { font-size: 15px; padding: 17px 38px; }
.btn--xl  { font-size: 16px; padding: 20px 52px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,43,43,.3); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: #f4f2f2; transform: translateY(-2px); }
.btn--outline-white { border: 2px solid rgba(255,255,255,.65); color: #fff; }
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline-dark { border: 2px solid var(--charcoal); color: var(--charcoal); padding: 14px 32px; font-size: 14px; }
.btn--outline-dark:hover { background: var(--charcoal); color: #fff; }

/* ═══════════════════════════════
   NAV
   ═══════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
/* At top of page — transparent */
.nav .logo-color { display: none; }
.nav .logo-white { display: block; }
.nav__links a { color: rgba(255,255,255,.88); }
.nav__phone { color: #fff; }

/* Scrolled — white background, dark text */
.nav.scrolled {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 4px 24px rgba(0,0,0,.07);
}
.nav.scrolled .logo-white { display: none; }
.nav.scrolled .logo-color { display: block; }
.nav.scrolled .nav__links a { color: var(--charcoal); }
.nav.scrolled .nav__phone { color: var(--red); }
.nav.scrolled .nav__burger span { background: var(--charcoal); }

.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; height: 68px; gap: 0;
}
.nav__logo { flex-shrink: 0; margin-right: auto; }
.nav__logo img { height: 32px; transition: opacity .2s; }
.nav__logo:hover img { opacity: .85; }

.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 14px; font-weight: 500; transition: color .2s; position: relative; padding-bottom: 2px; }
.nav__links a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 20px; margin-left: 36px; }
.nav__phone { font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .2s; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__burger span { display: block; width: 22px; height: 2px; background: #fff; transition: all .3s; border-radius: 2px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--black); z-index: 400;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: translateX(100%); transition: transform .4s var(--ease);
  padding: 40px 32px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { text-align: center; margin-bottom: 40px; }
.mobile-menu li { margin-bottom: 24px; }
.mobile-menu a { color: #fff; font-size: 22px; font-weight: 700; transition: color .2s; }
.mobile-menu a:hover { color: var(--red); }
.mobile-menu__close { position: absolute; top: 24px; right: 28px; color: rgba(255,255,255,.5); font-size: 22px; transition: color .2s; }
.mobile-menu__close:hover { color: #fff; }
.mobile-menu__footer { text-align: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__footer a { color: rgba(255,255,255,.5); font-size: 14px; transition: color .2s; }
.mobile-menu__footer a:hover { color: #fff; }
.mobile-menu__footer .btn { align-self: center; margin-top: 8px; }

/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%,-50%); object-fit: cover; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(150deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.70) 100%); z-index: 1; }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 860px; }
.hero__eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.hero__h1 { display: flex; flex-direction: column; font-size: clamp(44px, 7.5vw, 94px); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #fff; margin-bottom: 28px; }
.hero__red { color: var(--red); }
.hero__sub { font-size: clamp(15px, 1.7vw, 19px); color: rgba(255,255,255,.62); line-height: 1.68; max-width: 580px; margin: 0 auto 40px; }
.hero__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.45)); animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity:0; transform:scaleY(.4); transform-origin:top; } 50% { opacity:1; transform:scaleY(1); transform-origin:top; } }

/* ═══════════════════════════════
   STATS
   ═══════════════════════════════ */
.stats { background: var(--charcoal); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1280px; margin: 0 auto; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 52px 20px; border-right: 1px solid rgba(255,255,255,.07); }
.stat:last-child { border-right: none; }
.stat__num { font-size: clamp(34px, 4vw, 54px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; display: block; }
.stat__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--concrete); }

/* ═══════════════════════════════
   SERVICES
   ═══════════════════════════════ */
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: #e0deda; border-radius: 8px; overflow: hidden; }
.service-card { position: relative; background: #fff; padding: 48px 36px 44px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,.1); transform: translateY(-4px); z-index: 1; }
.service-card__num { position: absolute; top: -14px; right: 14px; font-size: 110px; font-weight: 900; color: #f2f0ed; line-height: 1; pointer-events: none; user-select: none; }
.service-card__icon { width: 42px; height: 42px; margin-bottom: 22px; position: relative; z-index: 1; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--charcoal); position: relative; z-index: 1; }
.service-card p { font-size: 14px; color: var(--concrete); line-height: 1.7; margin-bottom: 20px; position: relative; z-index: 1; }

/* ═══════════════════════════════
   PROCESS
   ═══════════════════════════════ */
.process__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process__grid::before { content: ''; position: absolute; top: 52px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); opacity: .3; }
.process-step { padding: 0 24px; text-align: center; position: relative; }
.process-step__num { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--red); margin-bottom: 20px; }
.process-step__icon { width: 56px; height: 56px; margin: 0 auto 24px; background: #fff; border: 2px solid rgba(212,43,43,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.process-step__icon svg { width: 28px; height: 28px; }
.process-step h3 { font-size: 18px; margin-bottom: 12px; color: var(--charcoal); }
.process-step > p { font-size: 14px; color: var(--concrete); margin-bottom: 20px; }
.process-step__list { text-align: left; display: inline-block; }
.process-step__list li { font-size: 13px; color: var(--steel); padding: 4px 0; padding-left: 16px; position: relative; }
.process-step__list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: .5; }

/* ═══════════════════════════════
   PROJECTS
   ═══════════════════════════════ */
.projects__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; gap: 24px; }
.projects__header h2 { margin: 0; }

.featured-project { display: grid; grid-template-columns: 1fr 380px; border-radius: 10px; overflow: hidden; margin-bottom: 24px; cursor: pointer; }
.featured-project__img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.featured-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.featured-project:hover .featured-project__img img { transform: scale(1.04); }
.fp-overlay { position: absolute; inset: 0; background: rgba(212,43,43,0); display: flex; align-items: center; justify-content: center; transition: background .3s; }
.featured-project:hover .fp-overlay { background: rgba(212,43,43,.12); }
.fp-overlay span { color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; background: rgba(0,0,0,.5); padding: 12px 28px; border-radius: 4px; }
.featured-project:hover .fp-overlay span { opacity: 1; }
.featured-project__info { background: var(--charcoal); padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-project__info h3 { color: #fff; margin-bottom: 6px; }
.featured-project__info .meta { color: rgba(255,255,255,.35); margin-bottom: 14px; }
.featured-project__info > p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
.fp-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; margin-bottom: 28px; }
.fp-stats > div { background: rgba(255,255,255,.04); padding: 14px 12px; text-align: center; }
.fp-stats strong { display: block; font-size: 18px; color: #fff; font-weight: 700; }
.fp-stats span { font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .06em; text-transform: uppercase; }

.projects__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.project-card { border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,.12); }
.project-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project-card:hover .project-card__img img { transform: scale(1.07); }
.project-card__overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(212,43,43,.85), transparent); padding: 24px 18px 14px; transform: translateY(100%); transition: transform .3s var(--ease); display: flex; align-items: flex-end; }
.project-card:hover .project-card__overlay { transform: translateY(0); }
.project-card__overlay span { color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.project-card__body { padding: 18px 22px 22px; }
.project-card__body h4 { color: var(--charcoal); margin-bottom: 4px; }

/* ═══════════════════════════════
   BREAKDOWN CHART
   ═══════════════════════════════ */
.breakdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.breakdown__left h2 { margin-bottom: 18px; }
.breakdown__left > p { color: var(--concrete); margin-bottom: 40px; }
.breakdown__highlights { display: flex; flex-direction: column; gap: 0; }
.bh-item { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.bh-item:last-child { border-bottom: none; }
.bh-num { font-size: 32px; font-weight: 800; color: var(--charcoal); letter-spacing: -.02em; min-width: 90px; }
.bh-label { font-size: 13px; color: var(--concrete); line-height: 1.4; }

.chart-title { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete); margin-bottom: 28px; }
.chart { display: flex; flex-direction: column; gap: 22px; }
.chart-row__label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--charcoal); }
.chart-row__pct { color: var(--concrete); }
.chart-row__track { height: 8px; background: #ece9e4; border-radius: 8px; overflow: hidden; }
.chart-row__bar { height: 100%; background: var(--red); border-radius: 8px; width: 0; transition: width 1.4s var(--ease); }
.chart-row__bar.animated { width: var(--pct); }
.chart-note { font-size: 12px; color: var(--concrete); margin-top: 20px; font-style: italic; }

/* ═══════════════════════════════
   WHY CAPUTO
   ═══════════════════════════════ */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why__left .eyebrow { color: var(--red); }
.why__left h2 { margin-bottom: 20px; }
.why__copy { color: rgba(255,255,255,.52); font-size: 15px; line-height: 1.78; margin-bottom: 36px; }
.why__right { display: flex; flex-direction: column; }
.why-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.why-item:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.why-item__check { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: rgba(212,43,43,.16); color: var(--red); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.why-item h4 { color: #fff; margin-bottom: 4px; font-size: 15px; }
.why-item p { color: rgba(255,255,255,.42); font-size: 13px; line-height: 1.65; }

/* ═══════════════════════════════
   GALLERY STRIP
   ═══════════════════════════════ */
.gallery { padding-bottom: 0; }
.gallery__header { padding-top: 80px; margin-bottom: 52px; }
.gallery__header h2 { margin-top: 10px; }
.gallery__strip { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__strip::-webkit-scrollbar { display: none; }
.gallery__track { display: flex; gap: 3px; width: max-content; padding-bottom: 0; }
.gallery__item { width: clamp(280px, 30vw, 440px); flex-shrink: 0; scroll-snap-align: start; aspect-ratio: 4/3; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }

/* ═══════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════ */
.testimonials__wrap { position: relative; overflow: hidden; }
.testimonials__slider { display: flex; transition: transform .55s var(--ease); }
.testimonial { flex: 0 0 100%; text-align: center; padding: 0 80px; }
.testimonial__quote { font-size: 88px; line-height: .6; color: var(--red); font-family: Georgia, serif; margin-bottom: 28px; }
.testimonial p { font-size: clamp(16px, 1.8vw, 21px); color: var(--charcoal); font-style: italic; line-height: 1.68; max-width: 700px; margin: 0 auto 28px; }
.testimonial__author { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.testimonial__author strong { font-size: 15px; color: var(--charcoal); }
.testimonial__author span { font-size: 13px; color: var(--concrete); }
.testimonials__dots { display: flex; gap: 10px; justify-content: center; margin-top: 44px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d8d6d2; transition: background .3s, transform .3s; }
.dot.active { background: var(--red); transform: scale(1.35); }

/* ═══════════════════════════════
   TEAM
   ═══════════════════════════════ */
.team__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.team-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.team-card__img { aspect-ratio: 4/3; overflow: hidden; }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .team-card__img img { transform: scale(1.05); }
.team-card__body { padding: 24px 28px 28px; }
.team-card__body h4 { font-size: 17px; color: var(--charcoal); margin-bottom: 4px; }
.team-card__title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 12px; }
.team-card__body p { font-size: 14px; color: var(--concrete); }
.team__note { text-align: center; margin-top: 48px; color: var(--concrete); font-size: 14px; }
.team__note a { margin-left: 4px; }

/* ═══════════════════════════════
   CERTIFICATIONS
   ═══════════════════════════════ */
.certs__inner { text-align: center; padding: 64px 0; }
.certs__label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--concrete); display: block; margin-bottom: 36px; }
.certs__row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cert-badge { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid rgba(0,0,0,.1); border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--steel); transition: border-color .2s, color .2s; }
.cert-badge:hover { border-color: var(--red); color: var(--charcoal); }
.cert-badge__icon { width: 32px; height: 32px; background: var(--red); color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }

/* ═══════════════════════════════
   SERVICE AREA
   ═══════════════════════════════ */
.service-area__inner { text-align: center; }
.service-area__inner h2 { margin-bottom: 16px; }
.service-area__inner .section-sub { max-width: 560px; margin: 0 auto 36px; }
.city-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city-tags span { padding: 9px 22px; border: 1px solid rgba(0,0,0,.12); border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--steel); transition: all .2s; }
.city-tags span:hover { border-color: var(--red); color: var(--red); }
.city-tags__home { border-color: var(--red) !important; color: var(--red) !important; background: rgba(212,43,43,.06); }

/* ═══════════════════════════════
   CTA BANNER
   ═══════════════════════════════ */
.cta-banner { background: var(--red); padding: 120px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.cta-banner__inner { position: relative; max-width: 600px; margin: 0 auto; }
.cta-banner__inner h2 { color: #fff; font-size: clamp(30px, 5vw, 56px); margin-bottom: 18px; }
.cta-banner__inner > p { color: rgba(255,255,255,.72); font-size: 17px; margin-bottom: 44px; }
.cta-banner__contact { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 20px; }
.cta-banner__contact a { color: rgba(255,255,255,.85); font-weight: 600; transition: color .2s; }
.cta-banner__contact a:hover { color: #fff; }

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.footer { background: var(--black); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 56px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer__brand img { margin-bottom: 14px; }
.footer__brand > p { color: var(--concrete); font-size: 13px; margin-bottom: 8px; }
.footer__address { color: rgba(255,255,255,.3) !important; font-size: 13px !important; line-height: 1.6; margin-bottom: 24px !important; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { color: rgba(255,255,255,.35); width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s; }
.footer__social a:hover { color: var(--red); border-color: var(--red); }
.footer__col h5 { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.footer__col li, .footer__col a { color: var(--concrete); font-size: 13px; line-height: 2.3; transition: color .2s; }
.footer__col a:hover { color: var(--red); }
.footer__bottom { padding: 22px 48px; text-align: center; }
.footer__bottom p { color: rgba(255,255,255,.18); font-size: 12px; }
.footer__bottom a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer__bottom a:hover { color: var(--red); }

/* ═══════════════════════════════
   MODAL
   ═══════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #fff; border-radius: 10px; max-width: 860px; width: 100%; max-height: 88vh; overflow-y: auto; transform: translateY(44px) scale(.97); transition: transform .4s var(--ease); position: relative; }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__close { position: absolute; top: 18px; right: 18px; z-index: 10; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.modal__close:hover { background: var(--red); }
.modal__hero { aspect-ratio: 16/9; overflow: hidden; border-radius: 10px 10px 0 0; }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 36px 44px 44px; }
.modal__body h2 { font-size: 28px; margin: 10px 0 6px; }
.modal__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #e0deda; border-radius: 6px; overflow: hidden; margin: 24px 0; }
.modal__stat { background: var(--offwhite); padding: 18px 20px; text-align: center; }
.modal__stat span { display: block; font-size: 22px; font-weight: 800; color: var(--charcoal); margin-bottom: 4px; }
.modal__stat label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--concrete); }
.modal__body > p { color: var(--steel); line-height: 1.75; margin-bottom: 28px; font-size: 15px; }
.modal__gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 32px; border-radius: 6px; overflow: hidden; }
.modal__gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s var(--ease); }
.modal__gallery img:hover { transform: scale(1.04); }
.modal__cta { width: 100%; }

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1100px) {
  .container { padding: 0 32px; }
  .nav__inner { padding: 0 32px; }
  .breakdown__grid { grid-template-columns: 1fr; gap: 52px; }
  .why__grid { gap: 52px; }
}

@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2,1fr); }
  .process__grid { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process__grid::before { display: none; }
  .projects__grid { grid-template-columns: repeat(2,1fr); }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project__img { aspect-ratio: 16/9; }
  .team__grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .footer__bottom { padding: 20px; }
  .section { padding: 80px 0; }

  /* Nav: hide links, show burger */
  .nav__links, .nav__right { display: none; }
  .nav__burger { display: flex; }

  /* Stats: 2x2 */
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 36px 16px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  /* Services: 1 col */
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }

  /* Process: 1 col */
  .process__grid { grid-template-columns: 1fr; gap: 32px; }
  .process-step { padding: 0; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
  .process-step__icon { margin: 0 0 18px; }

  /* Projects */
  .projects__header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .projects__grid { grid-template-columns: 1fr; }
  .featured-project { border-radius: 8px; }
  .featured-project__info { padding: 28px 24px; }

  /* Breakdown */
  .breakdown__left > p { font-size: 14px; }
  .bh-num { font-size: 26px; min-width: 72px; }

  /* Why */
  .why__grid { grid-template-columns: 1fr; gap: 40px; }

  /* Team */
  .team__grid { grid-template-columns: 1fr; }

  /* Certs */
  .certs__row { gap: 10px; }
  .cert-badge { padding: 12px 16px; font-size: 12px; }

  /* Testimonials */
  .testimonial { padding: 0 16px; }
  .testimonial p { font-size: 16px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 80px 24px; }

  /* Modal */
  .modal__body { padding: 24px 20px 32px; }
  .modal__gallery { grid-template-columns: repeat(3,1fr); }
  .modal__stats { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 480px) {
  .hero__btns { flex-direction: column; align-items: center; }
  .hero__btns .btn { width: 100%; max-width: 320px; }
  .breakdown__highlights { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, .reveal, .hero-anim, .scroll-line, .chart-row__bar { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .chart-row__bar { width: var(--pct) !important; }
}
