/* =============================================
   Casa del Dabar — Header Styles
   Clásico, sobrio, institucional
   Mobile-first, accesible, sin frameworks
   ============================================= */

/* ---- Reset mínimo y base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Source Sans 3', 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #122b5b;
  background-color: #f9edd7;
}

body.is-loading {
  overflow: hidden;
}

/* =============================================
   Page Loader
   ============================================= */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #081632;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 48px;
  height: 48px;
}

.loader-ring {
  animation: loaderSpin 1.2s linear infinite;
}

@keyframes loaderSpin {
  to {
    stroke-dashoffset: 0;
  }
}

/* =============================================
   Welcome Modal
   ============================================= */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.welcome-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.welcome-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 22, 50, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.welcome-modal__dialog {
  position: relative;
  z-index: 1;
  background-color: #081632;
  border: 1px solid rgba(205, 163, 73, 0.3);
  border-radius: 8px;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(8, 22, 50, 0.5);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.welcome-modal.is-open .welcome-modal__dialog {
  transform: translateY(0) scale(1);
}

.welcome-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(8, 22, 50, 0.6);
  border: 1px solid rgba(249, 237, 215, 0.15);
  border-radius: 50%;
  color: rgba(249, 237, 215, 0.7);
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.welcome-modal__close:hover,
.welcome-modal__close:focus-visible {
  background-color: rgba(8, 22, 50, 0.85);
  border-color: rgba(205, 163, 73, 0.5);
  color: #cda349;
}

.welcome-modal__close:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.welcome-modal__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 260px;
  overflow: hidden;
  background-color: #0a1a3a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.welcome-modal__body {
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.welcome-modal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #f9edd7;
  line-height: 1.25;
}

.welcome-modal__text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(249, 237, 215, 0.75);
  max-width: 320px;
}

.welcome-modal__text strong {
  font-weight: 600;
  color: #cda349;
}

.welcome-modal__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #081632;
  background-color: #cda349;
  border: 1.5px solid #cda349;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background-color 300ms ease, color 300ms ease;
  margin-top: 0.25rem;
}

.welcome-modal__cta:hover,
.welcome-modal__cta:focus-visible {
  background-color: #dbb75c;
  border-color: #dbb75c;
  color: #081632;
}

.welcome-modal__cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 3px;
}

.welcome-modal__later {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(249, 237, 215, 0.45);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 200ms ease;
}

.welcome-modal__later:hover,
.welcome-modal__later:focus-visible {
  color: rgba(249, 237, 215, 0.7);
}

.welcome-modal__later:focus-visible {
  outline: 2px solid rgba(205, 163, 73, 0.5);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  .welcome-modal__dialog {
    max-width: none;
    border-radius: 6px;
  }

  .welcome-modal__img-wrap {
    max-height: 200px;
  }

  .welcome-modal__body {
    padding: 1.25rem 1.25rem 1.25rem;
  }

  .welcome-modal__title {
    font-size: 1.25rem;
  }

  .welcome-modal__text {
    font-size: 0.8125rem;
  }

  .welcome-modal__cta {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-modal,
  .welcome-modal__dialog {
    transition: none;
  }
}

/* ---- Modal carrusel: flechas y dots ---- */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(8, 22, 50, 0.7);
  border: 1px solid rgba(205, 163, 73, 0.35);
  border-radius: 50%;
  color: rgba(249, 237, 215, 0.85);
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, opacity 200ms ease;
}

.modal-nav--prev { left: -3.25rem; }
.modal-nav--next { right: -3.25rem; }

.modal-nav:hover,
.modal-nav:focus-visible {
  background-color: rgba(8, 22, 50, 0.92);
  border-color: rgba(205, 163, 73, 0.7);
  color: #cda349;
}

.modal-nav:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.modal-nav:disabled {
  display: none;
}

.modal-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  pointer-events: none;
}

.modal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(249, 237, 215, 0.25);
  transition: background-color 200ms ease, transform 200ms ease;
}

.modal-dot.is-active {
  background-color: #cda349;
  transform: scale(1.15);
}

@media (max-width: 540px) {
  .modal-nav--prev { left: 0.5rem; }
  .modal-nav--next { right: 0.5rem; }
  .modal-nav {
    width: 2rem;
    height: 2rem;
    background-color: rgba(8, 22, 50, 0.88);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-dot { transition: none; transform: none; }
  .modal-dot.is-active { transform: none; }
}

/* ---- Plataforma modal variants ---- */
.welcome-modal__cta--wine {
  background-color: #7b1b36;
  border-color: #7b1b36;
  color: #f9edd7;
}

.welcome-modal__cta--wine:hover,
.welcome-modal__cta--wine:focus-visible {
  background-color: #9a2245;
  border-color: #9a2245;
  color: #f9edd7;
}

.welcome-modal__cta--wine:focus-visible {
  outline-color: #7b1b36;
}

.welcome-modal__img-wrap--placeholder {
  background: linear-gradient(160deg, #081632 0%, #0f2850 100%);
}

.welcome-modal__placeholder-svg {
  width: 140px;
  height: 140px;
  opacity: 0.9;
}

/* ---- Redes modal ---- */
.welcome-modal--redes .welcome-modal__dialog {
  max-width: 400px;
}

.welcome-modal__body--redes {
  padding-top: 2rem;
}

.redes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  width: 100%;
  margin: 0.25rem 0 0.5rem;
}

.redes-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 0.5rem;
  background-color: rgba(249, 237, 215, 0.05);
  border: 1px solid rgba(249, 237, 215, 0.1);
  border-radius: 6px;
  color: rgba(249, 237, 215, 0.8);
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.redes-item svg {
  color: #cda349;
  flex-shrink: 0;
}

.redes-item span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.redes-item:hover,
.redes-item:focus-visible {
  background-color: rgba(205, 163, 73, 0.1);
  border-color: rgba(205, 163, 73, 0.35);
  color: #f9edd7;
  transform: translateY(-2px);
}

.redes-item:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.redes-item--email {
  border-color: rgba(205, 163, 73, 0.45);
  background-color: rgba(205, 163, 73, 0.1);
  color: #f9edd7;
}

.redes-item--email svg {
  color: #cda349;
}

.redes-item--secondary {
  opacity: 0.72;
}

.redes-item--wa {
  border-color: rgba(249, 237, 215, 0.12);
}

.redes-item--wa:hover,
.redes-item--wa:focus-visible {
  border-color: rgba(205, 163, 73, 0.3);
  background-color: rgba(249, 237, 215, 0.06);
}

.redes-item--wa svg {
  color: rgba(249, 237, 215, 0.55);
}

/* ---- Podcast catalog modal ---- */
.welcome-modal--podcast {
  align-items: flex-start;
  overflow-y: auto;
}

.podcast-modal__dialog {
  max-width: min(980px, calc(100vw - 2rem));
  margin: 2rem 0;
}

.podcast-modal__body {
  padding: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.podcast-modal__intro {
  max-width: 720px;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(249, 237, 215, 0.78);
}

.podcast-modal__platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.podcast-modal__platform,
.podcast-topic {
  border: 1px solid rgba(205, 163, 73, 0.22);
  border-radius: 8px;
  background-color: rgba(249, 237, 215, 0.05);
}

.podcast-modal__platform {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  color: #f9edd7;
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.podcast-modal__platform span,
.podcast-topic h3 {
  color: #cda349;
}

.podcast-modal__platform strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.podcast-modal__platform small {
  color: rgba(249, 237, 215, 0.7);
  line-height: 1.5;
}

.podcast-modal__platform:hover,
.podcast-modal__platform:focus-visible {
  border-color: rgba(205, 163, 73, 0.55);
  background-color: rgba(205, 163, 73, 0.1);
  transform: translateY(-2px);
}

.podcast-modal__platform:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.podcast-modal__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.podcast-topic {
  padding: 1.25rem;
}

.podcast-topic h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.podcast-topic p {
  color: rgba(249, 237, 215, 0.72);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.podcast-topic__list {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.2rem;
  color: rgba(205, 163, 73, 0.85);
}

.podcast-topic__list a {
  color: rgba(249, 237, 215, 0.84);
  font-size: 0.88rem;
  line-height: 1.45;
  transition: color 180ms ease;
}

.podcast-topic__list a:hover,
.podcast-topic__list a:focus-visible {
  color: #cda349;
}

.podcast-topic__list a:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.podcast-topic__header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.5rem;
}

.podcast-topic__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 163, 73, 0.12);
  border: 1px solid rgba(205, 163, 73, 0.25);
  border-radius: 50%;
  color: #cda349;
  flex-shrink: 0;
}

.podcast-topic__header h3 {
  margin-bottom: 0.35rem;
}

.podcast-topic__platforms {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.podcast-topic__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(249, 237, 215, 0.65);
  background-color: rgba(249, 237, 215, 0.06);
  border: 1px solid rgba(249, 237, 215, 0.12);
  border-radius: 999px;
}

.podcast-topic__badge svg {
  color: #1db954;
  flex-shrink: 0;
}

.podcast-topic__badge:last-child svg {
  color: #ff0000;
}

.podcast-topic__desc {
  color: rgba(249, 237, 215, 0.8);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.podcast-modal__recomendacion {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(205, 163, 73, 0.12) 0%, rgba(123, 27, 54, 0.15) 100%);
  border: 1px solid rgba(205, 163, 73, 0.3);
  border-radius: 8px;
}

.podcast-modal__recomendacion-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 163, 73, 0.15);
  border-radius: 50%;
  color: #cda349;
  flex-shrink: 0;
}

