:root{
  --gold:#D8B880;
  --gold-strong:#C9A868;
  --gold-hi:#f3e2b7;
  --ink:#111;
  --muted:#555;
  --line:#e5e7eb;
  --header-h:68px;
}

*{ box-sizing:border-box }
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font:16px/1.7 "Poppins", sans-serif; 
  font-size: 14px;
  padding-top:var(--offset-total);
  overflow-x:hidden;
}
img{
  display:block;
  max-width:100%
}
.container{
  max-width:1200px;
  margin-inline:auto;
  padding:0 1.25rem
}

/* ===== MENÚ ===== */
.site-header{
  position:fixed; 
  top:var(--topbar-h,0); 
  left:0;
  right:0; 
  z-index:9999;
  background:#fff; 
  height:var(--header-h);
  
}
.header-inner{ 
  display:flex; 
  align-items:center; 
  gap:8rem; 
  padding:.5rem 0; 
  height:100% 
}
.logo{ 
  height:40px 
}
.nav{ 
  margin-left:auto 
}
.nav-toggle, .nav-toggle.m{
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  padding:.4rem .55rem; 
  border:1px solid var(--line); 
  background:#fff; 
  border-radius:10px; 
  font-size:.95rem; 
  cursor:pointer;
  color:gray;
}
.nav-list{ 
  list-style:none; 
  margin:0; 
  padding:0; 
  gap:.6rem; 
  align-items:center 
}
.nav-list a{
  color:var(--ink); 
  text-decoration:none; 
  padding:.7rem .6rem; 
  border-radius:5px; 
  font-weight:500;
}
.nav-list a.is-active{
  font-weight:700;
  background:transparent;
  text-decoration: underline var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-skip-ink: auto;
}
.nav-list a:hover{ 
  color:rgb(78, 78, 78); 
  font-weight:600 
}
.lang-switch{ 
  display:flex; 
  align-items:center; 
  gap:.4rem; 
  margin-left:4.5rem; 
  border-radius:5px 
}
.lang,.m-lang .lang{ 
  border:1px solid var(--line); 
  background:#fff; 
  padding:.28rem 12px; 
  font-size:.9rem; 
  border-radius:7px;
  border: 1px solid black;
  color:black;
}
.lang:hover{ 
  border: 1px solid var(--gold);
  color:var(--gold-strong)
}
.lang.is-active{ 
  background:black; 
  font-weight:600; 
  color:white;
  border: 1px solid gray;
}

@media (min-width:980px){
  .nav-toggle{ display:none }
  .nav-list{ display:flex }
}
.header-mobile{ display:none }
@media (max-width:979px){
  .header-inner{display:none}
  .header-mobile{
    display:grid; 
    grid-template-columns:48px 1fr 100px; 
    align-items:center; 
    padding:.2rem .6rem; 
    gap:.25rem; 
    height:100%;
    border-top:1px solid rgb(207, 207, 207)
  }
  .nav-toggle.m{
    justify-self:start
  }
  .m-center{
    justify-self:center; 
    display:flex; 
    align-items:center; 
    justify-content:center
  }
  .m-brand{gap:.45rem}
  .m-logo{ 
    height:40px; 
    width:auto; 
    object-fit:contain
   }
  .m-lang{ 
    display:flex; 
    justify-self:end; 
    gap:.35rem; 
    padding-right:.25rem 
  }
  .m-lang .lang{ 
    padding:.25rem .6rem; 
    font-size:.8rem; 
    text-align:center;
  }
  #site-nav{
    position:fixed; 
    top:calc(var(--topbar-h) + var(--header-h) + 8px); 
    left:12px; 
    right:12px; 
    z-index:10001;
    background-color: rgba(255, 255, 255, 0.945); 
    border:1px solid var(--line); 
    border-radius:12px;
    display:none; 
    flex-direction:column; 
    gap:.2rem; 
    padding:.5rem;
    box-shadow:0 10px 30px rgba(0,0,0,.10); 
    max-height:50vh; 
    overflow:auto;
  }
  #site-nav.open{
    display:flex
  }
  #site-nav a{
    padding:.6rem;
    border-radius:8px;
    color:#111 !important}
}

