/* styles.css */

:root {
  --color-primary: #ff3571;
  --color-dark: #292838;
  --color-light: #f9f9f9;
  --color-white: #fff;
  --color-blue: #66a6a6;
  --color-whatsapp: #25d366;
  --gap: 0.5rem;
  --max-width: 1200px;
  --min-card: 280px;
  --brandbar-h: 80px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  font-style: normal;
  color: var(--color-dark);
  background: var(--color-light);
}
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--gap) 0;
}
/*HEADER*/
.site-header {
  background: var(--color-dark);
  color: #fff;
}
.header-web-only {
  width: 100%;
  background: var(--color-white);
  display: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/*data telf mail btn reserva*/
.contact-info {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* espai entre telèfon i mail */
}
.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem; /* espai entre icona i text */
}

/* Nuevo contenedor para agrupar los botones a la derecha */

/* --- ALINEACIÓN Y GRUPO --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem; /* Separación entre los dos botones */
}

/* --- ESTILO COMÚN PARA AMBOS BOTONES (IGUALAR TAMAÑOS) --- */
/* Esto fuerza a que 'Reservar' y 'Whatsapp' sean gemelos en forma */
.header-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px; /* Altura fija para asegurar igualdad */
    padding: 0 1.5rem;
    border-radius: 9999px;
    text-decoration: none;

    /* TIPOGRAFÍA UNIFICADA */
    font-size: 15px !important; /* Forzamos el mismo tamaño */
    font-weight: 400;
    line-height: 1;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Efecto hover ligero para ambos */
.header-actions a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- ESTILOS ESPECÍFICOS (COLORES E ICONOS) --- */

/* 1. Botón Reservar */
.btn-reserva {
    background-color: var(--color-primary); /* #ff3571 */
    color: #fff;
}
.btn-reserva:hover {
    background-color: #e60042; /* Un poco más oscuro */
}

/* 2. Botón Whatsapp */
.btn-whats {
    background-color: var(--color-whatsapp); /* #25d366 */
    color: #fff;
    gap: 0.5rem; /* Espacio entre el icono y el texto */
}
.btn-whats:hover {
    background-color: #1da851;
}

/* Ajuste del icono de Whatsapp para que no rompa la alineación */
.btn-whats img {
    width: 20px;
    height: 20px;
    display: block;
}

/**/
/*head menu logo hero y texthero*/
.masthead {
  display: block;
}
/* hero-copy i hero sí que es superposen també en mòbil */
.hero-wrapper {
  display: grid;
  position: relative;
}
.hero-wrapper > .hero-copy,
.hero-wrapper > .hero {
  grid-area: 1 / 1;
}
.hero {
  z-index: 0;
  position: relative;
}
/* Gradient superposat sobre la imatge */
.hero::after {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  z-index: 1;
  pointer-events: none; /* que no tapi clics */
}
.hero-copy {
  z-index: 1;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-slideshow {
  position: relative;
  width: 100%;
  height: auto;
}
.hero-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slideshow img.active {
  opacity: 1;
  position: relative; /* el que es mostra recupera el flux per alçada */
}
.hero-copy {
  position: absolute; /* ocupar tota la foto */
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 0; /* respir a pantalles petites */
  pointer-events: none; /* no tapa clics si cal */
  z-index: 1;
}
.hero-title {
  margin: 0;
  line-height: 0.7;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.hero-title .thin {
  font-weight: 300;
  opacity: 0.95;
  font-size: clamp(12px, 4vw, 20px);
}
.hero-title .strong {
  font-weight: 800;
  font-size: clamp(18px, 5vw, 28px);
}

/* FIX: Align room images to the bottom to show floor/furniture instead of ceiling */
.hero-room img,
.hero-room .hero-slideshow img {
  object-position: bottom center !important;
  height: 100% !important; /* Ensure it fills the height defined by parent */
  object-fit: cover !important;
}

/* Base (mòbil): brandbar a dalt, hero a sota */
.brandbar {
  position: sticky; /* o fixed si vols que no es mogui mai */
  top: 0;
  z-index: 1000;
  height: var(--brandbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-dark);
  padding: 10px 0;
}
.gradientbar {
  display: flex;
  align-items: start;
}
.logo {
  font-size: 0;
}
.logo img {
  width: 60px;
  height: auto;
}
/**/
.main-nav {
  display: none;
} /* si vols menú burger a mòbil */

/* Pannell del menú quan està obert */
.main-nav.is-open {
  display: block;
  position: fixed;
  top: var(--brandbar-h); /* arrenca just sota el brandbar */
  left: 0;
  right: 0;
  height: calc(100dvh - var(--brandbar-h)); /* alçada restant */
  overflow: auto;
  z-index: 999; /* per sota del brandbar, per sobre de la resta */
  background: #2c2b3a; /* o el color/gradient que vulguis */
  padding-bottom: 1rem;
}
/* estil dels ítems del menú mòbil */
.main-nav.is-open .nav-list {
  display: block;
  margin: 0;
  padding: 0;
}
.main-nav.is-open .nav-list li {
  list-style: none;
}
.main-nav.is-open .nav-list a {
  display: block;
  padding: 1rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: #ff3571; /* el teu rosa */
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* bloqueja el scroll del body quan el menú és obert (opcional) */
body.menu-open {
  overflow: hidden;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: var(--gap);
}
.nav-list a {
  color: #fff;
  text-decoration: none;
}
.nav-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  display: block;
}
.nav-toggle {
  display: inline-flex;
}
.nav-toggle span {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
}

/*HEADER*/

@media (min-width: 1590px) {
  .hero {
    height: 80svh;
    overflow: hidden;
  }
}
@media (min-width: 768px) {
  .header-web-only {
    display: block;
  }
  .main-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }

  .masthead {
    display: grid;
  }
  /* Les dues capes ocupen la mateixa cel·la (1/1) i es solapen */
  .masthead > .gradientbar,
  .masthead > .hero-wrapper {
    grid-area: 1 / 1;
  }
  .hero-wrapper {
    z-index: 1;
  }
  .gradientbar {
    z-index: 2;
  }
  .brandbar {
    position: static;
    height: auto;
    z-index: auto;
    padding: 1.5rem 0;
    background: none;
  }

  .logo img {
    width: 80px;
    height: auto;
  }
  /* Si a desktop vols menú complet en lloc del burger */
  .nav-toggle {
    display: none;
  }
  .main-nav {
    display: block;
    position: static;
    height: auto;
    overflow: visible;
    background: transparent;
  }
  .nav-list {
    display: flex;
    gap: 1.35rem;
  }
  .nav-list a {
    background: transparent;
    border: 0;
    font-weight: 300;
  }
  .main-nav ul {
    display: flex;
    gap: 1.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
  }
  .hero-copy {
    min-height: 55vh;
  }
  .hero-title {
    line-height: 1.1;
  }
  .hero-title .thin {
    font-weight: 300;
    opacity: 0.95;
    font-size: clamp(25px, 5vw, 30px);
  }
  .hero-title .strong {
    font-weight: 800;
    font-size: clamp(32px, 5vw, 60px);
  }
  /*.hero img { width:80%; height:auto; display:block; margin: 0 auto; }*/
}

/*MAIN*/
.section {
  padding: 1.2rem 0; /* espai vertical */
}
.section.top-0 {
  padding: 0 0 1.2rem 0; /* espai vertical */
}

.section h2 {
  font-size: clamp(22px, 3vw, 32px); /* mida responsive */
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
  text-align: left; /* centrat si vols */
  line-height: 1.1;
  text-transform: lowercase;
}

.section h2::first-letter {
  text-transform: uppercase; /* Pone en mayúscula solo la primera letra */

}


.section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}
.section strong {
  font-weight: 700; /* remarcar negreta */
  color: var(--color-dark);
}