.podcast-modal__recomendacion-body p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(249, 237, 215, 0.82);
  margin-bottom: 0.5rem;
}

.podcast-modal__recomendacion-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cda349;
  border-bottom: 1px solid rgba(205, 163, 73, 0.4);
  transition: color 250ms ease, border-color 250ms ease;
}

.podcast-modal__recomendacion-link:hover,
.podcast-modal__recomendacion-link:focus-visible {
  color: #f9edd7;
  border-bottom-color: #f9edd7;
}

.podcast-modal__recomendacion-link:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .redes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .redes-item {
    padding: 0.625rem 0.375rem;
  }

  .redes-item svg {
    width: 18px;
    height: 18px;
  }

  .redes-item span {
    font-size: 0.625rem;
  }
}

@media (max-width: 859px) {
  .podcast-modal__dialog {
    max-width: none;
    margin: 1rem 0;
  }

  .podcast-modal__body {
    padding: 1.5rem 1rem;
  }

  .podcast-modal__platforms,
  .podcast-modal__topics {
    grid-template-columns: 1fr;
  }

  .podcast-topic__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .podcast-modal__recomendacion {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* =============================================
   Scroll Animations
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up"][data-delay="1"].is-visible { transition-delay: 0.1s; }
[data-animate="fade-up"][data-delay="2"].is-visible { transition-delay: 0.2s; }
[data-animate="fade-up"][data-delay="3"].is-visible { transition-delay: 0.3s; }
[data-animate="fade-up"][data-delay="4"].is-visible { transition-delay: 0.4s; }
[data-animate="fade-up"][data-delay="5"].is-visible { transition-delay: 0.5s; }
[data-animate="fade-up"][data-delay="6"].is-visible { transition-delay: 0.6s; }

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* =============================================
   Topbar
   ============================================= */
.topbar {
  background-color: #081632;
  color: #f9edd7;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(205, 163, 73, 0.25);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-tagline {
  font-weight: 300;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-links {
  display: flex;
  gap: 1.25rem;
  flex-shrink: 0;
}

.topbar-links a {
  font-weight: 400;
  padding: 0.125rem 0;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.topbar-links a:hover,
.topbar-links a:focus-visible {
  color: #cda349;
  border-bottom-color: rgba(205, 163, 73, 0.5);
}

/* =============================================
   Brand Area
   ============================================= */
.brand-area {
  background-color: #f9edd7;
  border-bottom: 1px solid rgba(8, 22, 50, 0.08);
}

.brand-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #081632;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #122b5b;
  letter-spacing: 0.03em;
  margin-top: 0.25rem;
}

.brand-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 360px;
}

/* ---- Buscador ---- */
.search-form {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  min-width: 260px;
}

.search-input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 3.25rem 0.625rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #081632;
  background-color: #fffaf0;
  border: 1px solid rgba(8, 22, 50, 0.18);
  border-radius: 999px;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(8, 22, 50, 0.06), 0 8px 20px rgba(8, 22, 50, 0.07);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.search-input::placeholder {
  color: #122b5b;
  opacity: 0.58;
}

.search-input:hover {
  background-color: #fff;
  border-color: rgba(18, 43, 91, 0.38);
  box-shadow: inset 0 1px 2px rgba(8, 22, 50, 0.04), 0 10px 24px rgba(8, 22, 50, 0.1);
}

.search-input:focus {
  background-color: #fff;
  border-color: #cda349;
  box-shadow: 0 0 0 3px rgba(205, 163, 73, 0.18), 0 12px 28px rgba(8, 22, 50, 0.12);
  transform: translateY(-1px);
}

.search-btn {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  background-color: #081632;
  border: 1px solid rgba(205, 163, 73, 0.25);
  padding: 0;
  color: #f9edd7;
  opacity: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.search-btn:hover,
.search-btn:focus-visible {
  background-color: #cda349;
  border-color: #cda349;
  color: #081632;
  transform: translateY(-50%) scale(1.04);
}

.search-input.is-not-found {
  border-color: #7b1b36;
  box-shadow: 0 0 0 3px rgba(123, 27, 54, 0.16), 0 12px 28px rgba(8, 22, 50, 0.12);
}

.search-hit {
  border-radius: 8px;
  scroll-margin-top: 9rem;
  animation: searchPulse 1.6s ease;
  box-shadow: 0 0 0 3px rgba(205, 163, 73, 0.45), 0 16px 36px rgba(8, 22, 50, 0.16);
}

@keyframes searchPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(205, 163, 73, 0.7), 0 16px 36px rgba(8, 22, 50, 0.16);
  }

  100% {
    box-shadow: 0 0 0 14px rgba(205, 163, 73, 0), 0 16px 36px rgba(8, 22, 50, 0.16);
  }
}

.search-btn:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

/* =============================================
   Main Navigation
   ============================================= */
.main-nav {
  background-color: #122b5b;
  color: #f9edd7;
  position: relative;
}

.main-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-list li {
  position: relative;
}

.nav-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.25rem;
  background-color: rgba(249, 237, 215, 0.12);
}

.nav-link {
  display: block;
  position: relative;
  padding: 1rem 1.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(249, 237, 215, 0.85);
  transition: color 250ms ease, background-color 250ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 1.375rem;
  right: 1.375rem;
  bottom: 0.5rem;
  height: 2px;
  background-color: #cda349;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #f9edd7;
  background-color: rgba(255, 255, 255, 0.04);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #cda349;
  font-weight: 600;
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:focus-visible {
  outline: 2px solid rgba(205, 163, 73, 0.6);
  outline-offset: -2px;
}

/* ---- CTA ---- */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #cda349;
  border: 1.5px solid rgba(205, 163, 73, 0.5);
  border-radius: 2px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease;
  white-space: nowrap;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(205, 163, 73, 0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
  z-index: 0;
}

.nav-cta span,
.nav-cta svg {
  position: relative;
  z-index: 1;
}

.nav-cta:hover::before,
.nav-cta:focus-visible::before {
  transform: scaleX(1);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: #cda349;
  color: #f9edd7;
}

.nav-cta:focus-visible {
  outline: 2px solid rgba(205, 163, 73, 0.6);
  outline-offset: 2px;
}

/* ---- Mobile Menu Toggle ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  gap: 5px;
  background: none;
  border: 1px solid rgba(249, 237, 215, 0.25);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background-color: #f9edd7;
  border-radius: 1px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

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

.menu-toggle:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

/* =============================================
   Sticky Header (opcional, elegante)
   ============================================= */
.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(8, 22, 50, 0.08);
}

.site-header.is-sticky .topbar {
  display: none;
}

.site-header.is-sticky .brand-area {
  padding: 0.625rem 0;
}

