:root{
  --black:#0b0b0f;
  --black-2:#11121a;
  --white:#ffffff;
  --muted:#c9cbd6;
  --gray-1:#f5f7fb;
  --gray-2:#eef1f7;
  --red:#d10b0b;
  --red-2:#ff2a2a;
  --shadow: 0 12px 30px rgba(0,0,0,.18);
  --shadow-soft: 0 10px 24px rgba(0,0,0,.10);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--black);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(209,11,11,.12), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(209,11,11,.10), transparent 55%),
    linear-gradient(180deg, #fff, var(--gray-1));
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max), calc(100% - 40px)); margin-inline:auto}
.hidden{display:none!important}

/* Topbar */
.topbar{
  background: linear-gradient(90deg, rgba(209,11,11,.98), rgba(209,11,11,.85));
  color: var(--white);
  font-size: 14px;
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  gap:16px;
}
.topbar__left{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.topbar__item{opacity:.95}
.topbar__item:hover{opacity:1; text-decoration:underline}
.topbar__sep{opacity:.8}
.topbar__cta{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.18);
  box-shadow: var(--shadow-soft);
}
.topbar__cta:hover{background: rgba(0,0,0,.28)}

/* Nav */
.nav{
  position:sticky; top:0; z-index:999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17,18,26,.08);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:18px;
}
.brand img{height:54px; width:auto}
.nav__links{display:flex; align-items:center; gap:16px}
.nav__link{
  padding:10px 12px; border-radius:999px;
  font-weight:600; font-size:14px;
  color: rgba(11,11,15,.85);
}
.nav__link:hover{background: rgba(209,11,11,.08); color: var(--black)}
.nav__link.is-active{background: rgba(11,11,15,.06); color: var(--black)}

.nav__actions{display:flex; align-items:center; gap:10px}
.nav__burger{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(11,11,15,.12);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
  cursor:pointer;
}
.nav__burger span{
  display:block; height:2px; width:18px;
  background: var(--black);
  margin:4px auto;
  border-radius:999px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  font-size:14px;
  letter-spacing:.2px;
  white-space:nowrap;
  cursor:pointer;
}
.btn--primary{
  background: linear-gradient(90deg, var(--red), var(--red-2));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(209,11,11,.28);
}
.btn--primary:hover{filter:saturate(1.05) brightness(1.02); transform: translateY(-1px)}
.btn--ghost{
  background: rgba(11,11,15,.04);
  border-color: rgba(11,11,15,.10);
  color: rgba(11,11,15,.9);
}
.btn--ghost:hover{background: rgba(11,11,15,.07)}
.btn--block{width:100%}

/* Mobile nav */
.mobile-nav{
  border-top: 1px solid rgba(11,11,15,.08);
  background: rgba(255,255,255,.98);
}
.mobile-nav__inner{
  padding:18px 0 22px;
  display:grid;
  gap:10px;
}
.mobile-nav .nav__link{
  display:block;
  background: rgba(11,11,15,.04);
}

/* Hero */
.hero{
  position:relative;
  color: var(--white);
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background-image:
    linear-gradient(90deg, rgba(11,11,15,.88), rgba(11,11,15,.58)),
    url("../img/optimized/hero-foundation-excavation.jpg");
  background-size:cover;
  background-position:center;
  filter: saturate(1.05) contrast(1.05);
}
.hero__inner{
  position:relative;
  padding:72px 0 64px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:center;
}
.hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.28);
  width:fit-content;
  font-size: 13px;
  font-weight: 700;
  letter-spacing:.3px;
  text-transform: uppercase;
}
.hero__kicker .dot{
  width:10px; height:10px;
  border-radius:999px;
  background: var(--red-2);
  box-shadow: 0 0 0 4px rgba(255,42,42,.2);
}
.hero h1{
  margin:16px 0 14px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height:1.05;
  font-size: clamp(34px, 5vw, 56px);
}
.hero p{
  margin:0 0 20px;
  color: rgba(255,255,255,.92);
  font-size: 17px;
  max-width: 55ch;
}
.hero__ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.hero__card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  padding:18px;
}
.hero__card h3{
  margin:0 0 10px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 16px;
  letter-spacing:.2px;
}
.hero__points{
  display:grid;
  gap:10px;
  margin:0; padding:0;
  list-style:none;
}
.hero__points li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size: 14px;
  color: rgba(255,255,255,.92);
}
.check{
  width:18px; height:18px;
  border-radius:6px;
  background: rgba(255,42,42,.22);
  border: 1px solid rgba(255,42,42,.28);
  display:grid; place-items:center;
  flex:0 0 auto;
}
.check svg{width:12px; height:12px}

