/* =========================================================================
   ESTILOS · Sebastián Gil Arquitectos
   Índice: 1 Base · 2 Utilidades · 3 Botones · 4 Cabecera · 5 Carga
           6 Hero · 7 Secciones · 8 Servicios · 9 Proyecto · 10 Estudio
           11 Proceso · 12 FAQ · 13 Contacto y formulario · 14 Pie
           15 Movimiento reducido
   Móvil primero; puntos de corte en 700 / 900 / 1200 px.
   ========================================================================= */

/* ---------- 1 · Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--marfil);
  color: var(--grafito);
  font-family: var(--f-texto);
  font-size: var(--t-base);
  font-weight: 380;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; }
em { font-style: italic; }
/* Cifras de la serif en versión "de caja alta" (01, 02…) para que no parezcan letras */
.step__num, .service__num, .eyebrow span, .hero__counter, .facts strong { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h1 em, h2 em, h3 em, .scene__title em, .quote em, .form-ok__title em { font-weight: 400; color: var(--acento, var(--bronce-texto)); }
::selection { background: var(--bronce); color: var(--grafito); }

/* Foco visible y coherente en toda la web */
:focus-visible { outline: 2px solid var(--bronce); outline-offset: 3px; }
.section--oscuro :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--bronce-claro); }

