/* ==========================================================================
   XOME ARQUITECTOS — Hoja de estilos
   Reconstrucción fiel de xomearquitectos.com (Wix). Medidas tomadas del
   original a 1440 px de ancho: columna de contenido de 980 px centrada.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE MARCA
   -------------------------------------------------------------------------- */
:root {
  /* Colores medidos en el sitio original */
  --negro:        #000000;
  --gris-texto:   #3a3a3a;   /* menú y "Acerca de" */
  --gris-oscuro:  #242323;   /* fondo "Trabajemos juntos" */
  --gris-estudio: #3a3a3a;   /* bloque "Nuestra historia" */
  --gris-guia:    #444948;   /* bloque "Lo que encontrarás en la guía" */
  --gris-claro:   #bfbfbf;
  --gris-fondo:   #fafafa;   /* fondo de Proveedores */
  --gris-form:    #373b4d;   /* etiquetas del formulario de proveedores */
  --linea:        #d9d9d9;
  --blanco:       #ffffff;
  --taupe:        #a09587;   /* bloque de la cita */
  --rosa:         #c5afa4;   /* títulos sobre fondo oscuro */
  --verde:        #184d47;   /* acentos: "Diseñamos", "comodidad." */
  --verde-pie:    #38965e;   /* fondo del pie de página */
  --whatsapp:     #25d366;
  --cafe:         #936539;   /* botones de la guía */
  --cafe-oscuro:  #7a532f;

  /* Tipografías (sustitutas libres de las de pago que usa Wix)
     Gotham Book/Light/Bold  ->  Montserrat
     Avenir Light             ->  Figtree
     Mercury Display          ->  Newsreader
     Raleway                  ->  Raleway (misma)                            */
  --gotham:  "Montserrat", "Gotham", "Helvetica Neue", Arial, sans-serif;
  --avenir:  "Figtree", "Avenir Next", "Avenir", "Segoe UI", Arial, sans-serif;
  --mercury: "Newsreader", "Mercury Display", Georgia, "Times New Roman", serif;
  --raleway: "Raleway", "Helvetica Neue", Arial, sans-serif;

  --ancho: calc(980px + 2 * var(--pad));   /* contenido útil de 980 px, como en Wix */
  --pad: clamp(1.1rem, 4vw, 2rem);
  --trans: .35s ease;
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanco); color: var(--negro);
  font-family: var(--avenir); font-weight: 300; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.2; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
::selection { background: var(--taupe); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--pad); }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Enlace subrayado (así son los "Contactar", "Ver todos", "Conocer más" del original) */
.enlace { font-family: var(--avenir); font-size: 17px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: opacity var(--trans); }
.enlace:hover { opacity: .6; }

/* Botón negro (formularios) */
.boton {
  display: inline-block; font-family: var(--gotham); font-size: 16px; font-weight: 400;
  color: #fff; background: var(--negro); border: 1px solid var(--negro);
  padding: .8em 2.4em; border-radius: 0; transition: background var(--trans), color var(--trans);
}
.boton:hover { background: #fff; color: var(--negro); }
.boton--borde { background: transparent; color: var(--negro); }
.boton--borde:hover { background: var(--negro); color: #fff; }

/* Aparición suave al hacer scroll (main.js) */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.revelar.visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   3. ENCABEZADO — 80 px, blanco, fijo
   -------------------------------------------------------------------------- */
.encabezado {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-inline: clamp(1rem, 10vw, 143px) clamp(1rem, 8.5vw, 122px);
  background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.logo { display: block; width: 120px; flex: 0 0 auto; }
.logo svg { width: 120px; height: 39px; }

.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  font-family: var(--gotham); font-size: 16px; font-weight: 400; color: var(--gris-texto);
  padding: .4rem .55rem; text-transform: lowercase; transition: color var(--trans);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--negro); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.sociales { display: flex; align-items: center; gap: .55rem; margin-left: .8rem; }
.sociales a { color: var(--negro); display: grid; place-items: center; width: 27px; height: 27px; }
.sociales svg { width: 15px; height: 15px; fill: currentColor; }

.hamburguesa { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; position: relative; }
.hamburguesa span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--negro); transition: transform .3s, opacity .2s; }
.hamburguesa span:nth-child(1) { top: 15px; } .hamburguesa span:nth-child(2) { top: 22px; } .hamburguesa span:nth-child(3) { top: 29px; }
.encabezado.menu-abierto .hamburguesa span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.encabezado.menu-abierto .hamburguesa span:nth-child(2) { opacity: 0; }
.encabezado.menu-abierto .hamburguesa span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .encabezado { padding-inline: var(--pad); }
  .hamburguesa { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; height: 100dvh;
    width: min(82vw, 340px); overflow-y: auto; flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.1rem; padding: 5rem 2rem 3rem; background: #fff;
    box-shadow: -20px 0 60px rgba(0,0,0,.1);
    /* oculto con opacidad, no fuera de pantalla: así no ensancha la página en celular */
    opacity: 0; visibility: hidden; transition: opacity var(--trans), visibility var(--trans);
  }
  .encabezado.menu-abierto .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: 22px; padding: .2rem 0; }
  .sociales { margin: 1.4rem 0 0; }
}

main { padding-top: 80px; }

/* --------------------------------------------------------------------------
   4. INICIO
   -------------------------------------------------------------------------- */
