/* =========================================================
   Fundidora Gutiérrez | Propuesta 3
   Paleta y tipografías tomadas del sitio original
   ========================================================= */

:root {
  /* Paleta original */
  --color-whatsapp: #08A622;
  --color-cobre: #944A09;
  --color-cobre-claro: #CF7A29;
  --color-vino: #4D0E04;
  --color-noche: #171730;
  --color-azul-claro: #F2F6FF;
  --color-humo: #FAFAFC;
  --color-texto: #595959;
  --color-titulo: #000000;
  --color-blanco: #FFFFFF;

  /* Transparencias funcionales de la misma paleta */
  --line: rgba(0, 0, 0, 0.1);
  --line-light: rgba(255, 255, 255, 0.18);
  --text-light: rgba(255, 255, 255, 0.86);
  --placeholder: #ECECF1;

  /* Tipografía original */
  --font-primary: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Lato', 'Segoe UI', Arial, sans-serif;
  --font-button: 'Inter', 'Segoe UI', Arial, sans-serif;

  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --fs-h3: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.0625rem;
  --fs-small: 0.875rem;
  --lh-body: 1.8;

  /* Retícula y márgenes */
  --container: 1200px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3.5rem);
  --section-y: clamp(4.5rem, 3rem + 5vw, 8rem);
  --radius: 6px;
  --header-h: 68px;
  --tap: 48px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-texto);
  background: var(--color-blanco);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-titulo);
  text-wrap: balance;
}

p { margin: 0 0 1.25em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--color-cobre-claro);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-noche);
  color: var(--color-blanco);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Botones ---------- */
/* Negrita a 19 px: el blanco sobre el verde original cumple contraste para texto grande */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-button);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.btn--whatsapp { background: var(--color-whatsapp); color: var(--color-blanco); }
.btn--whatsapp:hover { background: #07931E; transform: translateY(-2px); }
.btn--whatsapp:active { transform: none; }

.btn--ghost-light { color: var(--color-blanco); border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--color-blanco); }

.btn--outline { color: var(--color-titulo); border-color: var(--color-titulo); font-size: 1.0625rem; background: transparent; }
.btn--outline:hover { background: var(--color-titulo); color: var(--color-blanco); }

.btn--sm { min-height: var(--tap); padding: 0.5rem 1.2rem; }

/* ---------- Encabezado (sin menú) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: var(--color-blanco);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--color-titulo);
  text-decoration: none;
  transition: color 0.35s ease;
}

.brand__logo { width: 44px; height: 44px; flex-shrink: 0; }

.brand__name {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .brand__logo { width: 54px; height: 54px; }
  .brand__name { font-size: 1.1875rem; }
}

.site-header__actions { display: flex; align-items: center; gap: 1.5rem; }

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap);
  font-weight: 700;
  color: var(--color-titulo);
  text-decoration: none;
  transition: color 0.35s ease;
}
.header-phone .icon { color: var(--color-cobre); transition: color 0.35s ease; }
.header-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 768px) {
  .header-phone { display: inline-flex; }
}

@media (max-width: 429px) {
  .site-header .btn--sm { width: var(--tap); padding: 0; }
  .site-header .btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}

/* Transparente sobre la foto del hero; sólido al hacer scroll */
.js .site-header:not(.is-solid) {
  background: transparent;
  border-bottom-color: transparent;
}
.js .site-header:not(.is-solid) .brand,
.js .site-header:not(.is-solid) .header-phone { color: var(--color-blanco); }
.js .site-header:not(.is-solid) .header-phone .icon { color: var(--color-cobre-claro); }

/* ---------- Hero con fotografía de fondo ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 2rem) 0 7rem;
  overflow: hidden;
  color: var(--color-blanco);
  background: var(--color-noche);
  text-align: center;
}

@supports (height: 100svh) {
  .hero { min-height: 100svh; }
}

.hero__bg {
  position: absolute;
  inset: -4% 0;
  z-index: -2;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__bg { transform: translate3d(0, var(--hy, 0px), 0); }
  .hero__img { animation: hero-zoom 2.4s var(--ease) both; }
  .hero__content > * { animation: hero-in 1s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-name: hero-rise; animation-delay: 0.1s; }
  .hero__content > :nth-child(3) { animation-delay: 0.2s; }
  .hero__content > :nth-child(4) { animation-delay: 0.3s; }
  .hero__bottom { animation: hero-fade 1s 0.6s ease both; }
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes hero-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-rise {
  from { transform: translate3d(0, 18px, 0); }
  to { transform: none; }
}

@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Velo para garantizar la lectura del texto sobre la fotografía */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(23, 23, 48, 0.55) 0%, rgba(23, 23, 48, 0.45) 40%, rgba(23, 23, 48, 0.7) 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-primary);
  font-size: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-blanco);
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-cobre-claro);
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .hero__eyebrow::before, .hero__eyebrow::after { width: 18px; }
}

