/* Alero · Arquitectura y Construcción
   Layout calcado de la plantilla Construktion X: mismas rejillas, medidas y componentes.
   Colores propios: basalto (primario oscuro) y arena (secundario claro). */
:root {
  --dark: #1B2520;          /* primario: basalto verdoso, piedra volcánica y cafetal */
  --sand: #F1EDE5;          /* secundario: arena de playa */
  --n800: #161B18;
  --n700: #2B2F2C;
  --n600: #4D504C;
  --n500: #767A75;
  --n400: #9FA39D;
  --n300: #D9D6CF;
  --n200: #F6F4EF;
  --white: #FFFFFF;
  --line-dark: rgba(255, 255, 255, .16);
  --font: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.25, .7, .2, 1);
  --bleed: calc((min(100vw, 1316px) - 100vw) / 2 - 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.667em; color: var(--n600); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--n800); font-weight: 500; }
p { margin: 0 0 16px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Tipografía (escala de la guía de estilo) */
.d1 { font-size: 90px; line-height: 1.044em; }
.d2 { font-size: 54px; line-height: 1.222em; }
.d3 { font-size: 34px; line-height: 1.294em; }
.d4 { font-size: 28px; line-height: 1.429em; }
.t200 { font-size: 16px; line-height: 1.25em; }
.t300 { font-size: 20px; line-height: 1.1em; }
.medium { font-weight: 500; }
.c-white { color: var(--white); }
.c-200 { color: var(--n200); }
.c-300 { color: var(--n300); }
.c-800 { color: var(--n800); }
.mb0 { margin-bottom: 0; }
.center { text-align: center; }

/* Estructura */
.container { max-width: 1316px; margin: 0 auto; padding: 0 24px; position: relative; }
.section { position: relative; padding: 200px 0; }
.section.pd-148 { padding: 148px 0; }
.section.pd-100 { padding: 100px 0; }
.bg-sand { background: var(--sand); }
.rel { position: relative; z-index: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 20px 38px; border: 1px solid var(--dark); border-radius: 48px;
  background: var(--dark); color: var(--white); font-size: 18px; line-height: 1.111em; font-weight: 500;
  cursor: pointer; transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; }
.btn--white { background: var(--white); border-color: var(--white); color: var(--n800); }
.btn--ghost { background: transparent; border-color: var(--n300); color: var(--n800); }
.btn--ghost:hover { border-color: var(--n800); }
.btn--ghost-white { background: transparent; border-color: var(--n300); color: var(--white); }
.btn--ghost-white:hover { border-color: var(--white); }
.btn--sm { padding: 14px 24px; font-size: 16px; }
.btn--full { width: 100%; }
.circle {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--n300); background: var(--white); color: var(--n800); cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.circle:hover { transform: scale(.94); }
.circle svg { width: 24px; height: 24px; }
.circle--dark { background: var(--dark); border-color: var(--dark); color: var(--white); }

.social { display: flex; align-items: center; gap: 20px; }
.social a { width: 20px; height: 20px; display: grid; place-items: center; color: var(--n800); }
.social a:hover { color: var(--n500); }
.social svg { width: 18px; height: 18px; }
.social--white a { color: var(--white); }
.social--white a:hover { color: var(--n400); }

/* Cabecera */
.header { position: relative; z-index: 20; background: var(--dark); }
.header--over { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 32px 0; border-bottom: 1px solid var(--line-dark); }
.header__left { display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo__name { font-size: 26px; font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--white); font-size: 18px; line-height: 20px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--n400); }
.header__right { display: flex; align-items: center; gap: 24px; }
.menu-btn { display: none; width: 49px; height: 49px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--white); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* Portada de inicio: imagen a la derecha */
.hero { position: relative; background: var(--dark); padding: 254px 0 100px; overflow: hidden; }
.hero__img { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 1; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; background: var(--white); }
.hero .container { z-index: 2; }
.hero h1 { color: var(--white); max-width: 744px; }
.title-line { display: inline-block; width: 1.15em; height: 3px; background: currentColor; vertical-align: middle; margin-left: .2em; }
.hero p { max-width: 422px; color: var(--n200); margin: 16px 0 32px; }
.hero__down { display: flex; justify-content: flex-end; margin-top: 64px; }
.circle--xl { width: 140px; height: 140px; border-color: rgba(255,255,255,.6); background: transparent; color: var(--white); }
.circle--xl svg { width: 44px; height: 44px; }

