:root {
  --bg-deep: oklch(0.16 0.013 260);
  --bg-dark: oklch(0.2 0.016 260);
  --surface-dark: oklch(0.26 0.02 260);
  --paper: oklch(0.97 0.006 250);
  --tint: oklch(0.935 0.008 250);
  --ink: oklch(0.26 0.02 260);
  --muted: oklch(0.42 0.02 260);
  --line: oklch(0.85 0.008 250);
  --gold: oklch(0.8 0.125 85);
  --gold-deep: oklch(0.58 0.11 80);
  --steel: oklch(0.66 0.02 250);
  --wa: #25d366;
  --wa-ink: #07230f;
  --eco: oklch(0.72 0.15 150);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;

  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.25, 1, 0.5, 1);

  --z-header: 100;
  --z-nav: 110;
  --z-fab: 120;
  --z-lightbox: 200;

  --container: 1180px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 7.5rem);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--gold); color: var(--bg-deep); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.section-dark :focus-visible,
.site-header :focus-visible,
.wa-fab:focus-visible,
.lightbox :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  z-index: 999;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container-narrow { max-width: 880px; }

.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  text-wrap: balance;
  margin-bottom: 1.2rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 62ch;
}

.section { padding-block: var(--section-y); }

.section-dark {
  background: var(--bg-dark);
  color: var(--paper);
}
.section-dark .lead { color: var(--steel); }

.section-tint { background: var(--tint); }

.section p { max-width: 70ch; }
.section .lead { margin-bottom: 1rem; }

/* Encabezado de sección centrado, para bajadas largas sobre un grid simétrico */
.head-center { text-align: center; }
.lead.head-center {
  max-width: 66ch;
  margin-inline: auto;
  text-wrap: pretty;
}
@media (max-width: 620px) {
  /* Solo las bajadas largas: centradas superan las 10 líneas y cuesta leerlas.
     Las bajadas de 2 o 3 líneas quedan mejor centradas. */
  .lead.head-center.lead-long { text-align: left; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease-enter), background-color 0.18s var(--ease-enter),
    color 0.18s var(--ease-enter), border-color 0.18s var(--ease-enter), box-shadow 0.18s var(--ease-enter);
}
.btn[hidden] { display: none; }
.btn i { font-size: 1.15em; }
.btn-sm { padding: 0.7rem 1.25rem; font-size: 0.92rem; }

.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-gold { background: var(--gold); color: var(--bg-deep); }
.btn-ghost { border-color: oklch(1 0 0 / 0.4); color: var(--paper); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px oklch(0.1 0.02 260 / 0.25); }
  .btn-wa:hover { background: oklch(0.76 0.17 150); }
  .btn-gold:hover { background: oklch(0.85 0.125 85); }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
}
.btn:active { transform: scale(0.97); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--z-header);
  padding-block: 0.9rem;
  transition: background-color 0.3s var(--ease-move), box-shadow 0.3s var(--ease-move);
}
.site-header.scrolled {
  background: oklch(0.16 0.013 260 / 0.97);
  box-shadow: 0 8px 30px oklch(0 0 0 / 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s var(--ease-enter);
}

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding-block: 0.4rem;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 0% 2px;
  transition: background-size 0.25s var(--ease-enter), color 0.2s var(--ease-enter);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--gold); background-size: 100% 2px; }
}

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    background: var(--bg-deep);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-move);
    z-index: var(--z-nav);
    display: flex;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    margin-left: 0;
    box-shadow: -20px 0 60px oklch(0 0 0 / 0.5);
  }
  body.nav-open .site-nav { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 1.1rem; }
  .site-nav a { font-size: 1.15rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
  color: var(--paper);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 3.2s var(--ease-move) both;
  transform-origin: 60% 40%;
}
@keyframes kenburns {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, oklch(0.14 0.013 260 / 0.94) 8%, oklch(0.14 0.013 260 / 0.62) 52%, oklch(0.14 0.013 260 / 0.25)),
    linear-gradient(to top, oklch(0.14 0.013 260 / 0.9), transparent 40%);
}

