/* =========================================================
   Estudio Paradigma · estilos
   Paleta de su landing: negro, blanco y grises. Tipografía: Poppins.
   ========================================================= */

:root {
  --black: #000000;
  --white: #ffffff;
  --smoke: #f5f5f5;
  --text-2: #595959;      /* texto secundario: 7:1 sobre blanco */
  --border: #8a8a8a;      /* bordes de opciones y campos: 3,4:1 */
  --line: #e5e5e5;        /* separadores decorativos */
  --band: #6e6e6e;        /* franja gris (como la de su landing), texto blanco 5:1 */
  --error: #b3261e;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--smoke { background: var(--smoke); }

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
.h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--text-2); max-width: 56ch; }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 6px;
  font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--black); transition: background-color .2s, color .2s;
}
.btn--black { background: var(--black); color: var(--white); }
.btn--outline { background: transparent; color: var(--black); }
.btn--white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--black:hover { background: #262626; }
  .btn--outline:hover { background: var(--black); color: var(--white); }
  .btn--white:hover { background: #e6e6e6; }
}

/* ---------- barra superior ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--white); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--black); text-decoration: none; }
.logo__mark { width: 54px; height: auto; }
.logo__text { width: 226px; height: auto; }

/* ---------- hero con el formulario ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 40px; }
.hero + .section { padding-top: 40px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hero__copy { display: grid; gap: 18px; align-content: start; padding-top: 8px; }
.hero__title { font-size: clamp(30px, 3.9vw, 54px); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; text-transform: uppercase; }
.hero__sub { font-size: clamp(16px, 1.3vw, 18px); color: var(--text-2); max-width: 46ch; }
.hero__proof { font-size: 14px; color: var(--text-2); display: flex; flex-direction: column; gap: 2px; }
.hero__photo { margin-top: 10px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--smoke); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__proof--mobile, .hero__photo--mobile { display: none; }

/* ---------- tarjeta del formulario ---------- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: clamp(20px, 2.4vw, 32px); scroll-margin-top: 12px;
}
.card__head { display: flex; flex-wrap: wrap; row-gap: 2px; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.card__title { font-size: 18px; font-weight: 600; }
.card__time { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; width: 100%; background: var(--black); transform-origin: left; transform: scaleX(0.06); transition: transform .45s var(--ease); }

.step { animation: stepIn .22s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step__q { font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; line-height: 1.3; margin-bottom: 16px; outline: none; }
.step__note { font-size: 14px; color: var(--text-2); margin: -8px 0 16px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 54px; padding: 12px 16px; text-align: left;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 16px; line-height: 1.35; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.opt small { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.opt__check { width: 20px; height: 20px; flex: none; opacity: 0; }
.opt.is-on { background: var(--black); border-color: var(--black); color: var(--white); }
.opt.is-on small { color: rgba(255, 255, 255, 0.75); }
.opt.is-on .opt__check { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .opt:hover { border-color: var(--black); } }
.step__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; min-height: 24px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; background: none; border: 0; padding: 12px 16px 12px 0; margin: -12px 0; font-size: 14px; color: var(--text-2); cursor: pointer; }
.back svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .back:hover { color: var(--black); } }

.fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field label em { font-style: normal; font-weight: 400; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--black);
  background: var(--white); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 12px 14px; min-height: 50px; outline: none; -webkit-appearance: none; appearance: none;
}
.field input:focus, .field textarea:focus { border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__err { font-size: 13px; color: var(--error); }
.field__err:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; margin-top: 6px; }
.submit[disabled] { opacity: .65; cursor: progress; }
.legal { font-size: 13px; color: var(--text-2); margin-top: 10px; text-align: center; }
.formerr { font-size: 14px; color: var(--error); margin-top: 12px; }
.formerr:empty { display: none; }
.formerr a { color: var(--black); font-weight: 500; }

/* ---------- obras ---------- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--smoke); }
.work__img img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { padding-top: 12px; display: grid; gap: 2px; }
.work__name { font-weight: 600; font-size: 17px; }
.work__name span { font-weight: 400; color: var(--text-2); }
.work__desc { font-size: 15px; color: var(--text-2); }
.works__cta { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }

/* ---------- obra real ---------- */
.build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.build__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.build__imgs .work__img { aspect-ratio: 3 / 4; }
.build__copy { display: grid; gap: 16px; }

.band { background: var(--band); color: var(--white); }
.band .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.band b { display: block; font-weight: 600; font-size: 16px; }
.band span { font-size: 15px; }

/* ---------- proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: paso; }
.steps li { position: relative; padding-top: 18px; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--black); transform-origin: left; }
.steps .n { font-size: 13px; font-weight: 600; color: var(--text-2); }
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { font-size: 15px; color: var(--text-2); }

/* ---------- preguntas frecuentes ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; background: none; border: 0; text-align: left; font-size: 16px; font-weight: 500; cursor: pointer; }
.faq__q svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 0 18px; color: var(--text-2); max-width: 70ch; }
.faq__item.is-open .faq__a { display: block; }

/* ---------- cierre ---------- */
.closing { background: var(--white); color: var(--black); border-top: 1px solid var(--line); text-align: center; }
.closing .wrap { display: grid; justify-items: center; gap: 16px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.closing .h2 { text-transform: uppercase; }
.closing p { color: var(--text-2); max-width: 48ch; }

/* ---------- pie ---------- */
.footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--text-2); }