.site-header.is-sticky .brand-inner {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.site-header.is-sticky .brand-logo {
  width: 56px;
  height: 56px;
}

.site-header.is-sticky .brand-name {
  font-size: 1.5rem;
}

.site-header.is-sticky .brand-subtitle {
  display: none;
}

.site-header.is-sticky .search-form {
  max-width: 240px;
}

/* =============================================
   Mobile Styles (< 860px)
   ============================================= */
@media (max-width: 859px) {
  .topbar-inner {
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .topbar-tagline {
    font-size: 0.75rem;
  }

  .topbar-links {
    gap: 0.875rem;
  }

  .topbar-links a {
    font-size: 0.75rem;
  }

  .brand-inner {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .brand-subtitle {
    font-size: 0.8125rem;
  }

  .brand-actions {
    width: 100%;
    max-width: none;
    order: 3;
  }

  .search-form {
    min-width: 0;
  }

  .search-input {
    font-size: 0.875rem;
  }

  .main-nav-inner {
    padding: 0 1rem;
    min-height: 3.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background-color: #122b5b;
    border-top: 1px solid rgba(249, 237, 215, 0.1);
    padding: 0.5rem 0;
    box-shadow: 0 8px 24px rgba(8, 22, 50, 0.2);
  }

  .nav-list li:not(:last-child)::after {
    display: none;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 1rem 1.25rem;
    border-left: 3px solid transparent;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    border-left-color: #cda349;
    background-color: rgba(255, 255, 255, 0.04);
  }

  .nav-link:focus-visible {
    outline-offset: -2px;
  }

  .nav-cta {
    display: none;
  }

  .nav-list.is-open + .nav-cta {
    display: flex;
    margin: 0.75rem 1.25rem 1rem;
    justify-content: center;
  }
}

/* =============================================
   Tablet (860px - 1023px)
   ============================================= */
@media (min-width: 860px) and (max-width: 1023px) {
  .nav-link {
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  .nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  .brand-name {
    font-size: 1.5rem;
  }
}

/* =============================================
   Large screens (>= 1024px)
   ============================================= */
@media (min-width: 1024px) {
  .brand-inner {
    padding: 1.5rem 1.25rem;
  }

  .brand-name {
    font-size: 2rem;
  }

  .brand-subtitle {
    font-size: 1rem;
  }

  .nav-link {
    padding: 0.875rem 1.125rem;
  }
}

/* =============================================
   Social Sidebar (fixed center-left)
   ============================================= */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  background-color: #122b5b;
  border-radius: 0 4px 4px 0;
  overflow: hidden;
  box-shadow: 2px 0 8px rgba(8, 22, 50, 0.2);
}

.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(249, 237, 215, 0.8);
  transition: color 200ms ease, background-color 200ms ease;
}

.social-sidebar a:not(:last-child) {
  border-bottom: 1px solid rgba(249, 237, 215, 0.08);
}

.social-sidebar a:hover,
.social-sidebar a:focus-visible {
  color: #cda349;
  background-color: rgba(255, 255, 255, 0.05);
}

.social-sidebar a:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: -2px;
}

@media (max-width: 859px) {
  .social-sidebar {
    display: none;
  }
}

/* =============================================
   Hero Section — Full-width Carousel
   ============================================= */
.hero {
  position: relative;
  min-height: 70vh;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #081632;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide--side-image {
  background: linear-gradient(135deg, #081632 0%, #0d1f42 48%, #122b5b 100%);
}

.hero-slide--side-image .hero-slide-img {
  position: absolute;
  right: clamp(1.25rem, 8vw, 8rem);
  top: 50%;
  width: min(38vw, 440px);
  height: auto;
  max-height: 72%;
  object-fit: contain;
  transform: translateY(-50%);
  border: 1px solid rgba(205, 163, 73, 0.35);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 22, 50, 0.9) 0%,
    rgba(8, 22, 50, 0.5) 40%,
    rgba(8, 22, 50, 0.2) 70%,
    rgba(8, 22, 50, 0.35) 100%
  );
}

.hero-slide--side-image .hero-slide-overlay {
  background: linear-gradient(
    90deg,
    rgba(8, 22, 50, 0.96) 0%,
    rgba(8, 22, 50, 0.88) 42%,
    rgba(8, 22, 50, 0.22) 72%,
    rgba(8, 22, 50, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  display: flex;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-content-inner {
  max-width: 680px;
  animation: heroFadeIn 0.8s ease both;
}

.hero--side-image .hero-content-inner {
  max-width: 540px;
}

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

.hero-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #cda349;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(205, 163, 73, 0.4);
}

.hero-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: #f9edd7;
  margin-bottom: 0.75rem;
}

.hero-verse {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(205, 163, 73, 0.85);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero-content-text {
  max-width: 560px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(249, 237, 215, 0.82);
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f9edd7;
  border: 1.5px solid rgba(205, 163, 73, 0.6);
  border-radius: 2px;
  background-color: transparent;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(205, 163, 73, 0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
  z-index: 0;
}

.hero-cta span,
.hero-cta svg {
  position: relative;
  z-index: 1;
}

.hero-cta svg {
  transition: transform 250ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  color: #f9edd7;
  border-color: #cda349;
  background-color: rgba(205, 163, 73, 0.1);
}

.hero-cta:hover::before,
.hero-cta:focus-visible::before {
  transform: scaleX(1);
}

.hero-cta:hover svg,
.hero-cta:focus-visible svg {
  transform: translateX(3px);
}

.hero-cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

/* ---- Carousel Arrows ---- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(8, 22, 50, 0.4);
  border: 1px solid rgba(249, 237, 215, 0.15);
  border-radius: 2px;
  color: #f9edd7;
  cursor: pointer;
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-arrow--prev {
  left: 1.25rem;
}

.hero-arrow--next {
  right: 1.25rem;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background-color: rgba(8, 22, 50, 0.7);
  border-color: rgba(205, 163, 73, 0.5);
  color: #cda349;
}

.hero-arrow:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

/* ---- Carousel Dots ---- */
.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.625rem;
  align-items: center;
}

.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background-color: rgba(249, 237, 215, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background-color 300ms ease, transform 300ms ease, width 300ms ease;
}

.hero-dot:hover,
.hero-dot:focus-visible {
  background-color: rgba(249, 237, 215, 0.7);
}

.hero-dot.is-active {
  background-color: #cda349;
  width: 1.5rem;
  border-radius: 0.25rem;
}

.hero-dot:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

/* ---- Hero responsive ---- */
@media (max-width: 859px) {
  .hero {
    min-height: 760px;
    max-height: none;
  }

  .hero-content {
    padding: 3rem 1rem 6.5rem;
    align-items: flex-end;
  }

  .hero-slide:not(.hero-slide--card) .hero-slide-img {
    object-fit: contain;
    object-position: center top;
    background-color: #081632;
  }

  .hero-slide--side-image .hero-slide-img {
    top: 1.5rem;
    right: 1rem;
    width: min(58vw, 260px);
    max-height: 38%;
    transform: none;
  }

  .hero-slide--side-image .hero-slide-overlay {
    background: linear-gradient(
      to top,
      rgba(8, 22, 50, 0.98) 0%,
      rgba(8, 22, 50, 0.92) 46%,
      rgba(8, 22, 50, 0.45) 100%
    );
  }

  .hero-content-inner {
    max-width: none;
    width: 100%;
  }

  .hero-heading {
    font-size: 1.625rem;
  }

  .hero-verse {
    font-size: 1rem;
  }

  .hero-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-arrow--prev {
    left: 0.75rem;
  }

  .hero-arrow--next {
    right: 0.75rem;
  }

  .hero-dots {
    bottom: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 80vh;
    max-height: 900px;
  }

  .hero-heading {
    font-size: 3rem;
  }

  .hero-verse {
    font-size: 1.25rem;
  }

  .hero-content-inner {
    max-width: 720px;
  }

  .hero--side-image .hero-content-inner {
    max-width: 540px;
  }

  .hero-arrow {
    width: 3.5rem;
    height: 3.5rem;
  }

  .hero-arrow--prev {
    left: 2rem;
  }

  .hero-arrow--next {
    right: 2rem;
  }
}

/* ---- Hero Card Slides (Morada, Chatbot, Redes) ---- */
.hero-slide--card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-overlay--solid {
  background: linear-gradient(135deg, #081632 0%, #0d1f42 40%, #122b5b 100%);
}

.hero-card {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  padding: 2rem 3rem;
  animation: heroFadeIn 0.6s ease both;
}

.hero-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-card__lead {
  max-width: 460px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f9edd7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-card__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(249, 237, 215, 0.8);
  max-width: 400px;
}

.hero-card__text strong {
  font-weight: 600;
  color: #cda349;
}

.hero-value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 430px;
}

.hero-value-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(205, 163, 73, 0.28);
  border-radius: 999px;
  background-color: rgba(249, 237, 215, 0.08);
  color: rgba(249, 237, 215, 0.86);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
}

.hero-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card__img img {
  max-width: 320px;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 8px 32px rgba(205, 163, 73, 0.15));
}

.hero-collage {
  position: relative;
  width: min(100%, 420px);
  min-height: 360px;
  justify-self: center;
  isolation: isolate;
}

