@charset "UTF-8";

/* Puebla de Cazalla BLEX CSS Document */

/* FONTS - La Juliana */
@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/DMSerifDisplay-Regular.woff2") format("woff2"),
    url("../assets/fonts/DMSerifDisplay-Regular.woff") format("woff"),
    url("../assets/fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Regular.woff2") format("woff2"),
    url("../assets/fonts/Poppins-Regular.woff") format("woff"),
    url("../assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-SemiBold.woff2") format("woff2"),
    url("../assets/fonts/Poppins-SemiBold.woff") format("woff"),
    url("../assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Light.woff2") format("woff2"),
    url("../assets/fonts/Poppins-Light.woff") format("woff"),
    url("../assets/fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* GENERAL */
html {
  overflow-x: clip; /* clip permite sticky, hidden no */
}

body.body-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip; /* clip permite sticky, hidden no */
  background-color: var(--bs-secondary);
  color: var(--bs-primary);
}

::-moz-selection {
  background: var(--bs-accent);
  background: rgba(var(--bs-accent-rgb), 0.2);
}
::selection {
  background: var(--bs-accent);
  background: rgba(var(--bs-accent-rgb), 0.2);
}

/* TENGO QUE DEFINIR LOS HEADINGS */
h1 {
  line-height: 1;
}

h2 {
  font-size: var(--bs-font-size-secondary-title-mobile);
  line-height: var(--bs-line-height-secondary-title-mobile);
  font-weight: 400;
}

h3 {
  font-size: var(--bs-font-size-h3);
  line-height: var(--bs-line-height-h3);
}

p {
  font-family: var(--bs-font-sans);
  line-height: var(--bs-line-height-paragraph-mobile);
}

a {
  text-decoration: none !important;
}

a:hover {
  cursor: pointer;
}

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

hr {
  opacity: 1;
}

.input {
  margin-bottom: 0 !important;
}

input[type="checkbox"] + label:not(.btn),
input[type="radio"] + label:not(.btn) {
  margin-bottom: 0 !important;
}

.container-ancho-intermedio,
.family-section-content,
.installations-gallery-content,
.join-club-content {
  padding: 0 15px;
}

/* Nueva clase sin padding inline en móvil */
.container-ancho-intermedio-no-padding-mobile {
  padding: 0 0 30px 0;
}

/* Nueva clase sin padding top en móvil */
.container-ancho-intermedio-no-padding-top-mobile {
  padding: 0 15px 100px 15px;
  padding-top: 0;
}

/* BOOTSTRAP OVERRIDES AND CORE */
/* Eliminar margin-top automático de Bootstrap en grids personalizados */
input[type="file"],
input[type="checkbox"]:not(.form-check-input),
input[type="radio"]:not(.form-check-input) {
  opacity: 1 !important;
  overflow: visible !important;
}

.no-row-gutters .row > *,
.custom-grid .row > * {
  margin-top: 0;
}

.row:not(.news-flex .row) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.row > *:not(.news-flex .row > *, .info-compra .row > *) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

*,
::after,
::before {
  box-sizing: border-box;
}

/* Excluir inputs del formulario de contacto de la validación de borde */
input:focus:invalid:focus:not(.contact-input),
textarea:focus:invalid:focus:not(.contact-textarea),
select:focus:invalid:focus:not(.contact-select) {
  border-color: var(--bs-primary) !important;
}

/* Tengo que definir el padding en cada seccion poniendo !important */
section:not(
    .main_container,
    .join-club-section,
    .club-en-comunidad-section,
    .horarios-section
  ) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

b,
strong {
  font-weight: 700 !important;
}
.fw-semibold {
  font-weight: 600 !important;
}
.fw-medium {
  font-weight: 500 !important;
}

ol,
ul {
  padding-left: 0rem;
  margin-bottom: 0rem;
}

a:active,
a:active * {
  outline: none !important;
  -moz-outline-style: none !important;
}
a:focus,
a:focus * {
  outline: none !important;
  -moz-outline-style: none !important;
}

a:hover {
  cursor: pointer;
}

input:not([type="checkbox"]):not([type="image"]):not(.btn):not(
    .input_disponibilidad,
    .newsletter-input,

  ) {
  position: relative;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bs-primary);
  border-radius: 0;
  padding: 0.5rem;
}

input::placeholder,
textarea::placeholder {
  color: rgba(var(--bs-secondary-rgb), 0.45);
}

select {
  border: 0;
  background: transparent;
}

textarea {
  width: 100%;
  height: 200px;
  background: transparent;
  border: 1px solid rgba(var(--bs-primary-rgb), 1);
  border-radius: 25px;
  padding: 1rem;
}

/* INPUTS CHECKBOX RADIO - GLOBAL OVERRIDE */
/* Sobrescribir estilos de main.css para hacer checkboxes visibles */

.form-switch {
  padding-left: 0;
  display: flex !important;
}

/* OVERRIDE COMPLETO main.css - Hacer todos los checkboxes visibles */
input[type="checkbox"]:not(.form-check-input),
input[type="checkbox"] {
  /* Anular estilos de main.css que ocultan el checkbox */
  float: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  opacity: 1 !important;
  overflow: visible !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;

  /* Estilos visuales del checkbox */
  border: 1.5px solid var(--bs-primary);
  background-color: transparent !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

/* Checkbox en formularios con fondo oscuro - borde blanco */
.contact-form-section input[type="checkbox"],
.contacto input[type="checkbox"],
footer input[type="checkbox"] {
  border-color: #fff !important;
}

/* Estado checked - fondo accent sin marca */
input[type="checkbox"]:checked,
input[type="checkbox"]:not(.form-check-input):checked {
  background-color: var(--bs-accent) !important;
  border-color: var(--bs-accent) !important;
}

/* Eliminar cualquier marca/tick del checkbox */
input[type="checkbox"]::after,
input[type="checkbox"]::before,
input[type="checkbox"]:checked::after,
input[type="checkbox"]:checked::before {
  display: none !important;
  content: none !important;
}

/* Labels de checkbox */
input[type="checkbox"] + label:not(.btn),
input[type="radio"] + label:not(.btn) {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 12px;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.contacto input[type="checkbox"] + label:not(.btn),
.newsletter input[type="checkbox"] + label:not(.btn) {
  padding-top: 0;
}

/* Eliminar pseudo-elementos globales de los labels */
input[type="checkbox"] + label:before,
input[type="checkbox"] + label:after {
  display: none !important;
  content: none !important;
}

/* Radio buttons - mantener estilos originales */
[type="radio"] + label:not(.btn) {
  padding-left: 1.5rem;
}

[type="radio"] + label:before,
[type="radio"] + label:after {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  transition: all 0.28s ease;
  border: 1px solid var(--bs-primary);
  border-radius: 50%;
}

[type="radio"]:not(:checked) + label:after {
  -ms-transform: scale(0);
  transform: scale(0);
}

[type="radio"]:checked + label:after {
  background-color: var(--bs-primary);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
}

input:focus:invalid:focus,
textarea:focus:invalid:focus,
select:focus:invalid:focus {
  box-shadow: unset;
}

/* PAGINATOR COMPONENT */
.pagination-container {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 60px 0 40px 0;
}

.pagination-nav {
  display: inline-flex;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-item {
  display: inline-flex;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background-color: transparent;
  border: 2px solid #71bbb2;
  color: #191e28;
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-link:hover {
  background-color: #71bbb2;
  color: white;
  transform: scale(1.05);
}

.pagination-link-current {
  background-color: #71bbb2;
  color: white;
  border-color: #71bbb2;
  cursor: default;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: end;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #191e28;
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 600;
}

.pagination-gap {
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .pagination-link {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .pagination-list {
    gap: 8px;
  }
}

/* COOKIES */
#cc-main {
  --cc-font-family: var(--bs-font-sans-serif);
  --cc-btn-primary-bg: var(--bs-primary);
  --cc-btn-primary-color: var(--bs-white);
  --cc-btn-primary-border-color: var(--bs-primary);
  --cc-btn-primary-hover-bg: var(--bs-light-primary);
  --cc-btn-primary-hover-color: var(--bs-white);
  --cc-btn-primary-hover-border-color: var(--bs-light-primary);
  --cc-btn-secondary-bg: var(--bs-primary);
  --cc-btn-secondary-color: var(--bs-white);
  --cc-btn-secondary-border-color: var(--bs-primary);
  --cc-btn-secondary-hover-bg: var(--bs-light-primary);
  --cc-btn-secondary-hover-color: var(--bs-white);
  --cc-btn-secondary-hover-border-color: var(--bs-light-primary);
  --cc-toggle-on-bg: var(--cc-btn-primary-bg);
  --cc-btn-border-radius: 0;
}
#cc-main .cm--box.cm--wide {
  max-width: 40em !important;
}
#cc-main p {
  text-align: left !important;
}
#cc-main .cm__desc {
  padding-bottom: 0 !important;
}
#cc-main .cm__link-group {
  justify-content: center;
}
#cc-main .toggle__icon-off,
#cc-main .toggle__icon-on {
  left: 0;
}
#cc-main .pm__body {
  text-align: left;
}
#cc-main .cm__btn.cm__btn--secondary[data-role="show"] {
  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-color: var(--bs-primary) !important;
  --cc-btn-secondary-border-color: var(--bs-primary) !important;
  --cc-btn-secondary-hover-bg: var(--bs-light-primary) !important;
  --cc-btn-secondary-hover-color: var(--bs-white) !important;
  --cc-btn-secondary-hover-border-color: var(--bs-primary) !important;
}
#cc-show-preferences-modal {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 1.75rem;
  z-index: 999;
  padding: 0.25rem;
  border: 0;
  border-radius: 50%;
  background-color: var(--bs-primary);
  color: var(--bs-secondary-color);
}
#cc-show-preferences-modal svg,
#cc-show-preferences-modal img {
  display: block;
  width: 100%;
}
#cc-show-preferences-modal svg * {
  fill: var(--bs-secondary-color);
}
.cc-tooltip .tooltip-inner {
  white-space: nowrap;
  font-size: 0.7rem;
  padding: 0.25rem;
}

.cm__btn .cm__btn--secondary {
  color: var(--bs-white) !important;
  background-color: var(--bs-primary) !important;
}
.cm__btn .cm__btn--secondary:hover {
  color: rgb(var(--bs-white-rgb), 0.8) !important;
  background-color: rgb(var(--bs-primary-rgb), 0.8) !important;
}

/* COLORS */
.text-primary {
  color: var(--bs-primary) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

.text-accent {
  color: var(--bs-accent) !important;
}

/* BUTTONS */
.btn {
  border: solid 1px transparent !important;
  font-size: var(--bs-font-size-btn) !important;
}

.btn a {
  text-decoration: none !important;
  color: inherit !important;
}

.btn a:hover {
  text-decoration: none !important;
}

a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

a.btn:hover {
  text-decoration: none !important;
}

.btn-primary,
.btn-secondary,
.btn-outline-primary,
.btn-outline-primary-dark-text,
.btn-accent {
  font-weight: var(--bs-font-weight-normal) !important;
  line-height: var(--bs-text-line-height) !important;
  width: var(--btn-width) !important;
  height: var(--btn-height) !important;
  border-radius: var(--btn-border-radius) !important;
}

.btn-primary {
  background-color: var(--btn-primary-bg) !important;
  color: var(--bs-primary) !important;
  border: solid 1px var(--bs-accent) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease;
}

/* Pseudo-elemento para el efecto de relleno de izquierda a derecha */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--bs-primary);
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: var(--btn-border-radius);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.active {
  color: var(--bs-secondary) !important;
  border-color: var(--bs-primary) !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-primary:hover::before,
.btn-primary:focus::before,
.btn-primary.active::before {
  width: 100%;
}

.btn-secondary {
  background-color: var(--btn-secondary-bg) !important;
  color: var(--btn-secondary-color) !important;
  border: solid 1px var(--btn-secondary-color) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease;
}

/* Pseudo-elemento para el efecto de relleno accent de izquierda a derecha */
.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--bs-accent);
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: var(--btn-border-radius);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.active {
  color: var(--bs-primary) !important;
  border-color: var(--bs-accent) !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-secondary:hover::before,
.btn-secondary:focus::before,
.btn-secondary.active::before {
  width: 100%;
}

.btn-outline-primary {
  background-color: transparent !important;
  color: var(--bs-secondary);
  border: 2px solid var(--bs-accent) !important;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.active {
  outline: none !important;
  box-shadow: none !important;
}

.btn-outline-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--bs-accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-outline-primary:hover::before {
  left: 0;
}

.btn-outline-primary-dark-text {
  background-color: transparent !important;
  color: var(--bs-primary);
  border: 2px solid var(--bs-accent) !important;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 0;
}

.btn-outline-primary-dark-text:hover,
.btn-outline-primary-dark-text:focus,
.btn-outline-primary-dark-text.active {
  outline: none !important;
  box-shadow: none !important;
}

.btn-outline-primary-dark-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--bs-accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-outline-primary-dark-text:hover::before {
  left: 0;
}

/* Asegurar que el texto esté por encima del fondo */
.btn-outline-primary-dark-text *,
.btn-outline-primary-dark-text {
  position: relative;
  z-index: 1;
}

.btn-outline-primary-dark-text:hover,
.btn-outline-primary-dark-text:focus,
.btn-outline-primary-dark-text.active {
  color: var(--bs-primary) !important;
}

.btn-outline-secondary {
  --bs-btn-color: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--bs-secondary);
  --bs-btn-hover-border-color: var(--bs-secondary);
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-active-bg: var(--bs-secondary);
  --bs-btn-active-border-color: var(--bs-secondary);
  --bs-btn-disabled-color: var(--bs-gray);
  --bs-btn-disabled-border-color: var(--bs-gray);
  box-shadow: 0 0 0 2px var(--bs-btn-border-color);
  padding: 10px 50px 10px 20px;
}

/* Botón Accent - Fondo teal que se rellena de blanco en hover */
.btn-accent {
  background-color: var(--bs-accent) !important;
  color: var(--bs-primary) !important;
  border: solid 1px var(--bs-accent) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease;
}

/* Pseudo-elemento para el efecto de relleno blanco de izquierda a derecha */
.btn-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--bs-secondary);
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: var(--btn-border-radius);
}

.btn-accent:hover,
.btn-accent:focus,
.btn-accent.active {
  color: var(--bs-primary) !important;
  border-color: var(--bs-secondary) !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-accent:hover::before,
.btn-accent:focus::before,
.btn-accent.active::before {
  width: 100%;
}

/* Dividers */
.divider-primary {
  border-color: var(--bs-accent) !important;
  border-bottom-width: 3px !important;
}

.divider-primary-left {
  border-left: 1.5px solid var(--bs-accent) !important;
}

.divider-primary-right {
  border-right: 1px solid var(--bs-accent) !important;
}

.bg-light-green {
  background-color: var(--bs-ligth-green);
}

#cc-show-preferences-modal {
  display: none;
}

.accordion-item {
  background-color: transparent;
}

.input.password:before {
  right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.98 14.5'%3E%3Cpath d='M10.79.5A12.11,12.11,0,0,1,19.26,4a12.31,12.31,0,0,1,1.93,2.37,1.57,1.57,0,0,1,0,1.82,12.2,12.2,0,0,1-8.28,5.66,11.15,11.15,0,0,1-8.14-1.67,12.56,12.56,0,0,1-4-3.93,1.61,1.61,0,0,1,0-1.91A12.36,12.36,0,0,1,9.19.66,16.07,16.07,0,0,1,10.79.5ZM11,2.79a4.46,4.46,0,1,0,4.48,4.47A4.47,4.47,0,0,0,11,2.79Z' style='fill:none;stroke:%235f616e;stroke-miterlimit:10'/%3E%3C/svg%3E");
}

.input.password:after {
  right: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15.21 15.21'%3E%3Cline x1='0.35' y1='14.85' x2='14.85' y2='0.35' style='fill:none;stroke:%235f616e;stroke-miterlimit:10'/%3E%3C/svg%3E");
}

/* START HEADER */
header {
  position: sticky;
  top: 0;
  background: var(--bs-secondary);
  border-color: transparent;
  padding: 15px;
  transition: all ease 0.5s;
  z-index: 10000 !important;
  width: 100%;
  max-height: 80px;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0px 3px 6px #00000029;
  z-index: -1; /* Por debajo del contenido del header */
  pointer-events: none;
}

header a:hover:not(.btn) {
  color: var(--bs-accent) !important;
  transition: all ease 0.5s;
}

#desktop-header {
  display: none !important;
}

#mobile-header {
  display: flex !important;
}

.menu-dropdown-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-height: 300px;
  background: var(--bs-secondary);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10001; /* Mayor que el header */
  pointer-events: none;
  box-shadow: 0px 3px 6px #00000029; /* Añade su propia sombra */
}

.menu-dropdown-nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-dropdown-content {
  padding: 40px 0;
  position: relative;
}

.menu-content-left {
  flex: 1;
}

.menu-content {
  display: none;
}

.menu-content.active {
  display: block;
}

.menu-content p,
.menu-login-section p {
  font-weight: 600;
  margin-bottom: 0;
  font-size: 18px;
}

.menu-content ul,
.menu-login-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-content ul li,
.menu-login-section ul li {
  padding: 8px 0;
  cursor: pointer;
}

.menu-content ul li:hover a,
.menu-login-section ul li:hover a {
  color: var(--bs-accent) !important;
}

.menu-login-section {
  position: absolute;
  min-width: 200px;
  margin-right: 24px !important;
  min-height: 200px;
}

.nav-menu-dropdown-title {
  margin-bottom: 20px;
}