/* Franja de lugares (en lugar de "Trusted by") */
.strip { padding: 80px 0; }
.strip__grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.strip__list { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip__item { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 500; color: var(--n800); letter-spacing: -.01em; }
.strip__item svg { width: 28px; height: 28px; }

/* Cifras + texto sobre imagen */
.bg-left, .bg-right { position: absolute; top: 0; bottom: 0; background: var(--sand); z-index: 0; }
.bg-left { left: 0; width: 42%; }
.bg-right { right: 0; width: 68%; }
.bg-right--58 { width: 58%; }
.bg-left--46 { width: 46%; }
.stats-grid { display: grid; grid-template-columns: 203px 1fr; gap: 28px; }
.stats-col { display: flex; flex-direction: column; justify-content: space-between; padding: 28px 0; }
.stat { position: relative; }
.stats-col .stat + .stat::before { content: ""; position: absolute; left: -100vw; right: -60px; top: -48px; height: 1px; background: var(--n300); }
.stat__num { font-size: 90px; line-height: 1.044em; font-weight: 500; color: var(--n800); margin-bottom: 8px; white-space: nowrap; }
.stat__num sup { font-size: 54px; vertical-align: top; position: relative; top: .25em; margin-left: 2px; line-height: 1; }
.over { display: grid; grid-template-columns: 508fr 528fr; align-items: center; }
.over__img { height: 623px; overflow: hidden; }
.over__img img { width: 100%; height: 100%; object-fit: cover; }
.over__text { margin-left: -104px; position: relative; z-index: 1; }
.over__text .small { padding-left: 140px; }
.over__text .small p { margin-bottom: 24px; }

/* Encabezados de sección */
.head-split { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.max-452 { max-width: 452px; }
.max-400 { max-width: 400px; }
.max-544 { max-width: 544px; margin-inline: auto; }
.max-600 { max-width: 600px; margin-inline: auto; }
.max-640 { max-width: 640px; }

/* Servicios: tarjetas con línea superior */
.services-head { display: grid; grid-template-columns: 1fr 452px; gap: 28px; }
.services-head h2 { max-width: 480px; margin-bottom: 24px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.services--stagger { margin-top: 186px; }
.services--stagger .srv:nth-child(3n+2) { transform: translateY(-72px); }
.services--stagger .srv:nth-child(3n) { transform: translateY(-144px); }
.services--plain { row-gap: 90px; }
.srv { position: relative; display: block; padding: 20px 40px 0; border-top: 1px solid var(--n300); color: var(--n600); }
.srv::before { content: ""; position: absolute; top: -1px; left: 50%; width: 0; height: 1px; background: var(--n800); transition: width .5s var(--ease), left .5s var(--ease); }
.srv:hover::before { left: 0; width: 100%; }
.srv__arrow { display: block; position: absolute; top: 20px; right: 0; width: 24px; height: 24px; color: var(--n800); transition: transform .3s var(--ease); }
.srv:hover .srv__arrow { transform: translate(3px, -3px); }
.srv__icon { display: block; width: 52px; height: 52px; margin: 24px 0 20px; color: var(--n800); }
.srv__icon svg, .srv__arrow svg, .svc-top__icon svg { display: block; width: 100%; height: 100%; }
.srv h3 { font-size: 28px; line-height: 1.429em; margin-bottom: 4px; transition: color .3s; }
.srv:hover h3 { color: var(--n600); }
.srv p { margin: 0; }

/* Proyectos en inicio */
.pf-row1 { display: grid; grid-template-columns: 724fr 496fr; gap: 48px; align-items: center; margin-bottom: 32px; }
.pf-row2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; }
.img-link { display: block; overflow: hidden; }
.img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-link:hover img { transform: scale(1.05); }
.pf-row1 .img-link { height: 513px; }
.pf-row2 .img-link { height: 503px; }
.follow { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 80px; }

/* Franja oscura de llamado */
.cta { background: var(--dark); padding: 100px 0 126px; }
.cta h2 { color: var(--white); max-width: 810px; }
.cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line-dark); }
.cta__right { max-width: 564px; justify-self: end; }
.cta__right p { color: var(--n200); margin-bottom: 20px; }
.cta__contact { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta__contact a.mail { color: var(--white); font-size: 20px; font-weight: 500; }
.cta__contact a.mail:hover { color: var(--n400); }

/* Proceso */
.process { display: grid; grid-template-columns: 477fr 763fr; gap: 28px; margin-top: 40px; }
.process__img { min-height: 734px; overflow: hidden; }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.steps { max-width: 728px; justify-self: end; width: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.step + .step { border-top: 1px solid var(--n300); padding-top: 64px; margin-top: 64px; }
.step h3 { font-size: 34px; line-height: 1.294em; margin-bottom: 24px; }
.step__row { display: grid; grid-template-columns: 1fr 452px; gap: 48px; align-items: end; }
.step__row .t200 { color: var(--n800); margin-bottom: 4px; }
.step__row p { margin: 0; }

/* Opiniones */
.testi { display: flex; justify-content: space-between; align-items: center; gap: 64px; }
.testi__left { max-width: 400px; }
.testi__left h2 { margin-bottom: 8px; }
.testi__left p { margin-bottom: 32px; }
.testi__slider { position: relative; width: 756px; flex: none; }
.testi__slider::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100vw; background: var(--sand); }
.slide { display: none; position: relative; padding: 120px 48px; }
.slide.is-active { display: flex; justify-content: center; }
.slide__in { max-width: 460px; }
.slide h3 { font-size: 34px; line-height: 1.294em; margin-bottom: 16px; }
.slide p { margin: 0; }
.slide__author { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--n300); color: var(--n600); font-size: 16px; }
.slide__author strong { color: var(--n800); font-weight: 500; }
.initials { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--white); font-size: 15px; font-weight: 500; flex: none; }
.testi__slider .circle { position: absolute; top: 50%; margin-top: -36px; z-index: 2; }
.testi__slider .prev { left: 20px; }
.testi__slider .next { right: 20px; }