/* ---------- 2 · Utilidades ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; top: .75rem; left: .75rem; z-index: 300; padding: .8rem 1.1rem;
  background: var(--grafito); color: var(--marfil); font-size: var(--t-small);
  transform: translateY(-200%); transition: transform .2s;
}
.skip:focus { transform: none; }
.no-js .js-only { display: none !important; }
#contenido { outline: none; }
#contenido:empty { height: 0; }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-size: var(--t-micro); letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
  color: var(--bronce-texto);
}
.eyebrow span { font-family: var(--f-display); font-size: 1rem; letter-spacing: .05em; font-style: italic; }
.eyebrow::after { content: ""; flex: 0 0 3rem; height: 1px; background: currentColor; opacity: .5; order: 1; }
.eyebrow span { order: -1; }
.lead { font-size: var(--t-lead); line-height: 1.55; font-weight: 330; max-width: 38em; }

/* ---------- 3 · Botones ---------- */
.btn {
  --h: 3rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: var(--h); padding: 0 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 .78rem/1 var(--f-texto); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 1.2rem; height: 1.2rem; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--bronce { background: var(--bronce); color: var(--grafito); }
.btn--bronce:hover { background: var(--bronce-claro); }
.btn--ghost { border-color: rgba(239, 234, 226, .55); color: var(--marfil); }
.btn--ghost:hover { border-color: var(--marfil); background: rgba(239, 234, 226, .08); }
.btn--lg { --h: 3.6rem; padding: 0 2rem; }

/* ---------- 4 · Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 1rem;
  height: 4.25rem; padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  color: var(--marfil);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.header.is-solid {
  background: rgba(239, 234, 226, .94);
  color: var(--grafito);
  box-shadow: 0 1px 0 rgba(20, 19, 15, .08);
}
@supports (backdrop-filter: blur(1px)) {
  .header.is-solid { background: rgba(239, 234, 226, .82); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); }
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; margin-right: auto; }
.brand__mono { width: 3rem; height: 2.2rem; color: var(--bronce); flex: none; }
.brand__name {
  display: none;
  font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.05;
}
.brand__name small { display: block; font-family: var(--f-texto); font-size: .56rem; letter-spacing: .58em; font-weight: 400; margin-top: .3rem; opacity: .75; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(1rem, 2vw, 2.2rem); }
.nav a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: .5rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { --h: 2.6rem; padding: 0 1rem; font-size: .68rem; letter-spacing: .12em; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -.6rem;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 1.4rem; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.menu-toggle__bars { position: relative; transform: translateY(-3px); }
.menu-toggle__bars::before { content: ""; position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-7px) rotate(-90deg); }
.no-js .menu-toggle { display: none; }

/* Menú móvil desplegado */
@media (max-width: 1099px) {
  .nav.is-open {
    display: flex; position: fixed; inset: 0; z-index: -1;
    background: var(--grafito); color: var(--marfil);
    align-items: center; padding: 6rem var(--gutter) 3rem;
  }
  .nav.is-open ul { flex-direction: column; gap: 1.2rem; }
  .nav.is-open a { font-family: var(--f-display); font-size: 2.6rem; letter-spacing: 0; text-transform: none; }
  .header.menu-open { color: var(--marfil); background: transparent; box-shadow: none; backdrop-filter: none; }
}
@media (max-width: 380px) {
  .header__cta { padding: 0 .75rem; letter-spacing: .08em; }
}
@media (min-width: 700px) {
  .brand__name { display: block; }
}
@media (min-width: 1100px) {
  .nav { display: block; }
  .nav__contact { display: none; }
  .menu-toggle { display: none; }
  .header { height: 5rem; gap: 2.5rem; }
  .header__cta { --h: 2.85rem; padding: 0 1.4rem; font-size: .72rem; letter-spacing: .16em; }
}

/* ---------- 5 · Pantalla de carga ---------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: var(--grafito); color: var(--bronce);
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader__mono { width: 7.5rem; height: 5.5rem; }
.loader__mono path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.4s var(--ease) forwards; }
.loader__mono path:nth-child(2) { animation-delay: .15s; }
.loader__mono path:nth-child(n+3) { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.is-loaded .loader { opacity: 0; visibility: hidden; }

/* ---------- 6 · Hero cinematográfico ---------- */
.hero { position: relative; background: var(--grafito); color: var(--marfil); --acento: var(--bronce-claro); }
.hero__stage { position: relative; }
.scene { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.scene__media, .scene__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__media img { object-fit: cover; object-position: var(--fx, 50%) 50%; }
.scene--aerea { --fx: 58%; }
.scene--terraza { --fx: 46%; }
.scene--salon { --fx: 66%; }
.scene--noche { --fx: 58%; }

/* Bloques de texto de cada escena */
.scene__copy {
  position: absolute; z-index: 20;
  left: var(--gutter); right: var(--gutter); bottom: max(5.5rem, 11vh);
  max-width: 46rem;
  text-shadow: 0 1px 28px rgba(10, 9, 7, .35);
}
.scene__copy--right { text-align: right; }
.js .scene__copy--top { top: max(6.5rem, 14vh); bottom: auto; }
.scene__copy--top .scene__title { font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.8rem); }
/* El texto superior cae sobre el cielo del atardecer: más sombra y antetítulo claro */
.scene__copy--top { text-shadow: 0 1px 2px rgba(10, 9, 7, .35), 0 2px 32px rgba(10, 9, 7, .6); }
.scene__copy--top .scene__kicker { color: var(--marfil); }
.scene__copy--cierre { max-width: 54rem; }
.hero__title { display: block; font-weight: 300; }
.hero__kicker, .scene__kicker {
  display: block; margin-bottom: 1.4rem;
  font: 500 var(--t-micro)/1.5 var(--f-texto); letter-spacing: .26em; text-transform: uppercase;
  color: var(--bronce-claro);
}
.hero__headline { display: block; font-size: var(--t-mega); line-height: .95; letter-spacing: -.02em; font-weight: 300; }
.hero__lead { margin-top: 1.6rem; max-width: 32rem; font-size: clamp(.98rem, .9rem + .3vw, 1.15rem); font-weight: 330; color: rgba(239, 234, 226, .88); }
.hero__hint { display: flex; align-items: center; gap: .9rem; margin-top: 2.4rem; font-size: var(--t-micro); letter-spacing: .24em; text-transform: uppercase; color: rgba(239, 234, 226, .7); }
.hero__hint span { position: relative; width: 1px; height: 2.6rem; background: rgba(239, 234, 226, .25); overflow: hidden; }
.hero__hint span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--marfil); animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { to { top: 100%; } }
.scene__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 1.4rem + 4.8vw, 6.4rem); line-height: .98; letter-spacing: -.02em; }
.scene__title--xl { font-size: clamp(2.7rem, 1.4rem + 5vw, 6.8rem); }
.scene__text { margin-top: 1.2rem; max-width: 26rem; font-size: clamp(.98rem, .9rem + .3vw, 1.12rem); font-weight: 330; color: rgba(239, 234, 226, .88); }
.scene__copy--right .scene__text { margin-left: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Postproducción */
.hero__fx { display: none; }
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx--grade { background: linear-gradient(180deg, rgba(48, 32, 14, .18), rgba(30, 20, 10, 0) 40%, rgba(169, 138, 91, .10)); mix-blend-mode: soft-light; }
.fx--shade {
  background:
    linear-gradient(180deg, rgba(12, 11, 9, .55) 0%, rgba(12, 11, 9, 0) 22%),
    linear-gradient(0deg, rgba(12, 11, 9, .78) 0%, rgba(12, 11, 9, .32) 34%, rgba(12, 11, 9, 0) 62%);
}
.fx--vignette { background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(8, 7, 5, .55) 100%); }
.fx--grain {
  inset: -50%; background: url('../assets/img/grain.png') repeat; opacity: .06; mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Etiqueta de proyecto conceptual (siempre visible) */
.hero__label {
  position: absolute; z-index: 30; left: var(--gutter); bottom: 1.1rem;
  right: var(--gutter); line-height: 1.5;
  font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(239, 234, 226, .72);
  display: flex; align-items: center; gap: .6rem;
}
.hero__label::before { content: ""; flex: none; width: .45rem; height: .45rem; border: 1px solid var(--bronce-claro); border-radius: 50%; }

/* Indicador de progreso (móvil: barra inferior; escritorio: columna derecha) */
.hero__progress { position: absolute; z-index: 30; left: var(--gutter); right: var(--gutter); bottom: 3.6rem; display: flex; align-items: center; gap: 1rem; }
.hero__counter { font-family: var(--f-display); font-size: 1rem; letter-spacing: .08em; color: rgba(239, 234, 226, .75); white-space: nowrap; }
.hero__counter span { color: var(--marfil); }
.hero__progress ol { display: none; }
.hero__bar { flex: 1; height: 1px; background: rgba(239, 234, 226, .22); position: relative; }
.hero__bar span { position: absolute; inset: 0; background: var(--bronce-claro); transform-origin: left; transform: scaleX(0); }

/* Vuelo de dron (vídeo ligado al scroll). Encima de las imágenes-póster,
   debajo de la postproducción y los textos. */
.hero__film, .hero__loading { display: none; }
.js .hero__film {
  display: block; position: absolute; inset: 0; z-index: 5; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity .7s var(--ease);
}
.js .hero__film.is-on { opacity: 1; }
.film__clip {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--fx, 50%) 50%;
  opacity: 0; visibility: hidden; background: transparent;
  transform-origin: 50% 55%; backface-visibility: hidden; will-change: opacity, transform;
}
.film__clip[data-clip="0"] { --fx: 58%; z-index: 1; }
.film__clip[data-clip="1"] { --fx: 50%; z-index: 2; }
.film__clip[data-clip="2"] { --fx: 58%; z-index: 3; }
/* Destello cálido del paso salón → noche */
.film__bloom {
  position: absolute; inset: 0; z-index: 4; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(85% 75% at 55% 55%, rgba(255, 228, 184, .95), rgba(236, 186, 126, .55) 45%, rgba(196, 140, 82, 0) 82%);
}
.js .hero__loading {
  display: flex; align-items: center; gap: .6rem;
  position: absolute; z-index: 30; left: 50%; top: max(5.6rem, 12vh); transform: translateX(-50%);
  padding: .5rem .9rem; border-radius: 99px; white-space: nowrap;
  background: rgba(20, 19, 15, .55); color: rgba(239, 234, 226, .85);
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
@supports (backdrop-filter: blur(1px)) { .js .hero__loading { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }
.js .hero__loading.is-visible { opacity: 1; visibility: visible; }
.hero__loading-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--bronce-claro); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.hero.is-images .hero__film, .hero.is-images .hero__loading { display: none; }

/* Modo con JS: escenario fijo con capas superpuestas */
.js .hero { height: 560vh; }
.js .hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.js .scene { position: absolute; inset: 0; min-height: 0; overflow: visible; }
.js .scene__media { opacity: 0; will-change: opacity, transform; transform-origin: 50% 55%; backface-visibility: hidden; }
.js .scene--aerea .scene__media { opacity: 1; z-index: 1; }
.js .scene--terraza .scene__media { z-index: 2; }
.js .scene--salon .scene__media { z-index: 3; }
.js .scene--noche .scene__media { z-index: 4; }
.js .scene__copy { opacity: 0; will-change: opacity, transform; }
.js .scene__copy--intro { opacity: 1; }
.js .hero__fx { display: block; position: absolute; inset: 0; z-index: 10; pointer-events: none; overflow: hidden; }
.js .scene__copy { bottom: max(6.5rem, 14vh); }
.js .scene__copy--intro { bottom: max(7rem, 15vh); }

/* Sin JS: cada escena en vertical con su degradado de lectura */
.no-js .scene::after { content: ""; position: absolute; inset: 0; z-index: 5; background: linear-gradient(0deg, rgba(12, 11, 9, .8), rgba(12, 11, 9, 0) 60%); }
.no-js .hero__label { top: 5.2rem; bottom: auto; }
.no-js .scene__copy[data-copy="noche"] { bottom: auto; top: 18%; }

@media (min-width: 900px) {
  .js .hero { height: 760vh; }   /* ≈ 660 vh de recorrido para ~29 s de vuelo */
  .scene__copy { left: calc(var(--gutter) + 2vw); }
  .scene__copy--right { right: calc(var(--gutter) + 2vw); left: auto; }
  .hero__progress {
    left: auto; right: var(--gutter); bottom: auto; top: 50%; transform: translateY(-50%);
    flex-direction: column; align-items: flex-end; gap: 1.4rem;
  }
  .hero__progress ol { display: flex; flex-direction: column; gap: .2rem; align-items: flex-end; }
  .hero__progress button {
    display: flex; align-items: center; gap: .9rem; padding: .45rem 0;
    background: none; border: 0; cursor: pointer; color: rgba(239, 234, 226, .55);
    font: 400 .66rem/1 var(--f-texto); letter-spacing: .2em; text-transform: uppercase;
    transition: color .4s var(--ease);
  }
  .hero__progress button::after { content: ""; width: 1.6rem; height: 1px; background: currentColor; transition: width .5s var(--ease), background-color .4s; }
  .hero__progress button:hover, .hero__progress button[aria-current="step"] { color: var(--marfil); }
  .hero__progress button[aria-current="step"]::after { width: 3.4rem; background: var(--bronce-claro); }
  .hero__bar { display: none; }
  .hero__label { bottom: 1.6rem; font-size: .64rem; letter-spacing: .14em; }
}

/* ---------- 7 · Secciones ---------- */
.section { padding: var(--sec) 0; position: relative; }
.section--claro { background: var(--marfil); }
.section--travertino { background: var(--travertino); }
.section--oscuro { background: var(--grafito); color: var(--marfil); --acento: var(--bronce-claro); }
.section--oscuro .eyebrow { color: var(--bronce-claro); }
.section--oscuro .lead, .section--oscuro .sec-head .lead { color: rgba(239, 234, 226, .86); }
.sec-head { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.sec-head h2 { font-size: var(--t-h2); font-weight: 300; margin-top: 1.6rem; max-width: 15ch; }
.sec-head .lead { margin-top: 1.8rem; color: var(--gris); }
.sec-head--split { display: grid; gap: 1.8rem; align-items: end; }
.sec-head--split .lead { margin-top: 0; }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* Aparición suave al entrar en pantalla (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 8 · Servicios ---------- */
.services { display: grid; border-top: 1px solid var(--piedra); }
.service { position: relative; padding: 2.4rem 0 2.6rem; border-bottom: 1px solid var(--piedra); display: grid; gap: .9rem; }
.service__num { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--bronce-texto); }
.service h3 { font-size: var(--t-h3); font-weight: 400; }
.service p { color: var(--gris); max-width: 34rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.tags li { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .45rem .75rem; border: 1px solid var(--piedra); color: var(--gris); }
@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 6vw, 7rem); border-top: 0; }
  .service { padding: 3rem 0 3.4rem; border-top: 1px solid var(--piedra); border-bottom: 0; }
  .service:nth-child(n+3) { border-bottom: 1px solid var(--piedra); }
}