.menu-login-section.border-start.divider-primary-left {
  padding-left: 0 !important;
  margin-left: -1.5rem;
  padding-left: 1.5rem !important;
}

/* MOBILE MENU DROPDOWN */
.mobile-menu-dropdown {
  position: absolute;
  top: 100%;
  height: 100vh;
  left: 0;
  width: 100%;
  background-color: var(--bs-primary);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu-dropdown.active {
  max-height: 100vh;
  overflow-y: auto;
}

body.mobile-menu-open {
  overflow: hidden;
  height: 100vh;
}

.mobile-menu-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mobile-menu-content {
  flex: 1;
  padding: 40px 15px;
  display: flex;
  flex-direction: column;
}

.mobile-menu-item {
  min-height: 40px;
  margin-bottom: 20px;
}

.mobile-menu-title {
  font-family: var(--bs-font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.3s ease;
}

/* LINK - SIEMPRE BLANCO SIN BORDE */
.mobile-menu-link {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
  padding-bottom: 2px;
}

/* CUANDO ESTÁ ACTIVE - AGREGAR BORDE AL LINK */
.mobile-menu-title.active .mobile-menu-link {
  border-bottom-color: #71bbb2;
  color: #ffffff !important;
}

.mobile-menu-title.active .menu-arrow {
  transform: rotate(180deg);
}

.menu-arrow {
  width: 12.81px;
  height: 7.543px;
  transition: transform 0.3s ease;
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-submenu.active {
  max-height: 300px;
  margin: 20px 0;
}

.mobile-submenu-item {
  display: block;
  font-family: var(--bs-font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #71bbb2;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.mobile-submenu-item:hover {
  color: #ffffff;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 40px;
  margin-bottom: 70px;
}

.mobile-menu-footer .d-flex {
  gap: 38px;
  align-items: center;
}

.mobile-social-icons {
  align-items: center;
  gap: 30px;
}

/* HERO Section Home */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Mínimo altura de viewport en mobile */
  height: auto; /* Permitir que crezca con el contenido */
  background-color: var(--bs-primary);
  overflow: hidden; /* Evitar scroll horizontal y desbordamiento */
  /* Transición suave para cambios de altura */
  transition: height 0.3s ease;
}

/* Primer overlay: Base sólida con opacidad */
.grading-overlay-1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--bs-primary);
  opacity: 0.5;
  z-index: 1;
}

/* Segundo overlay: Gradiente de transparencias */
.grading-overlay-2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  /* Gradiente vertical en mobile (de arriba hacia abajo) */
  background: linear-gradient(
    180deg,
    var(--bs-primary) 0%,
    var(--bs-primary) 30%,
    #191e28e8 50%,
    #191e280d 75%,
    #191e2800 100%
  );
  opacity: 0.5;
  z-index: 2;
}

.img-hero-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.img-hero-section.active {
  opacity: 1;
  z-index: 1;
}

/* Contenido Hero */
.hero-content {
  position: relative; /* Cambiar de absolute a relative para mejor control */
  width: 100%;
  height: auto; /* Mínimo altura viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-sizing: border-box;
}

.hero-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 15px; /* Solo padding horizontal */
  box-sizing: border-box;
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-image {
  order: 1;
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Espacio entre imagen y texto */
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Centrar imagen */
}

.hero-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  order: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-title {
  font-size: var(--bs-hero-title-mobile) !important;
  line-height: var(
    --bs-hero-title-mobile
  ) !important; /* --bs-hero-title-mobile: 80px; */
  font-family: var(--bs-heading-font-family) !important;
  text-align: left;
  word-wrap: break-word;
}

.hero-title-line1 {
  color: var(--bs-secondary) !important;
  width: fit-content;
}

.hero-title-line2 {
  color: var(--bs-accent) !important;
  display: inline;
}

.hero-text {
  text-align: left;
  font-size: 16px;
  font-weight: 300 !important;
  color: white;
  line-height: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-text strong {
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* HERO CAROUSEL */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.img-hero-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.img-hero-section.active {
  opacity: 1;
  z-index: 1;
}

/* Carousel Controls */
.hero-carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 4;
  pointer-events: none;
}

.hero-carousel-prev,
.hero-carousel-next {
  background: rgba(25, 30, 40, 0.6);
  border: 1px solid rgba(113, 187, 178, 0.5);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  color: var(--bs-accent);
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
  background: rgba(113, 187, 178, 0.9);
  color: var(--bs-primary);
  border-color: var(--bs-accent);
}

/* Carousel Indicators */
.hero-carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}

.hero-carousel-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 1);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-carousel-indicators .indicator.active {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
}

.hero-carousel-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 1);
}

/* HERO SECONDARY SECTION - Mobile First (igual que el original) */
.hero-secondary-section {
  position: relative;
  width: 100%;
  height: auto; /* Permitir que crezca con el contenido */
  background-color: var(--bs-primary);
  overflow: hidden; /* Evitar scroll horizontal y desbordamiento */
  transition: height 0.3s ease;
}

/* Contenido Hero Secondary */
.hero-secondary-content {
  position: relative; /* Cambiar de absolute a relative para mejor control */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-sizing: border-box;
}

.hero-secondary-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 15px; /* Solo padding horizontal */
  box-sizing: border-box;
}

.hero-secondary-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-secondary-image {
  order: 1;
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Espacio entre imagen y texto */
}

.hero-secondary-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Centrar imagen */
}

.hero-secondary-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  order: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-secondary-title {
  font-size: 75px !important;
  line-height: var(--bs-hero-title-mobile) !important;
  font-family: var(--bs-heading-font-family) !important;
  text-align: left;
  word-wrap: break-word;
}

.hero-secondary-title-line1 {
  color: var(--bs-secondary) !important;
  width: fit-content;
}

.hero-secondary-title-line2 {
  color: var(--bs-accent) !important;
  display: inline;
}

.hero-secondary-text {
  text-align: left;
  font-size: 16px;
  font-weight: 300 !important;
  color: white;
  line-height: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-secondary-text strong {
  font-weight: 600;
}

.hero-secondary-buttons {
  display: flex;
  flex-direction: row;
  gap: 50px;
  margin-bottom: 30px; /* Añadir espacio en mobile como pediste */
}

/* UPCOMING EVENTS SECTION Y NOTICIAS */
.upcoming-events-section {
  position: relative; /* IMPORTANTE: añadir esto */
  overflow: hidden; /* Para contener el gradiente */
}

.upcoming-events-section > .container-ancho-intermedio {
  padding-top: 80px !important;
}

/* Gradient mobile - de esquina superior derecha a inferior izquierda */
.upcoming-events-section::before {
  content: "";
  position: absolute;
  width: 431px;
  height: 427px;
  top: 0;
  right: 0;
  background: linear-gradient(
    225deg,
    rgba(113, 187, 178, 0.6) 0%,
    rgba(113, 187, 178, 0.3) 25%,
    rgba(113, 187, 178, 0) 50%
  );
  pointer-events: none;
  z-index: 0;
}

/* Asegurar que el contenido esté por encima del gradiente */
.upcoming-events-section .container-ancho-intermedio {
  position: relative;
  z-index: 1;
}

.upcoming-events-title,
.news-title {
  font-family: var(--bs-font-serif) !important;
  font-size: 60px !important;
  font-weight: 400;
  line-height: 70px;
  color: var(--bs-primary);
  margin-bottom: 24px;
}

.upcoming-events-description,
.news-description {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--bs-primary);
  line-height: 1.5;
  margin-bottom: 38px;
}

.upcoming-events-description {
  max-width: 1054px;
}

.news-description {
  max-width: 800px;
}

.upcoming-events-description strong {
  font-weight: 600;
}

/* Events Grid - Mobile First */
.upcoming-events-grid {
  margin: 38px 0 24px 0;
}

.upcoming-events-grid .row {
  gap: 60px;
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

/* .event-card:hover {
  transform: scale(1.02);
} */

/* Event Image Container - Mobile First */
.event-image-container {
  position: relative;
  flex-shrink: 0;
  height: 354px; /* Mobile: todas las imágenes con misma altura */
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-date-badge,
.news-date-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 115px;
  background: var(--bs-accent);
  border-radius: 0 0 50px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  text-align: center;
  color: var(--bs-primary);
}

.event-date-badge .event-day,
.news-date-badge .news-day {
  font-family: var(--bs-font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.event-date-badge .event-month,
.news-date-badge .news-month {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  margin-top: 4px;
}

.event-content-outside,
.news-content-outside {
  padding: 16px 0 0;
  flex-grow: 1;
}

.event-title,
.news-title-card {
  font-family: var(--bs-font-serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--bs-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.event-title span {
  font-size: 20px;
  color: var(--bs-accent);
}

.event-read-more,
.news-read-more {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--bs-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.event-read-more:hover,
.news-read-more:hover {
  color: var(--bs-primary);
}

/* News card styles */
.news-card {
  position: relative;
}

.news-card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  text-decoration: none;
}

/* ============================================
   MOBILE HEADER BUTTONS
   ============================================ */
.mobile-header-btn {
  padding: 8px 12px !important;
  white-space: nowrap;
  order: 1;
}

.mobile-header-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  order: 2;
  margin-left: 20px;
}

.mobile-header-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   EVENTS SECTION (EXPERIENCIAS) - Mobile First
   ============================================ */

/* Sección principal */
.events-section {
  padding: 60px 0;
  background-color: var(--bs-secondary);
}

/* Padding-top adicional para móvil */
.events-section-mobile-padding-top {
  padding-top: 100px;
}

/* Título de la sección */
.events-section-title {
  font-family: var(--bs-font-serif);
  font-size: 40px;
  line-height: 1.2;
  color: var(--bs-primary);
  margin-bottom: 40px;
  text-align: center;
}

/* Contenedor del grid/carrusel */
.events-grid-container {
  position: relative;
  margin-bottom: 30px;
}

/* Mobile: Carrusel horizontal */
.events-carousel-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 20px 20px 20px;
  scroll-snap-type: x mandatory;
}

.events-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

/* Mobile: Cards en el carrusel - 85% del viewport width */
.event-card-wrapper {
  flex: 0 0 95%;
  scroll-snap-align: center;
  max-width: 340px;
}

/* Card del evento */
.event-card {
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15);
  overflow: visible;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2);
}

/* Link absoluto que cubre toda la card */
.event-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 20px;
}

/* Tag de categoría */
.event-tag {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 20;
  background-color: var(--bs-accent);
  border-radius: 0 20px 20px 0;
  padding: 4px 18px;
  pointer-events: none;
}

