/* ==========================================================================
   MU Construcciones · Tema V3 · páginas internas
   Complemento de v3.css para proyectos, proyecto, tipologías, servicios, proceso y nosotros.
   Solo lo que falta en el design system; los componentes base viven en v3.css.
   ========================================================================== */

/* ---------- utilidades de sección ---------- */
html.v3 .bg-white{background:#fff}
html.v3 .bg-soft{background:var(--marfil-2)}
html.v3 .section-head p.lead{max-width:none}
html.v3 .section-head .btn-row{justify-self:end}
html.v3 .btn-row--after{margin-top:34px}
html.v3 .pad-top{padding-top:clamp(70px, 9vw, 110px)}

/* ---------- page-hero con stats ---------- */
html.v3 .page-hero .hero-stats{margin-top:32px; padding-bottom:0; border-top-color:rgba(255,255,255,.22)}
html.v3 .page-hero .hero-stats div strong{font-size:1.7rem}
html.v3 .page-hero-shell--wide{max-width:980px}
html.v3 .page-hero .btn-row{margin-top:30px}
html.v3 .page-hero--photo .page-hero-scrim{background:linear-gradient(180deg, rgba(26,25,23,.62) 0%, rgba(26,25,23,.3) 38%, rgba(26,25,23,.94) 100%)}
html.v3 .page-hero .concept{top:auto; bottom:22px; left:auto; right:24px}

/* ---------- hero de ficha (proyecto) ---------- */
html.v3 .hero--ficha{min-height:min(96svh, 980px)}
html.v3 .hero--ficha::before{background:linear-gradient(180deg, rgba(26,25,23,.62) 0%, rgba(26,25,23,.42) 35%, rgba(26,25,23,.62) 60%, rgba(26,25,23,.96) 100%)}
html.v3 .hero--ficha .hero-copy h1{font-size:clamp(2.4rem, 5.2vw, 4.8rem)}
html.v3 .hero--ficha .hero-stats div strong{font-size:1.5rem; line-height:1.15}
html.v3 .hero--ficha .hero-stats > div{min-width:0}

/* ---------- grilla de obras: variantes ---------- */
html.v3 .obra--half{grid-column:span 6; grid-row:span 2}
html.v3 .obra--wide{grid-column:span 12; grid-row:span 2}
html.v3 .obra--half .obra-meta h3, html.v3 .obra--wide .obra-meta h3{font-size:1.6rem}
html.v3 .obras-grid--rel{grid-auto-rows:150px}
html.v3 .obras-grid--rel .obra{grid-row:span 2}
html.v3 .chip-count{display:inline-block; margin-left:8px; font-family:var(--serif); font-size:.8rem; letter-spacing:0; opacity:.6}
html.v3 .filter-empty{font-family:var(--serif); font-size:1.15rem}

/* ---------- ficha: split con capítulos ---------- */
html.v3 .ficha-copy h2{font-size:clamp(1.9rem, 3.4vw, 2.8rem)}
html.v3 .ficha-stats{margin:30px 0 20px}
html.v3 .ficha-stat strong{font-size:1.15rem; line-height:1.3}
html.v3 .case-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:40px}
html.v3 .case-grid > article{border-top:1px solid var(--line); padding-top:26px}
html.v3 .case-grid .case-num{font-family:var(--serif); color:var(--terracota); font-size:1rem; display:block; margin-bottom:18px}
html.v3 .case-grid h3{font-size:1.45rem; margin-bottom:12px}
html.v3 .case-grid p{margin:0; font-size:.98rem}
html.v3 .tags{display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 30px; padding:0; list-style:none}
html.v3 .tags li{border:1px solid var(--line); background:#fff; border-radius:999px; padding:9px 15px; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; font-weight:600; color:var(--carbon)}
html.v3 .checks--2{grid-template-columns:1fr 1fr; gap:14px 30px}
html.v3 .v3p-video{position:relative; border-radius:var(--radius); overflow:hidden; background:var(--carbon); aspect-ratio:16/9; box-shadow:var(--shadow)}
html.v3 .v3p-video video{width:100%; height:100%; display:block; object-fit:cover; background:var(--carbon)}
html.v3 .videos-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px}
html.v3 .gallery-grid .gallery-trigger img{display:block}
html.v3 .gallery-item--feature .gallery-trigger{height:100%}
html.v3 .gallery-item--feature .gallery-trigger img{height:100%; aspect-ratio:auto}
html.v3 .ficha-cta{display:flex; gap:14px; flex-wrap:wrap; align-items:center; margin-top:8px}

/* ---------- tipologías: cuatro caminos ---------- */
html.v3 .caminos-grid--4{grid-template-columns:repeat(2,1fr)}
html.v3 .caminos-grid--4 .camino{min-height:520px}
html.v3 .caminos-grid--4 .camino h3{font-size:2rem}
html.v3 .caminos-grid--4 .camino p{max-width:44ch}
html.v3 .camino-body .camino-count{display:inline-block; margin-left:10px; color:rgba(255,255,255,.65); font-family:var(--sans); font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; font-weight:600}