/* ---------- páginas de gracias ---------- */
.ty { padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 8vw, 104px); }
.ty__box { max-width: 760px; display: grid; gap: 18px; }
.ty__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.12; text-transform: uppercase; letter-spacing: -0.01em; }
.ty__next { display: grid; gap: 10px; margin-top: 8px; }
.ty__next li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; }
.ty__next li b { font-weight: 600; }
.cal { margin-top: 18px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--white); }
.cal iframe { display: block; width: 100%; min-height: 640px; border: 0; }
.ty__alt { font-size: 15px; color: var(--text-2); }
.ty__alt a { color: var(--black); font-weight: 500; }
.ty__photo { margin-top: 24px; aspect-ratio: 16 / 7; overflow: hidden; }
.ty__photo img { width: 100%; height: 100%; object-fit: cover; }
.ty__addr { font-size: 14px; color: var(--text-2); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__copy { gap: 12px; padding-top: 0; }
  .hero__photo--desktop, .hero__proof--desktop, .hero .eyebrow { display: none; }
  .hero__proof--mobile, .hero__photo--mobile { display: flex; }
  .hero__photo--mobile { display: block; margin-top: 0; }
  .hero { padding-top: 20px; }
  .build { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar .wrap { height: 66px; }
  .logo__mark { width: 40px; }
  .logo__text { width: 172px; }
  .hero__sub { font-size: 15px; }
  .card { padding: 18px 16px 20px; border-radius: 10px; }
  .card__title { font-size: 17px; }
  .sub-extra { display: none; }
  .card__time { font-size: 12px; }
  .card__head { margin-bottom: 12px; }
  .progress { margin-bottom: 18px; }
  .works { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .btn { width: 100%; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}


/* =========================================================
   Movimiento y galería (v3): minimalista, pero con vida
   ========================================================= */

/* entrada de la portada: corta y escalonada; el formulario se puede usar desde el primer instante */
@keyframes inUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js [data-in] { animation: inUp .8s var(--ease) both; }
.js .hero__title[data-in] { animation-delay: .06s; }
.js .hero__sub[data-in] { animation-delay: .14s; }
.js .card[data-in] { animation-delay: 0s; }
.js .hero__proof[data-in] { animation-delay: .2s; }
.js .hero__photo[data-in] { animation-delay: .26s; }

/* carrusel de la portada */
.slides { position: relative; overflow: hidden; background: var(--smoke); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-on { opacity: 1; z-index: 1; }
.slide.is-on img { transform: scale(1); }
.slides__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 28px 52px 12px 16px; color: var(--white); font-size: 13px; font-weight: 500; background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); }
.slides__pause { position: absolute; z-index: 3; right: 6px; bottom: 2px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--white); cursor: pointer; }
.slides__pause svg { width: 14px; height: 14px; }
.slides__pause .pp-play { display: none; }
.slides__pause.is-paused .pp-play { display: inline; }
.slides__pause.is-paused .pp-pause { display: none; }
.slides__pause:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.slides__name { transition: opacity .3s; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.slides__name.is-out { opacity: 0; }
.slides__bar { flex: 1; height: 1px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.slides__bar span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }

/* apariciones al scrollear */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .steps[data-reveal] { transform: none; }
.js .steps li::before { transform: scaleX(0); transition: transform 1s var(--ease); }
.js .steps.is-in li::before { transform: scaleX(1); }
.steps li:nth-child(2)::before { transition-delay: .12s; }
.steps li:nth-child(3)::before { transition-delay: .24s; }
.steps li:nth-child(4)::before { transition-delay: .36s; }

/* encabezado de sección con texto al costado */
.section-head--row { grid-template-columns: 1fr auto; align-items: end; gap: 10px 24px; }
.section-head--row > div { display: grid; gap: 8px; }
.section-head__aside { font-size: 15px; color: var(--text-2); max-width: 34ch; text-align: right; }

/* galería de obras: grande y chica alternadas */
.obras { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 52px) clamp(16px, 2.4vw, 28px); align-items: start; }
.obra { grid-column: span 7; display: block; width: 100%; padding: 0; margin: 0; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
.obra--tall { grid-column: span 5; }
.obras .obra:nth-child(2), .obras .obra:nth-child(6) { margin-top: clamp(40px, 6vw, 96px); }
.obras .obra:nth-child(3) { margin-top: clamp(40px, 6vw, 96px); }
.obra__media { position: relative; display: block; overflow: hidden; background: var(--smoke); aspect-ratio: 4 / 3; }
.obra--tall .obra__media { aspect-ratio: 4 / 5; }
.obra__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .7s var(--ease); }
.obra__img--alt { opacity: 0; }
.obra[data-obra="vivienda-sd"] .obra__img--alt { object-position: 8% 50%; }
.obra__ver { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--white); color: var(--black); font-size: 13px; font-weight: 500; border-radius: 999px; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.obra__ver svg { width: 14px; height: 14px; }
.obra__info { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; padding-top: 14px; }
.obra__n { font-size: 13px; font-weight: 600; color: var(--text-2); }
.obra__txt { display: grid; gap: 2px; }
.obra__name { font-weight: 600; font-size: 18px; }
.obra__name span { font-weight: 400; color: var(--text-2); }
.obra__desc { font-size: 15px; color: var(--text-2); }
.obra__count { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.obra:focus-visible { outline: 2px solid var(--black); outline-offset: 6px; }
.obra:focus-visible .obra__ver { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .obra:hover .obra__img { transform: scale(1.04); }
  .obra:hover .obra__img--alt { opacity: 1; }
  .obra:hover .obra__ver { opacity: 1; transform: none; }
}
@media (hover: none), (pointer: coarse) {
  .obra__img--alt { display: none; }
  .obra__ver { opacity: 1; transform: none; }
}

/* visor de proyectos */
.lb-open, .lb-open body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); background: var(--white); opacity: 0; transition: opacity .3s var(--ease); overscroll-behavior: contain; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__stage { position: relative; background: var(--smoke); overflow: hidden; touch-action: pan-y; }
.lb__slides { position: absolute; inset: 0; transition: opacity .2s; }
.lb__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--ease); }
.lb__slide.is-on { opacity: 1; }
.lb__slide img { width: 100%; height: 100%; object-fit: contain; padding: clamp(16px, 3vw, 40px); transform: scale(1.02); transition: transform 1s var(--ease); }
.lb__slide.is-on img { transform: none; }
.lb__nav { position: absolute; z-index: 2; top: 50%; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; color: var(--black); }
.lb__nav svg { width: 18px; height: 18px; }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
.lb__count { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-size: 13px; font-weight: 500; color: var(--black); background: var(--white); padding: 3px 10px; border-radius: 999px; }
.lb__count:empty { display: none; }
.lb--single .lb__nav { display: none; }
.lb__panel { position: relative; overflow-y: auto; padding: 72px clamp(22px, 3vw, 44px) 0; display: flex; flex-direction: column; gap: 14px; transition: opacity .2s; }
.lb.is-switching .lb__panel, .lb.is-switching .lb__slides { opacity: 0; }
.lb__close { position: fixed; z-index: 3; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; color: var(--black); }
.lb__close svg { width: 18px; height: 18px; transform: rotate(45deg); }
.lb__title { font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; }
.lb__meta { font-size: 15px; color: var(--text-2); }
.lb__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.lb__thumbs:empty { display: none; }
.lb__thumbs button { width: 64px; height: 48px; padding: 0; border: 0; background: var(--smoke); cursor: pointer; opacity: .55; transition: opacity .2s; outline-offset: 2px; }
.lb__thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--black); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb__text { display: grid; gap: 12px; font-size: 15px; line-height: 1.7; color: var(--text-2); max-width: 34em; }
.lb__cta { position: sticky; bottom: 0; z-index: 2; margin: 0 calc(-1 * clamp(22px, 3vw, 44px)); padding: 16px clamp(22px, 3vw, 44px) 20px; background: linear-gradient(rgba(255, 255, 255, 0), var(--white) 30%); }
.lb__more { margin-top: auto; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.lb__more button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--black); cursor: pointer; }
.lb__more svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .lb__nav:hover, .lb__close:hover { background: var(--black); color: var(--white); border-color: var(--black); }
  .lb__thumbs button:hover { opacity: 1; }
}