.event-tag-text {
  font-family: var(--bs-font-sans);
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Contenido del evento */
.event-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Título del evento */
.event-title {
  font-family: var(--bs-font-serif);
  font-size: 18px;
  line-height: 1.2;
  color: var(--bs-primary);
  margin-bottom: 8px;
  min-height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fila de información (fecha y hora) */
.event-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.event-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

.event-date,
.event-time {
  font-family: var(--bs-font-sans);
  font-size: 12px;
  color: var(--bs-primary);
  margin: 0;
  line-height: 1.3;
}

/* Precio */
.event-price-wrapper {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.event-price-label {
  font-family: var(--bs-font-sans);
  font-size: 11px;
  color: #707070;
}

.event-price {
  font-family: var(--bs-font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--bs-accent);
}

/* Flechas de navegación del carrusel (mobile y desktop) */
.events-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.events-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.events-carousel-arrow:hover {
  background-color: var(--bs-primary);
  transform: scale(1.1);
}

.events-carousel-arrow:hover svg {
  stroke: white;
}

.events-carousel-arrow:hover svg path {
  stroke: white;
}

.events-carousel-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--bs-primary);
  transition: stroke 0.3s ease;
}

.events-carousel-arrow svg path {
  stroke: var(--bs-primary);
  transition: stroke 0.3s ease;
}

.events-carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Indicadores (puntos) - ocultos en mobile, visibles en desktop */
.events-carousel-indicators {
  display: none;
}

/* ONLY NEWS HOME - SECTION */

.news-image-container {
  aspect-ratio: 5 / 3;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-text {
  font-family: var(--bs-font-sans) !important;
  font-size: 16px;
  font-weight: 200; /* Mejor que lighter para consistencia */
  color: var(--bs-primary);
  line-height: 25px;
  margin-top: 1rem;

  /* Truncate con line-clamp */
  display: -webkit-box;
  -webkit-line-clamp: 4; /* 6 líneas para el texto */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  min-height: calc(25px * 3); /* Mínimo 3 líneas usando tu line-height */
}

/* BLOCK SECTION */
.noticias-container {
  padding-block: 75px;
}
/* Container principal */
.ver-noticia-container-custom {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Banner de la noticia */
.noticia-banner-wrapper {
  margin: 25px 0;
  position: relative;
  z-index: 20;
}

.noticia-image-container {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 400px;
}

.noticia-ver-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fecha de publicación */
.noticia-fecha-publicacion {
  font-family: var(--bs-font-sans);
  font-weight: 400;
  font-size: 16px;
  color: #191e28;
  margin: 0;
  text-align: left;
  width: 100%;
}

/* Título "ÚLTIMAS NOTICIAS" mobile */
.ultimas-noticias-title-mobile {
  font-family: var(--bs-font-serif);
  font-weight: 600;
  font-size: 20px;
  color: #000000;
  text-transform: uppercase;
}

/* Header info (fecha) */
.noticia-header-info {
  margin-bottom: 30px;
}

/* Contenedor principal del contenido */
.noticia-content-container {
  position: relative;
}

/* Layout wrapper - contenedor padre de todo */
.noticia-layout-wrapper {
  position: relative;
}

/* Wrapper del contenido de la noticia */
.noticia-body-wrapper {
  max-width: 100%;
  margin-right: 0;
}

/* Título principal de la noticia */
.noticia-main-title {
  font-family: var(--bs-font-serif);
  font-size: 28px;
  line-height: 1;
  color: var(--bs-primary);
  font-weight: 400;
  margin-bottom: 16px;
  text-align: center;
  margin-top: 50px;
}

.noticia-subtitle {
  font-family: var(--bs-font-serif);
  font-size: 25px;
  color: var(--bs-primary);
  font-weight: 400;
  text-align: left;
}

/* Texto del contenido de la noticia */
.noticia-body-text {
  font-family: var(--bs-font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: #191e28;
}

.noticia-body-text p {
  margin-bottom: 24px;
}

/* Imágenes dentro del contenido - Mobile First */
.noticia-body-text img {
  max-width: 100%; /* Nunca exceder el contenedor disponible */
  height: auto; /* Mantener proporción */
  display: block;
  margin: 1.61rem auto;
  border-radius: 30px;
}

/* Sidebar - oculto en mobile por defecto */
.noticia-sidebar {
  display: none;
}

/* Ajustes específicos para el container sin padding del cell */
.noticia-sidebar .cuadricula.blog {
  padding: 0;
}

.noticia-sidebar .cuadricula.blog .container-lg {
  padding: 0;
  max-width: 100%;
}

/* === ESTILOS PARA MOBILE - SLIDER DE NOTICIAS === */

/* Contenedor del slider en mobile */
.noticias-slider-mobile {
  position: relative;
  margin-bottom: 20px;
}

/* Cada slide */
.slide-item-mobile {
  padding: 0 10px 40px 10px;
}

/* Contenedor de la noticia mobile */
.noticia-mobile-content {
  display: flex;
  flex-direction: column;
}

/* Imagen de la noticia */
.noticia-mobile-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.noticia-mobile-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Fecha */
.noticia-mobile-fecha {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  color: #191e28;
  font-weight: 400;
}

/* Título */
.noticia-mobile-title {
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
}

/* Descripción/Intro */
.noticia-mobile-intro {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: #191e28;
}

/* Contenedor de navegación */
.noticia-mobile-nav a {
  border-bottom: 1.5px solid var(--bs-accent);
  color: var(--bs-accent);
  text-transform: uppercase;
  font-family: var(--bs-font-sans);
}

/* Botón "Ir al blog" */
.btn-ir-blog {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  color: var(--bs-primary);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
}

.btn-ir-blog:hover {
  color: var(--bs-secondary);
}

/* Contenedor de flechas del slider */
.slider-arrows-container {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Botones de navegación del slider */
.slider-arrows-container .slick-prev,
.slider-arrows-container .slick-next {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.3s ease;
  padding: 0;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imágenes SVG dentro de los botones */
.slider-arrows-container .slick-prev img,
.slider-arrows-container .slick-next img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Estado hover */
.slider-arrows-container .slick-prev:hover:not(:disabled),
.slider-arrows-container .slick-next:hover:not(:disabled) {
  opacity: 0.7;
}

/* Estado deshabilitado */
.slider-arrows-container .slick-prev:disabled,
.slider-arrows-container .slick-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slick-arrow-custom.slick-disabled:hover {
  background: transparent;
  border-color: var(--bs-primary);
}

.slick-arrow-custom.slick-disabled:hover svg {
  fill: var(--bs-primary);
}

/* ========================================
   ESTILOS DESKTOP - MEDIA QUERY
   ======================================== */

@media (min-width: 992px) {
  /* Container con padding desktop */
  .ver-noticia-container-custom {
    max-width: 1400px;
  }

  /* Banner desktop */
  .noticia-banner-wrapper {
    margin-top: 75px;
    margin-bottom: 50px;
    position: relative;
    z-index: 20;
  }

  .noticia-image-container {
    height: 400px;
    border-radius: 30px;
  }

  /* Fecha alineada a la izquierda */
  .noticia-fecha-publicacion {
    text-align: left;
    width: auto;
  }

  .noticia-subtitle-wrapper {
    max-width: 1252px;
    margin-right: 450px;
  }

  /* Título "ÚLTIMAS NOTICIAS" centrado */
  .ultimas-noticias-title {
    text-align: center;
    width: 100%;
  }

  /* Wrapper del contenido con margen para el sidebar */
  .noticia-body-wrapper {
    max-width: 1252px;
    margin-right: 450px; /* Espacio para sidebar (383px + 67px gap) */
  }

  /* Título principal desktop */
  .noticia-main-title {
    font-size: var(--bs-font-size-secondary-title-desktop);
    text-align: center;
    line-height: var(--bs-line-height-secondary-title-desktop);
    margin-top: 75px;
  }

  .noticia-subtitle {
    font-size: 30px;
    line-height: 70px;
    text-align: left;
  }

  /* Texto desktop */
  .noticia-body-text {
    font-size: 16px;
  }

  .noticia-body-text img {
    max-width: 100%; /* No exceder el ancho del contenedor */
    height: auto;
    display: block;
  }

  /* Sidebar visible y posicionado absolutamente */
  .noticia-sidebar {
    display: block;
    position: absolute;
    top: 290px;
    right: 0;
    width: 383px;
    background: rgba(113, 187, 178, 0.3);
    border-radius: 60px;
    padding-top: 350px; /* Padding grande para que el contenido empiece a la altura de la fecha */
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
    z-index: 10;
  }

  .ultimas-noticias-title-sidebar {
    font-size: 30px;
    font-family: var(--bs-font-serif);
  }

  /* Asegurar que el layout wrapper tenga suficiente altura para el sidebar */
  .noticia-layout-wrapper {
    min-height: 2200px; /* Altura mínima para evitar que el sidebar se vaya al footer */
  }

  /* Ocultar el título del cell dentro del sidebar */
  .noticia-sidebar .cuadricula.blog h2 {
    display: none !important;
  }

  /* Ajustes para las noticias dentro del sidebar */
  .noticia-sidebar .card.noticia {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 48px;
    padding-bottom: 0;
  }

  .noticia-sidebar .card.noticia:last-child {
    margin-bottom: 0;
  }

  /* Contenedor de imagen con badge - dimensiones exactas */
  .noticia-sidebar .picture_parent {
    width: 100%;
    position: relative;
    overflow: hidden; /* Cambiado a hidden para que la imagen no se salga */
    border-radius: 0;
    margin-bottom: 17px;
  }

  .noticia-sidebar .picture_parent img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  /* Badge de fecha - esquina superior izquierda */
  .noticia-sidebar .noticia-date-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 71px;
    height: 92px;
    background-color: #71bbb2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 0 0 50px 50px;
  }

  .noticia-sidebar .noticia-day {
    font-family: "DM Serif Display", serif;
    font-size: 30px;
    line-height: 1;
    color: #191e28;
    font-weight: 400;
    margin-bottom: 4px;
  }

  .noticia-sidebar .noticia-month {
    font-family: "DM Serif Display", serif;
    font-size: 16px;
    line-height: 1;
    color: #191e28;
    font-weight: 400;
    text-align: center;
  }

  /* Info de la tarjeta - ancho igual al contenedor de imagen */
  .noticia-sidebar .card-info {
    width: 306px;
  }

  /* Título de la noticia */
  .noticia-sidebar .noticia-title-card {
    font-family: var(--bs-font-serif);
    font-size: 22px;
    line-height: 25px;
    color: #191e28;
    font-weight: 400;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Intro/Descripción de la noticia */
  .noticia-sidebar .noticia-intro-text {
    font-family: var(--bs-font-sans);
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    color: #191e28;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 60px; /* Altura aproximada para 3 líneas */
  }

  /* Link "LEER +" */
  .noticia-sidebar .noticia-read-more {
    font-family: var(--bs-font-sans);
    font-size: 14px;
    line-height: 25px;
    color: #71bbb2;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
  }

  /* Ocultar el stretched-link para evitar conflictos */
  .noticia-sidebar .card.noticia .stretched-link {
    position: static;
  }

  /* Remover estilos antiguos que ya no se usan */
  .noticia-sidebar .card.noticia .fecha {
    display: none;
  }

  .noticia-sidebar .card.noticia::after {
    display: none;
  }

  .noticia-sidebar .leer-mas-link-noticia-normal {
    display: none;
  }

  /* SLIDE */
  .noticia-lasts {
    background-color: var(--bs-accent-light);
  }

  .noticias-slider-mobile {
    position: relative;
    margin-bottom: 20px;
  }

  /* Contenedor de últimas noticias en sidebar */
  .noticia-lasts .cuadricula.blog {
    padding: 0;
  }

  .noticia-lasts .cuadricula.blog .container-lg {
    padding: 0;
    max-width: 100%;
  }

  /* Ajustar tamaño de tarjetas en sidebar desktop */
  @media (min-width: 768px) {
    .noticia-lasts .card.noticia {
      margin-bottom: 1.5rem !important;
    }

    .noticia-lasts .card.noticia h3 {
      font-size: 1.1rem;
      line-height: 1.4;
    }

    .noticia-lasts .card.noticia .intro {
      font-size: 0.9rem;
      line-height: 1.5;
    }
  }

  /* === ESTILOS PARA DESKTOP (≥768px) === */
  @media (min-width: 768px) {
    /* Noticias en columna vertical - altura automática */
    .cuadricula.blog .row > div {
      display: block;
    }

    /* Las tarjetas de noticia toman su altura natural */
    .cuadricula.blog .card.noticia {
      display: flex;
      flex-direction: column;
      height: auto;
    }

    /* Título alineado a la izquierda en desktop */
    .cuadricula.blog h2 {
      text-align: left !important;
    }
  }

  /* === ESTILOS PARA MOBILE (<768px) === */
  @media (max-width: 767px) {
    /* Contenedor del slider en mobile */
    .noticias-slider-mobile {
      padding: 0 !important;
      margin: 0 auto;
    }

    /* Cada slide */
    .slide-item-mobile {
      padding: 20px;
      text-align: left;
    }

    /* Contenedor de la noticia mobile */
    .noticia-mobile-content {
      width: 100%;
    }

    /* Imagen de la noticia */
    .noticia-mobile-image {
      width: 100%;
      overflow: hidden;
      border-radius: 8px;
    }

    .noticia-mobile-image img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }

    /* Fecha */
    .noticia-mobile-fecha {
      font-size: 14px;
      color: var(--bs-secondary);
      margin-bottom: 12px;
      font-style: italic;
    }

    /* Título */
    .noticia-mobile-title {
      font-size: 20px;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 16px;
    }

    /* Descripción/Intro */
    .noticia-mobile-intro {
      font-size: 15px;
      line-height: 1.6;
      color: var(--bs-dark);
    }

    /* Contenedor de navegación */
    .noticia-mobile-nav {
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* Botón "Ir al blog" */
    .btn-ir-blog {
      font-size: 15px;
      color: var(--bs-primary);
      text-decoration: none;
      font-weight: 500;
      padding: 8px 0;
      border-bottom: 2px solid var(--bs-primary);
      transition: all 0.3s ease;
    }

    .btn-ir-blog:hover {
      color: var(--bs-accent);
      border-bottom-color: var(--bs-accent);
    }

    /* Contenedor de flechas del slider */
    .slider-arrows-container {
      display: flex !important;
      gap: 12px;
      align-items: center;
      justify-content: flex-end;
      min-height: 40px;
      min-width: 100px;
    }

    /* Botones de navegación (flechas) */
    .slider-arrows-container .slick-prev,
    .slider-arrows-container .slick-next {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      transform: none !important;
      width: 40px !important;
      height: 40px !important;
      border: 2px solid var(--bs-primary) !important;
      border-radius: 50% !important;
      background: white !important;
      cursor: pointer !important;
      padding: 8px !important;
      opacity: 1 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      transition: all 0.3s ease !important;
      flex-shrink: 0 !important;
    }

    .slider-arrows-container .slick-prev:hover,
    .slider-arrows-container .slick-next:hover {
      background: var(--bs-primary) !important;
      transform: scale(1.1) !important;
    }

    .slider-arrows-container .slick-prev:disabled,
    .slider-arrows-container .slick-next:disabled {
      cursor: not-allowed !important;
      border-color: #ccc !important;
    }

    .slider-arrows-container .slick-prev:disabled::before,
    .slider-arrows-container .slick-next:disabled::before {
      color: #ccc !important;
    }

    /* Ocultar imágenes si existen (usamos ::before) */
    .slider-arrows-container .slick-prev img,
    .slider-arrows-container .slick-next img {
      display: none !important;
    }

    /* Símbolos de navegación */
    .slider-arrows-container .slick-prev::before,
    .slider-arrows-container .slick-next::before {
      font-size: 24px !important;
      color: var(--bs-primary) !important;
      font-weight: bold !important;
      line-height: 1 !important;
    }

    .slider-arrows-container .slick-prev::before {
      content: "←" !important;
    }

    .slider-arrows-container .slick-next::before {
      content: "→" !important;
    }

    /* Ocultar flechas por defecto de Slick (las que se generan automáticamente) */
    .noticias-slider-mobile > .slick-prev,
    .noticias-slider-mobile > .slick-next,
    .noticias-slider-mobile .slick-list ~ .slick-prev,
    .noticias-slider-mobile .slick-list ~ .slick-next {
      display: none !important;
    }
  }
}

/**END BLOG*/

/* BLOG VER NOTICIA SECTION */
.ver-noticia-container {
}

.noticia-ver-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.noticia-body-text h2 {
  font-size: 40px !important;
  font-family: var(--bs-font-serif) !important;
  line-height: var(--bs-line-height-h3) !important;
}

.slick-prev-slide {
  right: 60px !important;
  top: inherit !important;
  bottom: -5px !important;
  left: inherit !important;
  z-index: 1;
}
.slick-next-slide {
  right: 20px !important;
  top: inherit !important;
  bottom: -5px !important;
  left: inherit !important;
  z-index: 1;
}
.slick-prev-slide {
  right: 50px;
  top: inherit !important;
  bottom: -5px !important;
  left: inherit !important;
}
.slick-next-slide {
  right: 10px;
  top: inherit !important;
  bottom: -5px !important;
  left: inherit !important;
}

/* END BLOG VER NOTICIA SECTION */

/* Separator */
.events-separator-footer {
  display: block;
  border: 1px solid var(--bs-accent);
  margin: 0;
}

/* FAMILY SECTION */
.family-section-container {
  background-color: var(--bs-secondary);
  padding-top: 0 !important;
}

.family-section-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px 15px 75px 15px; /* Añadir padding horizontal */
}

/* Invertir orden en mobile (imagen después de botones) */
.family-section-container.reverse-mobile .family-section-content {
  flex-direction: column-reverse;
  gap: 90px; /* Más espacio cuando la imagen está arriba */
}

.family-image-col {
  width: 100%;
  order: 1;
}

.family-image-col img {
  max-width: 100%;
  height: auto;
  display: block;
}

.family-text-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  order: 2;
}

.family-section-content > div > h2 {
  font-family: var(--bs-font-serif);
  line-height: var(--bs-line-height-secondary-title-mobile);
  width: fit-content;
}

.family-section-content > div > h2 > span {
  color: var(--bs-accent);
}

.buttons-call-to-action {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  margin-top: 1rem;
}

/* GRADIENT OVERLAYS - REUTILIZABLE */
/* Clase para aplicar a cualquier sección que necesite degradado */
.with-gradient {
  position: relative;
}

/* Degradado genérico - Mobile */
.gradient-overlay-mobile {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 427px;
  background: linear-gradient(
    45.3deg,
    rgba(113, 187, 178, 0) 50.26%,
    rgba(113, 187, 178, 0.6) 100.52%
  );
  pointer-events: none;
  z-index: 1;
  display: block;
}

/* Degradado genérico - Desktop */
.gradient-overlay-desktop {
  position: absolute;
  top: 0;
  right: 0;
  width: 740px;
  height: 956px;
  background: linear-gradient(
    45.3deg,
    rgba(113, 187, 178, 0) 50.26%,
    rgba(113, 187, 178, 0.6) 100.52%
  );
  pointer-events: none;
  z-index: 1;
  display: none;
}

/* Asegurar que el contenido esté por encima del degradado */
.with-gradient
  > *:not(.gradient-overlay-mobile):not(.gradient-overlay-desktop) {
  position: relative;
  z-index: 2;
}

/* Invertir orden de imagen y texto en desktop para secciones específicas */
/* En mobile NO se invierte, siempre imagen arriba y texto abajo */

/* SERVICES SECTION - GRID */
.services-section-container {
  background-color: var(--bs-secondary);
  padding: 0 !important;
  width: 100%;
}

.services-section-content {
  display: grid;
  grid-template-columns: 1fr; /* Mobile: 1 columna */
  gap: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.service-card {
  position: relative;
  width: 100%;
  height: 280px; /* Altura mobile */
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
}

.service-card:hover .service-overlay {
  /* Gradiente más intenso en hover */
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(
    90deg,
    var(--bs-primary) 0%,
    var(--bs-primary) 16.2%,
    rgba(25, 30, 40, 0.909804) 38.51%,
    rgba(25, 30, 40, 0.0509804) 75.23%,
    rgba(25, 30, 40, 0) 91.06%,
    rgba(25, 30, 40, 0) 100%
  );
  padding: 28px 15px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
  pointer-events: none; /* El overlay no intercepta eventos */
  z-index: 1; /* ← NUEVO: Contexto de apilamiento */
}

.service-overlay * {
  pointer-events: auto; /* Los elementos dentro SÍ reciben clics */
  position: relative; /* ← NUEVO: Crear contexto de apilamiento */
  z-index: 2; /* ← NUEVO: Por encima del overlay */
}

/* Asegurar que los botones y sus pseudo-elementos funcionen */
.service-buttons a,
.service-buttons .btn {
  position: relative !important;
  z-index: 3 !important; /* ← NUEVO: Botones en la capa superior */
}

.service-title {
  font-family: var(--bs-font-serif);
  font-weight: 400;
  color: var(--bs-secondary);
  margin: 0;
  flex-shrink: 0; /* Evita que el título se comprima */
}

.service-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
  /* margin-top: auto; Cambiado de 22px a auto para empujar hacia abajo */
  flex-shrink: 0; /* Asegura que los botones siempre sean visibles */
}

.service-buttons span {
  font-size: 18px;
  color: var(--bs-accent);
  letter-spacing: 10%;
  line-height: 36px;
}

/* Botones de servicios */
.btn-service-primary,
.btn-service-outline {
  font-family: var(--bs-font-sans);
  font-size: 12px !important;
  font-weight: 400;
  letter-spacing: 1.2px;
  padding: 10px 20px !important;
  height: auto !important;
  width: fit-content !important;
  border-radius: 25px;
  border: 1.5px solid;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-service-primary {
  background-color: var(--bs-accent);
  border-color: var(--bs-accent);
  color: var(--bs-primary);
}

.btn-service-primary:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-accent);
  transform: translateY(-2px);
}

.btn-service-outline {
  background-color: transparent;
  border-color: var(--bs-accent);
  color: var(--bs-secondary);
}

.btn-service-outline:hover {
  background-color: var(--bs-accent);
  border-color: var(--bs-accent);
  color: var(--bs-primary);
  transform: translateY(-2px);
}

/* HORARIOS SECTION - NUEVO DISEÑO MOBILE */
.horarios-section {
  background-color: #fff;
  position: relative;
}

.horarios-container {
  max-width: 1400px;
  margin: 0;
  padding: 0 15px;
  width: 100%;
}

.horarios-title {
  font-family: var(--bs-font-serif);
  font-size: 60px;
  line-height: normal;
  font-weight: 400;
  color: var(--bs-primary);
  text-align: center;
  margin-bottom: 40px;
}

/* Cada item de horario */
.horario-item {
  margin-bottom: 15px;
}

/* Header clickeable - fondo verde */
.horario-header {
  background-color: var(--bs-accent);
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  max-width: 401px;
  margin: 0 auto;
  transition: all 0.3s ease;
  padding: 0 15px;
}

.horario-header:hover {
  opacity: 0.9;
}

.horario-nombre {
  font-family: var(--bs-font-sans);
  font-size: 23px;
  line-height: 30px;
  font-weight: 600;
  color: var(--bs-primary);
  margin: 0;
  text-align: center;
  flex: 1;
}

.horario-arrow {
  position: absolute;
  right: 15px;
  width: 20px;
  height: 10px;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  flex-shrink: 0;
}

.horario-item.expanded .horario-arrow {
  transform: rotate(180deg);
}

/* Contenido colapsable */
.horario-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border: 2px solid var(--bs-accent);
  border-top: none;
  max-width: 401px;
  margin: 0 auto;
}

.horario-content.active {
  max-height: 500px;
}

/* Contenedor interno para estructura flex */
.horario-content-inner {
  display: flex;
  flex-direction: row;
  padding: 16px 15px;
  gap: 10px;
  align-items: center;
}

/* Wrapper de la info de horarios para alinear a la izquierda */
.horario-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 8px;
}

.horario-info {
  text-align: left;
  margin-bottom: 8px;
}

.horario-info:last-child {
  margin-bottom: 0;
}

.horario-dias,
.horario-horas {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  line-height: 20px;
  color: var(--bs-primary);
  margin: 0;
}

.horario-dias {
  font-weight: 600;
}

.horario-horas {
  font-weight: 400;
}

.horario-dias-especial {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  line-height: 25px;
  color: var(--bs-primary);
  font-weight: 600;
  margin: 0;
}

.horario-dias-especial .horario-regular {
  font-weight: 400;
}

/* Texto de próximamente */
.horario-proximamente {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  line-height: 36px;
  letter-spacing: 1.4px;
  font-weight: 400;
  color: var(--bs-primary);
  text-align: center;
  margin: 0;
  align-self: center;
}

/* Ajustes específicos para botones dentro de horarios */
.horario-content .btn {
  align-self: flex-end;
  margin: 0;
}

/* VIDEO SECTION */
.video-section {
  background-color: var(--bs-secondary);
  padding: 0;
  width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  height: 635px;
  overflow: hidden;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 115px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
  z-index: 10;
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
  width: 88px;
  height: 115px;
  display: block;
}

/* VIDEO MODAL OVERLAY - SOLO MÓVIL */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  z-index: 2;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  z-index: 3;
  transition: transform 0.2s ease;
}

