.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out),
              background-color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out);
}

.btn:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.08s;
}

.btn-primary {
  background: var(--bg-button);
  color: var(--white);
  border-color: var(--borde-acento-fuerte);
  box-shadow: 0 6px 18px rgba(26, 72, 51, 0.28);
}

.btn-primary:hover {
  background: var(--bg-button-hover);
  color: var(--white);
  transform: translateY(var(--lift-sm));
  border-color: var(--acento-300);
  box-shadow: 0 10px 26px rgba(26, 72, 51, 0.34);
}

.btn-outline {
  background: rgba(15, 48, 34, 0.42);
  color: var(--white);
  border-color: rgba(250, 232, 215, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  background: var(--acento-100);
  color: var(--green-900) !important;
  border-color: var(--acento-100);
  text-shadow: none;
  transform: translateY(var(--lift-sm));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.btn-secondary {
  background: var(--acento-50);
  color: var(--green-800);
  border-color: var(--borde-acento-suave);
}

.btn-secondary:hover {
  background: var(--btn-secondary-bg-hover);
  color: var(--green-900);
  border-color: var(--borde-acento-hover);
  transform: translateY(var(--lift-sm));
}

.btn-acento {
  background: var(--acento-600);
  color: var(--white) !important;
  border-color: var(--acento-400);
  box-shadow: 0 6px 18px rgba(118, 89, 47, 0.34);
}

.btn-acento:hover {
  background: var(--acento-700);
  color: var(--white) !important;
  border-color: var(--acento-300);
  transform: translateY(var(--lift-sm));
  box-shadow: 0 10px 26px rgba(118, 89, 47, 0.4);
}

.btn svg {
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(3px);
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal { transform: translateY(48px) scale(0.965); filter: blur(6px); }
.reveal-left { transform: translate(-56px, 18px) scale(0.975); filter: blur(4px); }
.reveal-right { transform: translate(56px, 18px) scale(0.975); filter: blur(4px); }

@media (max-width: 992px) {
  .reveal-left,
  .reveal-right { transform: translateY(24px) scale(0.975); }
}

section,
footer {
  overflow-x: clip;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
  will-change: auto;
}

@keyframes reveal-respaldo {
  to { opacity: 1; transform: none; filter: none; }
}

html:not(.js-listo) :is(.reveal, .reveal-left, .reveal-right) {
  animation: reveal-respaldo 0.6s var(--ease-out) 3s forwards;
}

@media (scripting: none) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

[hidden] {
  display: none !important;
}

.filter-in {
  animation: filterIn 0.45s var(--ease-out) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes filterIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: padding 0.4s var(--ease-out), background-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.navbar.scrolled {
  padding: 10px 0;
  background: var(--bg-header-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--navbar-border-bottom-scrolled);
  box-shadow: var(--navbar-shadow-scrolled);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
  transition: height 0.35s var(--ease-out), filter 0.35s var(--ease-out), transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
  flex-shrink: 0;
}

.nav-logo-marca {
  position: relative;
  display: flex;
  flex-shrink: 0;
}

.nav-logo-claro {
  position: absolute;
  top: 0;
  left: 0;
}

.navbar:not(.scrolled) .nav-logo-base,
.navbar.scrolled .nav-logo-claro {
  opacity: 0;
}

.navbar.scrolled .nav-logo-img {
  height: 50px;
  filter: drop-shadow(0 2px 8px rgba(15, 48, 34, 0.15));
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 1.8vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  transition: color 0.4s var(--ease-out), font-size 0.4s var(--ease-out), text-shadow 0.4s var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}

.navbar.scrolled .nav-logo-text {
  color: var(--text-brand);
  font-size: clamp(1.25rem, 1.6vw, 1.65rem);
  text-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  padding: 8px 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: color 0.3s var(--ease-out);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--acento-400);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}

.navbar.scrolled .nav-link {
  color: var(--gray-600);
  text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--acento-100);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--green-800);
}

.navbar.scrolled .nav-link::after {
  background: var(--green-600);
}

.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.3s var(--ease-out);
  color: var(--acento-300);
  margin-left: 2px;
}

.navbar.scrolled .dropdown-chevron {
  color: var(--text-eyebrow);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.active .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(11, 35, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(222, 170, 96, 0.35);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4), 0 2px 12px rgba(201, 154, 85, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  z-index: 1005;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
}

.navbar.scrolled .nav-dropdown-menu {
  background: var(--nav-dropdown-menu-bg-scrolled);
  border-color: var(--nav-dropdown-menu-border-scrolled);
  box-shadow: var(--nav-dropdown-menu-shadow-scrolled);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: 'Playfair Display', serif;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--acento-100);
  text-decoration: none;
  transition: color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.navbar.scrolled .nav-dropdown-item {
  color: var(--text-label);
}

.dropdown-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acento-400);
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

.nav-dropdown-item:hover {
  background: rgba(222, 170, 96, 0.18);
  color: var(--white);
  transform: translateX(4px);
}

.navbar.scrolled .nav-dropdown-item:hover {
  background: var(--nav-dropdown-item-bg-hover);
  color: var(--text-accent-soft);
}

.nav-dropdown-item:hover .dropdown-item-dot {
  transform: scale(1.6);
  background: var(--acento-300);
}

.nav-cta {
  padding: 10px 26px;
  background: rgba(12, 40, 27, 0.72);
  border: 1px solid var(--acento-300);
  color: var(--white) !important;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out);
  margin-left: 8px;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--acento-300);
  color: var(--green-900) !important;
  border-color: var(--acento-300);
  text-shadow: none;
  transform: translateY(var(--lift-sm));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.nav-cta:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.08s;
}

.navbar.scrolled .nav-cta {
  background: var(--green-700);
  border-color: var(--acento-400);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(26, 72, 51, 0.22);
}

