/* =========================================================
   Partida Design Works · Landing
   Colores y tipografía tomados de la identidad de la marca.
   ========================================================= */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Marca */
  --hueso: #DCD7D1;
  --hueso-claro: #E7E3DE;
  --negro: #0E0E0E;
  --terracota: #9A563C;
  --terracota-osc: #7E4430;
  --terracota-luz: #C98B6F;
  --blanco: #F6F3EF;

  /* Uso */
  --texto: var(--negro);
  --texto-2: #57504A;
  --linea: var(--terracota);
  --linea-suave: rgba(154, 86, 60, .38);
  --fondo: var(--hueso);

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --sec: clamp(88px, 10vw, 148px);
  --header-h: 112px;
  --izq: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); /* borde izquierdo del contenido */
  --sobra: 22px; /* lo que el trazo sobresale al cruzarse */

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; }
::selection { background: var(--terracota); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--negro); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.h2 {
  font-size: clamp(1.875rem, 1.15rem + 2.1vw, 3rem);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2--lado { font-size: clamp(1.75rem, 1.1rem + 1.5vw, 2.5rem); }
.lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.62;
  color: var(--texto-2);
  max-width: 34em;
  text-wrap: pretty;
}
.acento { color: var(--terracota); }

/* ---------- Trazo de arquitecto: líneas que se cruzan y sobresalen ---------- */
.sheet { padding-block: var(--sec); }
.sheet__head {
  position: relative;
  padding: 36px 0 0 36px;
}
.sheet__head::before,
.sheet__head::after { content: ""; position: absolute; background: var(--linea); }
.sheet__head::before { top: 0; left: calc(var(--sobra) * -1); right: 0; height: 1px; }
.sheet__head::after { left: 0; top: calc(var(--sobra) * -1); bottom: 0; width: 1px; }
.sheet__head .lead { margin-top: 20px; }

/* ---------- Botones ---------- */
.btn-wa {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 18px;
  background: var(--terracota); color: #fff;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  text-align: left;
  transition: background-color .2s ease;
}
.btn-wa .i-wa { width: 40px; height: 40px; flex: none; }
.btn-wa__txt { display: flex; flex-direction: column; line-height: 1.1; }
.btn-wa__txt strong { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; }
.btn-wa__txt > span { font-size: 1.0625rem; font-weight: 400; margin-top: 2px; }
.btn-wa__cursor {
  position: absolute; right: -26px; bottom: -30px;
  width: 26px; height: 26px; fill: var(--terracota);
  transition: transform .25s var(--ease);
}
.btn-wa:hover, .btn-wa:focus-visible { background: var(--terracota-osc); }
.btn-wa:hover .btn-wa__cursor, .btn-wa:focus-visible .btn-wa__cursor { transform: translate(-6px, -6px); }
.btn-wa:active { transform: translateY(1px); }

.btn-wa--sm { padding: 12px 22px 12px 14px; gap: 12px; }
.btn-wa--sm .i-wa { width: 30px; height: 30px; }
.btn-wa--sm .btn-wa__txt strong { font-size: 1.0625rem; }
.btn-wa--sm .btn-wa__txt > span { font-size: .9375rem; }
.btn-wa--sm .btn-wa__cursor { width: 22px; height: 22px; right: -22px; bottom: -26px; }

.btn-wa--oscuro .btn-wa__cursor { fill: #fff; }

.btn-mini {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--terracota); color: #fff;
  text-decoration: none; font-size: .9375rem; font-weight: 500; line-height: 1;
  transition: background-color .2s ease;
}
.btn-mini .i-wa { width: 20px; height: 20px; }
.btn-mini:hover { background: var(--terracota-osc); }

.link-line {
  display: inline-block;
  font-weight: 500;
  color: var(--texto);
  text-decoration: underline;
  text-decoration-color: var(--terracota);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-thickness .15s ease, color .15s ease;
}
.link-line:hover { text-decoration-thickness: 2px; color: var(--terracota-osc); }