/* 4.1 Franja de letras (imagen de 500 px de alto con zoom lento) */
.franja-hero { height: clamp(220px, 34.7vw, 500px); overflow: hidden; background: #e9e6e2; }
.franja-hero img { width: 100%; height: 100%; object-fit: cover; animation: acercar 28s ease-in-out infinite alternate; }
@keyframes acercar { from { transform: scale(1); } to { transform: scale(1.12); } }

/* 4.2 Lema */
.lema { padding-block: 34px; }
.lema .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.lema h1 { font-family: var(--gotham); font-weight: 700; font-size: 28px; line-height: 1.18; max-width: 470px; color: var(--negro); }
.lema h1 em { font-style: italic; color: var(--verde); }
.lema h1 strong { font-weight: 700; color: var(--verde); }
.lema__flecha { width: 12px; height: 46px; color: var(--negro); flex: 0 0 auto; }
@media (max-width: 720px) {
  .lema .contenedor { flex-wrap: wrap; }
  .lema h1 { font-size: 24px; }
  .lema__flecha { display: none; }
}

/* 4.3 Cita — bloque taupe con espiral áurea */
.cita { position: relative; background: var(--taupe); color: #fff; min-height: clamp(360px, 41vw, 591px); display: grid; place-items: center; overflow: hidden; padding: 4rem var(--pad); }
.cita__espiral { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.cita__texto { position: relative; max-width: 595px; text-align: center; font-family: var(--mercury); font-size: 20px; line-height: 1.55; }
.cita__texto p { margin: 0 0 1.5em; }
.cita__texto cite { font-style: normal; }

/* 4.4 Acerca de */
.acerca { padding-block: 80px 96px; }
.acerca .contenedor { display: grid; grid-template-columns: 1fr 419px; gap: 3rem; align-items: start; }
.acerca__titulo { font-family: var(--mercury); font-weight: 400; font-size: 40px; color: var(--gris-texto); line-height: 1; }
.acerca__marca { width: 306px; margin: 8px 0 60px 84px; }
.acerca__marca svg { width: 100%; height: auto; }
.acerca p { max-width: 390px; font-size: 17px; line-height: 1.5; }
.acerca .enlace { display: inline-block; margin-top: 1.6rem; }
.acerca__foto { width: 419px; }
.acerca__foto img { width: 100%; height: 524px; object-fit: cover; }
@media (max-width: 900px) {
  .acerca .contenedor { grid-template-columns: minmax(0, 1fr); }
  .acerca__marca { margin-left: 2rem; width: min(306px, 70%); }
  .acerca__foto { width: 100%; max-width: 419px; }
}

/* 4.5 Proyectos — fondo fotográfico + carrusel */
.proyectos-inicio { position: relative; color: #fff; padding: 70px 0 90px; overflow: hidden; }
.proyectos-inicio__fondo { position: absolute; inset: 0; z-index: 0; }
.proyectos-inicio__fondo img { width: 100%; height: 100%; object-fit: cover; }
.proyectos-inicio__fondo::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.proyectos-inicio .contenedor { position: relative; z-index: 1; text-align: center; }
.proyectos-inicio h2 { font-family: var(--gotham); font-weight: 300; font-size: 36px; color: #fff; }
.proyectos-inicio .enlace { display: inline-block; margin: 14px 0 44px; color: #fff; }

.carrusel { position: relative; }
.carrusel__pista {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; padding-inline: calc((100% - min(849px, 100%)) / 2);
}
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__item { flex: 0 0 min(849px, 100%); scroll-snap-align: center; text-align: center; }
.carrusel__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carrusel__item figcaption { margin-top: 18px; font-family: var(--avenir); font-size: 18px; color: #fff; }
.carrusel__btn {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; background: none; border: 0; color: #fff; display: grid; place-items: center;
}
.carrusel__btn svg { width: 23px; height: 39px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.carrusel__btn--ant { left: 2px; } .carrusel__btn--sig { right: 2px; }
.carrusel__btn:hover { opacity: .7; }

/* 4.6 Servicios — acordeón */
.servicios { padding: 78px 0 90px; }
.servicios h2 { font-family: var(--gotham); font-weight: 400; font-size: 20px; margin-bottom: 40px; margin-left: -50px; }
.acordeon { display: grid; grid-template-columns: 1fr 396px; gap: 2rem 3rem; align-items: start; }
.acordeon__lista { display: grid; gap: 0; }
.acordeon__item { border: 0; }
.acordeon__boton {
  display: flex; align-items: baseline; gap: 24px; width: 100%; padding: 26px 0; background: none; border: 0; text-align: left;
}
.acordeon__num { font-family: var(--gotham); font-size: 16px; color: var(--negro); flex: 0 0 auto; }
.acordeon__titulo { font-family: var(--mercury); font-size: clamp(38px, 4.2vw, 60px); line-height: 1; color: rgba(0,0,0,.31); transition: color var(--trans); }
.acordeon__boton:hover .acordeon__titulo, .acordeon__item[open] .acordeon__titulo { color: var(--negro); }
.acordeon__panel { display: none; font-size: 16px; line-height: 1.55; max-width: 396px; }
.acordeon__item[open] .acordeon__panel { display: block; }
@media (min-width: 900px) {
  .acordeon__panel { position: absolute; }              /* se muestra en la columna derecha */
  .acordeon { position: relative; }
  .acordeon__panel { left: calc(100% - 396px); top: 34px; width: 396px; }
}
@media (max-width: 899px) {
  .acordeon { grid-template-columns: minmax(0, 1fr); }
  .servicios h2 { margin-left: 0; }
  .acordeon__panel { padding: 0 0 20px 40px; }
}

/* 4.7 Trabajemos juntos */
.llamado { position: relative; color: #fff; background: var(--gris-oscuro); min-height: clamp(380px, 41.5vw, 598px); display: grid; align-items: center; overflow: hidden; }
.llamado__fondo { position: absolute; inset: 0; }
.llamado__fondo img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.llamado .contenedor { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.llamado h2 { font-family: var(--mercury); font-size: 40px; color: #fff; margin-bottom: 22px; }
.llamado--grande h2 { font-size: 50px; }
.llamado p { font-family: var(--avenir); font-size: 20px; max-width: 577px; margin: 0; }
.llamado .enlace { font-size: 18px; color: #fff; padding-bottom: 6px; }
@media (max-width: 720px) { .llamado .contenedor { grid-template-columns: minmax(0, 1fr); } .llamado h2, .llamado--grande h2 { font-size: 34px; } }

/* --------------------------------------------------------------------------
   5. ESTUDIO
   -------------------------------------------------------------------------- */
.estudio-hero { min-height: 720px; display: grid; align-items: center; }
.estudio-hero .contenedor { max-width: 1400px; display: grid; grid-template-columns: 630px 1fr; gap: 3rem; align-items: center; }
.estudio-hero img { width: 630px; max-width: 100%; height: 640px; object-fit: cover; }
.estudio-hero p { max-width: 340px; font-size: 16px; line-height: 1.6; margin: 0 auto; }
@media (max-width: 1000px) { .estudio-hero { min-height: 0; padding-block: 2rem; } .estudio-hero .contenedor { grid-template-columns: minmax(0, 1fr); } .estudio-hero img { height: auto; width: 100%; } .estudio-hero p { margin: 0; } }

.historia { background: var(--gris-estudio); color: #fff; padding: 130px 0 90px; }
.historia .contenedor { display: grid; grid-template-columns: 449px 449px; justify-content: space-between; gap: 40px 0; }
.historia h2 { font-family: var(--mercury); font-size: 40px; color: var(--rosa); align-self: end; }
.historia__img { width: 449px; max-width: 100%; height: 214px; object-fit: cover; }
.historia__intro { grid-column: 1 / -1; font-family: var(--mercury); font-size: 20px; line-height: 1.5; max-width: 449px; }
.historia p { font-family: var(--gotham); font-weight: 300; font-size: 16px; line-height: 1.6; }
@media (max-width: 1000px) { .historia { padding-block: 70px; } .historia .contenedor { grid-template-columns: minmax(0, 1fr); } }

.filosofia { padding: 100px 0; }
.filosofia .contenedor { display: grid; grid-template-columns: 370px 388px; justify-content: space-between; gap: 2rem; align-items: start; }
.filosofia img { width: 370px; max-width: 100%; height: 392px; object-fit: cover; }
.filosofia .plomo { font-size: 21px; line-height: 1.45; margin-bottom: 1.6em; }
.filosofia p { font-size: 17px; line-height: 1.5; }
@media (max-width: 900px) { .filosofia .contenedor { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   6. PROYECTOS (lista) y FICHA DE PROYECTO
   -------------------------------------------------------------------------- */
.lista-proyectos { padding: 34px 0 90px; }
.lista-proyectos h1 { font-family: var(--raleway); font-weight: 400; font-size: 30px; color: var(--rosa); margin-bottom: 40px; }
.fila-proyecto { display: grid; grid-template-columns: 715px 1fr; gap: 40px; align-items: start; margin-bottom: 91px; }
.fila-proyecto:nth-child(even) { grid-template-columns: 1fr 715px; }
.fila-proyecto:nth-child(even) .fila-proyecto__img { order: 2; }
.fila-proyecto:nth-child(even) .fila-proyecto__info { text-align: right; }
.fila-proyecto__img { display: block; overflow: hidden; }
.fila-proyecto__img img { width: 100%; height: 476px; object-fit: cover; transition: transform 1s ease; }
.fila-proyecto__img:hover img { transform: scale(1.03); }
.fila-proyecto__nombre { font-family: var(--gotham); font-weight: 400; font-size: 27px; color: var(--negro); }
.fila-proyecto__meta { font-family: var(--gotham); font-weight: 300; font-size: 17px; margin: 82px 0 24px; }
.fila-proyecto__meta span { display: block; }
@media (max-width: 1000px) {
  .fila-proyecto, .fila-proyecto:nth-child(even) { grid-template-columns: minmax(0, 1fr); margin-bottom: 56px; }
  .fila-proyecto:nth-child(even) .fila-proyecto__img { order: 0; }
  .fila-proyecto:nth-child(even) .fila-proyecto__info { text-align: left; }
  .fila-proyecto__img img { height: auto; aspect-ratio: 3 / 2; }
  .fila-proyecto__meta { margin: 8px 0 14px; }
}

/* Ficha */
.ficha { padding: 2px 0 80px; }
.ficha__cabecera { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.4rem; padding: 14px 0 12px; font-family: var(--gotham); }
.ficha__cabecera h1 { font-weight: 400; font-size: 27px; }
.ficha__cabecera span { font-weight: 300; font-size: 17px; }
.ficha__cabecera a { font-size: 14px; margin-left: auto; }
.ficha__superior { display: grid; grid-template-columns: 353px 1fr; gap: 24px; align-items: start; }
.ficha__portada img { width: 353px; max-width: 100%; height: 488px; object-fit: cover; }
.ficha__textos { display: grid; grid-template-columns: 361px 327px; justify-content: space-between; gap: 2rem; margin-top: 60px; }
.ficha__concepto { font-size: 20px; line-height: 1.5; }
.ficha__tecnica { font-size: 16px; line-height: 1.55; white-space: pre-line; }
@media (max-width: 900px) {
  .ficha__superior, .ficha__textos { grid-template-columns: minmax(0, 1fr); }
  .ficha__portada img { width: 100%; height: auto; aspect-ratio: 353 / 488; }
}

/* Deslizador de galería (732x640 en el original) */
.galeria { position: relative; background: #f2f0ed; }
.galeria__pista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 732 / 640; }
.galeria__pista::-webkit-scrollbar { display: none; }
.galeria__pista img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.galeria__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 60px; background: rgba(0,0,0,.28); border: 0; color: #fff; display: grid; place-items: center; }
.galeria__btn svg { width: 14px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.galeria__btn--ant { left: 0; } .galeria__btn--sig { right: 0; }
.galeria__contador { position: absolute; right: 12px; bottom: 10px; font-family: var(--gotham); font-size: 12px; color: #fff; background: rgba(0,0,0,.4); padding: 3px 9px; }
.galeria__miniaturas { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin-top: 10px; }
.galeria__miniaturas img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; cursor: pointer; opacity: .75; transition: opacity var(--trans); }
.galeria__miniaturas img:hover, .galeria__miniaturas img.activa { opacity: 1; }

/* --------------------------------------------------------------------------
   7. GUÍA — medido en el original (12 oct 2026): texto BLANCO sobre foto,
      titulares Gotham Bold (cursiva en hero y cierre), botones café #936539
   -------------------------------------------------------------------------- */
.guia { font-family: var(--raleway); }
.guia-hero { position: relative; min-height: clamp(560px, 69vw, 997px); display: grid; align-items: center; overflow: hidden; color: #fff; background: #3b3632; }
.guia-hero__fondo { position: absolute; inset: 0; }
.guia-hero__fondo img { width: 100%; height: 100%; object-fit: cover; }
.guia-hero .contenedor { position: relative; }
.guia-hero h1 { font-family: var(--gotham); font-weight: 700; font-style: italic; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.34; color: #fff; max-width: 834px; margin-bottom: 6px; text-shadow: 0 4px 5px rgba(0,0,0,.4); }
.guia-hero h2 { font-family: var(--avenir); font-weight: 300; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.34; color: #fff; max-width: 840px; margin-bottom: 22px; }

.boton--guia { display: inline-grid; place-items: center; min-width: 215px; height: 40px; padding: 0 1.2rem; font-family: var(--avenir); font-weight: 700; font-size: 15px; color: #fff; background: var(--cafe); border: 0; }
.boton--guia:hover { background: var(--cafe-oscuro); color: #fff; }

.guia-intro { padding: 136px 0; }
.guia-intro .contenedor { display: grid; grid-template-columns: 531px 359px; justify-content: space-between; gap: 2rem; align-items: center; }
.guia-intro img { width: 531px; max-width: 100%; height: 530px; object-fit: cover; }
.guia-intro p { font-family: var(--raleway); font-size: 28px; line-height: 1.35; text-align: center; color: var(--negro); margin: 0; }
@media (max-width: 950px) { .guia-intro { padding: 70px 0; } .guia-intro .contenedor { grid-template-columns: minmax(0, 1fr); } .guia-intro img { height: auto; } .guia-intro p { font-size: 22px; } }

.guia-contenido { background: var(--gris-guia); color: #fff; padding: 63px 0 120px; }
.guia-contenido .contenedor { max-width: 1190px; }
.guia-contenido h2 { font-family: var(--gotham); font-weight: 700; font-size: 40px; line-height: 1.1; text-align: center; color: #fff; max-width: 500px; margin: 0 auto 160px; }
.temas { display: grid; grid-template-columns: repeat(2, 416px); justify-content: space-between; row-gap: 190px; }
.tema { text-align: center; }
.tema h3 { font-family: var(--gotham); font-weight: 700; font-size: 30px; letter-spacing: .05em; color: #fff; margin-bottom: 18px; }
.tema p { font-family: var(--avenir); font-weight: 300; font-size: 20px; line-height: 1.5; color: #fff; margin: 0; }
@media (max-width: 950px) { .guia-contenido { padding: 60px 0 80px; } .guia-contenido h2 { margin-bottom: 60px; font-size: 32px; } .temas { grid-template-columns: minmax(0, 1fr); row-gap: 48px; } .tema h3 { font-size: 26px; } }

.guia-cierre { position: relative; background: var(--gris-claro); min-height: 672px; display: grid; align-items: center; overflow: hidden; color: #fff; }
.guia-cierre__fondo { position: absolute; inset: 0; }
.guia-cierre__fondo img { width: 100%; height: 100%; object-fit: cover; }
.guia-cierre .contenedor { position: relative; text-align: center; }
.guia-cierre h2 { font-family: var(--gotham); font-weight: 700; font-style: italic; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; color: #fff; max-width: 922px; margin: 0 auto 60px; }
.guia-cierre .botones { display: flex; flex-direction: column; align-items: center; gap: 25px; }

.guia-form { padding: 90px 0; }
.guia-form .contenedor { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.guia-form h2 { font-family: var(--gotham); font-weight: 700; font-size: 30px; margin-bottom: 1rem; }
@media (max-width: 800px) { .guia-form .contenedor { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   8. FORMULARIOS (Contacto, Proveedores, Guía)
   -------------------------------------------------------------------------- */
.formulario { display: grid; gap: 22px; }
.campos-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 25px; }
@media (max-width: 700px) { .campos-2 { grid-template-columns: minmax(0, 1fr); } }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-family: var(--gotham); font-size: 16px; font-weight: 400; color: var(--negro); }
.campo input, .campo textarea, .campo select {
  font-family: var(--avenir); font-size: 16px; font-weight: 300; color: var(--negro);
  padding: 10px 12px; background: #fff; border: 1px solid var(--linea); border-radius: 0;
  transition: border-color var(--trans);
}
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--negro); }
.campo textarea { min-height: 150px; resize: vertical; }
.campo .ayuda { font-size: 13px; color: #6b6b6b; }
.aviso-form { font-size: 13px; color: #6b6b6b; margin: 0; }
.formulario .boton { justify-self: start; min-width: 147px; text-align: center; }

/* Contacto */
.contacto { padding: 12px 0 80px; }
.contacto h1 { font-family: var(--gotham); font-weight: 300; font-size: 52px; margin-bottom: 30px; }
.contacto__sub { font-family: var(--gotham); font-size: 20px; margin-bottom: 60px; }
.contacto__form { display: grid; grid-template-columns: 367px 367px; justify-content: space-between; gap: 22px 40px; margin-bottom: 70px; }
.contacto__form .campo--msg { grid-column: 2; grid-row: 1 / span 3; }
.contacto__form .campo--msg textarea { min-height: 218px; }
.contacto__form .boton { grid-column: 1; }
.contacto__datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 90px; }
.contacto__datos h2 { font-family: var(--raleway); font-weight: 400; font-size: 16px; margin-bottom: 16px; }
.contacto__datos p { font-size: 17px; margin: 0 0 .4em; }
.contacto__datos .sociales { margin: 0; gap: .9rem; }
@media (max-width: 860px) {
  .contacto__form { grid-template-columns: minmax(0, 1fr); }
  .contacto__form .campo--msg { grid-column: 1; grid-row: auto; }
  .contacto__datos { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .contacto h1 { font-size: 40px; }
}
/* "Prácticas profesionales": desplegable como en el original */
.desplegable summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--raleway); font-size: 20px; color: var(--verde);
}
.desplegable summary::-webkit-details-marker { display: none; }
.desplegable summary::after { content: "+"; font-size: 24px; line-height: 1; transition: transform var(--trans); }
.desplegable[open] summary::after { transform: rotate(45deg); }
.desplegable__cuerpo { max-width: 640px; padding-top: 24px; }
.desplegable__cuerpo > p { margin-bottom: 26px; }

/* Proveedores */
.proveedores { background: var(--gris-fondo); padding: 30px 0 90px; text-align: center; }
.proveedores h1 { font-family: var(--raleway); font-weight: 400; font-size: 40px; color: var(--verde); margin-bottom: 20px; }
.proveedores__intro { max-width: 785px; margin: 0 auto 22px; font-size: 16px; }
.proveedores__img { width: 960px; max-width: 100%; height: 418px; object-fit: cover; margin: 34px auto 0; }
.proveedores__form { text-align: left; max-width: 762px; margin: 60px auto 0; }
.proveedores__form h2 { font-family: var(--raleway); font-weight: 400; font-size: 16px; margin-bottom: 30px; }
.proveedores__form .campo label { font-family: var(--gotham); font-weight: 300; color: var(--gris-form); }
@media (max-width: 700px) { .proveedores__img { height: auto; } }

/* Blog y páginas de texto */
.pagina-texto { padding: 30px 0 90px; }
.pagina-texto h1 { font-family: var(--gotham); font-weight: 300; font-size: 44px; margin-bottom: 14px; }
.pagina-texto .bajada { font-size: 20px; margin-bottom: 40px; }
.texto-legal { max-width: 760px; }
.texto-legal h2 { font-family: var(--gotham); font-weight: 400; font-size: 20px; margin: 2.2em 0 .6em; }
.texto-legal p { font-size: 16px; line-height: 1.6; }
.blog-vacio { padding: 60px 0; text-align: center; }
.blog-vacio h2 { font-family: var(--gotham); font-weight: 400; font-size: 26px; margin-bottom: 10px; }

.pagina-centrada { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px var(--pad); }
.pagina-centrada h1 { font-family: var(--gotham); font-weight: 300; font-size: 44px; margin-bottom: 14px; }
.pagina-centrada p { font-size: 18px; max-width: 34rem; margin-inline: auto; }
.pagina-centrada .botones { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   9. PIE DE PÁGINA — verde, 308 px
   -------------------------------------------------------------------------- */
.pie { background: var(--verde-pie); color: #fff; padding: 40px 0 34px; min-height: 308px; }
.pie .contenedor { display: grid; grid-template-columns: 148px 1fr 1fr 1fr; gap: 2rem clamp(1.5rem, 6vw, 95px); align-items: start; }
.pie__simbolo { width: 148px; }
.pie__simbolo svg { width: 148px; height: 148px; }
.pie h2 { font-family: var(--avenir); font-weight: 300; font-size: 18px; margin-bottom: 14px; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 17px; }
.pie a:hover { text-decoration: underline; }
.pie a, .contacto__datos a { overflow-wrap: anywhere; }
.pie .sociales { margin: 12px 0 0; }
.pie .sociales a { color: #fff; }
.pie__legal { grid-column: 2 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 30px; font-size: 13px; }
.pie__legal a { text-decoration: underline; }
@media (max-width: 860px) {
  .pie .contenedor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie .contenedor > div:nth-child(2) { grid-column: 1 / -1; }
  .pie__simbolo { grid-column: 1 / -1; width: 100px; } .pie__simbolo svg { width: 100px; height: 100px; }
  .pie__legal { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   10. BOTÓN FLOTANTE DE WHATSAPP (53 px como el original)
   -------------------------------------------------------------------------- */
.whatsapp { position: fixed; right: 52px; bottom: 30px; z-index: 90; width: 53px; height: 53px; border-radius: 50%; display: grid; place-items: center; background: var(--whatsapp); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: transform var(--trans); }
.whatsapp:hover { transform: scale(1.07); }
.whatsapp svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 700px) { .whatsapp { right: 16px; bottom: 16px; } }

/* ==========================================================================
   11. AJUSTES DE FIDELIDAD — auditoría contra el sitio original, 12 oct 2026
   (fondos leídos de las capas de Wix y colores del texto real, no del contenedor)
   ========================================================================== */
:root { --verde-pie: #318251; --texto-dato: #282626; }

/* Pie: títulos en Mercury */
.pie h2 { font-family: var(--mercury); font-weight: 400; font-size: 18px; }

/* Formularios: campos de solo línea inferior, etiquetas en Gotham */
.campo label { font-family: var(--gotham); font-weight: 400; font-size: 16px; color: var(--negro); }
.campo input, .campo textarea, .campo select { background: transparent; border: 0; border-bottom: 2px solid var(--negro); padding: 8px 2px; min-height: 42px; }
.campo textarea { min-height: 92px; }
.formulario .boton, .contacto__form .boton { min-width: 228px; height: 51px; padding: 0 2rem; font-family: var(--gotham); font-weight: 400; font-size: 16px; }

/* Inicio: servicios y "Trabajemos juntos" */
.acordeon__titulo { color: rgba(0,0,0,.55); }
.acordeon__num { color: #757575; }
.acordeon__item[open] .acordeon__titulo { color: rgba(0,0,0,.55); }
.acordeon__boton:hover .acordeon__titulo { color: var(--negro); }
.acordeon__panel, .acordeon__panel p { font-family: var(--gotham); font-weight: 400; font-size: 16px; color: var(--gris-texto); }
.llamado h2, .llamado--grande h2 { font-family: var(--gotham); font-weight: 500; font-size: 40px; }
.llamado .enlace { text-decoration: none; }
.llamado .enlace:hover { text-decoration: underline; opacity: 1; }

/* Estudio */
.estudio-hero p { font-family: var(--gotham); font-weight: 300; }
.historia h2 { font-family: var(--gotham); font-weight: 400; }
.historia__intro { color: var(--rosa); }
.historia p:not(.historia__intro) { font-weight: 200; }
.filosofia .plomo { font-family: var(--avenir); font-weight: 700; }

/* Proyectos: fondo carbón y textos blancos */
.lista-proyectos { background: var(--gris-estudio); color: #fff; }
.lista-proyectos h1 { font-family: var(--gotham); font-weight: 400; color: var(--rosa); }
.fila-proyecto__nombre { color: #fff; }
.fila-proyecto__meta { font-family: var(--avenir); font-weight: 300; color: #fff; }
.lista-proyectos .enlace { color: #fff; text-decoration: none; }
.lista-proyectos .enlace:hover { text-decoration: underline; opacity: 1; }

/* Ficha de proyecto: banda carbón arriba, textos en Gotham abajo */
.ficha { padding: 0 0 80px; }
.ficha__banda { background: var(--gris-estudio); color: #fff; padding-bottom: 48px; margin-bottom: 60px; }
.ficha__banda .enlace, .ficha__cabecera h1 { color: #fff; }
.ficha__textos { margin-top: 0; }
.ficha__concepto { font-family: var(--gotham); font-weight: 400; font-size: 20px; }
.ficha__tecnica { font-family: var(--gotham); font-weight: 400; font-size: 16px; }
.ficha__nav { margin-top: 60px; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--avenir); font-size: 17px; }
.ficha__nav a { text-decoration: none; }
.ficha__nav a:hover { text-decoration: underline; opacity: 1; }

/* Contacto */
.contacto h1 { font-family: var(--raleway); font-weight: 400; font-size: clamp(44px, 6.2vw, 88px); margin-bottom: 10px; }
.contacto__sub { font-family: var(--raleway); font-size: clamp(26px, 5vw, 72px); line-height: 1.5; max-width: 840px; margin-bottom: 50px; }
.contacto__form { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; column-gap: 24px; max-width: 932px; }
.contacto__form .campo:nth-of-type(1) { grid-column: 1 / -1; order: 1; }
.contacto__form .campo:nth-of-type(3) { order: 2; }
.contacto__form .campo:nth-of-type(2) { order: 3; }
.contacto__form .campo--msg { grid-column: 1 / -1; grid-row: auto; order: 4; }
.contacto__form .campo--msg textarea { min-height: 92px; }
.contacto__form .boton { grid-column: 1; order: 5; min-width: 295px; justify-self: start; }
.contacto__datos h2 { font-family: var(--gotham); font-weight: 400; }
.contacto__datos p, .contacto__datos a { font-family: var(--avenir); font-weight: 300; color: var(--texto-dato); }
.desplegable summary { font-family: var(--gotham); font-weight: 700; }
@media (max-width: 860px) {
  .contacto__form { grid-template-columns: minmax(0, 1fr); }
  .contacto__form .campo, .contacto__form .campo--msg, .contacto__form .boton { grid-column: 1 / -1; }
  .contacto__form .boton { min-width: 0; width: 100%; }
}

/* Proveedores */
.proveedores h1 { font-family: var(--gotham); font-weight: 400; }
.proveedores__intro { font-family: var(--gotham); font-weight: 300; }
.enlace-simple { font-family: var(--gotham); font-weight: 300; font-size: 16px; color: var(--texto-dato); }
.enlace-simple:hover { text-decoration: underline; }
.proveedores__form h2 { font-family: var(--avenir); font-weight: 300; font-size: 18px; }
.proveedores__form .campo label { font-family: var(--gotham); font-weight: 400; color: var(--negro); }

/* ==========================================================================
   12. COMPARATIVA CON WIX — ajustes tras medir las dos versiones, 12 oct 2026
   ========================================================================== */
/* Encabezado alineado a la columna de 980 px: logo en x=222, redes hasta x≈1197 */
.encabezado { padding-inline: max(var(--pad), calc((100% - 980px) / 2)); }
.nav a[aria-current="page"] { text-decoration: none; }         /* Wix solo cambia el color */
.encabezado .sociales { margin-left: 34px; gap: 5px; }
.encabezado .sociales svg { width: 18px; height: 18px; }

/* Cita y títulos en Newsreader con el peso regular (Mercury Display Roman) */
.cita__texto { font-weight: 400; }

/* Banda de proyectos del inicio: degradado carbón bajo la espiral */
.proyectos-inicio { background: linear-gradient(180deg, #38332d 0%, #444948 100%); }
.proyectos-inicio__fondo::after { background: rgba(0,0,0,.12); }

/* Servicios (inicio): tabla de líneas; la descripción aparece a la derecha al pasar el cursor */
.servicios { padding: 82px 0 75px; }
.servicios h2 { margin-bottom: 0; }
.servicios__tabla { margin-top: 23px; border-top: 1px solid rgba(0,0,0,.5); border-bottom: 1px solid rgba(0,0,0,.5); }
.servicios__lista { list-style: none; margin: 0; padding: 0; width: 50%; border-right: 1px solid rgba(0,0,0,.5); position: relative; }
.servicio { border-bottom: 1px solid rgba(0,0,0,.5); padding-left: max(var(--pad), calc(50vw - 548px)); }
.servicio:last-child { border-bottom: 0; }
.servicio:nth-child(1) { height: 167px; padding-top: 58px; }
.servicio:nth-child(2) { height: 212px; padding-top: 56px; }
.servicio:nth-child(3) { height: 208px; padding-top: 44px; }
.servicio__fila { display: flex; align-items: flex-start; gap: 25px; cursor: default; }
.servicio__num { font-family: var(--gotham); font-size: 16px; line-height: 1; color: #757575; padding-top: 3px; transition: color var(--trans); }
.servicio__titulo { font-family: var(--mercury); font-weight: 400; font-size: 60px; line-height: 1; color: rgba(0,0,0,.55); transition: color var(--trans); }
.servicio:hover .servicio__num, .servicio:focus-within .servicio__num, .servicio:focus .servicio__num { color: var(--negro); font-weight: 700; }
.servicio:hover .servicio__titulo, .servicio:focus-within .servicio__titulo, .servicio:focus .servicio__titulo { color: var(--negro); }
.servicio__desc { position: absolute; left: calc(100% + 90px); top: 181px; width: 388px; margin: 0; font-family: var(--gotham); font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--gris-texto); opacity: 0; visibility: hidden; transition: opacity var(--trans), visibility var(--trans); }
.servicio:hover .servicio__desc, .servicio:focus-within .servicio__desc, .servicio:focus .servicio__desc { opacity: 1; visibility: visible; }
.servicio:focus { outline: none; }
@media (max-width: 900px) {
  .servicios h2 { margin-left: 0; }
  .servicios__lista { width: 100%; border-right: 0; }
  .servicio, .servicio:nth-child(n) { height: auto; padding: 22px var(--pad); }
  .servicio__titulo { font-size: clamp(34px, 9vw, 48px); }
  .servicio__desc { position: static; width: auto; margin-top: 14px; opacity: 1; visibility: visible; font-size: 15px; }
}

/* Pie: columnas como en Wix (logo 222, Contacto 465, Navegación 835, Políticas 1011) y 309 px de alto */
.pie { padding: 33px 0 36px; min-height: 309px; }
.pie h2 { line-height: 35px; margin-bottom: 4px; }
.pie ul { gap: 0; line-height: 27px; }
.pie .sociales { margin: 7px 0 0; }
.pie__legal { margin-top: 19px; }
.pie__legal a { text-decoration: none; }
.pie__legal a:hover { text-decoration: underline; }
@media (min-width: 900px) { .pie .contenedor { grid-template-columns: 243px 370px 176px minmax(0, 1fr); gap: 0; } }

/* Guía y contacto: Raleway en peso regular como el original */
.guia-intro p { font-weight: 400; }
.contacto__sub { font-weight: 400; }

/* Proveedores: "Ingresar datos" siempre subrayado */
.enlace-simple { text-decoration: underline; }

/* Ficha de proyecto: "Siguiente" / "Anterior" apilados a la izquierda; gris = no hay más */
.ficha__nav { flex-direction: column; align-items: flex-start; gap: 6px; }
.ficha__nav .desactivado { color: #8f8f8f; }

/* Blog: franja oscura con etiqueta, título y bajada; lista vacía como en Wix */
.blog-hero { background: var(--gris-estudio); color: #fff; min-height: 556px; display: grid; align-items: center; text-align: center; padding: 40px 0; }
.blog-hero__etiqueta { display: inline-block; width: 288px; max-width: 100%; height: 34px; line-height: 32px; border-radius: 82px; border: 1px solid #38965e; background: rgba(56,150,94,.3); font-family: var(--avenir); font-weight: 300; font-size: 15px; letter-spacing: .02em; }
.blog-hero h1 { font-family: var(--gotham); font-weight: 300; font-size: clamp(38px, 4.9vw, 71px); line-height: 1.2; margin: 30px 0 9px; }
.blog-hero p { font-family: var(--avenir); font-weight: 300; font-size: 17px; max-width: 690px; margin: 0 auto; }
.blog-lista { padding: 127px 0 0; min-height: 1437px; }
.blog-lista h2 { font-family: var(--raleway); font-weight: 400; font-size: 36px; padding-left: 40px; }
.blog-lista .blog-vacio { padding: 238px 0 120px; text-align: center; }
.blog-lista .blog-vacio h3 { font-family: var(--raleway); font-weight: 400; font-size: 32px; margin-bottom: 22px; }
.blog-lista .blog-vacio p { font-family: var(--avenir); font-weight: 300; font-size: 16px; margin: 0; }
@media (max-width: 700px) { .blog-lista { min-height: 0; padding-top: 60px; } .blog-lista h2 { padding-left: 0; } .blog-lista .blog-vacio { padding: 90px 0 60px; } }

/* Páginas legales: título centrado en verde, cuerpo Avenir justificado a 932 px */
.pagina-texto--legal { padding: 35px 0 80px; }
.texto-legal { max-width: 932px; margin-inline: auto; }
.texto-legal h1 { font-family: var(--gotham); font-weight: 400; font-size: 20px; line-height: 25px; color: var(--verde); text-align: center; margin-bottom: 38px; }
.texto-legal p, .texto-legal h2 { font-family: var(--avenir); font-weight: 300; font-size: 17px; line-height: 1.75; text-align: justify; color: var(--negro); }
.texto-legal p { margin: 0 0 1.75em; }
.texto-legal h2 { margin: 0; }                                   /* en Wix son líneas de texto normal */
.texto-legal--terminos p { font-size: 18px; }
.texto-legal a { text-decoration: underline; }

/* --- 12b. POSICIONES medidas en Wix (alturas de secciones, separaciones) --- */
/* Inicio: banda de proyectos de 889 px */
.proyectos-inicio { padding: 70px 0 46px; }

/* Estudio: foto 630×640 desde x=19, texto desde x=812 y a media altura; historia en dos columnas; filosofía */
.estudio-hero { min-height: 640px; align-items: start; }
.estudio-hero .contenedor { max-width: none; padding: 0 0 0 max(0px, calc(50% - 701px)); grid-template-columns: 630px minmax(0, 1fr); gap: 0; align-items: start; }
.estudio-hero p { margin: 322px 0 0 163px; max-width: 340px; }
.historia { padding: 135px 0 120px; }
.historia .contenedor { grid-template-columns: 449px 449px; grid-template-rows: auto auto auto; gap: 0; justify-content: space-between; }
.historia h2 { grid-area: 1 / 1; align-self: start; line-height: 48px; margin-bottom: 94px; }
.historia__img { grid-area: 1 / 2 / 3 / 3; }
.historia .historia__intro { grid-area: 2 / 1; font-family: var(--mercury); font-weight: 400; font-size: 20px; line-height: 1.5; margin: 0 0 31px; }
.historia p:not(.historia__intro) { margin: 0; }
.historia p:nth-of-type(2) { grid-area: 3 / 1; }
.historia p:nth-of-type(3) { grid-area: 3 / 2; }
.filosofia { padding: 98px 0 101px; }
.filosofia .plomo { margin-bottom: 48px; }
.filosofia p { margin-bottom: 32px; }
.filosofia p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
  .estudio-hero .contenedor { padding: 0 var(--pad); grid-template-columns: minmax(0, 1fr); }
  .estudio-hero p { margin: 1.5rem 0 0; }
  .historia .contenedor { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .historia h2, .historia__img, .historia .historia__intro, .historia p:nth-of-type(2), .historia p:nth-of-type(3) { grid-area: auto; }
  .historia h2 { margin-bottom: 24px; } .historia__img { margin-bottom: 24px; } .historia p:nth-of-type(2) { margin-bottom: 1em; }
}

/* Proyectos: foto a la izquierda en la 1.ª fila (como Wix), filas cada ~554 px, 130 px al pie */
.lista-proyectos { padding-bottom: 52px; }
.fila-proyecto { margin-bottom: 78px; }
.fila-proyecto:nth-child(even) { grid-template-columns: 715px minmax(0, 1fr); }
.fila-proyecto:nth-child(even) .fila-proyecto__img { order: 0; }
.fila-proyecto:nth-child(even) .fila-proyecto__info { text-align: left; }
.fila-proyecto:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 715px; }
.fila-proyecto:nth-of-type(even) .fila-proyecto__img { order: 2; }
.fila-proyecto:nth-of-type(even) .fila-proyecto__info { text-align: right; }
.fila-proyecto__meta { margin: 50px 0 27px; }
@media (max-width: 1000px) {
  .fila-proyecto, .fila-proyecto:nth-child(even), .fila-proyecto:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); margin-bottom: 56px; }
  .fila-proyecto:nth-of-type(even) .fila-proyecto__img { order: 0; }
  .fila-proyecto:nth-of-type(even) .fila-proyecto__info { text-align: left; }
  .fila-proyecto__meta { margin: 8px 0 14px; }
}

/* Guía: filas de temas cada ~307 px */
.temas { row-gap: 222px; }
@media (max-width: 950px) { .temas { row-gap: 48px; } }

/* Proveedores: separaciones y ancho del formulario (733 px) */
.proveedores h1 { margin-bottom: 5px; }
.proveedores__intro { margin-bottom: 14px; }
.proveedores__img { margin-top: 33px; }
.proveedores__form { max-width: 733px; margin-top: 36px; }
.proveedores__form h2 { margin-bottom: 24px; }
.proveedores__form .campo textarea { min-height: 74px; }

/* Contacto: título 88 px, bajada a 153 px del título, formulario, desplegable y datos */
.contacto h1 { margin-bottom: 47px; line-height: 1.2; }
.contacto__sub { margin-bottom: 13px; }
.desplegable { margin-top: 27px; }
.desplegable summary { display: flex; justify-content: space-between; align-items: center; width: 419px; max-width: 100%; padding: 4px 0 6px; border-bottom: 1px solid var(--verde); font-family: var(--gotham); font-weight: 700; font-size: 20px; color: var(--verde); }
.desplegable summary::after { content: "\25BC"; font-size: 14px; transition: transform var(--trans); }
.desplegable[open] summary::after { transform: rotate(180deg); }
.contacto__datos { margin: 60px 0 0; }

/* Legales: párrafos separados por una línea en blanco (31.5 px), salvo los marcados como "seguido" */
.texto-legal p { margin: 0; }
.texto-legal p + p, .texto-legal p + h2 { margin-top: 1.75em; }
.texto-legal h2 + p, .texto-legal p.seguido { margin-top: 0; }

/* --- 12c. AFINADO final --- */
.historia { padding-bottom: 70px; }
.contacto h1 { margin-bottom: 73px; }
.nav .sociales a { padding: 0; }
.proveedores h1 { font-size: clamp(30px, 11vw, 40px); }   /* en 320 px el título se salía */
.blog-hero__etiqueta { width: min(288px, 100%); }                 /* los iconos heredaban el padding de los enlaces del menú y quedaban de 9 px */
/* Estudio: logotipo grande (388×127 en x=812, y=238) sobre el párrafo, como en Wix */
.estudio-hero__texto { margin: 158px 0 0 163px; max-width: 388px; }
.estudio-hero img.estudio-hero__logo { display: block; width: 388px; max-width: 100%; height: auto; object-fit: contain; margin-bottom: 37px; }
.estudio-hero .estudio-hero__texto p { margin: 0; max-width: 340px; }
@media (max-width: 1000px) { .estudio-hero__texto { margin: 1.5rem 0 0; } .estudio-hero img.estudio-hero__logo { width: 260px; margin-bottom: 1.2rem; } }

@media print { .encabezado, .whatsapp, .pie, .llamado { display: none !important; } main { padding-top: 0; } }