.navbar.scrolled .nav-cta:hover {
  background: var(--green-600);
  border-color: var(--acento-300);
  color: var(--white) !important;
  box-shadow: 0 8px 22px rgba(26, 72, 51, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.theme-toggle,
.movimiento-toggle-icono {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--acento-300);
  background: rgba(12, 40, 27, 0.55);
  color: var(--acento-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  padding: 0;
}

.theme-toggle:hover,
.movimiento-toggle-icono:hover {
  transform: scale(1.06);
  background: var(--acento-300);
  border-color: var(--acento-300);
  color: var(--green-900);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.theme-toggle:active,
.movimiento-toggle-icono:active {
  transform: scale(0.96);
  transition-duration: 0.08s;
}

.navbar.scrolled .theme-toggle,
.navbar.scrolled .movimiento-toggle-icono {
  background: var(--acento-50);
  border-color: var(--acento-300);
  color: var(--green-800);
  box-shadow: 0 3px 10px rgba(15, 48, 34, 0.1);
}

.navbar.scrolled .theme-toggle:hover,
.navbar.scrolled .movimiento-toggle-icono:hover {
  background: var(--acento-200);
  border-color: var(--acento-400);
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .movimiento-toggle-icono,
[data-theme="dark"] .navbar.scrolled .theme-toggle,
[data-theme="dark"] .navbar.scrolled .movimiento-toggle-icono {
  background: rgba(23, 53, 38, 0.85);
  border-color: var(--borde-acento-fuerte);
  color: var(--acento-300);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .movimiento-toggle-icono:hover,
[data-theme="dark"] .navbar.scrolled .theme-toggle:hover,
[data-theme="dark"] .navbar.scrolled .movimiento-toggle-icono:hover {
  background: var(--acento-400);
  color: var(--green-900);
}

.theme-toggle svg,
.movimiento-toggle-icono svg {
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

html:not([data-theme="dark"]) .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
  pointer-events: none;
}

html:not([data-theme="dark"]) .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--acento-300);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
  pointer-events: none;
}

.movimiento-toggle-icono .icon-mov-no,
html[data-movimiento="reducido"] .movimiento-toggle-icono .icon-mov-si {
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
}

html[data-movimiento="reducido"] .movimiento-toggle-icono .icon-mov-no {
  opacity: 1;
  transform: none;
}

.nav-movimiento,
.movimiento-no,
html[data-movimiento="reducido"] .movimiento-si {
  display: none;
}

html[data-movimiento="reducido"] .movimiento-no {
  display: inline;
}

@media (max-width: 992px) {
  .movimiento-toggle-icono {
    display: none;
  }

  .nav-movimiento {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 0;
    background: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: left;
    cursor: pointer;
    margin-top: 12px;
  }

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

  .nav-movimiento-estado {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-accent-soft);
  }
}

.idiomas {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 42px;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--acento-300);
  background: rgba(12, 40, 27, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.idiomas a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 34px;
  height: 32px;
  padding: 0 10px 0 7px;
  border-radius: var(--radius-full);
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--acento-100);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.idiomas a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.idiomas .bandera {
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(15, 48, 34, 0.25);
}

.idiomas a[aria-current="true"] {
  background: var(--acento-300);
  color: var(--green-900);
}

.idiomas a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.navbar.scrolled .idiomas {
  background: var(--acento-50);
  border-color: var(--acento-300);
  box-shadow: 0 3px 10px rgba(15, 48, 34, 0.1);
}

.navbar.scrolled .idiomas a {
  color: var(--green-800);
}

.navbar.scrolled .idiomas a:hover {
  background: var(--acento-200);
  color: var(--green-900);
}

.navbar.scrolled .idiomas a[aria-current="true"] {
  background: var(--green-700);
  color: var(--white);
}

[data-theme="dark"] .idiomas,
[data-theme="dark"] .navbar.scrolled .idiomas {
  background: rgba(23, 53, 38, 0.85);
  border-color: var(--borde-acento-fuerte);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .idiomas a,
[data-theme="dark"] .navbar.scrolled .idiomas a {
  color: var(--acento-300);
}

[data-theme="dark"] .idiomas a:hover,
[data-theme="dark"] .navbar.scrolled .idiomas a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--acento-100);
}

[data-theme="dark"] .idiomas a[aria-current="true"],
[data-theme="dark"] .navbar.scrolled .idiomas a[aria-current="true"] {
  background: var(--acento-400);
  color: var(--green-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-accent);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    rgba(8, 29, 20, 0.82) 0%,
    rgba(15, 48, 34, 0.62) 45%,
    rgba(26, 72, 51, 0.32) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: clamp(145px, 16vh, 175px) 0 90px;
}

.hero-contacto {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 380px;
  padding: 30px 28px 28px;
  border: 1px solid rgba(250, 232, 215, 0.22);
  border-radius: var(--radius-xl);
  background: rgba(6, 20, 13, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color: var(--white);
  animation: hero-contacto-entra 0.9s var(--ease-out) 0.5s both;
}

.hero-contacto-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--white);
}

.hero-contacto-texto {
  margin-top: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(253, 251, 247, 0.86);
}

.hero-contacto-acciones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 232, 215, 0.16);
}

.hero-contacto-telefono {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--white);
}

.hero-contacto-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  background: var(--whatsapp-bg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--white);
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.hero-contacto-whatsapp:hover {
  background: var(--whatsapp-bg-hover);
  color: var(--white);
  transform: translateY(var(--lift-sm));
}

.hero-contacto-whatsapp svg {
  flex-shrink: 0;
}



@keyframes hero-contacto-entra {
  from { opacity: 0; transform: translateY(18px); }
}

@media (min-width: 1100px) {
  .hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 48px;
  }
}

@media (max-width: 1099px) {
  .hero .hero-content { padding-bottom: 0; }
  .hero-contacto { margin: 32px 0 96px; }
}

@media (max-width: 380px) {
  .hero-contacto { padding: 24px 20px 22px; }
  .hero-contacto-titulo { font-size: 1.4rem; }
  .hero-contacto-telefono { font-size: 1.4rem; }
}

html[data-movimiento="reducido"] .hero-contacto {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-movimiento]) .hero-contacto {
    animation: none;
  }
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: rgba(6, 20, 13, 0.34);
  border: 1px solid rgba(250, 232, 215, 0.18);
  border-radius: var(--radius-full);
  color: rgba(253, 251, 247, 0.92);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.8s var(--ease-out) 0.2s both;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
}

.hero-badge-label {
  padding-left: 9px;
  border-left: 1px solid rgba(250, 232, 215, 0.16);
}

.hero-badge svg {
  color: var(--acento-300);
  flex-shrink: 0;
}

.hero-badge:hover {
  background: rgba(8, 24, 16, 0.5);
  border-color: rgba(242, 189, 117, 0.5);
  transform: translateY(-1px);
}

.hero-title {
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
  animation: fadeInDown 0.8s var(--ease-out) 0.4s both;
}

.hero-title span {
  display: block;
  color: var(--acento-200);
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 42px;
  max-width: 540px;
  line-height: 1.85;
  animation: fadeInDown 0.8s var(--ease-out) 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeInDown 0.8s var(--ease-out) 0.8s both;
}

.hero-buttons .btn-outline-alt {
  border-color: rgba(242, 189, 117, 0.75);
}

.hero-buttons .btn-outline-alt:hover {
  background: var(--acento-300);
  border-color: var(--acento-300);
  color: var(--green-900) !important;
}

.btn-proximo {
  background: rgba(15, 48, 34, 0.3);
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(250, 232, 215, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  cursor: default;
  padding-right: 12px;
  flex-wrap: wrap;
  row-gap: 8px;
  max-width: 100%;
}

.btn-proximo:active {
  transform: none;
}

.btn-proximo svg {
  color: var(--acento-200);
  flex-shrink: 0;
}

.btn-proximo-etiqueta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  color: var(--acento-100);
  background: rgba(242, 189, 117, 0.16);
  border: 1px solid rgba(242, 189, 117, 0.55);
  text-shadow: none;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250, 232, 215, 0.7);
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInDown 0.8s var(--ease-out) 1s both;
  z-index: 3;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--acento-300), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

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

.stats-bar {
  background: var(--stats-bar-bg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stats-grid-border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  align-items: stretch;
}

.stat-item {
  padding: 38px 24px;
  text-align: center;
  border-right: 1px solid var(--border-color);
  transition: background 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
  background: var(--stat-item-bg-hover);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: -0.5px;
}

.stat-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about {
  background: var(--bg-body);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 560px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-surface);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about-img-main:hover img {
  transform: scale(1.05);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg-surface);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about-img-secondary:hover img {
  transform: scale(1.05);
}

.about-floating-card {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  background: var(--about-floating-card-bg);
  backdrop-filter: blur(16px);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: var(--border-card);
  box-shadow: var(--shadow-md);
  text-align: center;
  z-index: 2;
}

.about-floating-card .afc-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
}

.about-floating-card .afc-text {
  font-size: 0.82rem;
  color: var(--afc-text-color);
  margin-top: 6px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.about-floating-card .afc-star {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.18));
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  min-height: 72px;
  background: var(--bg-surface);
  border: 1px solid var(--about-feature-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.about-feature:hover {
  transform: translateY(var(--lift-sm));
  border-color: var(--borde-acento-hover);
  box-shadow: var(--shadow-md);
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-icon);
  border: 1px solid var(--about-feature-icon-border);
  color: var(--icon-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
}

.events {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--events-border);
  border-bottom: 1px solid var(--events-border);
}

.events-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.events-header .section-subtitle {
  margin: 0 auto;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.event-card {
  position: relative;
  height: 100%;
  min-height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: var(--borde-tarjeta);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              transform 0.4s var(--ease-out);
}

.event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.event-card:hover {
  border-color: var(--borde-acento-fuerte);
  box-shadow: 0 16px 44px rgba(8, 29, 20, 0.28);
}

.event-card:hover img {
  transform: scale(1.08);
}

.event-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 29, 20, 0.92) 0%, rgba(8, 29, 20, 0.72) 34%, rgba(8, 29, 20, 0.14) 62%, transparent 78%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 32px;
  transition: background 0.4s var(--ease-out);
}