/* ---------- 9 · Proyecto ---------- */
.bleed { position: relative; margin: 0 0 clamp(3rem, 6vw, 7rem); overflow: hidden; }
.bleed picture, .project-grid figure picture { overflow: hidden; }
.bleed img { width: 100%; height: clamp(26rem, 78vh, 58rem); object-fit: cover; object-position: 40% 60%; }
figcaption { margin-top: 1rem; font-size: var(--t-small); color: var(--gris-claro); max-width: 40rem; }
figcaption span { display: block; font-size: var(--t-micro); letter-spacing: .24em; text-transform: uppercase; color: var(--bronce-claro); margin-bottom: .3rem; }
.bleed figcaption { padding: 0 var(--gutter); }
.project-grid { display: grid; gap: clamp(3rem, 5vw, 5rem); }
.project-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-grid__a img { object-position: 60% 50%; }
.project-grid__b img { aspect-ratio: 16 / 9; }
[data-parallax] { will-change: transform; }
.ficha { display: grid; border-top: 1px solid rgba(239, 234, 226, .16); }
.ficha div { display: grid; gap: .25rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(239, 234, 226, .16); }
.ficha dt { font-size: var(--t-micro); letter-spacing: .24em; text-transform: uppercase; color: var(--bronce-claro); }
.ficha dd { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.3; }
.note { margin-top: 1.8rem; font-size: var(--t-small); color: var(--gris-claro); padding-left: 1rem; border-left: 1px solid var(--bronce); }
@media (min-width: 900px) {
  .project-grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .project-grid__a { grid-column: 1 / 8; }
  .project-grid__text { grid-column: 9 / 13; align-self: center; }
  .project-grid__b { grid-column: 3 / 13; margin-top: 2rem; }
}