/* Sections */
.section{
  padding:64px 0;
}
.section--tight{padding:48px 0}
.section__title{
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing:-0.4px;
  margin:0 0 10px;
}
.section__lead{
  margin:0;
  color: rgba(11,11,15,.72);
  max-width: 80ch;
}
.section--alt{
  background:
    linear-gradient(180deg, var(--gray-1), rgba(255,255,255,.98));
  border-top: 1px solid rgba(11,11,15,.06);
  border-bottom: 1px solid rgba(11,11,15,.06);
}
.section--dark{
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(255,42,42,.18), transparent 55%),
    radial-gradient(700px 420px at 90% 10%, rgba(255,42,42,.15), transparent 60%),
    linear-gradient(180deg, var(--black), var(--black-2));
  color: var(--white);
}
.section--dark .section__lead{color: rgba(255,255,255,.84)}

/* Cards / grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top: 26px;
}
.card{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(11,11,15,.07);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow-soft);
  position:relative;
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(400px 120px at 20% 0%, rgba(209,11,11,.14), transparent 60%);
  pointer-events:none;
}
.card__icon{
  width:42px; height:42px;
  border-radius:14px;
  background: rgba(209,11,11,.10);
  border: 1px solid rgba(209,11,11,.16);
  display:grid; place-items:center;
  margin-bottom: 12px;
}
.card__icon svg{width:20px; height:20px}
.card h3{
  margin:0 0 6px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 16px;
}
.card p{margin:0; color: rgba(11,11,15,.72); font-size: 14.5px}
.card a.more{
  display:inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-weight: 800;
  font-size: 14px;
}
.card a.more:hover{text-decoration:underline}

/* Split section */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items:center;
  margin-top: 26px;
}
.panel{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}
.panel img{width:100%; height:100%; object-fit:cover}
.panel--light{
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(11,11,15,.10);
  box-shadow: var(--shadow-soft);
  padding:18px;
}
.kpis{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top: 14px;
}
.kpi{
  padding:14px;
  border-radius: 16px;
  border: 1px solid rgba(11,11,15,.08);
  background:
    radial-gradient(200px 120px at 20% 0%, rgba(209,11,11,.12), transparent 55%),
    rgba(255,255,255,.9);
}
.kpi strong{
  display:block;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 18px;
}
.kpi span{display:block; color: rgba(11,11,15,.72); font-size: 13px}

/* Gallery */
.gallery{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.g-item{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(11,11,15,.10);
  box-shadow: var(--shadow-soft);
  cursor:pointer;
}
.g-item img{width:100%; height:100%; object-fit:cover; transition: transform .35s ease}
.g-item:hover img{transform: scale(1.04)}
.g-item:after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45));
  opacity:.9;
}
.g-item .g-label{
  position:absolute; left:12px; bottom:10px;
  color: #fff;
  font-weight: 800;
  z-index:2;
  font-size: 13px;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.g-hero{grid-column: span 7; aspect-ratio: 16/10}
.g-wide{grid-column: span 5; aspect-ratio: 16/10}
.g-mid{grid-column: span 4; aspect-ratio: 4/3}
.g-small{grid-column: span 4; aspect-ratio: 4/3}

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.86);
  display:grid;
  place-items:center;
  padding:18px;
  z-index: 2000;
}
.lightbox[hidden]{display:none}
.lightbox__inner{
  width:min(1060px, 100%);
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  background: rgba(0,0,0,.35);
}
.lightbox__inner img{width:100%; height:auto; display:block}
.lightbox__bar{
  display:flex; justify-content:space-between; align-items:center;
  color:#fff;
  padding:12px 14px;
  font-weight: 700;
}
.lightbox__close{
  background: rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  padding:8px 10px;
  border-radius: 12px;
  cursor:pointer;
}