/* Pie */
.footer-top { position: relative; padding: 140px 0; }
.footer-top__bg { position: absolute; top: 0; bottom: 0; left: 0; right: 86px; z-index: 1; overflow: hidden; }
.footer-top__bg img { width: 100%; height: 100%; object-fit: cover; }
.footer-top__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.footer-top__dark { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: var(--dark); }
.footer-top .container { z-index: 2; }
.footer-top__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; max-width: 1182px; }
.footer-top h2 { color: var(--white); }
.footer-top .btn-row { justify-content: flex-end; }
.footer { background: var(--dark); color: var(--n300); }
.footer__grid { display: grid; grid-template-columns: 437fr 831fr; }
.footer__col { padding: 84px 40px 84px 0; }
.footer__col--right { padding: 84px 0 84px 40px; border-left: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr auto; gap: 64px; }
.footer .logo { margin-bottom: 24px; }
.footer__col p { max-width: 396px; margin-bottom: 24px; }
.footer__title { color: var(--white); font-size: 20px; font-weight: 700; line-height: 1.1em; margin-bottom: 24px; }
.footer__lists { display: grid; grid-template-columns: repeat(2, auto); gap: 20px 56px; justify-content: start; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.footer li { font-size: 16px; line-height: 20px; }
.footer li a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 40px 0; text-align: center; font-size: 16px; }
.footer__bottom a { color: var(--white); }
.footer__bottom a:hover { color: var(--n400); }
.footer-mini { background: var(--white); padding: 36px 0; text-align: center; font-size: 16px; color: var(--n600); border-top: 1px solid var(--n300); }
.footer-mini a { color: var(--n800); }

/* Portadas internas */
.top { position: relative; background: var(--dark); padding: 72px 0 0; overflow: hidden; }
.top .container { z-index: 2; }
.top__white { position: absolute; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 0; }
.top h1 { color: var(--white); }
.top p { color: var(--n200); }