/* ---------- 10 · Estudio ---------- */
.studio { display: grid; gap: clamp(3rem, 6vw, 7rem); }
.studio__photo figcaption { color: var(--gris); }
.photo-placeholder {
  aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; gap: 1.2rem;
  background: linear-gradient(160deg, var(--travertino), var(--piedra));
  color: var(--gris); text-align: center; font-size: var(--t-small); letter-spacing: .06em;
}
.photo-placeholder svg { width: 6rem; height: 4.5rem; color: var(--bronce); }
.studio .sec-head { margin-bottom: 2.4rem; }
.studio .sec-head h2 { max-width: 17ch; }
.prose { display: grid; gap: 1.2rem; max-width: 38rem; color: var(--gris); }
.prose .lead { color: var(--grafito); }
.quote { margin: 3rem 0; padding: 2rem 0; border-top: 1px solid var(--piedra); border-bottom: 1px solid var(--piedra); }
.quote p { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.15; font-weight: 300; }
.facts { display: grid; gap: 1.6rem; }
.facts li { display: grid; gap: .2rem; }
.facts strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); line-height: 1; }
.facts strong i { font-style: normal; color: var(--bronce); padding: 0 .2em; }
.facts span { font-size: var(--t-micro); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
@media (min-width: 700px) { .facts { grid-template-columns: auto auto auto; justify-content: start; column-gap: 3.5rem; } }
@media (min-width: 900px) {
  .studio { grid-template-columns: 5fr 7fr; align-items: start; }
  .studio__photo { position: sticky; top: 7rem; }
}

/* ---------- 11 · Proceso ---------- */
.steps { display: grid; counter-reset: paso; }
.step { position: relative; padding: 2rem 0 2.2rem 4.2rem; border-top: 1px solid var(--piedra); }
.step__num { position: absolute; left: 0; top: 1.7rem; font-family: var(--f-display); font-size: 2.4rem; line-height: 1; font-weight: 300; color: var(--bronce-texto); }
.step h3 { font-size: 1.65rem; font-weight: 400; }
.step p { margin-top: .6rem; color: var(--gris); max-width: 30rem; }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
  .step { padding: 2.4rem 0 0; border-top: 1px solid var(--grafito); }
  .step__num { position: static; display: block; font-size: 3.6rem; margin-bottom: 1.6rem; }
}