.hero-collage::before {
  content: '';
  position: absolute;
  inset: 2.5rem 1.5rem 1rem;
  z-index: -1;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 35%, rgba(205, 163, 73, 0.22), rgba(123, 27, 54, 0.12) 45%, transparent 72%);
  filter: blur(18px);
}

.hero-collage__item {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(205, 163, 73, 0.28);
  background-color: rgba(8, 22, 50, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.hero-collage__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage__item--main {
  inset: 2.25rem 5.5rem 2.75rem 0;
  border-radius: 22px;
}

.hero-collage__item--main img {
  object-position: center;
}

.hero-collage__item--symbol {
  top: 0;
  right: 0.75rem;
  width: 42%;
  height: 43%;
  border-radius: 18px;
}

.hero-collage__item--symbol img {
  object-position: center;
}

.hero-collage__item--logo {
  right: 0;
  bottom: 1.75rem;
  width: 52%;
  height: 36%;
  border-radius: 16px;
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 0;
}

.hero-collage__item--logo img {
  object-fit: contain;
}

.hero-collage__item--calendar {
  left: 1.75rem;
  bottom: 0;
  width: 34%;
  height: 25%;
  border-radius: 14px;
}

.hero-cta--wine {
  border-color: rgba(123, 27, 54, 0.7);
}

.hero-cta--wine::before {
  background-color: rgba(123, 27, 54, 0.2);
}

.hero-cta--wine:hover,
.hero-cta--wine:focus-visible {
  border-color: #7b1b36;
  background-color: rgba(123, 27, 54, 0.15);
}

/* ---- Hero Card: Redes grid ---- */
.hero-card__redes-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-redes-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background-color: rgba(249, 237, 215, 0.05);
  border: 1px solid rgba(249, 237, 215, 0.1);
  border-radius: 6px;
  color: rgba(249, 237, 215, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms ease;
}

.hero-redes-item svg {
  flex-shrink: 0;
  color: #cda349;
}

.hero-redes-item:hover,
.hero-redes-item:focus-visible {
  background-color: rgba(205, 163, 73, 0.12);
  border-color: rgba(205, 163, 73, 0.35);
  color: #f9edd7;
  transform: translateX(4px);
}

.hero-redes-item:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.hero-redes-item--email {
  border-color: rgba(205, 163, 73, 0.45);
  background-color: rgba(205, 163, 73, 0.12);
  color: #f9edd7;
}

.hero-redes-item--email svg {
  color: #cda349;
}

.hero-redes-item--secondary {
  opacity: 0.72;
}

.hero-redes-item--wa {
  border-color: rgba(249, 237, 215, 0.12);
}

.hero-redes-item--wa svg {
  color: rgba(249, 237, 215, 0.55);
}

.hero-redes-item--wa:hover,
.hero-redes-item--wa:focus-visible {
  border-color: rgba(205, 163, 73, 0.3);
  background-color: rgba(249, 237, 215, 0.06);
}

/* Hide hero-content on card slides */
.hero-slide--card.is-active ~ .hero-content {
  /* handled via JS for simplicity */
}

/* ---- Hero Card responsive ---- */
@media (max-width: 859px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
  }

  .hero-card__info {
    align-items: center;
  }

  .hero-card__text {
    max-width: none;
    font-size: 0.875rem;
  }

  .hero-card__lead {
    max-width: none;
    font-size: 1.125rem;
  }

  .hero-value-list {
    justify-content: center;
  }

  .hero-value-list span {
    font-size: 0.75rem;
  }

  .hero-card__img {
    order: -1;
  }

  .hero-collage {
    order: -1;
    width: min(100%, 300px);
    min-height: 210px;
  }

  .hero-collage::before {
    inset: 1.25rem 0.75rem 0.5rem;
    filter: blur(12px);
  }

  .hero-collage__item--main {
    inset: 1.5rem 4.5rem 1.75rem 0;
    border-radius: 16px;
  }

  .hero-collage__item--symbol {
    right: 0.5rem;
    width: 43%;
    height: 44%;
    border-radius: 14px;
  }

  .hero-collage__item--logo {
    bottom: 1.25rem;
    width: 54%;
    height: 35%;
    padding: 0;
    border-radius: 12px;
  }

  .hero-collage__item--calendar {
    left: 1rem;
    width: 35%;
    height: 25%;
    border-radius: 10px;
  }

  .hero-card__img img {
    max-width: 200px;
    max-height: 200px;
  }

  .hero-card__redes-list {
    max-width: 300px;
    align-self: center;
    width: 100%;
  }

  .hero-redes-item {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 860px) and (max-width: 1023px) {
  .hero-card {
    gap: 1.5rem;
    padding: 2rem;
  }

  .hero-collage {
    width: min(100%, 340px);
    min-height: 310px;
  }

  .hero-card__img img {
    max-width: 250px;
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 820px;
  }

  .hero-card {
    gap: 1rem;
    padding-inline: 1rem;
  }

  .hero-collage {
    width: min(100%, 270px);
    min-height: 190px;
  }
}

@media (min-width: 1024px) {
  .hero-card__img img {
    max-width: 360px;
    max-height: 360px;
  }
}

/* =============================================
   Page body
   ============================================= */
.page-body {
  padding-top: 0;
}

/* =============================================
   Shared Section Styles
   ============================================= */
.section {
  padding: 5rem 0;
}

.section + .section--cream {
  border-top: 1px solid rgba(8, 22, 50, 0.08);
}

.section--cream {
  background-color: #f9edd7;
  color: #081632;
}

.section--navy {
  background-color: #081632;
  color: #f9edd7;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #cda349;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(205, 163, 73, 0.4);
}

.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section--navy .section-heading {
  color: #f9edd7;
}

.section-intro {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 2.5rem;
  opacity: 0.92;
}

/* =============================================
   Cursos y talleres
   ============================================= */
.cursos-section {
  border-top: 1px solid rgba(8, 22, 50, 0.08);
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.curso-card {
  background-color: #fff;
  border: 1px solid rgba(8, 22, 50, 0.08);
  border-radius: 6px;
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: box-shadow 300ms ease, transform 300ms ease, border-color 300ms ease;
}

.curso-card:hover {
  border-color: rgba(205, 163, 73, 0.35);
  box-shadow: 0 10px 28px rgba(8, 22, 50, 0.1);
  transform: translateY(-3px);
}

.curso-card--soon {
  background-color: #081632;
  border-color: rgba(205, 163, 73, 0.35);
  color: #f9edd7;
}

.curso-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 163, 73, 0.1);
  border-radius: 50%;
  margin-bottom: 1rem;
  color: #cda349;
}

.curso-card--soon .curso-card__icon {
  background-color: rgba(205, 163, 73, 0.14);
}

.curso-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7b1b36;
  background-color: rgba(123, 27, 54, 0.08);
  border-radius: 999px;
}

.curso-card--soon .curso-card__tag {
  color: #081632;
  background-color: #cda349;
}

.curso-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  color: #081632;
  margin-bottom: 0.625rem;
}

.curso-card--soon h3 {
  color: #f9edd7;
}

.curso-card p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: #122b5b;
  opacity: 0.82;
  margin-bottom: 1.25rem;
  flex: 1;
}

.curso-card--soon p {
  color: rgba(249, 237, 215, 0.78);
}

.curso-card__link,
.cursos-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cda349;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 250ms ease, gap 250ms ease, border-color 250ms ease, background-color 250ms ease;
}

.curso-card__link:hover,
.curso-card__link:focus-visible {
  color: #7b1b36;
  gap: 0.65rem;
}

.curso-card--soon .curso-card__link:hover,
.curso-card--soon .curso-card__link:focus-visible {
  color: #f9edd7;
}

.curso-card__link:focus-visible,
.cursos-info-btn:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 3px;
}

.cursos-info-btn {
  padding: 0.85rem 1.5rem;
  color: #f9edd7;
  background-color: #081632;
  border: 1.5px solid #081632;
  border-radius: 3px;
}

.cursos-info-btn:hover,
.cursos-info-btn:focus-visible {
  color: #081632;
  background-color: #cda349;
  border-color: #cda349;
  gap: 0.65rem;
}

.welcome-modal--cursos .welcome-modal__dialog {
  max-width: 760px;
}

.cursos-modal__body {
  align-items: stretch;
  text-align: left;
  padding: 2rem;
}

.cursos-modal__body .section-tag {
  align-self: flex-start;
  margin-bottom: 0.25rem;
}

.cursos-modal__text {
  max-width: none;
}

.cursos-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.5rem 0;
}