.video-modal-close:hover {
  transform: scale(1.2);
}

.video-modal-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-modal-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* DESKTOP - Reproducción normal en la sección */
@media (min-width: 769px) {
  /* Ocultar el modal en desktop */
  .video-modal {
    display: none !important;
  }

  .video-container {
    height: 635px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
  }

  .video-modal-close {
    top: -35px;
    font-size: 35px;
  }
}

/* DISCOVER INSTALLATIONS SECTION */
.discover-installations-section-container {
  position: relative;
  overflow: hidden; /* Para que el gradiente no se salga */
}

.discover-installations-section-content {
  position: relative;
  z-index: 2; /* Por encima del gradiente */
  padding: 90px 15px;
}

/* Gradient mobile - diagonal de esquina superior izquierda a inferior derecha */
.discover-installations-gradient-mobile {
  position: absolute;
  width: 431px;
  height: 429px;
  left: 0;
  top: 0;
  background: linear-gradient(
    135deg,
    rgba(113, 187, 178, 0.6) 0%,
    rgba(113, 187, 178, 0.3) 25%,
    rgba(113, 187, 178, 0) 50%
  );
  pointer-events: none; /* No bloquea clics */
  z-index: 1;
}

/* Ocultar gradient desktop en mobile */
.discover-installations-gradient-desktop {
  display: none;
}

.discover-installations-section-content h2 {
  font-family: var(--bs-font-serif);
}

.discover-installations-section-content h2 > span {
  color: var(--bs-accent);
}

.discover-installations-flex {
  display: flex;
  flex-direction: column;
  margin-top: 60px;
}

.discover-installations-flex h3 {
  font-family: var(--bs-font-serif);
  color: var(--bs-accent);
  font-size: 40px;
  line-height: 70px;
}

.discover-installations-members {
  margin-top: 60px;
}

/* Ocultar HR en mobile */
.discover-installations-flex hr {
  display: none;
}

/* INSTALACIONES GRID SECTION */

.installations-gallery-header {
  margin-bottom: 50px;
}

.installations-gallery-header h2 {
  font-family: var(--bs-font-serif);
  font-size: 40px;
  line-height: 45px;
  color: var(--bs-dark-primary);
}

.installations-gallery-content h2 > span {
  color: var(--bs-accent);
}

.installations-gallery-flex {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 9px;
}

.installations-gallery-large-image {
  width: 100%;
  height: auto;
}

.installations-gallery-flex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.installations-gallery-grid {
  display: grid;
  /* Sistema de píxeles fijos: control total sobre cada celda */
  grid-template-rows: 212px 104px; /* Fila 1: 212px, Fila 2: 104px */
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
}

.grid-item {
  width: 100%;
  height: 100%;
}

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

.image-1 {
  grid-column: 1 / 3; /* Ocupa ambas columnas */
  grid-row: 1 / 2; /* Primera fila */
}

.image-2 {
  grid-column: 1 / 2; /* Primera columna */
  grid-row: 2 / 3; /* Segunda fila */
}

.image-3 {
  grid-column: 2 / 3; /* Segunda columna */
  grid-row: 2 / 3; /* Segunda fila */
}

/*  JOIN CLUB SECTION */
.join-club-section {
  position: relative;
  background-color: var(--bs-primary);
  padding-top: 70px; /* Espacio para la imagen que sobresale */
  margin-top: 100px;
  margin-bottom: 50px;
}

/* Gradiente debajo de la imagen usando pseudo-elemento */
.join-club-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 420px; /* Ajusta la altura del gradiente */
  background: linear-gradient(
    -48.51deg,
    rgba(113, 187, 178, 0) 52.28%,
    rgba(113, 187, 178, 0.6) 100.55%
  );
  z-index: 1; /* Debajo de la imagen pero encima del fondo */
  pointer-events: none; /* No interfiere con clics */
}

.join-club-content {
  position: relative;
  padding: 0 15px 70px;
  margin-top: -70px; /* Sobresale 70px por encima del section */
  z-index: 2; /* Por encima del gradiente */
}

.join-club-content > img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Centrar imagen */
}

.join-club-text {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.join-club-text h2 {
  font-family: var(--bs-font-serif);
  color: var(--bs-secondary);
}

.join-club-text span {
  color: var(--bs-accent);
}

.join-club-text p {
  color: var(--bs-secondary) !important;
}

/*  JOIN CLUB SECTION 2 */
.join-club-section-2 {
  position: relative;
  background-color: transparent;
  background-image: url("../img/svg/background-gradient-club-mobile.svg"); /* SVG como fondo */
  background-repeat: no-repeat;
  background-position: top left; /* Ajusta según necesites: top, center, bottom */
  background-size: cover; /* O 'contain' si prefieres que no se recorte */
  margin-top: 40px;
}

.join-club-content-2 {
  position: relative;
  padding: 0 15px 70px;
  margin-top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.join-club-content-2 > img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: -50px;
  order: 1;
}

.join-club-text-2 {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  order: 2;
}

.join-club-text-2 h2 {
  font-family: var(--bs-font-serif);
  color: var(--bs-primary);
  font-size: var(--bs-font-size-secondary-title-mobile);
  line-height: var(--bs-line-height-secondary-title-mobile);
}

.join-club-text-2 span {
  color: var(--bs-accent);
}

.join-club-text-2 p {
  color: var(--bs-primary) !important;
}

/* ACTUALDIAD */
.news-section > .container-ancho-intermedio {
  padding-top: 50px !important;
  padding-bottom: 100px !important;
}

/* LOGIN */
.login-page {
  height: calc(95vh - 70px);
  overflow: auto;
  padding: 0 !important;
}

.login-page > .container-fluid,
.login-page > .container,
.login-page:not(.grid_links) > .container-fluid > .row,
.login-page:not(.grid_links) > .container > .row {
  height: 100%;
}

.tg-card {
  text-align: left;
  color: #7652dc;
  background-color: #fff;
  padding: 1rem;
  border-radius: 20px;
}

.tg-card form {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.admin_container .tg-card {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.admin_container .tg-card:hover {
  color: #fff;
  background: #9d62f5;
  background: -moz-linear-gradient(left, #9d62f5 11%, #6049cd 100%);
  background: -webkit-linear-gradient(left, #9d62f5 11%, #6049cd 100%);
  background: linear-gradient(to right, #9d62f5 11%, #6049cd 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9d62f5', endColorstr='#6049cd',GradientType=1);
}

.admin_container .tg-card:hover svg * {
  fill: #fff !important;
}

.tg-card > figure.adjust-h {
  height: 3rem;
}

.tg-card h6 {
  height: 3rem;
  overflow: hidden;
  margin-bottom: 0;
}

.tg-card > figure + h6 {
  margin-top: 1rem;
}

/* BANNER (CON O SIN SLIDER) */
.slider_galeria {
  height: 60vh;
}

/* MAIN FOOTER - MOBILE FIRST DESIGN */
.main-footer {
  background-color: var(--bs-primary);
  color: white;
  padding: 20px 0;
  font-family: var(--bs-font-sans);
}

.footer-container {
  max-width: 100%;
  padding: 0 24px;
  margin: 0 auto;
}

/* Footer Header Section */
.footer-header {
  margin-bottom: 80px;
}

/* Logo */
.footer-logo {
  text-align: center;
  margin-bottom: 32px;
}

.footer-logo .logo-white {
  width: 248.41px;
  height: 60.86px;
}

/* Contact Info */
.footer-contact-info {
  margin-block: 60px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 16px;
  color: white;
}

.contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--bs-accent);
}

/* Address */
.footer-address {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.address-text {
  margin: 0;
  font-size: 14px;
  color: white;
  line-height: 14px;
}

/* Contact Button */
.footer-cta {
  margin-bottom: 32px;
}

/* Navigation Grid */
.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 32px 24px;
  margin-bottom: 40px;
}

/* Mobile grid organization: 2 columnas x 3 filas */
.nav-column:nth-child(1) {
  /* El Club */
  grid-column: 1;
  grid-row: 1;
}

.nav-column:nth-child(2) {
  /* Instalaciones */
  grid-column: 2;
  grid-row: 1;
}

.nav-column:nth-child(3) {
  /* Eventos */
  grid-column: 1;
  grid-row: 2;
}

.nav-column:nth-child(4) {
  /* Servicios */
  grid-column: 2;
  grid-row: 2;
}

.nav-column:nth-child(5) {
  /* Restaurante */
  grid-column: 1;
  grid-row: 3;
}

.nav-column:nth-child(6) {
  /* Despensa */
  grid-column: 2;
  grid-row: 3;
}

.nav-column {
  display: flex;
  flex-direction: column;
}

.nav-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-list a {
  color: var(--bs-white);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: var(--bs-accent);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1.5px solid var(--bs-accent);
  padding-top: 24px;
}

.footer-legal {
  margin-bottom: 16px;
  text-align: center;
}

.footer-legal a {
  color: var(--bs-white);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--bs-accent);
}

.separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 8px;
  font-size: 12px;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  color: var(--bs-white);
  font-size: 12px;
}

/* CONTACT FORM SECTION - MOBILE FIRST */
.contact-form-section {
  position: relative;
  background-color: var(--bs-primary);
  color: var(--bs-secondary);
  padding: 60px 0 80px;
  font-family: var(--bs-font-sans);
}

.contact-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 420px; /* Ajusta la altura del gradiente */
  background: linear-gradient(
    -48.51deg,
    rgba(113, 187, 178, 0) 52.28%,
    rgba(113, 187, 178, 0.6) 100.55%
  );
  z-index: 1; /* Debajo de la imagen pero encima del fondo */
  pointer-events: none; /* No interfiere con clics */
}

.contact-form-container {
  max-width: 100%;
  padding: 75px 15px 25px 15px;
  margin: 0 auto;
}

/* Header */
.contact-form-header {
  margin-bottom: 40px;
}

.contact-form-title {
  position: relative;
  z-index: 2;
  font-family: var(--bs-font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--bs-secondary);
  margin: 0;
}

.br-mobile-only {
  display: inline;
}
.br-desktop-only {
  display: none;
}

.contact-form-title .text-accent {
  color: var(--bs-accent);
}

/* Form Content */
.contact-form-content {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Form Rows - Mobile First */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.form-group {
  width: 100%;
  margin-bottom: 0;
}

/* Form Controls */
.contact-select,
.contact-input,
.contact-textarea {
  width: 100%;
  background-color: transparent;
  border: 1.5px solid #fff;
  padding: 16px 20px;
  color: var(--bs-secondary);
  font-family: var(--bs-font-sans);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.3s ease;
}

.contact-input:-webkit-autofill,
.contact-input:-webkit-autofill:hover,
.contact-input:-webkit-autofill:focus,
.contact-select:-webkit-autofill,
.contact-select:-webkit-autofill:hover,
.contact-select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--bs-secondary) !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--bs-primary) inset !important;
  box-shadow: 0 0 0px 1000px var(--bs-primary) inset !important;
  border: 1.5px solid #fff !important;
  transition: background-color 5000s ease-in-out 0s;
}

.contact-select::placeholder,
.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.contact-select:focus,
.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  box-shadow: none;
}

/* Select específico */
.contact-select {
  appearance: none;
  background-color: transparent !important;
  background-image: url("../img/svg/arrow-down-white.svg");
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 12px;
  padding-right: 50px;
  cursor: pointer;
  border: 1.5px solid #fff;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0 !important;
}

/* Cuando está enfocado/abierto */
.contact-select:focus,
.contact-select:active {
  background-color: transparent !important;
  outline: none;
  box-shadow: none;
  border-color: var(--bs-accent) !important;
  color: var(--bs-white) !important;
}

/* Las opciones del dropdown */
.contact-select option {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  padding: 10px;
}

.contact-select option:hover {
  background-color: var(--bs-accent) !important;
  color: var(--bs-primary) !important;
}

/* Estilos específicos para Safari en iOS */
@supports (-webkit-touch-callout: none) {
  .contact-select {
    -webkit-appearance: none;
    appearance: none;
  }

  /* Forzar el uso del dropdown HTML en lugar del picker nativo */
  .contact-select option:hover {
    background-color: var(--bs-accent) !important;
    color: var(--bs-primary) !important;
  }
}

/* Media query específica para dispositivos iOS */
@media screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .contact-select {
    -webkit-appearance: menulist;
    appearance: menulist;
  }
}

/* Opción seleccionada en el dropdown (la que tiene check) */
.contact-select option:checked {
  background-color: var(--bs-accent);
  color: var(--bs-primary);
}

/* Placeholder (primera opción vacía) */
.contact-select option[value=""] {
  color: rgba(255, 255, 255, 0.7);
}

/* Textarea */
.contact-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--bs-font-sans);
}

/* Visibility control for form-row-3 (conditional fields) */
.form-row-3 {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 0;
}

.form-row-3.show {
  display: grid;
  opacity: 1;
  transform: translateY(0);
  max-height: 1050px; /* Ajustar según el contenido */
}

/* Radio buttons */
.contact-question {
  color: var(--bs-secondary);
  font-size: 18px !important;
  font-weight: 400;
  font-family: var(--bs-font-sans);
}

.radio-group {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: row;
  justify-content: start;
  margin-top: 16px !important;
}

.form-check {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

/* Radio group responsive layout */

.radio-group .form-group {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group .form-group {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-label {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  color: white;
  font-weight: 300;
  line-height: 1.4;
  cursor: pointer;
  margin: 0;
  flex: 1;
}

.checkbox-label a {
  text-decoration: underline !important;
}

.checkbox-required {
  font-weight: 400;
}

/* Submit button */
.submit-group {
  margin-top: 40px;
  margin-bottom: 0;
}

/* Form Controls Overrides - específicos para el formulario de contacto */
.contact-form input:not([type="checkbox"]):not([type="radio"]):not(.btn) {
  position: relative;
  width: 100%;
  background: transparent;
  border: 1.5px solid #fff;
  border-radius: 0;
  padding: 16px 20px;
  font-family: var(--bs-font-sans);
  font-size: 16px;
  color: var(--bs-secondary);
  transition: border-color 0.3s ease;
}

.contact-form input:not([type="checkbox"]):not([type="radio"]):not(.btn):focus {
  outline: none;
  border-color: var(--bs-accent);
  box-shadow: none;
}

.contact-form textarea {
  width: 100%;
  min-height: 120px;
  background: transparent;
  border: 1.5px solid #fff;
  border-radius: 0;
  padding: 16px 20px;
  font-family: var(--bs-font-sans);
  color: var(--bs-secondary);
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--bs-accent);
  box-shadow: none;
  background: transparent;
  color: var(--bs-secondary);
}

/* Radio buttons - estilos específicos para CakePHP */
.contact-form .contact-radio input[type="radio"],
.contact-form input[type="radio"].contact-radio {
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 1.5px solid #fff !important;
  border-radius: 0 !important; /* ← AGREGAR ESTA LÍNEA */
  background-color: transparent !important;
  margin: 0 !important;
  margin-right: 8px !important;
  position: relative !important;
  cursor: pointer !important;
}

.contact-form .contact-radio input[type="radio"]:checked,
.contact-form input[type="radio"].contact-radio:checked {
  background-color: var(--bs-accent) !important;
  border-color: var(--bs-accent) !important;
}

/* .contact-form .contact-radio input[type="radio"]:checked::after,
.contact-form input[type="radio"].contact-radio:checked::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 8px !important;
  height: 8px !important;
  background-color: var(--bs-primary) !important;
} */

/* Labels para radio buttons */
.contact-form .contact-radio label,
.radio-group label {
  color: var(--bs-secondary) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  font-family: var(--bs-font-sans) !important;
}

/* Asegurar que los radio buttons no usen los pseudo-elementos globales */
.contact-form .contact-radio input[type="radio"] + label:before,
.contact-form .contact-radio input[type="radio"] + label:after,
.contact-form input[type="radio"].contact-radio + label:before,
.contact-form input[type="radio"].contact-radio + label:after {
  display: none !important;
}

.contact-form .contact-radio input[type="radio"] + label,
.contact-form input[type="radio"].contact-radio + label {
  padding-left: 0 !important;
}

/* Colorear el asterisco en rojo dentro del placeholder */

/* Estructura de checkbox group */
.checkbox-group .form-group,
.contact-form .checkbox-group .form-group {
  margin-bottom: 16px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

/* NEWSLETTER SECTION - MOBILE FIRST */
.newsletter-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.newsletter-background-image {
  position: relative;
  width: 100%;
  height: 250px;
  z-index: 0;
  order: -1;
}

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

.newsletter-overlay {
  display: none;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 30px 15px 100px 15px;
  min-height: auto;
  background-color: white;
}

.newsletter-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.newsletter-text-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-title {
  font-family: var(--bs-font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--bs-accent);
  margin: 0;
}

.newsletter-description {
  font-family: var(--bs-font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 35px;
  color: #282828;
  margin: 0;
}

.newsletter-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* FORM CONTROLS - MOBILE */
.newsletter-form .form-group {
  margin-bottom: 0;
  margin-top: 0;
}

.newsletter-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--bs-primary) !important;
  border-radius: 0;
  padding: 12px 0;
  font-size: 16px;
  color: var(--bs-primary);
  background: transparent;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--bs-accent);
  box-shadow: none;
}

.newsletter-input::placeholder {
  color: rgba(25, 30, 40, 0.6);
  font-family: var(--bs-font-sans);
}

/* AUTOFILL - SOLUCIÓN CORRECTA */
.newsletter-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: var(--bs-primary) !important;
  caret-color: var(--bs-primary) !important;
  background-color: transparent !important;
}

