/* ==========================================================================
   FJR Atelier · Construcción y Reformas — reformasfjr.com
   Tema: negro / dorado (lujo). Mobile-first, accesible y sin dependencias.
   ========================================================================== */

/* Fuentes auto-alojadas (sin peticiones a terceros: más rápido y conforme al RGPD) */
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/marcellus-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa7c11;
  --bg: #0a0a0a;
  --bg-alt: #090909;
  --surface: #111111;
  --surface-2: #0d0d0d;
  --border: #222222;
  --text: #f5f5f5;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --font-display: "Marcellus", "Georgia", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --radius: 2px;
  --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.12);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #000; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 880px; }

.section { padding-block: 5rem; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.text-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Ancla desplazada para compatibilidad con enlaces antiguos (#antes-despues) */
.anchor-alias { position: relative; top: -90px; display: block; height: 0; visibility: hidden; }

/* Enlace para saltar al contenido (accesibilidad) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #000;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Cabeceras de sección ---------- */
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-kicker::before { content: ""; width: 2rem; height: 1px; background: var(--gold); }
.section-kicker--center { justify-content: center; }
.section-kicker--center::after { content: ""; width: 2rem; height: 1px; background: var(--gold); }

.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: 0.04em; margin-bottom: 1.25rem; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-head .section-title { margin-bottom: 1rem; }
.section-lead { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
}
.btn:active { transform: scale(0.97); }

.btn--gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  color: #000;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); box-shadow: 0 0 50px rgba(212, 175, 55, 0.25); }

.btn--outline {
  background: rgba(0, 0, 0, 0.4);
  border-color: #4b5563;
  color: var(--text);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--lg { padding: 1.05rem 2.1rem; font-size: 0.82rem; }
.btn--block { display: block; width: 100%; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.74rem;
  color: var(--text-muted);
  padding-block: 0.55rem;
}
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.5rem; }
.topbar__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.5rem; }
.topbar a, .topbar__zone { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 0.85rem; height: 0.85rem; stroke: var(--gold); fill: none; stroke-width: 2; }

@media (min-width: 640px) {
  .topbar__inner { justify-content: space-between; }
}

/* ---------- Cabecera / navegación ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.8rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, 0.3); }
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__tag { font-size: 0.55rem; letter-spacing: 0.28em; color: var(--text-muted); }

.nav { display: flex; align-items: center; gap: 1.8rem; font-size: 0.85rem; font-weight: 400; }
.nav > a:not(.nav__cta) { color: #d1d5db; padding-block: 0.4rem; border-bottom: 1px solid transparent; transition: color 0.2s; }
.nav > a:not(.nav__cta):hover, .nav > a.is-active { color: var(--gold); }
.nav__cta { margin-left: 0.5rem; padding: 0.6rem 1.2rem; font-size: 0.7rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--gold); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
    text-align: center;
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.nav__cta) { padding-block: 0.85rem; border-bottom: 1px solid var(--border); }
  .nav__cta { margin: 1rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 5rem;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45); }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg), transparent 40%),
    linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.2));
}
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }

.hero__badge {
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.6);
  padding: 0.45rem 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}

.hero__title { font-size: clamp(2.1rem, 6vw, 3.8rem); letter-spacing: 0.03em; }
.hero__subtitle { max-width: 620px; color: #d1d5db; font-size: clamp(0.95rem, 2vw, 1.1rem); }
.hero__quote { border-left: 2px solid var(--gold); padding-left: 1rem; font-style: italic; font-size: 0.9rem; color: var(--text-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }

/* ---------- Beneficios ---------- */
.benefits { background: var(--bg-alt); border-block: 1px solid var(--border); padding-block: 3rem; }
.benefits__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 900px) { .benefits__grid { grid-template-columns: repeat(4, 1fr); } }