.textual ul {
  padding: 0px;
  margin-bottom: 20px;
  margin-left: 20px;
}

.textual a {
  color: #292838;
}
.textual h4 {
  font-weight: 500;
}

/**/
/* SCROLLER */
.scroller-wrap {
  position: relative;
  padding: 1rem 0;
}
.scroller-wrap.no-padding {
  padding: 0;
}
.scroller {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: 0; /* izquierda = 0 */
  scroll-padding-inline-end: 12px; /* derecha = 12px (si quieres “respiro”) */
}
.scroller img {
  width: 80%; /* cada imatge ocupa tot l’ample */
  height: auto; /* manté proporció */
  max-height: 240px; /* límit d’alçada */
  flex: 0 0 80%;
  /*scroll-snap-align: center;*/
  object-fit: contain;
  user-select: none;
  border-radius: 8px;
  -webkit-user-drag: none;
  margin-right: 12px;
  scroll-snap-align: start;
}
/* l’última sense marge extra */
.scroller img:last-child {
  margin-right: 0;
}

/* si vols una mica de respir al cantó esquerre/dret del carrusel */
.scroller {
  scroll-padding: 12px;
}

/* opcional: scrollbar prim */
.scroller {
  scrollbar-width: thin;
}
.scroller::-webkit-scrollbar {
  height: 8px;
}
.scroller::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}
.scroller::-webkit-scrollbar-track {
  background: transparent;
}
/* --- BOTONES DEL SCROLLER (CIRCULARES) --- */
.scroll-btn {
  /* Forma y Tamaño */
  width: 35px;          /* Tamaño del círculo */
  height: 35px;
  border-radius: 50%;   /* Esto lo hace redondo */
  border: none;

  /* Colores */
  background: var(--color-primary); /* Tu rosa corporativo */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra para que 'flote' sobre la foto */

  /* Posicionamiento */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;

  /* Centrado de la flecha (carácter ›) */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;      /* Tamaño de la flecha */
  line-height: 0;       /* Ayuda a centrar verticalmente */
  padding-bottom: 5px;  /* Ajuste óptico: sube la flecha un poco para que quede al centro exacto */

  transition: background 0.3s ease, transform 0.2s ease, opacity 0.3s;
}

/* Efecto al pasar el ratón */
.scroll-btn:hover {
  background: #e60042; /* Rosa un poco más oscuro */
  transform: translateY(-50%) scale(1.1); /* Crece un poquito */
}

/* Posición Izquierda/Derecha */
/* Usamos valores positivos (10px) para que queden DENTRO de la foto, como en tu ejemplo */
.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