/* FAQ */
.faq{
  margin-top: 18px;
  display:grid; gap:12px;
}
.faq details{
  border-radius: 16px;
  border: 1px solid rgba(11,11,15,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  padding: 14px 16px;
}
.faq summary{
  cursor:pointer;
  font-weight: 800;
  list-style:none;
  font-family: Montserrat, Inter, system-ui, sans-serif;
}
.faq summary::-webkit-details-marker{display:none}
.faq p{margin:10px 0 0; color: rgba(11,11,15,.72)}

/* CTA band */
.cta-band{
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(255,255,255,.08), transparent 70%),
    linear-gradient(90deg, rgba(209,11,11,.95), rgba(11,11,15,.92));
  padding: 22px;
  margin-top: 26px;
}
.cta-band__inner{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
  color:#fff;
}
.cta-band__inner h3{
  margin:0;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  letter-spacing:-0.3px;
}
.cta-band__inner p{margin:0; color: rgba(255,255,255,.88); font-size: 14px}

/* Forms */
.form{
  margin-top: 18px;
  display:grid;
  gap:12px;
}
.field{
  display:grid; gap:6px;
}
.field label{font-weight:700; font-size: 13px; color: rgba(11,11,15,.84)}
.field input, .field textarea, .field select{
  border-radius: 14px;
  border: 1px solid rgba(11,11,15,.14);
  padding: 12px 12px;
  font: inherit;
  background: rgba(255,255,255,.92);
}
.field textarea{min-height: 120px; resize: vertical}
.form__row{display:grid; gap:12px; grid-template-columns: 1fr 1fr}
.form__note{font-size: 13px; color: rgba(11,11,15,.66)}

/* Footer */
.site-footer{
  margin-top: 64px;
  background:
    radial-gradient(800px 420px at 20% 0%, rgba(255,42,42,.16), transparent 55%),
    linear-gradient(180deg, var(--black-2), var(--black));
  color: rgba(255,255,255,.92);
}
.footer__top{padding: 54px 0 30px; border-top: 1px solid rgba(255,255,255,.08)}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 22px;
}
.brand--footer img{height:62px; width:auto; filter: drop-shadow(0 14px 26px rgba(0,0,0,.35))}
.footer__blurb{margin: 12px 0 14px; color: rgba(255,255,255,.78); font-size: 14px}
.footer__contact{display:flex; gap:10px; flex-wrap:wrap; align-items:center; font-size: 14px}
.footer__dot{opacity:.8}
.footer__title{
  margin:0 0 10px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing:.3px;
  text-transform: uppercase;
}
.footer__list{list-style:none; padding:0; margin:0; display:grid; gap:8px; font-size: 14px}
.footer__list a{color: rgba(255,255,255,.82)}
.footer__list a:hover{color:#fff; text-decoration:underline}
.footer__badge{margin-top:14px; display:grid; gap:10px}
.badge{
  border-radius: 16px;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.badge__label{display:block; font-weight:800; font-size: 12px; opacity:.9}
.badge__value{display:block; font-size: 13px; opacity:.85}

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 16px 0;
}
.footer__bottomInner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}
.footer__small{
  max-width: 80ch;
  font-size: 12px;
  color: rgba(255,255,255,.64);
}
.backtotop{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}
.backtotop:hover{background: rgba(255,255,255,.12)}

/* Utilities */
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,11,15,.10);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  font-size: 12px;
  letter-spacing:.3px;
  text-transform: uppercase;
}
.pill--dark{
  background: rgba(0,0,0,.25);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.hr{
  height:1px;
  background: rgba(11,11,15,.08);
  margin: 22px 0;
}

/* Responsive */
@media (max-width: 980px){
  .nav__links{display:none}
  .nav__burger{display:inline-grid}
  .hero__inner{grid-template-columns: 1fr; padding: 58px 0 56px}
  .grid-3{grid-template-columns: 1fr; gap:14px}
  .split{grid-template-columns: 1fr}
  .footer__grid{grid-template-columns: 1fr 1fr; gap: 18px}
  .form__row{grid-template-columns: 1fr}
  .gallery{grid-template-columns: repeat(6, 1fr)}
  .g-hero{grid-column: span 6}
  .g-wide{grid-column: span 6}
  .g-mid{grid-column: span 3}
  .g-small{grid-column: span 3}
}

@media (max-width: 560px){
  .topbar__right{display:none}
  .nav__actions .btn--ghost{display:none}
  .footer__grid{grid-template-columns: 1fr}
}
