:root{
  --container:1200px;
  --pad:20px;

  --bg:#111111;
  --text:#111111;
  --muted:rgba(17,17,17,.65);

  --brand:#C7B16E;
  --white:#ffffff;

  --border:rgba(17,17,17,.12);

  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-soft:cubic-bezier(.2,.8,.2,1);
  --shadow-gold:0 18px 55px rgba(199,177,110,.18);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.6;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}

.container{
  width:min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline:auto;
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:12px 18px;
  font-weight:800;
  letter-spacing:.2px;
  border:1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  position:relative;
  overflow:hidden;
}
.btn:active{transform: translateY(1px)}
.btn--brand{background:var(--brand);color:#111}
.btn--brand:hover{box-shadow:0 12px 28px rgba(199,177,110,.25)}
.btn--dark{background:#111;color:#fff;border-color:rgba(255,255,255,.14)}
.btn--dark:hover{border-color:rgba(255,255,255,.24)}
.btn::after{
  content:"";
  position:absolute;
  inset:-40% -120%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-20%) rotate(12deg);
  opacity:0;
  transition: opacity .25s ease;
}
.btn:hover::after{
  opacity:1;
  animation: btnShine 1.1s var(--ease-out) both;
}
@keyframes btnShine{
  from{transform: translateX(-40%) rotate(12deg)}
  to{transform: translateX(40%) rotate(12deg)}
}

/* cards */
.card{
  border-radius:18px;
  border:1px solid var(--border);
  overflow:hidden;
  background:#fff;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
  position:relative;
}
.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background: radial-gradient(400px 200px at 30% 20%, rgba(199,177,110,.22), transparent 60%);
  opacity:0;
  transition: opacity .25s ease;
  pointer-events:none;
}
.card:hover::before{opacity:1}
.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color:rgba(199,177,110,.45);
}

/* reveal */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{opacity:1;transform: translateY(0)}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
}

/* tap highlight + focus */
a, button, [role="button"], input, textarea, select{
  -webkit-tap-highlight-color: transparent;
}
a:focus, button:focus, input:focus, textarea:focus, select:focus,
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:none !important;
}

/* responsive base */
@media (max-width:980px){
  :root{--pad:16px;}
}

/* =========================================================
   FOOTER PREMIUM
   ========================================================= */
.site-footer--premium{
  position:relative;
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(199,177,110,.08), transparent 60%),
    radial-gradient(700px 240px at 80% 100%, rgba(114,45,114,.10), transparent 60%),
    linear-gradient(180deg, #080808 0%, #101010 100%);
  color:#fff;
  overflow:hidden;
}

.site-footer__cta{
  border-top:1px solid rgba(199,177,110,.14);
  border-bottom:1px solid rgba(199,177,110,.12);
  background: linear-gradient(135deg, rgba(199,177,110,.10), rgba(114,45,114,.08));
}

.site-footer__cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:44px 0;
}

.site-footer__eyebrow{
  display:inline-flex;
  margin-bottom:12px;
  font-size:16px;
  font-weight:900;
  letter-spacing:1.5px;
  color:var(--brand);
}

.site-footer__cta-title{
  margin:0 0 10px;
  font-size:36px;
  line-height:1.1;
  color:#fff;
}

.site-footer__cta-text{
  margin:0;
  max-width:760px;
  color:rgba(255,255,255,.78);
  font-weight:600;
}

/* CTA actions */
.site-footer__cta-actions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:14px;
  min-width:280px;
  max-width:320px;
  flex-shrink:0;
}

.site-footer__cta-label{
  margin:0;
  font-size:13px;
  font-weight:900;
  letter-spacing:1.4px;
  text-transform:uppercase;
  text-align:center;
  background:linear-gradient(90deg, #C7B16E, #f7e7b5, #C7B16E);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 12px rgba(199,177,110,.22));
}

.site-footer__cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:56px;
  padding:0 24px;
  border-radius:999px;
  font-size:15px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
  color:#fff;
  border:2px solid rgba(255,255,255,.18);
  text-decoration:none;
  position:relative;
  overflow:hidden;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.site-footer__cta-btn::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.0));
  pointer-events:none;
}