/* Estado deshabilitado (cuando no hay más fotos) */
.scroll-btn.is-disabled {
  opacity: 0;           /* Se vuelve invisible en lugar de gris */
  pointer-events: none; /* No se puede clicar */
}

.centered-actions {
  display: flex;
  justify-content: center; /* Esto centra el botón horizontalmente */
  width: 100%;
  margin-top: 1.5rem;      /* Espacio entre el carrusel de fotos y el botón */
}
/* Ajuste para móviles (un poco más pequeños) */
@media (max-width: 768px) {
  .scroll-btn {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}
/* === Adaptació desktop === */
@media (min-width: 768px) {
  .scroller {
    scroll-padding-inline-start: 0; /* izquierda = 0 */
    scroll-padding-inline-end: 12px; /* derecha = 12px (si quieres “respiro”) */
  }
  .scroller img {
    width: auto; /* ample natural */
    height: 320px; /* alçada fixa */
    max-height: none;
    flex: 0 0 auto; /* amplada segons la imatge */
    object-fit: cover; /* es retalla si cal */
    border-radius: 8px;
    scroll-snap-align: start;
    padding: 0;
  }
}

/*GRID GENERAL*/
.grid-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.grid-list.grid-x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0;
}
/* responsive columns */
@media (min-width: 768px) {
  .grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }
  .grid-list.grid-x4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-list.grid-x1 {
    grid-template-columns: 1fr;
  }
  .grid-list.grid-x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-item {
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  }
}

/*FEATURES HOME*/
.grid--features .grid-item {
  color: var(--color-dark);
}
.grid--features .material-icons {
  font-size: 1.4rem;
  color: var(--color-blue);
}
@media (min-width: 768px) {
  .grid--features .grid-item {
    background: #fff;
    border: 1px solid #ececec;
    color: var(--color-dark);
    padding: 0.75rem 1rem;
  }
  .grid--features.no-back .grid-item {
    border: none;
    background: none;
    padding: 0.3rem 1rem;
  }
}