/* ===== BOTONES ===== */
.btn{ display:inline-block; padding:12px 18px; border-radius:12px; font-weight:700; transition:.2s ease; border:1px solid transparent; text-decoration:none }
.btn-primary{ background:var(--gold); color:#1a1a1a }
.btn-primary:hover{ transform:translateY(-1px); filter:brightness(1.02) }
.btn-outline{background:var(--gold); color:#1a1a1a  }
.btn-outline:hover{ transform:translateY(-1px); filter:brightness(1.02) }
.btn-footer{ background:transparent; border:1px solid var(--gold); color:#1a1a1a }
.btn-footer:hover{ background:rgba(216,184,128,.12) }

/* ===== TITULOS REVEAL + SUBRAYADO DORADO ===== */
.h-underline-gold{ position:relative; display:inline-block }
.h-underline-gold::after{
  content:""; position:absolute; left:50%; bottom:-8px; width:120px; height:4px; border-radius:999px;
  background:linear-gradient(90deg, var(--gold), var(--gold-strong));
  opacity:0; transform:translateX(-50%) scaleX(.7); transform-origin:center; transition: opacity .18s, transform .22s;
}
.reveal{ opacity:0; transform: translateY(6px); transition: opacity .22s, transform .22s }
.reveal.is-in{ opacity:1; transform:none }
.reveal.is-in.h-underline-gold::after{ opacity:1; transform:translateX(-50%) scaleX(1) }

/* ===== HERO ===== */
.mm-hero{
  position:relative; isolation:isolate; overflow:hidden;
  min-height: calc(100svh - var(--offset-total, 68px));
  display:flex; align-items:center;
}
.hero-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:0; filter: saturate(1.05);
}
.mm-hero::after{
  content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.65) 40%, rgba(255,255,255,.15) 75%, rgba(255,255,255,0) 100%);
}
.hero-inner{ position:relative; z-index:1; width:min(720px, 100%); text-align:center }
.mm-hero-title{ margin:0 0 14px; font-size:clamp(22px, 3.2vw, 34px); color:#111 }
.lead{ font-size:clamp(14px, 2.2vw, 16px); color:#111; opacity:.95; margin:0 auto 14px; max-width:820px }
.mm-ctas{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:6px; }

/* ===== SECCIONES ===== */
.section-title{ 
  text-align:center; 
  margin:0 0 30px; 
  font-size:27px; 
  color:#111 }

/* ===== COMPARATIVA PRINCIPAL ===== */
.mm-compare{ 
  padding:48px 0; 
  background:#fff 
}
.mm-compare .container{
  max-width: 900px;
}

.table-wrap{ overflow:auto; border:1px solid var(--line); border-radius:2px }
.mm-table{ width:100%; border-collapse:separate; border-spacing:0; min-width:20px; background:#fff }
.mm-table thead th{
  background:var(--gold); 
  color:#fff; 
  text-align:left; 
  padding:14px; 
  font-weight:700; 
  position:sticky; 
  top:0;
}
.mm-table tbody td{ padding:12px 14px; border-top:1px solid var(--line) }
.mm-table tbody tr:nth-child(odd){ background:#fafafa }
.mm-table td:nth-child(2), .mm-table td:nth-child(3){ text-align:center; font-weight:700 }

.mm-notes{ font-size:12px; color:#555; margin-top:10px }

/* ===== DUO MATRICES ===== */
.mm-duo{ padding:48px 0; background:#fafafa }
.duo-grid{ display:grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap:16px }
@media (max-width: 900px){ .duo-grid{ grid-template-columns:1fr } }

.duo-card{
  border:1px solid var(--line); border-radius:16px; background:#fff; overflow:hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  margin: 0px 30px;
}
.duo-head{ padding:16px 16px 8px; border-bottom:1px solid var(--line) }
.duo-head h3{ 
  margin:0 0 6px; 
  font-size:18px ;
  text-align: center;
}
.duo-head .muted{ 
  margin:0; 
  color:#555; 
  font-size:13px; 
  text-align: center; 
}
.duo-table{ width:100%; border-collapse:separate; border-spacing:0 }
.duo-table thead th{ background:#111; color:#fff; text-align:left; padding:12px 14px; font-weight:800 }
.duo-table tbody td{ padding:10px 14px; border-top:1px solid var(--line) }
.duo-table tbody tr:nth-child(odd){ background:#fbfbfb }
.duo-table td:nth-child(2){ text-align:center; font-weight:800; color:#1a1a1a }

/* ===============================
   BENEFICIOS
=============================== */
.mm-benefits {
  padding: 56px 0;
  background: #fff;
}

.mm-benefits .section-title {
  text-align: center;
  margin-top: 10px;
  font-size: 27px;
  color: #000;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}

.benefit-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 18px;
  min-height: 350px;
}

@media (max-width: 980px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    min-height: unset;
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Card de beneficio ===== */
.b-card {
  position: relative;
  width: 100%;
  border-radius: 18px;
  padding: 22px 18px 24px;
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 340px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  background: linear-gradient(180deg, rgba(216,184,128,.06), #fff);
  border: 2px solid gray;
  text-align: left;
}
.b-card:hover,
.b-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.b-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.50) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 100%);
  opacity: .55;
  transition: opacity .3s ease, background .3s ease;
}
.b-card:hover::before,
.b-card:focus-within::before {
  background: linear-gradient(to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.72) 50%,
    rgba(0,0,0,.40) 75%,
    rgba(0,0,0,0) 100%
  );
  opacity: .95;
}
.b-card h4 {
  position: relative;
  z-index: 1;
  margin: .5rem 0 .35rem;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.b-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 13px;
  max-width: 62ch;
  text-align: justify;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: opacity .28s ease, max-height .28s ease, transform .28s ease;
}
.b-card:hover p,
.b-card:focus-within p {
  opacity: 1;
  max-height: 240px;
  transform: translateY(0);
}
.b-card:nth-child(1) { background: url(../Img/Membresias/Beneficio1.png) center/cover no-repeat; }
.b-card:nth-child(2) { background: url(../Img/Membresias/Beneficio2.png) center/cover no-repeat; transform: translateY(-0px); }
.b-card:nth-child(3) { background: url(../Img/Membresias/Beneficio3.png) center/cover no-repeat; transform: translateY(-00px); }
.b-card:nth-child(4) { background: url(../Img/Membresias/Beneficio4.png) center/cover no-repeat; transform: translateY(-00px); }
.b-card:focus-visible {
  outline: 2px solid rgba(255,255,255,.85);
  outline-offset: 2px;
  border-radius: 18px;
}

/*  Footer  */
.site-footer{ 
  margin-top:15px; 
  border-top:1px solid #111; 
  background:#000; 
  color:#fff 
}
.footer-grid{
  display:grid; 
  grid-template-columns:repeat(4, minmax(0,1fr)); 
  gap:150px; 
  padding:22px 0; 
  align-items:start; 
  justify-items:center; 
  text-align:left; 
  width:100%;
}
@media (max-width:979px){
  .footer-grid{
    grid-template-columns:1fr; 
    justify-items:center; 
    text-align:center;
    gap:28px; 
  }
}

.f-col{ 
  display:flex; 
  flex-direction:column;
  align-items: center; 
  justify-content: center;
  gap:.8rem 
}
@media (max-width:979px){
  .f-col{ align-items:center }
}

.f-invert{ 
  filter:brightness(0) invert(1) 
}
.f-brand .isotipo{ 
  display:none 
}
.f-brand .logo{ 
  margin-top: 10px;
  margin-bottom:10px; 
  height:45px 
}
.f-social{ 
  display:flex; 
  gap:.7rem; 
  justify-content:flex-start; 
  align-items:center 
}
.f-social .sbtn:hover{
  color:gray;                  
  transform: translateY(-1px);
  outline: none;
}
@media (max-width:979px){ .f-social{ justify-content:center } }
.sbtn{
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  min-width:36px; 
  height:36px; 
  padding:0 .6rem;
  border:1px solid var(--line); 
  border-radius:10px; 
  color:#1f2937; 
  text-decoration:none; 
  background:#fff
}

.f-links h5,.f-cta h5,.f-info h5{ 
  margin:.2rem 0 .4rem; 
  font-size:1rem; 
  color:#fff 
}
.f-links ul{ 
  list-style:none; 
  margin:0; 
  padding:0 
}
.f-links ul.cols-2{ 
  columns:2; 
  column-gap:28px 
}
.f-links ul.left{ 
  text-align:left 
}
.f-links li{ 
  break-inside:avoid; 
  margin-bottom:.35rem;
  font-weight: 500; 
}
.f-links a{ 
  color:#eee; 
  text-decoration:none; 
  opacity:.9 
}
.f-links a:hover{ 
  font-weight: 700;
}
.f-cta .schedule{ 
  font-weight:600; 
  margin-bottom:0; 
  color:#e5e7eb 
}

/* Nueva columna de info con íconos */
.f-info-list{ 
  list-style:none; 
  margin:0; 
  padding:0; 
  display:flex; 
  flex-direction:column; 
  gap:.6rem;
  font-weight: 500;
}
.fi-item{ 
  display:flex; 
  align-items:flex-start; 
  gap:.6rem 
}
@media (max-width:979px){ .fi-item{ 
  justify-content:left;
  padding: 0 35px; 
  text-align: justify;
} 
}
.fi-icon{ 
  display:inline-grid; 
  place-items:center; 
  width:28px; 
  height:28px; 
  border-radius:8px; 
  background:rgba(216,184,128,.12); 
  border:1px solid rgba(216,184,128,.35) 
}
.fi-icon.ubi{
  padding: 0 6px 0 4px;
}
.svg-gold{ 
  fill:var(--gold) 
}
.fi-text{ 
  display:flex; 
  flex-direction:column; 
  gap:2px 
}
.fi-label{ 
  font-weight:700; 
  color:#fff 
}
.fi-value{ 
  color:#e7e7e7; 
  text-decoration:none 
}
.fi-value:hover{ 
  font-weight: 600;
}

/* Botón del footer */
.btn-footer{
  background:#fff; 
  color:#111; 
  border:1px solid #111; 
  padding:.55rem 1rem; 
  border-radius:12px; 
  font-weight:800;
  text-decoration: none;
}
.btn-footer:hover{ 
  color:black;
  font-size: 15px;
  background: var(--gold);
}

/* Franja inferior DORADA*/
.copy{
  display:flex; 
  justify-content:center; 
  align-items:center;
  border-top:1px solid var(--line); 
  padding:12px; 
  background:var(--gold); 
  color:black; 
  font-weight:600; 
  letter-spacing:.3px;
}

/* Footer — responsive extras */
@media (max-width:979px){
  .f-brand .logo{display:none}
  .f-brand .isotipo{display:block;height:40px}
  .f-links h5,.f-cta h5,.f-info h5{font-size:.95rem}
    .copy{
    font-size:.85rem;
    text-align: center;
  }
}

/*  WhatsApp flotante  */
.whatsapp-float{
  position:fixed; 
  right:16px; 
  bottom:16px;
  width:56px; 
  height:56px; 
  display:grid; 
  place-items:center;
  border-radius:50%; 
  text-decoration:none; 
  z-index:1000;
  background: white; 
}
.whatsapp-float:hover{ 
  background-color:black
}