.cursos-modal__item {
  padding: 1rem;
  background-color: rgba(249, 237, 215, 0.05);
  border: 1px solid rgba(205, 163, 73, 0.18);
  border-radius: 6px;
}

.cursos-modal__kicker {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cda349;
}

.cursos-modal__item h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #f9edd7;
  margin-bottom: 0.5rem;
}

.cursos-modal__item p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(249, 237, 215, 0.72);
}

/* =============================================
    Testimonios Section
    ============================================= */
.testimonios-section {
  position: relative;
  overflow: hidden;
}

.testimonios-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(205, 163, 73, 0.14) 0, transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(123, 27, 54, 0.2) 0, transparent 32%);
}

.testimonios-section .section-inner {
  position: relative;
  z-index: 1;
}

.testimonios-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background-color: rgba(249, 237, 215, 0.06);
  border: 1px solid rgba(205, 163, 73, 0.24);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.testimonio-card--featured {
  background: linear-gradient(145deg, rgba(249, 237, 215, 0.1) 0%, rgba(205, 163, 73, 0.12) 100%);
  border-color: rgba(205, 163, 73, 0.46);
}

.testimonio-card__mark {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(205, 163, 73, 0.28);
}

.testimonio-card__quote {
  position: relative;
  z-index: 1;
  flex: 1;
  margin-bottom: 1.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.55;
  color: #f9edd7;
}

.testimonio-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(205, 163, 73, 0.22);
}

.testimonio-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #cda349;
}

.testimonio-card__result {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(249, 237, 215, 0.72);
}

.testimonios-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.testimonios-trust__item {
  padding: 1rem;
  background-color: rgba(8, 22, 50, 0.34);
  border: 1px solid rgba(205, 163, 73, 0.18);
  border-left: 3px solid #cda349;
  border-radius: 0 8px 8px 0;
}

.testimonios-trust__item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #cda349;
}

.testimonios-trust__item span {
  display: block;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(249, 237, 215, 0.84);
}

.testimonios-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #081632;
  background-color: #cda349;
  border: 1.5px solid #cda349;
  border-radius: 999px;
  transition: background-color 300ms ease, border-color 300ms ease, gap 250ms ease;
}

.testimonios-cta:hover,
.testimonios-cta:focus-visible {
  gap: 0.75rem;
  background-color: #dbb75c;
  border-color: #dbb75c;
  color: #081632;
}

.testimonios-cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 3px;
}

@media (min-width: 860px) {
  .testimonios-layout {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.75rem;
  }

  .testimonio-card {
    padding: 2.25rem;
  }

  .testimonio-card__quote {
    font-size: 1.35rem;
  }

  .testimonios-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
    Estudio Modal
    ============================================= */
.estudio-modal__body {
  gap: 1rem;
}

.estudio-modal__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 163, 73, 0.12);
  border: 1px solid rgba(205, 163, 73, 0.25);
  border-radius: 50%;
  color: #cda349;
  margin-bottom: 0.25rem;
}

.estudio-modal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.625rem;
  font-weight: 600;
  color: #f9edd7;
  line-height: 1.2;
}

.estudio-modal__resumen {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(249, 237, 215, 0.82);
  max-width: 380px;
}

.estudio-modal__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #081632;
  background-color: #cda349;
  border: 1.5px solid #cda349;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 0.25rem;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.estudio-modal__cta:hover,
.estudio-modal__cta:focus-visible {
  background-color: #dbb75c;
  border-color: #dbb75c;
  color: #081632;
}

.estudio-modal__cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 3px;
}

.estudio-modal__cta svg {
  color: #081632;
}

.card--soon {
  background: linear-gradient(145deg, #081632 0%, #122b5b 100%);
  border-color: rgba(205, 163, 73, 0.35);
  color: #f9edd7;
}

.card--soon .card-icon {
  background-color: rgba(205, 163, 73, 0.14);
}

.card--soon .card-title {
  color: #f9edd7;
}

.card--soon .card-desc {
  color: rgba(249, 237, 215, 0.88);
}

.card--soon:hover {
  border-color: rgba(205, 163, 73, 0.55);
}

.card__soon-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #081632;
  background-color: #cda349;
  border-radius: 999px;
}

@media (max-width: 480px) {
  .estudio-modal__title {
    font-size: 1.375rem;
  }

  .estudio-modal__resumen {
    font-size: 0.875rem;
  }
}

/* =============================================
    Cards Grid — Estudios
   ============================================= */
.library-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: -1rem 0 2rem;
}

.library-tools span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #081632;
  background-color: rgba(205, 163, 73, 0.16);
  border: 1px solid rgba(205, 163, 73, 0.32);
  border-radius: 999px;
}

.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.library-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #081632;
  background-color: transparent;
  border: 1.5px solid rgba(8, 22, 50, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.library-filter-btn:hover {
  border-color: rgba(205, 163, 73, 0.5);
  color: #7b1b36;
}

.library-filter-btn.is-active {
  background-color: #081632;
  border-color: #081632;
  color: #cda349;
}

.library-filter-btn .filter-count {
  margin-left: 0.35rem;
  font-size: 0.6875rem;
  opacity: 0.7;
}

.library-more {
  display: flex;
  justify-content: center;
  margin: 2rem 0 0;
}

.library-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cda349;
  background-color: transparent;
  border: 1.5px solid rgba(205, 163, 73, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.library-more-btn:hover {
  background-color: rgba(205, 163, 73, 0.1);
  border-color: #cda349;
  color: #081632;
}

.library-more-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.library-more-btn svg {
  transition: transform 200ms ease;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: linear-gradient(180deg, #fff 0%, rgba(255, 252, 247, 0.98) 100%);
  border: 1px solid rgba(8, 22, 50, 0.1);
  border-radius: 8px;
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(8, 22, 50, 0.04);
  transition: box-shadow 300ms ease, transform 300ms ease, border-color 300ms ease;
}

.card:hover {
  border-color: rgba(205, 163, 73, 0.35);
  box-shadow: 0 14px 34px rgba(8, 22, 50, 0.12);
  transform: translateY(-3px);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 163, 73, 0.1);
  border: 1px solid rgba(205, 163, 73, 0.18);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  color: #cda349;
}

.card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #081632;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.library-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7b1b36;
  background-color: rgba(123, 27, 54, 0.08);
  border-radius: 999px;
}

.card-desc {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: #122b5b;
  opacity: 0.94;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  align-self: flex-start;
  padding: 0.55rem 0.85rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #081632;
  background-color: rgba(205, 163, 73, 0.14);
  border: 1px solid rgba(205, 163, 73, 0.35);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: color 250ms ease, gap 250ms ease, background-color 250ms ease, border-color 250ms ease;
}

.card-cta:hover,
.card-cta:focus-visible {
  color: #081632;
  background-color: #cda349;
  border-color: #cda349;
  gap: 0.625rem;
}

.card-cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.card-cta--light {
  color: #f9edd7;
  background-color: rgba(205, 163, 73, 0.16);
  border-color: rgba(205, 163, 73, 0.4);
}

.card-cta--light:hover,
.card-cta--light:focus-visible {
  color: #081632;
  background-color: #cda349;
}

/* ---- Cards responsive ---- */
@media (max-width: 859px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-heading {
    font-size: 1.625rem;
  }

  .cursos-grid,
  .cursos-modal__grid {
    grid-template-columns: 1fr;
  }

  .curso-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .cursos-info-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .welcome-modal--cursos .welcome-modal__dialog {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }

  .cursos-modal__body {
    padding: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}

@media (min-width: 860px) and (max-width: 1023px) {
  .cards-grid,
  .cursos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .cursos-modal__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .section-heading {
    font-size: 2.25rem;
  }

  .cards-grid,
  .cursos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* =============================================
   Resources Section
   ============================================= */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  color: #f9edd7;
  background: linear-gradient(145deg, rgba(249, 237, 215, 0.08), rgba(18, 43, 91, 0.42));
  border: 1px solid rgba(249, 237, 215, 0.12);
  border-radius: 5px;
  transition: transform 300ms ease, border-color 300ms ease, background-color 300ms ease;
}

.resource-card--featured {
  border-color: rgba(205, 163, 73, 0.35);
  background:
    linear-gradient(145deg, rgba(205, 163, 73, 0.15), rgba(8, 22, 50, 0.18)),
    rgba(249, 237, 215, 0.06);
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(205, 163, 73, 0.45);
  background-color: rgba(249, 237, 215, 0.04);
}

.resource-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #cda349;
  background-color: rgba(205, 163, 73, 0.11);
  border: 1px solid rgba(205, 163, 73, 0.22);
  border-radius: 50%;
}

.resource-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(205, 163, 73, 0.85);
}

