/**
 * Components CSS - Mibu.es
 * Componentes reutilizables (buttons, cards, header, footer, etc.)
 */

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-2xl); }
}

p {
  margin-bottom: var(--space-md);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-light);
  border-color: var(--color-secondary-light);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-light {
  background-color: white;
  color: var(--color-primary);
  border-color: white;
}

.btn-light:hover {
  background-color: var(--color-surface);
  color: var(--color-primary-dark);
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);

  /* Liquid Glass Effect */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Sutil borde y sombra */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);

  height: var(--header-height-mobile);
}

@media (min-width: 768px) {
  .site-header {
    height: var(--header-height);
  }
}

.header__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-decoration: none;
}

.header__logo:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.header__logo img {
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .header__logo img {
    height: 50px;
  }
}

.header__nav {
  display: none;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
    gap: var(--space-lg);
  }
}

.header__nav-link {
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  position: relative;
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.header__nav-link--active {
  color: var(--color-primary);
  text-decoration: none;
}

.header__nav-link--active::after {
  width: 100%;
}

.header__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: fixed;
  top: 12px;
  right: var(--space-md);
  z-index: var(--z-popover);
  transition: background-color var(--transition-fast);
}

/* Fondo sólido para hamburger cuando el menú está abierto */
.header__mobile-toggle[aria-expanded="true"] {
  background-color: white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .header__mobile-toggle {
    display: none;
  }
}

.header__social {
  display: none;
}

@media (min-width: 1024px) {
  .header__social {
    display: flex;
    gap: var(--space-sm);
  }
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* ========================================
   MOBILE MENU
   ======================================== */

/* Hamburger Icon */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger__line {
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-base);
  transform-origin: center;
}

/* Hamburger to X animation */
.header__mobile-toggle[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.header__mobile-toggle[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__mobile-toggle[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s var(--transition-base), opacity var(--transition-base);
}

.mobile-menu[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity var(--transition-base);
}

/* Semi-transparent backdrop */
.mobile-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

/* Menu content container */
.mobile-menu__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  height: 100%;
  padding: var(--space-3xl) var(--space-lg);
  transform: translateY(-20px);
  transition: transform var(--transition-slow);
}

.mobile-menu[aria-hidden="false"] .mobile-menu__content {
  transform: translateY(0);
}

/* Menu links */
.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: white;
  text-decoration: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateX(-20px);
}

/* Stagger animation for menu links */
.mobile-menu[aria-hidden="false"] .mobile-menu__link {
  animation: slideInMobile var(--transition-slow) forwards;
}

.mobile-menu[aria-hidden="false"] .mobile-menu__link:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu[aria-hidden="false"] .mobile-menu__link:nth-child(2) {
  animation-delay: 0.15s;
}

.mobile-menu[aria-hidden="false"] .mobile-menu__link:nth-child(3) {
  animation-delay: 0.2s;
}

.mobile-menu[aria-hidden="false"] .mobile-menu__link:nth-child(4) {
  animation-delay: 0.25s;
}

.mobile-menu[aria-hidden="false"] .mobile-menu__link:nth-child(5) {
  animation-delay: 0.3s;
}

@keyframes slideInMobile {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu__link:hover,
.mobile-menu__link:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-primary-light);
  transform: translateX(8px);
}

.mobile-menu__link--active {
  background-color: var(--color-primary);
  color: white;
}

.mobile-menu__link--cta {
  background-color: var(--color-primary);
  color: white;
  font-size: var(--font-size-xl);
  padding: var(--space-md) var(--space-2xl);
  margin-top: var(--space-md);
}

.mobile-menu__link--cta:hover,
.mobile-menu__link--cta:focus,
.mobile-menu__link--cta.mobile-menu__link--active {
  background-color: var(--color-primary-light);
  color: white;
}

/* Social icons in mobile menu */
.mobile-menu__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  opacity: 0;
}

.mobile-menu[aria-hidden="false"] .mobile-menu__social {
  animation: fadeInMobile var(--transition-slow) forwards;
  animation-delay: 0.4s;
}

@keyframes fadeInMobile {
  to {
    opacity: 1;
  }
}

.mobile-menu__social .social-icon {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  width: 44px;
  height: 44px;
}