.event-card:hover .event-card-overlay {
  background: linear-gradient(to top, rgba(8, 29, 20, 0.94) 0%, rgba(8, 29, 20, 0.78) 40%, rgba(8, 29, 20, 0.22) 68%, transparent 86%);
}

.event-card-title {
  font-family: var(--font-card-title);
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  margin-bottom: 10px;
}

.event-card-desc {
  font-family: var(--font-card-text);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  line-height: 1.55;
  max-width: 38ch;
}

.events-grid > .event-card:first-child .event-card-overlay {
  padding: 44px 46px;
}

.events-grid > .event-card:first-child .event-card-title {
  font-size: clamp(2.6rem, 4.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.events-grid > .event-card:first-child .event-card-desc {
  font-size: 1.2rem;
  max-width: 34ch;
}

.events-capacity {
  margin-top: 50px;
  padding: 34px 44px;
  background: var(--events-capacity-bg);
  border: var(--borde-tarjeta);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(8, 29, 20, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.events-capacity:hover {
  border-color: var(--events-capacity-border-hover);
  box-shadow: 0 14px 38px rgba(8, 29, 20, 0.12);
}

.events-capacity-text {
  display: flex;
  align-items: center;
  gap: 18px;
}

.events-capacity-text .icon {
  display: flex;
  align-items: center;
  color: var(--green-600);
}

.events-capacity-text h3 {
  font-size: 1.75rem;
  text-wrap: balance;
  color: var(--green-800);
}

.events-capacity-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.espacios {
  background: var(--bg-body);
}

.espacios-header,
.servicios-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.espacios-header .section-subtitle,
.servicios-header .section-subtitle {
  margin: 0 auto;
}

.espacios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.espacio {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: var(--borde-tarjeta);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.espacio:hover {
  transform: translateY(var(--lift-md));
  border-color: var(--borde-acento-hover);
  box-shadow: var(--shadow-md);
}

.espacio-foto {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.espacio-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.espacio:hover .espacio-foto img {
  transform: scale(1.04);
}

.espacio-texto {
  padding: 24px 26px 28px;
}

.espacio h3,
.servicio h3 {
  font-family: var(--font-card-title);
  font-size: var(--fs-titulo-bloque);
  line-height: 1.25;
  text-wrap: balance;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.espacio p,
.servicio p {
  font-family: var(--font-card-text);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-body);
}

.servicios {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--events-border);
  border-bottom: 1px solid var(--events-border);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servicio {
  padding: 30px 28px;
  background: var(--bg-surface);
  border: var(--borde-tarjeta);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.servicio:hover {
  transform: translateY(var(--lift-sm));
  border-color: var(--borde-acento-hover);
  box-shadow: var(--shadow-md);
}

.servicio--destacado {
  border-color: var(--borde-acento-hover);
}

.servicio-icono {
  display: flex;
  margin-bottom: 16px;
  color: var(--icon-accent);
}

.servicio-icono svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}

.marcas {
  margin-top: 56px;
  text-align: center;
}

.marcas-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-caption);
  margin: 0 0 20px;
}

.marcas-cabecera {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 20px;
}

.marcas-cabecera .marcas-titulo {
  margin: 0;
}

.marcas-pausa {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: -12px 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text-caption);
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}

.marcas-pausa::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.4;
  transition: opacity 0.2s var(--ease-out);
}

.marcas-pausa:hover {
  color: var(--text-brand);
}

.marcas-pausa:hover::before {
  opacity: 0.8;
}

.marcas-pausa svg {
  grid-area: 1 / 1;
}

.marcas-icono-sigue,
.marcas.pausada .marcas-icono-pausa {
  display: none;
}

.marcas.pausada .marcas-icono-sigue {
  display: block;
}

.marcas.pausada .marcas-pista,
.marcas.fuera .marcas-pista {
  animation-play-state: paused;
}

html:not(.js-listo) .marcas-pausa {
  display: none;
}

.marcas-cinta {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.marcas-pista {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marcas-desliza 40s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .marcas-cinta:hover .marcas-pista {
    animation-play-state: paused;
  }
}

.marca {
  flex-shrink: 0;
  height: 56px;
  padding: 0 36px;
  display: flex;
  align-items: center;
}

.marca img {
  display: block;
  filter: brightness(0);
  opacity: 0.55;
}

@keyframes marcas-desliza {
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .marcas { margin-top: 44px; }
  .marca { padding: 0 24px; }
}

html[data-movimiento="reducido"] .marcas-cinta {
  -webkit-mask-image: none;
  mask-image: none;
}

html[data-movimiento="reducido"] .marcas-pista {
  width: auto;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 12px;
  animation: none;
}

html[data-movimiento="reducido"] .marca[aria-hidden="true"],
html[data-movimiento="reducido"] .marcas-pausa {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-movimiento]) .marcas-cinta {
    -webkit-mask-image: none;
    mask-image: none;
  }

  html:not([data-movimiento]) .marcas-pista {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    animation: none;
  }

  html:not([data-movimiento]) .marca[aria-hidden="true"],
  html:not([data-movimiento]) .marcas-pausa {
    display: none;
  }
}

.pasos {
  margin-top: 56px;
  padding: 40px 44px;
  background: var(--events-capacity-bg);
  border: var(--borde-tarjeta);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(8, 29, 20, 0.08);
}

.pasos-cabecera {
  margin-bottom: 36px;
  text-align: center;
}

.pasos-cabecera .section-label {
  margin-bottom: 10px;
}

.pasos-titulo {
  font-size: 1.9rem;
  color: var(--text-heading);
}

.pasos-lista {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  counter-reset: paso;
}

.paso {
  position: relative;
  counter-increment: paso;
}

.paso::before {
  content: counter(paso);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border: 1px solid var(--borde-acento);
  border-radius: 50%;
  background: var(--bg-icon);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-accent);
}

.paso:last-child::before {
  background: var(--acento-600);
  border-color: var(--acento-400);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(118, 89, 47, 0.3);
}

.paso:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 64px;
  right: -16px;
  border-top: 1px dashed var(--borde-acento);
}

.paso h4 {
  font-size: var(--fs-titulo-bloque);
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.paso p {
  font-family: var(--font-card-text);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-body);
}

.pasos-accion {
  margin-top: 36px;
  text-align: center;
}

.pasos-nota {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--text-subtle);
}

@media (max-width: 992px) {
  .servicios-grid,
  .pasos-lista { grid-template-columns: repeat(2, 1fr); }
  .paso:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
  .espacios-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .servicios-grid,
  .pasos-lista { grid-template-columns: 1fr; }
  .pasos { padding: 30px 24px; }
  .paso { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-content: start; }
  .paso::before { grid-row: 1 / span 2; margin-bottom: 0; }
  .paso h4 { align-self: end; padding-top: 4px; }
  .paso:not(:last-child)::after { display: block; top: 60px; bottom: -24px; left: 26px; right: auto; border-top: 0; border-left: 1px dashed var(--borde-acento); }
}

.cal-nav::after,
.gallery-filter::after {
  content: '';
  position: absolute;
  inset: -4px;
}

.gallery-filter {
  position: relative;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.2;
  color: var(--text-secondary);
  border: var(--gallery-filter-border);
  cursor: pointer;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.gallery-filter:hover {
  border-color: var(--borde-acento-hover);
  color: var(--text-brand);
  background: var(--bg-surface-elev);
}

.gallery-filter.active {
  background: var(--bg-accent);
  border-color: var(--border-accent);
  color: var(--text-on-accent);
  box-shadow: var(--gallery-filter-shadow-active);
}

.ferias {
  background: var(--bg-body);
  position: relative;
}

.ferias-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.ferias-header .section-label {
  justify-content: center;
}

.ferias-header .section-title {
  margin-bottom: 20px;
}

.ferias-header .section-subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 500;
}

