:root{
  --primary:#14212E; --primary-2:#0F1923; --bg:#F5F3EE; --surface:#fff;
  --accent:#EE7A1A; --accent-dk:#D4650C; --accent-tx:#C2410C; --kicker:#C75F0E;
  --muted:#6B4A3A; --line:#E3E0D9; --soft:rgba(238,122,26,.12);
  --font:'Archivo',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --wrap:1288px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{font-family:var(--font);color:var(--primary);background:var(--surface);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 32px}
section{padding:96px 0}
.bg-soft{background:var(--bg)} .bg-dark{background:var(--primary);color:#fff}
.kicker{font-size:13px;font-weight:700;letter-spacing:.14em;color:var(--kicker);margin-bottom:14px}
.h-section{font-size:clamp(30px,4vw,44px);font-weight:800;line-height:1.08;letter-spacing:-.02em;max-width:18ch}
.lead{color:var(--muted);max-width:56ch;white-space:pre-line}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap;margin-bottom:48px}
.sec-head .lead{max-width:48ch}

/* Botones */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:700 15px var(--font);padding:16px 24px;border-radius:8px;border:2px solid transparent;cursor:pointer;text-decoration:none;transition:background .15s}
.btn-gold{background:var(--accent);color:#fff}.btn-gold:hover{background:var(--accent-dk)}
.btn-outline{border-color:var(--primary);color:var(--primary);background:transparent}.btn-outline:hover{background:var(--primary);color:#fff}
.btn-ghost{background:none;border:0;padding:0;color:var(--accent-tx);font:700 14px var(--font);cursor:pointer;text-align:left}
.btn-ghost:hover{text-decoration:underline}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--surface);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:18px;padding:14px 32px;max-width:var(--wrap);margin:0 auto}
.nav .logo img{width:112px;height:56px;object-fit:contain}
.brand{font-weight:900;font-size:clamp(15px,2vw,19px);text-decoration:none;line-height:1.3}
.nav-links{display:flex;gap:22px;margin-left:auto;align-items:center}
.nav-links a{text-decoration:none;font-size:15px;padding:6px 0 4px;border-bottom:2px solid transparent}
.nav-links a:hover{border-bottom-color:var(--primary)}
.burger{display:none;margin-left:auto;background:none;border:0;cursor:pointer;padding:8px;color:var(--primary)}
.burger svg{display:block}
.menu{display:none;position:absolute;right:20px;top:100%;margin-top:8px;width:250px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(20,33,46,.14);padding:10px}
.menu.open{display:flex;flex-direction:column}
.menu a{text-decoration:none;padding:10px 12px;border-radius:8px}
.menu a:hover{background:var(--bg)}
@media (max-width:1099px){.nav-links{display:none}.burger{display:block}}