.hero__title {
  max-width: 16ch;
  font-size: var(--fs-h1);
  line-height: 1.1;
  color: var(--color-blanco);
}

.hero__lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-light);
}
.hero__lead strong { color: var(--color-blanco); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
}

@media (max-width: 479px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
}

.hero__bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: clamp(1.25rem, 3vh, 2rem);
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-blanco);
}

.hero__services li { display: flex; align-items: center; }
.hero__services li + li::before {
  content: "";
  width: 4px; height: 4px;
  margin-inline: 0.8rem;
  border-radius: 50%;
  background: var(--color-cobre-claro);
}

.hero__scroll {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--color-blanco);
  transition: background-color 0.25s ease;
}
.hero__scroll:hover { background: rgba(255, 255, 255, 0.12); }

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll .icon { animation: nudge 2.4s ease-in-out 1.6s infinite; }
}

@keyframes nudge {
  0%, 60%, 100% { transform: none; }
  30% { transform: translateY(4px); }
}

@media (max-height: 640px) {
  .hero__scroll { display: none; }
}

/* ---------- Apariciones sutiles ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.8s ease, transform 0.8s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section--soft { background: var(--color-humo); }

.rule {
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 1.25rem;
  background: var(--color-cobre);
}
.rule--light { background: var(--color-cobre-claro); }

.section-title { font-size: var(--fs-h2); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--center .rule { margin-inline: auto; }

.section-intro {
  max-width: 46rem;
  margin: 1.25rem auto 0;
  font-size: var(--fs-body-lg);
}

.section-sub {
  margin-top: 0.75rem;
  font-size: 1.125rem;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #3D3D3D;
}

/* ---------- Quiénes somos ---------- */
.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__photos {
  position: relative;
  padding: 0 14% 12% 0;
}

.about__photo { overflow: hidden; border-radius: var(--radius); background: var(--placeholder); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__photo--main { aspect-ratio: 5 / 6; }

.about__photo--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 6px solid var(--color-blanco);
}

.about__body .section-title { margin-bottom: 1.5rem; }

.about__seal {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about__seal img { width: 84px; height: 84px; flex-shrink: 0; }
.about__seal p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.about__seal strong { display: block; font-family: var(--font-primary); font-size: 1.375rem; color: var(--color-cobre); }

@media (min-width: 768px) {
  .about__photos { max-width: 560px; }
}

@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); }
  .about__photos { max-width: none; }
}

/* ---------- Por qué elegirnos ---------- */
.why__list {
  display: grid;
  gap: 2.5rem;
}

.why__item {
  display: flex;
  flex-direction: column;
  background: var(--color-blanco);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.why__media { aspect-ratio: 768 / 538; overflow: hidden; background: var(--placeholder); }

.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

@media (hover: hover) {
  .why__item:hover .why__media img { transform: scale(1.04); }
}

.why__text { padding: 1.75rem 1.75rem 2rem; }

.why__num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-cobre);
}

.why__title { margin-bottom: 0.75rem; font-size: var(--fs-h3); }

@media (min-width: 768px) {
  .why__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

/* ---------- Servicios ---------- */
.services__grid {
  display: grid;
  gap: 2.5rem;
}

.services__media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--placeholder);
}

.services__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.services__list { border-top: 1px solid var(--line); }

.service {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.service__num {
  padding-top: 0.25rem;
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-cobre);
}

.service__title { margin-bottom: 0.6rem; font-size: var(--fs-h3); }

.services__cta { margin-top: 2.25rem; }