/* ---------- 12 · Preguntas frecuentes ---------- */
.faq { border-top: 1px solid var(--piedra); }
.faq details { border-bottom: 1px solid var(--piedra); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.9rem); font-weight: 400; line-height: 1.2; }
.faq summary::after {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  color: var(--bronce-texto); transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--bronce-texto); }
.faq__a { padding: 0 0 2rem; max-width: 46rem; color: var(--gris); }
@media (min-width: 900px) {
  .faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 6rem; align-items: start; }
  .faq-wrap .sec-head { position: sticky; top: 8rem; }
}

/* ---------- 13 · Contacto y formulario ---------- */
.contact__grid { display: grid; gap: clamp(3rem, 6vw, 7rem); }
.contact__intro h2 { font-size: var(--t-h2); font-weight: 300; margin-top: 1.6rem; }
.contact__intro .lead { margin-top: 1.6rem; }
.direct { display: grid; gap: .8rem; margin-top: 2.6rem; }
.direct__link {
  display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.2rem;
  border: 1px solid rgba(239, 234, 226, .18); text-decoration: none; transition: border-color .3s, background-color .3s;
}
.direct__link:hover { border-color: var(--bronce-claro); background: rgba(239, 234, 226, .04); }
.direct__link svg { width: 1.6rem; height: 1.6rem; color: var(--bronce-claro); flex: none; }
.direct__link small { display: block; font-size: var(--t-micro); letter-spacing: .22em; text-transform: uppercase; color: var(--gris-claro); }
.direct__link b { font-weight: 400; }
.contact__area { margin-top: 2rem; font-size: var(--t-micro); letter-spacing: .22em; text-transform: uppercase; color: var(--gris-claro); }