.newsletter-input:-webkit-autofill:hover {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: var(--bs-primary) !important;
  background-color: transparent !important;
}

.newsletter-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: var(--bs-primary) !important;
  border-color: var(--bs-accent) !important;
  background-color: transparent !important;
}

/* CHECKBOX AND BUTTON - MOBILE */
.newsletter-checkbox-button-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin-top: 20px;
}

.newsletter-checkbox-button-row .form-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  width: 100%;
}

.newsletter-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--bs-primary);
}

.newsletter-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--bs-font-sans);
  font-size: 14px;
  color: var(--bs-primary);
  line-height: 18px;
  cursor: pointer;
  margin: 0;
  padding: 0;
  flex: 1;
}

.newsletter-link {
  color: var(--bs-primary);
  text-decoration: underline !important;
}

.newsletter-link:hover {
  color: var(--bs-accent);
}

.btn {
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

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

.btn.btn-primary:hover {
  background-color: var(--bs-accent);
}

/* NEWSLETTER SECTION - DESKTOP (min-width: 768px) */
@media (min-width: 768px) {
  .newsletter-section {
    margin-top: 100px;
    min-height: 459px;
    height: auto;
    align-items: stretch;
    flex-direction: row;
  }

  .newsletter-background-image {
    padding-top: 0;
    position: relative;
    width: 35%;
    height: 459px;
    border-bottom-right-radius: 100px;
    overflow: hidden;
    z-index: 1;
    order: 0;
  }

  .newsletter-overlay {
    display: none;
  }

  .newsletter-content {
    position: relative;
    width: 55%;
    height: 459px;
    padding: 60px 40px;
    z-index: 2;
    background-color: white;
    align-items: center;
    justify-content: center;
  }

  .newsletter-container {
    width: 100%;
    gap: 28px;
    padding: 0;
  }

  .newsletter-title {
    font-size: 30px;
  }

  .newsletter-description {
    font-size: 50px;
    line-height: 55px;
    max-width: 90%;
  }

  .newsletter-form-wrapper {
    gap: 24px;
  }

  .newsletter-form {
    gap: 32px;
  }

  .newsletter-input {
    width: 65%;
    padding: 16px 0;
    font-size: 20px;
  }

  /* CHECKBOX AND BUTTON - DESKTOP (horizontal) */
  .newsletter-checkbox-button-row {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 50px;
    margin-top: 0;
  }

  .newsletter-checkbox-button-row .form-group {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
  }

  .newsletter-checkbox-label {
    font-size: 16px;
    white-space: nowrap;
    line-height: 20px;
  }

  .newsletter-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-top: 0;
  }

  .btn {
    width: auto;
    /* padding: 12px 40px; */
    font-size: 14px;
  }
}

/* NEWSLETTER SECTION - TABLETS GRANDES (min-width: 1024px) */
@media (min-width: 1024px) {
  .newsletter-section {
    height: 459px;
    flex-direction: row;
  }

  .newsletter-background-image {
    padding-top: 0;
    position: relative;
    width: 40%;
    height: 459px;
    border-bottom-right-radius: 100px;
  }

  .newsletter-content {
    width: 55%;
    padding: 60px 55px;
  }

  .newsletter-container {
    height: 100%;
    justify-content: center;
  }
  .newsletter-description {
    max-width: 70%;
  }
  .newsletter-input {
    width: 75%;
  }
}

/* DE 768px a 1024px */
@media (min-width: 768px) and (max-width: 1200px) {
  .newsletter-description {
    max-width: 100%;
  }
}

/* PAGE EL CLUB */

/* CLUB COMUNIDAD SECTION*/
.club-en-comunidad-section {
  padding: 68px 15px !important;
}
.club-en-comunidad-section h2 {
  font-family: var(--bs-font-serif);
  font-weight: var(--bs-font-weight-normal);
  font-size: var(--bs-font-size-secondary-title-desktop);
  line-height: 60px;
}

.club-en-comunidad-section h2 span {
  color: var(--bs-accent);
}

.club-en-comunidad-section p {
  margin-top: 23px;
}

/* VENTAJAS EXCLUSIVAS SECTION - Mobile First */
.features-rules-section {
  margin-top: 0 !important;
}

.ventajas-exclusivas-section {
  background-color: var(--bs-secondary);
}

.ventajas-exclusivas-content {
  padding: 68px 15px !important;
  max-width: 100%;
}

.features-rules-content {
  padding-top: 50px !important;
}

/* Clase para sección de eventos con padding reducido */
.eventos-section-small-padding {
  background-color: var(--bs-secondary);
  padding: 25px 0;
}

.eventos-content-small-padding {
  padding: 0 15px;
  max-width: 100%;
}

.eventos-content-small-padding h2 {
  font-family: var(--bs-font-serif);
  font-size: 40px;
  line-height: 45px;
  font-weight: 400;
  color: var(--bs-primary);
  margin-bottom: 25px;
  text-align: left;
}

.eventos-content-small-padding h2 span {
  color: var(--bs-accent);
}

.eventos-content-small-padding h2 br {
  display: block;
}

.ventajas-exclusivas-content h2 {
  font-family: var(--bs-font-serif);
  font-size: 40px;
  line-height: 45px;
  font-weight: 400;
  color: var(--bs-primary);
  margin-bottom: 24px;
  text-align: left;
}

.ventajas-exclusivas-content h2 span {
  color: var(--bs-accent);
}

.ventajas-exclusivas-content h2 br {
  display: block;
}

.ventajas-description {
  font-family: var(--bs-font-sans);
  font-size: var(--bs-font-size);
  line-height: var(--bs-line-height-paragraph-desktop);
  color: var(--bs-primary);
  margin-bottom: 80px;
  max-width: 400px;
}

.ventajas-grid {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.ventaja-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ventaja-item-evento {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ventaja-icon {
  flex-shrink: 0;
  width: 56.7px;
  height: 73.65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ventaja-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ventaja-content {
  flex: 1;
}

.ventaja-content h3 {
  font-family: var(--bs-font-serif);
  font-size: 30px;
  line-height: 35px;
  font-weight: var(--bs-body-font-weight);
  color: var(--bs-primary);
  margin-bottom: 12px;
}

.ventaja-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ventaja-content li {
  font-family: var(--bs-font-sans);
  font-size: var(--bs-font-size);
  line-height: var(--bs-line-height-paragraph-mobile);
  font-weight: var(--bs-body-font-weight);
  color: var(--bs-body-font-weight);
  /* letter-spacing: 1.6px; */
}

.ventaja-content li strong {
  font-weight: 600;
}

/* PRICING SECTION - MOBILE */
.pricing-section {
  background-color: var(--bs-primary);
  padding: 100px 0 80px;
}

.pricing-container {
  padding: 65px 15px 90px 15px;
  max-width: 431px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

/* Título principal */
.pricing-title {
  font-family: var(--bs-font-serif);
  font-size: 40px;
  line-height: 45px;
  color: white;
  margin-bottom: 50px;
}

.pricing-title span {
  color: var(--bs-accent);
}

/* Tarjeta de precio */
.pricing-card {
  margin-bottom: 100px;
  position: relative;
}

/* Badge turquesa */
.pricing-badge {
  background-color: var(--bs-accent);
  padding: 4px 20px;
  border-radius: 0 25px 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
}

.pricing-badge span {
  display: inline-block;
  font-family: var(--bs-font-sans);
  font-weight: 400;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: var(--bs-primary);
  text-transform: uppercase;
}

/* Precio grande */
.pricing-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 0 !important;
  max-height: max-content;
}

.price-number {
  font-family: var(--bs-font-serif);
  font-size: 175px;
  line-height: 190px;
  color: white;
}

.price-symbol {
  font-family: var(--bs-font-serif);
  font-size: 80px;
  color: white;
  margin-left: 5px;
}

.price-period {
  font-family: var(--bs-font-sans);
  font-size: 18px;
  color: white;
  text-transform: uppercase;
  margin-left: 5px;
}

/* Pago anual */
.pricing-annual {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 15px;
  opacity: 0.9;
}

.pricing-annual span {
  color: var(--bs-accent);
}

/* Acceso */
.pricing-access {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 15px;
}

.pricing-access span {
  color: var(--bs-accent);
}

/* Divisores */
.pricing-divider {
  border: none;
  border-top: 1.5px solid var(--bs-accent);
  margin: 20px 0;
  max-width: 298px;
}

/* Texto de ahorro */
.pricing-save {
  font-family: var(--bs-font-sans);
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  /* letter-spacing: 0.1em; */
  color: white;
  margin: 20px 0;
  max-width: 283px;
  letter-spacing: 0.02em;
}

/* Footer */
.pricing-footer {
  margin-top: 80px;
  text-align: center;
}

.footer-divider {
  border: none;
  border-top: 1.5px solid var(--bs-accent);
  margin: 20px auto;
  max-width: 396px;
}

.footer-text {
  font-family: var(--bs-font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: white;
  text-align: center;
  margin: 20px 0;
}

.footer-text strong {
  font-weight: 600;
}

/* PAGE CARTAS */
/* Galería Bento Box con gradiente */
.cartas-gallery-section {
  position: relative;
  background-color: #ffffff;
  padding: 50px 15px 100px 15px;
  overflow: hidden;
}

/* Gradientes específicos para la sección de cartas - Mobile */
.cartas-gradient-overlay-mobile {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: linear-gradient(
    180deg,
    rgba(113, 187, 178, 0) 0%,
    rgba(113, 187, 178, 0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
  display: block;
}

.cartas-gradient-overlay-desktop {
  display: none;
}

/* Grid de imágenes tipo Bento Box - Mobile */
.cartas-gallery-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.cartas-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.cartas-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Layout específico para cada item - Mobile */
.cartas-gallery-item.item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  height: 190px;
}

.cartas-gallery-item.item-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 146px;
}

.cartas-gallery-item.item-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  height: 152px;
}

.cartas-gallery-item.item-4 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  height: 247px;
}

.cartas-gallery-item.item-5 {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  height: 303px;
}

/* Sección Interior o Terraza - Mobile */
.interior-terraza-section {
  width: 100%;
  height: 500px;
  padding-bottom: 50px;
  background: linear-gradient(
    180deg,
    rgba(113, 187, 178, 0) 0%,
    rgba(113, 187, 178, 0.6) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.interior-terraza-content {
  width: 100%;
  max-width: 100%;
}

.interior-terraza-content h2 {
  font-family: var(--bs-font-serif);
  font-size: 55px;
  line-height: 60px;
  color: var(--bs-primary);
  margin-bottom: 3rem;
  text-align: left;
}

.interior-terraza-content p {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  line-height: 25px;
  color: var(--bs-primary);
  margin-bottom: 3rem;
  text-align: left;
}

.interior-terraza-content .btn {
  display: inline-block;
}

/* AVISO LEGAL STYLES · POLITICA DE COOKIES · POLITICA DE PRIVACIDAD */
.estaticos {
  background-color: var(--bs-white);
}

.estaticos > .container {
  max-width: 1700px !important;
  padding: 50px 15px !important;
}

.estaticos .container h1,
.estaticos .container h2,
.estaticos .container h3,
.estaticos .container p {
  color: var(--bs-primary);
  font-family: var(--bs-font-sans);
}

.estaticos .container h1 {
  font-size: 40px;
}

.estaticos .container h2 {
  font-size: 28px;
}

.estaticos .container p {
  font-size: 16px;
}

.estaticos .container ul {
  list-style-position: outside; /* Viñetas fuera del texto */
  padding-left: 40px; /* Espacio para que aparezcan las viñetas */
  margin-left: 0;
}

.estaticos .container ul li {
  list-style: disc !important;
  display: list-item; /* Asegurarse de que se muestren como items de lista */
  margin-bottom: 8px; /* Espacio entre items */
}

.estaticos .container ol {
  list-style-position: outside; /* Números fuera del texto */
  padding-left: 40px; /* Espacio para que aparezcan los números */
  margin-left: 0;
  counter-reset: item; /* Resetear contador */
}

.estaticos .container ol li {
  list-style: decimal; /* Números 1, 2, 3... */
  display: list-item; /* Asegurarse de que se muestren como items de lista */
  margin-bottom: 16px; /* Espacio entre items (el texto es largo) */
  line-height: 1.6; /* Mejor legibilidad */
}

/* Tabla principal */
.estaticos .container table {
  border-collapse: collapse; /* Los bordes se fusionan */
  width: 100%;
  border: 1px solid var(--bs-primary); /* Borde exterior */
}

/* Celdas del encabezado */
.estaticos .container table th {
  border: 1px solid var(--bs-primary); /* Bordes en todas las celdas */
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  background-color: rgba(
    113,
    187,
    178,
    0.1
  ); /* Fondo suave para encabezado (opcional) */
}

/* Celdas del cuerpo */
.estaticos .container table td {
  border: 1px solid var(--bs-primary); /* Bordes en todas las celdas */
  padding: 12px 16px;
  vertical-align: top;
}

/* Filas alternas (opcional, para mejor legibilidad) */
.estaticos .container table tbody tr:nth-child(even) {
  background-color: rgba(113, 187, 178, 0.05);
}

/* Hover en filas (opcional) */
.estaticos .container table tbody tr:hover {
  background-color: rgba(113, 187, 178, 0.1);
}

/* DESKTOP STYLES - Dentro de @media (min-width: 992px) */
@media (min-width: 992px) {
  .features-rules-section {
    margin-top: 3rem !important;
  }

  .ventajas-exclusivas-section {
    padding: 130px 15px !important;
  }

  .ventajas-exclusivas-content {
    max-width: 1700px;
    margin: 0 auto;
    padding: 15px 15px 100px !important;
  }

  .features-rules-content {
    padding-bottom: 40px !important;
  }

  /* Padding reducido para sección de eventos en desktop */
  .eventos-section-small-padding {
    padding: 25px 0;
  }

  .eventos-content-small-padding {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .eventos-content-small-padding h2 {
    font-size: var(--bs-font-size-secondary-title-desktop);
    font-weight: var(--bs-font-weight-normal);
    line-height: 60px;
    margin-bottom: 32px;
    text-align: center;
  }

  .eventos-content-small-padding h2 br {
    display: none;
  }

  .ventajas-exclusivas-content h2 {
    font-size: var(--bs-font-size-secondary-title-desktop);
    font-weight: var(--bs-font-weight-normal);
    line-height: 60px;
    margin-bottom: 32px;
    text-align: center;
  }

  .ventajas-exclusivas-content > p {
    text-align: center;
    width: 60%;
    margin: 0 auto;
  }

  .ventajas-exclusivas-content h2 br {
    display: none;
  }

  .ventajas-description {
    max-width: 1000px;
    margin-bottom: 75px;
  }

  /* CAMBIO: Grid de 3 columnas en lugar de 2 */
  .ventajas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 columnas */
    gap: 60px 120px;
    max-width: 1400px; /* Ajustado para 3 columnas */
    margin: 0 auto;
    padding-block: 60px;
  }

  .ventaja-item {
    gap: 24px;
    flex-direction: column;
  }
  .ventaja-item-evento {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .ventaja-content h3 {
    font-size: 30px;
    line-height: 35px;
    margin-bottom: 28px;
  }

  .ventaja-content li {
    font-size: 16px;
    line-height: 20px;
  }

  /* PAGE CLUB DESKTOP */
  .club-en-comunidad-section {
    max-width: 1700px;
    margin: 0 auto;
    padding: 15px !important;
  }

  .club-en-comunidad-section p {
    margin-top: 37px;
    width: 60%;
    margin: 37px auto 0 auto;
  }

  /* JOIN CLUB SECTION 2 DESKTOP */
  .join-club-section-2 {
    margin: 150px 0;
    background-image: url("../img/svg/background-gradient-club-desktop.svg"); /* SVG como fondo */
  }

  .join-club-content-2 {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row; /* Imagen izquierda, texto derecha en desktop */
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 0; /* Sin padding */
  }

  .join-club-content-2 > img {
    flex-shrink: 0;
    width: 596px;
    height: 672px; /* Más altura para que sobresalga */
    object-fit: cover;
    margin-top: -70px; /* Sobresale por arriba */
    margin-bottom: -90px; /* Sobresale por abajo */
    order: 1; /* Imagen primero (izquierda) en desktop */
  }

  .join-club-text-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    margin-top: 0;
    width: 50%;
    order: 2; /* Texto segundo (derecha) en desktop */
  }

  .join-club-text-2 h2 {
    font-size: var(--bs-font-size-secondary-title-desktop) !important;
    line-height: var(--bs-line-height-secondary-title-desktop) !important;
  }

  .join-club-text-2 > div {
    width: 80%;
  }

  /* PRICING SECTION DESKTOP */
  .pricing-section {
    padding: 120px 0 100px;
  }

  .pricing-container {
    max-width: 1700px;
  }

  /* Título centrado */
  .pricing-title {
    font-size: 50px;
    line-height: 60px;
    margin-bottom: 80px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: 15px;
  }

  /* Flexbox con space-between */
  .pricing-cards-grid {
    margin: 80px auto;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  /* Tarjeta de precio - ancho flexible */
  .pricing-card {
    margin-bottom: 0;
    flex: 0 1 auto; /* No crece, puede encogerse, tamaño automático */
    max-width: 380px; /* Ajusta según necesites */
  }

  /* Precio grande */
  .pricing-price {
    margin-bottom: 8px !important;
  }

  /* Badge */
  .pricing-badge {
    padding: 4px 24px;
  }

  .pricing-badge span {
    font-size: 10px;
    line-height: 16px;
  }

  /* Precio grande */
  .price-number {
    line-height: 240px;
  }

  .price-symbol {
    font-size: 70px;
  }

  .price-period {
    font-size: 16px;
  }

  /* Textos */
  .pricing-annual,
  .pricing-access,
  .pricing-save {
    font-size: 14px;
    line-height: 24px;
  }

  /* Footer */
  .pricing-footer {
    margin-top: 115px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-divider {
    max-width: 100%;
  }

  /* PAGE CARTAS - Desktop */
  .cartas-gallery-section {
    padding: 100px 15px;
  }

  /* Cambiar gradientes para desktop */
  .cartas-gradient-overlay-mobile {
    display: none;
  }

  .cartas-gradient-overlay-desktop {
    position: absolute;
    top: 0;
    right: 0;
    width: 740px;
    height: 956px;
    background: linear-gradient(
      45.3deg,
      rgba(113, 187, 178, 0) 50.26%,
      rgba(113, 187, 178, 0.6) 100.52%
    );
    pointer-events: none;
    z-index: 1;
    display: block;
  }

  /* Grid de imágenes - Desktop */
  .cartas-gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: repeat(2, auto);
    gap: 15px;
    justify-content: flex-end;
    padding-right: 100px;
  }

  /* Layout específico para cada item - Desktop */
  .cartas-gallery-item.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 254px;
    height: 283px;
  }

  .cartas-gallery-item.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 325px;
    height: 217px;
  }

  .cartas-gallery-item.item-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 325px;
    height: 226px;
  }

  .cartas-gallery-item.item-4 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    width: 266px;
    height: 367px;
  }

  .cartas-gallery-item.item-5 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    width: 325px;
    height: 450px;
  }

  /* Sección Interior o Terraza - Desktop */
  .interior-terraza-section {
    height: 450px;
    justify-content: center;
    padding: 0 100px 20px 100px;
  }

  .interior-terraza-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
  }

  .interior-terraza-content h2 {
    font-size: 60px;
    line-height: 70px;
    text-align: center;
  }

  .interior-terraza-content p {
    text-align: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5rem;
  }
}

