/* =========================================================================
   Carrusel principal (home) + bloques SEO + landings
   Usa la paleta del tema: verde #5da745, azul #003E52, naranja #f9a11b
   ========================================================================= */

/* ---------- Carrusel ---------- */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #003E52;
}

.hero-carousel .swiper {
  width: 100%;
  /* Escritorio: como antes (85% de la pantalla) pero sin pasar de 16:9,
     para que en pantallas altas (tablets, portátiles) no recorte de más */
  height: 85vh;
  height: min(85vh, 56.25vw);
  min-height: 320px;
}

/* Antes de iniciar Swiper solo se ve la primera foto (evita saltos de diseño) */
.hero-carousel .swiper:not(.is-ready) .swiper-slide:not(:first-child) {
  visibility: hidden;
}

.hero-carousel .swiper-slide {
  width: 100%;
  height: 100%;
  background: #003E52;
  overflow: hidden;
}

.hero-carousel .swiper-slide img,
.hero-carousel .swiper-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-carousel .swiper-pagination-progressbar {
  top: auto;
  bottom: 0;
  height: 5px;
  background: rgba(255, 255, 255, .35);
}

.hero-carousel .swiper-button-next,
.hero-carousel .swiper-button-prev {
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
  transition: opacity .2s;
}

.hero-carousel .is-single .swiper-button-next,
.hero-carousel .is-single .swiper-button-prev,
.hero-carousel .is-single .swiper-pagination {
  display: none;
}

/* Tablet vertical */
@media (max-width: 991px) {
  .hero-carousel .swiper {
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

/* Móvil: proporción 4:3 para no cortar las fotos apaisadas */
@media (max-width: 767px) {
  .hero-carousel .swiper {
    aspect-ratio: 4 / 3;
    max-height: 70vh;
  }
  .hero-carousel .swiper-button-next,
  .hero-carousel .swiper-button-prev {
    padding: 1rem !important;
    opacity: .85;
  }
  .hero-carousel .swiper-button-next:after,
  .hero-carousel .swiper-button-prev:after {
    font-size: 1rem !important;
  }
}

/* Navegadores sin aspect-ratio (Safari < 15) */
@supports not (aspect-ratio: 1 / 1) {
  @media (max-width: 991px) {
    .hero-carousel .swiper { height: 62.5vw; }
  }
  @media (max-width: 767px) {
    .hero-carousel .swiper { height: 75vw; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .swiper-wrapper { transition-duration: 0ms !important; }
}

/* ---------- Texto enriquecido ---------- */
.seo-richtext p,
.seo-richtext li {
  font-size: 15px;
  line-height: 1.7;
}

.seo-richtext ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.seo-richtext li {
  margin-bottom: .5rem;
}

.seo-richtext li::marker {
  color: #5da745;
}

.seo-richtext a {
  color: #5da745;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-richtext a:hover {
  color: #003E52;
}

.seo-richtext strong {
  color: #003E52;
}

/* ---------- Ficha "Visítanos" ---------- */
.seo-info-card {
  width: 100%;
  background: #F1EFEF;
  border-top: 4px solid #f9a11b;
  padding: 2rem 1.75rem;
}

.seo-info-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #5da745;
  margin-bottom: 1.25rem;
}

.seo-info-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6B665C;
  margin-bottom: .35rem;
}

.seo-info-card__text {
  color: #003E52;
  font-size: 15px;
  margin-bottom: .5rem;
}

.seo-info-card__small {
  color: #4B4949;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.seo-info-card__hours {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.seo-info-card__hours li {
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-size: 14px;
  color: #4B4949;
}

.seo-info-card__hours strong {
  color: #003E52;
}

.seo-info-card__hours em {
  grid-column: 2;
  font-style: normal;
  font-size: 13px;
  color: #6B665C;
}

.seo-info-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ---------- FAQ ---------- */
.seo-faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.seo-faq__item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
}

.seo-faq__item summary::-webkit-details-marker {
  display: none;
}

.seo-faq__item summary::after {
  content: '+';
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  line-height: 1;
  color: #f9a11b;
  transition: transform .2s;
}

.seo-faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.seo-faq__q {
  display: inline;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #003E52;
}

.seo-faq__a {
  padding: 0 2.5rem 1.1rem 0;
  font-size: 15px;
  line-height: 1.7;
}

.seo-faq__a a {
  color: #5da745;
  text-decoration: underline;
}

/* ---------- Landing: cabecera ---------- */
.seo-hero__kicker {
  color: #f9a11b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.seo-hero h1.title-banner {
  font-size: 28px;
  line-height: 1.15;
}

@media (min-width: 992px) {
  .seo-hero h1.title-banner {
    font-size: clamp(30px, 3.4vw, 44px);
  }
}

.seo-hero__media {
  min-height: 260px;
  background: #003E52;
}

.seo-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 560px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .seo-hero__img {
    aspect-ratio: 16 / 10;
    height: auto;
  }
}

.seo-breadcrumbs,
.seo-breadcrumbs a {
  color: #6B665C;
}

/* ---------- Landing: bloques ---------- */
.seo-bloque__img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

/* ---------- Enlazado interno ---------- */
.seo-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.seo-links a {
  display: inline-block;
  padding: .5rem 1.1rem;
  border: 1px solid #5da745;
  border-radius: 999px;
  color: #5da745;
  font-size: 14px;
  transition: background .2s, color .2s;
}

.seo-links a:hover {
  background: #5da745;
  color: #fff;
  text-decoration: none;
}