.mobile-menu__social .social-icon:hover,
.mobile-menu__social .social-icon:focus {
  background-color: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

/* Hide mobile menu on desktop */
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background-color: var(--color-secondary);
  color: white;
  padding-block: var(--space-3xl);
  margin-top: 0;
}

.footer__content {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer__content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__section h3 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
}

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

.footer__link {
  margin-bottom: var(--space-sm);
}

.footer__link a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer__link a:hover {
  color: white;
  text-decoration: none;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer__bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  text-align: center;
}

.hero__content {
  max-width: var(--max-width-narrow);
  margin-inline: auto;
}

.hero__title {
  font-size: var(--font-size-3xl);
  color: white;
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--font-size-5xl);
  }
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  opacity: 0.95;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: var(--font-size-2xl);
  }
}

.hero__cta {
  justify-content: center;
}

/* Hero con video de fondo */
.hero--video {
  position: relative;
  overflow: hidden;
  background: var(--color-secondary); /* Fallback mientras carga el video */
}

/* Contenedor del video de fondo */
.hero__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none; /* No interferir con clics en el contenido */
}

/* IFrame del video de YouTube */
.hero__video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* Ratio 16:9 */
  min-height: 100vh;
  min-width: 177.77vh; /* Ratio 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Overlay para mejorar legibilidad del texto */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3); /* Configurable desde JS con config.json */
}

/* Contenedor del contenido - por encima del video y overlay */
.hero__container {
  position: relative;
  z-index: 2;
}

/* Asegurar que el contenido sea legible */
.hero--video .hero__title,
.hero--video .hero__subtitle {
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* ========================================
   PAGE HEADER WITH IMAGE BACKGROUND
   ======================================== */

/* Page header con imagen de fondo */
.page-header--image {
  position: relative;
  overflow: hidden;
  background: var(--color-primary); /* Fallback mientras carga */
}

/* Contenedor de la imagen de fondo */
.page-header__image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay para legibilidad del texto */
.page-header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}

/* Contenedor del contenido - por encima del overlay */
.page-header__container {
  position: relative;
  z-index: 2;
}

/* Asegurar que el texto sea legible */
.page-header--image h1,
.page-header--image p {
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* ========================================
   PAGE HEADER WITH VIDEO BACKGROUND
   ======================================== */

/* Page header con video de fondo */
.page-header--video {
  position: relative;
  overflow: hidden;
  background: var(--color-secondary); /* Fallback mientras carga el video */
}

/* Contenedor del video de fondo */
.page-header__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* IFrame del video de YouTube */
.page-header__video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* Ratio 16:9 */
  min-height: 100%;
  min-width: 177.77%; /* 100 / 0.5625 para mantener ratio */
  transform: translate(-50%, -50%);
}

/* Asegurar que el texto sea legible en video */
.page-header--video h1,
.page-header--video p {
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* ========================================
   SECTION DIVIDER
   ======================================== */
.section-divider {
  padding: var(--space-md) 0;


  
}

.divider-line {
  position: relative;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    var(--color-border) 20%,
    var(--color-border) 80%,
    transparent 100%);
}

.divider-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--color-background);
}

@media (min-width: 768px) {
  .section-divider {
    padding: var(--space-lg) 0;
  }

  .divider-dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 4px var(--color-background);
  }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
}

.section-title {
  color: var(--color-primary);
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  max-width: var(--max-width-text);
  margin-inline: auto;
}

/* ========================================
   ACTIVITY CARD
   ======================================== */
.activity-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.activity-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background-color: var(--color-surface);
}

.activity-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.activity-card:hover .activity-card__image img {
  transform: scale(1.05);
}

.activity-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-primary);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.activity-card__content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-card__category {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  background-color: var(--color-surface);
  color: var(--color-text);
}

.activity-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.activity-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  flex: 1;
}

.activity-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.activity-card__date,
.activity-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ========================================
   LOADING & EMPTY STATES
   ======================================== */
.loading-placeholder {
  padding: var(--space-3xl);
  text-align: center;
  color: var(--color-text-light);
}

.empty-state {
  padding: var(--space-3xl);
  text-align: center;
}

.empty-state__icon {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-md);
  opacity: 0.3;
}

.empty-state__message {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
}

/* ========================================
   SPONSORS CAROUSEL
   ======================================== */