.ferias-header .section-subtitle strong {
  color: var(--text-accent-soft);
  font-weight: 700;
}

.cabecera-partida {
  text-align: left;
  max-width: none;
  margin: 0 0 52px;
}

.cabecera-partida .section-label {
  justify-content: flex-start;
}

.cabecera-partida .section-subtitle {
  margin: 0;
  max-width: 560px;
}

@media (min-width: 993px) {
  .cabecera-partida {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 64px;
    align-items: end;
  }

  .cabecera-partida .section-label { grid-column: 1; grid-row: 1; justify-self: start; }
  .cabecera-partida .section-title { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .cabecera-partida .section-subtitle {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding-left: 28px;
    border-left: 2px solid var(--borde-acento-hover);
  }
}

.ferias-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: stretch;
}

.ferias-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ferias-highlight {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
}

.ferias-highlight + .ferias-highlight {
  border-top: 1px solid var(--border-color);
}

.ferias-highlight:first-child {
  padding-top: 0;
}

.ferias-highlight:last-child {
  padding-bottom: 0;
}

.ferias-highlight-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: var(--ferias-highlight-icon-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--ferias-highlight-icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
}

.ferias-highlight h3 {
  font-family: var(--font-card-title);
  font-size: var(--fs-titulo-bloque);
  line-height: 1.25;
  text-wrap: balance;
  color: var(--green-800);
  margin-bottom: 6px;
  font-weight: 700;
}

.ferias-highlight p {
  font-family: var(--font-card-text);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.65;
}

.ferias-calendar {
  background: var(--bg-surface);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 12px 40px rgba(26, 72, 51, 0.1), 0 3px 10px rgba(201, 154, 85, 0.1);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cal-month-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-strong);
}

.cal-nav {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--stats-grid-border);
  border-radius: 50%;
  background: var(--bg-body);
  color: var(--text-accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.cal-nav:hover {
  background: var(--bg-accent);
  border-color: var(--border-accent);
  color: var(--text-on-accent);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
}

.calendar-weekdays span {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-caption);
  padding: 6px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 18px;
}

.cal-day {
  aspect-ratio: 1;
  width: min(100%, 46px);
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.98rem;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--gray-600);
  cursor: default;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out);
  position: relative;
}

.cal-day.empty {
  color: transparent;
}

.cal-day.today {
  background: var(--cal-day-bg-today);
  color: var(--white);
  font-weight: 700;
}

.cal-day.has-feria {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-800);
}

.cal-day.has-feria::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acento);
}

.cal-day.has-feria:hover {
  background: var(--bg-option-hover);
  border: 1.5px solid var(--border-hover);
}

.cal-day.has-feria.selected {
  background: var(--cal-day-bg-active);
  color: var(--green-900);
}

.cal-day.has-feria.selected::after {
  background: var(--green-900);
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--about-feature-border);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.feria-dot { background: var(--acento-500); }
.today-dot { background: var(--today-dot-bg); }

.calendar-events {
  padding-top: 6px;
}

.cal-events-placeholder {
  font-size: 1rem;
  color: var(--cal-events-placeholder-color);
  font-style: italic;
}

.cal-evento {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 4px;
  animation: cal-evento-aparece 0.4s var(--ease-out) both;
}

.cal-evento-cabecera {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cal-evento-fecha {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--acento-400) 0%, var(--acento-500) 100%);
  color: var(--green-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 48, 34, 0.16);
}

.cal-evento-dia {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.cal-evento-mes {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

.cal-evento-nombre {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  margin: 0;
}

.cal-evento-datos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--about-feature-border);
  border-bottom: 1px solid var(--about-feature-border);
}

.cal-evento-dato {
  padding: 16px 20px;
}

.cal-evento-dato:first-child {
  padding-left: 0;
}

.cal-evento-dato + .cal-evento-dato {
  border-left: 1px solid var(--about-feature-border);
}

.cal-evento-dato dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--icon-accent);
  margin-bottom: 6px;
}

.cal-evento-dato dd {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-heading);
  overflow-wrap: anywhere;
}

.cal-evento-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

@keyframes cal-evento-aparece {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

html[data-movimiento="reducido"] .cal-evento {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-movimiento]) .cal-evento {
    animation: none;
  }
}

@media (max-width: 560px) {
  .cal-evento-datos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-evento-dato { padding: 14px 0; }
  .cal-evento-dato + .cal-evento-dato { border-left: 0; }
  .cal-evento-dato:nth-child(2) { grid-column: 1 / -1; order: -1; border-bottom: 1px solid var(--about-feature-border); }
  .cal-evento-dato:nth-child(3) { padding-left: 16px; border-left: 1px solid var(--about-feature-border); }
  .cal-evento-fecha { width: 62px; height: 62px; }
  .cal-evento-dia { font-size: 1.6rem; }
  .cal-day.has-feria { padding-bottom: 6px; }
  .cal-day.has-feria::after { bottom: 3px; width: 4px; height: 4px; }
  .ferias-calendar { padding: 24px 16px; }
  .calendar-days { column-gap: 0; }
}

@media (max-width: 900px) {
  .ferias-grid {
    grid-template-columns: 1fr;
  }
}

.gallery {
  background: var(--bg-section-alt);
}

.gallery-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.gallery-header .section-subtitle {
  margin: 0 auto;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter { background: var(--bg-surface); }

.gallery-mosaico {
  --galeria-columnas: 4;
  --galeria-hueco: 16px;
  container-type: inline-size;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--galeria-columnas), minmax(0, 1fr));
  grid-auto-rows: 240px;
  grid-auto-rows: calc((100cqi - (var(--galeria-columnas) - 1) * var(--galeria-hueco)) / var(--galeria-columnas));
  grid-auto-flow: dense;
  gap: var(--galeria-hueco);
}

.gallery-item--ancha { grid-column: span 2; }
.gallery-item--alta { grid-row: span 2; }
.gallery-item--grande { grid-column: span 2; grid-row: span 2; }

.gallery-grid--filtrada {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-grid--filtrada > .gallery-item {
  flex: 0 0 calc((100% - (var(--galeria-columnas) - 1) * var(--galeria-hueco)) / var(--galeria-columnas));
  aspect-ratio: 1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: var(--cream-100);
  transition: box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(8, 29, 20, 0.82) 0%, rgba(8, 29, 20, 0.35) 38%, rgba(8, 29, 20, 0) 66%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}

.gallery-item-texto {
  font-family: var(--font-card-text);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 250, 240, 0.96);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transform: translateY(10px);
  transition: transform 0.45s var(--ease-out);
}

.gallery-item--grande .gallery-item-texto {
  font-family: var(--font-card-title);
  font-size: 1.3rem;
}

.gallery-item-icono {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  background: var(--acento-200);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.gallery-item:focus-visible .gallery-item-overlay { opacity: 1; }
.gallery-item:focus-visible .gallery-item-texto { transform: none; }
.gallery-item:focus-visible .gallery-item-icono { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--borde-acento);
  }
  .gallery-item:hover img { transform: scale(1.05); }
  .gallery-item:hover .gallery-item-overlay { opacity: 1; }
  .gallery-item:hover .gallery-item-texto { transform: none; }
  .gallery-item:hover .gallery-item-icono { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .gallery-mosaico { --galeria-hueco: 12px; }
  .gallery-item-overlay { padding: 14px 16px; }
}

@media (max-width: 600px) {
  .gallery-mosaico { --galeria-columnas: 2; --galeria-hueco: 8px; }
  .gallery-item { border-radius: var(--radius-sm); }
}