/* ---------- Encabezado ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
}
.site-header__row {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px);
  height: var(--header-h);
}
.brand-frame {
  position: relative; align-self: stretch;
  display: flex; align-items: center;
  padding-right: clamp(28px, 3vw, 44px);
}
.brand-frame::before,
.brand-frame::after { content: ""; position: absolute; background: var(--linea); }
.brand-frame::before { left: -100vw; right: calc(var(--sobra) * -1); bottom: 0; height: 1px; transform-origin: left; }
.brand-frame::after { right: 0; top: 0; bottom: calc(var(--sobra) * -1); width: 1px; transform-origin: top; }
.brand { display: block; }
.brand img { width: clamp(132px, 12vw, 176px); }

.nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.nav a {
  text-decoration: none; font-size: .9375rem; font-weight: 500;
  padding-block: 6px;
  background: linear-gradient(var(--terracota), var(--terracota)) left bottom / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
}
.nav a:hover { background-size: 100% 1px; }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hueso);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__inner {
  position: relative; z-index: 2;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 780px);
  display: flex; align-items: center;
  padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 96px);
}
.hero__text { width: min(100%, calc(100vw - var(--media-w) - 40px - var(--izq))); max-width: 640px; }
.hero { --media-w: min(47vw, 720px); }
.hero__title {
  font-size: clamp(2.25rem, .9rem + 2.65vw, 3.5rem);
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -.025em;
}
.hero__title .ln { display: inline; }
.hero__lead {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  color: var(--texto-2);
  max-width: 33em;
  text-wrap: pretty;
}
.hero__actions {
  margin-top: clamp(32px, 3.6vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px 52px;
}
.hero__media {
  position: absolute; z-index: 1;
  top: 0; right: 0; bottom: 0;
  width: var(--media-w);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 35%; }
.hero::after { /* franja de marca */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: var(--terracota); z-index: 3;
}

/* Animación de entrada: se dibujan los trazos y aparece el texto */
@keyframes trazo-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes trazo-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes funde { from { opacity: 0; } to { opacity: 1; } }
.brand-frame::before { animation: trazo-x 1s var(--ease) both; }
.brand-frame::after { animation: trazo-y .9s var(--ease) .25s both; }
.hero__title { animation: aparece .9s var(--ease) .45s both; }
.hero__lead { animation: aparece .9s var(--ease) .6s both; }
.hero__actions { animation: aparece .9s var(--ease) .72s both; }
.hero__media { animation: funde 1.2s ease .1s both; }

/* ---------- Secciones oscuras ---------- */
.oscuro {
  --texto: var(--blanco);
  --texto-2: #B7AFA8;
  --linea: #6B645E;
  background: var(--negro);
  color: var(--texto);
}
.oscuro .acento { color: var(--terracota-luz); }

/* Las tres preguntas */
.preguntas3 { position: relative; overflow: hidden; --media-w: min(40vw, 620px); }
.preguntas3__grid { position: relative; z-index: 2; padding-block: var(--sec); }
.preguntas3__text { width: min(100%, calc(100vw - var(--media-w) - 56px - var(--izq))); max-width: 720px; }
.preguntas3 .h2 { max-width: 22ch; }
.preguntas3 .lead { margin-top: 24px; }
.preguntas3__media {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: var(--media-w);
}
.preguntas3__media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%; }

.respuestas { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--linea); }
.respuesta {
  display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 8px 32px;
  padding-block: 26px; border-bottom: 1px solid var(--linea);
}
.respuesta dt { font-size: 1.25rem; font-weight: 500; color: var(--terracota-luz); line-height: 1.35; }
.respuesta dd { color: var(--texto-2); }

/* ---------- Servicios ---------- */
.servicios__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 112px); align-items: start;
}
.servicios__head { position: sticky; top: 40px; }
.servicios__head .btn-wa { margin-top: 36px; }
.servicio { padding-block: 40px; border-top: 1px solid var(--linea-suave); }
.servicio:first-child { border-top: 0; padding-top: 4px; }
.servicio__nombre {
  font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem);
  font-weight: 500; line-height: 1.22; letter-spacing: -.015em;
}
.servicio__desc { margin-top: 14px; color: var(--texto-2); max-width: 38em; }
.servicio__incluye { margin-top: 24px; font-weight: 500; font-size: .9375rem; color: var(--terracota); }
.checks {
  margin-top: 12px;
  columns: 2; column-gap: 40px;
}
.checks li {
  position: relative; padding: 5px 0 5px 26px;
  break-inside: avoid;
  font-size: .9688rem; line-height: 1.5;
}
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .78em;
  width: 11px; height: 6px; border-left: 1.5px solid var(--terracota); border-bottom: 1.5px solid var(--terracota);
  transform: rotate(-45deg);
}
.servicio .link-line { margin-top: 24px; }