.resource-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: #f9edd7;
}

.resource-desc {
  flex: 1;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(249, 237, 215, 0.78);
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cda349;
  transition: color 250ms ease, gap 250ms ease;
}

.resource-link:hover,
.resource-link:focus-visible {
  gap: 0.65rem;
  color: #f9edd7;
}

.resource-link:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.resource-songs,
.resource-tracks {
  list-style: none;
  display: grid;
  gap: 0.375rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.resource-tracks {
  gap: 0.625rem;
}

.resource-track {
  display: grid;
  gap: 0.625rem;
  padding: 0.75rem;
  background-color: rgba(249, 237, 215, 0.06);
  border: 1px solid rgba(249, 237, 215, 0.12);
  border-radius: 5px;
}

.resource-track h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: #f9edd7;
}

.resource-track span {
  display: block;
  font-size: 0.75rem;
  color: rgba(249, 237, 215, 0.62);
}

.resource-track__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.resource-track__play,
.resource-track__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.45rem 0.7rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.resource-track__play {
  color: #081632;
  background-color: #cda349;
  border: 1px solid #cda349;
}

.resource-track__play:hover,
.resource-track__play:focus-visible,
.resource-track.is-active .resource-track__play {
  background-color: #dbb75c;
  border-color: #dbb75c;
}

.resource-track__actions a {
  color: rgba(249, 237, 215, 0.82);
  background-color: rgba(249, 237, 215, 0.06);
  border: 1px solid rgba(249, 237, 215, 0.14);
}

.resource-track__actions a:hover,
.resource-track__actions a:focus-visible {
  color: #cda349;
  border-color: rgba(205, 163, 73, 0.38);
  background-color: rgba(205, 163, 73, 0.12);
}

.resource-track__play:focus-visible,
.resource-track__actions a:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.resource-songs li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: rgba(249, 237, 215, 0.06);
  border: 1px solid rgba(249, 237, 215, 0.12);
  border-radius: 4px;
  color: rgba(249, 237, 215, 0.85);
  font-size: 0.8125rem;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.resource-songs li a svg {
  color: #cda349;
  flex-shrink: 0;
}

.resource-songs li a:hover,
.resource-songs li a:focus-visible {
  background-color: rgba(205, 163, 73, 0.12);
  border-color: rgba(205, 163, 73, 0.35);
  color: #f9edd7;
}

.resource-songs li a:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.resource-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f9edd7;
  background-color: rgba(205, 163, 73, 0.14);
  border: 1px solid rgba(205, 163, 73, 0.42);
  border-left: 3px solid #cda349;
  border-radius: 4px;
}

.resource-notice svg {
  color: #cda349;
  flex-shrink: 0;
}

/* ---- Resources responsive ---- */
@media (min-width: 700px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .resources-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
  }

  .resource-card--featured {
    grid-row: span 2;
    padding: 2rem;
  }

  .resource-card--featured .resource-title {
    font-size: 1.7rem;
  }
}

/* =============================================
   Podcast Section
   ============================================= */
.podcast-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.podcast-embed iframe {
  display: block;
  border-radius: 8px;
  background-color: rgba(249, 237, 215, 0.05);
}

.podcast-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.podcast-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.podcast-platforms-title {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(249, 237, 215, 0.5);
}

.podcast-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #f9edd7;
  background-color: rgba(249, 237, 215, 0.06);
  border: 1px solid rgba(249, 237, 215, 0.1);
  border-radius: 4px;
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}

.podcast-platform-link svg {
  color: #cda349;
  flex-shrink: 0;
}

.podcast-platform-link:hover,
.podcast-platform-link:focus-visible {
  background-color: rgba(205, 163, 73, 0.12);
  border-color: rgba(205, 163, 73, 0.3);
  color: #cda349;
}

.podcast-platform-link:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.podcast-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.0625rem;
  font-style: italic;
  color: rgba(205, 163, 73, 0.75);
  line-height: 1.6;
}

.podcast-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f9edd7;
  border: 1.5px solid rgba(205, 163, 73, 0.6);
  border-radius: 2px;
  background-color: transparent;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease;
  align-self: flex-start;
}

.podcast-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(205, 163, 73, 0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
  z-index: 0;
}

.podcast-cta span,
.podcast-cta svg {
  position: relative;
  z-index: 1;
}

.podcast-cta svg {
  transition: transform 250ms ease;
}

.podcast-cta:hover,
.podcast-cta:focus-visible {
  color: #f9edd7;
  border-color: #cda349;
  background-color: rgba(205, 163, 73, 0.1);
}

.podcast-cta:hover::before,
.podcast-cta:focus-visible::before {
  transform: scaleX(1);
}

.podcast-cta:hover svg,
.podcast-cta:focus-visible svg {
  transform: translateX(3px);
}

.podcast-cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.podcast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.podcast-cta--solid {
  color: #081632;
  border-color: #cda349;
  background-color: #cda349;
}

.podcast-cta--solid::before {
  background-color: rgba(8, 22, 50, 0.12);
}

.podcast-cta--solid:hover,
.podcast-cta--solid:focus-visible {
  color: #081632;
  border-color: #f9edd7;
  background-color: #f9edd7;
}

.podcast-cta--solid:hover::before,
.podcast-cta--solid:focus-visible::before {
  transform: scaleX(1);
}

.podcast-csv-panel {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(249, 237, 215, 0.08) 0%, rgba(205, 163, 73, 0.08) 100%);
  border: 1px solid rgba(205, 163, 73, 0.26);
  border-radius: 8px;
}

.podcast-csv-panel__summary {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.podcast-csv-panel__kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #cda349;
}

.podcast-csv-panel h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: #f9edd7;
}

.podcast-csv-panel p {
  max-width: 720px;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(249, 237, 215, 0.86);
}

.podcast-csv-panel__link {
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cda349;
  border-bottom: 1px solid rgba(205, 163, 73, 0.45);
}

.podcast-csv-panel__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.podcast-csv-panel__topics span {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #081632;
  background-color: #cda349;
  border-radius: 999px;
}

.podcast-csv-panel__list {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.15rem;
  color: rgba(205, 163, 73, 0.95);
}

.podcast-csv-panel__list a {
  color: rgba(249, 237, 215, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

.podcast-csv-panel__link:hover,
.podcast-csv-panel__link:focus-visible,
.podcast-csv-panel__list a:hover,
.podcast-csv-panel__list a:focus-visible {
  color: #f9edd7;
}

.podcast-recomendacion {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(205, 163, 73, 0.1) 0%, rgba(123, 27, 54, 0.12) 100%);
  border: 1px solid rgba(205, 163, 73, 0.3);
  border-radius: 6px;
}

.podcast-recomendacion__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 163, 73, 0.12);
  border: 1px solid rgba(205, 163, 73, 0.25);
  border-radius: 50%;
  color: #cda349;
  flex-shrink: 0;
}

.podcast-recomendacion__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.podcast-recomendacion__text {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(249, 237, 215, 0.82);
}

.podcast-recomendacion__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #081632;
  background-color: #cda349;
  border: 1.5px solid #cda349;
  border-radius: 4px;
  text-decoration: none;
  align-self: flex-start;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.podcast-recomendacion__cta:hover,
.podcast-recomendacion__cta:focus-visible {
  background-color: #dbb75c;
  border-color: #dbb75c;
  color: #081632;
}

.podcast-recomendacion__cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 3px;
}

@media (max-width: 859px) {
  .podcast-csv-panel {
    padding: 1.25rem;
  }

  .podcast-csv-panel h3 {
    font-size: 1.25rem;
  }

  .podcast-recomendacion {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .podcast-recomendacion__cta {
    align-self: center;
  }
}

/* ---- Podcast responsive ---- */
@media (max-width: 859px) {
  .podcast-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .podcast-embed iframe {
    height: 280px;
  }
}

@media (min-width: 860px) {
  .podcast-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .podcast-layout {
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
  }
}

/* =============================================
   Comunidad Section
   ============================================= */
.comunidad-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
}

.comunidad-about {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comunidad-social {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.comunidad-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #081632;
  line-height: 1.3;
}

.comunidad-text {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: #122b5b;
  opacity: 0.85;
}

.comunidad-values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 0.25rem;
}

.comunidad-value {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
  color: #122b5b;
}