/* DESKTOP STYLES - Media Query */
@media (min-width: 992px) {
  /* Container adjustments */
  .contact-form-container {
    max-width: 1700px;
    padding: 100px 15px;
    margin: 0 auto;
  }

  .contact-form-section {
    padding: 80px 0 100px;
  }

  .contact-form-header {
    margin-bottom: 60px;
  }

  .contact-form-title {
    font-size: 40px;
    line-height: 45px;
  }

  .contact-form-title br:last-child {
    display: none;
  }

  /* Grid Layout for Desktop */
  .contact-form {
    display: flex;
    flex-direction: column;
    /* gap: 32px; */
    max-width: 100%;
  }

  /* Form Rows Layout */
  .form-row {
    display: grid;
    gap: 24px;
    width: 100%;
  }

  /* Fila 1: 2 columnas (50% + 50%) */
  .form-row-1 {
    grid-template-columns: 1fr 1fr;
  }

  /* Fila 2 y 3: 3 columnas (33% + 33% + 33%) */
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Fila 4, 5, 6: Ancho completo */
  .form-row-4,
  .form-row-5,
  .form-row-6 {
    grid-template-columns: 1fr;
  }

  /* Form groups dentro de las filas */
  .form-row .form-group {
    margin-bottom: 0;
  }

  /* Radio buttons adjustments para desktop */
  .form-row-2 .form-col-3 .contact-question {
    font-size: 20px;
  }

  .radio-group {
    margin-top: 0 !important;
  }

  .form-row-2 .form-col-3 .radio-group {
    gap: 20px;
  }

  /* Checkboxes en desktop - mantener layout vertical */
  .form-row-5 {
    gap: 16px;
  }

  /* Submit button centered */
  .form-row-6 .submit-group {
    text-align: left;
  }

  .radio-group-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .footer-container {
    padding: 25px 15px 0 15px;
  }

  .footer-logo .logo-white {
    width: 200px;
  }

  .footer-nav-grid {
    /* grid-template-columns: 1fr; */
    gap: 50px;
  }

  .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .separator {
    display: none;
  }
}
.text-primary-custom {
  color: var(--bs-primary) !important;
}

/** MEDIA QUERIES **/
@media (min-width: 700px) and (max-width: 992px) {
  .dropdown-content {
    width: 18%;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* GLOBALS */
  .header-nav,
  .hero-container,
  .container-ancho-intermedio,
  .container-ancho-intermedio-no-padding-mobile,
  .container-ancho-intermedio-no-padding-top-mobile,
  .installations-gallery-content {
    max-width: 1700px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .container-ancho-intermedio-no-padding-mobile {
    padding: 0 15px;
  }

  .container-ancho-intermedio-no-padding-top-mobile {
    padding: 0 15px;
  }

  .header-nav {
    /* padding-inline: 15px; */
  }

  .header-nav a > img:hover {
    cursor: pointer;
  }

  .family-section-content {
    max-width: 1400px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-container {
    padding: 0 0; /* AJUSTAR AL CONTAINER DESKTOP */
  }

  p {
    line-height: var(--bs-line-height-paragraph-desktop);
  }

  /* HEADER */
  header {
    max-height: 118px;
  }
  #burger {
    width: 28px !important;
    height: 20px !important;
  }

  #desktop-header {
    display: flex !important;
    padding-inline: 15px !important;
  }

  #mobile-header {
    display: none !important;
  }

  /* HERO SECTION */
  .hero-section {
    /* En desktop, altura fija calculada dinámicamente */
    height: 100vh;
    min-height: calc(100vh - 120px);
  }

  .hero-carousel-indicators {
    bottom: 40px;
  }

  /* Restaurar gradiente diagonal en desktop */
  .grading-overlay-2 {
    background: linear-gradient(
      135deg,
      var(--bs-primary) 0%,
      var(--bs-primary) 25%,
      #191e28e8 50%,
      #191e280d 75%,
      #191e2800 100%
    );
  }

  .hero-content {
    position: absolute; /* Volver a absolute en desktop para mejor control */
    top: 0;
    left: 0;
    height: 100%;
    padding: 0; /* Sin padding vertical en desktop */
  }

  .hero-wrapper {
    flex-direction: row;
    align-items: center;
    height: 100%;
    text-align: left;
    padding: 0 15px;
  }

  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    order: 2;
  }

  .hero-text-wrapper {
    flex: 1;
    padding-right: 60px;
    gap: 3rem;
    order: 1;
  }

  .hero-title {
    font-size: var(--bs-hero-title-desktop) !important;
    line-height: var(--bs-line-height-hero-title-desktop) !important;
  }

  .hero-text {
    line-height: var(--bs-line-height-paragraph-accent) !important;
    width: 75%;
  }

  .hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 50px;
  }

  /* HERO SECONDARY SECTION */
  .hero-secondary-section {
    position: relative;
    height: 730px;
    overflow: visible;
    margin-bottom: 150px;
  }

  /* Fondo izquierdo - oscuro (2/3) */
  .hero-secondary-bg-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 66.66%;
    height: 100%;
    background-color: var(--bs-primary);
    z-index: 0;
  }

  /* Fondo derecho - turquesa con líneas (1/3) */
  .hero-secondary-bg-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 33.33%;
    height: 100%;
    background-color: #71bbb2;
    background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.1) 10px,
      rgba(255, 255, 255, 0.1) 12px
    );
    z-index: 0;
  }

  .hero-secondary-content {
    position: relative;
    z-index: 1;
    height: 100%;
  }

  .hero-secondary-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
  }

  .hero-secondary-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
  }

  /* Texto - lado izquierdo */
  .hero-secondary-text-wrapper {
    flex: 0 0 45%;
    color: white;
    padding-right: 60px;
    z-index: 2;
  }

  .hero-secondary-title-line1 {
    color: #fff;
    font-size: var(--bs-hero-title-desktop);
    line-height: var(--bs-line-height-hero-title-desktop);
  }

  .hero-secondary-title-line2 {
    color: var(--bs-accent);
    font-size: var(--bs-hero-title-desktop);
    line-height: var(--bs-line-height-hero-title-desktop);
  }

  .hero-secondary-text {
    color: white;
    line-height: var(--bs-line-height-paragraph-accent);
    margin-top: 24px;
    margin-bottom: 40px;
    max-width: 85%;
  }

  .hero-secondary-buttons {
    display: flex;
    gap: 50px;
  }

  /* Imagen - centrada entre los dos colores */
  .hero-secondary-image {
    position: absolute;
    right: 30%;
    top: 65%;
    transform: translate(50%, -50%);
    width: auto;
    width: 593px;
    height: 672px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-secondary-image img {
    width: 593px;
    height: 672px;
    object-fit: contain;
    object-position: center;
  }

  /* NEWS SECTION */
  .news-section > .container-ancho-intermedio {
    padding-top: 50px;
  }

  .news-description {
    font-family: var(--bs-font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--bs-primary);
    line-height: 1.5;
    margin-bottom: 38px;
    width: 60%;
    margin: 0 auto 50px auto;
  }

  .noticias-container {
    padding-block: 0;
  }

  /* BLOCK SECTION */
  .news-flex {
    max-width: 1400px;
    margin: 0 auto;
  }

  .blog-view {
    padding: 0;
  }

  .news-card {
    position: relative;
    /* ...resto del CSS existente... */
  }

  .news-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    text-decoration: none;
  }

  .news-card-link:hover ~ .news-card {
    /* Efecto hover opcional */
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }

  /* END BLOCK SECTION */

  /* BLOG VER NOTICIA SECTION */
  .ver-noticia-container {
    max-width: 1700px;
    margin: 0 auto;
    padding-inline: 15px;
  }

  /* END BLOG VER NOTICIA SECTION */

  /* SECTION FAMILY */
  .family-section-content {
    flex-direction: row;
    align-items: center;

    gap: 80px; /* Espacio entre imagen y texto */
    min-height: auto;
    padding: 100px 0 75px 0 !important; /* Quitar padding en desktop */
  }

  .flex-row-reverse-images {
    flex-direction: row-reverse;
  }

  .family-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  .family-image-col {
    display: flex;
    align-items: start;
    justify-content: start;
  }

  .family-image-col img {
    height: 672px;
    width: 596px;
    object-fit: cover;
    text-align: start;
  }

  .family-text-col {
    display: flex;
    align-items: start;
    justify-content: start;
  }

  .family-description {
    width: 80%;
  }

  .buttons-call-to-action {
    margin-bottom: 0;
  }

  /* Invertir orden de imagen y texto en desktop SOLAMENTE */
  .family-section-container.reverse-desktop .family-section-content {
    flex-direction: row-reverse;
  }

  /* Gradient overlays - Desktop */
  .gradient-overlay-mobile {
    display: none;
  }

  .gradient-overlay-desktop {
    display: block;
  }

  /* SECTION SERVICES */
  .services-section-container {
    padding: 100px 0;
  }

  .services-section-content {
    grid-template-columns: repeat(2, 1fr); /* Desktop: 2 columnas */
    gap: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    padding: 75px 0 0 0;
  }

  .service-buttons {
    margin-top: 43px;
  }

  .service-buttons span {
    font-size: 18px;
    color: var(--bs-accent);
    letter-spacing: 10%;
    line-height: 36px;
  }

  .service-card {
    height: 400px;
  }

  .service-overlay {
    padding: 53px 50px;
    background: linear-gradient(
      90deg,
      var(--bs-primary) 0%,
      var(--bs-primary) 8.1%,
      rgba(25, 30, 40, 0.909804) 19.25%,
      rgba(25, 30, 40, 0.0509804) 37.62%,
      rgba(25, 30, 40, 0) 45.53%,
      rgba(25, 30, 40, 0) 50%,
      transparent 50%
    );
    justify-content: flex-start;
  }

  .service-title {
    font-size: 40px;
  }

  /* HORARIOS SECTION */
  .horarios-container {
    max-width: 1400px;
    margin: 0 auto 75px auto;
  }

  /* En desktop, cada item es siempre visible (no colapsable) */
  .horario-item {
    margin-bottom: 15px;
  }

  /* Ocultar la flecha en desktop */
  .horario-arrow {
    display: none;
  }

  /* Header deja de ser clickeable y se convierte en la columna izquierda verde */
  .horario-header {
    background-color: var(--bs-accent);
    height: auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    position: relative;
    max-width: none;
    margin: 0;
    padding: 20px 15px;
    border: 1.5px solid var(--bs-accent);
    border-right: none;
    flex: 0 0 303px;
    width: 303px;
  }

  .horario-header:hover {
    opacity: 1;
  }

  .horario-nombre {
    font-family: var(--bs-font-sans);
    font-size: 23px;
    line-height: 40px;
    font-weight: 600;
    color: var(--bs-primary);
    margin: 0;
    text-align: center;
  }

  /* El contenido siempre está visible en desktop */
  .horario-content {
    max-height: none;
    overflow: visible;
    transition: none;
    border: 2px solid var(--bs-accent);
    border-left: none;
    max-width: none;
    margin: 0;
    flex: 1;
  }

  /* Wrapper que une header + content en una sola fila */
  .horario-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 100%;
    margin-bottom: 15px;
  }

  /* Contenedor interno en fila */
  .horario-content-inner {
    display: flex;
    flex-direction: row;
    padding: 20px 15px;
    gap: 20px;
    align-items: center;
    height: 100%;
    min-height: 76px;
  }

  /* Wrapper de info ocupa espacio flexible a la izquierda */
  .horario-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    flex: 1;
    gap: 10px;
  }

  .horario-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
    margin-bottom: 0;
  }

  .horario-dias,
  .horario-horas {
    font-family: var(--bs-font-sans);
    font-size: 18px;
    line-height: 30px;
    color: var(--bs-primary);
    margin: 0;
  }

  .horario-dias {
    font-weight: 600;
  }

  .horario-horas {
    font-weight: 400;
  }

  .horario-dias-especial {
    font-family: var(--bs-font-sans);
    font-size: 20px;
    line-height: 30px;
    color: var(--bs-primary);
    font-weight: 600;
    margin: 0;
  }

  /* Texto de próximamente en desktop */
  .horario-proximamente {
    width: 160px;
    font-family: var(--bs-font-sans);
    font-size: 14px;
    line-height: 36px;
    letter-spacing: 1.4px;
    font-weight: 400;
    color: var(--bs-primary);
    text-align: center;
    margin: 0;
    align-self: center;
    flex-shrink: 0;
  }

  /* Botones en desktop */
  .horario-content .btn {
    align-self: center;
    margin: 0;
    flex-shrink: 0;
  }

  /* VIDEO SECTION */
  .video-container {
    height: 900px; /* Desktop height - ajustado desde 960px según diseño */
  }

  .video-play-button {
    width: 88px;
    height: 115px;
  }

  .play-icon {
    width: 88px;
    height: 115px;
  }

  /* DISCOVER INSTALLATIONS SECTION */
  .installations-gallery-header {
    margin-bottom: 70px;
    text-align: center;
  }

  .installations-gallery-header p {
    width: 50%;
    margin: 25px auto 0 auto;
  }

  .discover-installations-section-content {
    padding-top: 130px;
  }

  .discover-installations-section-content h2 {
    text-align: center;
  }

  .discover-installations-section-content h2 br {
    display: none;
  }

  /* Ocultar gradient mobile en desktop */
  .discover-installations-gradient-mobile {
    display: none;
  }

  /* Gradient desktop - diagonal de esquina superior izquierda a inferior derecha */
  .discover-installations-gradient-desktop {
    display: block;
    position: absolute;
    width: 960px;
    height: 800px;
    left: 0;
    top: 0;
    background: linear-gradient(
      140deg,
      rgba(113, 187, 178, 0.6) 0%,
      rgba(113, 187, 178, 0.3) 25%,
      rgba(113, 187, 178, 0) 50%
    );
    pointer-events: none;
    z-index: 1;
  }

  .discover-installations-flex {
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    padding: 0;
  }

  /* Mostrar HR vertical en desktop */
  .discover-installations-flex hr {
    display: block;
    width: 2px;
    height: 400px;
    background-color: var(--bs-accent);
    border: none;
    margin: 0;
  }

  .discover-installations-general-public {
    width: 400px;
  }

  .discover-installations-members {
    width: 400px;
    margin-top: 0;
  }

  /* INSTALACIONES GRID SECTION */
  /* Espaciado específico para instalaciones en página club */
  .club-installations-wrapper {
    margin-top: 80px !important;
    margin-bottom: 80px !important;
  }

  .installations-gallery-flex {
    display: flex;
    flex-direction: row;
    gap: 9px;
    margin-bottom: 9px;
  }

  .flex-row-revers-images {
    flex-direction: row-reverse;
  }

  .installations-gallery-large-image {
    width: 100%;
    height: auto;
  }

  .installations-gallery-flex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .installations-gallery-grid {
    grid-template-rows: 482px 230px;
  }

  /* JOIN CLUB SECTION */
  .join-club-section {
    margin-top: 250px;
    margin-bottom: 200px;
  }

  /* Variante para VER NOTICIA */
  .join-club-section--no-top-margin {
    margin-top: 130px !important;
  }

  .join-club-content {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row-reverse; /* Imagen derecha, texto izquierda */
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 0; /* Sin padding */
  }

  .join-club-section::before {
    height: 100%;
  }

  .join-club-content > img {
    flex-shrink: 0;
    width: 596px;
    height: 672px; /* Más altura para que sobresalga */
    object-fit: cover;
    margin-top: -70px; /* Sobresale por arriba */
    margin-bottom: -150px; /* Sobresale por abajo */
  }

  .join-club-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 50%;
  }

  .join-club-text h2 {
    font-size: var(--bs-font-size-secondary-title-desktop) !important;
    line-height: var(--bs-line-height-secondary-title-desktop) !important;
  }

  .join-club-text > div {
    width: 80%;
  }

  /* ============================================
     EVENTS SECTION (EXPERIENCIAS) - Desktop
     ============================================ */

  /* Desktop: Carrusel que muestra 3 cards a la vez */
  .events-carousel-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
    scroll-snap-type: x mandatory;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  .events-carousel-wrapper::-webkit-scrollbar {
    display: none;
  }

  .event-card-wrapper {
    flex: 0 0 calc((100% - 60px) / 3); /* 3 cards visibles, menos los gaps */
    scroll-snap-align: start;
    max-width: none;
    padding: 10px;
  }

  /* Desktop: Cards tamaño normal */
  .event-card {
    border-radius: 30px;
  }

  .event-card-link {
    border-radius: 30px;
  }

  /* Tag tamaño desktop */
  .event-tag {
    top: 30px;
    border-radius: 0 30px 30px 0;
    padding: 4px 24px;
  }

  .event-tag-text {
    font-size: 16px;
  }

  /* Contenido desktop */
  .event-content {
    padding: 20px;
  }

  /* Título desktop */
  .event-title {
    font-size: 22px;
    margin-bottom: 12px;
    min-height: auto;
    line-height: 1.2;
  }

  /* Iconos desktop */
  .event-icon {
    width: 15px;
    height: 15px;
  }

  /* Info desktop */
  .event-info-row {
    gap: 6px;
    margin-bottom: 6px;
  }

  .event-date,
  .event-time {
    font-size: 13px;
  }

  /* Precio desktop */
  .event-price-wrapper {
    padding-top: 10px;
    margin-top: 10px;
    gap: 5px;
  }

  .event-price-label {
    font-size: 12px;
  }

  .event-price {
    font-size: 22px;
  }

  /* Mostrar controles del carrusel en desktop */
  .events-carousel-controls {
    display: flex;
    gap: 30px;
  }

  /* Mostrar indicadores (puntos) en desktop */
  .events-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .events-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d9d9d9;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .events-indicator.active {
    background-color: var(--bs-primary);
  }

  .events-indicator:hover {
    background-color: #999;
  }

  /* Ajustes de padding section */
  .events-section {
    padding: 100px 0;
  }

  /* Resetear padding-top en desktop */
  .events-section-mobile-padding-top {
    padding-top: 100px;
  }

  .events-section-title {
    font-size: 60px;
    margin-bottom: 80px;
  }

  /* FOOTER DESKTOP LAYOUT */
  .footer-container {
    max-width: 1700px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 0 4rem;
    grid-template-areas:
      "header nav"
      "bottom bottom";
  }

  .main-footer {
    padding: 60px 0 30px 0;
  }

  /* Footer Header Left Side */
  .footer-header {
    grid-area: header;
    margin-bottom: 0;
  }

  .footer-logo {
    text-align: left;
    margin-bottom: 24px;
  }

  .footer-logo .logo-white {
    width: 235px;
    height: auto;
  }

  .footer-contact-info {
    margin-top: 41px;
    margin-bottom: 60px;
  }

  .footer-address {
    margin: 50px 0;
  }

  .footer-cta {
    margin-bottom: 0;
  }

  /* Footer Nav Grid Right Side */
  .footer-nav-grid {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 40px 60px;
    margin-bottom: 0;
  }

  /* Desktop grid organization: 3 columnas x 2 filas */
  .nav-column:nth-child(1) {
    /* El Club */
    grid-column: 1;
    grid-row: 1;
  }

  .nav-column:nth-child(2) {
    /* Instalaciones */
    grid-column: 2;
    grid-row: 1;
  }

  .nav-column:nth-child(3) {
    /* Eventos */
    grid-column: 3;
    grid-row: 1;
  }

  .nav-column:nth-child(4) {
    /* Servicios */
    grid-column: 1;
    grid-row: 2;
  }

  .nav-column:nth-child(5) {
    /* Restaurante */
    grid-column: 2;
    grid-row: 2;
  }

  .nav-column:nth-child(6) {
    /* Despensa */
    grid-column: 3;
    grid-row: 2;
  }

  /* Footer Bottom */
  .footer-bottom {
    grid-area: bottom;
    padding-top: 30px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-copyright {
    margin-bottom: 0;
    text-align: left;
    order: 1;
  }

  .footer-legal {
    margin-bottom: 0;
    text-align: right;
    order: 2;
  }

  /* CONTACT SECTION */
  .br-mobile-only {
    display: none;
  }
  .br-desktop-only {
    display: inline;
  }

  .contact-form-section::before {
    top: 0;
    left: 50%;
    width: 75%;
    height: 750px; /* Ajusta la altura del gradiente */
    background: linear-gradient(
      31.51deg,
      rgba(113, 187, 178, 0) 52.28%,
      rgba(113, 187, 178, 0.6) 100.55%
    );
  }

  /* NEWSLETTER SECTION - DESKTOP */
}

