:root {
    --bg: #09100e;
    --bg-soft: #0d1714;
    --panel: #101b18;
    --panel-2: #14211d;
    --line: rgba(255,255,255,.11);
    --text: #f5f7f5;
    --muted: #aeb9b4;
    --teal: #2b846e;
    --green: #5bb53e;
    --green-2: #7bcc55;
    --max: 1220px;
    --radius: 22px;
    --shadow: 0 28px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--green); color: #071008; padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7,13,11,.92); backdrop-filter: blur(18px); border-color: var(--line); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: 0 0 auto; }
.brand img { width: 230px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .84rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.main-nav > a:not(.nav-cta) { position: relative; color: rgba(255,255,255,.8); }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--green); transition: right .2s ease; }
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; }
.main-nav > a:hover, .main-nav > a.active { color: #fff; }
.nav-cta { padding: 13px 18px; border-radius: 999px; background: linear-gradient(135deg,var(--green),var(--green-2)); color: #081008; box-shadow: 0 10px 28px rgba(91,181,62,.2); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 10px; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 790px; padding: 145px 0 90px; overflow: hidden; display: grid; align-items: center; background: radial-gradient(circle at 10% 25%, rgba(43,132,110,.18), transparent 38%), linear-gradient(180deg,#080e0c,#0b1311); }
.hero::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom,black,transparent 75%); }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -170px; top: -210px; border-radius: 50%; background: rgba(91,181,62,.12); filter: blur(90px); }
.hero-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 65px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--green-2); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3rem,5.2vw,5.7rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--green-2); font-style: normal; }
.hero-lead { max-width: 650px; margin: 27px 0 0; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 0 23px; border: 1px solid transparent; border-radius: 9px; font-weight: 800; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button svg, .text-link svg { width: 20px; height: 20px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #081008; background: linear-gradient(135deg,var(--green),var(--green-2)); box-shadow: 0 16px 38px rgba(91,181,62,.19); }
.button-primary:hover { box-shadow: 0 20px 45px rgba(91,181,62,.27); }
.button-ghost { border-color: var(--line); color: #fff; background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(123,204,85,.55); background: rgba(91,181,62,.07); }
.hero-points { display: flex; gap: 18px 28px; flex-wrap: wrap; margin-top: 32px; color: #cad2ce; font-size: .88rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; height: 16px; color: var(--green-2); }
.hero-image-wrap { position: relative; min-height: 560px; border-radius: 28px 28px 100px 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.1); }
.hero-image-wrap::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg,rgba(6,11,9,.35),transparent 45%), linear-gradient(0deg,rgba(6,11,9,.35),transparent 35%); pointer-events:none; }
.hero-image-wrap img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: 55% center; }
.hero-card { position: absolute; z-index: 2; left: 28px; bottom: 26px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(9,16,14,.78); backdrop-filter: blur(13px); }
.hero-card span, .hero-card strong { display:block; }
.hero-card span { color: var(--muted); font-size: .78rem; }
.hero-card strong { margin-top: 2px; font-size: 1.05rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 28px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 9px; left: 50%; width: 4px; height: 8px; border-radius: 8px; background: var(--green-2); transform: translateX(-50%); animation: scroll 1.7s infinite; }
@keyframes scroll { 0% { transform: translate(-50%,0); opacity:0;} 25%{opacity:1;} 100%{transform:translate(-50%,18px);opacity:0;} }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c1512; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid > div { min-height: 112px; padding: 24px; display:flex; align-items:center; justify-content:center; gap:13px; border-right:1px solid var(--line); color:var(--muted); font-size:.92rem; }
.trust-grid > div:last-child { border-right:0; }
.trust-grid svg { flex:0 0 auto; width:27px; height:27px; color:var(--green-2); }
.trust-grid strong { display:block; color:#fff; }

.section { padding: 112px 0; }
.section-heading { display:grid; grid-template-columns:1.45fr .75fr; gap:70px; align-items:end; margin-bottom:52px; }
.section-heading h2, .process h2, .about h2, .quote h2 { margin:0; font-size:clamp(2.2rem,4vw,4.1rem); line-height:1.05; letter-spacing:-.045em; }
.section-heading > p { margin:0; color:var(--muted); }
.services { background:#0b1311; }
.services-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.service-card { min-height:300px; position:relative; padding:32px 27px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:linear-gradient(145deg,rgba(255,255,255,.012),transparent); transition:background .25s ease, transform .25s ease; }
.service-card:hover { z-index:1; transform:translateY(-5px); background:linear-gradient(145deg,rgba(91,181,62,.105),rgba(43,132,110,.035)); }
.service-icon { width:48px; height:48px; display:grid; place-items:center; border:1px solid rgba(123,204,85,.35); border-radius:13px; color:var(--green-2); }
.service-icon svg { width:26px; height:26px; }
.service-number { position:absolute; top:30px; right:28px; color:rgba(255,255,255,.2); font-size:.8rem; letter-spacing:.12em; }
.service-card h3 { margin:28px 0 12px; font-size:1.2rem; }
.service-card p { margin:0; color:var(--muted); font-size:.91rem; }

.projects { background:linear-gradient(180deg,#09100e,#0d1714); }
.projects-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:16px; }
.project-card { position:relative; min-height:410px; grid-column:span 6; padding:0; border:0; border-radius:18px; overflow:hidden; text-align:left; cursor:pointer; background:#13201c; }
.project-card:nth-child(2), .project-card:nth-child(3) { grid-column:span 3; }
.project-card img { width:100%; height:100%; object-fit:cover; transition:transform .65s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform:scale(1.055); }
.project-overlay { position:absolute; inset:auto 0 0; min-height:120px; padding:34px 28px 24px; display:grid; grid-template-columns:1fr auto; align-items:end; background:linear-gradient(transparent,rgba(6,11,9,.92)); }
.project-overlay small, .project-overlay strong { grid-column:1; display:block; }
.project-overlay small { color:var(--green-2); font-size:.72rem; text-transform:uppercase; letter-spacing:.13em; }
.project-overlay strong { margin-top:3px; font-size:1.27rem; }
.project-overlay i { grid-column:2; grid-row:1 / 3; width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.1); color:#fff; font-style:normal; }
.project-overlay svg { width:20px; height:20px; }

.process { background:#0d1714; }
.process-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:95px; align-items:start; }
.process-intro { position:sticky; top:130px; }
.process-intro > p:not(.eyebrow) { max-width:520px; color:var(--muted); }
.text-link { display:inline-flex; align-items:center; gap:10px; margin-top:18px; color:var(--green-2); font-weight:800; }
.process-list { list-style:none; padding:0; margin:0; }
.process-list li { display:grid; grid-template-columns:70px 1fr; gap:24px; padding:0 0 34px; margin-bottom:34px; border-bottom:1px solid var(--line); }
.process-list li > span { width:58px; height:58px; display:grid; place-items:center; border:1px solid rgba(123,204,85,.35); border-radius:50%; color:var(--green-2); font-weight:800; }
.process-list strong { display:block; font-size:1.3rem; }
.process-list p { margin:8px 0 0; color:var(--muted); }

.about { background:#09100e; }
.about-panel { display:grid; grid-template-columns:1.05fr .95fr; gap:70px; padding:72px; border:1px solid var(--line); border-radius:28px; background:radial-gradient(circle at 100% 0,rgba(43,132,110,.14),transparent 38%),#0e1815; }
.about-copy .lead { margin:25px 0 14px; font-size:1.15rem; color:#e8eeea; }
.about-copy > p:not(.eyebrow):not(.lead) { color:var(--muted); }
.about-tags { display:flex; flex-wrap:wrap; gap:9px; margin-top:26px; }
.about-tags span { padding:8px 12px; border:1px solid var(--line); border-radius:999px; color:#cbd3cf; font-size:.8rem; }
.about-values { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.about-values article { min-height:190px; padding:25px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.about-values svg { width:29px; height:29px; color:var(--green-2); }
.about-values strong { display:block; margin-top:18px; }
.about-values p { margin:7px 0 0; color:var(--muted); font-size:.87rem; }

.quote { background:linear-gradient(135deg,#0d1714,#0a110f); border-top:1px solid var(--line); }
.quote-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; align-items:start; }
.quote-copy > p:not(.eyebrow) { color:var(--muted); max-width:500px; }
.contact-details { display:grid; gap:14px; margin-top:35px; }
.contact-details a { display:flex; align-items:center; gap:15px; padding:15px 0; border-bottom:1px solid var(--line); }
.contact-details svg { width:24px; height:24px; color:var(--green-2); }
.contact-details small, .contact-details strong { display:block; }
.contact-details small { color:var(--muted); font-size:.74rem; text-transform:uppercase; letter-spacing:.1em; }
.contact-details strong { margin-top:2px; }
.quote-form-wrap { padding:34px; border:1px solid var(--line); border-radius:22px; background:rgba(255,255,255,.022); box-shadow:var(--shadow); }
.quote-form { display:grid; gap:18px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.quote-form label > span { display:block; margin-bottom:7px; color:#dfe6e2; font-size:.8rem; font-weight:700; }
.quote-form input, .quote-form select, .quote-form textarea { width:100%; color:#fff; background:#0a120f; border:1px solid rgba(255,255,255,.14); border-radius:9px; padding:13px 14px; outline:none; transition:border-color .2s ease, box-shadow .2s ease; }
.quote-form input, .quote-form select { height:50px; }
.quote-form textarea { resize:vertical; min-height:145px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(91,181,62,.12); }
.quote-form select option { background:#101916; }
.privacy-check { display:grid !important; grid-template-columns:18px 1fr; align-items:start; gap:10px; color:var(--muted); font-size:.79rem; }
.privacy-check input { width:17px; height:17px; margin:2px 0 0; accent-color:var(--green); }
.privacy-check span { margin:0 !important; color:var(--muted) !important; font-weight:400 !important; }
.privacy-check button, .footer-bottom button { padding:0; background:none; border:0; color:var(--green-2); text-decoration:underline; cursor:pointer; }
.form-submit { width:100%; border:0; }
.hp-field { position:absolute !important; left:-9999px !important; }
.form-notice { margin-bottom:18px; padding:13px 15px; border-radius:9px; font-size:.9rem; }
.form-notice.success { background:rgba(91,181,62,.11); border:1px solid rgba(91,181,62,.35); }
.form-notice.error { background:rgba(220,70,70,.1); border:1px solid rgba(220,70,70,.35); }

.site-footer { padding:60px 0 20px; background:#060b09; border-top:1px solid var(--line); }
.footer-main { display:grid; grid-template-columns:1.2fr .8fr .6fr; gap:70px; align-items:start; padding-bottom:42px; }
.footer-brand img { width:235px; height:auto; }
.footer-brand p { max-width:370px; color:var(--muted); font-size:.88rem; }
.footer-main nav, .footer-actions { display:grid; gap:10px; }
.footer-main nav a, .footer-actions a { color:#cbd3cf; font-size:.86rem; }
.footer-main a:hover { color:var(--green-2); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-top:20px; border-top:1px solid var(--line); color:#7f8a85; font-size:.76rem; }

.floating-whatsapp { position:fixed; z-index:80; right:24px; bottom:24px; display:flex; align-items:center; gap:9px; min-height:48px; padding:0 17px; border-radius:999px; background:var(--green); color:#081008; font-weight:800; box-shadow:0 14px 40px rgba(0,0,0,.35); }
.floating-whatsapp svg { width:20px; height:20px; }

.modal[hidden], .project-modal[hidden] { display:none; }
.modal, .project-modal { position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:20px; }
.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.76); backdrop-filter:blur(8px); }
.modal-dialog { position:relative; width:min(760px,100%); max-height:88vh; overflow:auto; padding:38px; border:1px solid var(--line); border-radius:20px; background:#101916; box-shadow:var(--shadow); }
.modal-dialog h2 { margin:0 0 24px; font-size:2.2rem; }
.modal-content { color:var(--muted); }
.modal-content a { color:var(--green-2); }
.modal-close { position:absolute; top:12px; right:16px; width:42px; height:42px; border:0; border-radius:50%; background:rgba(255,255,255,.08); color:#fff; font-size:1.7rem; cursor:pointer; }
.project-dialog { position:relative; width:min(1050px,100%); overflow:hidden; border:1px solid var(--line); border-radius:20px; background:#0d1613; box-shadow:var(--shadow); }
.project-dialog > img { width:100%; max-height:76vh; object-fit:cover; }
.project-dialog > div { position:absolute; inset:auto 0 0; padding:60px 28px 24px; background:linear-gradient(transparent,rgba(6,11,9,.95)); }
.project-dialog small, .project-dialog strong { display:block; }
.project-dialog small { color:var(--green-2); text-transform:uppercase; letter-spacing:.12em; }
.project-dialog strong { font-size:1.4rem; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .75s ease, transform .75s ease; transition-delay:var(--delay,0ms); }
.reveal-delay-1 { --delay:110ms; }
.reveal.is-visible { opacity:1; transform:none; }

@media (max-width: 1080px) {
    .main-nav { gap:16px; font-size:.76rem; }
    .brand img { width:205px; }
    .hero-grid { gap:35px; }
    .services-grid { grid-template-columns:repeat(2,1fr); }
    .project-card, .project-card:nth-child(2), .project-card:nth-child(3) { grid-column:span 6; }
    .process-grid, .quote-grid { gap:55px; }
    .about-panel { padding:48px; gap:45px; }
}

@media (max-width: 860px) {
    .container { width:min(calc(100% - 28px),var(--max)); }
    .header-inner { min-height:76px; }
    .menu-toggle { display:block; z-index:2; }
    .main-nav { position:fixed; inset:0 0 auto; min-height:100vh; padding:110px 30px 40px; display:flex; flex-direction:column; align-items:flex-start; gap:22px; background:rgba(7,13,11,.98); transform:translateX(100%); transition:transform .28s ease; font-size:1rem; }
    .main-nav.open { transform:none; }
    .main-nav .nav-cta { margin-top:8px; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
    .hero { padding:120px 0 75px; }
    .hero-grid, .section-heading, .process-grid, .about-panel, .quote-grid { grid-template-columns:1fr; }
    .hero-copy { padding-right:0; }
    .hero-visual { max-width:720px; }
    .hero-image-wrap, .hero-image-wrap img { min-height:460px; }
    .trust-grid { grid-template-columns:1fr 1fr; }
    .trust-grid > div:nth-child(2) { border-right:0; }
    .trust-grid > div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
    .section { padding:85px 0; }
    .section-heading { gap:18px; }
    .process-intro { position:static; }
    .about-panel { padding:36px; }
    .footer-main { grid-template-columns:1fr 1fr; }
    .footer-brand { grid-column:1 / -1; }
}

@media (max-width: 600px) {
    .brand img { width:190px; }
    .hero { min-height:auto; }
    .hero h1 { font-size:clamp(2.65rem,13vw,4rem); }
    .hero-lead { font-size:1rem; }
    .button { width:100%; }
    .hero-points { display:grid; gap:10px; }
    .hero-image-wrap, .hero-image-wrap img { min-height:390px; }
    .hero-card { left:16px; right:16px; bottom:16px; }
    .scroll-cue { display:none; }
    .trust-grid { grid-template-columns:1fr; }
    .trust-grid > div { min-height:84px; justify-content:flex-start; border-right:0; border-bottom:1px solid var(--line); }
    .services-grid { grid-template-columns:1fr; }
    .service-card { min-height:auto; }
    .projects-grid { display:grid; grid-template-columns:1fr; }
    .project-card, .project-card:nth-child(2), .project-card:nth-child(3) { grid-column:auto; min-height:360px; }
    .process-list li { grid-template-columns:52px 1fr; gap:16px; }
    .process-list li > span { width:48px; height:48px; }
    .about-panel { padding:27px 22px; }
    .about-values { grid-template-columns:1fr; }
    .quote-form-wrap { padding:22px; }
    .form-row { grid-template-columns:1fr; }
    .footer-main { grid-template-columns:1fr; gap:35px; }
    .footer-brand { grid-column:auto; }
    .footer-bottom { flex-direction:column; align-items:flex-start; }
    .floating-whatsapp span { display:none; }
    .floating-whatsapp { width:52px; padding:0; justify-content:center; }
    .modal-dialog { padding:30px 20px; }
}

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