.form { display: grid; gap: 1.4rem; align-content: start; }
.form__note { font-size: var(--t-small); color: var(--gris-claro); }
.field { display: grid; gap: .45rem; align-content: start; }
.field-row { display: grid; gap: 1.4rem; }
.field label { font-size: var(--t-micro); letter-spacing: .2em; text-transform: uppercase; color: var(--gris-claro); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 0; font: inherit; font-size: 1.05rem; color: var(--marfil);
  background: transparent; border: 0; border-bottom: 1px solid rgba(239, 234, 226, .3); border-radius: 0;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field select {
  cursor: pointer; padding-right: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C4A877'/%3E%3C/svg%3E") right .2rem center no-repeat;
}
.field select option { color: var(--grafito); background: var(--marfil); }
.field input::placeholder, .field textarea::placeholder { color: rgba(185, 175, 159, .6); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--bronce-claro); outline: none; box-shadow: 0 1px 0 0 var(--bronce-claro); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--bronce-claro); outline-offset: 4px; }
.field [aria-invalid="true"] { border-bottom-color: #E08B78; }
.field__hint { font-size: .8rem; color: var(--gris-claro); }
.field__error { font-size: .85rem; color: #EFA493; min-height: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: .9rem; }
.field--check input {
  width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; padding: 0; border: 1px solid rgba(239, 234, 226, .5); border-radius: 0; cursor: pointer;
  display: grid; place-content: center;
}
.field--check input::before { content: ""; width: .7rem; height: .7rem; background: var(--bronce-claro); transform: scale(0); transition: transform .2s; }
.field--check input:checked::before { transform: scale(1); }
.field--check label { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--marfil); cursor: pointer; }
.field--check .field__error { grid-column: 2; }
.form__rgpd { font-size: .78rem; line-height: 1.55; color: var(--gris-claro); }
.form__rgpd strong { font-weight: 500; color: var(--marfil); }
.form .btn { justify-self: start; margin-top: .4rem; }
.form__status { font-size: var(--t-small); color: var(--bronce-claro); }
.form__status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { align-self: center; padding: 3rem 0; outline: none; }
.form-ok svg { width: 6rem; height: 4.5rem; color: var(--bronce); margin-bottom: 2rem; }
.form-ok__title { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1.05; font-weight: 300; margin-bottom: 1.2rem; }
.form-ok p:not(.form-ok__title) { color: var(--gris-claro); max-width: 30rem; }
@media (min-width: 700px) { .field-row { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 5fr 7fr; align-items: start; }
  .contact__intro { position: sticky; top: 8rem; }
}

/* ---------- 14 · Pie ---------- */
.footer { background: var(--grafito); color: var(--gris-claro); padding: 4.5rem 0 calc(5.5rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(239, 234, 226, .1); font-size: var(--t-small); }
.footer__grid { display: grid; gap: 2.6rem; }
.footer__brand img { width: 15rem; height: auto; margin-bottom: 1.4rem; }
.footer__brand p { max-width: 24rem; }
.footer__nav, .footer__legal { display: grid; gap: .7rem; align-content: start; }
.footer a { text-decoration: none; color: var(--marfil); }
.footer a:hover { color: var(--bronce-claro); }
.footer__base { display: grid; gap: .6rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(239, 234, 226, .1); font-size: .76rem; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__base { grid-template-columns: auto 1fr; justify-items: end; }
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 90; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--grafito); color: var(--bronce-claro); border: 1px solid rgba(196, 168, 119, .5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: opacity .4s, transform .4s var(--ease);
}
.wa-float svg { width: 1.6rem; height: 1.6rem; }
.js .wa-float { opacity: 0; transform: translateY(1rem); pointer-events: none; }
.js .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- 15 · Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .fx--grain { animation: none; }
  .js .reveal { transform: none; transition: opacity .4s linear; }
  .hero__hint span::after { display: none; }
}

/* ---------- 16 · Páginas legales ---------- */
.legal-page .header { color: var(--grafito); background: var(--marfil); box-shadow: 0 1px 0 rgba(20, 19, 15, .08); }
.legal { padding: 9rem 0 6rem; }
.legal .wrap { max-width: 50rem; }
.legal h1 { font-size: var(--t-h2); font-weight: 300; margin: 1.4rem 0 2rem; }
.legal h2 { font-size: 1.7rem; font-weight: 400; margin: 2.8rem 0 .9rem; }
.legal p, .legal li { color: #3E3A33; margin-bottom: .9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: var(--t-small); }
.legal th, .legal td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--piedra); vertical-align: top; }
.legal .back { display: inline-block; margin-top: 3rem; font-size: var(--t-small); }
.completar { background: #F6E3B4; color: #5A3D00; padding: .05em .35em; font-weight: 500; font-style: normal; white-space: nowrap; }
.aviso-plantilla { padding: 1rem 1.2rem; border-left: 2px solid var(--bronce); background: var(--travertino); font-size: var(--t-small); }

/* ===== Blog ===== */
.blog .wrap--wide { max-width: 72rem; }
.crumbs { font-size: var(--t-small); color: var(--gris); margin-bottom: 1.4rem; }
.crumbs a { color: inherit; }
.blog .lead { font-size: var(--t-lead); max-width: 40rem; color: #3E3A33; }
.blog__meta { color: var(--gris); font-size: var(--t-small); margin: -.8rem 0 2rem; }
.blog__hero { margin: 0 0 2.5rem; }
.blog__hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.blog__body { font-size: 1.125rem; line-height: 1.75; }
.blog__body h2 { font-size: 1.9rem; margin-top: 3rem; }
.blog__body h3 { font-size: 1.3rem; font-weight: 500; margin: 2rem 0 .6rem; }
.blog__body a, .blog__list a { color: var(--bronce-texto); text-decoration: underline; text-underline-offset: 3px; }
.blog__cta { margin: 3.5rem 0 2rem; padding: 2rem; background: var(--travertino); border-radius: var(--radius); }
.blog__cta-t { font-family: var(--f-display); font-size: 1.7rem; margin-bottom: .4rem; }
.blog__more { font-size: 1.5rem !important; }
.blog__list { list-style: none !important; padding: 0 !important; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 2.5rem 2rem; margin-top: 3rem; }
.card h2 { font-size: 1.5rem; margin: .4rem 0 .6rem; line-height: 1.2; }
.card h2 a { color: inherit; text-decoration: none; }
.card h2 a:hover { color: var(--bronce-texto); }
.card__img { display: block; overflow: hidden; border-radius: var(--radius); margin-bottom: 1rem; }
.card__img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.card__cat { font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.studio__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%; border-radius: var(--radius); }