.comunidad-value svg {
  flex-shrink: 0;
  color: #cda349;
  margin-top: 0.15rem;
}

.comunidad-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comunidad-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  background-color: #fff;
  border: 1px solid rgba(8, 22, 50, 0.08);
  border-radius: 4px;
  color: #081632;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.comunidad-link svg {
  flex-shrink: 0;
  color: #cda349;
}

.comunidad-link:hover,
.comunidad-link:focus-visible {
  border-color: rgba(205, 163, 73, 0.4);
  box-shadow: 0 4px 16px rgba(8, 22, 50, 0.08);
  transform: translateY(-2px);
  color: #081632;
}

.comunidad-link:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.comunidad-link--email {
  border-color: rgba(205, 163, 73, 0.45);
  box-shadow: 0 8px 24px rgba(8, 22, 50, 0.08);
}

.comunidad-link--email svg {
  color: #cda349;
}

.comunidad-link--secondary {
  opacity: 0.72;
}

.comunidad-link--whatsapp {
  border-color: rgba(8, 22, 50, 0.08);
}

.comunidad-link--whatsapp:hover,
.comunidad-link--whatsapp:focus-visible {
  border-color: rgba(205, 163, 73, 0.25);
}

.comunidad-link--whatsapp svg {
  color: rgba(18, 43, 91, 0.45);
}

.comunidad-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.comunidad-link-name {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.comunidad-link-stat {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #122b5b;
  opacity: 0.7;
}

.comunidad-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f9edd7;
  background-color: #081632;
  border: 1.5px solid #081632;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.comunidad-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #cda349;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
  z-index: 0;
}

.comunidad-cta span,
.comunidad-cta svg {
  position: relative;
  z-index: 1;
}

.comunidad-cta svg {
  transition: transform 250ms ease;
}

.comunidad-cta:hover,
.comunidad-cta:focus-visible {
  background-color: #cda349;
  border-color: #cda349;
  color: #081632;
}

.comunidad-cta:hover::before,
.comunidad-cta:focus-visible::before {
  transform: scaleX(1);
}

.comunidad-cta:hover svg,
.comunidad-cta:focus-visible svg {
  transform: translateX(3px);
}

.comunidad-cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

/* ---- Comunidad responsive ---- */
@media (min-width: 860px) {
  .comunidad-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .comunidad-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

/* =============================================
   Contacto Section
   ============================================= */
.contacto-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
}

.contacto-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #081632;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.contacto-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: #122b5b;
}

.contacto-item svg {
  flex-shrink: 0;
  color: #cda349;
  margin-top: 0.15rem;
}

.contacto-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.contacto-item-label {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #081632;
  margin-bottom: 0.125rem;
}

.contacto-item-text a {
  color: #122b5b;
  border-bottom: 1px solid rgba(205, 163, 73, 0.4);
  transition: color 250ms ease, border-color 250ms ease;
}

.contacto-item-text a:hover,
.contacto-item-text a:focus-visible {
  color: #cda349;
  border-bottom-color: #cda349;
}

.contacto-horario {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.75rem;
  background: rgba(205, 163, 73, 0.12);
  border-left: 3px solid #cda349;
  border-radius: 0 4px 4px 0;
  font-size: 0.875rem;
  margin-top: 0.2rem;
}

.contacto-horario strong {
  color: #7b1b36;
}

.contacto-map {
  margin-top: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(8, 22, 50, 0.08);
}

.contacto-map iframe {
  display: block;
  width: 100%;
}

.contacto-canales {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contacto-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contacto-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  background-color: #fff;
  border: 1px solid rgba(8, 22, 50, 0.08);
  border-radius: 4px;
  color: #081632;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.contacto-link svg {
  flex-shrink: 0;
  color: #cda349;
}

.contacto-link:hover,
.contacto-link:focus-visible {
  border-color: rgba(205, 163, 73, 0.4);
  box-shadow: 0 4px 16px rgba(8, 22, 50, 0.08);
  transform: translateY(-2px);
  color: #081632;
}

.contacto-link:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.contacto-link--email {
  border-color: rgba(205, 163, 73, 0.45);
  box-shadow: 0 8px 24px rgba(8, 22, 50, 0.08);
}

.contacto-link--email svg {
  color: #cda349;
}

.contacto-link--secondary {
  opacity: 0.72;
}

.contacto-link--whatsapp {
  border-color: rgba(8, 22, 50, 0.08);
}

.contacto-link--whatsapp:hover,
.contacto-link--whatsapp:focus-visible {
  border-color: rgba(205, 163, 73, 0.25);
}

.contacto-link--whatsapp svg {
  color: rgba(18, 43, 91, 0.45);
}

.contacto-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.contacto-link-name {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.contacto-link-stat {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #122b5b;
  opacity: 0.7;
}

.contacto-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f9edd7;
  background-color: #081632;
  border: 1.5px solid #081632;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.contacto-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #cda349;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
  z-index: 0;
}

.contacto-cta span,
.contacto-cta svg {
  position: relative;
  z-index: 1;
}

.contacto-cta svg {
  transition: transform 250ms ease;
}

.contacto-cta:hover,
.contacto-cta:focus-visible {
  background-color: #cda349;
  border-color: #cda349;
  color: #081632;
}

.contacto-cta:hover::before,
.contacto-cta:focus-visible::before {
  transform: scaleX(1);
}

.contacto-cta:hover svg,
.contacto-cta:focus-visible svg {
  transform: translateX(3px);
}

.contacto-cta:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