/* Nosotros: portada */
.about-top-head { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; margin-bottom: 48px; }
.about-top-head h1 { max-width: 770px; }
.about-top-head .btn-row { margin-bottom: 20px; }
.about-top-grid { display: grid; grid-template-columns: 404fr 836fr; gap: 28px; }
.about-top-grid > img { width: 100%; height: 736px; object-fit: cover; }
.about-top-right { display: grid; gap: 48px; align-content: start; }
.about-top-wide { height: 542px; margin-right: var(--bleed); overflow: hidden; }
.about-top-wide img { width: 100%; height: 100%; object-fit: cover; }
.stats-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 40px; max-width: 770px; justify-self: end; width: 100%; }

/* Texto sobre imagen que sangra al borde */
.bleed { display: grid; align-items: center; }
.bleed--right { grid-template-columns: 491fr 777fr; }
.bleed--left { grid-template-columns: 758fr 510fr; margin-top: 80px; }
.bleed__text { position: relative; z-index: 1; max-width: 621px; }
.bleed--right .bleed__text { margin-right: -130px; }
.bleed--left .bleed__text { margin-left: -111px; }
.bleed__text .small-left { max-width: 450px; }
.bleed__text .small-left p { margin-bottom: 16px; }
.bleed__text .small-right { padding-left: 140px; }
.bleed__text .small-right p { margin-bottom: 24px; }
.bleed__img { height: 600px; overflow: hidden; }
.bleed--right .bleed__img { margin-right: var(--bleed); }
.bleed--left .bleed__img { height: 613px; margin-left: var(--bleed); }
.bleed__img img { width: 100%; height: 100%; object-fit: cover; }

/* Valores */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 28px; margin-top: 80px; }
.value { text-align: center; padding: 0 40px 56px; border-bottom: 1px solid var(--n300); }
.value svg { width: 52px; height: 52px; margin: 0 auto 20px; color: var(--n800); display: block; }
.value h3 { font-size: 28px; line-height: 1.429em; margin-bottom: 4px; }
.value p { margin: 0; }