.hero-content { position: relative; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.hero-kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  text-wrap: balance;
  margin-bottom: 1.4rem;
}
.hero-title .line { display: block; }
.hero-title .line-gold { color: var(--gold); }

.hero-sub {
  max-width: 46ch;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: oklch(0.88 0.01 250);
  margin-bottom: 2.2rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

[data-hero] { animation: rise 0.9s var(--ease-enter) both; }
[data-hero="1"] { animation-delay: 0.15s; }
[data-hero="2"] { animation-delay: 0.28s; }
[data-hero="3"] { animation-delay: 0.4s; }
[data-hero="4"] { animation-delay: 0.55s; }
[data-hero="5"] { animation-delay: 0.7s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  translate: -50% 0;
  color: var(--gold);
  font-size: 1.4rem;
  text-decoration: none;
  animation: bob 2.2s var(--ease-move) infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Nosotros ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.split-text p { margin-bottom: 1rem; }

.checks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.6rem;
  margin-top: 1.8rem;
}
.checks li {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  font-weight: 700;
}
.checks i { color: var(--gold-deep); font-size: 1.05rem; }

.split-photo { position: relative; }
.split-photo img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 24px 60px oklch(0.2 0.02 260 / 0.25);
  position: relative;
  z-index: 1;
}
.split-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  translate: 18px 18px;
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  z-index: 0;
}

.mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-deep);
  color: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.mvv-item { padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.mvv-item + .mvv-item { border-inline-start: 1px solid var(--surface-dark); }
.mvv-icon { width: 52px; height: 52px; margin-bottom: 1.1rem; }
.mvv h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.mvv p { font-size: 0.97rem; color: var(--steel); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-photo { max-width: 560px; }
  .mvv { grid-template-columns: 1fr; }
  .mvv-item + .mvv-item { border-inline-start: 0; border-top: 1px solid var(--surface-dark); }
  .checks { grid-template-columns: 1fr; }
}

/* ---------- Proceso ---------- */

.steps {
  list-style: none;
  max-width: 640px;
  margin-top: 2.5rem;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding-bottom: 2.4rem;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 3.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(var(--gold), oklch(1 0 0 / 0.06));
}
.step-num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.3;
  width: 3.1rem;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}
.steps h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.steps p { color: var(--steel); max-width: 52ch; }

/* ---------- Steel Frame ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.6rem 3rem;
  margin-top: 2.8rem;
}
.feature { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.feature i { font-size: 1.7rem; color: var(--gold-deep); margin-bottom: 0.9rem; }
.feature h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.feature p { color: var(--muted); font-size: 0.99rem; }

.section-cta { margin-top: 3.2rem; }

/* ---------- Beneficios ---------- */

.ben-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  margin-top: 2.6rem;
  align-items: start;
}

.ben-list { list-style: none; display: grid; gap: 1.7rem; }
.ben-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}
.ben-list i {
  font-size: 1.45rem;
  color: var(--gold-deep);
  margin-top: 0.25rem;
  width: 2rem;
  text-align: center;
}
.ben-list h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.15rem;
}
.ben-list p { color: var(--muted); font-size: 0.98rem; }

.apps {
  background: var(--bg-deep);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  position: sticky;
  top: 6.5rem;
}
.apps h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.apps ul { list-style: none; display: grid; gap: 0.75rem; }
.apps li { display: flex; gap: 0.8rem; align-items: center; font-weight: 700; }
.apps i { color: var(--gold); width: 1.4rem; text-align: center; }

@media (max-width: 900px) {
  .ben-split { grid-template-columns: 1fr; }
  .apps { position: static; }
}

/* ---------- Carrusel ---------- */

.carousel { margin-top: 2.6rem; }

.carousel-viewport { overflow: hidden; border-radius: var(--radius); }

.carousel-track {
  display: flex;
  transition: transform 0.45s var(--ease-move);
}

.slide { flex: 0 0 100%; position: relative; }
.slide-media {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.slide-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s var(--ease-enter);
}
@media (hover: hover) and (pointer: fine) {
  .slide-media:hover img { transform: scale(1.03); }
}