.contact {
  background: var(--bg-body);
  border-top: 1px solid var(--events-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  row-gap: 36px;
}

.contact-cabecera { grid-column: 1; grid-row: 1; }
.contact-formulario { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.contact-datos { grid-column: 1; grid-row: 2; align-self: start; }

.contact-info {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: var(--contact-info-card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  transition: background-color 0.3s var(--ease-out);
}

.contact-info-card + .contact-info-card {
  border-top: 1px solid var(--border-color);
}

.contact-info-card:hover {
  background: var(--bg-body);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-icon);
  border: 1px solid var(--contact-info-icon-border);
  color: var(--icon-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info-text a {
  color: var(--icon-accent);
  font-weight: 600;
}

.contact-info-text a:hover {
  color: var(--contact-info-text-color-hover);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.contact .section-subtitle {
  margin-bottom: 32px;
}

.contact-social a {
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 1.5px solid var(--stats-grid-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-accent);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.contact-social a:hover {
  background: var(--bg-accent);
  border-color: var(--borde-acento-fuerte);
  color: var(--text-on-accent);
  transform: translateY(var(--lift-sm));
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper:focus {
  outline: none;
}

.contact-form-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 46px 42px;
  border: var(--border-card);
  box-shadow: 0 16px 48px rgba(26, 72, 51, 0.12), 0 4px 16px rgba(201, 154, 85, 0.12);
  position: relative;
}

.contact-form-wrapper h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  margin-bottom: 8px;
  color: var(--green-800);
}

.contact-form-wrapper > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.contact-form-wrapper form {
  container-type: inline-size;
}

@container (max-width: 440px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-label);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-md);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--cream-50);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--acento-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(222, 170, 96, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input[type="date"] {
  color-scheme: var(--form-group-color-scheme);
  min-height: 54px;
}

.form-hint {
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  font-style: italic;
  opacity: 1;
}

.form-help {
  margin: 7px 2px 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--form-help-color);
  text-wrap: balance;
}

.form-help.is-aviso {
  color: var(--text-caption);
  font-weight: 600;
}

.form-field-error {
  margin: 8px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--form-field-error-color);
}

.custom-select-trigger.is-invalid {
  border-color: #c2412d;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacidad {
  margin: 4px 0 22px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-card-text);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-label);
  cursor: pointer;
}

.form-consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--border-accent);
  cursor: pointer;
}

.form-sin-js {
  display: none;
}

html:not(.js-listo) .form-sin-js {
  display: block;
  margin-top: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--about-feature-border);
  border-bottom: 1px solid var(--about-feature-border);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-body);
}

.form-sin-js a {
  color: var(--text-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html:not(.js-listo) #contact-form,
html:not(.js-listo) .contact-form-wrapper > p:not(.form-sin-js) {
  display: none;
}

.form-legal {
  margin: 8px 0 0 32px;
  font-family: var(--font-card-text);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--form-help-color);
}

.form-legal summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  border-radius: var(--radius-sm);
}

.form-legal summary::-webkit-details-marker {
  display: none;
}

.form-legal summary::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}

.form-legal[open] summary::after {
  transform: translateY(1px) rotate(-135deg);
}

.form-legal summary:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.form-legal p {
  margin-top: 6px;
}

.form-status {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-card-text);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.55;
}

.form-status:empty {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-status a {
  font-weight: 600;
  text-decoration: underline;
}

.form-status--ok {
  background: #e8f3ec;
  border: 1px solid #9cc7ad;
  color: var(--green-800);
}

.form-status--error {
  background: #fbece8;
  border: 1px solid #e3a797;
  color: #7a2415;
}

.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-md);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--text-primary);
  background: var(--bg-body);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
}

.custom-select-trigger:hover {
  border-color: var(--acento-300);
  background: var(--input-bg-focus);
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus {
  border-color: var(--acento-400);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 4px rgba(222, 170, 96, 0.2);
}

.custom-select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-control);
  transition: transform 0.3s var(--ease-out);
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-popover);
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(15, 48, 34, 0.18), 0 4px 14px rgba(201, 154, 85, 0.14);
  padding: 8px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}

.custom-select.open .custom-select-options {
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-option);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-option:hover {
  background: var(--bg-option-hover);
  color: var(--text-accent-soft);
}

.custom-option.selected {
  background: var(--bg-option-selected);
  color: var(--text-accent-strong);
  font-weight: 700;
}

.custom-option.selected::after {
  content: '✓';
  color: var(--acento-600);
  font-weight: 700;
  font-size: 1.1rem;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--bg-button);
  color: var(--white);
  border: 1px solid var(--borde-acento-fuerte);
  border-radius: var(--radius-md);
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(26, 72, 51, 0.26);
}

.form-submit:hover {
  background: var(--bg-button-hover);
  border-color: var(--acento-300);
  transform: translateY(var(--lift-sm));
  box-shadow: var(--form-submit-shadow-hover);
}

.form-submit:active {
  transform: translateY(0) scale(0.99);
  transition-duration: 0.08s;
}

.form-submit:disabled {
  cursor: default;
  transform: none;
  opacity: 0.95;
}

.contact-map {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stats-grid-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.mapa-aviso {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  text-align: center;
  background-color: var(--bg-map);
  background-image: linear-gradient(var(--map-grid) 1px, transparent 1px), linear-gradient(90deg, var(--map-grid) 1px, transparent 1px);
  background-size: 44px 44px;
}

.mapa-aviso-icono {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-icon);
  color: var(--icon-accent);
  margin-bottom: 4px;
}

.mapa-aviso-direccion {
  font-family: var(--font-card-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-strong);
}

.mapa-aviso-texto {
  max-width: 440px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-subtle);
}

.mapa-aviso-acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 0;
  border-top: 3px solid var(--acento-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--footer-grid-border-bottom);
}

.footer-brand .nav-logo-text {
  color: var(--white);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: var(--footer-social-bg);
  border: 1px solid var(--footer-social-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--footer-social-color);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.footer-social a:hover {
  background: var(--bg-accent);
  border-color: var(--acento-400);
  color: var(--text-on-accent);
  transform: translateY(var(--lift-sm));
}

.footer-column :is(h3, h4) {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--acento-300);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column :is(h3, h4)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--acento-400);
  border-radius: 2px;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a,
.footer-column ul li span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.footer-column ul li a:hover {
  color: var(--acento-200);
  transform: translateX(4px);
}

.footer-contact-list li a,
.footer-contact-list li span {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-list svg {
  color: var(--acento-400);
  flex-shrink: 0;
}

.footer-bottom {
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
  color: var(--acento-200);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--lightbox-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  touch-action: pan-y pinch-zoom;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease-out), visibility 0s;
}

