/* Variables CSS para temas de colores */
:root {
  /* Tema por defecto (original) */
  --primary-color: #fc7d12;
  --primary-light: #8bc28b;
  --primary-dark: #124944;
  --secondary-color: #2f4858;
  --accent-color: #b1e1b2;
  --text-color: #37937b;
  --text-white: #ffffff;
  --background-overlay: rgba(255, 255, 255, 0.8);
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Temas alternativos */
.ytc-am {
  --primary-color: #1e5b56;
  --primary-light: #8bc28b;
  --primary-dark: #8B1538;
  --secondary-color: #999;
  --accent-color: #b1e1b2;
  --text-color: #124944;
}

.ytc-fem {
  --primary-color: #A10632;
  --primary-light: #C41E3A;
  --primary-dark: #441238;
  --secondary-color: #724C61;
  --accent-color: #FF6FAA;
  --text-color: #A10632;
}

.ytc-da {
  --primary-color: #2c4e9a;
  --primary-light: #6db430;
  --primary-dark: #6db430;
  --secondary-color: #6c6155;
  --accent-color: #6db430;
  --text-color: #2c4e9a;
}

.ytc-pyme {
  --primary-color: #0c5b96;
  --primary-light: #bfbbb4;
  --primary-dark: #0c5b96;
  --secondary-color: #ec672c;
  --accent-color: #e1d4b1;
  --text-color: #0c5b96;
}

/* Tipografías personalizadas Jost */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body, html, input, textarea, select, button, h1, h2, h3, h4, h5, h6, p, a, li, span, div {
  font-family: 'Jost', Arial, sans-serif !important;
  font-weight: 500;
}

strong, b, .font-bold {
  font-weight: 600;
}

#mainHeader {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2px 0 2px 15px; /* padding más compacto para 720p */
}

#mainHeader.transparent {
  background-color: transparent !important;
  box-shadow: none !important;
}

#mainHeader.scrolled {
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* 
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s;
}

header.transparent {
  background-color: transparent;
  box-shadow: none;
}

header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
} */

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 10px; /* padding más compacto */
  height: 100%;
  min-height: 60px; /* altura más compacta para 720p */
}

.logo {
  display: flex;
  align-items: flex-start; /* logo pegado arriba */
  justify-content: flex-start;
  position: relative;
  height: 100%;
}

.logo img {
  display: block;
  margin: 2px 0 0 0;
  height: 80px !important; /* más compacto para 720p */
  object-fit: contain;
  max-width: none !important;
  width: auto !important;
  z-index: 10;
  position: relative;
  transform: none;
}

.logo .subtitle {
  display: block;
  font-size: 12px;
  color: var(--primary-light);
  margin-top: -6px;
  text-align: center;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  background-color: var(--primary-color);
  padding: 5px 12px; /* padding más compacto */
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-left: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px; /* gap más compacto para 720p */
  margin: 0;
  padding: 0 0 0 20px;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--text-white);
  font-size: 16px; /* más compacto para 720p */
  font-weight: 500;
}

.cart-icon {
  height: 24px;
  vertical-align: middle;
}

.main__site {
    min-height: 20vh;
    display: flex;
    padding-top: 0 !important; /* Quitar espacio superior global */
    /* padding-bottom: 90px; altura del footer */
}

.user-login-form {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  background-color: #fff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.footer {
  background-color: var(--secondary-color);
  color: var(--text-white);
  padding: 25px 15px; /* padding más compacto para 720p */
  font-family: 'Poppins', sans-serif;
}

.footer__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px; /* gap más pequeño para 720p */
}

.footer__logo img {
  height: 70px; /* más pequeño para 720p */
}

.footer__column h3 {
  font-size: 16px; /* más pequeño para 720p */
  font-weight: 600;
  margin-bottom: 12px;
}

.footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__column ul li {
  margin-bottom: 6px; /* menos espacio para 720p */
  font-weight: 400;
  font-size: 14px; /* texto más pequeño */
}

.footer__column a {
  text-decoration: none;
  color: var(--text-white);
  transition: opacity 0.3s;
}

.footer__column a:hover {
  opacity: 0.75;
}

.footer__social a {
  margin-right: 10px;
  font-size: 18px;
  color: var(--text-white);
}

.footer__legal ul {
  margin-bottom: 20px;
}

.footer__apps {
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 4px;
  flex-wrap: wrap;
}

.footer__apps img {
  height: 32px;
}

/* Quitar iconos sociales de la parte superior en todas las vistas */
.footer__social-mobile, .footer__social {
  display: none !important;
}