.slide-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.4rem 1.6rem 1.2rem;
  background: linear-gradient(transparent, oklch(0.12 0.012 260 / 0.92));
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.2rem;
  text-align: left;
  pointer-events: none;
}
.slide-caption h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.3rem;
}
.slide-caption p { color: var(--gold); font-weight: 700; font-size: 0.92rem; }
.slide-caption i { margin-right: 0.35rem; }

.carousel-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-enter), color 0.2s var(--ease-enter),
    border-color 0.2s var(--ease-enter), transform 0.18s var(--ease-enter);
}
@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--paper); transform: translateY(-2px); }
}

.carousel-dots { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-enter), transform 0.2s var(--ease-enter);
}
.carousel-dots button[aria-current="true"] {
  background: var(--gold-deep);
  transform: scale(1.35);
}

/* ---------- Productos ---------- */

.section-photo { position: relative; isolation: isolate; }
.section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero.jpg") center / cover no-repeat;
  opacity: 0.14;
  z-index: -1;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem 3rem;
  margin-top: 2.8rem;
}
.product { border-top: 1px solid var(--gold); padding-top: 1.6rem; }
.product-icon { width: 64px; height: 64px; margin-bottom: 1.1rem; }
.product h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.product p { color: var(--steel); margin-bottom: 1.3rem; font-size: 0.99rem; }

/* ---------- Equipo ---------- */

.todo-tag { color: var(--gold-deep); font-weight: 800; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.6rem;
}

/* Tarjeta clicleable: foto a sangre con el nombre sobre un degradado.
   Las fotos originales tienen fondos muy distintos (estudio blanco, oficina,
   fondo negro): el grayscale + el degradado las unifican visualmente. */
.member-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--paper);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s var(--ease-enter), box-shadow 0.35s var(--ease-enter);
}
.member-photo {
  display: block;
  aspect-ratio: 4 / 5;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: transform 0.5s var(--ease-move);
}
.member-card::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(to top,
    oklch(0.14 0.012 260 / 0.95) 14%,
    oklch(0.14 0.012 260 / 0.62) 46%,
    transparent);
  pointer-events: none;
}
.member-info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  padding: 1.4rem;
}
.member-name {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.24rem;
  line-height: 1.2;
}
.member-role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
}
.member-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.72;
  transition: color 0.25s var(--ease-enter), opacity 0.25s var(--ease-enter);
}
.member-more i { font-size: 0.78em; }

@media (hover: hover) and (pointer: fine) {
  .member-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px oklch(0.1 0.02 260 / 0.28); }
  .member-card:hover .member-photo img { transform: scale(1.04); }
  .member-card:hover .member-more { color: var(--gold); opacity: 1; }
}
.member-card:active { transform: scale(0.985); }

/* Sin JS la biografía queda visible debajo de la tarjeta */
.member-bio { margin-top: 1rem; display: grid; gap: 0.8rem; color: var(--muted); font-size: 0.97rem; }
body.js .member-bio { display: none; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Modal de biografía.
   Doble clase: .lightbox-panel se define más abajo y, a igual especificidad,
   ganaría por orden de aparición. */
.lightbox-panel.team-panel { width: min(680px, 100%); }
.team-modal-head {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.9rem 4.2rem 0 1.8rem;
}
.team-panel .team-modal-head img {
  width: 92px;
  height: 92px;
  flex: none;
  max-height: none;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  border: 2px solid oklch(1 0 0 / 0.16);
}
.team-modal-id { min-width: 0; }
.team-modal-id h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.15;
}
.team-modal-role { color: var(--gold); font-weight: 700; font-size: 0.98rem; margin-top: 0.2rem; }
.team-modal-body {
  display: grid;
  gap: 0.95rem;
  padding: 1.4rem 1.8rem 1.9rem;
}
.team-modal-body p { color: var(--steel); font-size: 1rem; }