.site-footer__cta-btn--whatsapp{
  background:linear-gradient(135deg, #1ebe57 0%, #25D366 60%, #1aad4e 100%);
  box-shadow: 0 8px 24px rgba(37,211,102,.28), 0 0 0 0 rgba(37,211,102,.40);
}

@media(hover:hover) and (pointer:fine){
  .site-footer__cta-btn--whatsapp:hover{
    transform:translateY(-3px);
    filter:brightness(1.08);
    box-shadow: 0 14px 32px rgba(37,211,102,.36), 0 0 0 0 rgba(37,211,102,.40);
  }
}

.site-footer__cta-btn--whatsapp:active{
  transform:scale(.97);
  filter:brightness(.95);
}

.site-footer__wa-icon{
  width:26px;
  height:26px;
  flex-shrink:0;
}

@keyframes waPulse{
  0%{ box-shadow: 0 8px 24px rgba(37,211,102,.28), 0 0 0 0 rgba(37,211,102,.42); }
  60%{ box-shadow: 0 8px 24px rgba(37,211,102,.28), 0 0 0 14px rgba(37,211,102,0); }
  100%{ box-shadow: 0 8px 24px rgba(37,211,102,.28), 0 0 0 0 rgba(37,211,102,0); }
}
.site-footer__cta-btn--whatsapp{ animation:waPulse 2s ease-in-out infinite; }

/* Footer main */
.site-footer__main{ padding:54px 0 26px; }

/* GRID balanceado (sin mover raro ¡°Explora¡±) */
.site-footer__grid{
  display:grid;
  grid-template-columns: 1.05fr 1.15fr .95fr;
  gap:34px;
  align-items:start;
}

.site-footer__brand img{
  width:auto;
  max-width:220px;
  max-height:80px;
}

.site-footer__desc{
  margin:18px 0 0;
  color:rgba(255,255,255,.74);
  line-height:1.75;
  font-weight:500;
}

/* redes (base) */
.site-footer__socials{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:20px;
}

.site-footer__socials a{
  width:44px;
  height:44px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  transition:transform .2s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-footer__socials a:hover{
  transform:translateY(-2px);
  background:rgba(210,181,57,.12);
  border-color:rgba(210,181,57,.28);
  box-shadow:0 10px 24px rgba(210,181,57,.12);
}

.site-footer__title{
  margin:0 0 18px;
  font-size:19px;
  color:#fff;
}

.site-footer__list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.site-footer__list li,
.site-footer__list a{
  color:rgba(255,255,255,.76);
  line-height:1.65;
  font-weight:500;
  transition:color .2s ease, transform .2s ease;
}

.site-footer__list a:hover{
  color:var(--brand);
  transform:translateX(2px);
}

/* bottom solo copyright (footer.php ya lo usa) */
.site-footer__bottom{
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}
.site-footer__copy{
  margin:0;
  color:rgba(255,255,255,.58);
  font-size:14px;
  width:100%;
  text-align:center;
}

/* ====== TU FOOTER PERSONALIZADO (pills + icons + libro + animaci¨®n) ====== */

.site-footer__follow{
  margin: 18px 0 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: 13px;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
}

.site-footer__socials--icons a{
  width:46px;
  height:46px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.site-footer__socials--icons img{
  width:22px;
  height:22px;
  display:block;
}

/* pills */
.footer-pills{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:6px;
  margin-bottom:14px;
}

.footer-pill{
  display:grid;
  grid-template-columns:22px 1fr auto;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:16px;
  border:0 !important;
  background:rgba(255,255,255,.06);
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  color:#fff;
  text-decoration:none;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease;
  will-change: transform;
}
@media (hover:hover) and (pointer:fine){
  .footer-pill:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 38px rgba(0,0,0,.28);
    background:rgba(255,255,255,.08);
  }
}
.footer-pill:active{ transform: scale(.985); }

.footer-pill__icon{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
}
.footer-pill__icon img{
  width:18px;
  height:18px;
  display:block;
}
.footer-pill__text{
  font-weight:900;
  letter-spacing:.6px;
  white-space:nowrap;
}
.footer-pill__badge{
  font-size:12px;
  font-weight:900;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(199,177,110,.14);
  color:var(--brand);
  border:1px solid rgba(199,177,110,.22);
  white-space:nowrap;
}
@media (max-width:980px){
  .footer-pill{ grid-template-columns:22px 1fr; }
  .footer-pill__badge{
    grid-column:1 / -1;
    justify-self:start;
    margin-top:6px;
  }
  .footer-pill__text{ white-space:normal; }
}

/* emails clicables */
.site-footer__list--info a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}

/* libro */
.footer-claim{
  display:inline-flex;
  align-items:center;
  gap:12px;
}
.footer-claim img{
  width:34px;
  height:34px;
  display:block;
}
@media (max-width:980px){
  .footer-claim img{ width:30px; height:30px; }
}

/* Responsive footer general */
@media (max-width:1100px){
  .site-footer__grid{ grid-template-columns:1fr 1fr; gap:26px; }
  .site-footer__cta-title{ font-size:30px; }
}
@media (max-width:980px){
  .site-footer__cta-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:36px 0;
  }
  .site-footer__cta-title{ font-size:28px; }
  .site-footer__cta-actions{
    min-width:unset;
    max-width:100%;
    width:100%;
  }
  .site-footer__cta-label{ text-align:left; font-size:12px; }
  .site-footer__cta-btn{
    min-height:52px;
    font-size:14px;
    padding:0 20px;
    gap:10px;
  }
  .site-footer__wa-icon{ width:24px; height:24px; }
  .site-footer__grid{ grid-template-columns:1fr; gap:22px; }
  .site-footer__main{ padding:42px 0 22px; }
  .site-footer__copy{ text-align:left; }
}
@media (max-width:640px){
  .site-footer__cta-title{ font-size:24px; }
  .site-footer__cta-btn{ width:100%; min-height:50px; font-size:13px; }
  .site-footer__cta-label{ font-size:11px; letter-spacing:1px; }
  .site-footer__wa-icon{ width:22px; height:22px; }
  .site-footer__socials{ flex-wrap:wrap; }
  .site-footer__brand img{ max-width:180px; }
}
/* Explora: 2 columnas y al final Buscador + Libro en ancho completo */
.site-footer__col:nth-child(3) .site-footer__list{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 12px;
}

/* no partir texto (desktop) */
.site-footer__col:nth-child(3) .site-footer__list a{
  white-space: nowrap;
}

/* Forzar: Pol¨ªtica de Privacidad debajo de T¨¦rminos (item #6) */
.site-footer__col:nth-child(3) .site-footer__list > li:nth-child(6){
  grid-column: 1;
}

/* Buscador (pen¨²ltimo) y Libro (¨²ltimo) ocupan toda la fila */
.site-footer__col:nth-child(3) .site-footer__list > li:nth-last-child(2),
.site-footer__col:nth-child(3) .site-footer__list > li:nth-last-child(1){
  grid-column: 1 / -1;
}

/* En m¨®vil vuelve a 1 columna y permite salto normal */
@media (max-width: 980px){
  .site-footer__col:nth-child(3) .site-footer__list{
    grid-template-columns: 1fr;
  }
  .site-footer__col:nth-child(3) .site-footer__list a{
    white-space: normal;
  }
}
/* Baja un poco SOLO el item "Libro de Reclamaciones" */
.site-footer__col:nth-child(3) .site-footer__list > li:last-child{
  margin-top: 30px; /* prueba 10px / 14px / 18px */
}