/* ============================================
   DeROSE Method Palermo — Sitio 2026
   Diseño: Ancestral Moderno
   ============================================ */

/* ---------- RESET & VARIABLES ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:     #111009;
  --bg2:    #1a1812;
  --bg3:    #221f16;
  --gold:   #c9a84c;
  --gold2:  #e8c97a;
  --cream:  #f0e8d5;
  --muted:  #a89880;
  --border: rgba(201,168,76,0.28);
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ---------- BOTONES ---------- */
.btn-gold {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  padding: 0.8rem 1.8rem;
  font-weight: 500;
  font-family: var(--sans);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-gold:hover { background: var(--gold2); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--cream); }

.btn-ghost-inv {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 0.5px solid var(--gold);
  padding: 0.6rem 1.4rem;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost-inv:hover { background: var(--gold); color: var(--bg); }

/* ---------- LABELS / TÍTULOS ---------- */
.sec-label {
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sec-label::before {
  content: '';
  width: 18px;
  height: 0.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.sec-h {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 3rem;
}
.sec-h em { font-style: italic; color: var(--gold); }

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
  background: rgba(17,16,9,0.97);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-ig { display: flex; align-items: center; }

.nav-cta {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.1rem;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 580px;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1s ease;
  filter: brightness(0.42) saturate(0.65);
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,16,9,0.88) 40%, rgba(17,16,9,0.15) 100%);
  z-index: 1;
}
.hero-deco {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  z-index: 2;
}
.hero-deco svg { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}
.hero-eye {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-eye::before {
  content: '';
  width: 24px;
  height: 0.5px;
  background: var(--gold);
}
.hero-h1 {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 300;
  line-height: 1.08;
  color: var(--cream);
}
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin: 1.2rem 0 2rem;
  max-width: 360px;
}
.hero-actions { display: flex; align-items: center; gap: 1.8rem; }

.hero-stats {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  z-index: 3;
  display: flex;
  gap: 2.5rem;
}
.hstat { text-align: right; }
.hstat-n {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.hstat-l {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0.5px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.hdot.active { background: var(--gold); }

/* ---------- BAND ---------- */
.band {
  display: flex;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.band-item {
  flex: 1;
  padding: 1.2rem;
  text-align: center;
  border-right: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s;
}
.band-item:last-child { border-right: none; }
.band-item:hover { background: var(--bg2); }
.band-icon { font-size: 0.9rem; color: var(--gold); }
.band-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- INTRO ---------- */
.intro {
  padding: 3.5rem 4rem;
  background: var(--bg2);
  border-bottom: 0.5px solid var(--border);
}
.intro-text {
  font-family: var(--serif);
  font-size: 1.26rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  max-width: 760px;
  margin: 0 auto;
  text-align: justify;
  font-style: italic;
}

/* ---------- HOW ---------- */
.how { padding: 5rem 4rem; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.how-card {
  background: var(--bg);
  padding: 2rem 1.6rem;
  transition: background 0.25s;
}
.how-card:hover { background: var(--bg3); }
.how-num {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--how-num-color, rgba(201,168,76,0.12));
  line-height: 1;
  margin-bottom: 0.8rem;
}
.how-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.how-desc { font-size: 0.94rem; color: var(--muted); line-height: 1.85; text-align: justify; }
.how-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 0.5px solid rgba(201,168,76,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.how-link:hover { border-color: var(--gold); }

/* ---------- TAMBIÉN (SPLIT) ---------- */
.tambien { padding: 0 0 0; }
.tambien > .sec-label,
.tambien > .sec-h {
  padding: 5rem 4rem 0;
}
.tambien > .sec-h { padding-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}
.split--rev { }
.split-img {
  position: relative;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.7);
  transition: transform 0.5s, filter 0.4s;
}
.split:hover .split-img img {
  transform: scale(1.03);
  filter: brightness(0.62) saturate(0.8);
}
.split-img-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,16,9,0.5) 0%, transparent 60%);
}
.split-body {
  background: var(--bg2);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 0.5px solid var(--border);
}
.split-body--right {
  border-left: none;
  border-right: 0.5px solid var(--border);
}
.split-tag {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.split-tag::before {
  content: '';
  width: 14px;
  height: 0.5px;
  background: var(--gold);
}
.split-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.split-title em { font-style: italic; color: var(--gold); }
.split-desc {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* ---------- QUOTE ---------- */
.quote-sec {
  padding: 4.5rem 2.5rem;
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.q-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.22;
  line-height: 0.6;
  display: block;
  margin-bottom: 1.2rem;
}
.q-text {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 1.2rem;
}
.q-attr {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- ALL OVER ---------- */
.allover {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.allover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.45);
}
.allover-ov {
  position: absolute;
  inset: 0;
  background: rgba(17,16,9,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}
.ao-eye {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.ao-title {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--cream);
  font-style: italic;
  text-align: center;
}
.ao-cities {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-align: center;
}
.ao-cities span { color: rgba(201,168,76,0.75); }

/* ---------- CONTACTO ---------- */
.contact-sec {
  padding: 5rem 4rem;
  background: var(--bg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.cform {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.cform input,
.cform select,
.cform textarea {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 300;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  border-color: rgba(201,168,76,0.5);
}
.cform input::placeholder,
.cform textarea::placeholder { color: var(--muted); }
.cform select { appearance: none; cursor: pointer; }
.cform select option { background: var(--bg2); }
.cform textarea { resize: vertical; }

.cform-check-group { }
.f-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}
.cform-checks {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cform-checks label {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.cform-checks input[type="checkbox"] {
  width: auto;
  accent-color: var(--gold);
}
.g-recaptcha { transform: scale(0.85); transform-origin: left; }

.c-addr {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.8rem;
  line-height: 2;
}
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 0.5px solid var(--gold);
  padding: 0.65rem 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.wa-link:hover { background: var(--gold); color: var(--bg); }
.c-map { margin-top: 2rem; }
.c-map iframe { display: block; filter: grayscale(0.6) brightness(0.7); }

/* ---------- FOOTER ---------- */
.footer {
  padding: 1.8rem 2.5rem;
  border-top: 0.5px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.foot-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-logo-img img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}
.foot-logo-img:hover img { opacity: 0.8; }
.foot-addr {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(138,128,112,0.5);
}
.foot-copy {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(138,128,112,0.4);
}

/* ---------- WA FLOTANTE ---------- */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- MODAL ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  width: 540px;
  max-width: 92vw;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-backdrop.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(17,16,9,0.75);
  border: 0.5px solid var(--border);
  color: var(--muted);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
  font-family: var(--sans);
}
.modal-close:hover { color: var(--cream); border-color: var(--gold); }
.modal-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.5) saturate(0.65);
}
.modal-img-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 25%, var(--bg2) 100%);
}
.modal-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modal-badge::before {
  content: '';
  width: 14px;
  height: 0.5px;
  background: var(--gold);
}
.modal-body { padding: 1.4rem 2rem 2rem; }
.modal-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.modal-title em { font-style: italic; color: var(--gold); }
.modal-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--sans);
  transition: background 0.2s;
}
.modal-wa:hover { background: var(--gold2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split-body--right { order: 2; border-right: none; border-left: 0.5px solid var(--border); }
  .split--rev .split-img { order: 1; min-height: 220px; }
  .split-img { min-height: 220px; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .cform-row { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.4rem; }
  .hero-stats { display: none; }
}

@media (max-width: 640px) {
  .nav { padding: 1rem 1.2rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(17,16,9,0.98);
    padding: 1.2rem;
    gap: 1rem;
    border-bottom: 0.5px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .how,
  .tambien > .sec-label,
  .tambien > .sec-h { padding-left: 1.4rem; padding-right: 1.4rem; }
  .intro { padding: 3rem 1.4rem; }
  .contact-sec { padding: 3rem 1.4rem; }
  .hero-content { padding: 0 1.4rem; }
  .band { flex-wrap: wrap; }
  .band-item { min-width: 50%; border-bottom: 0.5px solid var(--border); }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .ao-title { font-size: 1.8rem; }
  .sec-h { font-size: 1.8rem; }
  .split-body { padding: 2rem 1.4rem; }
}

/* ============================================
   PÁGINAS INTERNAS — estilos compartidos
   ============================================ */

.page-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.35) saturate(0.6);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,16,9,0.95) 0%, transparent 60%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2.5rem 2.5rem;
}
.page-eye {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}
.page-eye::before {
  content: '';
  width: 18px;
  height: 0.5px;
  background: var(--gold);
}
.page-title {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}
.page-title em { font-style: italic; color: var(--gold); }

/* ── NOSOTROS ── */
.nos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 4rem;
  align-items: start;
}
.nos-video-col {
  position: sticky;
  top: 7rem;
}
.nos-text-col p {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 1.3rem;
  text-align: justify;
}
.video-container {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-caption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-style: italic;
}
.nosotros-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 0 4rem 5rem;
}
.nstat {
  background: var(--bg2);
  padding: 2rem 1.5rem;
  text-align: center;
}
.nstat-n {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.nstat-l {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.profes-section { padding: 0 2.5rem 5rem; }
.profes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}
.profe-card {
  background: var(--bg);
  overflow: hidden;
  transition: background 0.25s;
}
.profe-card:hover { background: var(--bg3); }
.profe-img { height: 260px; overflow: hidden; }
.profe-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) brightness(0.85);
  transition: transform 0.4s, filter 0.4s;
}
.profe-card:hover .profe-img img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(0.9);
}
.profe-info { padding: 1.4rem 1.4rem 1.6rem; }
.profe-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.profe-role {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 860px) {
  .nos-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.4rem; }
  .nos-video-col { position: static; }
  .nosotros-stats { grid-template-columns: 1fr 1fr; margin: 0 1.4rem 3rem; }
  .profes-grid { grid-template-columns: 1fr 1fr; }
  .profes-section { padding: 0 1.4rem 3rem; }
  .page-title { font-size: 2rem; }
  .page-hero-content { padding: 0 1.4rem 2rem; }
}
@media (max-width: 540px) {
  .nosotros-stats { grid-template-columns: 1fr; }
  .profes-grid { grid-template-columns: 1fr; }
}