.features-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
.feature-group {
  background: var(--color-white);
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 20px rgba(41, 40, 56, 0.05);
}
.feature-group h3 {
  margin: 0;
  color: var(--color-dark);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.feature-group .grid-list {
  margin: 0.75rem 0 0;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  column-gap: 1.25rem;
  row-gap: 0.5rem;
}
.feature-group .grid-item {
  background: none;
  border: none;
  padding: 0.35rem 0;
  box-shadow: none;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .features-groups {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
/*FEATURES SALAS*/
.grid-list.grid--salas {
  gap: 6px;
}
.grid--salas {
  margin: 0.1rem 0 1rem 0;
}
.grid--salas .grid-item {
  color: var(--color-dark);
  font-size: 0.9rem;
}
.grid--salas .material-icons {
  font-size: 1.4rem;
  color: var(--color-blue);
}
@media (min-width: 768px) {
  .grid--salas .grid-item {
    border: none;
    background: none;
    padding: 0.3rem 1rem;
    box-shadow: none;
  }
}
/*EVENTOS HOME*/
.grid--cards .grid-item {
  display: flex;
  flex-direction: column;
  background: #2c2b3a; /* el fons fosc */
  border-radius: 4px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 0 0 1.4rem 0;
}
.grid--cards img {
  width: 100%;
  height: 180px; /* controla alçada uniforme */
  object-fit: cover;
  display: block;
}

/* CORRECCIÓN: Esto solo afecta al enlace de la imagen */
.grid--cards .grid-item .img-link {
    display: block;        /* Se comporta como bloque */
    width: 100%;           /* Ocupa todo el ancho */
    text-decoration: none; /* Sin subrayados */
    border: none;          /* Sin bordes extraños */
    outline: none;         /* Sin recuadro al hacer clic */
    line-height: 0;        /* IMPORTANTE: Elimina el hueco blanco debajo de la imagen */
}

/* Esto asegura que la imagen dentro llene el enlace */
.grid--cards .grid-item .img-link img {
    width: 100%;
    height: 180px;        /* Mantiene tu altura fija */
    object-fit: cover;
}

.grid--cards .grid-item .img-link {
    display: block;
    width: 100%;
    text-decoration: none;
    border: none;
    outline: none;
    line-height: 0;       /* Elimina el espacio extra debajo de la imagen */

    /* AÑADE O MODIFICA ESTAS LÍNEAS */
    height: 180px;        /* El enlace (contenedor) define la altura de la imagen */
    overflow: hidden;     /* Muy importante: oculta lo que se salga */
    position: relative;   /* Necesario si quieres posicionar elementos hijos, aunque no lo necesites ahora, es buena práctica para contenedores de overflow */
}
/* 1. ESTADO NORMAL: Añadimos la transición suave y el origen de la transformación */
.grid--cards .grid-item .img-link img {
    width: 100%;
    height: 100%;        /* La imagen ocupa el 100% de la altura de su padre (.img-link) */
    object-fit: cover;   /* Asegura que la imagen cubra el área sin deformarse */

    transition: transform 0.5s ease;
    will-change: transform;
    transform-origin: center center; /* Sigue siendo importante para el zoom desde el centro */
}

/* 2. ESTADO HOVER: Aplicamos el Zoom */
.grid--cards .grid-item .img-link:hover img {
    transform: scale(1.1);
}


.grid--cards h3 {
  font-size: clamp(16px, calc(24px - 0.5vw), 20px);
  font-weight: 700;
  margin: 0.75rem 0.5rem 0.5rem;
  flex: 1; /* deixa créixer el text si fa falta */
}

/*EVENTOS ALL*/
/* --- EVENTOS (mobile-first) --- */
.grid--eventos .grid-item {
  display: flex;
  flex-direction: column; /* mòbil: imatge a dalt, text a sota */
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0 0 1.2rem 0;
  color: var(--color-dark);
  text-align: left; /* no centrat */
  background: transparent; /* sense caixa fosca */
}

.grid--eventos img {
  width: 100%;
  height: 180px; /* alçada uniforme */
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.grid--eventos h3 {
  color: var(--color-primary); /* títol rosa com a la imatge */
  font-size: clamp(18px, 2.2vw, 20px); /* lleu responsiu */
  font-weight: 800;
  margin: 0 0 0.35rem 0;
}

.grid--eventos p {
  margin: 0 0 0.8rem 0;
  color: #4a4a4a;
  font-size: 1rem;
}

/* --- Desktop: imatge esquerra + text dreta --- */
@media (min-width: 768px) {
  .grid--eventos .grid-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 1.4rem 0;
  }

  .grid--eventos img {
    width: 260px; /* ample fix de la miniatura a desktop */
    height: 160px; /* alçada de miniatura */
    flex: 0 0 260px; /* no s’encongeix */
    border-radius: 4px;
  }

  .grid--eventos .grid-item > div {
    flex: 1 1 auto; /* el text ocupa la resta */
    min-width: 0; /* evita overflow amb títols llargs */
  }
}

/*
Seccion texto foto al lado
*/
.section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.section-content .section-text {
  flex: 1;
}
.section-content .section-img {
  flex: 1;
  width: 100%;
  max-width: 400px;
}
.section-content .section-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}
@media (min-width: 768px) {
  .section-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

/*Seccion Salas*/
.section-salas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0 1.5rem 0;
}
.section-salas .section-text {
  flex: 1;
}
.section-salas .section-fotos {
  flex: 1;
  width: 100%;
}
.section-salas > .section-text > h3 {
  display: none;
}
.section-salas > .section-text > .btn-primary {
  display: none;
}
.solo-telf .btn-primary {
  padding: 0.2rem 1.5rem;
}
.section-salas h3 span {
  color: var(--color-primary); /* títol rosa com a la imatge */
  font-size: clamp(13px, 1.2vw, 15px); /* lleu responsiu */
  font-weight: 400;
}
.solo-telf {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* alinea verticalment a dalt */
  justify-content: space-between; /* separa: un bloc a cada costat */
}
.solo-telf h3 {
  display: block;
  color: var(--color-primary); /* títol rosa com a la imatge */
  font-size: clamp(23px, 2.2vw, 25px); /* lleu responsiu */
  font-weight: 800;
  margin: 0 0 0.35rem 0;
}
@media (min-width: 768px) {
  .section-salas {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .section-salas .section-fotos {
    flex: 1;
    width: 100%;
    max-width: 50%;
  }
  .section-salas > .section-text > h3 {
    display: block;
    color: var(--color-primary); /* títol rosa com a la imatge */
    font-size: clamp(21px, 2.2vw, 23px); /* lleu responsiu */
    font-weight: 800;
    margin: 0 0 0.35rem 0;
  }
  .section-salas > .section-text > .btn-primary {
    display: inline-flex;
  }
  .solo-telf {
    display: none;
  }
}

.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-reserva {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  font-size: clamp(12px, calc(24px - 0.5vw), 16px);
  transition: background 0.3s ease; /* ← esto hace el suavizado */
}
.btn-primary:hover {
  background: #ff004c;
}


.btn-primary {
  /* --- ESTRUCTURA IDÉNTICA A LOS BOTONES DEL HEADER --- */
  display: inline-flex;         /* Centrado perfecto vertical */
  align-items: center;
  justify-content: center;
  height: 44px;                 /* Altura fija igual que Whatsapp/Reserva */
  padding: 0 1.5rem;            /* Mismo relleno lateral */
  border-radius: 9999px;        /* Redondeado completo */
  border: none;

  /* --- TIPOGRAFÍA --- */
  font-size: 15px;              /* Tamaño igualado */
  font-weight: 400;
  text-decoration: none;
  line-height: 1;

  /* --- COLORES Y HOVER --- */
  background: var(--color-primary);
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

/* Efecto hover igual que los de arriba */
.btn-primary:hover {
  background: #e60042;          /* Color un poco más oscuro */
  transform: translateY(-1px);  /* Pequeño salto hacia arriba */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}



.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-tertiary {
  background: var(--color-light);
  color: var(--color-dark);
}
.btn-reserva {
  background: var(--color-primary);
  color: #fff;
  transition: background 0.3s ease; /* ← esto hace el suavizado */
  text-align: center;
}
.btn-reserva:hover {
  background: #ff004c;
}

/* Contacto */
.contact-form {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(41, 40, 56, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-form .form-grid {
  display: grid;
  gap: 1rem 1.5rem;
}
.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(41, 40, 56, 0.15);
  background: #fff;
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(173, 61, 255, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}
.contact-form .form-field--full {
  grid-column: 1 / -1;
}
.contact-form button {
  align-self: flex-start;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
}
.form-message--success {
  background: rgba(99, 220, 143, 0.2);
  color: #176437;
}
.form-message--error {
  background: rgba(255, 94, 94, 0.15);
  color: #992c2c;
}
.form-error {
  margin: 0;
  font-size: 0.85rem;
  color: #992c2c;
  font-weight: 500;
}
@media (min-width: 640px) {
  .contact-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .contact-form .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/***********************************************/
/***********************************************/
/***********************************************/
/***********************************************/
/***********************************************/
/* Tarifas */
/***********************************************/
/***********************************************/
/***********************************************/
.tarifas-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.tarifas-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(41, 40, 56, 0.08);
  overflow: hidden;
}
.tarifas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.tarifas-table thead {
  background: var(--color-white);
}
.tarifas-table th,
.tarifas-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(41, 40, 56, 0.08);
}
.tarifas-table thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-dark);
}
.tarifas-table thead th span {
  display: block;
  font-weight: 700;
}
.tarifas-table thead th small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  font-size: 0.75rem;
  color: rgba(41, 40, 56, 0.65);
}
.tarifas-table tbody th {
  width: 140px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.salas-label {
  display: inline-block;
}
.tarifas-table tbody td {
  color: rgba(41, 40, 56, 0.9);
}
.tarifas-table tbody td strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
}
.tarifas-table tbody tr:nth-child(odd) td {
  background: rgba(41, 40, 56, 0.04);
}
.tarifas-table tbody tr:last-child th,
.tarifas-table tbody tr:last-child td {
  border-bottom: none;
}
.tarifas-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffeaa7;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--color-dark);
}
.tarifas-note p {
  margin: 0;
}
.note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.tarifas-extras {
  padding: 1.5rem;
}
.tarifas-extras-table {
  border: 1px solid rgba(41, 40, 56, 0.08);
}
.tarifas-extras-table thead {
  background: var(--color-primary);
}
.tarifas-extras-table thead th {
  color: var(--color-white);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.tarifas-extras-table tbody th {
  text-transform: none;
  font-size: 0.95rem;
  color: var(--color-dark);
  width: 50%;
}
.tarifas-extras-required {
  display: inline-block;
  margin-left: 0.2rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: none;
}
.tarifas-extras-notes {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(41, 40, 56, 0.7);
}
@media (max-width: 768px) {
  .tarifas-table th,
  .tarifas-table td {
    padding: 0.75rem 0.85rem;
  }
  .tarifas-table thead th {
    color: var(--color-primary);
    font-size: 0.75rem;
  }
  .tarifas-table thead th small {
    font-size: 0.7rem;
  }
  .tarifas-table {
    font-size: 0.85rem;
  }
  .tarifas-note {
    flex-direction: column;
    align-items: flex-start;
  }
  .tarifas-extras {
    padding: 1.25rem 1rem;
  }
  .tarifas-extras-table tbody th[scope="row"] {
    background: var(--color-white);
    color: var(--color-dark);
    text-transform: none;
    letter-spacing: 0;
  }
}
/* MÒBIL: taula -> cards apilats */
@media (max-width: 768px) {
  .tarifas-table {
    border-collapse: separate; /* per tenir radi i ombra per fila */
  }
  .tarifas-table thead {
    display: none;
  }
  .tarifas-table tbody,
  .tarifas-table tr,
  .tarifas-table th[scope="row"],
  .tarifas-table td {
    display: block;
    width: 100%;
  }

  /* Cada fila es converteix en una card */
  .tarifas-table tbody tr {
    background: var(--color-white);
    box-shadow: 0 8px 28px rgba(41, 40, 56, 0.08);
    border-radius: 12px;
    margin: 0 0 1rem 0;
    overflow: hidden;
    border: 1px solid rgba(41, 40, 56, 0.08);
  }

  /* Capçalera de la fila (1 SALA, 2 SALAS...) */
  .tarifas-table tbody th[scope="row"] {
    padding: 0.9rem 1rem;
    background: rgba(255, 0, 122, 0.06); /* suau amb el teu primary */
    color: var(--color-primary);
    border-bottom: 1px solid rgba(41, 40, 56, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  /* Cada “columna” es mostra amb etiqueta */
  .tarifas-table tbody td {
    position: relative;
    padding: 0.85rem 1rem 0.85rem 1rem;
    border: none;
  }
  .tarifas-table tbody td + td {
    border-top: 1px solid rgba(41, 40, 56, 0.06);
  }

  .tarifas-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(41, 40, 56, 0.65);
    margin-bottom: 0.25rem;
    text-transform: none; /* llegible */
    line-height: 1.2;
  }

  /* Preu a sota, en bloc per evitar trencaments lletjos */
  .tarifas-table tbody td strong {
    display: inline-block;
    font-size: 1.05rem;
    margin-right: 0.35rem;
    white-space: nowrap;
  }

  /* Treu zebra antiga (no aplica en cards) */
  .tarifas-table tbody tr:nth-child(odd) td {
    background: transparent;
  }

  /* Nota groga: una mica més “card” en mòbil */
  .tarifas-note {
    border-radius: 12px;
    margin-top: 0.5rem;
  }

  .tarifas-table.tarifas-extras-table thead {
    display: table-header-group;
  }
  .tarifas-table.tarifas-extras-table thead tr {
    display: table-row;
  }
  .tarifas-table.tarifas-extras-table thead tr th {
    color: var(--color-white);
  }
}
/***********************************************/
/***********************************************/
/***********************************************/
/***********************************************/
/***********************************************/

/* ========================
   FOOTER FINAL (DISEÑO HORIZONTAL - TAMAÑO ESTÁNDAR)
   ======================== */
.site-footer {
  background: var(--color-dark); /* Fondo oscuro */
  color: #fff;
  padding: 1.5rem 0; /* Espaciado cómodo */
  font-size: 1rem;   /* Tamaño de letra normal (16px) */
}

/* --- FILA SUPERIOR (Logo, Contacto, Botones) --- */
.footer-top {
  display: flex;
  flex-direction: column; /* Móvil: vertical */
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 0;
}

/* 1. Logo */
.footer-brand .logo img {
  width: 90px; /* Tamaño del logo visible */
  height: auto;
  display: block;
}

/* 2. Contacto Inline (Centro) */
.footer-contact-inline {
  display: flex;
  flex-direction: column; /* Móvil: vertical */
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

/* Estilo unificado para dirección, teléfono y mail */
.footer-contact-inline .address,
.footer-contact-inline .contact-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem; /* Letra legible */
  white-space: nowrap; /* Evita que se rompa la línea */
}

.footer-contact-inline .address {
  opacity: 1; /* Dirección totalmente blanca */
}

.footer-contact-inline .contact-link:hover {
  opacity: 0.8;
}

.footer-contact-inline .material-icons {
  font-size: 1.2rem; /* Iconos proporcionales al texto */
  color: #fff;
}

/* 3. Acciones (Botón + Iconos) */
.footer-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Botón Whatsapp específico del Footer */
.btn-whats-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-whatsapp);
  color: #fff;

  /* Medidas IGUALES al header */
  height: 44px;
  padding: 0 1.5rem;
  border-radius: 9999px;

  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.3s ease, transform 0.2s;
}