.benefit { text-align: center; }
.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #000;
  margin-bottom: 0.8rem;
}
.benefit__icon svg { width: 1.4rem; height: 1.4rem; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 0.9rem; letter-spacing: 0.12em; }
.benefit p { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ---------- Sobre nosotros ---------- */
.about__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.about__media { position: relative; max-width: 420px; margin-inline: auto; border: 1px solid rgba(212, 175, 55, 0.2); background: var(--surface); padding: 1rem; }
.about__badge {
  position: absolute;
  bottom: -1.4rem;
  right: -0.9rem;
  background: #000;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.2rem;
  max-width: 190px;
}
.about__badge-num { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); }
.about__badge p { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

.about__text p + p { margin-top: 1rem; }
.about__text { color: #d1d5db; }
.about__features { list-style: none; display: grid; gap: 1.2rem; margin-top: 1.8rem; }
@media (min-width: 640px) { .about__features { grid-template-columns: 1fr 1fr; } }
.about__features li { padding-left: 1.8rem; position: relative; }
.about__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--gold);
  font-weight: 700;
}
.about__features h3 { font-size: 0.86rem; letter-spacing: 0.1em; }
.about__features p { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ---------- Servicios ---------- */
.services__grid { display: grid; gap: 1.5rem; }
@media (min-width: 680px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: #000;
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  scroll-margin-top: 110px;
}
.service-card:hover { border-color: rgba(212, 175, 55, 0.5); transform: translateY(-4px); box-shadow: var(--shadow-gold); }

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.service-card__icon svg { width: 1.35rem; height: 1.35rem; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.service-card h3 { font-size: 1.15rem; color: var(--gold); letter-spacing: 0.06em; }
.service-card > p { font-size: 0.86rem; color: var(--text-muted); }
.service-card ul { list-style: none; display: grid; gap: 0.45rem; font-size: 0.8rem; color: #d1d5db; }
.service-card li { padding-left: 1.4rem; position: relative; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.service-card__link { margin-top: auto; padding-top: 0.6rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.service-card__link:hover { color: var(--gold-light); }

/* ---------- Galería ---------- */
.gallery__featured {
  display: grid;
  gap: 2rem;
  background: #000;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-gold);
  margin-bottom: 4rem;
}
@media (min-width: 860px) { .gallery__featured { grid-template-columns: 5fr 7fr; align-items: center; padding: 2rem; } }

.gallery__featured figure { margin: 0; max-width: 420px; margin-inline: auto; }
.gallery__featured img { border: 1px solid var(--border); cursor: zoom-in; }
.gallery__featured figcaption { font-size: 0.74rem; color: var(--text-dim); margin-top: 0.6rem; text-align: center; }

.gallery__featured-text h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
.gallery__featured-text p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.2rem; }
.gallery__featured-text .btn { margin-top: 1.4rem; }

.checklist { list-style: none; display: grid; gap: 0.55rem; font-size: 0.88rem; color: #e5e7eb; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.gallery__subtitle { text-align: center; font-size: 1.2rem; letter-spacing: 0.08em; margin-bottom: 1.6rem; }

.gallery__scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(68vw, 260px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-color: var(--gold-dark) var(--surface);
}
.gallery__item { scroll-snap-align: start; margin: 0; }
.gallery__item img { border: 1px solid var(--border); transition: border-color 0.3s; cursor: zoom-in; }
.gallery__item img:hover { border-color: rgba(212, 175, 55, 0.5); }
.gallery__item figcaption { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.5rem; }
.gallery__hint { text-align: center; font-size: 0.75rem; color: var(--text-dim); font-style: italic; margin-top: 0.8rem; }

/* Visor de imágenes (lightbox) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 700px); max-height: 88vh; width: auto; height: auto; border: 1px solid rgba(212, 175, 55, 0.4); }
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: #000;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 50%;
}

/* ---------- Opiniones ---------- */
.testimonials__slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  max-width: 860px;
  margin-inline: auto;
}
.testimonials__slider::-webkit-scrollbar { display: none; }

.testimonial {
  scroll-snap-align: center;
  background: #000;
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
  margin-inline: 0.25rem;
}
@media (min-width: 768px) { .testimonial { padding: 3rem; } }
.testimonial::before {
  content: "“";
  position: absolute;
  top: -1.5rem;
  left: 0.5rem;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.08);
  pointer-events: none;
}
.testimonial__stars { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 1rem; }
.testimonial__text { font-style: italic; color: #e5e7eb; font-size: 0.98rem; margin-bottom: 1.4rem; }
.testimonial__name { font-family: var(--font-display); font-style: normal; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.86rem; display: block; }
.testimonial__role { font-size: 0.74rem; color: var(--text-dim); }

.testimonials__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.8rem; }
.testimonials__btn {
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.testimonials__btn:hover { border-color: var(--gold); color: var(--gold); }
.testimonials__dots { display: flex; gap: 0.5rem; }
.testimonials__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.testimonials__dots button[aria-selected="true"] { background: var(--gold); }

/* ---------- Área de servicio ---------- */
.area__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .area__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.area__text { color: #d1d5db; }
.area__text .checklist { margin-block: 1.4rem; }
.area__note { background: var(--surface-2); border: 1px solid var(--border); padding: 1rem; font-size: 0.82rem; color: var(--text-muted); }
.area__note a { color: var(--gold); text-decoration: underline; }

.area__map { position: relative; min-height: 340px; border: 1px solid rgba(212, 175, 55, 0.2); overflow: hidden; }
.area__map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(0.25); }
.area__map-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
}
.area__map-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(212, 175, 55, 0.1);
  margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}
.area__map-pin svg { width: 1.8rem; height: 1.8rem; stroke: var(--gold); fill: none; stroke-width: 1.8; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: 0.8; } }
.area__map-overlay h3 { letter-spacing: 0.12em; font-size: 1.05rem; }
.area__map-overlay p { font-size: 0.78rem; color: #d1d5db; max-width: 24rem; margin-top: 0.6rem; }

/* ---------- FAQ ---------- */
.faq__item { background: #000; border: 1px solid var(--border); margin-bottom: 1rem; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "?"; color: var(--gold); font-family: var(--font-display); font-size: 1.2rem; }
.faq__item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary h3 { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; display: inline; }
.faq__item summary:hover h3 { color: var(--gold-light); }
.faq__item > p { padding: 0 1.5rem 1.5rem 3.3rem; font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Contacto ---------- */
.contact__panel {
  display: grid;
  gap: 3rem;
  background: var(--bg-alt);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-gold);
  max-width: 1080px;
  margin-inline: auto;
}
@media (min-width: 900px) { .contact__panel { grid-template-columns: 5fr 7fr; padding: 3rem; } }

.contact__lead { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.contact__channels { list-style: none; display: grid; gap: 1.3rem; margin-bottom: 2rem; }
.contact__channels a, .contact__channel-static { display: flex; align-items: center; gap: 1rem; }
.contact__channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #000;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.contact__channels a:hover .contact__channel-icon { border-color: var(--gold); }
.contact__channel-icon svg { width: 1.1rem; height: 1.1rem; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.contact__channels small { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.contact__channels strong { font-size: 0.9rem; }
.contact__channels a:hover strong { color: var(--gold); }

.contact__fast { background: #000; border: 1px solid var(--border); padding: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.contact__fast strong { color: var(--text); }

/* Formulario */
.contact__form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

.form-field input,
.form-field select,
.form-field textarea {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); outline: none; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #dc2626; }
.form-field textarea { resize: vertical; min-height: 110px; }

.form-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.78rem; color: var(--text-muted); }
.form-check input { accent-color: var(--gold); margin-top: 0.2rem; width: 1rem; height: 1rem; flex-shrink: 0; }

.form-error { color: #f87171; font-size: 0.82rem; }
.form-note { font-size: 0.72rem; color: var(--text-dim); text-align: center; }

/* ---------- Pie de página ---------- */
.footer { background: #050505; border-top: 1px solid var(--border); padding: 4rem 0 2rem; color: var(--text-muted); font-size: 0.85rem; }
.footer__grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 4fr 2.5fr 3fr 2.5fr; } }

.footer__brand p { font-size: 0.8rem; max-width: 22rem; margin-top: 1.2rem; }
.footer__slogan { color: var(--gold); font-size: 0.75rem !important; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h3 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); margin-bottom: 0.5rem; }
.footer__col a { font-size: 0.8rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold); }
.footer__col p { font-size: 0.8rem; }

.footer__bottom {
  border-top: 1px solid #111;
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