/* ============================================
   HORARIOS
   ============================================ */
.hor-section {
  padding: 5rem 4rem;
}
.hor-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 2.5rem;
}
.hor-col {
  background: var(--bg);
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hor-dia {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.5px solid var(--border);
}
.hor-clase {
  font-size: 0.72rem;
  line-height: 1.4;
  padding: 0.5rem 0.7rem;
  border-left: 2px solid transparent;
}
.hor-entre {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  color: var(--cream);
}
.hor-med {
  border-color: #7a9e9f;
  background: rgba(122,158,159,0.08);
  color: #a8c5c6;
}
.hor-refs {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ref-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.ref-dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
  flex-shrink: 0;
}
.ref-dot--entre { background: var(--gold); }
.ref-dot--med   { background: #7a9e9f; }

.hor-nota {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.hor-nota p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.75;
  text-align: justify;
}
.hor-nota strong { color: var(--cream); font-weight: 400; }

/* Descripción de clases */
.hor-desc-section {
  padding: 0 4rem 5rem;
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
}
.hor-desc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  padding-top: 1px;
}
.hor-desc-card {
  background: var(--bg2);
  padding: 3rem 2rem;
}
.hor-desc-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hor-desc-title em { font-style: italic; color: var(--gold); }
.hor-desc-card p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 0.9rem;
  text-align: justify;
}
.hor-desc-card strong { color: var(--cream); font-weight: 400; }
.hor-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.hor-lista li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
}
.hor-lista li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 3px;
}