/* Carrusel de zonas / oficinas */
.zone-slider { position: relative; }
.zone-slide { display: none; gap: 28px; }
.zone-slide.is-active { display: grid; }
.zone-slider--img-left .zone-slide { grid-template-columns: 1.35fr 1fr; }
.zone-slider--img-right .zone-slide { grid-template-columns: 1fr 1.35fr; }
.zone-slide img { width: 100%; height: 658px; object-fit: cover; }
.zone-text { max-width: 448px; justify-self: end; width: 100%; }
.zone-slider--img-right .zone-text { justify-self: start; }
.zone-text h2 { margin-bottom: 105px; }
.zone-text h3 { font-size: 34px; line-height: 1.294em; margin-bottom: 4px; }
.zone-text p { margin-bottom: 40px; }
.zone-text .t200 { margin-bottom: 16px; }
.zone-text a { color: var(--n800); font-weight: 500; font-size: 16px; }
.zone-arrows { position: absolute; bottom: 0; display: flex; justify-content: space-between; width: 448px; }
.zone-slider--img-left .zone-arrows { right: 0; }
.zone-slider--img-right .zone-arrows { left: 0; }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 24px; }
.person { padding-bottom: 40px; border-bottom: 1px solid var(--n300); }
.person__img { height: 480px; overflow: hidden; margin-bottom: 24px; background: var(--sand); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person h3 { font-size: 34px; line-height: 1.294em; margin-bottom: 8px; }
.person__role { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.person__role .t200 { color: var(--n800); }
.person p { margin: 0; }
.team-row2 { display: grid; grid-template-columns: 404fr 836fr; gap: 28px; margin-top: 40px; }
.cta-card { background: var(--dark); display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 64px; }
.cta-card > div { max-width: 440px; }
.cta-card h3 { color: var(--white); font-size: 54px; line-height: 1.222em; margin-bottom: 16px; }
.cta-card p { color: var(--n200); margin-bottom: 40px; }

/* Instagram */
.insta { display: grid; grid-template-columns: 772fr 468fr; gap: 28px; align-items: center; }
.insta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.insta__col { display: grid; gap: 28px; align-content: start; }
.insta__col:last-child { margin-top: 102px; }
.insta__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta__item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .3s; }
.insta__item svg { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; color: var(--white); z-index: 1; opacity: 0; transition: opacity .3s; }
.insta__item:hover::after, .insta__item:hover svg { opacity: 1; }
.insta__item:hover img { transform: scale(1.05); }
.insta__text { max-width: 450px; justify-self: end; }
.insta__text p { margin-bottom: 32px; }

/* Servicios: portada centrada */
.top-center { text-align: center; margin-bottom: 64px; }
.top-center h1 { max-width: 756px; margin: 0 auto; }
.top-center p { max-width: 666px; margin: 16px auto 40px; }
.top-wide-img { height: 565px; margin-left: var(--bleed); overflow: hidden; }
.top-wide-img img { width: 100%; height: 100%; object-fit: cover; }

/* Servicio individual */
.svc-top { display: grid; grid-template-columns: 796fr 408fr; gap: 64px; }
.svc-top__icon { width: 52px; height: 52px; color: var(--white); margin-bottom: 24px; display: block; }
.svc-top__main p { margin: 8px 0 48px; }
.svc-top__img { height: 569px; margin-left: var(--bleed); overflow: hidden; }
.svc-top__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-form { max-width: 372px; justify-self: end; margin-top: 80px; }
.svc-form h2 { color: var(--white); font-size: 28px; line-height: 1.429em; margin-bottom: 4px; }
.svc-form > p { margin-bottom: 24px; }
.svc-form form { display: grid; gap: 24px; }
.svc-form .btn { margin-top: 16px; }

/* Texto largo */
.rich { max-width: 728px; margin: 0 auto; }
.rich h2 { font-size: 38px; line-height: 1.316em; margin: 0 0 16px; }
.rich h2:not(:first-child) { margin-top: 64px; }
.rich h3 { font-size: 24px; line-height: 1.417em; margin: 40px 0 16px; }
.rich p { margin-bottom: 32px; }
.rich ol, .rich ul { margin: 0 0 40px; padding-left: 40px; }
.rich li { padding-left: 8px; margin-bottom: 8px; }
.rich li::marker { color: var(--n800); }
.rich figure { margin: 48px 0 0; }
.rich figure img { width: 100%; height: 440px; object-fit: cover; }
.rich figcaption { margin-top: 12px; font-size: 16px; text-align: center; color: var(--n500); }
.rich strong { color: var(--n800); font-weight: 500; }

/* Proyectos: lista */
.top-split { display: grid; grid-template-columns: 1.75fr 1fr; gap: 28px; align-items: center; padding-bottom: 256px; }
.top-split p { margin: 0; }
.pf-list { margin-top: -164px; position: relative; z-index: 2; }
.pf-item { display: block; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--n300); }
.pf-item:last-child { border-bottom: 0; margin-bottom: 0; }
.pf-item__img { height: 380px; overflow: hidden; margin-bottom: 24px; }
.pf-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pf-item:hover .pf-item__img img { transform: scale(1.04); }
.pf-item__info { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.pf-item h2 { font-size: 34px; line-height: 1.294em; max-width: 440px; transition: color .3s; }
.pf-item:hover h2 { color: var(--n600); }
.details { display: grid; grid-template-columns: repeat(3, auto); gap: 28px 48px; margin: 0; }
.details dt { font-size: 16px; line-height: 20px; color: var(--n600); margin-bottom: 16px; }
.details dd { margin: 0; font-size: 16px; line-height: 20px; font-weight: 500; color: var(--n800); white-space: nowrap; }
.details--dark dt { color: var(--n300); }
.details--dark dd { color: var(--white); }

/* Proyecto individual */
.prj-top { position: relative; background: var(--dark); padding: 180px 0 254px; overflow: hidden; }
.prj-top__img { position: absolute; top: 0; right: 0; bottom: 0; width: 49%; z-index: 1; overflow: hidden; }
.prj-top__img img { width: 100%; height: 100%; object-fit: cover; }
.prj-top__img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.prj-top__white { position: absolute; left: 0; right: 0; bottom: 0; height: 129px; background: var(--white); }
.prj-top .container { z-index: 2; }
.prj-top h1 { color: var(--white); max-width: 1112px; margin-bottom: 8px; }
.prj-top__info { max-width: 530px; }
.prj-top__info p { color: var(--n200); margin-bottom: 0; }
.prj-top .details { margin-top: 40px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 34px; max-width: 836px; margin: 24px auto 48px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; aspect-ratio: 1; }
.gallery button:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 836 / 404; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 11, .94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 86vh; }
.lightbox .circle { position: absolute; background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; margin-top: -36px; }
.lightbox__next { right: 24px; top: 50%; margin-top: -36px; }

