:root{
  --ancho:1250px;
  --rojo:#fa0410;
  --rojo-h:#d9000b;
  --verde:#019c30;
  --verde-h:#018528;
  --negro:#0f0f0f;
  --texto:#111;
  --gris:#5d5d5d;
  --claro:#f6f6f6;
  --borde:#e9e9e9;
  --font:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--texto);background:#fff;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
.container{max-width:var(--ancho);margin-inline:auto;padding-inline:1.25rem}
.c-red{color:var(--rojo)}
.center{text-align:center}

/* placeholders: plano, sin texto ni efectos */
.ph{background:#f1f1f1;font-size:0;line-height:0;overflow:hidden;flex-shrink:0}
.photo{overflow:hidden;background:#1a1a1a;flex-shrink:0}
.photo > img{width:100%;height:100%;object-fit:cover}

/* iconos SVG (sprite inline) */
.ic{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;display:block}
.ic-btn{color:#fff;stroke-width:1.7}
.ic-feat{color:#fff;stroke-width:1.3}
.ic-serv{color:#111;stroke-width:1.7}
.ic-check{stroke:none}
.ic-step{color:var(--rojo);stroke-width:1.7}
.ic-field{color:#222;stroke-width:1.8}
.ic-chev{color:#222;stroke-width:2}
.ic-foot{color:#fff;stroke-width:1.5}

/* botones */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;font-family:inherit;font-weight:700;font-size:1rem;
  border:0;border-radius:6px;padding:.8rem 1.4rem;cursor:pointer;color:#fff;transition:background .2s,transform .2s;line-height:1.2}
.btn:hover{transform:translateY(-1px)}
.btn .arr{font-weight:600;margin-left:.15rem}
.btn-red{background:var(--rojo)}
.btn-red:hover{background:var(--rojo-h)}
.btn-green{background:var(--verde)}
.btn-green:hover{background:var(--verde-h)}
.btn-lg{padding:1rem 1.75rem;font-size:1.06rem}
.btn-block{width:100%;padding:1.05rem 1.5rem;font-size:1.06rem}
.ic-btn{width:26px;height:26px}

/* tipografía de sección */
.eyebrow{display:block;color:var(--rojo);font-weight:800;font-size:.86rem;letter-spacing:.02em;text-transform:uppercase;margin-bottom:.55rem}
.eyebrow-lg{font-size:1.2rem;margin-bottom:.2rem}
.h2{font-weight:800;font-size:clamp(2rem,3.4vw,2.75rem);line-height:1.08;letter-spacing:-.02em}
.h2-light{color:#fff}
.lead{color:#3f3f3f;font-size:1.12rem;margin-top:.9rem;line-height:1.45}
.lead-light{color:#e4e4e4}

/* 1. HEADER */
.header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(0,0,0,.05)}
.header-inner{display:flex;align-items:center;height:88px;gap:2.5rem}
.logo img{width:190px;height:auto}
.nav{display:flex;gap:2rem;margin-left:auto}
.nav a{font-size:1rem;color:#555;padding:.35rem 0;position:relative}
.nav a.active{color:var(--texto);font-weight:600}
.nav a.active::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:3px;border-radius:2px;background:var(--rojo)}
.nav a:hover{color:var(--texto)}
.btn-header{padding:.85rem 1.5rem}
.burger{display:none;background:none;border:0;padding:.5rem;cursor:pointer}
.burger span{display:block;width:24px;height:2px;background:#111;margin:5px 0}

/* 2. HERO (fondo-full-bleed) */
.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--negro);color:#fff}
.hero-bg{position:absolute;inset:0;z-index:-1}
.hero-bg .photo{position:absolute;inset:0}
.hero-bg .photo img{object-position:70% center}
.hero-inner{min-height:690px;display:flex;flex-direction:column;justify-content:flex-end;padding-top:6rem;padding-bottom:2.2rem}
.hero-text{max-width:640px}
.hero-eyebrow{display:block;text-transform:uppercase;letter-spacing:.42em;font-size:.95rem;font-weight:600;margin-bottom:.6rem}
.hero h1{font-weight:800;font-size:clamp(2.8rem,5.6vw,4.6rem);line-height:1;letter-spacing:-.02em}
.hero h1 .c-red{display:block}
.hero-lead{font-size:1.5rem;line-height:1.32;margin-top:1.3rem;max-width:620px;font-weight:500}
.hero .btn{margin-top:1.6rem}
.features{display:grid;grid-template-columns:repeat(4,1fr);margin-top:3.5rem}
.features li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.8rem;font-size:1.08rem;font-weight:600;line-height:1.25;padding:0 1rem}
.features li+li{border-left:1px solid rgba(255,255,255,.18)}
.ic-feat{width:46px;height:46px}

/* 3. SERVICIOS */
.servicios{background:var(--claro);padding:5.5rem 0}
.serv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;margin-top:2.5rem}
.serv-card{display:flex;flex-direction:column;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 6px 18px -10px rgba(0,0,0,.25);transition:transform .25s,box-shadow .25s}
.serv-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px -14px rgba(0,0,0,.3)}
.serv-img{aspect-ratio:16/10;width:100%;border-radius:10px 10px 0 0}
.serv-bar{display:flex;align-items:center;gap:.65rem;padding:.9rem .85rem}
.ic-serv{width:26px;height:26px}
.serv-name{font-weight:600;font-size:.96rem;flex:1;white-space:nowrap}
.go{width:32px;height:32px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;font-size:1rem;flex-shrink:0}
.serv-wide{grid-column:span 2;flex-direction:row}
.serv-wide .serv-img{width:31%;aspect-ratio:auto;border-radius:10px 0 0 10px}
.serv-wide .serv-bar{flex:1;padding:1rem 1.4rem;gap:1rem}
.serv-wide .ic-serv{width:34px;height:34px}
.serv-wide .serv-name{font-size:1.08rem}

/* 4. DESTACADOS (2 paneles fondo-full-bleed) */
.destacados{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#fff}
.dest{position:relative;isolation:isolate;overflow:hidden;background:var(--negro);color:#fff;min-height:720px}
.dest-bg{position:absolute;inset:0;z-index:-1}
.dest-bg .photo{position:absolute;inset:0}
.dest-inner{position:relative;height:100%;min-height:720px;display:flex;flex-direction:column;justify-content:space-between;
  padding:3.5rem 2rem 3.5rem max(1.5rem, calc((100vw - var(--ancho)) / 2 + 1.25rem));}
.dest-title{font-weight:800;font-size:clamp(2.2rem,3.6vw,3rem);line-height:1.05;letter-spacing:-.02em}
.dest-sub{font-size:1.35rem;line-height:1.3;margin-top:.7rem;font-weight:500}
.checks{display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem}
.checks li{display:flex;align-items:center;gap:.85rem;font-size:1.15rem;font-weight:500}
.ic-check{width:24px;height:24px}

/* 5. PROYECTOS */
.proyectos{background:var(--negro);color:#fff;padding:5.5rem 0}
.chips{display:flex;flex-wrap:wrap;gap:.7rem;margin:2rem 0 2rem}
.chip{font-family:inherit;font-weight:700;font-size:1rem;color:#fff;background:#1f1f1f;border:0;border-radius:999px;padding:.75rem 1.6rem;cursor:pointer;transition:background .2s}
.chip:hover{background:#2c2c2c}
.chip.active{background:var(--rojo)}
.proy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.proy{aspect-ratio:16/10;border-radius:10px;width:100%;transition:opacity .3s}
.proy.hide{display:none}
.proyectos .center{margin-top:2.5rem}

/* 6. PROCESO */
.proceso{background:var(--claro);padding:5.5rem 0}
.steps{display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:auto auto;gap:0 1.5rem;margin-top:3.2rem}
.step{display:grid;grid-row:span 2;grid-template-rows:subgrid;gap:.8rem;position:relative}
.step+.step::before{content:"\203A";position:absolute;left:-1.05rem;top:-6px;color:var(--rojo);font-size:1.4rem;font-weight:700;line-height:1}
.step-card{position:relative;background:#fff;border:1px solid var(--borde);border-radius:10px;padding:2.6rem 1rem 1.4rem;text-align:center;display:flex;flex-direction:column;align-items:center}
.step-card::before{content:"";position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,rgba(250,4,16,.5),transparent)}
.step-num{position:absolute;top:-20px;left:50%;transform:translateX(-50%);width:40px;height:40px;border-radius:50%;background:var(--rojo);color:#fff;font-weight:800;font-size:1.25rem;display:grid;place-items:center}
.ic-step{width:54px;height:54px}
.step h3{font-size:1.25rem;font-weight:800;margin-top:1rem}
.step p{color:var(--gris);font-size:1rem;line-height:1.35;margin-top:.6rem}
.step-foot{display:flex;flex-direction:column;gap:.8rem}
.step-img{width:100%;flex:1;min-height:150px;aspect-ratio:4/3;border-radius:8px}
.step-foot .visita+.step-img{aspect-ratio:auto;min-height:90px}
.visita{background:#fff1f1;border:1px solid #f6b9bc;border-radius:8px;padding:.7rem .8rem;text-align:center;display:flex;flex-direction:column;gap:.2rem}
.visita strong{color:var(--rojo);font-size:.98rem;font-weight:800}
.visita span{color:#555;font-size:.82rem;line-height:1.3}

/* 7. COTIZA */
.cotiza{background:var(--claro);padding:2rem 0 5rem;border-top:1px solid #ececec;padding-top:5rem}
.cot-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:4rem;align-items:center}
.cot-form{display:flex;flex-direction:column;gap:.9rem}
.field{display:flex;align-items:center;gap:.9rem;background:#fff;border:1px solid var(--borde);border-radius:8px;padding:0 1rem;height:56px}
.field input,.field select{flex:1;border:0;outline:0;background:transparent;font-family:inherit;font-size:1.02rem;color:var(--texto);height:100%;appearance:none;-webkit-appearance:none;cursor:pointer}
.field input{cursor:text}
.field input::placeholder,.cot-form textarea::placeholder{color:#555}
.field select:invalid,.field select.empty{color:#555}
.field:focus-within,.cot-form textarea:focus{border-color:#bdbdbd}
.ic-field{width:20px;height:20px}
.ic-chev{width:18px;height:18px;pointer-events:none}
.cot-form textarea{font-family:inherit;font-size:1.02rem;border:1px solid var(--borde);border-radius:8px;background:#fff;padding:1rem 1.2rem;min-height:120px;resize:vertical;outline:0;color:var(--texto)}

/* 8. FOOTER */
.footer{background:var(--claro);padding:0 0 1.5rem}
.foot-box{background:var(--negro);color:#fff;border-radius:12px;display:grid;grid-template-columns:repeat(5,auto);justify-content:space-between;column-gap:1rem;align-items:stretch;padding:2.2rem 2.4rem}
.foot-box > * + *{border-left:1px solid rgba(255,255,255,.18);padding-left:1.8rem;padding-block:.3rem}
.foot-logo{display:flex;align-items:center;padding-right:.6rem}
.foot-logo img{width:190px;height:auto}
.foot-item{display:flex;align-items:flex-start;gap:1rem;white-space:nowrap}
.ic-foot{width:32px;height:32px;margin-top:2px}
.foot-item strong{display:block;font-weight:700;font-size:1.02rem;margin-bottom:.2rem}
.foot-item span,.foot-item a{display:block;color:#dcdcdc;font-size:.98rem;line-height:1.4}
.foot-item a:hover{color:#fff}

/* RESPONSIVE */
@media (max-width:1100px){
  .serv-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr);gap:2.5rem 1.5rem}
  .step+.step::before{display:none}
  .foot-box{grid-template-columns:1fr 1fr;gap:1.5rem}
  .foot-box > * + *{border-left:0;padding-left:0}
  .foot-item{white-space:normal}
}
@media (max-width:860px){
  .nav{display:none;position:absolute;top:88px;left:0;right:0;background:#fff;flex-direction:column;gap:0;padding:.5rem 1.25rem 1rem;box-shadow:0 10px 20px -10px rgba(0,0,0,.2)}
  .nav.open{display:flex}
  .nav a{padding:.8rem 0}
  .burger{display:block}
  .btn-header{display:none}
  .header-inner{height:76px}
  .nav{top:76px}
  .logo img{width:150px}
  .hero-inner{min-height:620px}
  .features{grid-template-columns:repeat(2,1fr);row-gap:1.8rem}
  .features li:nth-child(3){border-left:0}
  .destacados{grid-template-columns:1fr}
  .dest,.dest-inner{min-height:600px}
  .dest-inner{padding-left:1.25rem}
  .proy-grid{grid-template-columns:repeat(2,1fr)}
  .cot-grid{grid-template-columns:1fr;gap:2rem}
  .lead br,.dest-sub br,.hero-lead br{display:none}
}
@media (max-width:560px){
  .serv-name{white-space:normal}
  .serv-grid{grid-template-columns:1fr}
  .serv-wide{grid-column:auto}
  .steps{grid-template-columns:1fr}
  .proy-grid{grid-template-columns:1fr}
  .foot-box{grid-template-columns:1fr;padding:2rem 1.5rem}
  .hero-lead{font-size:1.1rem}
}
