/* ===== Reset & Layout base para footer al fondo ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

/* ===== POP-UP con animación ===== */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 9999;
}

.popup.show {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  background: #fff;
  padding: 24px 28px;
  border-radius: 12px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.35s ease;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.popup.show .popup-content {
  transform: scale(1);
}

.popup-buttons {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn.yes { background: #4CAF50; color: #fff; }
.btn.no  { background: #f44336; color: #fff; }

/* ===== NAVBAR sticky con 3 zonas ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #a3e9d1;
  color: #222;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 48px;
}

.logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.nav-links a:hover { opacity: 0.8; }

.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-end;
  padding-right:40px;
  position:relative;   /* ancla de la burbuja */
  overflow:visible;    /* que no se corte */
}

/* botón de perfil */
.profile-btn{ background:transparent; border:0; cursor:pointer; padding:0; }
.profile-btn .user-icon{ width:36px; height:36px; transition:transform .15s ease; }
.profile-btn:hover .user-icon{ transform:scale(1.1); }

/* Icono de usuario */
.user-icon {
  width: 36px;
  height: 36px;
}

.login-link:hover .user-icon {
  transform: scale(1.1);
  fill: #4CAF50;
}

.hamburger {
  display: none;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  border: none;
  cursor: pointer;
}

/* ===== CONTENIDO ===== */
.content {
  flex: 1;
  padding: 0;
}

/* ===== SLIDESHOW ===== */
.slideshow {
  position: relative;         /* importante: NO fixed */
  width: 100%;
  height: 100vh;              /* pantalla completa */
  overflow: hidden;
  background: #ccc;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 0;                 /* no flota sobre el contenido */
  margin-bottom: 0;           /* <- que no agregue espacio extra debajo */
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 6s ease;
  transform: scale(1);
  will-change: opacity, transform;
}

.slide.active {
  opacity: 1;
  transform: scale(1.02);
  animation: kenburns 6s linear forwards; /* zoom suave */
}

/* Ken Burns */
@keyframes kenburns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

/* Asegura que lo de abajo esté sobre el slider si hay overlays */
main.content > section { position: relative; z-index: 1; }

/* ===== NUESTRA HISTORIA ===== */
.historia {
  display: flex;
  padding: 60px 10%;
  align-items: center;
  gap: 40px;
  background: #f4f4f4;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.historia-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.historia-logo {
  width: 150px;
  height: 150px;
  max-width: 80%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.historia-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.historia-right {
  flex: 2;
}

.historia-right h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.historia-right p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  .historia {
    flex-direction: column;
    text-align: center;
  }

  .historia-left, .historia-right {
    flex: unset;
  }

  .historia-logo {
    width: 50%;
    margin-bottom: 20px;
  }
}

/* ===== FOOTER ===== */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 14px;
}

/* ===== Responsive menú hamburguesa ===== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 24px;
    background: transparent;
    border: none;
    color: #fff; /* el color que tengas en el navbar */
  }
}

/* Botón "Hazte socio" */
.btn-socio {
  padding: 6px 14px;
  border: 2px solid #fff;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}

.para-ser-socio h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2c3e50;
}

.step {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
}

.step .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #16a085;
}

.step p {
  font-size: 0.95rem;
  color: #555;
}

/* Botones en los pasos */
.btn-step {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #16a085;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.btn-step:hover {
  background: #138d75;
}

/* Botón principal en el último paso */
.btn-main {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #e67e22;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-main:hover {
  background: #ca6f1e;
  transform: scale(1.05);
}

/* Ajuste visual para destacar el último paso */
.final-step {
  border: 2px solid #e67e22;
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.2);
}

/* Quitar estilo de enlaces dentro de los títulos de los pasos */
.step h3 a {
  color: inherit;            /* Hereda el color del h3 */
  text-decoration: none;     /* Quita subrayado */
  cursor: pointer;           /* Mantiene el cursor de link */
  transition: color 0.2s ease;
}

.step h3 a:hover {
  color: #138d75;            /* Color sutil al pasar el mouse (opcional) */
}

/* Tarjeta individual */
.step {
  display: flex;
  flex-direction: column; 
  padding: 20px;
}

/* Botón abajo y ancho fijo */
.step button {
  margin-top: auto;    /* Empuja el botón hacia abajo */
  align-self: center;  /* Centrado horizontal */
  width: 140px;        /* Fija el ancho exacto */
}

/* Link activo en el navbar */
.nav-links a.active {
  color: #222; /* Color oscuro */
  border-bottom: 2px solid #222; /* Subrayado */
  font-weight: 700;
}

.nav-links a.active {
  border-bottom: 2px solid white;
  opacity: 1;
}

/* ---- Age Gate ---- */
#age-gate.ag-hidden { display: none !important; }
.ag-hidden { display: none !important; }

/* overlay del age gate (sobrescribe al .popup base) */
#age-gate {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(15,23,42,0.88), rgba(15,23,42,0.97));
  backdrop-filter: blur(5px);
  z-index: 2147483647; /* por encima de todo */
}

/* tarjeta del popup */
#age-gate .popup-content {
  position: relative;
  width: min(460px, 94%);
  background: #f9fafb;
  border-radius: 1.2rem;
  padding: 1.9rem 2rem 1.6rem;
  text-align: center;
  box-shadow:
    0 26px 70px rgba(15,23,42,0.85),
    0 0 0 1px rgba(148,163,184,0.45);
  transform: scale(0.97);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

/* cuando el JS agrega .show al contenedor .popup, animamos la tarjeta */
#age-gate.show .popup-content {
  transform: scale(1);
  box-shadow:
    0 30px 80px rgba(15,23,42,0.9),
    0 0 0 1px rgba(148,163,184,0.4);
}

/* “badge” 18+ sin tocar el HTML */
#age-gate .popup-content::before {
  content: "18+";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #4ade80, #16a34a);
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 14px 32px rgba(22,163,74,0.65);
}

/* tipografía del contenido */
#age-gate h2 {
  font-size: 1.45rem;
  margin-top: 0.4rem;
  margin-bottom: 0.45rem;
}

#age-gate p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #111827;
  margin: 0;
}

/* contenedor de botones */
#age-gate .popup-buttons {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* botones SOLO dentro del age gate */
#age-gate .btn {
  min-width: 140px;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.16s ease-out,
    color 0.16s ease-out,
    box-shadow 0.16s ease-out,
    transform 0.08s ease-out;
}

/* “Tengo +18” bien marcado */
#age-gate .btn.yes {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(22,163,74,0.55);
}

#age-gate .btn.yes:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(22,163,74,0.7);
}

/* botón “No” más frío y discreto */
#age-gate .btn.no {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}

#age-gate .btn.no:hover {
  background: #e5e7eb;
}

/* Kill-switch de scroll (esto se mantiene igual) */
body.no-scroll { overflow: hidden; }

/* base comun */

:root{
  --brand:#0f8a65;           /* acento */
  --brand-2:#0c6d51;         /* hover */
  --ink:#0f172a;             /* texto */
  --muted:#64748b;
  --bg:#ffffff;
  --card:#ffffff;
  --line:#e5e7eb;
  --radius:14px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

.container{max-width:1200px;margin:0 auto;padding:0 20px;}
.grid{display:grid;gap:16px}

.card{
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);
  padding:14px;
}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--ink);background:#fff;color:var(--ink);
  padding:8px 14px;border-radius:10px;cursor:pointer;font-weight:600;
}
.btn:hover{background:#f7f7f7}
.btn-primary{
  border-color:var(--brand);background:var(--brand);color:#fff;
}
.btn-primary:hover{background:var(--brand-2)}

.badge{
  display:inline-block;font-size:12px;padding:2px 8px;border-radius:999px;
  border:1px solid var(--line);color:var(--muted);background:#fff;
}
.badge-rx{border-style:dashed}

.price{font-weight:800;color:var(--ink)}
.meta{font-size:12px;color:var(--muted)}
.input{
  border:1px solid var(--line);border-radius:10px;padding:8px 10px;min-width:80px;
}
.row{display:flex;align-items:center;gap:12px}
.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}

/* peticion login */
.hidden{ display:none !important; }