@media (max-width: 560px) {
  /* Apilado: si el nombre queda al lado de la foto, el botón de cerrar lo pisa */
  .team-modal-head { display: block; padding: 1.6rem 1.4rem 0; }
  .team-panel .team-modal-head img { width: 76px; height: 76px; margin-bottom: 0.85rem; }
  .team-modal-id h3 { font-size: 1.28rem; }
  .team-modal-body { padding: 1.1rem 1.4rem 1.6rem; }
}

/* ---------- FAQ ---------- */

.faq { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: 0;
  padding: 1.35rem 0.2rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  text-align: left;
}
.faq-q i {
  color: var(--gold-deep);
  transition: transform 0.3s var(--ease-enter);
}
.faq-item.open .faq-q i { transform: rotate(45deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-move);
}
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding: 0 0.2rem 1.4rem;
  color: var(--muted);
  max-width: 68ch;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contacto ---------- */

.contact-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: 0.4rem; }
.contact-list a,
.contact-static {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s var(--ease-enter), color 0.2s var(--ease-enter);
}
.contact-list i {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-dark);
  color: var(--gold);
  font-size: 1.2rem;
}
@media (hover: hover) and (pointer: fine) {
  .contact-list a:hover { transform: translateX(6px); color: var(--gold); }
}

.contact-form {
  background: oklch(0.23 0.018 260);
  border: 1px solid oklch(1 0 0 / 0.07);
  border-radius: 16px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}
.form-note { color: var(--steel); font-size: 0.92rem; margin-bottom: 1.4rem; }
.contact-form label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0.9rem 0 0.35rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease-enter);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form .btn { margin-top: 1.4rem; width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  color: var(--steel);
  padding: 2.6rem 0;
  border-top: 1px solid oklch(1 0 0 / 0.06);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  font-size: 0.92rem;
}
.footer-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.footer-credit { margin-left: auto; }
.footer-credit a { color: var(--gold); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .footer-credit a:hover { text-decoration: underline; }
}

/* ---------- FAB WhatsApp ---------- */

.wa-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: var(--z-fab);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--wa-ink);
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  text-decoration: none;
  box-shadow: 0 12px 30px oklch(0.2 0.1 150 / 0.4);
  transition: transform 0.2s var(--ease-enter);
}
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: pulse 2.4s var(--ease-move) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .wa-fab:hover { transform: translateY(-3px) scale(1.05); }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.1 0.01 260 / 0.85);
}

.lightbox-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: 92vh;
  max-height: 92svh;
  overflow: auto;
  background: var(--bg-deep);
  color: var(--paper);
  border-radius: 16px;
  animation: lb-in 0.32s var(--ease-enter) both;
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to { opacity: 1; transform: none; }
}

.lightbox-panel img { width: 100%; max-height: 52svh; object-fit: cover; }

.lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: oklch(0.12 0.012 260 / 0.8);
  color: var(--paper);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-enter), color 0.2s var(--ease-enter);
}
@media (hover: hover) and (pointer: fine) {
  .lightbox-close:hover { background: var(--gold); color: var(--bg-deep); }
}

.lightbox-body { padding: 1.6rem 1.8rem 1.8rem; }
.lightbox-body h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.7rem;
}
.lightbox-loc { color: var(--gold); font-weight: 700; margin: 0.3rem 0 0.8rem; }
.lightbox-loc i { margin-right: 0.4rem; }
.lightbox-body > p { color: var(--steel); }
.lightbox-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.4rem; }

.lightbox-nav {
  position: absolute;
  top: 40%;
  inset-inline: 0.8rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.lightbox-nav .carousel-btn {
  pointer-events: auto;
  background: oklch(0.12 0.012 260 / 0.75);
  border-color: transparent;
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .lightbox-nav .carousel-btn:hover { background: var(--gold); color: var(--bg-deep); }
}

/* ---------- Reveals ---------- */

body.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-enter), transform 0.7s var(--ease-enter);
  transition-delay: var(--d, 0ms);
}
body.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-hero], .hero-media img, .hero-scroll { animation: none !important; }
  body.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .wa-fab::after { display: none; }
}