/* ---------- Tipos de proyecto ---------- */
.tipos { padding-top: 0; }
.tipos__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(48px, 7vw, 112px); align-items: end; }
.tipos__head .lead { margin-top: 0; }
.tipos__grid {
  position: relative;
  margin-top: clamp(44px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--linea-suave); border-left: 1px solid var(--linea-suave);
}
.tipos__grid::before, .tipos__grid::after { content: ""; position: absolute; background: var(--linea); }
.tipos__grid::before { top: -1px; left: calc(var(--sobra) * -1); right: calc(var(--sobra) * -1); height: 1px; }
.tipos__grid::after { left: -1px; top: calc(var(--sobra) * -1); bottom: calc(var(--sobra) * -1); width: 1px; }
.tipos__grid li {
  padding: clamp(24px, 2.6vw, 36px);
  border-right: 1px solid var(--linea-suave); border-bottom: 1px solid var(--linea-suave);
  min-height: 190px;
}
.tipos__grid h3 { font-size: 1.1875rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.tipos__grid p { margin-top: 10px; color: var(--texto-2); font-size: .9688rem; line-height: 1.6; }

/* ---------- Proceso ---------- */
.proceso { background: var(--hueso-claro); }
.proceso__head .lead { margin-top: 20px; }
.pasos {
  margin-top: clamp(56px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 72px) clamp(28px, 3.4vw, 56px);
  counter-reset: paso;
}
.paso { position: relative; padding-top: 30px; display: flex; flex-direction: column; }
.paso::before { /* línea superior */
  content: ""; position: absolute; top: 0; left: calc(var(--sobra) * -.6); right: 0; height: 1px; background: var(--linea);
}
.paso::after { /* cruce */
  content: ""; position: absolute; left: 0; top: calc(var(--sobra) * -.6); height: 44px; width: 1px; background: var(--linea);
}
.paso__num {
  display: block;
  font-size: clamp(2.5rem, 2rem + 1.4vw, 3.5rem); font-weight: 300; line-height: 1;
  color: var(--terracota); letter-spacing: -.03em;
}
.paso__titulo { margin-top: 18px; font-size: 1.3125rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.paso p { margin-top: 10px; color: var(--texto-2); font-size: .9688rem; line-height: 1.62; }
.paso p:not(.paso__recibes) { margin-bottom: 20px; }
.paso .paso__recibes {
  margin-top: auto; padding: 14px 16px;
  background: var(--hueso); color: var(--texto); font-size: .9375rem; line-height: 1.55;
}
.paso__recibes span { display: block; font-weight: 500; color: var(--terracota); margin-bottom: 2px; }
.proceso__cta { margin-top: clamp(56px, 6vw, 80px); padding-bottom: 30px; }

/* ---------- Testimonios ---------- */
.testimonios__grid {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.testimonio { display: flex; flex-direction: column; }
.testimonio__proyecto { font-weight: 500; font-size: .9375rem; color: var(--terracota); max-width: 30em; }
.testimonio__cita { margin-top: 18px; }
.testimonio__cita p {
  font-size: clamp(1.1875rem, 1rem + .6vw, 1.4375rem);
  line-height: 1.5; font-weight: 300; letter-spacing: -.01em;
  text-indent: -.42em; text-wrap: pretty;
}
.testimonio__autor {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--linea-suave);
  display: flex; flex-direction: column; line-height: 1.45;
}
.testimonio__autor strong { font-weight: 500; }
.testimonio__autor span { color: var(--texto-2); font-size: .9375rem; }

.testimonio__completo { margin-top: 20px; }
.testimonio__completo summary {
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; list-style: none; font-weight: 500;
}
.testimonio__completo summary span { text-decoration: underline; text-decoration-color: var(--terracota); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.testimonio__completo summary:hover span { text-decoration-thickness: 2px; }
.testimonio__completo summary::-webkit-details-marker { display: none; }
.testimonio__completo summary::after { content: "+"; font-weight: 300; font-size: 1.4rem; line-height: 1; color: var(--terracota); }
.testimonio__completo[open] summary::after { content: "–"; }
.testimonio__texto { margin-top: 20px; display: grid; gap: 14px; color: var(--texto-2); font-size: .9688rem; }

/* ---------- Equipo ---------- */
.equipo { background: var(--hueso-claro); }
.equipo__grid {
  margin-top: clamp(56px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 64px);
}
.ficha {
  position: relative;
  border: 1px solid var(--linea-suave);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
}
.ficha::before, .ficha::after { content: ""; position: absolute; background: var(--linea); }
.ficha::before { top: -1px; left: calc(var(--sobra) * -1); right: calc(var(--sobra) * -1); height: 1px; }
.ficha::after { left: -1px; top: calc(var(--sobra) * -1); bottom: calc(var(--sobra) * -1); width: 1px; }
.ficha__rol { font-size: .9375rem; font-weight: 500; color: var(--terracota); }
.ficha__nombre { margin-top: 6px; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.ficha > p { color: var(--texto-2); }
.ficha__datos { margin-top: 8px; border-top: 1px solid var(--linea-suave); }
.ficha__datos div {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 4px 20px;
  padding-block: 13px; border-bottom: 1px solid var(--linea-suave);
  font-size: .9375rem; line-height: 1.5;
}
.ficha__datos dt { font-weight: 500; }
.ficha__datos dd { color: var(--texto-2); }

/* ---------- Preguntas frecuentes ---------- */
.faq__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 112px); align-items: start;
}
.faq__head { position: sticky; top: 40px; }
.faq__lista { border-top: 1px solid var(--linea-suave); }
.faq__item { border-bottom: 1px solid var(--linea-suave); }
.faq__item summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 24px 56px 24px 0;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 500; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before,
.faq__item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 18px; height: 1.5px; background: var(--terracota);
  transition: transform .25s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover { color: var(--terracota-osc); }
.faq__item > div { padding: 0 56px 28px 0; color: var(--texto-2); max-width: 40em; }

/* ---------- Contacto ---------- */
.contacto { position: relative; overflow: hidden; --media-w: min(38vw, 600px); }
.contacto__grid { position: relative; z-index: 2; padding-block: var(--sec); }
.contacto__text { width: min(100%, calc(100vw - var(--media-w) - 56px - var(--izq))); max-width: 700px; }
.contacto .lead { margin-top: 20px; }
.contacto__media { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: var(--media-w); }
.contacto__media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%; }

.armador { margin-top: clamp(36px, 4vw, 52px); display: grid; gap: 30px; }
.armador fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.armador legend, .campo label { display: block; padding: 0; margin-bottom: 12px; font-weight: 500; font-size: 1rem; }
.opc { color: var(--texto-2); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 9px 16px;
  border: 1px solid #4A4541; color: var(--texto);
  font-size: .9375rem; line-height: 1.3;
  transition: border-color .15s ease, background-color .15s ease;
}
.chips label:hover span { border-color: var(--terracota-luz); }
.chips input:checked + span { background: var(--terracota); border-color: var(--terracota); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--terracota-luz); outline-offset: 3px; }
.campo input, .campo textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #4A4541;
  padding: 10px 0; color: var(--texto); font-size: 1rem; border-radius: 0; resize: vertical;
}
.campo input::placeholder, .campo textarea::placeholder { color: #8A827B; }
.campo input:focus, .campo textarea:focus { outline: none; border-bottom-color: var(--terracota-luz); }
.campo input:focus-visible, .campo textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--terracota-luz); }
.armador__acciones { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; }
.armador__directo { color: var(--texto-2); font-size: .9375rem; }
.armador__directo a { color: var(--texto); font-weight: 500; text-decoration-color: var(--terracota-luz); text-underline-offset: 5px; }