.lightbox-figura {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-figura img {
  max-width: calc(100vw - 208px);
  max-height: calc(100vh - 240px);
  max-height: calc(100dvh - 240px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(242, 189, 117, 0.3);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}

.lightbox.active .lightbox-figura img {
  transform: scale(1);
  opacity: 1;
}

.lightbox.active .lightbox-figura img.arrastrando {
  transition: none;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(242, 189, 117, 0.3);
  border-radius: 50%;
  color: var(--acento-100);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.lightbox-close:hover {
  background: var(--acento-400);
  color: var(--green-900);
  transform: rotate(90deg);
}

.lightbox.active .lightbox-figura img.cargando {
  opacity: 0.4;
}

.lightbox-pantalla {
  position: absolute;
  top: 24px;
  right: 84px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(242, 189, 117, 0.3);
  border-radius: 50%;
  color: var(--acento-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

.lightbox-pantalla span {
  display: flex;
}

.lightbox-pantalla[hidden],
.lightbox-pantalla .lightbox-pantalla-salir,
.lightbox.en-pantalla .lightbox-pantalla-entrar {
  display: none;
}

.lightbox.en-pantalla .lightbox-pantalla .lightbox-pantalla-salir {
  display: flex;
}

.lightbox-miniaturas {
  position: absolute;
  left: 50%;
  bottom: 18px;
  max-width: min(calc(100vw - 208px), 980px);
  display: flex;
  gap: 8px;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  touch-action: pan-x;
  transform: translateX(-50%);
}

.lightbox-miniaturas::-webkit-scrollbar {
  display: none;
}

.lightbox-miniaturas[hidden] {
  display: none;
}

.lightbox-miniatura {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.45;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity 0.25s var(--ease-out), outline-color 0.25s var(--ease-out);
}

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

.lightbox-miniatura.es-actual {
  opacity: 1;
  outline-color: var(--acento-400);
}

.lightbox-pie {
  max-width: min(90vw, 760px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 16px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 250, 240, 0.9);
}

.lightbox-contador {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--acento-200);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(242, 189, 117, 0.3);
  border-radius: 50%;
  color: var(--acento-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-anterior { left: 32px; }
.lightbox-siguiente { right: 32px; }

@media (hover: hover) and (pointer: fine) {
  .lightbox-nav:hover,
  .lightbox-pantalla:hover {
    background: var(--acento-400);
    color: var(--green-900);
  }
  .lightbox-miniatura:hover { opacity: 0.85; }
}

@media (max-width: 768px) {
  .lightbox { padding: 64px 12px 88px; }
  .lightbox-miniaturas { display: none; }
  .lightbox-pantalla { top: 12px; right: 72px; }
  .lightbox-figura img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 230px);
    max-height: calc(100dvh - 230px);
    border-radius: var(--radius-sm);
  }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-pie { font-size: 0.98rem; }
  .lightbox-nav {
    top: auto;
    bottom: 20px;
    width: 52px;
    height: 52px;
    transform: none;
  }
  .lightbox-anterior { left: 20px; }
  .lightbox-siguiente { right: 20px; }
  .lightbox-contador {
    position: absolute;
    left: 50%;
    bottom: 20px;
    height: 52px;
    display: flex;
    align-items: center;
    transform: translateX(-50%);
  }
}

@media (max-width: 1220px) {
  .nav-links { gap: 10px; }
  .nav-link { padding: 6px 8px; font-size: 0.98rem; }
  .nav-cta { padding: 8px 18px; font-size: 0.98rem; }
}

@media (max-width: 1099px) {
  .nav-links { gap: 2px; }
  .nav-link { padding: 6px 6px; }
  .nav-cta { padding: 8px 12px; }
}

@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .nav-logo-img { height: 54px; }
  .navbar.scrolled .nav-logo-img { height: 44px; }
  .nav-logo-text { font-size: 1.55rem; }
  .navbar.scrolled .nav-logo-text { font-size: 1.35rem; }
  .nav-logo { z-index: 1; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2;
    background: rgba(8, 29, 20, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }

  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s var(--ease-out), visibility 0s;
  }

  .nav-logo-img { transition: height 0.35s var(--ease-out), filter 0.35s var(--ease-out), transform 0.35s var(--ease-out); }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    z-index: 3;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 32px 32px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transform: translateX(calc(100% + 40px));
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }

  .nav-links.open {
    transform: none;
    visibility: visible;
    transition: transform 0.4s var(--ease-out), visibility 0s;
  }

  .nav-link {
    color: var(--gray-500) !important;
    padding: 14px 18px;
    text-shadow: none;
  }

  .nav-toggle.active span {
    background: var(--green-700);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--green-800) !important;
    background: var(--green-50) !important;
  }

  .nav-cta {
    background: var(--green-700) !important;
    color: var(--white) !important;
    border-color: var(--green-700) !important;
    text-align: center;
    justify-content: center;
    margin-top: 12px;
  }

  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: var(--cream-50) !important;
    border: 1px solid var(--cream-200) !important;
    box-shadow: none !important;
    padding: 6px 8px;
    margin: 4px 0 8px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nav-item-dropdown:not(.active) .nav-dropdown-menu { display: none; }
  .nav-item-dropdown:not(.active) .dropdown-chevron { transform: none; }

  .nav-dropdown-item {
    color: var(--gray-600) !important;
    padding: 8px 10px;
    font-size: 0.92rem;
  }

  .nav-dropdown-item:hover {
    background: var(--green-50) !important;
    color: var(--green-800) !important;
  }

  .nav-toggle { display: flex; }

  .hero-content { padding: 160px 0 100px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(-n + 2) { border-bottom: 1px solid var(--border-color); }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    height: 380px;
  }

  .about-img-main {
    width: 65%;
    height: 300px;
  }

  .about-img-secondary {
    width: 50%;
    height: 200px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }


  .contact-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 40px; }
  .contact-cabecera,
  .contact-formulario,
  .contact-datos { grid-column: 1; grid-row: auto; min-width: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom { justify-content: center; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .events-capacity {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
    gap: 24px;
  }

  .events-capacity-text {
    flex-direction: column;
    gap: 12px;
  }

  .events-capacity .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-actions { gap: 8px; }
  .idiomas { width: 42px; padding: 0; justify-content: center; }
  .idiomas a { width: 100%; height: 100%; padding: 0; }
  .idiomas .bandera { width: 22px; height: 22px; }
  .idiomas .idioma-codigo { display: none; }
  .idiomas a[aria-current="true"] { display: none; }
  .nav-logo-img { height: 46px; }
  .navbar.scrolled .nav-logo-img { height: 38px; }
  .nav-logo-text { font-size: 1.35rem; }
  .navbar.scrolled .nav-logo-text { font-size: 1.2rem; }

  .stat-item { padding: 24px 12px; }
  .stat-number { font-size: 2.2rem; margin-bottom: 8px; }
  .stat-text { font-size: 0.84rem; }
  .hero-buttons { flex-direction: column; }
  .btn-proximo { padding: 12px 24px; }
  .hero-scroll { display: none; }
  .about-images { height: 300px; }
  .about-img-main { width: 100%; height: 250px; }
  .about-img-secondary { display: none; }
  .about-floating-card { display: none; }
  .contact-form-wrapper { padding: 24px; }
}

.events-grid {
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 300px 340px;
  gap: 20px;
}
.events-grid > .event-card:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.events-grid > .event-card:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.events-grid > .event-card:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
.events-grid > .event-card:nth-child(4) { grid-column: 1 / 7; grid-row: 3; }
.events-grid > .event-card:nth-child(5) { grid-column: 7 / 13; grid-row: 3; }

a.event-card {
  display: block;
  color: inherit;
}

.event-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--acento-200);
}

.event-card-more svg {
  transition: transform 0.3s var(--ease-out);
}

.event-card:hover .event-card-more svg,
.event-card:focus-visible .event-card-more svg {
  transform: translateX(4px);
}

.page-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 72px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(8, 29, 20, 0.92) 0%, rgba(8, 29, 20, 0.55) 55%, rgba(8, 29, 20, 0.25) 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(253, 251, 247, 0.9);
  text-shadow: 0 1px 10px rgba(8, 29, 20, 0.7);
}

.breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(242, 189, 117, 0.6);
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--acento-200);
}

.page-hero-title {
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
}

.page-hero-lead {
  max-width: 640px;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
}

.event-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.event-intro-text p {
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 18px;
}

.event-highlights {
  display: grid;
  gap: 16px;
  list-style: none;
}

.event-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--event-highlight-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.event-highlight-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-icon);
  border: 1px solid var(--contact-info-icon-border);
  border-radius: var(--radius-md);
  color: var(--icon-accent);
}

.event-highlight h3 {
  font-size: var(--fs-titulo-bloque);
  line-height: 1.25;
  text-wrap: balance;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.event-highlight p {
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-body);
}

.event-gallery {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--events-border);
  border-bottom: 1px solid var(--events-border);
}

.event-gallery-pending {
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 32px;
  text-align: center;
  background: var(--bg-surface);
  border: 1px dashed var(--event-gallery-pending-border);
  border-radius: var(--radius-xl);
}

.event-gallery-pending-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--bg-soft-hover);
  border: 1px solid var(--ferias-highlight-icon-border);
  color: var(--event-gallery-pending-icon-color);
}

.event-gallery-pending p {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
}

.event-cta {
  padding: clamp(56px, 7vw, 84px) 0;
  background: var(--event-cta-bg);
  color: var(--white);
}

