:root {
    --color-primary: #111111;
    --color-primary-soft: #1c1c1c;
    --color-accent: #f2b51d;
    --color-accent-hover: #dca311;
    --color-text: #181818;
    --color-muted: #686866;
    --color-bg: #ffffff;
    --color-bg-soft: #f6f6f3;
    --color-border: #e5e5e0;
    --color-whatsapp: #25d366;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow: 0 16px 44px rgba(20, 20, 16, .08);
    --container: 1180px;
    --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; color: var(--color-text); background: var(--color-bg); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 5vw, 2.65rem); }
h3 { font-size: 1.16rem; }
p { margin-bottom: 16px; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.container { width: min(100% - 36px, var(--container)); margin-inline: auto; }
.section { padding: 70px 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); border-radius: var(--radius-sm); color: #fff; background: #111; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #ffca3b; outline-offset: 3px; }
.tracking-frame { position: absolute; width: 0; height: 0; border: 0; visibility: hidden; }
.eyebrow { margin-bottom: 9px; color: var(--color-accent-hover); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { color: var(--color-muted); }
.title-line { display: block; width: 42px; height: 3px; margin: -7px 0 22px; background: var(--color-accent); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border: 1px solid var(--color-accent); border-radius: var(--radius-sm); color: #171300; background: var(--color-accent); font-size: .92rem; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { border-color: var(--color-accent-hover); background: var(--color-accent-hover); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 20px; height: 20px; }
.button-large { min-height: 54px; padding: 14px 21px; }
.button-small { min-height: 42px; padding: 10px 16px; font-size: .82rem; }
.button-outline { color: var(--color-text); background: transparent; }
.button-outline:hover { color: #171300; }

.site-header { position: sticky; z-index: 50; top: 0; height: var(--header-height); border-bottom: 1px solid rgba(0,0,0,.06); background: rgba(255,255,255,.96); box-shadow: 0 3px 16px rgba(0,0,0,.04); backdrop-filter: blur(10px); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 18px; }
.brand { position: relative; z-index: 2; display: block; width: 178px; flex: 0 0 auto; }
.brand img { width: 100%; }
.menu-toggle { position: relative; z-index: 2; display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; border-radius: 2px; background: #171717; transition: transform .2s ease, opacity .2s ease; }
.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); }
.main-nav { position: fixed; inset: var(--header-height) 0 auto; display: none; padding: 12px 18px 22px; border-bottom: 1px solid var(--color-border); background: #fff; box-shadow: var(--shadow); }
.main-nav.is-open { display: grid; }
.main-nav a { min-height: 47px; display: flex; align-items: center; border-bottom: 1px solid var(--color-border); font-size: .95rem; font-weight: 650; text-decoration: none; }
.main-nav a:last-child { border-bottom: 0; }
.header-cta { display: none; }

.hero { position: relative; min-height: 640px; display: flex; align-items: center; isolation: isolate; color: #fff; background: #1a211e; }
.hero-media, .hero-overlay { position: absolute; z-index: -2; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(4,12,16,.94) 0%, rgba(5,14,19,.78) 52%, rgba(4,10,13,.34) 100%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 55%); }
.hero-content { padding-top: 48px; padding-bottom: 68px; }
.hero .eyebrow { color: #ffd04f; }
.hero h1 { max-width: 710px; margin-bottom: 18px; font-size: clamp(2.2rem, 9.6vw, 4.15rem); text-wrap: balance; }
.hero h1 span { color: var(--color-accent); }
.hero-lead { max-width: 650px; margin-bottom: 25px; color: rgba(255,255,255,.9); font-size: clamp(1rem, 2vw, 1.15rem); }
.hero .button { width: 100%; max-width: 440px; }
.hero-proof { display: grid; gap: 9px; margin: 25px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.86); font-size: .82rem; }
.hero-proof li { display: flex; align-items: flex-start; gap: 8px; }
.hero-proof span { color: var(--color-accent); font-weight: 900; }

.trust-strip { position: relative; z-index: 3; margin-top: -26px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); }
.trust-grid article { display: grid; min-height: 128px; place-content: center; padding: 17px 10px; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); text-align: center; }
.trust-grid article:nth-child(even) { border-right: 0; }
.trust-grid article:nth-child(n+3) { border-bottom: 0; }
.trust-grid svg { width: 27px; height: 27px; margin: 0 auto 8px; }
.trust-grid strong { font-size: 1.08rem; }
.trust-grid span { color: var(--color-muted); font-size: .76rem; }

.split-layout { display: grid; gap: 34px; }
.about-image { overflow: hidden; border-radius: var(--radius-md); background: #ddd; aspect-ratio: 1; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.section-copy p { color: var(--color-muted); }
.section-copy h2 { max-width: 580px; color: var(--color-primary); }
.section-copy .button { margin-top: 6px; }

.process { padding-top: 18px; background: linear-gradient(180deg, #fff 0, var(--color-bg-soft) 100%); }
.process-grid { display: grid; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; box-shadow: 0 10px 35px rgba(0,0,0,.04); }
.process-grid article { position: relative; padding: 26px 24px; border-bottom: 1px solid var(--color-border); }
.process-grid article:last-child { border-bottom: 0; }
.process-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.process-top svg { width: 42px; height: 42px; }
.process-top strong { color: #232323; font-size: 1.45rem; }
.process-grid h3 { margin-bottom: 10px; }
.process-grid p { margin: 0; color: var(--color-muted); font-size: .9rem; }

.services { background: var(--color-bg-soft); }
.services-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 22px rgba(20,20,10,.035); }
.service-card picture { aspect-ratio: 16 / 10; overflow: hidden; background: #e9e9e5; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover img { transform: scale(1.035); }
.service-body { display: flex; flex: 1; flex-direction: column; padding: 21px; }
.service-body h3 { margin-bottom: 7px; }
.service-body p { color: var(--color-muted); font-size: .88rem; }
.service-body .service-highlight { min-height: auto; color: var(--color-accent-hover); font-weight: 750; }
.service-body .service-indication { margin-top: auto; padding-top: 5px; color: var(--color-text); font-size: .82rem; }
.service-body > a { display: flex; min-height: 42px; align-items: center; justify-content: space-between; margin-top: 4px; border-top: 1px solid var(--color-border); padding-top: 14px; color: var(--color-text); font-size: .85rem; font-weight: 750; text-decoration: none; }
.service-body > a:hover { color: #a87800; }

.mid-cta { padding: 52px 0; color: #fff; background: var(--color-primary); }
.mid-cta-inner { display: grid; gap: 24px; align-items: center; }
.mid-cta h2 { margin-bottom: 10px; }
.mid-cta p:not(.eyebrow) { max-width: 700px; margin: 0; color: rgba(255,255,255,.72); }
.mid-cta .button { justify-self: start; }

.projects { background: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.project-card { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius-sm); background: #ddd; cursor: zoom-in; aspect-ratio: 1; }
.project-card picture, .project-card img { width: 100%; height: 100%; }
.project-card img { object-fit: cover; transition: transform .3s ease; }
.project-card span { position: absolute; inset: auto 8px 8px; padding: 5px 7px; border-radius: 5px; color: #fff; background: rgba(0,0,0,.7); font-size: .68rem; opacity: 0; transition: opacity .2s ease; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.04); }
.project-card:hover span, .project-card:focus-visible span { opacity: 1; }
.centered-action { display: flex; justify-content: center; margin-top: 25px; }

.guarantee { margin-inline: 18px; border-radius: var(--radius-md); padding: 34px 0; color: #fff; background: linear-gradient(110deg, #121212, #282826); }
.guarantee-grid { display: grid; gap: 22px; align-items: center; }
.guarantee-title-wrap { display: flex; align-items: center; gap: 16px; }
.guarantee-title-wrap svg { width: 58px; height: 58px; flex: 0 0 auto; color: var(--color-accent); stroke-width: 1.5; }
.guarantee h2 { margin: 0; font-size: clamp(1.55rem, 5vw, 2.15rem); }
.guarantee p { margin: 0; color: rgba(255,255,255,.72); }
.guarantee ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.guarantee li::before { content: "✓"; margin-right: 8px; color: var(--color-accent); font-weight: 900; }

.contact { padding-bottom: 90px; }
.contact-panel { display: grid; gap: 34px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px 20px; background: var(--color-bg-soft); box-shadow: var(--shadow); }
.contact-copy > p:not(.eyebrow) { color: var(--color-muted); }
.check-list { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; font-size: .9rem; }
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { position: absolute; left: 0; content: "✓"; color: var(--color-accent-hover); font-weight: 900; }
.direct-contact { display: flex; align-items: center; gap: 12px; padding-top: 19px; border-top: 1px solid var(--color-border); }
.direct-contact svg { width: 42px; height: 42px; color: var(--color-whatsapp); }
.direct-contact span { display: block; color: var(--color-muted); font-size: .77rem; }
.direct-contact a { font-size: 1.08rem; font-weight: 800; text-decoration: none; }
.lead-form { position: relative; padding: 24px 18px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; }
.lead-form h3 { margin-bottom: 6px; font-size: 1.35rem; }
.lead-form > p { color: var(--color-muted); font-size: .86rem; }
.form-row { margin-bottom: 15px; }
.form-row label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 700; }
.form-row label span { color: var(--color-muted); font-weight: 500; }
.form-row input { width: 100%; min-height: 48px; border: 1px solid #d8d8d3; border-radius: 7px; padding: 10px 12px; color: var(--color-text); background: #fff; }
.form-row input:focus { border-color: #b8880c; outline: 3px solid rgba(242,181,29,.22); }
.form-row input[aria-invalid="true"] { border-color: #a92121; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button-submit { width: 100%; border: 0; }
.button-submit:disabled { cursor: wait; opacity: .65; }
.form-privacy { margin: 10px 0 0; text-align: center; font-size: .72rem !important; }
.form-message { display: none; margin: 13px 0 0; border-radius: 6px; padding: 10px; color: #711b1b !important; background: #fff0f0; }
.form-message.is-visible { display: block; }
.form-message.is-success { color: #155c2a !important; background: #effaf2; }

.lightbox { width: min(94vw, 900px); max-width: none; border: 0; border-radius: var(--radius-sm); padding: 10px; background: #111; }
.lightbox::backdrop { background: rgba(0,0,0,.86); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { padding: 9px 5px 3px; color: #fff; text-align: center; }
.lightbox-close { position: absolute; z-index: 2; top: 15px; right: 15px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(0,0,0,.7); font-size: 1.7rem; line-height: 1; cursor: pointer; }

.exit-popup { width: min(calc(100% - 32px), 540px); max-width: none; overflow: visible; border: 0; border-radius: var(--radius-lg); padding: 0; color: var(--color-text); background: transparent; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.exit-popup::backdrop { background: rgba(6,10,10,.76); backdrop-filter: blur(3px); }
.exit-popup-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 34px 24px 25px; background: #fff; text-align: center; }
.exit-popup-card::before { position: absolute; top: 0; right: 0; left: 0; height: 6px; content: ""; background: var(--color-accent); }
.exit-popup-close { position: absolute; top: 11px; right: 11px; display: grid; width: 42px; height: 42px; place-content: center; border: 0; border-radius: 50%; color: #555; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.exit-popup-close:hover { background: var(--color-bg-soft); }
.exit-popup-icon { display: grid; width: 62px; height: 62px; place-content: center; margin: 3px auto 17px; border-radius: 50%; color: #292000; background: #fff3c7; }
.exit-popup-icon svg { width: 34px; height: 34px; }
.exit-popup .eyebrow { margin-bottom: 8px; }
.exit-popup h2 { max-width: 450px; margin: 0 auto 13px; font-size: clamp(1.65rem, 6vw, 2.15rem); text-wrap: balance; }
.exit-popup p:not(.eyebrow) { max-width: 440px; margin: 0 auto 22px; color: var(--color-muted); }
.exit-popup-cta { width: 100%; }
.exit-popup-dismiss { min-height: 42px; margin-top: 8px; border: 0; padding: 8px 14px; color: var(--color-muted); background: transparent; font-size: .82rem; text-decoration: underline; cursor: pointer; }

.site-footer { padding: 52px 0 calc(88px + env(safe-area-inset-bottom)); color: #fff; background: #0c0c0c; }
.footer-grid { display: grid; gap: 33px; }
.footer-logo { width: 206px; border-radius: 6px; padding: 8px 10px; background: #fff; }
.footer-brand p { max-width: 310px; margin: 17px 0 0; color: rgba(255,255,255,.58); font-size: .8rem; }
.site-footer h2 { margin-bottom: 13px; color: rgba(255,255,255,.9); font-size: .83rem; letter-spacing: .02em; }
.site-footer nav, .site-footer address { display: grid; gap: 7px; font-size: .79rem; font-style: normal; }
.site-footer a { color: rgba(255,255,255,.67); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; margin-top: 38px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; color: rgba(255,255,255,.48); font-size: .72rem; }
.footer-bottom p { margin: 0; }
.site-footer .footer-credit { align-self: flex-start; color: rgba(255,255,255,.3); font-size: .62rem; letter-spacing: .01em; }
.site-footer .footer-credit:hover { color: rgba(255,255,255,.55); }
.floating-whatsapp { display: none; }
.mobile-cta { position: fixed; z-index: 45; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); left: 12px; display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; border-radius: 9px; color: #fff; background: #1ead55; box-shadow: 0 8px 25px rgba(0,0,0,.3); font-size: .93rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, opacity .2s ease; }
.mobile-cta svg { width: 21px; height: 21px; }
body.form-focused .mobile-cta { pointer-events: none; opacity: 0; transform: translateY(130%); }

.simple-page { min-height: 100vh; display: flex; flex-direction: column; }
.simple-page main { flex: 1; display: grid; place-items: center; padding: 75px 0; background: var(--color-bg-soft); }
.simple-card { max-width: 680px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 36px 24px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.simple-card .status-icon { display: grid; width: 66px; height: 66px; place-content: center; margin: 0 auto 22px; border-radius: 50%; color: #251b00; background: var(--color-accent); font-size: 1.8rem; font-weight: 900; }
.simple-card p { color: var(--color-muted); }
.simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 25px; }

@media (min-width: 600px) {
    .container { width: min(100% - 44px, var(--container)); }
    .section { padding: 88px 0; }
    .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .projects-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
    .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
    .site-footer { padding-bottom: 45px; }
    .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
    .contact-panel, .lead-form { padding: 34px; }
    .exit-popup-card { padding: 42px 40px 29px; }
}

@media (min-width: 860px) {
    :root { --header-height: 76px; }
    .menu-toggle { display: none; }
    .main-nav { position: static; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: 0; border: 0; background: transparent; box-shadow: none; }
    .main-nav a { min-height: auto; border: 0; font-size: .82rem; }
    .main-nav a:hover { color: #a47400; }
    .header-cta { display: inline-flex; }
    .brand { width: 197px; }
    .hero { min-height: 660px; }
    .hero-content { padding-top: 80px; padding-bottom: 105px; }
    .hero .button { width: auto; }
    .hero-proof { grid-template-columns: repeat(3, max-content); gap: 25px; }
    .trust-strip { margin-top: -48px; }
    .trust-grid { grid-template-columns: repeat(4, minmax(0,1fr)); border-radius: 10px; }
    .trust-grid article { min-height: 142px; border-right: 1px solid var(--color-border) !important; border-bottom: 0; }
    .trust-grid article:last-child { border-right: 0 !important; }
    .split-layout { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
    .process-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .process-grid article { min-height: 260px; border-right: 1px solid var(--color-border); border-bottom: 0; }
    .process-grid article:last-child { border-right: 0; }
    .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .service-card:last-child:nth-child(3n + 2) { grid-column: auto; }
    .mid-cta-inner { grid-template-columns: 1fr auto; }
    .guarantee { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; padding: 42px 0; }
    .guarantee-grid { grid-template-columns: 1fr 1.1fr .85fr; gap: 40px; }
    .contact-panel { grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; }
    .floating-whatsapp { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: grid; width: 56px; height: 56px; place-content: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--color-whatsapp); box-shadow: 0 8px 25px rgba(0,0,0,.24); }
    .floating-whatsapp svg { width: 28px; height: 28px; }
    .mobile-cta { display: none; }
}

@media (min-width: 1120px) {
    .services-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
    .service-body { padding: 18px 15px; }
    .service-body h3 { font-size: 1rem; }
    .service-body p { font-size: .79rem; }
    .service-body .service-highlight { min-height: 38px; }
    .service-body .service-indication { font-size: .75rem; }
    .projects-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
}

@media (max-width: 374px) {
    .container { width: min(100% - 32px, var(--container)); }
    .brand { width: 157px; }
    .hero h1 { font-size: 2rem; }
    .hero { min-height: 650px; }
    .trust-grid article { min-height: 118px; padding-inline: 5px; }
    .contact-panel { padding-inline: 15px; }
    .lead-form { padding-inline: 15px; }
}

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