@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  --forest: #123d2b;
  --forest-dark: #08291d;
  --leaf: #69b53b;
  --leaf-dark: #4d9228;
  --ink: #17201c;
  --muted: #607067;
  --soft: #f3f5f1;
  --line: #dce3da;
  --white: #fff;
  --shadow: 0 18px 45px rgba(18, 61, 43, .12);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", Arial, sans-serif; line-height: 1.65; overflow-x: hidden; }
body::before {
  content: "BUILDSTACK • CONCEPT • BUILDSTACK • CONCEPT";
  position: fixed; inset: 42% auto auto -12%; width: 125%; z-index: 0;
  color: rgba(18, 61, 43, .035); font: 700 clamp(2rem, 7vw, 6rem)/1 "Oswald", sans-serif;
  letter-spacing: .11em; white-space: nowrap; transform: rotate(-18deg); pointer-events: none;
}
header, main, footer, .whatsapp-float, .lightbox { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Oswald", Impact, sans-serif; line-height: 1.08; text-transform: uppercase; letter-spacing: -.015em; }
h1 { max-width: 850px; font-size: clamp(3.5rem, 7.5vw, 7rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 1.35rem; }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.soft { background: var(--soft); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #e4c441; outline-offset: 4px; }
.eyebrow { color: var(--leaf-dark); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #bce79f; }
.lead { color: var(--ink); font-size: 1.18rem; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid var(--leaf); border-radius: 3px; background: var(--leaf); color: var(--forest-dark); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: .25s ease; }
.button:hover { border-color: #80cc51; background: #80cc51; transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-outline { border-color: rgba(255,255,255,.65); background: transparent; color: white; }
.button-outline:hover { border-color: white; background: white; color: var(--forest-dark); }
.button-white { border-color: white; background: white; color: var(--forest-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; gap: 10px; color: var(--forest); font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.light-link { color: #c9efad; }

.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(18,61,43,.09); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(8,41,29,.1); }
.nav-wrap { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; justify-content: flex-start; height: 84px; width: 140px; }
.brand img { width: auto; height: auto; max-width: 100%; max-height: 82px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 25px); font-size: .76rem; font-weight: 700; letter-spacing: .035em; }
.site-nav > a:not(.button) { padding-block: 28px; position: relative; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; bottom: 22px; width: 0; height: 2px; background: var(--leaf); transition: width .2s; }
.site-nav > a:hover::after { width: 100%; }
.menu-toggle { display: none; width: 45px; height: 45px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 6px auto; background: var(--forest); transition: .2s; }

.hero { min-height: 94vh; display: flex; align-items: center; padding: 150px 0 100px; color: white; background: linear-gradient(90deg, rgba(4,33,23,.93) 0%, rgba(4,33,23,.72) 54%, rgba(4,33,23,.3) 100%), url("assets/images/completed-tunnels.webp") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; right: 5%; bottom: 0; width: 28%; height: 5px; background: var(--leaf); }
.hero-content { width: min(calc(100% - 40px), var(--container)); }
.hero-copy { max-width: 690px; color: rgba(255,255,255,.83); font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 2rem; }
.scroll-cue { position: absolute; right: max(20px, calc((100% - var(--container))/2)); bottom: 32px; display: flex; gap: 12px; color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.split.reverse { grid-template-columns: 1fr 1fr; }
.image-frame { position: relative; }
.image-frame img { width: 100%; max-height: 610px; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame::before { content: ""; position: absolute; top: -18px; left: -18px; width: 38%; height: 44%; border-top: 5px solid var(--leaf); border-left: 5px solid var(--leaf); z-index: 1; }
.image-label { position: absolute; right: -20px; bottom: 30px; max-width: 190px; padding: 16px 20px; background: var(--forest); color: white; font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }
.section-copy { max-width: 630px; }

.benefit-strip { padding: 32px 0; background: var(--forest); }
.benefits { display: grid; grid-template-columns: repeat(6, 1fr); }
.benefits div { padding: 5px 18px; border-right: 1px solid rgba(255,255,255,.15); color: white; font-size: .78rem; font-weight: 600; text-align: center; }
.benefits div:last-child { border-right: 0; }
.benefits span { display: block; margin-bottom: 4px; color: var(--leaf); font: 600 .9rem "Oswald"; }

.section-heading { max-width: 700px; margin-bottom: 50px; }
.section-heading > p:last-child { font-size: 1.05rem; }
.heading-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.heading-row > p { max-width: 430px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-height: 255px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 12px; transition: .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(105,181,59,.7); box-shadow: var(--shadow); }
.service-card > span { display: inline-block; margin-bottom: 42px; color: var(--leaf-dark); font: 600 1rem "Oswald"; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { font-size: .92rem; margin-bottom: 0; }

.sizes-section { background: var(--forest-dark); color: white; }
.sizes-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.sizes-intro p { color: rgba(255,255,255,.67); }
.sizes-intro img { width: 100%; max-height: 290px; object-fit: cover; margin-top: 35px; border-radius: 10px; }
.size-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.2); }
.size-list div { display: flex; justify-content: space-between; gap: 15px; padding: 20px 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.size-list div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); }
.size-list strong { font-family: "Oswald"; font-size: 1.2rem; }
.size-list span { color: #b9c4be; font-size: .85rem; }
.size-list > p { grid-column: 1 / -1; padding: 22px 18px 0; color: #b9c4be; font-size: .85rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 310px; gap: 16px; }
.gallery-item { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--forest); cursor: zoom-in; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); opacity: .82; }
.gallery-item span { position: absolute; left: 18px; bottom: 16px; padding: 7px 11px; background: rgba(8,41,29,.88); color: white; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.lightbox { width: min(92vw, 1100px); max-height: 90vh; padding: 0; border: 0; border-radius: 10px; background: #071d15; color: white; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox p { margin: 0; padding: 15px 22px; color: white; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; color: var(--ink); font-size: 1.8rem; cursor: pointer; }

.process-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; counter-reset: process; }
.process-grid li { position: relative; padding: 35px 30px 10px; border-top: 3px solid var(--line); }
.process-grid li::before { content: ""; position: absolute; top: -8px; left: 30px; width: 13px; height: 13px; border-radius: 50%; background: var(--leaf); }
.process-grid span { color: var(--leaf-dark); font: 600 1rem "Oswald"; }
.process-grid h3 { min-height: 58px; margin-top: 22px; }

.why-image { position: relative; height: 730px; overflow: hidden; border-radius: var(--radius); }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.reason-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.reason-list div { padding-top: 15px; border-top: 2px solid var(--line); }
.reason-list strong { color: var(--forest); }
.reason-list p { margin: 6px 0 0; font-size: .86rem; }

.cta-band { padding: 75px 0; color: white; background: var(--forest); }
.cta-inner { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.cta-inner > div:first-child { max-width: 750px; }
.cta-inner h2 { font-size: clamp(2.3rem, 5vw, 4.3rem); }
.cta-inner p { color: rgba(255,255,255,.72); margin-bottom: 0; }
.cta-inner .button-row { flex-shrink: 0; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.contact-copy { position: sticky; top: 130px; }
.contact-links { margin-top: 42px; }
.contact-links a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-links span { display: block; color: var(--leaf-dark); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-links strong { overflow-wrap: anywhere; }
.quote-form { padding: clamp(28px, 5vw, 56px); background: var(--soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-heading h2 { font-size: 2.8rem; }
.form-heading span { color: var(--leaf-dark); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0; }
.form-grid label { font-size: .8rem; font-weight: 700; }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #cdd7ca; border-radius: 4px; background: white; color: var(--ink); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--leaf); border-color: var(--leaf); }
.honeypot { position: absolute; left: -9999px; }
.form-note { margin: 15px 0 0; font-size: .76rem; }

.site-footer { padding: 70px 0 24px; background: #071f16; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1.2fr 1fr; gap: 45px; }
.footer-grid > div:not(.footer-brand), .footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.footer-grid strong { margin-bottom: 12px; color: #bce79f; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a, .footer-grid p { color: rgba(255,255,255,.7); font-size: .88rem; }
.footer-brand img { width: 190px; height: auto; object-fit: contain; border-radius: 4px; }
.footer-brand p { margin: -10px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.46); font-size: .75rem; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 15; padding: 13px 18px; border-radius: 50px; background: #25d366; color: #07351c; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .78rem; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; position: relative; z-index: 23; }
  .site-nav { position: fixed; top: 0; right: -100%; width: min(86vw, 380px); height: 100vh; padding: 110px 35px 35px; background: white; flex-direction: column; align-items: stretch; gap: 0; box-shadow: -20px 0 50px rgba(0,0,0,.15); transition: right .3s; }
  .site-nav.open { right: 0; }
  .site-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: 24px; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .benefits { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-auto-rows: 270px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .nav-wrap { height: 84px; }
  .brand { width: 120px; height: 76px; }
  .brand img { width: auto; max-height: 74px; object-fit: contain; }
  .hero { min-height: 800px; padding-top: 130px; background-position: 61% center; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .split, .split.reverse, .sizes-layout, .contact-layout { grid-template-columns: 1fr; }
  .image-frame { order: 2; }
  .image-label { right: 12px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefits div:nth-child(even) { border-right: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .service-card > span { margin-bottom: 25px; }
  .sizes-intro img { display: none; }
  .size-list { grid-template-columns: 1fr; }
  .size-list div:nth-child(odd) { border-right: 0; }
  .heading-row, .cta-inner { display: block; }
  .heading-row > p { max-width: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { padding-bottom: 25px; }
  .process-grid h3 { min-height: 0; }
  .why-image { height: 500px; order: 2; }
  .reason-list { grid-template-columns: 1fr; }
  .cta-inner .button-row { margin-top: 30px; }
  .contact-copy { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 8px; }
}

@media (max-width: 480px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits div { border-right: 0; }
  .gallery { display: block; }
  .gallery-item { width: 100%; height: 260px; margin-bottom: 14px; }
  .button-row .button { width: 100%; }
  .whatsapp-float { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