@media (max-width: 479px) {
  .services__cta { width: 100%; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .services__media { aspect-ratio: 16 / 10; }
}

@media (min-width: 1024px) {
  .services__grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  .services__media { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 768 / 984; }
}

/* ---------- Proyectos ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.875rem; }
}

.gallery__item--big { grid-column: span 2; grid-row: span 2; }

.gallery.is-collapsed .gallery__item:nth-child(n + 11) { display: none; }

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--placeholder);
  aspect-ratio: 1;
  cursor: zoom-in;
}

.gallery__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 48, 0);
  transition: background-color 0.4s ease;
}

@media (hover: hover) {
  .gallery__btn:hover img { transform: scale(1.05); }
  .gallery__btn:hover::after { background: rgba(23, 23, 48, 0.12); }
}

.gallery__more { display: flex; justify-content: center; margin-top: 2.5rem; }

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 10, 22, 0.96);
  color: var(--color-blanco);
}

@supports (height: 100dvh) {
  .lightbox { height: 100dvh; }
}

.lightbox::backdrop { background: rgba(10, 10, 22, 0.96); }
.lightbox[open] { display: grid; place-items: center; }

.lightbox__frame { display: grid; justify-items: center; gap: 0.75rem; padding: 4.5rem 1rem 1.5rem; }

.lightbox__img {
  width: auto;
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__count { margin: 0; font-size: var(--fs-small); color: var(--text-light); }

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(23, 23, 48, 0.6);
  color: var(--color-blanco);
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox__btn .icon { width: 24px; height: 24px; }

.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.75rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 639px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
  .lightbox__prev { left: calc(50% - 3.5rem); }
  .lightbox__next { right: calc(50% - 3.5rem); }
  .lightbox__frame { padding-bottom: 5rem; }
  .lightbox__img { max-height: calc(100vh - 11rem); }
}

@media (min-width: 1024px) {
  .lightbox__prev { left: 2rem; }
  .lightbox__next { right: 2rem; }
  .lightbox__close { top: 1.5rem; right: 2rem; }
}

/* ---------- Llamado a la acción ---------- */
.cta {
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
  background: var(--color-cobre);
  color: var(--color-blanco);
  text-align: center;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__title {
  max-width: 20ch;
  font-size: var(--fs-h2);
  color: var(--color-blanco);
}

.cta__inner p {
  max-width: 38rem;
  margin: 1.25rem 0 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

@media (max-width: 479px) {
  .cta__inner .btn { width: 100%; }
}

/* ---------- Testimonios ---------- */
.testimonials__grid { display: grid; gap: 1.25rem; }

@media (min-width: 768px) {
  .testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  background: var(--color-azul-claro);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-cobre);
}

.quote__stars { margin-bottom: 1rem; letter-spacing: 0.15em; color: var(--color-cobre); }

.quote__text { flex: 1; }

.quote__text p {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-titulo);
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-titulo);
}

.quote__author img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--color-vino); color: var(--text-light); }
.faq .section-title { color: var(--color-blanco); }

.faq__grid { display: grid; gap: 2.5rem; }

.faq__media {
  display: none;
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 768 / 502;
  background: rgba(255, 255, 255, 0.06);
}

.faq__media img { width: 100%; height: 100%; object-fit: cover; }

.faq__list { border-top: 1px solid var(--line-light); }
.faq__item { border-bottom: 1px solid var(--line-light); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary h3 { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--color-blanco); }

.faq__icon { width: 24px; height: 24px; color: var(--color-cobre-claro); transition: transform 0.3s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__answer { max-width: 40rem; padding-bottom: 1.5rem; font-size: var(--fs-body-lg); line-height: 1.75; }

.faq__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--tap);
  margin-top: 1.75rem;
  font-family: var(--font-button);
  font-weight: 700;
  color: var(--color-blanco);
  text-decoration: underline;
  text-decoration-color: var(--color-cobre-claro);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.faq__link:hover { text-decoration-color: var(--color-blanco); }

@media (min-width: 768px) {
  .faq__media { display: block; max-width: 460px; }
}

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 5vw, 5rem); align-items: start; }
}

/* ---------- Ubicación ---------- */
.location__grid { display: grid; gap: 2.5rem; }

.location__data { display: grid; gap: 1.25rem; margin: 1.75rem 0 2rem; }
.location__data div { padding-top: 1rem; border-top: 1px solid var(--line); }

.location__data dt {
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-cobre);
}

.location__data dd { margin: 0.25rem 0 0; font-size: 1.0625rem; color: var(--color-titulo); }

.location__data dd a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.location__map {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--placeholder);
}

.location__map iframe { width: 100%; height: 100%; border: 0; }

@media (min-width: 768px) {
  .location__map { aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .location__grid { grid-template-columns: 4fr 7fr; gap: clamp(3rem, 5vw, 5rem); align-items: center; }
  .location__map { aspect-ratio: 16 / 11; }
}

/* ---------- Pie de página ---------- */
.site-footer { background: var(--color-noche); color: var(--text-light); }

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  background: linear-gradient(var(--line-light), var(--line-light)) no-repeat bottom center / calc(100% - var(--gutter) * 2) 1px;
}

.site-footer__call {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.375rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-blanco);
}

.site-footer__call a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--color-blanco);
  text-decoration: none;
  white-space: nowrap;
}
.site-footer__call a:hover { color: var(--color-cobre-claro); }

@media (max-width: 479px) {
  .site-footer__top .btn { width: 100%; }
}

.site-footer__bottom { padding-block: 1.75rem calc(1.75rem + 72px); }

@media (min-width: 768px) {
  .site-footer__bottom { padding-bottom: 1.75rem; }
}

.brand--footer { color: var(--color-blanco); }
.brand--footer .brand__logo { width: 44px; height: 44px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-blanco);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: #07931E; }

.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}