@media (max-width: 960px) {
  .lb { grid-template-columns: 1fr; grid-template-rows: min(75vw, 52vh) auto; overflow-y: auto; }
  .lb__panel { overflow: visible; padding-top: 24px; }
  .lb__slide img { padding: 0; object-fit: contain; }
  .lb__cta { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .lb__cta .btn { width: 100%; }
  .obras { grid-template-columns: 1fr; }
  .obra, .obra--tall { grid-column: 1 / -1; }
  .obras .obra:nth-child(2), .obras .obra:nth-child(3), .obras .obra:nth-child(6) { margin-top: 0; }
  .obra--tall .obra__media { aspect-ratio: 4 / 3; }
  .section-head--row { grid-template-columns: 1fr; }
  .section-head__aside { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-in], .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .js .steps li::before { transform: none; transition: none; }
  .slide img, .obra__img, .lb__slide img { transition: none !important; transform: none !important; }
  .slides__pause { display: none; }
  .step { animation: none; }
  .progress span { transition: none; }
  .faq__q svg { transition: none; }
}

.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--black); font-weight: 500; text-decoration: underline; cursor: pointer; }


/* =========================================================
   Correcciones del cliente (5-oct-2026)
   ========================================================= */

/* el celular no subraya lugares ni teléfonos como si fueran links */
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; pointer-events: none; }

/* pie con el logo */
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--black); }
.footer__brand .logo__mark { width: 40px; }
.footer__brand .logo__text { width: 168px; }

/* quiénes somos */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__copy { display: grid; gap: 16px; align-content: start; }
.about__copy > p:not(.eyebrow) { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--text-2); max-width: 54ch; }
.about__copy > p.about__quote { margin-top: 6px; padding-left: 18px; border-left: 2px solid var(--black); color: var(--black); font-size: clamp(17px, 1.45vw, 21px); font-weight: 500; line-height: 1.45; }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5 / 4; }
.about__ph { position: relative; margin: 0; overflow: hidden; background: var(--line); }
.about__ph--main { grid-row: 1 / 3; }
.about__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .about__ph:hover img { transform: scale(1.03); }
}
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photos { gap: 8px; }
  .footer__brand { flex-basis: 100%; }
}


@media (prefers-reduced-motion: reduce) {
  .about__ph img { transition: none; }
  .about__ph:hover img { transform: none; }
}