.sponsors-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-xl);
  align-items: center;
  justify-items: center;
}

@media (min-width: 768px) {
  .sponsors-carousel {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.sponsor-logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  opacity: 0.7;
  transition: opacity var(--transition-base);
  filter: grayscale(100%);
}

.sponsor-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ========================================
   BADGES
   ======================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background-color: var(--color-primary);
  color: white;
}

.badge-success {
  background-color: var(--color-success);
  color: white;
}

.badge-warning {
  background-color: var(--color-warning);
  color: white;
}

.badge-info {
  background-color: var(--color-info);
  color: white;
}

/* ========================================
   HEADER NAV CTA (Hazte Socio)
   ======================================== */
.header__nav-link--cta {
  position: relative;
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
}

.header__nav-link--cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
}

.header__nav-link--cta:hover {
  background-color: var(--color-primary-dark);
  color: white;
}

.header__nav-link--cta.header__nav-link--active {
  background-color: var(--color-primary-dark);
  color: white;
}

.header__nav-link--cta::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

/* ========================================
   GOOGLE FORMS EMBED (Responsive iframe)
   ======================================== */
.google-form-embed {
  width: 100%;
  height: 800px;
  min-height: 600px;
  border: none;
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .google-form-embed {
    height: 850px;
  }
}

@media (min-width: 1024px) {
  .google-form-embed {
    max-width: 700px;
    height: 750px;
    margin-inline: auto;
    display: block;
  }
}

.form-container {
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .form-container {
    padding: 0 var(--space-lg);
  }
}

/* ========================================
   COLLAPSIBLE SECTIONS (<details>)
   ======================================== */
details {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border: 1px solid #e0e0e0;
  transition: all var(--transition-base);
}

details[open] {
  box-shadow: var(--shadow-md);
}