/* ---------- Pie ---------- */
.site-footer { padding-top: clamp(64px, 7vw, 96px); border-top: 1px solid #262422; }
.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 48px; padding-bottom: 56px;
}
.site-footer__marca img { width: 168px; }
.site-footer__marca p { margin-top: 22px; color: var(--texto-2); max-width: 26em; font-size: .9688rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav a { text-decoration: none; color: var(--texto-2); font-size: .9688rem; }
.site-footer__nav a:hover { color: var(--texto); }
.site-footer__label { color: var(--texto-2); font-size: .875rem; }
.site-footer__label + * { margin-bottom: 18px; }
.site-footer__tel { display: inline-block; font-size: 1.375rem; text-decoration: none; letter-spacing: -.01em; }
.site-footer__tel:hover { color: var(--terracota-luz); }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 22px 28px;
  background: linear-gradient(#2A2725, #2A2725) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
  color: var(--texto-2); font-size: .875rem;
}
.site-footer__legal a { color: var(--texto-2); }
.site-footer__legal a:hover { color: var(--texto); }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px;
  background: var(--terracota); color: #fff; text-decoration: none;
  font-weight: 500; font-size: .9375rem; line-height: 1;
  box-shadow: 0 10px 30px -10px rgba(14, 14, 14, .45);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease), background-color .2s ease;
}
.wa-flotante .i-wa { width: 24px; height: 24px; }
.wa-flotante.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-flotante:hover { background: var(--terracota-osc); }
.no-js .wa-flotante { opacity: 1; transform: none; pointer-events: auto; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: .875rem; }
}