/* Hero */
.hero{padding:72px 0 56px}
.hero-split{display:grid;grid-template-columns:1.25fr 1fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(44px,6.2vw,64px);font-weight:800;line-height:1.02;letter-spacing:-.03em;margin-bottom:22px}
.hero h1 span{display:block}
.hero h1 .accent{color:var(--accent)}
.hero .tagline{font-weight:700;margin-bottom:8px}
.hero .intro{color:#4A5664;max-width:52ch;margin-bottom:30px}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-art{display:flex;flex-direction:column;align-items:center;gap:24px}
.hero-art>img{width:min(100%,380px)}
.promo{background:#B5121B;color:#fff;border-radius:16px;padding:26px 28px;width:100%;max-width:420px}
.promo .tag{color:#F7C948;font-weight:800;font-size:14px;letter-spacing:.06em;margin-bottom:6px}
.promo .big{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.promo .big b{font-size:56px;font-weight:900;line-height:1}
.promo .big span{font-weight:800;font-size:15px;line-height:1.2;max-width:14ch}
.promo p{color:#FFE1E1;font-size:14px;margin-bottom:18px}
.promo .btn{background:#fff;color:#B5121B;width:100%}
.promo .btn:hover{background:#FFE8E8}
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:56px;padding-top:28px;border-top:1px solid var(--line)}
.trust div{display:flex;align-items:center;gap:10px;font-weight:600;font-size:15px}
.trust i{font-size:24px;color:var(--accent)}

/* Tarjetas */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:12px}
.card .top{display:flex;align-items:center;justify-content:space-between}
.chip{width:48px;height:48px;border-radius:12px;background:var(--soft);display:grid;place-items:center;color:var(--accent-tx)}
.chip i{font-size:24px}
.card .num{font-size:14px;font-weight:700;color:#8A5A3C}
.card h3{font-size:20px;font-weight:800;line-height:1.25}
.card p{color:var(--muted);font-size:15px;flex:1}
.card.dark{background:var(--primary);border-color:var(--primary);color:#fff}
.card.dark .chip{background:var(--accent);color:#fff}
.card.dark .num{color:#8C98A5}.card.dark p{color:#C5CDD6}.card.dark .btn-ghost{color:#F29A4A}

/* Proyectos */
.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px}
.filters button{font:600 14px var(--font);padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--primary);cursor:pointer}
.filters button[aria-pressed="true"]{background:var(--primary);border-color:var(--primary);color:#fff}
.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.project{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;cursor:pointer;text-align:left;font:inherit;color:inherit;padding:0}
.project img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--bg)}
.project div{padding:16px 18px}
.project h3{font-size:17px;font-weight:800}
.project p{color:#6B7785;font-size:14px}
.empty{display:none;text-align:center;padding:48px;border:1px dashed var(--line);border-radius:16px}
.empty.show{display:block}
.empty p{color:var(--muted);margin:6px 0 18px}

/* Lightbox */
.lightbox{display:none;position:fixed;inset:0;z-index:100;background:rgba(15,25,35,.92);padding:24px;align-items:center;justify-content:center}
.lightbox.open{display:flex}
.lb-box{max-width:960px;width:100%;display:flex;flex-direction:column;gap:14px;color:#fff}
.lb-top{display:flex;justify-content:space-between;align-items:center;gap:16px}
.lb-top h2{font-size:22px}
.lb-box img{width:100%;max-height:68vh;object-fit:contain;border-radius:12px}
.lb-box p{color:#FFE8CC}
.lb-nav{display:flex;justify-content:space-between}
.btn-light{border:2px solid #fff;color:#fff;background:transparent}
.btn-light:hover{background:#fff;color:var(--primary)}

/* Por qué elegirnos */
.about-split{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:start}
.about-quote{font-size:19px;line-height:1.6;white-space:pre-line;margin-top:24px}
.values{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}


/* Historia */
.history{display:grid;grid-template-columns:320px 1fr;gap:56px;align-items:start}
.founder img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:16px;margin-bottom:14px}
.founder h3{font-size:20px}.founder p{color:#6B7785}
.history-copy{display:flex;flex-direction:column;gap:16px}
.history-copy>p{max-width:70ch}
.companies{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.companies .top{justify-content:flex-start;gap:12px}
.companies .chip{background:var(--bg)}
.companies .where{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--kicker)}
.badges{display:flex;flex-wrap:wrap;gap:8px}
.badges span{background:#FFF4EC;color:var(--accent-tx);font-size:13px;font-weight:600;padding:6px 10px;border-radius:999px}

/* Proceso */
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;margin-top:48px}
.steps b{display:block;color:var(--accent);font-size:28px;font-weight:800;margin-bottom:10px}
.steps h3{font-size:17px;margin-bottom:6px}
.steps p,.bg-dark .lead{color:#AEB8C3}
.bg-dark .kicker{color:var(--accent)}

/* Cotización */
.quote-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.quote-copy .h-section{color:#fff}
.quote-copy>p{color:#FFE8CC;margin:16px 0 28px}
.qsteps{display:flex;flex-direction:column;gap:18px;margin-bottom:28px}
.qsteps strong{display:block}.qsteps span{color:#FFE8CC;font-size:15px}
.qsteps em{font-style:normal;color:var(--accent);margin-right:10px}
.call{color:#fff;font-weight:700;text-decoration:none}
.call:hover{text-decoration:underline}
.form{background:#fff;color:var(--primary);border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:16px}
.form h3{font-size:24px}
.form .note{color:#6B7785;font-size:14px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700}
input,select,textarea{font:400 15px var(--font);color:var(--primary);padding:12px 14px;border:1px solid #CFCAC0;border-radius:8px;background:#fff;width:100%}
textarea{min-height:120px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);border-color:var(--accent)}
.form-error{display:none;color:var(--accent-tx);font-size:14px}
.form-error.show{display:block}
.thanks{display:none;text-align:center;align-items:center}
.thanks.show{display:flex}
.thanks .chip{background:#F5B700;color:var(--primary);width:64px;height:64px}
.hp{position:absolute;left:-9999px}

/* Contacto */
.contact-split{display:grid;grid-template-columns:1fr 1.2fr;gap:32px;align-items:stretch}
.contact-items{display:flex;flex-direction:column;gap:14px}
.citem{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px}
.citem small{display:block;font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--muted)}
.citem a,.citem span{text-decoration:none;font-weight:600;word-break:break-word}
.map{display:flex;flex-direction:column;gap:14px}
.map iframe{width:100%;flex:1;min-height:320px;border:0;border-radius:16px}
.map-cap{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px}
.map-cap p{color:#6B7785;font-size:14px}
.map-cap a{font-weight:700;text-decoration:none}

/* Footer */
footer{background:var(--primary-2);color:#C5CDD6;padding:64px 0 28px}
.foot{display:grid;grid-template-columns:1.4fr 1fr .8fr 1.2fr;gap:40px}
.foot .logo-box{background:#fff;border-radius:12px;display:inline-block;margin-bottom:14px}
.foot .logo-box img{width:140px;height:70px;object-fit:contain}
.foot .name{color:#fff;font-weight:700;font-size:20px}
.foot .sub{color:var(--accent);font-weight:700;font-size:11px;letter-spacing:.16em;margin:6px 0 12px}
.foot .slogan{color:#AEB8C3;font-size:15px;max-width:340px}
.foot h4{color:var(--accent);font-size:12px;letter-spacing:.16em;margin-bottom:14px}
.foot ul{list-style:none;display:flex;flex-direction:column;gap:12px;font-size:15px}
.foot a{text-decoration:none}.foot a:hover{color:#fff}
.foot li i{color:var(--accent);margin-right:10px;vertical-align:-2px}
.legal{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid rgba(255,255,255,.12);margin-top:48px;padding-top:22px;font-size:13px;color:#8C98A5}

/* Responsive */
@media (max-width:1099px){
  .grid,.projects{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
  .foot{grid-template-columns:1fr 1fr}
}
@media (max-width:859px){
  section{padding:72px 0}
  .hero-split,.about-split,.history,.quote-split,.contact-split{grid-template-columns:1fr}
  .trust{grid-template-columns:repeat(2,1fr)}
  .history{gap:32px}.founder{max-width:320px}
}
@media (max-width:599px){
  .wrap,.nav{padding-left:20px;padding-right:20px}
  .grid,.projects,.values,.companies,.row2,.steps,.foot,.trust{grid-template-columns:1fr}
  .nav .logo img{width:84px;height:42px}
  .form{padding:22px}
  .actions .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