/* HAMBURGER MENU BUTTON: alineado a la derecha */
.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary-color);
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  padding: 8px 16px;
  z-index: 1100;
  position: absolute;
  right: 0;
  top: 0;
}
.burger-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 900px) {
  .burger-menu {
    display: inline-block;
  }
  .menu-wrapper {
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    width: 100vw;
    left: 0;
    right: 0;
    min-height: 48px;
    position: fixed;
    top: 0;
    z-index: 1101;
  }
  .nav-menu {
    width: 100vw;
    left: 0;
    right: 0;
    position: fixed;
    top: 61px; /* 56px + 5px extra de separación */
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 8px 0;
  }
  .nav-menu.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    background: var(--primary-color);
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu li a {
    width: 100%;
    display: block;
    padding: 12px 20px;
    font-size: 20px;
    border-radius: 0;
    text-align: right;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    gap: 0;
    padding: 0 0 8px 0;
  }
  .nav-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .nav-menu li a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 20px;
    border-radius: 0;
    text-align: left;
    min-height: 44px;
    box-sizing: border-box;
  }
  .cart-icon {
    height: 24px;
    max-width: 28px;
    object-fit: contain;
    margin: 0 0 0 8px;
    vertical-align: middle;
    display: inline-block;
  }
}

/* Quitar iconos sociales de la parte superior en mobile y desktop */
.footer__social-mobile, .footer__social {
  display: none !important;
}

/* SOCIAL ICONS ABOVE FOOTER ON MOBILE */
@media (max-width: 600px) {
  .footer__social-mobile {
    display: none !important;
  }
  .footer__social {
    display: flex !important;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 22px;
    gap: 18px;
    order: 0;
  }
  .footer__column.footer__contact ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* HAMBURGER MENU: menu inicia debajo del logo y fondo verde cuando abierto */
@media (max-width: 900px) {
  .menu-wrapper {
    position: relative;
    z-index: 1002;
  }
  .nav-menu {
    top: calc(100% + 8px);
    left: 0;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1001;
  }
  .nav-menu.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    background: var(--primary-color);
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  }
  #mainHeader.menu-open {
    background: var(--primary-color) !important;
    transition: background 0.3s;
  }
  #mainHeader.menu-open .logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
  }
}

@media (max-width: 600px) {
  #mainHeader {
    padding: 5px 10px;
  }
  .logo img {
    height: 24px;
  }
  .menu-wrapper {
    padding: 8px 4px;
  }
  .burger-menu {
    right: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
  }
  .footer__container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 0 8px;
  }
  .footer__logo img {
    height: 60px;
  }
  .footer__column h3 {
    font-size: 16px;
  }
  .footer__column ul li {
    font-size: 14px;
  }
}

/* FOOTER RESPONSIVE */
@media (max-width: 900px) {
  .footer__container {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    padding: 0 16px;
  }
  .footer__logo img {
    height: 70px;
  }
}

/* Membership sección redonda y verde en mobile, títulos y spans en verde */
@media (max-width: 600px) {
  .membership {
    border-top-right-radius: 60px;
    border-top-left-radius: 0;
    background: var(--primary-light-color);
    color: var(--text-white);
    margin-top: 0;
    padding: 40px 10px 30px;
  }
  .membership h2 {
    color: var(--primary-color) !important;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    display: block;
    background: var(--text-white);
    border-radius: 16px;
    padding: 8px 0;
    width: 100%;
    box-sizing: border-box;
  }
  .membership__items span, .membership__items .item-horizontal span {
    color: var(--primary-color) !important;
    font-size: 20px;
    font-weight: 500;
    display: block;
    background: var(--text-white);
    border-radius: 8px;
    padding: 4px 0;
    margin: 8px 0 0 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

@media (max-width: 900px) {
  /* Quitar barra verde extra del menu-wrapper */
  .menu-wrapper {
    background: none !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    width: 100vw;
    left: 0;
    right: 0;
    min-height: 48px;
    position: fixed;
    top: 0;
    z-index: 1101;
    display: flex;
    align-items: center;
  }
  .logo img {
    filter: none !important;
    height: 72px !important; /* 50% más grande que 48px */
    margin-left: 0 !important;
    background: transparent;
    display: block;
  }
  .nav-menu {
    width: 100vw;
    left: 0;
    right: 0;
    position: fixed;
    top: 61px; /* 56px + 5px extra de separación */
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 8px 0;
    background: #1e5b56;
  }
  .nav-menu.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    background: #1e5b56;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu li a {
    width: 100%;
    display: block;
    padding: 12px 20px;
    font-size: 20px;
    border-radius: 0;
    text-align: right;
  }
}

/* OCULTAR ICONOS DE REDES SOCIALES EN HOME HERO EN MOBILE */
@media (max-width: 900px) {
  .hero .social-icons,
  .hero .social-icons a {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: transparent !important;
    background: none !important;
    border: none !important;
  }
}

#mainHeader.menu-open .burger-bar {
  background: #fff !important;
}

@media (max-width: 1024px) {
  .burger-menu {
    right: 30px !important;
  }
  .nav-menu {
    padding-right: 30px !important;
  }
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: #fff !important;
  min-width: 100vw;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  box-shadow: none !important;
  outline: none !important;
}

/* Elimina cualquier borde blanco de los extremos */
#mainHeader, .footer, .main__site, .container, .hero-bg-wrapper, .hero-bg, .hero, .membership {
  border: none !important;
  box-shadow: none !important;
  background-clip: border-box !important;
}

/* Evita que el scroll horizontal muestre fondo blanco */
* {
  box-sizing: border-box;
}

@media (max-width: 900px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
  }
}