@media (max-width: 1180px) {
  .respuesta { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 88px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; padding: 10px 4px; cursor: pointer;
    font-weight: 500; font-size: .9375rem;
  }
  .menu-btn__lines { position: relative; width: 22px; height: 10px; }
  .menu-btn__lines::before, .menu-btn__lines::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--negro);
    transition: transform .25s var(--ease), top .25s var(--ease);
  }
  .menu-btn__lines::before { top: 0; }
  .menu-btn__lines::after { top: 8px; }
  .menu-btn[aria-expanded="true"] .menu-btn__lines::before { top: 4px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__lines::after { top: 4px; transform: rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 1px);
    flex-direction: column; gap: 0;
    background: var(--hueso); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--linea);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.25rem; padding-block: 14px; border-bottom: 1px solid var(--linea-suave); background: none; }

  /* Hero apilado */
  .hero__inner { min-height: 0; padding-bottom: 8px; }
  .hero__text { width: 100%; max-width: 640px; }
  .hero__media {
    position: relative; inset: auto; width: 100%;
    display: block; margin-top: -8px;
  }
  .hero__media img { height: auto; aspect-ratio: 813 / 1000; object-position: 100% 100%; }

  .preguntas3__text, .contacto__text { width: 100%; }
  .preguntas3__media, .contacto__media { position: relative; width: 100%; display: block; }
  .preguntas3__media img, .contacto__media img { height: auto; aspect-ratio: 743 / 900; object-position: 100% 40%; }
  .preguntas3__grid, .contacto__grid { padding-bottom: 48px; }

  .servicios__grid, .faq__grid { grid-template-columns: 1fr; }
  .servicios__head, .faq__head { position: relative; top: auto; }
  .tipos__head { grid-template-columns: 1fr; }
  .tipos__head .lead { margin-top: 4px; }
  .tipos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipo__grid, .testimonios__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__marca { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; --sobra: 14px; }
  body { font-size: 1rem; }
  .brand img { width: 118px; }
  .brand-frame { padding-right: 20px; }
  .menu-btn__label { display: none; }
  .btn-mini { padding: 10px 12px; }
  .btn-mini span { display: none; }
  .btn-mini .i-wa { width: 22px; height: 22px; }

  .hero__title { font-size: clamp(2rem, 1.2rem + 4.2vw, 2.5rem); }
  .hero__actions { gap: 36px; }
  .btn-wa { padding: 12px 22px 12px 14px; gap: 12px; }
  .btn-wa .i-wa { width: 34px; height: 34px; }
  .btn-wa__txt strong { font-size: 1.1875rem; }
  .btn-wa__txt > span { font-size: .9688rem; }

  .sheet__head { padding: 26px 0 0 22px; }
  .respuesta { grid-template-columns: 1fr; padding-block: 22px; }
  .checks { columns: 1; }
  .tipos__grid { grid-template-columns: 1fr; }
  .tipos__grid::before, .tipos__grid::after { content: ""; position: absolute; background: var(--linea); }
.tipos__grid::before { top: -1px; left: calc(var(--sobra) * -1); right: calc(var(--sobra) * -1); height: 1px; }
.tipos__grid::after { left: -1px; top: calc(var(--sobra) * -1); bottom: calc(var(--sobra) * -1); width: 1px; }
.tipos__grid li { min-height: 0; }
  .pasos { grid-template-columns: 1fr; gap: 44px; }
  .ficha__datos div { grid-template-columns: 1fr; gap: 2px; }
  .faq__item summary { padding-right: 44px; }
  .faq__item > div { padding-right: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-flotante { right: 14px; bottom: 14px; padding: 14px; }
  .wa-flotante span { display: none; }
  .wa-flotante .i-wa { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