summary {
  cursor: pointer;
  font-weight: var(--font-weight-semibold);
  padding: var(--space-sm);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

/* Ocultar el marcador por defecto de details */
summary::-webkit-details-marker {
  display: none;
}

/* Añadir icono personalizado */
summary::after {
  content: '+';
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  transition: transform var(--transition-base);
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer,
.section-content {
  padding: var(--space-md);
  padding-top: var(--space-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-light);
}

/* ========================================
   STICKY CTA BAR (Mobile/Tablet)
   ======================================== */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: white;
  padding: var(--space-md);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

/* Hide on desktop */
@media (min-width: 1024px) {
  .sticky-cta-bar {
    display: none;
  }
}

/* ========================================
   TABS SYSTEM (Pricing + Rights/Obligations)
   ======================================== */

/* Pricing Tabs */
.pricing-tabs {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-tabs .tab {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: var(--space-lg) var(--space-xl);
  background-color: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-base);
}

.pricing-tabs .tab:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-tabs .tab.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.pricing-content {
  margin-top: var(--space-xl);
}

.tab-panel {
  animation: fadeIn var(--transition-base);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tabs Container (Rights/Obligations) */
.tabs-container {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  border-bottom: 2px solid var(--color-border);
  flex-wrap: wrap;
}

.tabs-container .tab {
  padding: var(--space-md) var(--space-lg);
  background-color: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  bottom: -2px;
}

.tabs-container .tab:hover {
  color: var(--color-primary);
  background-color: var(--color-surface);
}

.tabs-container .tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tabs-content {
  padding: var(--space-xl);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ========================================
   CTA BANNER (Intermedio)
   ======================================== */
.cta-banner {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
}

.cta-banner h2 {
  color: var(--color-secondary);
  font-size: var(--font-size-3xl);
}

/* CTA Banner con imagen de fondo */
.cta-banner--with-bg {
  position: relative;
  background-color: var(--color-primary);
  background-image: url('/assets/images/footer.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
  border-radius: 0;
  padding-top: var(--space-3xl);
  padding-bottom: calc(var(--space-5xl) * 2);
}

/* Fallback PNG para navegadores sin WebP */
@supports not (background-image: url('data:image/webp;base64,')) {
  .cta-banner--with-bg {
    background-image: url('/assets/images/footer-optimized.png');
  }
}

/* Degradado superior: blanco a transparente para transición suave */
.cta-banner--with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

/* Overlay oscuro para mejorar legibilidad del texto (opacidad reducida) */
.cta-banner--with-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(227, 30, 36, 0.5) 0%,
    rgba(184, 21, 25, 0.5) 100%
  );
  z-index: 0;
}

/* Contenido por encima del overlay */
.cta-banner--with-bg .container {
  position: relative;
  z-index: 2;
}

.cta-banner--with-bg h2 {
  color: white;
}

.cta-banner__content {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.cta-banner__text {
  font-size: var(--font-size-lg);
  max-width: var(--max-width-text);
  margin-inline: auto;
}

/* Responsive: ajustes en móvil */
@media (max-width: 768px) {
  .cta-banner--with-bg {
    background-position: center top;
  }
}

/* ========================================
   FORM SIDEBAR
   ======================================== */
.form-sidebar {
  /* Grid-sidebar ya maneja el layout responsivo */
}

/* Mobile: sidebar arriba del formulario */
@media (max-width: 767px) {
  .grid-sidebar {
    grid-template-columns: 1fr !important;
  }

  .form-sidebar {
    margin-bottom: var(--space-xl);
  }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 640px) {
  .pricing-tabs {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .pricing-tabs .tab {
    max-width: 100%;
    min-width: unset;
  }

  .tabs-container {
    justify-content: center;
  }

  .tabs-container .tab {
    flex: 1;
    text-align: center;
    font-size: var(--font-size-base);
    padding: var(--space-sm) var(--space-md);
  }
}

/* ========================================
   IMAGE CAROUSEL
   ======================================== */
.image-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 400px;
  background-color: var(--color-surface);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  z-index: 10;
  font-size: var(--font-size-3xl);
  line-height: 1;
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-arrow:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.carousel-arrow.prev {
  left: var(--space-md);
}

.carousel-arrow.next {
  right: var(--space-md);
}

.carousel-dots {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.carousel-dot:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.carousel-dot.active {
  background-color: white;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-2xl);
  }

  .carousel-arrow.prev {
    left: var(--space-sm);
  }

  .carousel-arrow.next {
    right: var(--space-sm);
  }

  .carousel-dots {
    bottom: var(--space-sm);
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-slide {
    height: 300px;
  }
}

/* ========================================
   STEPS ACCORDION
   ======================================== */
.steps-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 1000px;
  margin-inline: auto;
}

.step-item {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.step-item:hover {
  box-shadow: var(--shadow-md);
}

.step-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  cursor: pointer;
  user-select: none;
  transition: background-color var(--transition-fast);
}

.step-header:hover {
  background-color: var(--color-surface);
}

.step-header:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-heading);
  transition: transform var(--transition-base);
}

.step-item.active .step-number {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.step-title-wrapper {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-heading);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.step-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

.step-icon {
  flex-shrink: 0;
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  transition: transform var(--transition-base);
  line-height: 1;
}

.step-item.active .step-icon {
  transform: rotate(180deg);
}

.step-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.step-item.active .step-content {
  max-height: 800px;
}

.step-content-inner {
  padding: var(--space-lg);
  padding-top: 0;
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

.step-content-inner ul {
  margin: 0;
  padding-left: var(--space-lg);
}

.step-content-inner li {
  margin-bottom: var(--space-sm);
}

.step-content-inner p {
  margin-bottom: var(--space-md);
}

.step-content-inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .step-header {
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-xl);
  }

  .step-title {
    font-size: var(--font-size-lg);
  }

  .step-subtitle {
    font-size: var(--font-size-xs);
  }

  .step-icon {
    font-size: var(--font-size-xl);
  }

  .step-content-inner {
    padding: var(--space-md);
    padding-top: 0;
  }
}

/* ========================================
   WHY MEMBER SECTION
   ======================================== */
.why-member-section {
  background-color: var(--color-surface);
}

.why-member-content {
  max-width: 1000px;
  margin-inline: auto;
}

.why-member-text {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-2xl);
}

.why-member-text p {
  margin-bottom: var(--space-md);
}

.why-member-text p:last-child {
  margin-bottom: 0;
}

.why-member-carousel {
  margin-top: var(--space-xl);
}

/* ========================================
   NEWSLETTER FORM
   ======================================== */

/* Newsletter Form Container */
.newsletter-form {
  width: 100%;
}

.newsletter-form__header {
  margin-bottom: var(--space-lg);
}

.newsletter-form__title {
  color: var(--color-text);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.newsletter-form__description {
  color: var(--color-text-light);
  font-size: var(--font-size-base);
  margin-bottom: 0;
  line-height: var(--line-height-relaxed);
}

/* Form Fields Container */
.newsletter-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.newsletter-form__fields--compact {
  flex-direction: row;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .newsletter-form__fields--compact {
    flex-direction: column;
  }
}

/* Individual Field */
.newsletter-form__field {
  flex: 1;
  min-width: 0;
}

.newsletter-form__fields--compact .newsletter-form__field:last-child {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .newsletter-form__fields--compact .newsletter-form__field:last-child {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* Label */
.newsletter-form__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

/* Screen reader only class */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Input Field */
.newsletter-form__input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-base);
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.newsletter-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.newsletter-form__input::placeholder {
  color: var(--color-text-light);
}

.newsletter-form__input--error {
  border-color: var(--color-error);
}

.newsletter-form__input--error:focus {
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.newsletter-form__input--valid {
  border-color: var(--color-success);
}

/* Honeypot Field - CRITICAL: Must be invisible but not display:none */
.newsletter-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Field Error Message */
.newsletter-form__error {
  display: none;
  font-size: var(--font-size-sm);
  color: var(--color-error);
  margin-top: var(--space-xs);
}

/* Submit Button */
.newsletter-form__button {
  width: 100%;
  position: relative;
}

.newsletter-form__button--loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.newsletter-form__button--loading:hover {
  transform: none;
}

/* Success/Error Messages */
.newsletter-form__message {
  display: none;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  animation: slideDown var(--transition-base);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsletter-form__message--success {
  background-color: rgba(76, 175, 80, 0.1);
  border: 2px solid var(--color-success);
  color: var(--color-success-dark, #2e7d32);
}

.newsletter-form__message--error {
  background-color: rgba(244, 67, 54, 0.1);
  border: 2px solid var(--color-error);
  color: var(--color-error-dark, #c62828);
}

.newsletter-form__message--info {
  background-color: rgba(33, 150, 243, 0.1);
  border: 2px solid var(--color-info);
  color: var(--color-info-dark, #1565c0);
}

.newsletter-form__message-icon {
  font-size: var(--font-size-xl);
  flex-shrink: 0;
  line-height: 1;
}

.newsletter-form__message-content {
  flex: 1;
}

.newsletter-form__message-content strong {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: var(--font-weight-semibold);
}

.newsletter-form__message-content p {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.newsletter-form__error-text {
  margin: 0;
}

/* Privacy Notice */
.newsletter-form__privacy {
  margin-top: var(--space-md);
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  text-align: center;
}

.newsletter-form__privacy a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Variant: Compact (for footer) */
.newsletter-form--compact .newsletter-form__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.newsletter-form--compact .newsletter-form__description {
  font-size: var(--font-size-sm);
}

.newsletter-form--compact .newsletter-form__input {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--font-size-sm);
}

/* Variant: Inline (for homepage section) */
.newsletter-form--inline .newsletter-form__header {
  text-align: center;
}

.newsletter-form--inline .newsletter-form__title {
  font-size: var(--font-size-2xl);
  color: white;
}

.newsletter-form--inline .newsletter-form__description {
  color: rgba(255, 255, 255, 0.9);
}

/* Variant: Modal */
.newsletter-form--modal .newsletter-form__header {
  margin-bottom: var(--space-xl);
}

.newsletter-form--modal .newsletter-form__title {
  font-size: var(--font-size-2xl);
  text-align: center;
}

.newsletter-form--modal .newsletter-form__description {
  text-align: center;
}

/* Already Subscribed State */
.newsletter-form--subscribed {
  text-align: center;
}

/* ========================================
   NEWSLETTER MODAL
   ======================================== */

/* Modal Container */
.newsletter-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-base), visibility 0s var(--transition-base);
  pointer-events: none;
}

.newsletter-modal.active {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--transition-base), visibility 0s 0s;
  pointer-events: auto;
}

/* Modal Backdrop */
.newsletter-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Modal Content Container */
.newsletter-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2xl);
  transition: transform var(--transition-base);
}

.newsletter-modal.active .newsletter-modal__content {
  transform: translate(-50%, -50%) scale(1);
}

/* Mobile: fullscreen */
@media (max-width: 640px) {
  .newsletter-modal__content {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    padding: var(--space-xl);
  }
}

/* Close Button */
.newsletter-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--color-text-light);
  font-size: var(--font-size-2xl);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  padding: 0;
}

.newsletter-modal__close:hover {
  background-color: var(--color-surface);
  color: var(--color-text);
}

.newsletter-modal__close:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ========================================
   NEWSLETTER SECTION (Homepage)
   ======================================== */

.newsletter-section {
  background-color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.newsletter-section__content {
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-section h2 {
  color: white;
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Newsletter Section - Button override for red background */
.newsletter-section .newsletter-form__button.btn-primary {
  background-color: white;
  color: var(--color-primary);
  border: 2px solid white;
}

.newsletter-section .newsletter-form__button.btn-primary:hover {
  background-color: transparent;
  color: white;
}

/* Newsletter Section - Privacy link override */
.newsletter-section .newsletter-form__privacy {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-section .newsletter-form__privacy a {
  color: white;
  text-decoration: underline;
}

.newsletter-section .newsletter-form__privacy a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Newsletter Section - Field errors override for red background */
.newsletter-section .newsletter-form__error {
  color: #ffeb3b;
  font-weight: var(--font-weight-semibold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Newsletter Section - Input error border more visible */
.newsletter-section .newsletter-form__input--error {
  border-color: #ffeb3b;
  box-shadow: 0 0 0 2px rgba(255, 235, 59, 0.3);
}

/* ========================================
   GOOGLE BUSINESS PROFILE SECTION
   ======================================== */

.google-business-section {
  background-color: var(--color-surface);
}

.google-business-card {
  background-color: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .google-business-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .google-business-card {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* Map Container */
.google-business-card__map {
  position: relative;
  min-height: 300px;
  background-color: var(--color-surface);
}

@media (min-width: 768px) {
  .google-business-card__map {
    min-height: 400px;
  }
}

.google-business-card__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Info Container */
.google-business-card__info {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .google-business-card__info {
    padding: var(--space-2xl);
  }
}

/* Header with logo */
.google-business-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.google-business-card__logo {
  width: 56px;
  height: 56px;
  background-color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-business-card__logo svg {
  width: 32px;
  height: 32px;
  color: white;
}

.google-business-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

@media (min-width: 768px) {
  .google-business-card__title {
    font-size: var(--font-size-2xl);
  }
}

.google-business-card__type {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

/* Rating */
.google-business-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
}

.google-business-card__stars {
  display: flex;
  gap: 2px;
}

.google-business-card__star {
  color: #FBBC04;
  font-size: var(--font-size-lg);
}

.google-business-card__star--empty {
  color: var(--color-border);
}

.google-business-card__rating-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.google-business-card__rating-score {
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

/* Details List */
.google-business-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.google-business-card__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.google-business-card__detail-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.google-business-card__detail-text {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

.google-business-card__detail-text a {
  color: var(--color-primary);
  text-decoration: none;
}

.google-business-card__detail-text a:hover {
  text-decoration: underline;
}

/* Actions */
.google-business-card__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: auto;
}

@media (min-width: 480px) {
  .google-business-card__actions {
    flex-direction: row;
  }
}

.google-business-card__actions .btn {
  flex: 1;
  justify-content: center;
}

/* Google Attribution */
.google-business-card__attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--color-text-lighter);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
}

.google-business-card__attribution svg {
  height: 16px;
  width: auto;
}

/* ========================================
   NEWSLETTER BANNER (Activities page)
   ======================================== */

.newsletter-banner {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

@media (max-width: 768px) {
  .newsletter-banner {
    padding: var(--space-lg) var(--space-md);
  }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 640px) {
  .newsletter-form__title {
    font-size: var(--font-size-lg);
  }

  .newsletter-form__description {
    font-size: var(--font-size-sm);
  }

  .newsletter-form__input {
    font-size: var(--font-size-sm);
  }

  .newsletter-form__message {
    padding: var(--space-sm);
    gap: var(--space-sm);
  }

  .newsletter-form__message-icon {
    font-size: var(--font-size-lg);
  }
}