/* Formularios con línea inferior */
.field { display: flex; flex-direction: column; }
.field label { font-size: 16px; line-height: 20px; color: var(--white); font-weight: 500; margin-bottom: 4px; }
.input {
  width: 100%; min-height: 72px; padding: 0; border: 0; border-bottom: 1px solid var(--n600); border-radius: 0;
  background: transparent; color: var(--white); font-size: 18px; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--n400); }
.input:focus { outline: none; border-bottom-color: var(--white); }
select.input { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0 center / 18px no-repeat; padding-right: 28px; }
select.input option { color: var(--n800); }
textarea.input { min-height: 144px; padding-top: 24px; resize: vertical; }
.field.has-error .input { border-bottom-color: #E07A6B; }
.field__error { display: none; margin-top: 8px; font-size: 14px; color: #E9A296; }
.field.has-error .field__error { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form-grid .full { grid-column: 1 / -1; }
.form-done { display: none; padding: 48px 0; color: var(--n200); }
.form-done.is-visible { display: block; }
.form-done h3 { color: var(--white); font-size: 34px; line-height: 1.294em; margin-bottom: 12px; }

/* Contacto */
.contact-top { display: grid; grid-template-columns: 581fr 639fr; gap: 48px; padding-bottom: 164px; }
.contact-top__left { max-width: 428px; }
.contact-top__left p { margin: 8px 0 32px; }
.contact-links { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 80px; }
.contact-links .c-300 { margin-bottom: 4px; }
.contact-links a { color: var(--white); font-size: 16px; font-weight: 500; }
.contact-links a:hover { color: var(--n400); }
.follow-dark { display: grid; grid-template-columns: 1fr auto; gap: 28px; color: var(--white); }
.contact-top__form { max-width: 574px; justify-self: end; width: 100%; }
.contact-top__form .btn { margin-top: 32px; }

/* Preguntas frecuentes */
.faq { max-width: 1108px; margin: 64px auto 0; }
.faq details { border-bottom: 1px solid var(--n300); padding: 0 0 64px; margin-bottom: 64px; }
.faq details:last-child { margin-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; font-size: 34px; line-height: 1.294em; font-weight: 500; color: var(--n800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 28px; height: 28px; margin-top: 8px; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { max-width: 900px; margin: 24px 0 0; }

/* Cotizar */
.quote-top { position: relative; background: var(--dark); padding: 100px 0 0; overflow: hidden; }
.quote-top .container { z-index: 2; }
.quote-top h1 { color: var(--white); }
.quote-top__white { position: absolute; left: 0; right: 0; bottom: 0; height: 162px; background: var(--white); }
.quote-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; margin-bottom: 145px; }
.quote-head p { max-width: 444px; justify-self: end; margin: 0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quote-img { height: 740px; margin-left: var(--bleed); overflow: hidden; }
.quote-img img { width: 100%; height: 100%; object-fit: cover; }
.quote-form { max-width: 574px; justify-self: end; width: 100%; padding-bottom: 220px; }
.quote-form .btn { margin-top: 100px; }

/* WhatsApp */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: var(--dark); color: var(--white); display: grid; place-items: center; border: 1px solid var(--line-dark); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(.94); }
.wa svg { width: 28px; height: 28px; }

/* Carga inicial: una sola secuencia en la portada */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.load { animation: rise .9s var(--ease) both; }
.load-2 { animation-delay: .12s; }
.load-3 { animation-delay: .24s; }
.hero__img img, .prj-top__img img { animation: settle 1.6s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Tableta ---------- */
@media (max-width: 991px) {
  .d1 { font-size: 64px; }
  .d2 { font-size: 44px; }
  .section { padding: 140px 0; }
  .section.pd-148 { padding: 120px 0; }
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 24px; background: var(--dark); border-bottom: 1px solid var(--line-dark); display: none; }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px 0; font-size: 20px; width: 100%; border-bottom: 1px solid var(--line-dark); }
  .header__right .social, .header__right .btn { display: none; }
  .header__left { gap: 0; }
  .hero { padding: 200px 0 0; }
  .hero__img { position: relative; width: auto; height: 520px; margin-top: 64px; }
  .hero__down, .hero__bottom { display: none; }
  .strip__grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-col { flex-direction: row; justify-content: flex-start; padding: 0 0 48px; gap: 48px; }
  .stats-col .stat + .stat::before { display: none; }
  .bg-left, .bg-right { width: 100%; }
  .over { grid-template-columns: 1fr; }
  .over__img { height: 460px; }
  .over__text { margin: 48px 0 0; }
  .over__text .small { padding-left: 0; }
  .services-head, .head-split, .pf-row1, .pf-row2, .process, .cta__row, .footer-top__grid, .footer__grid, .about-top-head, .about-top-grid, .bleed--right, .bleed--left, .insta, .svc-top, .top-split, .contact-top, .quote-head, .quote-grid, .team-row2 { grid-template-columns: 1fr; }
  .zone-slider--img-left .zone-slide, .zone-slider--img-right .zone-slide { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .services--stagger { margin-top: 64px; }
  .services--stagger .srv:nth-child(n) { transform: none; }
  .pf-row1 .img-link, .pf-row2 .img-link { height: 420px; }
  .follow { margin-top: 40px; }
  .cta__right { justify-self: start; }
  .process__img { min-height: 420px; }
  .steps { justify-self: stretch; margin-top: 40px; }
  .testi { flex-direction: column; align-items: stretch; }
  .testi__slider { width: auto; }
  .testi__slider::before { left: -24px; right: -24px; width: auto; }
  .footer-top__bg { right: 0; }
  .footer-top .btn-row { justify-content: flex-start; }
  .footer__col--right { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 56px; }
  .footer__col { padding-bottom: 56px; }
  .about-top-grid > img { height: 480px; }
  .about-top-wide, .bleed--right .bleed__img, .bleed--left .bleed__img, .top-wide-img, .svc-top__img, .quote-img { margin-left: 0; margin-right: 0; height: 440px; }
  .stats-row { justify-self: stretch; padding-bottom: 24px; }
  .bleed__text { margin: 40px 0 0 !important; max-width: none; }
  .bleed--left .bleed__text { order: -1; margin: 0 0 40px !important; }
  .bleed__text .small-right { padding-left: 0; }
  .values { grid-template-columns: 1fr 1fr; }
  .zone-slide img { height: 440px; }
  .zone-text { justify-self: start; }
  .zone-text h2 { margin-bottom: 40px; }
  .zone-arrows { position: static; justify-content: flex-start; gap: 16px; margin-top: 40px; width: auto; }
  .zone-slider--img-left .zone-text { order: -1; }
  .team { grid-template-columns: 1fr 1fr; }
  .insta__text { justify-self: start; }
  .svc-form { justify-self: stretch; max-width: none; margin-top: 0; padding-bottom: 80px; }
  .top-split { padding-bottom: 220px; }
  .pf-item__info { grid-template-columns: 1fr; gap: 24px; }
  .prj-top { padding: 180px 0 0; }
  .prj-top__img { position: relative; width: auto; height: 460px; margin-top: 64px; }
  .prj-top__white { display: none; }
  .contact-top__form { justify-self: stretch; max-width: none; }
  .contact-links { margin-bottom: 40px; }
  .quote-head { margin-bottom: 64px; }
  .quote-head p { justify-self: start; }
  .quote-form { justify-self: stretch; max-width: none; padding-bottom: 120px; }
  .quote-form .btn { margin-top: 48px; }
  .quote-top__white { display: none; }
  .quote-grid .quote-img { order: 2; }
}

/* ---------- Celular ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .d1 { font-size: 46px; }
  .d2 { font-size: 36px; }
  .d3, .step h3, .slide h3, .person h3, .pf-item h2, .zone-text h3, .faq summary { font-size: 26px; }
  .container { padding: 0 16px; }
  .section { padding: 100px 0; }
  .section.pd-148 { padding: 96px 0; }
  .header__inner { padding: 20px 0; }
  .nav { padding: 8px 16px 24px; }
  .hero { padding-top: 150px; }
  .hero__img { height: 360px; }
  .strip__list { justify-content: flex-start; gap: 16px 28px; }
  .strip__item { font-size: 20px; }
  .stat__num { font-size: 56px; }
  .stat__num sup { font-size: 32px; }
  .stats-col { flex-direction: column; gap: 24px; }
  .services { grid-template-columns: 1fr; row-gap: 48px; }
  .srv { padding: 20px 0 0; }
  .pf-row1 .img-link, .pf-row2 .img-link { height: 300px; }
  .cta { padding: 80px 0; }
  .step__row { grid-template-columns: 1fr; gap: 12px; }
  .step__row .t200 { order: -1; }
  .step + .step { padding-top: 40px; margin-top: 40px; }
  .slide { padding: 80px 16px 140px; }
  .testi__slider .circle { top: auto; bottom: 32px; margin-top: 0; }
  .testi__slider .prev { left: 16px; }
  .testi__slider .next { right: auto; left: 104px; }
  .footer-top { padding: 96px 0; }
  .footer__lists { grid-template-columns: 1fr 1fr; gap: 20px 28px; }
  .footer__col--right { grid-template-columns: 1fr; gap: 40px; }
  .values, .team { grid-template-columns: 1fr; }
  .value { padding: 0 0 40px; }
  .values { gap: 40px; }
  .insta__col:last-child { margin-top: 48px; }
  .insta__grid, .insta__col { gap: 16px; }
  .person__img { height: 400px; }
  .cta-card { padding: 80px 24px; }
  .cta-card h3 { font-size: 36px; }
  .details { grid-template-columns: 1fr 1fr; gap: 20px 28px; }
  .pf-item__img { height: 240px; }
  .pf-list { margin-top: -140px; }
  .gallery { gap: 16px; }
  .rich h2 { font-size: 30px; }
  .rich figure img { height: 260px; }
  .form-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq details { padding-bottom: 32px; margin-bottom: 32px; }
  .faq summary { gap: 16px; }
  .about-top-grid > img, .about-top-wide, .bleed__img, .bleed--left .bleed__img, .top-wide-img, .svc-top__img, .quote-img, .zone-slide img, .over__img { height: 300px; }
  .process__img { min-height: 300px; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* Donde el título se monta sobre la foto, la orilla se aclara para que se lea */
.over__img, .bleed__img { position: relative; }
.over__img::after, .bleed__img::after { content: ""; position: absolute; top: 0; bottom: 0; width: 220px; pointer-events: none; }
.over__img::after, .bleed--left .bleed__img::after { right: 0; background: linear-gradient(to left, rgba(255,255,255,.92), rgba(255,255,255,0)); }
.bleed--right .bleed__img::after { left: 0; background: linear-gradient(to right, rgba(255,255,255,.92), rgba(255,255,255,0)); }
@media (max-width: 991px) { .over__img::after, .bleed__img::after { display: none; } }
@media (max-width: 767px) {
  .details { grid-template-columns: 1fr 1fr; }
  .details dd { white-space: normal; }
  .pf-item__info, .pf-item h2 { min-width: 0; }
}
@media (max-width: 991px) {
  .hero, .prj-top { display: flex; flex-direction: column; }
  .hero__img, .prj-top__img { order: 2; }
  .hero .container, .prj-top .container { width: 100%; }
}