/* 
========================================
   RESERVAS - CALENDARIO Y HORARIOS
======================================== 
*/

.reservas-container {
  padding: 50px 15px;
}

.reservas-section {
  position: relative;
  overflow: hidden;
}

.reservas-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 322px;
  height: 370px;
  background: linear-gradient(
    235deg,
    /* 225deg = de superior derecha a inferior izquierda (45deg + 180deg) */
      rgba(113, 187, 178, 0.6) 0%,
    rgba(113, 187, 178, 0) 50%
  );
  pointer-events: none; /* Para que no interfiera con clics */
  z-index: 0;
}

.reservas-section > .reservas-container {
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .reservas-section::before {
    width: 740px;
    height: 956px;
  }
}

.reservas-header {
  margin-bottom: 50px;
}

.reservas-title {
  font-family: var(--bs-font-serif);
  color: var(--bs-primary);
  font-weight: var(--bs-body-font-weight);
  font-size: var(--bs-font-size-h3);
  text-align: left;
  line-height: 45px;
}

/* Header del Calendario */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 8px;
  max-width: 500px;
  padding-bottom: 16px;
}

.cal-title {
  color: var(--bs-accent);
  font-weight: var(--bs-font-weight-medium);
  font-size: 20px;
}

.cal-nav {
  background: transparent;
  border: 0;
  font-size: 28px;
  color: var(--bs-secondary);
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cal-nav:hover {
  opacity: 0.7;
}

.cal-nav img {
  width: 18px;
  height: 18px;
}

/* Grid del Calendario */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  max-width: 500px;
  margin: 0 auto;
  padding-top: 0;
}

.cal-days {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 8px;
  border-top: 2px solid var(--bs-primary);
  padding-top: 8px;
}

.cal-weekday {
  text-align: center;
  color: var(--bs-accent);
  font-weight: var(--bs-font-weight-medium);
  padding: 0.25rem 0;
  font-size: 20px;
}

.cal-day {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 2px auto;
  border-radius: 50%;
  transition: all 0.2s ease;
  color: var(--bs-primary);
}

.cal-day:hover:not(.is-muted) {
  background: var(--bs-accent);
  color: var(--bs-secondary);
}

.cal-day.is-selected {
  background: var(--bs-accent);
  color: #fff;
  font-weight: 500;
}

.cal-day.is-today {
  color: var(--bs-primary);
  font-weight: 600;
}

.cal-day.is-muted {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Secciones de Reserva */
.reserva-section {
  margin-top: 30px;
}

.reserva-section-title {
  color: var(--bs-primary);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  text-align: left;
}

/* Grid de Horarios */
.times-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(
    3,
    auto
  ); /* ← Define 3 filas para ordenar correctamente */
  grid-auto-flow: column;
  gap: 12px 16px;
  max-width: 500px;
  margin: 0 auto;
}

.times-grid-lugar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* Item de Horario */
.time-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--bs-primary);
  transition: opacity 0.2s ease;
}

.time-item:hover {
  opacity: 0.8;
}

/* Radio/Checkbox personalizado para horarios */
.time-radio {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--bs-accent) !important; /* ← Cambio a accent (verde agua) */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}

.time-radio:hover {
  border-color: var(--bs-accent-alt); /* ← Hover con variante del accent */
  transform: scale(1.05);
}

.time-radio:checked {
  border-color: var(--bs-accent); /* ← Accent cuando está seleccionado */
  background: transparent;
}

.time-radio:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--bs-accent); /* ← Relleno accent */
  border-radius: 50%;
}

/* Input de número de comensales */
.reservas-section input[type="number"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bs-primary);
  border-radius: 0;
  padding: 10px 0;
  color: var(--bs-primary) !important;
  font-size: 16px;
  width: 100%;
  max-width: 500px;
}

.reservas-section input[type="number"]::placeholder {
  color: rgba(25, 30, 40, 0.5);
}

.reservas-section input[type="number"]:focus {
  border-bottom-color: var(--bs-primary);
  box-shadow: none;
  outline: none;
}

/* Label del horario */
.time-label {
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
}

/* Estilos específicos para la sección de reservas */
.reservas-section .contact-form-content {
  max-width: 500px;
  margin: 0 auto;
}

.reservas-section .form-row {
  margin-bottom: 20px;
}

/* Inputs de texto, email, number y textarea para reservas y formulario de compra */
.reservas-section input[type="text"],
.reservas-section input[type="email"],
.reservas-section input[type="number"],
.reservas-section textarea,
.reservas-section .contact-input,
.reservas-section .contact-textarea,
.event-purchase-form input[type="text"],
.event-purchase-form input[type="email"],
.event-purchase-form input[type="tel"],
.event-purchase-form input[type="number"],
.event-purchase-form textarea,
.event-purchase-form select {
  background-color: transparent !important;
  border: 1.5px solid var(--bs-primary) !important;
  border-radius: 0;
  padding: 16px 20px;
  color: var(--bs-primary) !important;
  font-size: 16px;
  font-family: var(--bs-font-sans);
  transition: none;
}

/* Placeholders */
.reservas-section input[type="text"]::placeholder,
.reservas-section input[type="email"]::placeholder,
.reservas-section input[type="number"]::placeholder,
.reservas-section textarea::placeholder,
.reservas-section .contact-input::placeholder,
.reservas-section .contact-textarea::placeholder,
.event-purchase-form input[type="text"]::placeholder,
.event-purchase-form input[type="email"]::placeholder,
.event-purchase-form input[type="tel"]::placeholder,
.event-purchase-form input[type="number"]::placeholder,
.event-purchase-form textarea::placeholder,
.event-purchase-form select::placeholder {
  color: var(--bs-primary) !important;
  opacity: 0.7;
}

/* Estado FOCUS - mantener todo igual */
.reservas-section input[type="text"]:focus,
.reservas-section input[type="email"]:focus,
.reservas-section input[type="number"]:focus,
.reservas-section textarea:focus,
.reservas-section .contact-input:focus,
.reservas-section .contact-textarea:focus,
.event-purchase-form input[type="text"]:focus,
.event-purchase-form input[type="email"]:focus,
.event-purchase-form input[type="tel"]:focus,
.event-purchase-form input[type="number"]:focus,
.event-purchase-form textarea:focus,
.event-purchase-form select:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 1.5px solid var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  background-color: transparent !important;
  color: var(--bs-primary) !important;
}

/* Autocompletado - fondo transparente */
.reservas-section input[type="text"]:-webkit-autofill,
.reservas-section input[type="text"]:-webkit-autofill:hover,
.reservas-section input[type="text"]:-webkit-autofill:focus,
.reservas-section input[type="email"]:-webkit-autofill,
.reservas-section input[type="email"]:-webkit-autofill:hover,
.reservas-section input[type="email"]:-webkit-autofill:focus,
.reservas-section input[type="number"]:-webkit-autofill,
.reservas-section input[type="number"]:-webkit-autofill:hover,
.reservas-section input[type="number"]:-webkit-autofill:focus,
.reservas-section textarea:-webkit-autofill,
.reservas-section textarea:-webkit-autofill:hover,
.reservas-section textarea:-webkit-autofill:focus,
.reservas-section .contact-input:-webkit-autofill,
.reservas-section .contact-input:-webkit-autofill:hover,
.reservas-section .contact-input:-webkit-autofill:focus,
.reservas-section .contact-textarea:-webkit-autofill,
.reservas-section .contact-textarea:-webkit-autofill:hover,
.reservas-section .contact-textarea:-webkit-autofill:focus,
.event-purchase-form input[type="text"]:-webkit-autofill,
.event-purchase-form input[type="text"]:-webkit-autofill:hover,
.event-purchase-form input[type="text"]:-webkit-autofill:focus,
.event-purchase-form input[type="email"]:-webkit-autofill,
.event-purchase-form input[type="email"]:-webkit-autofill:hover,
.event-purchase-form input[type="email"]:-webkit-autofill:focus,
.event-purchase-form input[type="tel"]:-webkit-autofill,
.event-purchase-form input[type="tel"]:-webkit-autofill:hover,
.event-purchase-form input[type="tel"]:-webkit-autofill:focus,
.event-purchase-form input[type="number"]:-webkit-autofill,
.event-purchase-form input[type="number"]:-webkit-autofill:hover,
.event-purchase-form input[type="number"]:-webkit-autofill:focus,
.event-purchase-form textarea:-webkit-autofill,
.event-purchase-form textarea:-webkit-autofill:hover,
.event-purchase-form textarea:-webkit-autofill:focus,
.event-purchase-form select:-webkit-autofill,
.event-purchase-form select:-webkit-autofill:hover,
.event-purchase-form select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: var(--bs-primary) !important;
  background-color: transparent !important;
  border: 1.5px solid var(--bs-primary) !important;
  transition: none;
}

/* Firefox autocomplete */
.reservas-section input[type="text"]:-moz-autofill,
.reservas-section input[type="email"]:-moz-autofill,
.reservas-section input[type="number"]:-moz-autofill,
.reservas-section textarea:-moz-autofill,
.reservas-section .contact-input:-moz-autofill,
.reservas-section .contact-textarea:-moz-autofill,
.event-purchase-form input[type="text"]:-moz-autofill,
.event-purchase-form input[type="email"]:-moz-autofill,
.event-purchase-form input[type="tel"]:-moz-autofill,
.event-purchase-form input[type="number"]:-moz-autofill,
.event-purchase-form textarea:-moz-autofill,
.event-purchase-form select:-moz-autofill {
  background-color: transparent !important;
  color: var(--bs-primary) !important;
  border: 1.5px solid var(--bs-primary) !important;
}

/* Botón de submit para reservas */
.reservas-section .btn-primary {
  width: 100%;
  max-width: 500px;
  display: block;
}

/* ========================================
   FORMULARIO DE COMPRA - EVENTOS
   ======================================== */