.profile-panel{
  position:absolute; 
  right:0;
  top: calc(100% + 10px); /* debajo del contenedor */
  width:min(320px,90vw);
  background:#fff;
  border:1px solid var(--line,#e5e7eb);
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  padding:14px;
  z-index: 2000; /* ya estás sobre la navbar (z=1000) y sobre el menú móvil */
  max-height: 70vh;          /* por si crece */
  overflow: auto;
}

.profile-panel::before{
  content:""; position:absolute; top:-8px; right:18px; width:14px; height:14px;
  background:#fff; border-left:1px solid var(--line,#e5e7eb);
  border-top:1px solid var(--line,#e5e7eb); transform:rotate(45deg);
}
.pp-title{ font-weight:700; margin-bottom:10px; }
.pp-row{ display:flex; flex-direction:column; gap:8px; }
.pp-input{ border:1px solid #e5e7eb; border-radius:10px; padding:10px; }
.pp-actions{ display:flex; gap:8px; justify-content:flex-end; margin-top:10px; }
.pp-link{ color:#0f8a65; text-decoration:none; font-weight:600; }
.pp-item{ padding:10px; border-radius:10px; cursor:pointer; }
.pp-item:hover{ background:#f7f7f7; }
.pp-user{ font-weight:700; color:#0f172a; }

/* ===== arreglo botones inicio sesion ===== */

/* coloca los botones en extremos opuestos */
.pp-actions.split { display:flex; justify-content:space-between; align-items:center; }

/* (opcional) ajusta look del link */
.pp-link{ color:#0f8a65; text-decoration:none; font-weight:600; }
.pp-link:hover{ text-decoration:underline; }

/* ==== KYC Upload (socio.html) ==== */
.upload-card{
  max-width:720px;margin:24px auto;background:var(--card);
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:18px 20px;
}
.file-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;margin:12px 0;}
.file-field{position:relative;}
.file-input{position:absolute;inset:0;opacity:0;cursor:pointer;}
.file-display{
  border:1px dashed var(--line);border-radius:10px;padding:10px 12px;
  color:var(--muted);background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.file-trigger{padding:10px 14px;border-radius:10px;border:1px solid var(--brand);
  background:var(--brand);color:#fff;cursor:pointer;}
.file-trigger:hover{background:var(--brand-2);}
.actions-row{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}

/* ==== Burbuja de perfil (sesión iniciada) ==== */
.profile-panel{min-width:280px;padding:12px}
.pp-user-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.pp-avatar{
  width:36px;height:36px;border-radius:50%;background:#e8faf3;color:#0f8a65;
  display:flex;align-items:center;justify-content:center;font-weight:800
}
.pp-user{font-weight:700;color:var(--ink)}
.pp-role{font-size:12px;color:var(--muted)}
.pp-menu{display:flex;flex-direction:column;margin-top:8px}
.pp-item{padding:10px 12px;border-top:1px solid var(--line);text-decoration:none;color:inherit}
.pp-item:hover{background:#f7f7f7}

/* Iconos carrito */
/* Accesibilidad: texto solo-lectores */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Link del carrito + badge */
.cart-link{ position:relative; display:inline-flex; align-items:center; padding:2px; }
.nav-cart-icon{ width:24px; height:24px; color:#fff; transition:transform .15s ease; }
.cart-link:hover .nav-cart-icon{ transform:scale(1.06); }

.cart-badge{
  position:absolute; top:-6px; right:-10px;
  background:#e11d48; color:#fff; border:0;
  font-weight:700; line-height:1; padding:2px 6px;
}

/* Si quieres subrayado activo también para el ícono */
.nav-links a.active .nav-cart-icon{ border-bottom:2px solid #fff; border-radius:0; }

/* Texto solo-lectores (accesibilidad) */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Carrito en navbar */
.cart-link{ position:relative; display:inline-flex; align-items:center; padding:2px; }
.nav-cart-icon{ width:26px; height:26px; color:#fff;
  transition: transform .15s ease, filter .2s ease; }
.cart-link:hover .nav-cart-icon{ transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.2)); }

/* Badge con contador */
.cart-badge{
  position:absolute; top:-6px; right:-10px;
  background:#e11d48; color:#fff; border:0;
  font-weight:700; line-height:1; padding:2px 6px;
}

/* Centra verticalmente TODOS los ítems del menú */
.nav-links{
  display:flex;
  justify-content:center;
  align-items:center;   /* <- clave */
  gap:35px;
}

/* Los <li> y <a> del menú se alinean al centro y sin “line-height” raro */
.nav-links li{ display:flex; align-items:center; }
.nav-links a,
.cart-link{
  display:inline-flex;
  align-items:center;    /* <- centra el contenido (texto o icono) */
  line-height:1;         /* evita desfase por línea de base tipográfica */
  padding:0;             /* quita rellenos verticales que desparejen alturas */
}

/* El botón “Hazte socio” también centrado */
.btn-socio{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;           /* alto visual del botón */
  padding:0 18px;        /* espacio horizontal */
  border:2px solid #fff;
  border-radius:999px;
  color:#fff;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.4px;
  text-decoration:none;
  line-height:1;         /* evita desajuste vertical */
}

.btn-socio:hover{
  background:rgba(255,255,255,.15);
  transform:translateY(-1px);
}

/* El SVG del carrito no usa baseline => queda perfectamente centrado */
.nav-cart-icon{
  display:block;         /* evita baseline del inline */
  vertical-align:middle; /* por si quedara como inline en algún navegador */
  width:26px; height:26px; color:#fff;
  transition: transform .15s ease, filter .2s ease;
}

/* (Opcional) Ajuste fino del badge si lo ves muy arriba/abajo */
.cart-badge{ top:-8px; right:-12px; }

/* Fix: respetar padding del botón HAZTE SOCIO dentro del navbar */
.nav-links a.btn-socio{
  padding: 0 24px;      /* aire lateral ⇠⇢ */
}

/* === Footer (aislado) === */
.site-footer{ background:#0d1f16; color:#e6f5ee; }
.site-footer a{ color:#cfeee3; text-decoration:none }
.site-footer a:hover{ text-decoration:underline }

.sf-wrap{
  display:grid; gap:28px; padding:26px 0;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
}
.sf-col{ min-width:0 }
.sf-logo{ width:140px; height:auto; margin-bottom:10px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.sf-blurb{ color:#b9d9ce; line-height:1.5 }

.sf-title{ font-size:1rem; margin:6px 0 10px; color:#f1faf6 }
.sf-list{ list-style:none; display:grid; gap:8px }
.sf-list li{ line-height:1.3 }

.sf-contact{ list-style:none; display:grid; gap:8px; color:#d6efe6 }
.sf-contact svg{ vertical-align:middle; margin-right:8px }

.sf-social{ display:flex; gap:8px; margin-top:10px }
.sf-social a{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border:1px solid #2c5a49; border-radius:8px;
}
.sf-social a:hover{ background:#143427 }

.sf-legal{ border-top:1px solid rgba(255,255,255,.06); }
.sf-legal-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:12px 0; color:#a9cfc2; font-size:.92rem;
}
.sf-legal-row a{ color:#a9cfc2 }

@media (max-width: 900px){
  .sf-wrap{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .sf-wrap{ grid-template-columns: 1fr; }
  .sf-legal-row{ flex-direction:column; align-items:flex-start }
}

/* =========================
   Footer v3.5 (estable / minimal)
   ========================= */

/* Row de 4 columnas: brand + 3 */
.site-footer .footer-row {
  display: grid !important;
  grid-template-columns: minmax(300px, 1.2fr) repeat(3, minmax(200px, 1fr));
  gap: 28px;
  align-items: start;
}

/* Fila principal del footer (logo + 3 columnas) */
.site-footer .footer-row {
  display: grid !important;
  grid-template-columns: minmax(320px, 1.3fr) repeat(3, minmax(200px, 1fr));
  column-gap: 48px;
  align-items: stretch; /* todas las columnas con la misma altura */
}

/* Mismo padding vertical para todas las columnas del footer */
.site-footer .footer-row > * {
  padding: 24px 0;
}

/* Marca (logo + texto) a la izquierda */
.site-footer .footer-brand {
  display: flex;          /* logo + texto en fila */
  
  align-items: center;    /* centrado vertical */
  gap: 16px;              /* espacio entre logo y texto */
  max-width: 420px;       /* evita que se estire demasiado */
}

.site-footer .footer-brand img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  display: block;

}

.site-footer .footer-brand p {
  margin: 0;
  max-width: 260px;       /* texto más compacto */
  text-align: left;
  line-height: 1.6;
}

/* Títulos de columnas (Navegación / Ayuda / Contacto) */
.site-footer .footer-title,
.site-footer h4.footer-title {
  font: 700 .92rem/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 6px 0 14px;
  color: #f6fffb;
  opacity: .95;
}

/* Listas */
.site-footer .sf-list { list-style: none; padding: 0; margin: 0; }
.site-footer .sf-list li { margin: 8px 0; }
.site-footer .sf-list a { color:#d9efe7; text-decoration:none; }
.site-footer .sf-list a:hover { color:#fff; text-decoration:underline; }

/* Contacto */
.site-footer .sf-contact { list-style: none; padding: 0; margin: 0; }
.site-footer .sf-contact li {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 0; color: #cfe7e0;
}

/* Separadores verticales entre las 3 columnas derechas */
.site-footer .footer-row > .footer-col {
  border-left: 1px solid rgba(255,255,255,.08);
  padding-left: 24px;
}

/* Social: íconos reales (no texto) */
.site-footer .footer-social {
  display:flex; gap:12px; margin-top:10px;
}
.site-footer .footer-social a{
  width: 42px; height: 42px; aspect-ratio: 1 / 1;
  display:inline-block; text-indent:-9999px; overflow:hidden;
  border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.25);
  background-size:cover; background-position:center; background-repeat:no-repeat;
}

/* Instagram */
.site-footer .footer-social a.ig{
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'>\
<defs><linearGradient id='g' x1='0' y1='1' x2='1' y2='0'>\
<stop offset='0' stop-color='%23f58529'/><stop offset='0.5' stop-color='%23dd2a7b'/>\
<stop offset='1' stop-color='%235158e7'/></linearGradient></defs>\
<rect width='72' height='72' rx='16' fill='url(%23g)'/>\
<path fill='%23fff' d='M36 21c-8.3 0-15 6.7-15 15s6.7 15 15 15 15-6.7 15-15-6.7-15-15-15zm0 24.6A9.6 9.6 0 1 1 45.6 36 9.61 9.61 0 0 1 36 45.6zm13.2-22.8a3 3 0 1 1-3 3 3 3 0 0 1 3-3z'/>\
<rect x='12' y='12' width='48' height='48' rx='14' ry='14' fill='none' stroke='%23fff' stroke-width='4'/>\
</svg>");
}

/* WhatsApp (sin distorsión) */
.site-footer .footer-social a.wa{
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'>\
<rect width='72' height='72' rx='16' fill='%2305d66b'/>\
<path fill='%23fff' d='M36 15a21 21 0 0 0-17.7 31.9L16 57l10.4-2.3A21 21 0 1 0 36 15zm12.3 29.5c-.5 1.5-2.7 2.7-4 2.8-1 .1-2.3.1-3.8-.2-6.6-1.4-10.9-5.8-12.8-8.1-2-2.3-4.2-5.3-4.8-8.7-.6-3.4 1.1-5 1.8-5.7.7-.7 1.6-.9 2.1-.9h1.6c.5 0 1.2-.1 1.8 1.4.7 1.6 2.4 5.6 2.6 6-.2.4-.4.8-.8 1.2-.3.3-.6.7-1 .9-.4.2-.8.8-.3 1.6.5.8 2.5 4 5.4 6.5 3.7 3.3 6.7 4.2 7.6 4.6.9.3 1.5.3 2.1-.3.6-.5 2.4-2.7 3.1-3.6.7-.9 1.4-.7 2.3-.4.9.4 5.7 2.7 6.7 3.1 1 .3 1.6.5 1.8.8.2.3.2 1.6-.3 3.1z'/>\
</svg>");
}

/* Responsive */
@media (max-width: 900px){
  .site-footer .footer-row,
  .site-footer > .container:not(.sf-legal):not(.sf-legal-row){
    grid-template-columns: 1fr 1fr;
  }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-row > .footer-col { border-left: 0; padding-left: 0; }
}

@media (max-width: 600px){
  .site-footer .footer-row,
  .site-footer > .container:not(.sf-legal):not(.sf-legal-row){
    grid-template-columns: 1fr;
  }
  .site-footer .footer-brand img { width: 96px !important; height: 96px !important; }
}

/* Footer v3.5.1 – Parche fino de alineación y tipografía */

/* 1) Menos aire arriba del footer */
.site-footer { padding-top: 12px; }

/* 2) Texto de la marca alineado ARRIBA, no centrado */
.site-footer .footer-brand {
  align-items: start !important;   /* antes: center */
  row-gap: 4px;
}
.site-footer .footer-brand img { margin-top: 0; }
.site-footer .footer-brand p   { margin-top: 6px; }

/* 3) Títulos y textos vuelven a tu tipografía (heredan del body) */
.site-footer .footer-title,
.site-footer .sf-list a,
.site-footer .sf-contact li,
.site-footer .footer-social a {
  font-family: inherit !important;   /* usa la fuente que ya tienes en body */
}

/* Opcional: un look un poco más “premium” sin cambiar de fuente */
.site-footer .footer-title{
  font-weight: 800;
  letter-spacing: .06em;   /* un tracking sutil */
}

/* (sin tocar separadores, grillas o íconos IG/WA) */

/* Espacio superior del footer (solo padding interno) */
footer.site-footer { 
  padding-top: 36px !important;   /* ajusta a 28–48px a tu gusto */
}

/* Si tu <footer> NO tiene la clase .site-footer, usa este fallback: */
footer {
  padding-top: 36px !important;
}

/* Opcional: un poco menos de aire en móviles */
@media (max-width: 768px){
  footer.site-footer,
  footer {
    padding-top: 24px !important;
  }
}

/* --- Panel de cuenta: campo contraseña con ojo embebido --- */
.pp-row{ display:grid; gap:10px; }

/* Contenedor del input de pass: NO flex, relativo para posicionar el ojo adentro */
.pp-pass-row{ position:relative; display:block; }

/* El input ocupa todo el ancho y deja “colchón” para el ojo */
.pp-pass-row .pp-input{
  width:100%;
  box-sizing:border-box;
  padding-right:44px;           /* espacio para el ojo dentro del input */
  height:42px;                  /* opcional, si quieres un alto consistente */
}

/* Botón ojo absolutamente dentro del input */
.pp-eye{
  position:absolute;
  top:50%; right:12px;
  transform:translateY(-50%);
  width:28px; height:28px;
  background:transparent; border:0; padding:0;
  color:#64748b; cursor:pointer;
}
.pp-eye:hover{ color:#0f8a65; }
.pp-eye:focus-visible{ outline:2px solid #0f8a65; outline-offset:2px; border-radius:6px; }

:root{
  --chip-bg:#111827; --chip-br:#1f2937; --chip-tx:#e5e7eb;
  --ok:#10b981; --warn:#f59e0b; --bad:#ef4444; --info:#3b82f6; --muted:#6b7280;
}
.badge{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.25rem .55rem;border-radius:999px;border:1px solid var(--chip-br);
  background:var(--chip-bg);color:var(--chip-tx);
  font-weight:600;font-size:.78rem;letter-spacing:.02em
}
.badge i{display:inline-block;width:.5rem;height:.5rem;border-radius:50%}

/* Roles */
.badge--role.role-USER  {border-color:var(--muted)}
.badge--role.role-SOCIO {border-color:var(--ok)}
.badge--role.role-ADMIN {border-color:var(--warn)}
.badge--role.role-DEV   {border-color:var(--info)}
.badge--role.role-USER i  {background:var(--muted)}
.badge--role.role-SOCIO i {background:var(--ok)}
.badge--role.role-ADMIN i {background:var(--warn)}
.badge--role.role-DEV i   {background:var(--info)}

/* Form status */
.badge--status.status-pending  {border-color:var(--warn);  color:var(--warn)}
.badge--status.status-approved {border-color:var(--ok);    color:var(--ok)}
.badge--status.status-rejected {border-color:var(--bad);   color:var(--bad)}
.badge--status i{background:currentColor}

/* Form errors */
.input-error{border-color:#ef4444 !important; box-shadow:0 0 0 1px #ef4444 inset;}
.form-error{color:#ef4444; font-size:.85rem; margin-top:.25rem;}


/* === Perfil: utilidades que combinan con la paleta mint del sitio === */
.navbar{position:sticky;top:0;z-index:50;background:#bdebd7}
.navbar .navbar-inner{max-width:1100px;margin:0 auto;padding:14px 16px;display:flex;align-items:center;justify-content:space-between}
.navbar .logo img{height:44px}
.nav-links{display:flex;gap:22px;list-style:none;margin:0;padding:0;align-items:center}
.nav-links a{ color:#fff; text-decoration:none; font-weight:600; }
.nav-links a:hover{text-decoration:underline}
.nav-links li{ list-style:none; }            /* quita viñetas sí o sí */
.profile-btn{background:transparent;border:0;cursor:pointer}
.profile-btn img{height:28px}

.profile-panel{position:absolute;right:16px;top:68px;min-width:280px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);padding:12px;z-index:10000}
.hidden{display:none!important}

.site-footer{margin-top:40px;background:#f6fbf9;border-top:1px solid #e6f3ee}
.site-footer .inner{max-width:1100px;margin:0 auto;padding:16px;color:#466}

.pp-input.invalid{ border-color:#e11d48 !important; box-shadow:0 0 0 3px rgba(225,29,72,.15); }

.pp-error{color:#ef4444;font-size:12px;margin:6px 2px -2px;}

.user-icon path{ fill:#fff; }                /* asegura ícono blanco */

/* Navbar: forzar blanco en todos los estados */
.navbar .nav-links a,
.navbar .nav-links a:visited,
.navbar .nav-links a:focus,
.navbar .nav-links a:active{
  color:#fff !important;
}

/* Estilo de “página actual” sin cambiar el color */
.navbar .nav-links a.active,
.navbar .nav-links a[aria-current="page"]{
  color:#fff !important;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:4px;
}

/* ===== Fix Footer — volver a oscuro ===== */
.site-footer{
  background:#0d1f16 !important;
  color:#e6f5ee !important;
  border-top:0 !important;
}
.site-footer a{ color:#cfeee3 !important; }
.site-footer .footer-title{ color:#f6fffb !important; }
.site-footer .sf-list a{ color:#d9efe7 !important; }
.site-footer .footer-row > .footer-col{
  border-left:1px solid rgba(255,255,255,.08) !important;
  padding-left:24px !important;
}

/* ===== Nuestra historia ===== */
.story{background:linear-gradient(180deg,#f6fffb,transparent);padding:56px 0}
.story-inner{max-width:1100px;margin:0 auto;padding:0 16px;display:grid;grid-template-columns:140px 1fr;gap:20px;align-items:center}
.story-logo{width:120px;height:120px;object-fit:contain;border-radius:20px;background:#e9fbf3;box-shadow:0 10px 30px rgba(0,0,0,.06);padding:14px}
.story-copy h2{margin:0 0 8px}
.story-copy p{margin:6px 0;color:#475569}

/* ===== Eventos ===== */
.events{padding:42px 0 64px;background:#ffffff}
.events-head{max-width:1100px;margin:0 auto 14px;padding:0 16px;display:flex;align-items:center;justify-content:space-between}
.ev-ctrls{display:flex;gap:8px}
.ev-nav{width:36px;height:36px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;cursor:pointer}
.events-viewport{overflow:hidden}
.events-track{display:flex;gap:16px;transition:transform .35s ease;will-change:transform;padding:0 16px;max-width:1100px;margin:0 auto}
.ev-card{min-width:320px;flex:0 0 320px;border:1px solid #e9eef0;border-radius:16px;background:#fcfdfd;box-shadow:0 10px 24px rgba(0,0,0,.06);padding:16px}
.ev-date{display:inline-block;background:#bfeede;color:#0f172a;border-radius:10px;padding:6px 10px;font-weight:700;margin-bottom:10px}
@media (max-width:860px){.story-inner{grid-template-columns:1fr}.story-logo{justify-self:center}}

.hf-join .inner{max-width:1100px;margin:0 auto;padding:0 16px}
.join-hero{background:#bfeede;padding:46px 0}
.join-hero h1{margin:0}
.join-benefits{padding:36px 0}
.join-benefits .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.b-card{border:1px solid #e9eef0;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(0,0,0,.06);padding:16px}
.join-steps{padding:10px 0 30px}
.steps{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.steps li{display:flex;gap:12px;align-items:flex-start;border:1px solid #e9eef0;border-radius:14px;background:#fcfdfd;padding:12px}
.steps .ic{width:36px;height:36px;border-radius:10px;background:#e9fbf3;display:flex;align-items:center;justify-content:center}
.join-validate{padding:20px 0 48px;background:linear-gradient(180deg,#f6fffb,transparent)}
.val-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.val-left label{display:grid;gap:6px;margin-bottom:10px}
.val-left input{height:40px;border:1px solid #e5e7eb;border-radius:10px;padding:8px 12px}
.uploader{border:1px dashed #d6e3e8;border-radius:12px;background:#fff;padding:12px;display:grid;gap:8px;margin-bottom:12px}
.val-actions{grid-column:1/-1;display:flex;gap:12px;align-items:center}
@media (max-width:900px){.join-benefits .grid{grid-template-columns:1fr}.val-grid{grid-template-columns:1fr}}

#appsTable .thumb{max-width:200px;border:1px solid var(--line);border-radius:8px}

.steps .step {                    /* tarjeta */
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ==== wrapper que une el hero + ofertas ==== */
.join-strip{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: center;
  margin: 22px 0 8px;
}
.join-copy h1{ margin:0 0 8px; font-size: 34px; }
.join-copy p{ margin:0; color:#374151; }
.join-offers{ display: grid; gap: 12px; }
.join-offers > *{ margin: 0; } /* evita márgenes heredados de tus cards */

@media (max-width: 980px){
  .join-strip{ grid-template-columns: 1fr; }
}

/* ====== FIX v2: sección "Para ser socio" (index) ====== */

/* contenedor de tarjetas */
.para-ser-socio .steps{
  /* grid consistente y centrado */
  display: grid;
  gap: 32px;                          /* separación pareja */
  grid-template-columns: repeat(4, minmax(240px,1fr)); /* 4 en desktop */
  max-width: 1180px;                  /* ancho controlado para 4 cards */
  margin: 24px auto 0;                /* centrado */
  padding: 0 16px;                    /* respiro lateral en pantallas chicas */
  justify-items: center;              /* centra cada card en su celda */
  align-items: stretch;               /* misma altura visual */
}

/* las tarjetas llenan su celda y quedan “parejitas” */
.para-ser-socio .step{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

/* botón interno ocupa ancho útil sin deformar */
.para-ser-socio .step .btn-step,
.para-ser-socio .step .btn-main{
  align-self: center;
  min-width: 220px;
}

/* breakpoints responsivos (2 y 1 columna) */
@media (max-width: 1200px){
  .para-ser-socio .steps{
    grid-template-columns: repeat(2, minmax(260px,1fr));
    max-width: 900px;
  }
}
@media (max-width: 640px){
  .para-ser-socio .steps{
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* opcional: pequeño margen superior del título para que “respire” aún más */
.para-ser-socio h2{
  margin-bottom: 22px;
}

/* ===== v3 INDEX: sección "Para ser socio" ===== */

/* separa del slideshow y del resto */
.para-ser-socio{
  margin-top: 18px;                           /* espacio extra post-slider */
  padding: clamp(64px, 8vw, 88px) 16px 36px;  /* respiración vertical */
  background: #f9f9f9;
  text-align: center;
}

.para-ser-socio h2{
  margin: 0 0 28px;
  font-size: clamp(28px, 3.2vw, 40px);
  color: #2c3e50;
}

/* grid SOLO para la sección de index */
.para-ser-socio .steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;       /* centrado */
  padding: 0 8px;       /* leve respiro en bordes */
  justify-items: stretch;
  align-items: stretch;
}

.para-ser-socio .step{
  /* anula posibles restos de width fijas previas */
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

/* botones internos alineados */
.para-ser-socio .step .btn-step,
.para-ser-socio .step .btn-main{
  align-self: center;
  min-width: 210px;
}

/* columnas responsivas SOLO en index */
@media (max-width: 1200px){
  .para-ser-socio .steps{
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
}
@media (max-width: 900px){
  .para-ser-socio .steps{
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}
@media (max-width: 560px){
  .para-ser-socio .steps{
    grid-template-columns: 1fr;
  }
}

/* ===== INDEX · Para ser socio (scope estricto) ===== */
.para-ser-socio{
  background:#f9f9f9;
  /* más aire respecto al slideshow */
  margin-top: 28px;
  padding: clamp(56px, 7vw, 84px) 16px 40px;
}

.para-ser-socio h2{
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  margin: 0 auto 28px;
  color:#2c3e50;
  text-align:center;
  max-width: 1100px;
}

/* contenedor de tarjetas */
.para-ser-socio .steps{
  display: grid !important;                         /* gana a cualquier flex viejo */
  grid-template-columns: repeat(4, minmax(260px,1fr));
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  justify-items: center;
  align-items: stretch;
  list-style: none;                                 /* por si viniera de <ol>/<ul> */
  padding: 0;
}

/* tarjeta */
.para-ser-socio .step{
  width: 100%;                                      /* anula el width:250px */
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
  padding: 28px 20px;
}

/* botón dentro de la tarjeta */
.para-ser-socio .step .btn-step,
.para-ser-socio .step .btn-main{
  align-self: center;
  min-width: 200px;
}

/* responsive */
@media (max-width: 1200px){
  .para-ser-socio .steps{
    grid-template-columns: repeat(3, minmax(240px,1fr));
    max-width: 980px;
  }
}
@media (max-width: 980px){
  .para-ser-socio .steps{
    grid-template-columns: repeat(2, minmax(240px,1fr));
    max-width: 760px;
  }
}
@media (max-width: 560px){
  .para-ser-socio .steps{
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* --- Card destacada “Hazte socio” con borde dorado --- */
.para-ser-socio .steps .step.final-step{
  border: 2px solid #f4b000 !important;                 /* dorado */
  box-shadow: 0 12px 30px rgba(244,176,0,.16) !important;
}

/* Oculta visualmente pero mantiene el espacio y el flujo */
.para-ser-socio .step .btn-ghost{
  visibility: hidden;
  pointer-events: none;
  margin-top: auto;   /* empuja al fondo */
}

/* ===== Hazte socio — v2 (scope estricto) ===== */
.hf-join.v2 { --mint:#bfeede; --mint-2:#98e3cf; --brand:#0f8a65; --ink:#0f172a; --muted:#475569; --line:#e6f3ee; }
.hf-join.v2 .inner{ max-width:1100px; margin:0 auto; padding:0 16px; }

/* 1) HERO */
.hf-join.v2 .join-hero{
  padding: clamp(34px,6vw,60px) 0 28px;
  background: linear-gradient(180deg, rgba(191,238,222,.45), rgba(255,255,255,0) 70%);
  border-radius: 20px;
}
.hf-join.v2 .join-hero h1{
  margin:0 0 8px;
  font-size: clamp(28px,3.2vw,40px);
  color: var(--ink);
  text-align:center;
}
.hf-join.v2 .join-hero .lead{
  margin:0 auto;
  max-width: 820px;
  text-align:center;
  color:#334155;
}
.hf-join.v2 .hero-badges{
  margin:12px 0 0; padding:0; list-style:none;
  display:flex; gap:10px; justify-content:center; flex-wrap:wrap;
}
.hf-join.v2 .hero-badges li{
  background:#fff; border:1px solid var(--line); color:#0b3b2f;
  padding:6px 10px; border-radius:999px; font-weight:700; box-shadow:0 6px 14px rgba(0,0,0,.06);
}

/* 2) CÓMO HACERLO */
.hf-join.v2 .howto{ padding: 6px 0 34px; }
.hf-join.v2 .howto h2{
  margin: 8px 0 16px;
  font-size: clamp(22px,2.5vw,28px);
  letter-spacing:.2px;
  color: var(--ink);
}
.hf-join.v2 .howto-grid{
  display:grid; gap:18px;
  grid-template-columns: repeat(3, minmax(260px,1fr));
}
@media (max-width: 980px){ .hf-join.v2 .howto-grid{ grid-template-columns: 1fr; } }

.hf-join.v2 .howto-card{
  display:grid; grid-template-columns:56px 1fr; gap:14px; align-items:start;
  padding:16px; border:1px solid var(--line); border-radius:16px; background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.hf-join.v2 .howto-ic{
  width:56px; height:56px; border-radius:12px; background:#e9fbf3;
  display:flex; align-items:center; justify-content:center;
}
.hf-join.v2 .howto-ic img{ width:30px; height:30px; object-fit:contain; }
.hf-join.v2 .howto-card h3{ margin:0 0 6px; color:var(--brand); font-size:1.08rem; }
.hf-join.v2 .howto-card p{ margin:0; color:#334155; line-height:1.45; }

/* 3) VALIDACIÓN */
.hf-join.v2 .join-validate{
  padding: 8px 0 40px;      /* más aire respecto a la sección previa */
  border-top: 1px solid var(--line);
}
.hf-join.v2 .join-validate h2{
  margin: 12px 0 16px;
  font-size: clamp(22px,2.5vw,28px);
  color: var(--ink);
}

.hf-join.v2 .val-grid{
  display:grid; gap:20px; align-items:start;
  grid-template-columns: 1.05fr 1fr;       /* ligera ventaja al formulario */
}
@media (max-width: 980px){ .hf-join.v2 .val-grid{ grid-template-columns:1fr; } }

.hf-join.v2 .val-left{ display:grid; gap:14px; }
.hf-join.v2 .val-left .form-row{ display:grid; gap:6px; }  /* respeta tu markup real */
.hf-join.v2 .val-left input, .hf-join.v2 .val-left textarea{
  border:1px solid var(--line); border-radius:10px; padding:10px 12px; background:#fff;
}

/* Columna derecha alineada al primer campo de la izquierda */
.hf-join.v2 .val-right{ display:grid; gap:14px; padding-top:2px; }
.hf-join.v2 .val-right h3{ margin:0; font-size:1.02rem; color:var(--ink); }
.hf-join.v2 .val-right .helper{ margin:0; color:#64748b; font-size:.95rem; }
.hf-join.v2 .val-right a{ color:var(--brand); font-weight:700; text-decoration:none; }
.hf-join.v2 .val-right a:hover{ text-decoration:underline; }

/* Dropzones (look más atractivo) */
.hf-join.v2 .drop-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width: 560px){ .hf-join.v2 .drop-row{ grid-template-columns:1fr; } }

.hf-join.v2 .dropzone{
  display:grid; place-items:center; text-align:center; gap:8px;
  min-height:120px; padding:14px;
  border:2px dashed #8fd7c0; border-radius:14px;
  background: linear-gradient(180deg,#f6fffb 0%, #ffffff 100%);
  color:#475569;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .12s ease;
}
.hf-join.v2 .dropzone.drop-big{ min-height:160px; }
.hf-join.v2 .dropzone:hover{
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(15,138,101,.12);
  transform: translateY(-1px);
}
.hf-join.v2 .dropzone .dz-ic{
  width:38px; height:38px; border-radius:10px;
  border:2px solid #f4b000; color:#f4b000;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
}
.hf-join.v2 .dropzone small{ color:#64748b; }

/* CTA centrado, un poco más grande y con color de marca */
.hf-join.v2 .cta-row{ display:flex; justify-content:center; margin-top:16px; }
.hf-join.v2 .btn-cta{
  border:0; cursor:pointer;
  padding:14px 28px; border-radius:999px;
  color:#fff; font-weight:800; letter-spacing:.2px;
  background: linear-gradient(180deg, var(--brand) 0%, #0c6d51 100%);
  box-shadow: 0 14px 30px rgba(15,138,101,.25);
  transition: transform .14s ease, box-shadow .2s ease, filter .2s ease;
}
.hf-join.v2 .btn-cta:hover{ transform: translateY(-1px); box-shadow: 0 18px 36px rgba(15,138,101,.32); }
.hf-join.v2 .btn-cta:active{ transform: translateY(0); filter: brightness(.98); }

/* oculto el cuadrado amarillo anterior */
.hf-join.v2 .dropzone .dz-ic{ display:none !important; }

/* estilo del clip */
.hf-join.v2 .dz-clip{
  display:inline-grid; place-items:center;
  width:40px; height:40px; border-radius:10px;
  color:#f4b000; border:2px solid #f4b000;
  background:#fff; cursor:pointer; user-select:none;
  transition: transform .12s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.hf-join.v2 .dz-clip:hover{
  transform: translateY(-1px);
  box-shadow:0 8px 18px rgba(244,176,0,.25);
  color:#d69d00; border-color:#d69d00;
}

/* opcional: hacer que toda la tarjeta abra el selector */
.hf-join.v2 .dropzone{ position:relative; }
.hf-join.v2 .dropzone input[type="file"]{ position:absolute; inset:0; width:0; height:0; opacity:0; }

/* ---- Campos de formulario en /socio: borde sutil permanente ---- */
:root{
  --field-br: rgba(15, 23, 42, .38);   /* negro azulado suave (subtle) */
  --field-br-hover: rgba(15, 23, 42, .52);
  --field-ring: rgba(15, 138, 101, .14); /* ring mint muy suave al enfocar */
}

/* Text inputs + selects + textarea dentro de la página Socio */
.hf-join input[type="text"],
.hf-join input[type="email"],
.hf-join input[type="tel"],
.hf-join input[type="date"],
.hf-join input[type="number"],
.hf-join input[type="password"],
.hf-join select,
.hf-join textarea {
  border: 1.5px solid var(--field-br) !important;
  border-radius: 10px;
  background: #fff;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* Hover: apenas más marcado */
.hf-join input[type="text"]:hover,
.hf-join input[type="email"]:hover,
.hf-join input[type="tel"]:hover,
.hf-join input[type="date"]:hover,
.hf-join input[type="number"]:hover,
.hf-join input[type="password"]:hover,
.hf-join select:hover,
.hf-join textarea:hover {
  border-color: var(--field-br-hover) !important;
}

/* Focus: no negro fuerte; usa un ring mint muy suave */
.hf-join input[type="text"]:focus,
.hf-join input[type="email"]:focus,
.hf-join input[type="tel"]:focus,
.hf-join input[type="date"]:focus,
.hf-join input[type="number"]:focus,
.hf-join input[type="password"]:focus,
.hf-join select:focus,
.hf-join textarea:focus {
  border-color: var(--field-br-hover) !important;
  box-shadow: 0 0 0 3px var(--field-ring) !important;
}

/* Mantén los estados de error si ya los usas */
.hf-join .input-error,
.hf-join .pp-input.invalid{
  border-color:#e11d48 !important;
  box-shadow: 0 0 0 3px rgba(225,29,72,.15) !important;
}

/* === HOWTO — Iconos más grandes, centrados y con halo sutil === */

/* La card alinea icono + texto */
.howto .howto-card{
  display: flex;
  align-items: center;
  gap: 16px;                   /* aire entre icono y texto */
  min-height: 120px;           /* mantiene altura pareja */
}

/* Pastilla del icono (fondo verde) */
.howto .howto-ic{
  width: 72px;                 /* más grande */
  height: 72px;
  flex: 0 0 72px;
  border-radius: 16px;
  background: #e9fbf3;         /* mint suave */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 18px rgba(15,138,101,.12),      /* sombra externa */
    inset 0 0 0 1px rgba(15,138,101,.18); /* anillo sutil interno */
  transition: transform .18s ease, box-shadow .18s ease;
}

/* PNG dentro de la pastilla */
.howto .howto-ic img{
  width: 40px;                 /* protagonista pero equilibrado */
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Suavísimo hover para dar vida */
.howto .howto-card:hover .howto-ic{
  transform: translateY(-2px);
  box-shadow:
    0 10px 22px rgba(15,138,101,.16),
    inset 0 0 0 1px rgba(15,138,101,.22);
}

/* Ajuste fino del título para que quede alineado visualmente */
.howto .howto-copy h3{
  margin: 0 0 6px;
  line-height: 1.2;
}

/* En móviles: un pelín más pequeños */
@media (max-width: 700px){
  .howto .howto-ic{ width: 60px; height: 60px; flex-basis: 60px; }
  .howto .howto-ic img{ width: 34px; height: 34px; }
}

/* === Clip visible sí o sí (evita que otra regla con "background:" lo borre) === */
.join-validate .dropzone > .dz-clip{
  width:68px; height:68px; border-radius:14px;
  display:inline-block; margin:0 auto 10px;
  border:2px solid #FFD166;
  /* Un único shorthand con !important: nadie pisa el background */
  background: #fff url("/img/clip.png") center / 40px 40px no-repeat !important;
  box-shadow:0 2px 8px rgba(244,176,0,.18);
}

/* Si quedó algún SVG viejo dentro del label, lo ocultamos */
.join-validate .dz-clip svg{ display:none !important; }

/* =============== CLIP: amarillo puro sin sobreescrituras negras =============== */
/* No tocamos tamaños; solo nos aseguramos de no traer un background viejo. */
.join-validate .dropzone > .dz-clip{
  position: relative;
  background-image: none !important;   /* evita solapar cualquier BG previo */
  background-color: #fff;              /* mantiene el fondo del recuadro */
  border-color: #FFD166 !important;    /* marco amarillo que ya tenías */
}

/* Icono centrado con máscara: el color lo da background-color */
.join-validate .dropzone > .dz-clip::before{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: var(--clip-size, 34px);
  height: var(--clip-size, 34px);
  background-color: #FFD166;           /* color del icono */
  -webkit-mask: url("/img/clip.png") center/contain no-repeat;
          mask: url("/img/clip.png") center/contain no-repeat;
  pointer-events: none;
}

/* Tamaño del icono según el tipo de dropzone (si usas .drop-big y las pequeñas) */
.join-validate .dropzone.drop-big > .dz-clip{ --clip-size: 34px; }
.join-validate .dropzone:not(.drop-big) > .dz-clip{ --clip-size: 28px; }

/* Si en algún lado quedó un SVG dentro del label, lo ocultamos para evitar doble icono */
.join-validate .dz-clip svg{ display:none !important; }

/* ==================== BOTÓN: solo color (no tocamos tamaño/shape) ==================== */
.btn-cta{
  background-color: #0f8a65 !important; /* verde pastel del sitio */
  color: #fff !important;
}
.btn-cta:hover{
  background-color: #0c7355 !important; /* un tono más oscuro al pasar el mouse */
}

/* Botón: color original (mint del sitio) */
.btn-cta{
  background-color: var(--mint-2, #69b9a2) !important; /* usa tu var si existe */
  color:#fff !important;
}
.btn-cta:hover{
  background-color: var(--brand, #0f8a65) !important; /* tono más intenso al hover */
}

/* Botón mint siempre (normal y disabled) */
.btn-cta{
  background-color: var(--mint-2, #69b9a2) !important;
  color:#fff !important;
}
.btn-cta:hover:not(:disabled){
  background-color: var(--brand, #0f8a65) !important;
}

/* Estado deshabilitado: mismo color, sin ese gris triste */
.btn-cta:disabled,
.btn-cta[disabled],
.btn-cta[aria-disabled="true"]{
  background-color: var(--mint-2, #69b9a2) !important;
  color:#fff !important;
  opacity: .55;              /* leve atenuación para indicar “off” */
  cursor: not-allowed !important;
  box-shadow: none !important;
  filter: none !important;   /* por si algún tema aplicaba grises */
}

/* — Prefijo (+56) fijo dentro del input — */
.form-row .input-with-prefix{ position:relative; }
.form-row .input-with-prefix .prefix{
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  font-weight:700; opacity:.75; color:#0f8a65;
}
.form-row .input-with-prefix input{ padding-left:82px !important; }

/* — Etiqueta “(opcional)” suave — */
.badge-optional{ font-size:12px; opacity:.55; margin-left:8px; }

/* — Datepicker estilo compacto mint — */
.hf-dp{ position:absolute; z-index:9999; width:280px; background:#fff;
  border:1px solid #e7f4ef; border-radius:12px; box-shadow:0 12px 28px rgba(0,0,0,.12);
  padding:10px; font:inherit; color:#083c33;
}
.hf-dp__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.hf-dp__head select, .hf-dp__head button{
  border:1px solid #e1efe9; background:#f7fcfa; border-radius:8px; height:30px; padding:0 8px;
}
.hf-dp__head button{ width:30px; font-weight:700; color:#0f8a65; }
.hf-dp__grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.hf-dp__dow{ font-size:12px; text-align:center; opacity:.6; padding:4px 0; }
.hf-dp__day{
  text-align:center; padding:8px 0; border-radius:8px; cursor:pointer; user-select:none;
  border:1px solid transparent;
}
.hf-dp__day:hover{ background:#e9fbf3; border-color:#bfe9db; }
.hf-dp__day.is-out{ opacity:.3; cursor:default; }
.hf-dp__day.is-today{ outline:2px solid #69b9a2; }

/* =============================
   FIX alineación "Registrarse"
   (solo dentro del profilePanel)
   ============================= */

/* La fila de acciones siempre a la misma altura */
#profilePanel .auth-actions,
#profilePanel .actions,
#profilePanel .panel-actions{
  display: flex;
  align-items: center;          /* centra verticalmente el link vs el botón */
  justify-content: space-between;
  gap: 14px;
}

/* El link "Registrarse" se comporta como pill-link, no bloque */
#profilePanel .register-link,
#profilePanel a.signup,
#profilePanel a[href*="register"],
#profilePanel a[href*="signup"]{
  display: inline-flex !important; /* evita que algún a{display:block} lo desajuste */
  align-items: center;
  justify-content: center;
  height: 44px;                    /* misma altura visual del botón de login */
  padding: 0 14px;
  border-radius: 999px;
  line-height: 1;                  /* sin salto por baseline */
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
  color: #0f8a65;                  /* verde de tu paleta */
  border: 1px solid transparent;   /* no cambiamos el botón de login */
  vertical-align: middle;
  margin: 0 !important;            /* neutraliza márgenes heredados */
}

/* Hover/Focus suaves en sintonía con el diseño */
#profilePanel .register-link:hover,
#profilePanel a.signup:hover,
#profilePanel a[href*="register"]:hover,
#profilePanel a[href*="signup"]:hover{
  background: #e9fbf3;             /* mint clarito */
}

#profilePanel .register-link:focus-visible,
#profilePanel a.signup:focus-visible,
#profilePanel a[href*="register"]:focus-visible,
#profilePanel a[href*="signup"]:focus-visible{
  outline: 2px solid #bfe9db;
  outline-offset: 2px;
}

/* Centrar el texto del botón Pagar en el carrito */
#btnPay {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.admin-order-card {
  margin-bottom: 12px;
  border-radius: 12px;
  padding: 12px 14px;
}

.admin-order-card .order-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.admin-order-card .order-header-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-order-card .order-summary-row {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.link-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

.order-detail {
  margin-top: 8px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.order-detail.hidden {
  display: none;
}

.order-detail-list {
  list-style: none;
  padding-left: 0;
  margin: 6px 0;
}

.order-detail-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.order-address .addr-source {
  margin-left: 6px;
  font-size: 0.8rem;
  color: #888;
}

/* ===== Modales HighFood (órdenes, confirmaciones, etc.) ===== */

.hf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.hf-modal {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  font-size: 0.95rem;
}

/* ===== Diseño pestaña pedidos ===== */

.hf-modal h2 {
  margin-bottom: 8px;
}

.hf-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-order-card {
  margin-bottom: 12px;
  border-radius: 18px;
  padding: 12px 18px;
}

.admin-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.admin-order-main {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-order-main .divider {
  opacity: 0.3;
}

.admin-order-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.order-summary {
  font-weight: 500;
}

.link-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

.order-detail {
  margin-top: 8px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.order-detail.hidden {
  display: none;
}

.order-detail-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.od-left {
  flex: 2;
}

.od-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.order-detail-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 8px;
}

.order-detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.9rem;
}

.order-address .addr-source {
  margin-left: 4px;
  font-size: 0.8rem;
  color: #888;
}

.order-detail-total {
  text-align: right;
}

/* Backdrop general de modales HighFood */
.hf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Card principal del modal */
.hf-modal {
  background: linear-gradient(145deg, #1e1237, #431a46);
  color: #f9fafb;
  border-radius: 20px;
  padding: 22px 28px 20px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  font-size: 0.95rem;
}

/* Título en blanco y un poco más grande */
.hf-modal h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

/* Texto interior */
.hf-modal p {
  margin: 4px 0;
}

/* Contenedor de botones */
.hf-modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Botón primario (rosado) dentro de modales */
.hf-modal .btn.primary {
  background: #ff3366;
  border: none;
  color: #fff;
}

/* Botón normal dentro del modal, bordecito claro */
.hf-modal .btn {
  background: transparent;
  border: 1px solid rgba(249, 250, 251, 0.6);
  color: #f9fafb;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-header .title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Botón Volver al inicio en tema oscuro admin */
#goHomeBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: #10b981;          /* verde tipo "success" */
  color: #0b1120;               /* casi negro, combina con fondo oscuro */
  text-decoration: none;
  font-size: 0.9rem;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

#goHomeBtn:hover {
  background: #059669;
}

/* === Dashboard encuestas en Gestión de pedidos === */

.ratings-dashboard {
  max-width: 1120px;
  margin: 0 auto 18px;  /* top 0, centrado, bottom 18 (o el valor que quieras) */
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}



.ratings-dashboard h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.ratings-dashboard .total-surveys {
  font-size: 0.9rem;
  color: #64748b;
}

.ratings-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rating-pill {
  min-width: 140px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5f3ff;
  border: 1px solid #e0ddff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-pill strong {
  margin-left: 4px;
  font-size: 1rem;
}

.last-comments {
  flex: 1 1 260px;
  font-size: 0.85rem;
  color: #475569;
}

.last-comments ul {
  margin-top: 4px;
  padding-left: 18px;
  list-style: disc;
}

.last-comments li {
  margin-bottom: 2px;
}

.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-backdrop .popup {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
}
.popup-backdrop .popup h2 {
  margin-bottom: 8px;
}
.popup-backdrop .popup p {
  margin: 4px 0;
}

/* ===========================
   PERFIL · LAYOUT ESPECÍFICO
   =========================== */

/* 1) Menos espacio entre navbar y contenido SOLO en perfil */
body.perfil-page main.pf-container {
  /* si hay algún margin-top anterior, lo sobreescribimos */
  margin-top: 24px !important;
}

/* Un poquito más de aire solo en pantallas grandes */
@media (min-width: 992px) {
  body.perfil-page main.pf-container {
    margin-top: 32px !important;
  }
}

/* 2) Ancho y centrado del bloque de perfil */
body.perfil-page main.pf-container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* 3) Grid de columnas perfil: que no se “peguen” */
body.perfil-page .pf-grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 28px;   /* espacio entre izquierda y derecha */
  row-gap: 24px;      /* espacio vertical entre filas en responsive */
  align-items: flex-start;
}

/* 4) Separación vertical entre tarjetas de cada columna */
body.perfil-page .pf-col-left > .pf-card,
body.perfil-page .pf-col-right > .pf-card {
  margin-bottom: 16px;
}

/* 5) Por si alguna regla anterior dejó padding raro en el contenedor */
body.perfil-page .pf-card {
  /* mantén estos valores si ya tenías uno similar;
     son solo para asegurarnos de que no se “aplasten” */
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Separación vertical entre tarjetas de la página de perfil */
body.perfil-page .pf-col-left > * + *,
body.perfil-page .pf-col-right > * + * {
  margin-top: 24px;      /* espacio entre Resumen ↔ Editar perfil y Historial ↔ Favoritos */
}

/* Si quieres un poco menos de espacio en pantallas pequeñas */
@media (max-width: 768px) {
  body.perfil-page .pf-col-left > * + *,
  body.perfil-page .pf-col-right > * + * {
    margin-top: 16px;
  }
}

/* ===== Orders admin – layout tipo tabla ===== */

.orders-admin-filters {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 8px 0 10px;
  font-size: 0.82rem;
}

.orders-admin-filters label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.orders-admin-filters select {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 0.82rem;
}

.orders-admin-list {
  padding: 18px 18px 20px;
}

/* Fila de encabezado (cabecera de la “tabla”) */
.orders-admin-header-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.4fr 3fr 1.0fr;
  gap: 12px;
  padding: 8px 18px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  border-radius: 14px;
  background: #f3f4f6;
}

/* última columna alineada a la derecha */
.orders-admin-header-row span:last-child {
  text-align: right;
}

/* Cada pedido → fila de tabla */
.admin-order-card {
  background: #f9fafb;
  border-radius: 14px;
  padding: 8px 18px;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  margin-bottom: 8px;
}

.admin-order-header {
  padding: 0;
}

/* Grid principal de columnas, alineado con el header */
.admin-order-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.4fr 3fr 1.0fr;
  gap: 12px;
  align-items: center;
}

/* Columna acciones (precio / estado / botón) */
.admin-col-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

/* Precio destacado pero compacto */
.order-total {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Cliente: nombre + correo en dos líneas */
.admin-customer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-customer-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-customer-email {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Resumen de productos con “aire” a la derecha */
.admin-order-summary {
  font-size: 0.85rem;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 12px; /* 👈 separa visualmente de la columna de precio */
}

/* Botón Descripción con texto + flecha en la misma línea */
.admin-order-card .link-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: inline-flex;          /* 👈 mantiene texto + flecha juntos */
  align-items: center;
  gap: 4px;
  white-space: nowrap;           /* 👈 evita salto entre palabra y flecha */
}

.admin-order-card .link-btn .arrow {
  line-height: 1;
}

.admin-order-card .link-btn:hover {
  background: #e5e7eb;
}

/* Ajuste badge de estado (ya venía definido global) */
.order-status.badge {
  font-size: 0.78rem;
  padding: 4px 10px;
}

/* Responsive: en mobile vuelve a bloque, pero ordenado */
@media (max-width: 900px) {
  .orders-admin-header-row {
    display: none;
  }

  .admin-order-card {
    padding: 10px 14px;
  }

  .admin-order-grid {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .admin-col-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-customer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .admin-order-summary {
    white-space: normal;
    padding-right: 0;
  }
}

/* === Dashboard encuestas Gestión de pedidos – versión limpia === */

.ratings-dashboard {
  max-width: 1120px;
  margin: 16px auto 24px;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* Fila principal: todo en una línea */
.ratings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Bloque izquierda: título + número de encuestas */
.ratings-main {
  flex: 0 0 auto;
  min-width: 200px;
}

.ratings-main h2 {
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.ratings-main .meta {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Centro: 3 pills en fila */
.ratings-badges {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.rating-pill {
  min-width: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: #f5f3ff;
  border: 1px solid #e0ddff;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Derecha: últimos comentarios */
.ratings-comments {
  flex: 0 0 260px;
}

.ratings-comments h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.ratings-comments-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ratings-comments-list li {
  font-size: 0.85rem;
  line-height: 1.3;
}

.rc-comment {
  font-weight: 500;
}

.rc-meta {
  display: block;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Responsive: en móvil se apila en columna */
@media (max-width: 900px) {
  .ratings-dashboard {
    max-width: 1120px;
    margin: 0 auto 18px;  /* top 0, centrado, bottom 18 (o el valor que quieras) */
    padding: 18px 24px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  }


  .ratings-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ratings-badges {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ratings-comments {
    flex: 1 1 auto;
  }
}

/* Botón "Eliminar pedido" en detalle admin */
.admin-delete-btn {
  margin-top: 10px;
  background: #111827;        /* negro/gris oscuro */
  color: #f9fafb;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
}

.admin-delete-btn:hover {
  filter: brightness(0.9);
}

.auth-legal-hint {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 0.75rem;
  line-height: 1.4;
}

.auth-legal-hint a {
  color: #f4b000;
  text-decoration: none;
}

.auth-legal-hint a:hover {
  text-decoration: underline;
}

/* ==== Pantalla de registro ==== */

.register-page .content {
  padding: 3rem 0 4rem;
}

.register-page h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.register-page .card {
  margin-top: 1rem;
  padding: 2.2rem 2.4rem 2.4rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Inputs en columna, con buen espaciado */
.register-page .pp-row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.register-page .pp-input {
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #dddddd;
  background: #fcfcfc;
}

.register-page .pp-input::placeholder {
  color: #aaaaaa;
}

.register-page .pp-input:focus {
  outline: none;
  border-color: #18a37a;
  box-shadow: 0 0 0 2px rgba(24, 163, 122, 0.18);
  background: #ffffff;
}

/* Mensaje legal ligeramente más discreto */
.register-page .auth-legal-hint {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #7a7a7a;
  line-height: 1.4;
}

.register-page .auth-legal-hint a {
  color: #e59a00;   /* tono similar al de la imagen */
  text-decoration: none;
}

.register-page .auth-legal-hint a:hover {
  text-decoration: underline;
}

/* Botones alineados a la derecha y con espacio */
.register-page .pp-actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
}

/* En mobile, centrar un poco todo el contenido */
@media (max-width: 768px) {
  .register-page .content .container {
    padding: 0 1rem;
  }

  .register-page h1 {
    text-align: left;
    font-size: 2rem;
  }

  .register-page .card {
    padding: 1.8rem 1.6rem 2.1rem;
  }
}

/* ==== Páginas legales: Términos, Privacidad, etc. ==== */

.legal-page {
  background: #f6f7f8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Que el main ocupe el alto restante por encima del footer */
.legal-page main {
  flex: 1;
}

/* Contenedor central */
.legal-container {
  max-width: 900px;
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
}

/* Tarjeta de contenido legal */
.legal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.4rem 2.6rem 2.7rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.legal-card h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-card .legal-meta {
  font-size: 0.82rem;
  color: #888888;
  margin-bottom: 1.4rem;
}

.legal-card h2 {
  font-size: 1.2rem;
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
}

.legal-card p,
.legal-card li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444444;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.2rem;
  margin-top: 0.25rem;
  margin-bottom: 0.8rem;
}

.legal-card a {
  color: #18a37a;
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .legal-container {
    margin: 2.2rem auto 3rem;
    padding: 0 1rem;
  }

  .legal-card {
    padding: 2rem 1.6rem 2.2rem;
  }

  .legal-card h1 {
    font-size: 1.8rem;
  }
}

/* ===== Registro · versión más pro ===== */

.register-page {
  background: linear-gradient(180deg, #bfeede 0, #f5f7fa 34%, #f9fafb 100%);
}

.register-page .content {
  min-height: calc(100vh - 220px); /* deja margen para navbar + footer */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3.5rem 0 4rem;
}

.register-page .content .container {
  max-width: 720px;
}

/* Título + subtítulo */
.register-page h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.register-page .register-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1.2rem;
}

/* Card con halo más marcado */
.register-page .card {
  position: relative;
  margin-top: 0.5rem;
  padding: 2.2rem 2.4rem 2.4rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* Pequeño badge arriba del formulario (opcional, con pseudo) */
.register-page .card::before {
  content: "Registro seguro";
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  font-size: 0.7rem;
  font-weight: 600;
  color: #166534;
}

/* Inputs con look más consistente */
.register-page .pp-input {
  font-size: 0.95rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
}

.register-page .pp-input::placeholder {
  color: #9ca3af;
}

.register-page .pp-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
  background: #ffffff;
}

/* Texto legal más integrado */
.register-page .auth-legal-hint {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.register-page .auth-legal-hint a {
  color: #d97706;
}

/* Botones: registrar como CTA principal muy evidente */
.register-page .pp-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.register-page .pp-actions .btn {
  min-width: 120px;
}

.register-page .pp-actions .btn-primary {
  background: #059669;
  border-color: #059669;
}

.register-page .pp-actions .btn-primary:hover {
  background: #047857;
  border-color: #047857;
}

/* Mobile */
@media (max-width: 768px) {
  .register-page .content {
    align-items: flex-start;
    padding-top: 2.4rem;
  }

  .register-page h1 {
    font-size: 2rem;
  }

  .register-page .card {
    padding: 1.9rem 1.6rem 2.1rem;
  }
}
/* Pill "Registro seguro" en registro */
.auth-safe-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(191, 238, 222, 0.55); /* mint suave */
  color: #047857;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.auth-safe-pill .safe-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;             /* verde “online” */
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

/* Fila inferior del formulario de registro:
   "Registro seguro" a la izquierda, botones a la derecha */
.reg-footer-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* En móvil: pill arriba y botones abajo, pero centrados */
@media (max-width: 640px) {
  .reg-footer-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .reg-footer-row .pp-actions {
    justify-content: flex-end;
  }
}

/* Píldora “Registro seguro” */
.reg-safe-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e9fbf3;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f8a65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(15, 138, 101, 0.2);
  position: relative;
  padding-left: 28px; /* deja espacio para el “led” */
}

/* Puntito verde tipo “led seguro” */
.reg-safe-pill::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}

/* Main de páginas legales (terminos, privacidad, etc.) */
main.legal-page {
  flex: 1 0 auto;                 /* para que empuje el footer al final */
  padding: 48px 0 80px;           /* TOP más grande, BOTTOM para que no “invada” el footer */
  background: linear-gradient(180deg, #f6fffb 0%, #f9fafb 40%, #f9fafb 100%);
}

/* Card blanca de términos */
.legal-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px 40px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.10);
}

/* Títulos y contenido internos, por si no los tenías aún */
.legal-wrapper h1 {
  font-size: clamp(28px, 3vw, 36px);
  margin: 0 0 8px;
}

.legal-updated {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 0.9rem;
}

.legal-wrapper h2,
.legal-wrapper h3 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-wrapper p,
.legal-wrapper li {
  line-height: 1.6;
  color: #111827;
}

/* Fila inferior en registro: pill + botones en la misma línea */
.reg-footer-row {
  margin-top: 18px;
  display: flex;
  align-items: center;          /* centra verticalmente pill y botones */
  justify-content: space-between;
  gap: 16px;
}

/* En móvil: pill arriba, botones abajo pero centrados */
@media (max-width: 640px) {
  .reg-footer-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

/* Pill "Registro seguro" */
.auth-safe-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e9fbf3;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f8a65;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 44px;            /* misma altura que el botón */
}

/* Punto verde */
.auth-safe-pill .safe-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}

/* Por si acaso: alinea los botones entre sí */
.pp-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ===== REGISTER · sin "Registro seguro" ===== */

/* Mata el badge superior generado con ::before */
.register-page #regForm.card::before {
  content: none !important;
  display: none !important;
}

/* Por si quedó alguna clase suelta */
.register-page .auth-safe-pill,
.register-page .safe-dot {
  display: none !important;
}

/* Fila inferior: solo botones, alineados a la derecha */
.register-page .reg-footer-row {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.register-page .pp-actions {
  display: flex;
  gap: 10px;
}

/* En móvil los botones se acomodan mejor */
@media (max-width: 640px) {
  .register-page .reg-footer-row {
    justify-content: center;
  }

  .register-page .pp-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* =========================
   PÁGINA NOSOTROS / ABOUT
   ========================= */

.about-page {
  background: #f9fafb;
}

/* --- HERO SOBRE HIGHFOOD --- */

.about-hero {
  padding: clamp(56px, 7vw, 80px) 0 40px;
  background: linear-gradient(180deg, rgba(191, 238, 222, 0.45), #ffffff 70%);
}

.about-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.about-hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.4vw, 40px);
  color: #0f172a;
}

.about-lead {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}

.about-lead-secondary {
  margin: 0 0 18px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #4b5563;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 22px;
}

/* Tarjeta lateral (hero card) */

.about-hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.about-hero-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #0f172a;
}

.about-pill-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.95rem;
  color: #4b5563;
}

.about-pill-list li + li {
  margin-top: 6px;
}

/* Responsive hero */

@media (max-width: 900px) {
  .about-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero-card {
    order: -1; /* en móvil la card puede subir, si prefieres puedes quitar esto */
  }
}

/* --- QUÉ NOS HACE DISTINTOS (PILARES) --- */

.about-pillars {
  padding: 32px 0 40px;
  background: #ffffff;
}

.about-pillars > .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.about-pillars h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 30px);
  color: #111827;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-pillar-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.about-pillar-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #0f172a;
}

.about-pillar-card p {
  margin: 0;
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.5;
}

/* Responsive pilares */

@media (max-width: 820px) {
  .about-pillars-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- CÓMO FUNCIONA (PASOS) --- */

.about-how {
  padding: 32px 0 42px;
  background: #f9fafb;
}

.about-how > .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.about-how h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 30px);
  color: #111827;
}

.about-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-how-step {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.step-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #bfeede;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
}

.about-how-step h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: #0f172a;
}

.about-how-step p {
  margin: 0;
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.5;
}

/* Responsive pasos */

@media (max-width: 980px) {
  .about-how-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- COMPROMISOS / CONFIANZA --- */

.about-trust {
  padding: 32px 0 40px;
  background: #ffffff;
}

.about-trust > .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.about-trust h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 30px);
  color: #111827;
}

.about-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.trust-item {
  border-radius: 16px;
  padding: 16px 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: #0f172a;
}

.trust-item p {
  margin: 0;
  font-size: 0.94rem;
  color: #4b5563;
}

/* Responsive compromisos */

@media (max-width: 820px) {
  .about-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- CTA FINAL --- */

.about-cta-strip {
  padding: 30px 0 40px;
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #f9fafb;
}

.about-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.about-cta-inner h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 28px);
}

.about-cta-inner p {
  margin: 0;
  font-size: 0.94rem;
  color: #e5e7eb;
}

.about-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-cta-actions .btn {
  min-width: 140px;
}

/* Responsive CTA */

@media (max-width: 820px) {
  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   NOSOTROS · "Lo que buscamos"
   ========================= */
.about-goals-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 20px 24px;
  max-width: 420px;
  margin-left: auto;          /* se mantiene alineado a la derecha */
  margin-right: 0;
  align-self: center;         /* se centra verticalmente respecto a la columna izquierda */
  
  /* Lo importante: que NO tenga altura fija */
  height: auto;
  min-height: 0;
}

.about-goals-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.about-goals-card ul {
  margin: 0;
  padding-left: 18px;
}

.about-goals-card li {
  margin-bottom: 6px;
}

/* =========================
   NOSOTROS · Ajuste footer
   ========================= */

/* El <main> de Sobre HighFood */
#sobre-highfood {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Footer pegado al CTA, sin franja rara */
body.nosotros-page .site-footer {
  margin-top: 0 !important;
  padding-top: 40px;              /* el aire interno lo damos aquí */
  background-color: #021b14;      /* el verde oscuro que ya usas */
}

/* Por si el "cintillo" viene de un ::before decorativo */
body.nosotros-page .site-footer::before {
  content: none !important;
  display: none !important;
}

/* ============================
   Botones tipo "pill" generales
   ============================ */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;           /* forma de píldora */
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;          /* sin subrayado */
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.10s ease;
}

/* Variante contorno claro (Crear cuenta) */
.btn-pill--outline-light {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* Variante sólida verde (Hazte socio) */
.btn-pill--solid-green {
  background: #0f8a65;
  color: #ffffff;
}

/* Hovers */
.btn-pill--outline-light:hover {
  background: #ffffff;
  color: #021b14;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-pill--solid-green:hover {
  background: #0c7355;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* ============================
   CTA final – Sobre HighFood
   ============================ */

.about-cta-strip {
  background: #08121f;
  color: #ffffff;
  padding: 52px 0 64px;
}

/* Texto + botones como una sola unidad centrada,
   pero con el texto a la izquierda y botones a la derecha */
.about-cta-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;                       /* distancia entre texto y botones */
}

/* Columna de texto */
.about-cta-text {
  max-width: 620px;
}

.about-cta-text h2 {
  font-size: 2.25rem;
  margin-bottom: 10px;
}

.about-cta-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Columna de botones */
.about-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Mismo ancho para ambos botones del CTA */
.about-cta-actions .btn-pill {
  width: 260px;                   /* ambos iguales */
  justify-content: center;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .about-cta-actions {
    align-items: flex-start;
  }

  .about-cta-actions .btn-pill {
    width: 100%;
    max-width: 260px;
  }
}

/* Link pequeño bajo el campo de contraseña del panel de Cuenta */
.profile-panel .login-extra {
  margin-top: 2px;
  text-align: left;
}

.profile-panel .login-forgot {
  font-size: 11px;
  opacity: 0.8;
  text-decoration: none;
  color: #008f5a;   /* puedes ajustar al verde de tu paleta */
  cursor: pointer;
}

.profile-panel .login-forgot:hover {
  opacity: 1;
  text-decoration: none;
}

/* Contenedor de toasts */
.hf-toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 11000;
}

/* Base del toast */
.hf-toast {
  min-width: 260px;
  max-width: 320px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.92); /* slate oscuro */
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.55);
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Variantes por tipo */
.hf-toast-success {
  background: rgba(5, 122, 85, 0.95);   /* verde éxito */
}

.hf-toast-error {
  background: rgba(185, 28, 28, 0.96);  /* rojo error */
}

.hf-toast-info {
  /* si no defines, usa el base */
}

/* Animación de salida */
.hf-toast-hide {
  opacity: 0;
  transform: translateY(10px);
}

/* === Páginas de auth (register/forgot/reset) === */

.register-page {
  background: #e6f7f0;
}

.register-page .auth-page {
  display: flex;
  justify-content: center;
  padding: 40px 16px 64px;
}

.register-page .auth-shell {
  width: 100%;
  max-width: 460px;
}

.register-page .auth-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.28);
  border: 1px solid #e5e7eb;
}

.register-page .auth-title {
  font-size: 2.3rem;
  line-height: 1.1;
  margin: 0 0 6px;
}

.register-page .auth-subtitle {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #6b7280;
}

.register-page .auth-form .form-group {
  margin-bottom: 16px;
}

.register-page .auth-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #374151;
}

.register-page .auth-form .input {
  width: 100%;
  height: 42px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  transition: all 0.15s ease;
}

.register-page .auth-form .input:focus {
  outline: none;
  border-color: #10b981;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
}

.register-page .auth-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* Link "¿Olvidaste tu contraseña?" dentro del panel de cuenta */
#profilePanel .pp-forgot {
  margin-top: 4px;
  text-align: left;
}

#profilePanel .pp-forgot a {
  font-size: 0.8rem;        /* un poco más pequeño */
  color: #6b7280;           /* gris elegante */
  text-decoration: none;
}

#profilePanel .pp-forgot a:hover {
  color: #0f8a65;           /* verde marca al pasar el mouse */
  text-decoration: underline;
}

/* =========================================================
   RESET PASSWORD · Estilos específicos
   Afecta solo a <body class="auth-page reset-page">
   ========================================================= */

.auth-page.reset-page {
  background: radial-gradient(circle at top, #ecfdf3 0, #ffffff 45%, #f5f5f7 100%);
  min-height: 100vh;
}

/* Reutilizamos la misma estructura de tarjetas que forgot-password */
.auth-page.reset-page .auth-shell-centered {
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

@media (min-width: 768px) {
  .auth-page.reset-page .auth-shell-centered {
    align-items: center;
    min-height: calc(100vh - 72px); /* descuenta navbar */
  }
}

/* Card “pro” */
.auth-page.reset-page .auth-card-elevated {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 24px 22px;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Header con icono */
.auth-page.reset-page .auth-card-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

/* Círculo verde (éxito) para el icono */
.auth-icon-circle-success {
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 163, 74, 0.09); /* verde suave */
  color: #15803d;
}

.auth-icon {
  font-size: 24px;
}

/* Título y subtítulo */
.auth-page.reset-page .auth-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: #0f172a;
}

.auth-page.reset-page .auth-subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #6b7280;
}

/* Divider dentro de la tarjeta */
.auth-page.reset-page .auth-divider {
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  margin: 12px 0 18px;
}

/* Labels + inputs */
.auth-page.reset-page .auth-form .form-group {
  margin-bottom: 10px;
}

.auth-page.reset-page .auth-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 4px;
  display: inline-block;
}

/* Texto de ayuda bajo los campos */
.auth-page.reset-page .helper-text {
  margin-top: 4px;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 0.78rem;
}

/* Botón ancho */
.auth-page.reset-page .btn-full {
  width: 100%;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
}

/* Bloque explicativo inferior */
.auth-page.reset-page .auth-hint-box {
  margin-top: 18px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px dashed rgba(148, 163, 184, 0.8);
}

.auth-page.reset-page .auth-hint-title {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
}

.auth-page.reset-page .auth-hint-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.8rem;
  color: #4b5563;
}

.auth-page.reset-page .auth-hint-list li + li {
  margin-top: 2px;
}

/* Navbar: link pequeño a login */
.auth-page.reset-page .nav-link-sm {
  font-size: 0.8rem;
  color: #4b5563;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.auth-page.reset-page .nav-link-sm:hover {
  background: #f3f4f6;
  border-color: rgba(148, 163, 184, 0.6);
}

/* Responsive extra pequeño */
@media (max-width: 400px) {
  .auth-page.reset-page .auth-card-elevated {
    padding: 20px 16px 18px;
    border-radius: 12px;
  }
}

.table-wrap-small {
  max-height: 260px;    /* ajustable: 5 filas aprox, prueba y sube/baja si quieres */
  overflow-y: auto;
}

/* Scroll interno para tablas de Usuarios y Solicitudes */
.card .table-wrap.table-wrap-small {
  max-height: 260px !important;   /* aprox 5 filas; ajusta si quieres */
  overflow-y: auto !important;
  overflow-x: auto;
  display: block;
}

/* ===========================
   SOPORTE / CONTACTO RESPONSIVE
   =========================== */

.support-page .support-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: flex-start;
  margin-top: 18px;
}

.support-page .support-main .card,
.support-page .support-side .card {
  width: 100%;
}

/* FAQs */
.support-faq-list {
  margin-top: 8px;
}

.support-faq-item {
  margin-bottom: 14px;
}

.support-faq-q {
  font-weight: 600;
  margin-bottom: 4px;
}

.support-faq-a {
  font-size: 0.9rem;
  color: #4b5563;
}

/* Formulario de contacto */
.support-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.support-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.support-form .input,
.support-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 6px 8px;
  font-size: 0.9rem;
}

.support-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Versión mobile: stack en una columna */
@media (max-width: 900px) {
  .support-page .support-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* === Para ser socio · Card "Hazte socio" PRO v18 (scope solo aquí) === */

/* Tarjeta destacada */
.para-ser-socio .steps .step.final-step{
  border: 2px solid #f4b000;                 /* borde dorado */
  box-shadow: 0 12px 30px rgba(244,176,0,.16);
}

/* Icono cuadrado amarillo */
.para-ser-socio .step.final-step .icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 18px;
  font-size: 28px;                           /* tamaño de la estrella */
  background: radial-gradient(circle at 30% 20%, #ffe98f 0, #ffc53d 45%, #f9a826 100%);
  box-shadow: 0 8px 20px rgba(249,168,38,.35);
}

/* Título un poco más protagonista */
.para-ser-socio .step.final-step h3{
  color: #0f172a;
  font-weight: 700;
}

/* Texto de la tarjeta */
.para-ser-socio .step.final-step p{
  color: #1f2933;
}

/* Botón "Hazte socio" SOLO en esta card */
.para-ser-socio .step.final-step .btn-main{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 11px 32px;
  min-width: 210px;
  border-radius: 999px;                      /* pill */
  border: none;
  font-size: .95rem;
  font-weight: 600;
  background: linear-gradient(90deg, #ffb347, #ff7a00);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(249,115,22,.38);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.para-ser-socio .step.final-step .btn-main:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(249,115,22,.48);
  filter: brightness(1.03);
}

/* === Medalla mejorada para "Hazte socio" === */

.para-ser-socio .step.final-step .icon{
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 20px; /* cuadrado con esquinas suaves */
  background: linear-gradient(135deg, #fff4c7, #ffd45a);
  box-shadow: 0 10px 26px rgba(245,158,11,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0; /* por si hubiera texto */
}

/* Ocultar cualquier imagen / svg original solo en esta card */
.para-ser-socio .step.final-step .icon img,
.para-ser-socio .step.final-step .icon svg{
  display: none;
}

/* Círculo interior de la medalla */
.para-ser-socio .step.final-step .icon::before{
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fff9db 0, #ffd45a 55%, #f59e0b 100%);
  box-shadow: 0 4px 10px rgba(245,158,11,.4);
}

/* Estrella central */
.para-ser-socio .step.final-step .icon::after{
  content: "★";
  position: relative;
  font-size: 24px;
  color: #f97316;
  text-shadow: 0 2px 3px rgba(194,65,12,.45);
}

/* Micro-hover acompañando a la card */
.para-ser-socio .step.final-step:hover .icon{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245,158,11,.55);
}

/* === Medalla limpia y centrada para "Hazte socio" === */

.para-ser-socio .step.final-step .icon{
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;               /* centrado horizontal */
  border-radius: 20px;               /* cuadrado con esquinas suaves */
  background: radial-gradient(circle at 30% 20%, #fff7cf 0, #ffd858 55%, #f59e0b 100%);
  box-shadow: 0 10px 26px rgba(245,158,11,.35);
  display: flex;
  align-items: center;               /* centra vertical */
  justify-content: center;           /* centra horizontal */
  padding: 0;
  font-size: 0;                      /* por si hay texto dentro */
  overflow: hidden;
}

/* Oculta lo que venga del HTML original (img/svg/span con estrella vieja) */
.para-ser-socio .step.final-step .icon > img,
.para-ser-socio .step.final-step .icon > svg,
.para-ser-socio .step.final-step .icon > span{
  display: none !important;
}

/* Estrella centrada */
.para-ser-socio .step.final-step .icon::before{
  content: "★";
  display: block;
  font-size: 26px;
  color: #f97316;
  text-shadow: 0 2px 3px rgba(194,65,12,.45);
}

/* Micro-hover para darle vida */
.para-ser-socio .step.final-step:hover .icon{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245,158,11,.55);
}

/* === Hazte socio: volver al logo básico y centrarlo === */

.para-ser-socio .step.final-step .icon{
  /* centrado dentro de la tarjeta */
  margin: 0 auto 18px;
  display: block;
  
  /* quitar todos los inventos anteriores */
  padding: 0;
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* eliminar pseudo-elementos que habíamos creado antes */
.para-ser-socio .step.final-step .icon::before,
.para-ser-socio .step.final-step .icon::after{
  content: none !important;
}

/* asegurarnos de que la imagen original se vea y quede centrada */
.para-ser-socio .step.final-step .icon img,
.para-ser-socio .step.final-step .icon svg{
  display: block !important;
  margin: 0 auto;
}

/* === Hazte socio: logo básico, sin recuadro y centrado === */

.para-ser-socio .step.final-step .icon{
  display: inline-block;              /* que se ajuste al tamaño del contenido */
  margin: 0 auto 18px;                /* centrado horizontal */
  padding: 0;
  width: auto;
  height: auto;
  background: transparent !important; /* sin recuadro */
  box-shadow: none !important;
  border-radius: 0;
  border: 0;
}

/* por si quedaron pseudo-elementos de experimentos anteriores */
.para-ser-socio .step.final-step .icon::before,
.para-ser-socio .step.final-step .icon::after{
  content: none !important;
}

/* aseguramos que la imagen del logo se vea centrada */
.para-ser-socio .step.final-step .icon img,
.para-ser-socio .step.final-step .icon svg{
  display: block !important;
  margin: 0 auto;
}

/* ===== Sistema de botones HighFood (versión PRO) ===== */

.btn-hf{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

/* NARANJO principal (Hazte socio, CTA, etc.) */
.btn-hf--orange{
  background: linear-gradient(90deg, #ffb347, #ff7a00);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(249,115,22,.35);
}

.btn-hf--orange:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(249,115,22,.48);
  filter: brightness(1.03);
}

/* VERDE principal (Hazte socio verde, botones de guía/nosotros si quieres en verde) */
.btn-hf--green{
  background: linear-gradient(90deg, #16a34a, #0f766e);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(5,150,105,.32);
}

.btn-hf--green:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(5,150,105,.45);
  filter: brightness(1.04);
}

/* Versión “ghost” o secundaria si la necesitas (solo borde) */
.btn-hf--outline{
  background: transparent;
  color: #0f766e;
  border: 1px solid rgba(15,118,110,.5);
  box-shadow: none;
}

.btn-hf--outline:hover{
  background: rgba(240,253,250,.9);
  box-shadow: 0 8px 18px rgba(15,118,110,.2);
}

/* Tamaño un poco más ancho para CTAs grandes (opcional) */
.btn-hf--lg{
  padding-inline: 40px;
}

/* === INICIO (y resto del sitio): pegar el footer al contenido === */
.site-footer {
  margin-top: 0 !important;
}

/* === Age Gate HighFood === */

.age-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease-out;
}

.age-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 0.22s ease-out,
    transform 0.22s ease-out;
  padding: 1.5rem;
}

.age-modal-inner {
  max-width: 420px;
  width: 100%;
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.9rem 1.8rem 1.6rem;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(148, 163, 184, 0.3);
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Icono circular */

.age-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #4ade80, #16a34a);
  color: #f9fafb;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.4);
}

.age-title {
  margin: 0;
}

.age-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
}

.age-text {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
  color: #111827;
}

.age-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1.1rem;
}

/* Botones */

.age-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.age-btn {
  min-width: 120px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.16s ease-out,
    color 0.16s ease-out,
    box-shadow 0.16s ease-out,
    transform 0.08s ease-out;
}

.age-btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  box-shadow: 0 12px 25px rgba(22, 163, 74, 0.4);
}

.age-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.5);
}

.age-btn-ghost {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}

.age-btn-ghost:hover {
  background: #e5e7eb;
}

/* Estado visible (se activa por JS) */

.age-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.age-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Responsivo pequeño */

@media (max-width: 480px) {
  .age-modal-inner {
    padding: 1.6rem 1.3rem 1.4rem;
  }

  .age-modal h2 {
    font-size: 1.25rem;
  }

  .age-actions {
    flex-direction: column;
  }

  .age-btn {
    width: 100%;
  }
}

/* Columna de marca: logo + texto alineados dentro de su celda */
.site-footer .footer-brand {
  display: flex;
  align-items: center;   /* centra verticalmente dentro del padding de la columna */
  gap: 20px;
}

/* Logo */
.site-footer .footer-brand img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Texto al lado del logo */
.site-footer .footer-brand p {
  margin: 0;
  max-width: 360px;
  line-height: 1.55;
  text-align: left;
}

/* Contenedor de los íconos de redes en la columna CONTACTO */
.site-footer .footer-social {
  display: flex;
  justify-content: center;   /* centra el grupo de íconos en la columna */
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

/* Cada enlace de red social */
.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

/* Imágenes de los íconos (IG + WSP) */
.site-footer .footer-social img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;       /* opcional, para que ambos queden con la misma forma */
  object-fit: cover;
}

/* Sección "Para ser socio empieza por" */
.para-ser-socio {
  margin-top: 0px;      /* clave: que no empuje hacia abajo */
  padding-top: 48px;     /* si quieres dejar algo de aire, pon 16px en vez de 0 */
}

/* El h2 es el que mete la mayor parte del espacio */
.para-ser-socio > h2 {
  margin-top: 0px;          /* quita el salto blanco arriba */
  margin-bottom: 24px;    /* separación normal respecto de las tarjetas */
}