.event-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.event-cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 8px;
}

.event-cta p {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(250, 232, 215, 0.88);
  max-width: 560px;
}

.event-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.other-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.other-event {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--borde-acento-suave);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.other-event img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.other-event::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 29, 20, 0.88) 0%, rgba(8, 29, 20, 0.15) 60%, transparent 100%);
}

.other-event-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}

.other-event:hover {
  transform: translateY(var(--lift-md));
  box-shadow: var(--shadow-md);
}

.other-event:hover img {
  transform: scale(1.06);
}

@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: minmax(320px, auto); }
  .events-grid > .event-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .events-grid > .event-card:first-child { grid-column: 1 / -1; min-height: 460px; }
  .other-events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .events-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .events-grid > .event-card:first-child { min-height: 460px; }
  .event-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero { min-height: 56vh; padding: 130px 0 56px; }
  .event-card { height: 350px; }
}

@media (max-width: 480px) {
  .page-hero-lead { font-size: 1.1rem; }
  .event-card { height: 400px; }
  .event-cta-actions { width: 100%; }
  .event-cta-actions .btn { flex: 1 1 100%; }
  .other-events-grid { gap: 12px; }
  .other-event-title { font-size: 1.02rem; left: 12px; bottom: 10px; }
}

.datepicker {
  position: relative;
}

.dp-native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.dp-trigger {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  color: var(--text-subtle);
  background: var(--bg-body);
  border: 1.5px solid var(--stats-grid-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.dp-trigger svg {
  flex-shrink: 0;
  color: var(--icon-control);
}

.dp-trigger.has-value {
  color: var(--gray-700);
}

.dp-trigger:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface);
}

.dp-trigger[aria-expanded="true"],
.dp-trigger:focus-visible {
  border-color: var(--acento-400);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(222, 170, 96, 0.2);
}

.dp-trigger.is-invalid {
  border-color: var(--dp-trigger-border-invalid);
}

.dp-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  width: 100%;
  min-width: 300px;
  max-width: 340px;
  padding: 18px 16px 16px;
  background: var(--bg-popover);
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15, 48, 34, 0.18), 0 4px 14px rgba(201, 154, 85, 0.14);
}

.dp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.dp-month {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-heading);
}

.dp-nav {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--event-highlight-border);
  border-radius: 50%;
  background: var(--dp-nav-bg);
  color: var(--text-accent);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

.dp-nav:hover:not(:disabled) {
  background: var(--bg-accent);
  border-color: var(--bg-accent);
  color: var(--text-on-accent);
}

.dp-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dp-weekdays,
.dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dp-weekdays span {
  padding: 4px 0 8px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-caption);
}

.dp-day {
  aspect-ratio: 1;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.dp-day:hover:not(:disabled) {
  background: var(--dp-day-bg-hover);
  border-color: var(--border-hover);
}

.dp-day.is-today {
  border-color: var(--acento-400);
}

.dp-day.is-selected,
.dp-day.is-selected:hover {
  background: var(--bg-accent);
  border-color: var(--bg-accent);
  color: var(--white);
}

.dp-day:disabled {
  color: var(--dp-day-color);
  font-weight: 500;
  cursor: not-allowed;
}

.dp-day:focus-visible {
  box-shadow: var(--ring);
}

@media (max-width: 480px) {
  .dp-popover {
    min-width: 0;
    max-width: none;
    padding: 14px 10px 12px;
  }

  .dp-weekdays,
  .dp-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }

  .dp-weekdays span { font-size: 0.7rem; letter-spacing: 0; white-space: nowrap; }

  .dp-day { min-height: 0; }
}

@font-face {
  font-family: 'Twemoji Country Flags';
  src: url('fonts/twemoji-country-flags.woff2') format('woff2');
  unicode-range: U+1F1E6-1F1FF;
  font-display: swap;
}

.phone-field {
  position: relative;
}

.pf-box {
  display: flex;
  align-items: stretch;
  min-height: 54px;
  background: var(--bg-body);
  border: 1.5px solid var(--stats-grid-border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.pf-box:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface);
}

.pf-box:focus-within {
  border-color: var(--acento-400);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(222, 170, 96, 0.2);
}

.pf-flag {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

html.banderas .pf-flag {
  font-family: 'Twemoji Country Flags', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.pf-country {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 16px;
  background: transparent;
  border: 0;
  border-right: 1.5px solid var(--stats-grid-border);
  border-radius: calc(var(--radius-md) - 2px) 0 0 calc(var(--radius-md) - 2px);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out);
}

.pf-country svg {
  color: var(--icon-control);
  transition: transform 0.25s var(--ease-out);
}

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

.pf-country:hover {
  background: var(--bg-soft-hover);
}

.pf-country:focus-visible {
  box-shadow: inset var(--ring);
}

.form-group .pf-box .pf-input,
.form-group .pf-box .pf-input:focus {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0 calc(var(--radius-md) - 2px) calc(var(--radius-md) - 2px) 0;
  letter-spacing: 0.5px;
}

.pf-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  width: 100%;
  min-width: 290px;
  max-width: 400px;
  padding: 10px;
  background: var(--bg-popover);
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15, 48, 34, 0.18), 0 4px 14px rgba(201, 154, 85, 0.14);
}

.pf-popover .pf-search {
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 14px;
  border: 1.5px solid var(--stats-grid-border);
  border-radius: var(--radius-md);
  background: var(--cream-50);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  color: var(--text-primary);
  outline: none;
}

.pf-popover .pf-search:focus {
  border-color: var(--acento-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(222, 170, 96, 0.2);
}

.pf-list {
  max-height: 264px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  overscroll-behavior: contain;
}

.pf-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-option);
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.pf-option[hidden] {
  display: none;
}

.pf-name {
  flex: 1;
}

.pf-code {
  font-weight: 700;
  font-variant-numeric: lining-nums;
  color: var(--text-caption);
}

.pf-option:hover,
.pf-option:focus-visible {
  background: var(--bg-option-hover);
  color: var(--text-accent-soft);
}

.pf-option:focus-visible {
  box-shadow: inset var(--ring);
}

.pf-option[aria-selected="true"] {
  background: var(--bg-option-selected);
  color: var(--text-accent-strong);
  font-weight: 700;
}

.pf-empty {
  margin: 0;
  padding: 14px 12px;
  text-align: center;
  font-size: 1.02rem;
  color: var(--text-subtle);
}

@media (max-width: 480px) {
  .pf-popover {
    min-width: 0;
    max-width: none;
  }
  .pf-country {
    padding: 0 10px 0 12px;
    gap: 6px;
  }
}

.req {
  color: var(--req-color);
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--modal-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.modal[hidden] {
  display: none;
}

.modal.is-open {
  opacity: 1;
}

.modal-caja {
  width: min(460px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 34px 32px;
  text-align: center;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(8, 29, 20, 0.4), 0 6px 20px rgba(201, 154, 85, 0.16);
  outline: none;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.35s var(--ease-out);
}

.modal.is-open .modal-caja {
  transform: none;
}

.modal-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid var(--border-hover);
  background: var(--cream-50);
  box-shadow: 0 6px 18px rgba(201, 154, 85, 0.25);
}

.modal-titulo {
  margin-bottom: 14px;
  font-size: 1.7rem;
  color: var(--text-heading);
}

.modal-texto {
  margin-bottom: 14px;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-body);
}

.modal-firma {
  margin-bottom: 26px;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-accent);
}

.modal-cerrar {
  min-width: 170px;
}

@media (min-width: 561px) {
  .modal-caja {
    width: 520px;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 480px) {
  .modal-caja {
    padding: 28px 22px 26px;
  }
  .modal-titulo {
    font-size: 1.45rem;
  }
  .modal-texto {
    font-size: 1.06rem;
    line-height: 1.6;
  }
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  max-width: 320px;
}

.footer-qr img {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  padding: 4px;
  background: #fdfbf7;
  border: 1px solid var(--acento-400);
  border-radius: 14px;
}

.footer-qr p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 992px), (hover: none) {
  .footer-qr {
    display: none;
  }
}