/* Títulos de sección del formulario */
.event-purchase-form h6 {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--bs-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* Sección de total */
.event-purchase-form .total-section {
  padding: 20px 0;
  border-top: 1.5px solid var(--bs-primary);
  border-bottom: 1.5px solid var(--bs-primary);
  margin: 30px 0;
}

.event-purchase-form .total-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-purchase-form .total-label {
  font-family: var(--bs-font-sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--bs-accent);
  text-transform: uppercase;
}

.event-purchase-form .total-price {
  font-family: var(--bs-font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--bs-primary);
}

/* Botón de compra */
.event-purchase-form .btn-purchase-submit {
  width: 100%;
  background-color: var(--bs-accent);
  color: var(--bs-secondary);
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.event-purchase-form .btn-purchase-submit:hover {
  background-color: var(--bs-primary);
  color: var(--bs-secondary);
  opacity: 0.9;
}

/* Checkbox de términos */
.event-purchase-form .checkbox label {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  color: var(--bs-primary);
  line-height: 1.5;
}

.event-purchase-form .checkbox label a {
  color: var(--bs-primary);
  text-decoration: underline;
}

.event-purchase-form .checkbox label a:hover {
  opacity: 0.8;
}

/* Espaciado entre campos */
.event-purchase-form .form-control,
.event-purchase-form .form-select {
  margin-bottom: 20px;
}

.event-purchase-form .checkbox {
  margin-bottom: 15px;
}

/* Términos y condiciones - todo en primary */
.reservas-section .checkbox-label {
  color: var(--bs-primary);
}

.reservas-section .checkbox-label a,
.reservas-section .terminos-link {
  color: var(--bs-primary);
  text-decoration: underline;
}

.reservas-section .checkbox-label a:hover,
.reservas-section .terminos-link:hover {
  color: var(--bs-primary);
  opacity: 0.8;
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */
@media (min-width: 992px) {
  .reservas-container {
    max-width: 1700px;
    margin: 0 auto;
  }

  .reservas-container {
    padding: 50px 15px;
  }

  /* Título centrado */
  .reservas-header {
    text-align: center;
    margin: 0;
  }

  .reservas-title {
    text-align: center;
    font-size: 80px;
    line-height: normal;
  }

  /* Calendario centrado arriba */
  .cal-grid,
  .cal-header {
    max-width: 508px;
    margin: 0 auto;
  }

  .cal-day {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .cal-weekday {
    font-size: 20px;
  }

  .cal-title {
    font-size: 20px;
  }

  /* Grid de 3 columnas: Almuerzo | Cena | Lugar + Nº comensales */
  .reservas-horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto 0;
  }

  /* Cada columna del grid */
  .reservas-horarios-grid > .reserva-section,
  .reservas-horarios-grid > .reserva-column-3 {
    margin-top: 0;
  }

  /* Tercera columna (contenedor de Lugar + Nº comensales) */
  .reserva-column-3 {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .reserva-column-3 .reserva-section {
    margin-top: 0;
  }

  /* Grid de horarios en COLUMNA (1 por fila) */
  .reservas-horarios-grid .times-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(
      3,
      auto
    ) !important; /* ← 3 filas para distribuir los 7-9 items */
    grid-auto-flow: column !important;
    max-width: 100%;
    gap: 10px;
  }

  .reserva-section-title {
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 20px;
  }

  .time-label {
    font-size: 18px;
  }

  /* Input de número de comensales */
  .reservas-horarios-grid input[type="number"] {
    max-width: 100%;
  }

  /* Formulario de datos personales - 2 columnas con Grid */
  .reservas-content {
    max-width: 1700px;
    margin: 60px auto 0;
  }

  /* Título fuera del grid */
  .reserva-section.mt-4 .reserva-section-title {
    margin-bottom: 30px;
  }

  /* Grid de 2 columnas SOLO para los campos del formulario */
  .reserva-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .reservas-horarios-grid .input-num-comensales {
    max-width: 315px !important;
    width: 315px !important;
  }

  /* Primera fila: Nombre y Email (cada uno ocupa 1 columna automáticamente) */
  .reserva-form-grid .form-row:nth-of-type(1),
  .reserva-form-grid .form-row:nth-of-type(2) {
    margin-bottom: 0;
  }

  /* Segunda fila: Textarea ocupa las 2 columnas completas */
  .reserva-form-grid .form-row:nth-of-type(3) {
    grid-column: 1 / -1; /* Ocupa desde la columna 1 hasta el final */
    margin-bottom: 0;
  }

  /* Checkbox ocupa todo el ancho */
  .form-row.mt-3 {
    width: 100%;
    margin-top: 30px;
  }

  /* Botón */
  .reservas-section .btn-primary {
    max-width: 157px;
    margin: 20px 0 0 0;
    display: inline-block;
  }
}

/* ============================================
   VALIDACIÓN DE FORMULARIOS - RESERVAS
   Estilos suaves solo para el banner de mensaje
   ============================================ */

/* Mensaje de error de validación - Banner inferior */
.validation-error-message {
  color: var(--primary-color, #1d3d2c);
  font-size: 15px;
  font-weight: 500;
  margin-top: 16px;
  padding: 14px 18px;
  background-color: rgba(198, 164, 126, 0.08);
  border-left: 4px solid var(--accent-color, #c6a47e);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeInDown 0.4s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.validation-error-message span {
  font-size: 20px;
  flex-shrink: 0;
  color: var(--accent-color, #c6a47e);
}

/* Animación suave de fade in */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Eliminar clase has-validation-error si existe (ya no se usa) */
.has-validation-error {
  /* No aplicar estilos visuales al contenedor */
}

/* Responsive - Tablet */
@media (max-width: 992px) {
  .validation-error-message {
    font-size: 14px;
    padding: 12px 16px;
  }

  .validation-error-message span {
    font-size: 18px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .validation-error-message {
    font-size: 13px;
    padding: 12px 14px;
    gap: 8px;
  }

  .validation-error-message span {
    font-size: 18px;
  }
}

/* ========================================
   FORM SUCCESS MESSAGE - RESERVA CONFIRMADA
   ======================================== */

/* Mensaje de éxito después de enviar formulario */
.form-success-message {
  min-height: 400px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 25px;
}

.form-success-content {
  max-width: 600px;
  width: 100%;
}

/* Icono de éxito - SIEMPRE CENTRADO en mobile y desktop */
.form-success-icon {
  margin-bottom: 2rem;
  text-align: center;
  animation: successIconScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-icon svg {
  width: 80px;
  height: 80px;
  stroke: #71bbb2;
  stroke-width: 3;
  filter: drop-shadow(0 4px 12px rgba(113, 187, 178, 0.3));
}

@keyframes successIconScale {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Título principal - CENTRADO por defecto (desktop) */
.form-success-title {
  font-family: var(--bs-font-sans);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--bs-primary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
  text-align: left;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Texto principal - CENTRADO por defecto (desktop) */
.form-success-text {
  font-family: var(--bs-font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--bs-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.form-success-text p {
  margin-bottom: 1rem;
}

.form-success-text p:last-child {
  margin-bottom: 0;
}

/* Texto secundario - CENTRADO por defecto (desktop) */
.form-success-text-secondary {
  font-family: var(--bs-font-sans);
  font-size: 0.938rem;
  font-weight: 400;
  color: var(--bs-primary);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: left;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Wrapper del botón - CENTRADO por defecto (desktop) */
.form-success-button-wrapper {
  text-align: left;
  margin-top: 50px;
}

/* Botón de acción */
.form-success-message .btn-primary {
  background-color: #71bbb2;
  border: none;
  border-radius: 0 25px 25px 0;
  font-family: var(--bs-font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--bs-primary);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out 0.5s both;
  box-shadow: 0 4px 12px rgba(113, 187, 178, 0.3);
  display: inline-block;
}

.form-success-message .btn-primary:hover {
  background-color: #5fa99f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(113, 187, 178, 0.4);
}

.form-success-message .btn-primary:active {
  transform: translateY(0);
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive - Mobile: TODO ALINEADO A LA IZQUIERDA (excepto icono) */
@media (max-width: 768px) {
  .form-success-message {
    min-height: 350px;
  }

  .form-success-icon {
    text-align: center; /* Icono SIEMPRE centrado */
  }

  .form-success-icon svg {
    width: 60px;
    height: 60px;
  }

  /* Título alineado a la izquierda en mobile */
  .form-success-title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    text-align: left;
  }

  /* Texto principal alineado a la izquierda en mobile */
  .form-success-text {
    font-size: 0.938rem;
    margin-bottom: 1.25rem;
    text-align: left;
  }

  /* Texto secundario alineado a la izquierda en mobile */
  .form-success-text-secondary {
    font-size: 0.938rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  /* Botón alineado a la izquierda en mobile */
  .form-success-button-wrapper {
    text-align: left;
  }

  .form-success-message .btn-primary {
    padding: 0.625rem 2rem;
    font-size: 0.813rem;
  }

  /* BLOG SECTION START */
  #noticia-page p {
    font-size: 14px;
  }
  /* BLOG SECTION END */
}

/* Tablet - Mantener centrado */
@media (min-width: 769px) and (max-width: 1024px) {
  .form-success-icon svg {
    width: 70px;
    height: 70px;
  }

  .form-success-title {
    font-size: 1.563rem;
  }
}

/* Desktop grande - Mantener centrado */
@media (min-width: 1200px) {
  .form-success-content {
    max-width: 700px;
  }

  .form-success-title {
    font-size: 2rem;
  }

  .form-success-text {
    font-size: 1.063rem;
  }
  .form-success-text-secondary {
    font-size: 1.063rem;
  }
}

/* ============================================
   EXPERIENCES GRID SECTION - Grid completo con filtros
   Valores exactos de Figma
   ============================================ */

/* Sección principal */

/* Contenedor con max-width */
.experiences-grid-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-experiences-grid {
  width: 100%;
  padding: 50px 0;
}

/* Título de la sección */
.experiences-grid-title {
  font-family: var(--bs-font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--bs-primary);
  text-align: center;
  margin-bottom: 40px;
}

/* Filtros de categorías (pills) */
.experiences-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.experience-filter-pill {
  background-color: var(--bs-accent-light);
  color: var(--bs-secondary);
  border: none;
  border-radius: 30px;
  padding: 11.5px 30px;
  height: 23px;
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.experience-filter-pill:hover {
  background-color: var(--bs-accent);
  opacity: 0.8;
}

.experience-filter-pill.active {
  background-color: var(--bs-accent);
  color: var(--bs-secondary);
  opacity: 1;
}

/* Grid de experiencias */
.experiences-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
}

.experience-grid-item {
  width: 100%;
}

/* Card de experiencia */
.experience-card {
  position: relative;
  background: var(--bs-secondary);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.2);
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 12px 0px rgba(0, 0, 0, 0.25);
}

/* Link absoluto que cubre toda la card */
.experience-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 20px;
}

/* Tag de categoría */
.experience-tag {
  position: absolute;
  top: 18px;
  left: 24px;
  background-color: var(--bs-accent);
  border-radius: 30px;
  padding: 11.5px 30px;
  height: 23px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.experience-tag-text {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--bs-secondary);
  text-transform: uppercase;
  line-height: 0;
}

/* Imagen de la experiencia */
.experience-image-wrapper {
  width: 100%;
  height: 185px;
  overflow: hidden;
  background-color: #f0f0f0;
  border-radius: 20px 20px 0 0;
}

.experience-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenido de la card */
.experience-content {
  padding: 20px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Título de la experiencia */
.experience-title {
  font-family: var(--bs-font-serif);
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: var(--bs-primary);
  margin: 0 0 8px 0;
}

/* Filas de información (fecha y hora) */
.experience-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.experience-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.experience-date,
.experience-time {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  line-height: 1;
  color: var(--bs-primary);
  margin: 0;
  font-weight: 400;
}

/* Precio */
.experience-price-wrapper {
  margin-top: auto;
  padding-top: 8px;
}

.experience-price-label {
  font-family: var(--bs-font-sans);
  font-size: 14px;
  line-height: 1;
  color: #707070;
  margin-right: 4px;
  font-weight: 400;
}

.experience-price {
  font-family: var(--bs-font-sans);
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  color: var(--bs-accent);
}

/* Responsive - Desktop */
@media (min-width: 992px) {
  .experiences-grid-section {
    padding: 0;
  }

  .container-experiences-grid {
    padding: 100px 0;
  }

  .experiences-grid-title {
    font-size: 60px;
    margin-bottom: 80px;
  }

  .experiences-filters {
    gap: 16px;
    margin-bottom: 80px;
  }

  .experience-filter-pill {
    font-size: 16px;
  }

  /* Grid de 3 columnas en desktop */
  .experiences-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .experience-card {
    border-radius: 30px;
  }

  .experience-card-link {
    border-radius: 30px;
  }

  .experience-image-wrapper {
    border-radius: 30px 30px 0 0;
  }

  .experience-tag {
    top: 18px;
    left: 24px;
  }

  .experience-content {
    padding: 24px 24px 32px 24px;
    gap: 12px;
  }

  .experience-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .experience-date,
  .experience-time {
    font-size: 14px;
  }

  .experience-price {
    font-size: 24px;
  }
}

/* ============================================
   EVENTOS PASADOS - Past Events Section
   ============================================ */

/* Eventos pasados con opacidad */
.past-events-section .past-event-item {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.past-events-section .past-event-item:hover {
  opacity: 0.7;
}

/* Botón Cargar Más */
.btn-load-more {
  background-color: var(--bs-primary);
  color: var(--bs-secondary);
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 12px 50px;
  font-family: var(--bs-font-sans);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 157px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-load-more:hover {
  background-color: var(--bs-accent);
  transform: translateY(-2px);
}

/* ============================================
   EVENT DETAIL PAGE (ver.ctp)
   MOBILE FIRST APPROACH
   ============================================ */

/* Base - Mobile */
.event-detail-page {
  padding: 20px 0 40px;
  background-color: var(--bs-secondary);
}

/* Event Header Content - Mobile: Stack layout */
.event-header-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  order: 2;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Category Tag */
.event-category-tag {
  background-color: var(--bs-accent);
  border-radius: 30px;
  padding: 11.5px 30px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  align-self: flex-start;
}

.event-category-tag-text {
  font-family: var(--bs-font-sans);
  font-size: 10px;
  line-height: 0;
  font-weight: 400;
  color: var(--bs-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Title */
.event-detail-title {
  font-family: var(--bs-font-serif);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--bs-primary);
  margin: 0;
}

/* Price Section */
.event-price-section {
  text-align: left;
}

/* Container for title and price in second row */
.event-title-price-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-price-value {
  font-family: var(--bs-font-sans);
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  color: var(--bs-accent);
}

.event-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop Styles (min-width: 992px) */
@media (min-width: 992px) {
  .page-experiencia {
    max-width: 1400px;
    margin: 0 auto;
  }

  .event-detail-page {
    padding: 40px 0 0 0;
  }

  /* Desktop: Flexbox layout */
  .event-header-content {
    gap: 20px;
    margin-bottom: 30px;
    order: unset;
    margin-top: 0;
  }

  /* Title and price in the same row with space-between */
  .event-title-price-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .event-header-content .event-detail-title {
    font-size: 40px;
  }

  .event-price-section {
    text-align: right;
  }

  .event-price-value {
    font-size: 32px;
  }
}

/* ============================================
   EVENT GALLERY (galeria_publica element)
   ============================================ */

/* Mobile First */
.event-gallery-item {
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 65px 65px 0 0;
}

.event-gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.event-gallery-item picture {
  width: 100%;
  height: 100%;
  display: block;
}

.event-gallery-item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Botón "Ver fotos" */
.event-gallery-item .btn-more-img {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--bs-font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--bs-primary);
  border: none;
  transition: all 0.3s ease;
}

.event-gallery-item .btn-more-img:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

/* Desktop */
@media (min-width: 992px) {
  .event-gallery-item {
    height: 400px;
  }
}

/* ============================================
   EVENT PURCHASE FORM (Formulario de compra)
   ============================================ */

.event-purchase-form {
  background: rgba(113, 187, 178, 0.15);
  border-radius: 0 0 60px 60px;
  padding: 40px 30px !important;
  position: relative;
  max-height: max-content;
}

/* Ocultar el título h2 del formulario si existe */
.event-purchase-form h2 {
  display: none;
}

/* Estilo del formulario */
.event-purchase-form .tg-modulo {
  background: transparent;
  padding: 0;
}

/* Secciones del formulario */
.event-purchase-form .step_reserva h6,
.event-purchase-form h6 {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--bs-primary);
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1;
}

/* Labels con color accent */
.event-purchase-form .step_reserva h6 strong,
.event-purchase-form .step_reserva p strong {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--bs-accent);
}

/* Inputs del formulario */
.event-purchase-form input[type="text"],
.event-purchase-form input[type="email"],
.event-purchase-form input[type="tel"],
.event-purchase-form input[type="number"],
.event-purchase-form textarea,
.event-purchase-form select {
  border: 1.5px solid var(--bs-primary);
  border-radius: 0;
  background: transparent;
  color: var(--bs-primary);
  font-family: var(--bs-font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 15px;
  height: 45px;
}

.event-purchase-form textarea {
  height: auto;
  min-height: 80px;
}

.event-purchase-form input::placeholder,
.event-purchase-form textarea::placeholder,
.event-purchase-form select::placeholder {
  color: #707070;
  font-weight: 600;
}

.event-purchase-form input:focus,
.event-purchase-form textarea:focus,
.event-purchase-form select:focus {
  border-color: var(--bs-accent);
  outline: none;
  box-shadow: none;
}

/* Separadores de línea */
.event-purchase-form .step_reserva {
  border-bottom: 1.5px solid var(--bs-primary);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.event-purchase-form .step_reserva:last-child {
  border-bottom: none;
}

/* Total */
.event-purchase-form .resumen_submit,
.event-purchase-form .precio_final {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--bs-primary);
}

/* Botones +/- para cantidad */
.event-purchase-form .cantidad-control,
.event-purchase-form [class*="btn-cantidad"] {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--bs-accent);
  border: none;
  color: var(--bs-primary);
  font-size: 12px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.event-purchase-form .cantidad-control:hover,
.event-purchase-form [class*="btn-cantidad"]:hover {
  background-color: var(--bs-primary);
  color: var(--bs-accent);
}

/* Checkbox personalizado */
.event-purchase-form input[type="checkbox"] {
  width: 14px;
  height: 14px;
  border: 1px solid var(--bs-primary);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.event-purchase-form input[type="checkbox"]:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.event-purchase-form .checkbox label,
.event-purchase-form label[for*="condiciones"],
.event-purchase-form label[for*="suscripcion"] {
  font-family: var(--bs-font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: var(--bs-primary);
  margin-left: 8px;
}

.event-purchase-form label a {
  text-decoration: underline;
  color: var(--bs-primary);
}

/* Botón COMPRAR principal */
.event-purchase-form button[type="submit"],
.event-purchase-form .btn-primary {
  background-color: var(--bs-accent);
  color: var(--bs-primary);
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 12px 50px;
  font-family: var(--bs-font-sans);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 157px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.event-purchase-form button[type="submit"]:hover,
.event-purchase-form .btn-primary:hover {
  background-color: var(--bs-primary);
  color: var(--bs-accent);
  transform: translateY(-2px);
}

/* Botón en la parte superior del formulario */
.event-purchase-form .start-compra .btn {
  background-color: var(--bs-accent);
  color: var(--bs-primary);
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 0;
  font-family: var(--bs-font-sans);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  min-width: 157px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
}

/* Calendario datepicker */
.event-purchase-form .card-datepicker {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.event-purchase-form .datepicker {
  background: transparent;
}

/* Ajustes de spacing */
.event-purchase-form .form-floating {
  margin-bottom: 15px;
}

.event-purchase-form .collapse {
  padding-top: 20px;
}

/* Precios y tipos de entrada */
.event-purchase-form #wrapper_precio,
.event-purchase-form .precios {
  margin-top: 15px;
}

.event-purchase-form .precio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.event-purchase-form .precio-label {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--bs-accent);
}

.event-purchase-form .precio-value {
  font-family: var(--bs-font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--bs-primary);
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .event-purchase-form {
    border-radius: 0 0 40px 40px;
    padding: 30px 20px !important;
  }
}