/* ---------- servicios ---------- */
html.v3 .service-item{padding:34px 30px 32px; gap:12px; position:relative; text-align:left; align-items:stretch; grid-column:auto}
html.v3 .service-item h3, html.v3 .service-item p{text-align:left}
html.v3 .service-item--featured{grid-column:auto; display:flex; flex-direction:column; align-items:stretch}
html.v3 .service-item--featured > *{grid-column:auto; grid-row:auto}
html.v3 .service-item .check-list{margin:4px 0 10px; gap:9px}
html.v3 .service-item .check-list li{font-size:.9rem; color:var(--muted)}
html.v3 .service-item .check-list li::before{width:24px; height:24px; font-size:.7rem}
html.v3 .service-item .link-arrow{margin-top:auto; padding-top:14px}
html.v3 .service-item--featured{background:var(--carbon); color:#fff; border-color:transparent}
html.v3 .service-item--featured h3{color:#fff}
html.v3 .service-item--featured p, html.v3 .service-item--featured .check-list li{color:rgba(255,255,255,.76)}
html.v3 .service-item--featured .check-list li::before{background:rgba(233,185,159,.18); color:var(--peach)}
html.v3 .service-item--featured .service-icon{color:var(--peach)}
html.v3 .service-item--featured .service-icon::after{background:var(--peach)}
html.v3 .service-item--featured .link-arrow{color:#fff}
html.v3 .service-item--featured .badge-new{top:22px; right:22px}
html.v3 .flex-checks li strong{color:var(--carbon); font-weight:700}

/* ---------- proceso: timeline ---------- */
html.v3 .etapas-sticky .img{aspect-ratio:4/3}
html.v3 .etapas-sticky .img .concept{top:18px; left:18px; z-index:2}
html.v3 .tl li{padding-bottom:52px}
html.v3 .tl li h3{font-size:1.7rem}
html.v3 .tl li p strong{display:block; color:var(--carbon); font-family:var(--serif); font-weight:500; font-size:1.1rem; margin-bottom:6px}
html.v3 .tl li.is-on h3{color:var(--terracota)}

/* ---------- nosotros ---------- */
html.v3 .quien--static{padding-bottom:30px; cursor:default}
html.v3 .quien--static:hover{transform:none; box-shadow:none; border-color:var(--line)}
html.v3 .quien--static .arr{display:none}
html.v3 .strip figure a{position:absolute; inset:0; display:block; color:#fff}
html.v3 .strip figure a img{position:absolute; inset:0}
html.v3 .strip figure .concept{z-index:2}
html.v3 .strip figcaption{pointer-events:none}
html.v3 .strip figcaption small{display:block; font-family:var(--sans); font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.7); margin-top:6px; font-weight:600}
html.v3 .numbers .section-head{margin-bottom:34px}

/* ---------- responsive ---------- */
@media (max-width: 1100px){
  html.v3 .case-grid{gap:28px}
  html.v3 .obras-grid--rel{grid-auto-rows:140px}
  html.v3 .obra--half{grid-column:span 6}
  html.v3 .obra--wide{grid-column:span 6}
}
@media (max-width: 900px){
  html.v3 .case-grid{grid-template-columns:1fr; gap:24px}
  html.v3 .caminos-grid--4{grid-template-columns:1fr}
  html.v3 .caminos-grid--4 .camino{min-height:420px}
  html.v3 .checks--2{grid-template-columns:1fr}
  html.v3 .videos-grid{grid-template-columns:1fr}
  html.v3 .section-head .btn-row{justify-self:start}
}
@media (max-width: 760px){
  html.v3 .hero--ficha{min-height:92svh}
  html.v3 .hero--ficha .hero-stats{gap:18px 28px}
  html.v3 .hero--ficha .hero-stats div strong{font-size:1.2rem}
  html.v3 .page-hero .hero-stats{gap:18px 28px; margin-top:26px}
  html.v3 .page-hero .hero-stats div strong{font-size:1.4rem}
  html.v3 .obra--half, html.v3 .obra--wide{grid-column:span 2; grid-row:span 1}
  html.v3 .obras-grid--rel{grid-auto-rows:190px}
  html.v3 .obras-grid--rel .obra{grid-row:span 1}
  html.v3 .caminos-grid--4 .camino{min-height:380px}
  html.v3 .caminos-grid--4 .camino h3{font-size:1.6rem}
  html.v3 .tl{margin-left:8px}
  html.v3 .tl li{padding-left:30px; padding-bottom:40px}
  html.v3 .tl li h3{font-size:1.4rem}
  html.v3 .service-item{padding:28px 22px 26px}
  html.v3 .page-hero .concept{bottom:14px; right:16px}
}
html.v3 .split--solo{grid-template-columns:1fr; max-width:860px}
/* hero: anula la caja degradada heredada de style.css (.hero-copy) */
html.v3 .hero .hero-copy, html.v3 .page-hero .hero-copy{background:none; box-shadow:none; padding-left:0; padding-right:0}
html.v3 .service-icon{margin:0 0 6px; align-self:flex-start; display:inline-block; text-align:left}
html.v3 .quien-grid--2{grid-template-columns:1fr 1fr}
@media (max-width: 760px){ html.v3 .quien-grid--2{grid-template-columns:1fr} }
html.v3 .num strong span{display:inline; font-size:inherit; letter-spacing:inherit; text-transform:none; color:inherit; margin:0; font-weight:inherit; max-width:none}