.pf-popover:not(.is-open),
.dp-popover:not(.is-open) {
  visibility: hidden;
  pointer-events: none;
}

.sin-transiciones,
.sin-transiciones *,
.sin-transiciones *::before,
.sin-transiciones *::after {
  transition: none !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.4s;
  animation-timing-function: ease;
}

.hero-title {
  color: var(--white) !important;
}

.hero-description {
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero-buttons .btn-outline:not(:hover),
.hero-buttons .btn-outline-alt:not(:hover) {
  color: var(--white);
}

.error-pagina {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
}

.error-caja {
  width: min(520px, 100%);
  padding: 44px 34px 38px;
  text-align: center;
  background: var(--white);
  border: 1.5px solid var(--acento-300);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.error-caja img {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid var(--acento-300);
  background: var(--cream-50);
}

.error-codigo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--acento-700);
  margin-bottom: 8px;
}

.error-caja h1 {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  color: var(--green-800);
  margin-bottom: 14px;
}

.error-caja p {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.error-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.error-caja .error-idioma {
  margin: 26px 0 0;
  font-size: 0.98rem;
  color: var(--gray-500);
}

.error-idioma a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a,
.form-legal a,
.legal-texto a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-cabecera {
  padding: 150px 0 56px;
  background: var(--event-cta-bg);
  color: var(--white);
}

.legal-cabecera .breadcrumb a,
.legal-cabecera .breadcrumb span {
  color: rgba(255, 255, 255, 0.85);
}

.legal-titulo {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
}

.legal-texto {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-body);
}

.legal-texto h2 {
  margin: 40px 0 12px;
  font-size: 1.45rem;
  color: var(--text-heading);
}

.legal-texto p,
.legal-texto ul,
.legal-texto table {
  margin-bottom: 16px;
}

.legal-texto ul {
  padding-left: 1.3em;
  list-style: disc;
}

.legal-texto .legal-datos {
  padding-left: 0;
  list-style: none;
}

.legal-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.legal-tabla th,
.legal-tabla td {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}

.legal-tabla th {
  background: var(--bg-surface-elev);
  color: var(--text-heading);
}

.legal-fecha {
  margin-top: 40px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .legal-tabla {
    display: block;
    overflow-x: auto;
  }
}

@keyframes fundido {
  from { opacity: 0; }
}

html[data-movimiento="reducido"] :is(.hero-badge, .hero-title, .hero-description, .hero-buttons, .hero-scroll, .filter-in) {
  animation-name: fundido;
}

html[data-movimiento="reducido"] .reveal,
html[data-movimiento="reducido"] .reveal-left,
html[data-movimiento="reducido"] .reveal-right {
  transform: none;
  filter: none;
  transition: opacity 0.4s var(--ease-out);
}

html[data-movimiento="reducido"] .hero-contacto,
html[data-movimiento="reducido"] .cal-evento {
  animation: fundido 0.3s var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-movimiento]) :is(.hero-badge, .hero-title, .hero-description, .hero-buttons, .hero-scroll, .filter-in) {
    animation-name: fundido;
  }

  html:not([data-movimiento]) .reveal,
  html:not([data-movimiento]) .reveal-left,
  html:not([data-movimiento]) .reveal-right {
    transform: none;
    filter: none;
    transition: opacity 0.4s var(--ease-out);
  }

  html:not([data-movimiento]) .hero-contacto,
  html:not([data-movimiento]) .cal-evento {
    animation: fundido 0.3s var(--ease-out) both;
  }
}

@media (max-width: 992px) {
  html[data-movimiento="reducido"] .nav-links {
    opacity: 0;
    transition: opacity 0.2s var(--ease-out), visibility 0s linear 0.2s;
  }

  html[data-movimiento="reducido"] .nav-links.open {
    opacity: 1;
    transition: opacity 0.2s var(--ease-out), visibility 0s;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 992px) {
  html:not([data-movimiento]) .nav-links {
    opacity: 0;
    transition: opacity 0.2s var(--ease-out), visibility 0s linear 0.2s;
  }

  html:not([data-movimiento]) .nav-links.open {
    opacity: 1;
    transition: opacity 0.2s var(--ease-out), visibility 0s;
  }
}

@media (max-width: 992px) {
  .footer-column ul li a,
  .footer-bottom-links a,
  .idiomas a {
    position: relative;
  }

  .footer-column ul li a::after {
    content: '';
    position: absolute;
    inset: -8px -4px;
  }

  .footer-bottom-links a::after {
    content: '';
    position: absolute;
    inset: -10px -4px;
  }

  .idiomas a::after {
    content: '';
    position: absolute;
    inset: -6px;
  }
}

@media (max-width: 374px) {
  .nav-actions { gap: 6px; }
  .nav-logo { gap: 8px; }
  .nav-logo-img { height: 40px; }
  .navbar .container { padding-left: 16px; padding-right: 16px; }
  .nav-logo-text,
  .navbar.scrolled .nav-logo-text { font-size: 1.08rem; }
}

.barra-contacto {
  display: none;
}

@media (max-width: 767px) {
  .barra-contacto {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 900;
    transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0s linear 0s;
  }

  .barra-contacto.oculta,
  .nav-backdrop.open ~ .barra-contacto {
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0s linear 0.4s;
  }

  .barra-contacto-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    background: var(--whatsapp-bg);
    box-shadow: 0 10px 28px rgba(8, 29, 20, 0.35);
    font-family: 'Playfair Display', serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--white);
  }

  .barra-contacto-whatsapp:active {
    background: var(--whatsapp-bg-hover);
  }

  .hero-content { padding-top: 116px; }

  .btn-proximo {
    flex-wrap: nowrap;
    padding: 10px 12px 10px 18px;
    font-size: 0.94rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons { align-items: stretch; }
  .hero-buttons > * { justify-content: center; }
}

@media (max-width: 360px) {
  .hero-buttons > .btn:not(.btn-proximo) { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 420px) {
  .btn-proximo-etiqueta { letter-spacing: 0.08em; }
}

@media (max-width: 385px) {
  .btn-proximo {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 18px;
    border-radius: var(--radius-xl);
  }
}

@media (max-width: 767px) {
  html[data-movimiento="reducido"] .barra-contacto,
  html[data-movimiento="reducido"] .barra-contacto.oculta,
  html[data-movimiento="reducido"] .nav-backdrop.open ~ .barra-contacto {
    transform: none;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  html:not([data-movimiento]) .barra-contacto,
  html:not([data-movimiento]) .barra-contacto.oculta,
  html:not([data-movimiento]) .nav-backdrop.open ~ .barra-contacto {
    transform: none;
  }
}

@media (min-width: 993px) {
  .idiomas .idioma-codigo { display: none; }
  .idiomas a { min-width: 32px; padding: 0 6px; }
}

@media (pointer: coarse) {
  .cal-nav::after { inset: -5px; }

  .idiomas { height: 44px; }

  .idiomas a { position: relative; }

  .idiomas a::after {
    content: '';
    position: absolute;
    inset: -6px 0;
  }

  .breadcrumb a { position: relative; }

  .breadcrumb a::after {
    content: '';
    position: absolute;
    inset: -12px -5px;
  }

  .footer-column ul li { margin-bottom: 0; }

  .nav-logo { min-height: 44px; }

  .footer-column ul li a,
  .footer-column ul li span { min-width: 44px; min-height: 44px; }

  .footer-bottom { padding: 14px 0; }

  .footer-bottom-links { gap: 20px; }

  .footer-bottom-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .form-legal summary { min-height: 46px; }
}

@media (pointer: coarse) and (max-width: 480px) {
  .idiomas { width: 44px; }

  .idiomas a::after { inset: -6px -1px; }
}