.btn-whats-footer:hover {
  background-color: #1da851;
  transform: translateY(-2px);
}

.btn-whats-footer img {
  width: 20px;
  height: 20px;
}

/* Iconos de redes sociales */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  display: block;
  transition: opacity 0.2s;
}

.social-icons a:hover img {
  opacity: 0.8;
}


/* --- FILA INFERIOR (Legal y Copyright) --- */
.footer-bottom {
  display: flex;
  flex-direction: column; /* Móvil: vertical */
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Línea separadora sutil */

  /* Color atenuado para no destacar tanto */
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* =========================================
   MEDIA QUERIES (ESCRITORIO - HORIZONTAL)
   ========================================= */
@media (min-width: 992px) {

  /* 1. Fila superior horizontal */
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  /* 2. Contacto en una sola línea horizontal */
  .footer-contact-inline {
    flex-direction: row;
    gap: 2rem; /* Separación amplia entre los datos */
  }

  /* 3. Fila inferior horizontal */
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/***********************************************/
/* Calculadora */
/***********************************************/
.calculadora-form {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(41, 40, 56, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.calculadora-form h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
}
.calculadora-form .form-grid {
  display: grid;
  gap: 1rem 1.5rem;
}
.calculadora-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.calculadora-form label,
.calculadora-form .salas-selector__label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}
.calculadora-form input,
.calculadora-form select,
.calculadora-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(41, 40, 56, 0.15);
  background: #fff;
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calculadora-form input:focus,
.calculadora-form select:focus,
.calculadora-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(173, 61, 255, 0.15);
}
.calculadora-form textarea {
  resize: vertical;
  min-height: 140px;
}
.calculadora-form .form-field--full {
  grid-column: 1 / -1;
}
#franjas-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.calculadora-form .franja-reserva {
  border: 1px solid rgba(41, 40, 56, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(255, 234, 167, 0.18),
    rgba(255, 255, 255, 0.9)
  );
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.calculadora-form .franja-reserva legend {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}
.calculadora-form .salas-selector__grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.calculadora-form .salas-selector__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(41, 40, 56, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.calculadora-form .salas-selector__option input {
  width: auto;
}
.calculadora-form .salas-selector__option:hover {
  border-color: var(--color-primary);
  background: rgba(173, 61, 255, 0.1);
  box-shadow: 0 6px 20px rgba(41, 40, 56, 0.08);
}
.calculadora-form .salas-selector__help {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: rgba(41, 40, 56, 0.6);
}
.calculadora-form .btn-remove-franja {
  align-self: flex-start;
  padding: 0.35rem 1.2rem;
  font-size: 0.85rem;
}
#add-franja {
  align-self: flex-start;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
}
.calculadora-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.calculo-resultado {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(41, 40, 56, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.calculo-resultado h3 {
  margin: 0;
  font-size: 1.2rem;
}
.calculo-resultado h4 {
  margin: 0 0 0.35rem 0;
  font-size: 1rem;
  color: var(--color-primary);
}
.calculo-resultado ul {
  margin: 0.25rem 0 0.75rem 1rem;
  padding: 0;
  list-style: disc;
}
.calculo-resultado p {
  margin: 0.25rem 0;
}
.calculo-resultado .nota-iva {
  font-size: 0.8rem;
  color: rgba(41, 40, 56, 0.65);
}

/* Caso especial: checkbox + texto en línea */
.calculadora-form .form-field--checkbox {
	flex-direction: row;
	align-items: center;
}

/* Label en línea con el checkbox */
.calculadora-form .form-field--checkbox label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--color-dark);
	margin: 0;
}

/* Que el checkbox no herede el width/padding de los otros inputs */
.calculadora-form .form-field--checkbox input[type="checkbox"] {
	width: auto;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}


@media (min-width: 640px) {
  .calculadora-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .calculadora-form .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .calculadora-form .franja-reserva {
    padding: 1.5rem;
  }
}
@media (max-width: 575px) {
  .calculadora-form {
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .calculadora-form .franja-reserva {
    padding: 1rem;
  }
  .calculadora-form .salas-selector__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calculadora-form .btn-remove-franja,
  #add-franja {
    width: 100%;
    text-align: center;
  }
  .calculadora-form .form-actions {
    flex-direction: column;
  }
}


/* ... [Tus estilos existentes] ... */

/* estilo de los ítems del menú móvil */
.main-nav.is-open .nav-list a {
  display: block;
  padding: 1rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: #ff3571; /* el teu rosa */
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* NUEVO: Hover en menú móvil abierto */
.main-nav.is-open .nav-list a:hover {
  background: #ff004c; /* Hover: rosa más oscuro */
}

/* NUEVO: Estilo activo en menú móvil abierto */
.main-nav.is-open .nav-list a.is-active {
  background: #ff004c; /* Activo: rosa más oscuro */
  color: #fff;
}

/* ... [Más estilos existentes] ... */

/* === Desktop overrides === */
@media (min-width: 768px) {
  /* ... [Tus estilos existentes] ... */

  .main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
  }

  /* NUEVO: Hover en menú de escritorio */
  .main-nav a:hover {
    color: #ff004c; /* Hover: rosa más oscuro */
  }

  /* NUEVO: Estilo activo en menú de escritorio */
  .main-nav a.is-active {
    color: #ff004c; /* Activo: rosa más oscuro */
    font-weight: 700; /* Opcional: para destacarlo más */
  }

  /* ... [Resto de tus estilos existentes para desktop] ... */
}

/* ESTILOS PARA LA ANIMACIÓN DE FADE-IN AL HACER SCROLL */

/* Estado inicial: Invisible y ligeramente desplazado hacia abajo */
.fade-in-item {
    opacity: 0;                   /* Totalmente transparente */
    transform: translateY(20px);  /* Ligeramente movido 20px hacia abajo */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Transición suave para ambos */
    will-change: opacity, transform; /* Sugiere al navegador optimizar estas propiedades */
}

/* Estado final (activo): Visible y en su posición original */
.fade-in-item.is-visible {
    opacity: 1;                   /* Totalmente visible */
    transform: translateY(0);     /* En su posición original */
}

/* --- ESTILOS ESPECÍFICOS PARA LA LISTA DE EVENTOS (zoom y contención) --- */

/* 1. Contenedor de la imagen (El enlace .img-link) */
.grid--eventos .grid-item .img-link {
    display: block;

    /* Adaptamos la altura al formato de la miniatura de .grid--eventos */
    /* La miniatura del .grid--eventos tiene 180px de alto en móvil y 160px en desktop */
    height: 180px;
    overflow: hidden;
    position: relative;
    line-height: 0;
}

/* 2. La imagen dentro del enlace (Estado normal + Transición) */
.grid--eventos .grid-item .img-link img {
    width: 100%;
    height: 100%; /* Ocupa el 100% del contenedor (.img-link) */
    object-fit: cover;

    /* Configuración del Zoom */
    transition: transform 0.5s ease;
    will-change: transform;
    transform-origin: center center;
}

/* 3. El Zoom al pasar el ratón */
.grid--eventos .grid-item .img-link:hover img {
    transform: scale(1.1);
}

/* 4. Overrides para Desktop (ajustar altura del contenedor) */
@media (min-width: 768px) {
    /* En desktop, la imagen de .grid--eventos se hace más pequeña (160px) */
    .grid--eventos .grid-item .img-link {
        height: 160px; /* La altura que tenía el img en desktop */
        width: 260px; /* Y su ancho fijo de desktop */
        flex-shrink: 0; /* Para que el flex no la encoja */
    }
}

/* ========================
   NUEVA SECCIÓN CONTACTO (MAPA + INFO)
   ======================== */

.contact-info-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

/* Tarjeta Blanca de Información */
.contact-card-info {
  background: var(--color-white);
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(41, 40, 56, 0.08); /* Sombra suave 'rollo' imagen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  height: 100%;
}

.contact-card-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.contact-card-info .info-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-card-info .info-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary); /* Destacamos 'Gràcia Joanic' en rosa */
}

.contact-card-info p {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Enlaces de teléfono y mail */
.contact-card-info .info-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-card-info .info-links a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.contact-card-info .info-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.contact-card-info .material-icons {
  color: var(--color-primary);
}

/* Contenedor del Mapa */
.contact-map-frame {
  width: 100%;
  min-height: 300px; /* Altura mínima en móvil */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* --- VERSIÓN ESCRITORIO (Lado a Lado) --- */
@media (min-width: 992px) {
  .contact-info-wrapper {
    grid-template-columns: 1fr 1.5fr; /* La info ocupa 1 parte, el mapa 1.5 partes */
    align-items: stretch; /* Misma altura visual */
    gap: 2rem;
  }

  .contact-map-frame {
    min-height: 400px; /* Mapa más alto en PC */
    height: 100%;
  }
}

		::after .section--social-proof {
			padding: 60px 0;
			text-align: center;
		}

		.section--social-proof .social-title {
			font-size: 1.9rem;
			margin-bottom: 10px;
			color: var(--color-primary);
			font-weight: 700;
		}

		.section--social-proof .social-subtitle {
			color: #555;
			margin-bottom: 40px;
		}

		.social-logos {
			list-style: none;
			padding: 0;
			margin: 0 auto;
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			justify-content: center;
			gap: 10px;
		}

		.social-logos li img {
			max-height: 130px;
			width: auto;
			opacity: 0.9;
			transition: opacity .2s ease;
		}

		.social-logos li img:hover {
			opacity: 1;
		}
/* --- STAGEONE FAQ SECTION --- */
/* Contenedor principal */
.stageone-faq-section {
    max-width: 900px;
    margin: 20px auto;
    margin-bottom: 40px;
    padding: 0 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
}

.faq-title {
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0px;
    font-weight: 700;
    text-align: center;
    color: #ff3571
}

.faq-container-all {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
}

/* Estilo de cada fila */
.faq-item {
    border-bottom: 1px solid #dcdcdc;
    padding: 15px 0;
    cursor: pointer;
}

.faq-item:first-child {
    border-top: 1px solid #dcdcdc;
}

/* La pregunta */
.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.faq-item summary:hover {
    opacity: 0.7;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-weight: 600;
}

/* El icono + */
.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}

/* Animacin al abrir */
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

/* La respuesta */
.faq-answer {
    margin-top: 20px;
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 15px;
    max-width: 90%;
    animation: slideDown 0.4s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo para mviles */
@media (max-width: 768px) {
    .faq-title {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .faq-item summary {
        font-size: 15px;
        padding-right: 10px;
    }

    .faq-answer {
        max-width: 100%;
    }
}

/* =========================================
   EXTRACTED FROM box_prueba_social.php
   ========================================= */
.logos-marquee {
    width: 100%;
    overflow: hidden;
    background: transparent;
}
.logos-track-container {
    overflow: hidden;
    width: 100%;
}
.logos-track {
    display: flex;
    gap: 0px;
    width: max-content;
    list-style: none;
    padding: 20px 0;
    margin: 0;
    animation: scroll-loop 40s linear infinite;
}
.logos-track:hover {
    animation-play-state: paused;
}
.logos-track li {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logos-track img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.logos-track li:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
@keyframes scroll-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .logos-track {
        animation-duration: 25s;
    }
    .logos-track img {
        height: 80px;
    }
}

/* =========================================
   EXTRACTED FROM box_resenyas.php
   ========================================= */
.section--reviews {
    padding: 3rem 0 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fff;
}
.reviews {
    max-width: 1100px;
    margin: 0 auto;
}
.reviews__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
.reviews__stars {
    font-size: 1.6rem;
    line-height: 1;
    color: #f5b400;
}
.reviews__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2230;
    margin: 0;
}
.reviews__subtitle {
    margin: 0.25rem 0 1.5rem;
    font-size: 0.95rem;
    color: #555;
}
.reviews__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.review {
    background-color: #f7f7fb;
    border-radius: 0.75rem;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.review__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}
.review__name {
    font-weight: 600;
    color: #222336;
    font-size: 1.1rem;
}
.review__rating {
    font-size: 0.9rem;
    color: #f5b400;
}
.review__text {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #444;
    margin: 0 0 0.75rem;
}
.review__source {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}
.reviews__link {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-primary, #e65b4c);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.reviews__link:hover {
    opacity: 0.8;
}
@media (max-width: 640px) {
    .reviews__header {
        flex-direction: row;
        align-items: center;
    }
}
.reviews__brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.reviews__logo {
    height: 25px;
    width: auto;
    display: block;
}

/* CONTACTO - SELECT PERSONALIZADO */
.custom-select {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.custom-select-trigger {
    padding: 12px 14px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: white;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 20;
    padding: 4px 0;
}

.custom-option {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    gap: 8px;
    cursor: pointer;
    transition: background .15s;
}

.custom-option:hover {
    background: #f7f7f7;
}

.custom-option img {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.custom-select.active .custom-options {
    display: block;
}