@media (min-width: 860px) {
  .contacto-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .contacto-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

/* =============================================
   Visual polish pass — contraste y coherencia
   ============================================= */
.section--cream .section-intro,
.section--cream .card-desc,
.section--cream .curso-card p,
.section--cream .comunidad-text,
.section--cream .contacto-item,
.section--cream .comunidad-link-stat,
.section--cream .contacto-link-stat {
  color: #122b5b;
  opacity: 1;
}

.section--navy .section-intro,
.section--navy .resource-desc,
.section--navy .podcast-recomendacion__text,
.section--navy .podcast-csv-panel p,
.section--navy .testimonios-trust__item span {
  color: rgba(249, 237, 215, 0.9);
  opacity: 1;
}

.card,
.curso-card,
.testimonio-card,
.comunidad-link,
.contacto-link {
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(8, 22, 50, 0.05), 0 10px 28px rgba(8, 22, 50, 0.06);
}

.card,
.curso-card,
.testimonio-card {
  min-height: 100%;
}

.card:hover,
.curso-card:hover,
.testimonio-card:hover,
.comunidad-link:hover,
.contacto-link:hover {
  box-shadow: 0 16px 38px rgba(8, 22, 50, 0.12);
}

.card--soon,
.curso-card--soon {
  background: linear-gradient(145deg, #081632 0%, #122b5b 100%);
  border: 1px solid rgba(205, 163, 73, 0.46);
  color: #f9edd7;
  box-shadow: 0 18px 42px rgba(8, 22, 50, 0.18);
}

.card--soon .card-title,
.curso-card--soon h3 {
  color: #f9edd7;
}

.card--soon .card-desc,
.curso-card--soon p {
  color: rgba(249, 237, 215, 0.92);
  opacity: 1;
}

.card--soon .card-icon,
.curso-card--soon .curso-card__icon {
  color: #cda349;
  background-color: rgba(205, 163, 73, 0.16);
  border-color: rgba(205, 163, 73, 0.36);
}

.card__soon-tag,
.curso-card--soon .curso-card__tag {
  color: #081632;
  background-color: #cda349;
  box-shadow: 0 6px 16px rgba(205, 163, 73, 0.22);
}

.card-cta,
.curso-card__link,
.resource-link,
.podcast-cta,
.comunidad-cta,
.contacto-cta,
.podcast-recomendacion__cta,
.cursos-info-btn {
  border-radius: 999px;
}

.curso-card__link,
.resource-link {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(205, 163, 73, 0.36);
  background-color: rgba(205, 163, 73, 0.1);
}

.curso-card__link:hover,
.curso-card__link:focus-visible,
.resource-link:hover,
.resource-link:focus-visible {
  color: #081632;
  background-color: #cda349;
  border-color: #cda349;
}

.curso-card--soon .curso-card__link {
  color: #081632;
  background-color: #cda349;
  border-color: #cda349;
}

.curso-card--soon .curso-card__link:hover,
.curso-card--soon .curso-card__link:focus-visible {
  color: #081632;
  background-color: #dbb75c;
  border-color: #dbb75c;
}

.resource-card,
.podcast-csv-panel,
.podcast-recomendacion {
  border-radius: 10px;
  border-color: rgba(205, 163, 73, 0.32);
  background: linear-gradient(145deg, rgba(249, 237, 215, 0.09), rgba(18, 43, 91, 0.52));
}

.resource-card:hover {
  background: linear-gradient(145deg, rgba(205, 163, 73, 0.12), rgba(18, 43, 91, 0.58));
}

.resource-title,
.podcast-csv-panel h3 {
  color: #f9edd7;
}

.resource-desc {
  font-weight: 400;
}

.resource-songs li a {
  color: rgba(249, 237, 215, 0.94);
  background-color: rgba(249, 237, 215, 0.08);
}

.comunidad-link--secondary,
.contacto-link--secondary {
  opacity: 1;
}

.comunidad-link--whatsapp svg,
.contacto-link--whatsapp svg {
  color: #cda349;
}

.comunidad-link-stat,
.contacto-link-stat {
  font-weight: 400;
}

.comunidad-about,
.comunidad-social,
.contacto-info,
.contacto-canales {
  min-width: 0;
}

.contacto-item {
  font-weight: 400;
}

.contacto-horario {
  color: #081632;
  background-color: rgba(205, 163, 73, 0.18);
}

@media (max-width: 859px) {
  .section-inner {
    padding: 0 1rem;
  }

  .section-intro {
    margin-bottom: 2rem;
  }

  .card,
  .curso-card,
  .testimonio-card,
  .resource-card,
  .podcast-csv-panel,
  .podcast-recomendacion {
    border-radius: 8px;
  }

  .card-cta,
  .curso-card__link,
  .resource-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-link,
  .nav-cta,
  .search-input,
  .search-btn,
  .topbar-links a,
  .menu-toggle-bar,
  .hero-slide,
  .hero-dot,
  .hero-arrow,
  .hero-cta,
  .resource-card,
  .resource-link,
  .podcast-cta,
  .podcast-platform-link,
  .card,
  .testimonio-card,
  .testimonios-cta,
  .comunidad-link,
  .comunidad-cta,
  .contacto-link,
  .contacto-cta {
    transition: none;
  }

  .hero-content-inner {
    animation: none;
  }

  .loader-ring {
    animation: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .search-hit {
    animation: none;
  }

  .page-loader {
    display: none;
  }
}

/* =============================================
   Site Footer
   ============================================= */
.site-footer {
  background-color: #081632;
  color: #f9edd7;
  border-top: 1px solid rgba(205, 163, 73, 0.2);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 3px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #f9edd7;
  line-height: 1.2;
}

.footer-brand-tagline {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(249, 237, 215, 0.6);
  letter-spacing: 0.02em;
}

.footer-verse {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(205, 163, 73, 0.7);
  line-height: 1.6;
  max-width: 320px;
}

.footer-nav-title {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(249, 237, 215, 0.45);
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(249, 237, 215, 0.75);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 250ms ease, border-color 250ms ease;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus-visible {
  color: #cda349;
  border-bottom-color: rgba(205, 163, 73, 0.4);
}

.footer-nav-list a:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(249, 237, 215, 0.7);
  border: 1px solid rgba(249, 237, 215, 0.12);
  border-radius: 3px;
  transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: #cda349;
  border-color: rgba(205, 163, 73, 0.4);
  background-color: rgba(205, 163, 73, 0.08);
}

.footer-social-links a:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(249, 237, 215, 0.08);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(249, 237, 215, 0.45);
}

.footer-bottom-divider {
  opacity: 0.3;
}

@media (min-width: 860px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 859px) {
  .footer-inner {
    padding: 2.5rem 1rem 2rem;
    gap: 2rem;
  }

  .footer-bottom-inner {
    padding: 1rem;
    justify-content: center;
    text-align: center;
  }

  .footer-social-links {
    justify-content: flex-start;
  }
}

/* =============================================
   Chatbot FAB — Bottom bar expandible
   ============================================= */
.chatbot-fab {
  position: fixed;
  bottom: 0;
  right: 1.5rem;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 0.625rem;
  background-color: #122b5b;
  border: 1px solid rgba(205, 163, 73, 0.4);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  color: #cda349;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  max-width: 2.75rem;
  box-shadow: 0 -2px 12px rgba(8, 22, 50, 0.25);
  transition: max-width 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms ease, border-color 300ms ease;
}

.chatbot-fab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.chatbot-fab__label {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f9edd7;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 300ms ease 100ms, transform 300ms ease 100ms;
}

.chatbot-fab__sub {
  font-weight: 400;
  color: rgba(205, 163, 73, 0.7);
  font-size: 0.75rem;
}

.chatbot-fab:hover,
.chatbot-fab:focus-visible {
  max-width: 320px;
  border-color: rgba(205, 163, 73, 0.7);
  box-shadow: 0 -4px 20px rgba(8, 22, 50, 0.35), 0 0 0 3px rgba(205, 163, 73, 0.1);
  color: #cda349;
}

.chatbot-fab:hover .chatbot-fab__label,
.chatbot-fab:focus-visible .chatbot-fab__label {
  opacity: 1;
  transform: translateX(0);
}

.chatbot-fab:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

@media (max-width: 859px) {
  .chatbot-fab {
    right: 1rem;
    height: 2.5rem;
    max-width: 2.5rem;
  }

  .chatbot-fab__icon {
    width: 18px;
    height: 18px;
  }

  .chatbot-fab__label {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chatbot-fab {
    transition: none;
    max-width: 280px;
  }

  .chatbot-fab__label {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* =============================================
   Floating Music Player
   ============================================= */
.music-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background-color: #081632;
  border-top: 1px solid rgba(205, 163, 73, 0.3);
  box-shadow: 0 -4px 24px rgba(8, 22, 50, 0.4);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.music-player.is-visible {
  transform: translateY(0);
}

.music-player.is-hidden-permanent {
  display: none;
}

.music-player__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.625rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.music-player__btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 163, 73, 0.15);
  border: 1px solid rgba(205, 163, 73, 0.35);
  border-radius: 50%;
  color: #cda349;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.music-player__btn:hover,
.music-player__btn:focus-visible {
  background-color: rgba(205, 163, 73, 0.3);
  border-color: #cda349;
  transform: scale(1.08);
}

.music-player__btn:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.music-player__icon--pause {
  display: none;
}

.music-player.is-playing .music-player__icon--play {
  display: none;
}

.music-player.is-playing .music-player__icon--pause {
  display: block;
}

.music-player__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.music-player__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f9edd7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-player__status {
  font-size: 0.6875rem;
  font-weight: 300;
  color: rgba(249, 237, 215, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-player__links {
  display: flex;
  gap: 0.375rem;
  flex-shrink: 0;
}

.music-player__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(249, 237, 215, 0.6);
  background-color: rgba(249, 237, 215, 0.06);
  border: 1px solid rgba(249, 237, 215, 0.12);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

button.music-player__link {
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

.music-player__link.is-active {
  background-color: rgba(205, 163, 73, 0.18);
  border-color: rgba(205, 163, 73, 0.55);
  color: #cda349;
}

.music-player__link--external {
  border-style: dashed;
}

.music-player__suno {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #081632;
  background-color: #cda349;
  border: 1px solid #cda349;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.music-player__link:hover,
.music-player__link:focus-visible {
  background-color: rgba(205, 163, 73, 0.15);
  border-color: rgba(205, 163, 73, 0.4);
  color: #cda349;
}

.music-player__suno:hover,
.music-player__suno:focus-visible {
  background-color: #dbb75c;
  border-color: #dbb75c;
}

.music-player__link:focus-visible,
.music-player__suno:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

.music-player__close {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(249, 237, 215, 0.1);
  border-radius: 50%;
  color: rgba(249, 237, 215, 0.4);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 200ms ease, border-color 200ms ease;
}

.music-player__close:hover,
.music-player__close:focus-visible {
  color: #f9edd7;
  border-color: rgba(249, 237, 215, 0.3);
}

.music-player__close:focus-visible {
  outline: 2px solid #cda349;
  outline-offset: 2px;
}

@media (max-width: 859px) {
  .music-player__inner {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .music-player__title {
    font-size: 0.8125rem;
  }

  .music-player__links {
    gap: 0.25rem;
  }

  .music-player__link {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.625rem;
  }

  .music-player__suno {
    min-height: 1.5rem;
    padding: 0 0.45rem;
    font-size: 0.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .music-player {
    transition: none;
  }
}