/* Responsive horarios */
@media (max-width: 1000px) {
  .hor-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .hor-section { padding: 3rem 1.4rem; }
  .hor-desc-section { padding: 0 1.4rem 3rem; }
  .hor-grid { grid-template-columns: repeat(2, 1fr); }
  .hor-desc-grid { grid-template-columns: 1fr; }
  .hor-nota { padding: 1.2rem; }
}
@media (max-width: 480px) {
  .hor-grid { grid-template-columns: 1fr; }
}

/* ── TABLA HORARIOS NUEVA ── */
.hor-tabla {
  margin-bottom: 2rem;
}
.ht-head,
.ht-row {
  display: grid;
  grid-template-columns: 44px repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.ht-dia {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.6rem 0.8rem;
  text-align: center;
}
.ht-hora-col { /* vacío */ }
.ht-hora {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ht-card {
  padding: 0.7rem 0.8rem;
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: center;
  border-left: 2px solid transparent;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ht-entre {
  background: rgba(201,168,76,0.09);
  border-left-color: var(--gold);
  color: var(--cream);
}
.ht-med {
  background: rgba(122,158,159,0.1);
  border-left-color: #7a9e9f;
  color: #a8c5c6;
}
.ht-empty {
  background: rgba(255,255,255,0.02);
  min-height: 60px;
}

/* ── MOBILE HORARIOS — vista por día ── */
@media (max-width: 700px) {
  .ht-head { display: none; }
  .ht-row  { display: none; }

  .ht-mobile { display: flex; flex-direction: column; gap: 1.2rem; }

  .ht-m-dia {
    border: 0.5px solid var(--border);
    overflow: hidden;
  }
  .ht-m-dia-name {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.85rem 1rem;
    border-bottom: 0.5px solid var(--border);
    background: rgba(201,168,76,0.04);
  }
  .ht-m-clase {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 0.5px solid var(--border);
  }
  .ht-m-clase:last-child { border-bottom: none; }
  .ht-m-hora {
    font-size: 0.88rem;
    color: var(--muted);
    padding: 0.85rem 1rem;
    min-width: 52px;
    border-right: 0.5px solid var(--border);
    flex-shrink: 0;
  }
  .ht-m-nombre {
    font-size: 0.97rem;
    padding: 0.85rem 1rem;
    flex: 1;
  }
  .ht-m-entre { 
    border-left: 3px solid var(--gold);
    color: var(--cream);
    background: rgba(201,168,76,0.06);
  }
  .ht-m-med {
    border-left: 3px solid #7a9e9f;
    color: #a8c5c6;
    background: rgba(122,158,159,0.07);
  }
}
@media (min-width: 701px) {
  .ht-mobile { display: none; }
}

/* ============================================
   LIGHT MODE
   ============================================ */
html.light {
  --bg:     #f2efe7;
  --bg2:    #e8e4d8;
  --bg3:    #ddd9cc;
  --cream:  #0f0d09;
  --muted:  #3d3328;
  --border: rgba(80,60,20,0.25);
  --how-num-color: #8a6510;
}
html.light .how-num { color: #8a6510 !important; font-weight: 600 !important; }
html.light .how-link, html.light a.how-link { color: #6b4f10 !important; font-weight: 600 !important; border-bottom-color: #6b4f10 !important; }
html.light .hero-slide { filter: brightness(0.55) saturate(0.7); }
html.light .allover-img { filter: brightness(0.45) saturate(0.5); }
html.light .page-hero-img { filter: brightness(0.45) saturate(0.6); }
html.light .split-img img { filter: brightness(0.65) saturate(0.75); }
html.light .nav { background: rgba(242,239,231,0.97); }
html.light .nav-links a { color: var(--muted); }
html.light .nav-logo img { filter: brightness(0); }
html.light .foot-logo-img img { filter: brightness(0); opacity: 0.6; }
html.light .c-map iframe { filter: grayscale(0.3) brightness(0.95); }

/* Textos sobre hero: siempre claros (foto siempre oscura) */
html.light .hero-h1 { color: #f0e8d5 !important; }
html.light .hero-h1 em { color: var(--gold) !important; }
html.light .hero-sub { color: rgba(240,232,213,0.75) !important; }
html.light .page-eye { color: var(--gold) !important; }
html.light .hstat-n { color: var(--gold) !important; }
html.light .hstat-l { color: rgba(240,232,213,0.7) !important; }

/* Textos: contraste en light mode */
html.light .hor-entre {
  background: rgba(160,120,20,0.1) !important;
  border-color: #8a6a10 !important;
  color: #2a1f08 !important;
}
html.light .hor-med {
  background: rgba(40,100,105,0.1) !important;
  border-color: #2a6a6e !important;
  color: #1a4a4d !important;
}
html.light .ht-entre {
  background: rgba(160,120,20,0.1) !important;
  border-left-color: #8a6a10 !important;
  color: #2a1f08 !important;
}
html.light .ht-med {
  background: rgba(40,100,105,0.1) !important;
  border-left-color: #2a6a6e !important;
  color: #1a4a4d !important;
}
html.light .ht-m-entre {
  background: rgba(160,120,20,0.08) !important;
  border-left-color: #8a6a10 !important;
  color: #2a1f08 !important;
}
html.light .ht-m-med {
  background: rgba(40,100,105,0.1) !important;
  border-left-color: #2a6a6e !important;
  color: #1a4a4d !important;
}
html.light .ht-m-med .ht-m-nombre { color: #1a4a4d !important; }
html.light .ht-m-med .ht-m-hora { opacity: 1 !important; color: #2a6a6e !important; }
html.light .ref-dot--med { background: #2a6a6e !important; }
html.light .ref-dot--entre { background: #8a6a10 !important; }
/* Textos de sección con mayor peso en light */
html.light .sec-h,
html.light .page-title,
html.light .how-title,
html.light .split-title,
html.light .hor-desc-title,
html.light .nos-text-col p,
html.light .how-desc,
html.light .mem-items li,
html.light .hor-nota p { color: var(--cream); }
html.light .sec-label,
html.light .page-eye,
html.light .split-tag { color: var(--gold); }
html.light .intro-text { color: var(--muted); }

/* Botón toggle */
.nav-theme-btn {
  background: none;
  border: 0.5px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.nav-theme-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── CONTACTO EXTRA ── */
.contact-redes { margin-top: 0.8rem; display: flex; flex-direction: column; gap: 0.6rem; }
.red-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.red-link:hover { color: var(--gold); }

/* ══ HORARIOS / INFO ALUMNOS ══════════════════════════════════════════ */

    /* ── Tabla horarios ── */
    .info-wrap { padding: 4rem; }
    .info-sec-label { font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:.6rem; display:flex; align-items:center; gap:.8rem; }
    .info-sec-label::before { content:\'\'; width:20px; height:.5px; background:var(--gold); }
    .info-h { font-family:var(--serif); font-size:2rem; font-weight:300; color:var(--cream); margin-bottom:2.5rem; }
    .info-h em { font-style:italic; color:var(--gold); }

    .hor-table { width:100%; border-collapse:collapse; margin-bottom:4rem; }
    .hor-table th {
      font-size:.65rem; letter-spacing:.18em; text-transform:uppercase;
      color:var(--muted); font-weight:400; padding:.8rem 1rem;
      border-bottom:.5px solid var(--border); text-align:left;
    }
    .hor-table td { padding:.55rem 1rem; font-size:.82rem; border-bottom:.5px solid rgba(201,168,76,.08); }
    .hor-table tr:last-child td { border-bottom:none; }
    .hor-ent { color:var(--cream); }
    .hor-med { color:var(--gold); }
    .hor-table tbody tr:hover { background:var(--bg2); }

    /* ── Membresías ── */
    .mem-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border); margin-bottom:2rem; }
    .mem-card { background:var(--bg); padding:2rem 1.5rem; display:flex; flex-direction:column; }
    .mem-card.destacada { background:var(--bg2); border-top:2px solid var(--gold); }
    .mem-nombre { font-size:.6rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:.3rem; }
    .mem-plan { font-family:var(--serif); font-size:1.5rem; color:var(--cream); font-weight:300; margin-bottom:1.2rem; }
    .mem-plan em { font-style:italic; color:var(--gold); }
    .mem-items { list-style:none; padding:0; margin:0 0 1.5rem; flex:1; display:flex; flex-direction:column; gap:.45rem; }
    .mem-items li { font-size:.78rem; color:var(--muted); line-height:1.6; padding-left:1rem; position:relative; }
    .mem-items li::before { content:\'—\'; position:absolute; left:0; color:rgba(201,168,76,.5); font-size:.7rem; }
    .mem-items li strong { color:var(--cream); font-weight:400; }
    .mem-precio { font-family:var(--serif); font-size:1.8rem; color:var(--gold); font-weight:300; }
    .mem-precio span { font-family:var(--sans); font-size:.72rem; color:var(--muted); letter-spacing:.1em; }
    .mem-nota { font-size:.72rem; color:var(--muted); line-height:1.7; border-top:.5px solid var(--border); padding-top:1.2rem; margin-top:.5rem; }
    .mem-nota strong { color:var(--cream); font-weight:400; }

    @media(max-width:900px) {
      .info-wrap { padding:2rem 1.4rem; }
      .mem-grid { grid-template-columns:1fr 1fr; }
      .hor-table th, .hor-table td { padding:.5rem .6rem; font-size:.78rem; }
    }
    @media(max-width:580px) {
      .mem-grid { grid-template-columns:1fr; }
    }

    }


    /* ── Mobile horarios: copiar sistema de horarios.html ── */
    .hor-table { display:none; }
    .ht-mobile { display:none; }
    @media(max-width:768px) {
      .hor-table { display:none !important; }
      .ht-mobile { display:block; }
    }
    @media(min-width:769px) {
      .ht-mobile { display:none; }
      .hor-table { display:table; }
    }
    /* Mobile day blocks */
    .ht-m-dia { background:var(--bg2); border:.5px solid var(--border); margin-bottom:1rem; }
    .ht-m-dia-name { font-size:1rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); padding:.1rem 1rem; background:var(--bg3); border-bottom:.5px solid var(--border); }
    .ht-m-clase { display:flex; align-items:center; gap:1rem; padding:.1rem 1rem; border-bottom:.5px solid rgba(201,168,76,.08); }
    .ht-m-clase:last-child { border-bottom:none; }
    .ht-m-hora { font-size:1.1rem; color:var(--gold); min-width:3rem; font-family:var(--sans); }
    .ht-m-nombre { font-size:1.1rem; color:var(--cream); }
    .ht-m-med .ht-m-nombre { color:var(--gold); }
    .ht-m-med .ht-m-hora { opacity:.7; }

  
/* ── Elfsight Google Reviews — overrides ── */
.elfsight-app-004e1077-9829-4a8a-b296-60109cad1667 .eapps-google-reviews-item,
.eapps-google-reviews-item { background: var(--bg2) !important; border: .5px solid var(--border) !important; }
.eapps-google-reviews-item-text,
.eapps-google-reviews-item-author-name { color: var(--cream) !important; }
.eapps-google-reviews-item-header-rating-stars svg path { fill: var(--gold) !important; }
.eapps-google-reviews-item-author-date { color: var(--muted) !important; }
.eapps-google-reviews-page { background: transparent !important; }
.eapps-google-reviews-header { display: none; }

/* ══ REVIEWS SLIDER ════════════════════════════════════════════════════════ */
.rev-section {
  padding: 4rem;
  background: var(--bg2);
  border-top: .5px solid var(--border);
  overflow: hidden;
}
.rev-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.rev-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: rev-scroll 60s linear infinite;
}
.rev-track:hover { animation-play-state: paused; }
@keyframes rev-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.rev-card {
  background: var(--bg);
  border: .5px solid var(--border);
  padding: 1.8rem;
  width: 320px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
  transition: border-color .2s;
}
.rev-card:hover { border-color: var(--gold); }
.rev-header { display: flex; align-items: center; gap: .9rem; }
.rev-avatar {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.rev-info { display: flex; flex-direction: column; gap: .1rem; }
.rev-nombre { font-size: .82rem; color: var(--cream); font-weight: 400; }
.rev-estrellas { font-size: .82rem; color: var(--gold); letter-spacing: .05em; }
.rev-texto {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.8;
  font-style: italic;
  font-family: var(--serif);
  flex: 1;
}
@media(max-width: 768px) {
  .rev-section { padding: 2rem 1.4rem; }
  .rev-card { width: 280px; min-width: 280px; padding: 1.4rem; }
}

/* ══ REVIEWS SLIDER v2 ═════════════════════════════════════════════════════ */
.rev-section {
  padding: 5rem 4rem;
  background: var(--bg2);
  border-top: .5px solid var(--border);
  border-bottom: .5px solid var(--border);
}
.rev-wrap { max-width: 800px; margin: 0 auto; }

.rev-slider {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.rev-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4rem;
  animation: rev-fade .5s ease;
  width: 100%;
}
.rev-slide--active { display: flex; }

@keyframes rev-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rev-foto-wrap {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.rev-foto { width: 100%; height: 100%; object-fit: cover; }

.rev-stars {
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 1.2rem;
}

.rev-txt {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.rev-autor {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Flechas */
.rev-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: .5px solid var(--border);
  color: var(--muted);
  width: 42px; height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}
.rev-btn:hover { border-color: var(--gold); color: var(--gold); }
.rev-btn--prev { left: 0; }
.rev-btn--next { right: 0; }

/* Dots */
.rev-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}
.rev-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.rev-dot--active { background: var(--gold); transform: scale(1.3); }

@media(max-width: 768px) {
  .rev-section { padding: 3rem 1.4rem; }
  .rev-slide { padding: 0 3rem; }
  .rev-txt { font-size: .92rem; }
  .rev-btn { width: 34px; height: 34px; font-size: .95rem; }
}

/* ── Theme toggle — switch de texto ── */
.theme-toggle-btn {
  background: none;
  border: 0.5px solid var(--border);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.theme-toggle-btn:hover { border-color: var(--gold); }
.tt-sep { color: var(--border); font-size: 0.7rem; }
.tt-opt { color: var(--muted); transition: color 0.2s; }
.tt-opt--active { color: var(--gold); }

/* Desktop: el botón del <ul> se muestra inline en el nav */
.nav-theme-mobile {
  display: flex;
  list-style: none;
  align-items: center;
}
.nav-theme-mobile .theme-toggle-btn {
  touch-action: manipulation;
}
/* Ocultar el botón suelto si por alguna página quedara */
nav > .theme-toggle-btn { display: none !important; }

/* Mobile: el botón queda dentro del menú desplegable */
@media(max-width: 768px) {
  .nav-theme-mobile {
    border-top: 0.5px solid var(--border);
    padding: 0.8rem 1.4rem;
    justify-content: flex-start;
    width: 100%;
  }
  .nav-theme-mobile .theme-toggle-btn {
    font-size: 0.72rem;
    padding: 0.5rem 0.9rem;
  }
}

/* ── Completado: thumbnail gris + badge ── */
.drm-completado-iframe {
  filter: brightness(0.45) grayscale(0.75);
  transition: filter 0.3s;
}
.drm-completado-wrapper:hover .drm-completado-iframe {
  filter: brightness(0.7) grayscale(0.3);
}
.drm-completado-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 5;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(17,16,9,0.82);
  color: var(--gold);
  padding: 0.28rem 0.65rem;
  border: 0.5px solid rgba(201,168,76,0.45);
  backdrop-filter: blur(4px);
}

/* ── Instructores ── */
.instructores {
  padding: 5rem 4rem;
  border-top: 0.5px solid var(--border);
  background: var(--bg2);
}
.instructores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
  margin-top: 3rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.instructor-card {
  border-right: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
}
.instructor-img-wrap {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.instructor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(0.82) saturate(0.7);
  transition: filter 0.4s, transform 0.4s;
  display: block;
}
.instructor-card:hover .instructor-img-wrap img {
  filter: brightness(0.92) saturate(0.85);
  transform: scale(1.03);
}
.instructor-body {
  padding: 1.6rem 1.8rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.instructor-rol {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.instructor-nombre {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.instructor-bio {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.85;
}
/* Light mode */
html.light .instructor-nombre { color: var(--cream); }
html.light .instructor-bio { color: var(--muted); }

@media (max-width: 900px) {
  .instructores { padding: 3rem 1.4rem; }
  .instructores-grid { grid-template-columns: 1fr; }
}

/* ══ SUSCRIPCIÓN CAMPUS ═══════════════════════════════════════════════════ */
.suscripcion-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
}

.suscripcion-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  padding: 3rem 2.5rem 2.5rem;
  position: relative;
  animation: fadeUp 0.5s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.suscripcion-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.suscripcion-precio-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.suscripcion-precio-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}
.suscripcion-precio-periodo {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.suscripcion-precio-nota {
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}

.suscripcion-beneficios {
  list-style: none;
  margin-bottom: 2rem;
  border-top: 0.5px solid var(--border);
  padding-top: 1.5rem;
}
.suscripcion-beneficios li {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 0.5px solid rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.suscripcion-beneficios li::before {
  content: '—';
  color: var(--gold);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.suscripcion-nota-final {
  margin-top: 1.2rem;
  font-size: 0.62rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.7;
}
.suscripcion-nota-final a { color: var(--gold); }

@media (max-width: 600px) {
  .suscripcion-wrap { padding: 3rem 1rem; }
  .suscripcion-card { padding: 2.5rem 1.5rem 2rem; }
}

.suscripcion-titulo { margin-bottom: 1.5rem; }
.suscripcion-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.btn-gold--full {
  width: 100%;
  text-align: center;
  display: block;
}

/* ══ SUSCRIPCIÓN — PREVIEW CAMPUS ════════════════════════════════════════ */
.suscripcion-preview {
  padding: 0 0 5rem;
  background: var(--bg);
}
.suscripcion-preview-title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}
.suscripcion-preview-title em { font-style: italic; color: var(--gold); }

.suscripcion-campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0;
  background: var(--border);
  border-top: 0.5px solid var(--border);
}
.suscripcion-campus-card {
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-right: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  transition: background 0.25s;
}
.suscripcion-campus-card:hover { background: var(--bg3); }
.suscripcion-campus-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.6);
  transition: transform 0.4s, filter 0.3s;
  display: block;
}
.suscripcion-campus-card:hover .suscripcion-campus-img {
  transform: scale(1.04);
  filter: brightness(0.65) saturate(0.8);
}
.suscripcion-campus-info { padding: 1rem 1.2rem 1.2rem; }
.suscripcion-campus-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.suscripcion-campus-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .suscripcion-campus-grid { grid-template-columns: 1fr 1fr; }
  .suscripcion-preview-title { font-size: 1.8rem; }
}

.suscripcion-precio-anterior {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 0.2rem;
}
.suscripcion-promo-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.suscripcion-ver-campus {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(201,168,76,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.suscripcion-ver-campus:hover { border-color: var(--gold); }

/* ══ SUSCRIPCIÓN — PREVIEW EDITORIAL ════════════════════════════════════ */
.prev-wrap {
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
  padding-bottom: 5rem;
}
.prev-header {
  padding: 4rem 4rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
}
.prev-title {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-top: 0.6rem;
}
.prev-title em { font-style: italic; color: var(--gold); }

/* FILAS */
.prev-row {
  display: grid;
  gap: 0;
  border-bottom: 0.5px solid var(--border);
}
.prev-row--2 { grid-template-columns: 1fr 1fr; }
.prev-row--4 { grid-template-columns: repeat(4, 1fr); }

/* CARDS CON IMAGEN */
.prev-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  border-right: 0.5px solid var(--border);
}
.prev-card:last-child { border-right: none; }
.prev-card__img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.6);
  transition: transform 0.5s, filter 0.4s;
}
.prev-card--lg .prev-card__img { height: 320px; }
.prev-card:not(.prev-card--lg) .prev-card__img { height: 200px; }
.prev-card:hover .prev-card__img { transform: scale(1.05); filter: brightness(0.6) saturate(0.8); }

.prev-card__ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,16,9,0.85) 0%, transparent 55%);
}
.prev-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
.prev-card__tag {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.prev-card__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.prev-card--lg .prev-card__title { font-size: 2rem; }
.prev-card__sub {
  font-size: 0.72rem;
  color: rgba(240,232,213,0.65);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.prev-card__cta {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.prev-card:hover .prev-card__cta { opacity: 1; }

/* LISTA */
.prev-list {
  border-top: 0.5px solid var(--border);
  margin: 0 4rem;
}
.prev-list__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 0.5px solid var(--border);
  text-decoration: none;
  transition: background 0.2s;
}
.prev-list__item:hover { padding-left: 0.5rem; }
.prev-list__name {
  font-size: 0.9rem;
  color: var(--cream);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.prev-list__sub { font-size: 0.72rem; color: var(--muted); flex: 2; }
.prev-list__arrow { font-size: 0.8rem; color: var(--gold); opacity: 0; transition: opacity 0.2s; }
.prev-list__item:hover .prev-list__arrow { opacity: 1; }
.prev-list__badge {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 0.5px solid rgba(201,168,76,0.4);
  padding: 2px 7px;
}

@media (max-width: 768px) {
  .prev-header { padding: 3rem 1.5rem 2rem; }
  .prev-row--2 { grid-template-columns: 1fr; }
  .prev-row--4 { grid-template-columns: 1fr 1fr; }
  .prev-list { margin: 0 1.5rem; }
  .prev-list__sub { display: none; }
  .prev-title { font-size: 2rem; }
}

/* ── Login Wall (curso biohacking y futuros cursos) ── */
#login-wall {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
#login-wall.hidden { display: none; }
.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  animation: fadeUp 0.4s ease both;
}
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.login-eyebrow {
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.login-eyebrow::before { content: ''; width: 12px; height: 0.5px; background: var(--gold); }
.login-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.login-title em { font-style: italic; color: var(--gold); }
.login-sub { font-size: 0.7rem; color: var(--muted); margin-bottom: 1.5rem; }
.login-card input {
  width: 100%;
  background: var(--bg);
  border: 0.5px solid var(--border);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 0.8rem;
}
.login-card input:focus { border-color: rgba(201,168,76,0.6); }
.login-card input::placeholder { color: var(--muted); }
.btn-login {
  width: 100%;
  padding: 0.85rem;
  background: transparent;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-login:hover { background: var(--gold); color: var(--bg); }
.login-error {
  display: none;
  margin-top: 0.8rem;
  padding: 0.6rem 0.8rem;
  background: rgba(180,60,60,0.12);
  border: 0.5px solid rgba(180,60,60,0.35);
  font-size: 0.72rem;
  color: #e08080;
}



/* ── Blog: tipografía legible en mobile ── */
.art-body p {
  font-size: 1.1rem !important;
  line-height: 2 !important;
}
.art-lead {
  font-size: 1.35rem !important;
  line-height: 1.75 !important;
}
.art-pullquote p {
  font-size: 1.25rem !important;
}
.art-titulo {
  font-size: 1.5rem !important;
}
.art-resumen {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}
@media(max-width: 768px) {
  .art-body p { font-size: 1.15rem !important; }
  .art-lead { font-size: 1.3rem !important; }
  .art-body { padding: 2.5rem 1.4rem 4rem !important; }
}

/* ── Video landscape mobile: dejar espacio para controles Vimeo ── */
@media (orientation: landscape) and (max-height: 500px) {
  .video-wrapper {
    padding-top: 0 !important;
    height: 70vh !important;
  }
  .video-wrapper iframe {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
  }
  #videos-grid {
    grid-template-columns: 1fr !important;
  }
}
