/* Margin-top: mt-6 .. mt-15 (px fijos) */
.mt-6  { margin-top: 60px !important; }
.mt-7  { margin-top: 70px !important; }
.mt-8  { margin-top: 80px !important; }
.mt-9  { margin-top: 90px !important; }
.mt-10 { margin-top: 100px !important; }
.mt-11 { margin-top: 110px !important; }
.mt-12 { margin-top: 120px !important; }
.mt-13 { margin-top: 130px !important; }
.mt-14 { margin-top: 140px !important; }
.mt-15 { margin-top: 150px !important; }

/* Margin-bottom: mb-6 .. mb-15 (px fijos) */
.mb-6  { margin-bottom: 60px !important; }
.mb-7  { margin-bottom: 70px !important; }
.mb-8  { margin-bottom: 80px !important; }
.mb-9  { margin-bottom: 90px !important; }
.mb-10 { margin-bottom: 100px !important; }
.mb-11 { margin-bottom: 110px !important; }
.mb-12 { margin-bottom: 120px !important; }
.mb-13 { margin-bottom: 130px !important; }
.mb-14 { margin-bottom: 140px !important; }
.mb-15 { margin-bottom: 150px !important; }

/* Margin-y: my-6 .. my-15 (px fijos) */
.my-6  { margin-top: 60px !important; margin-bottom: 60px !important; }
.my-7  { margin-top: 70px !important; margin-bottom: 70px !important; }
.my-8  { margin-top: 80px !important; margin-bottom: 80px !important; }
.my-9  { margin-top: 90px !important; margin-bottom: 90px !important; }
.my-10 { margin-top: 100px !important; margin-bottom: 100px !important; }
.my-11 { margin-top: 110px !important; margin-bottom: 110px !important; }
.my-12 { margin-top: 120px !important; margin-bottom: 120px !important; }
.my-13 { margin-top: 130px !important; margin-bottom: 130px !important; }
.my-14 { margin-top: 140px !important; margin-bottom: 140px !important; }
.my-15 { margin-top: 150px !important; margin-bottom: 150px !important; }

/* Padding-y: py-6 .. py-15 (px fijos) */
.py-6  { padding-top: 60px !important; padding-bottom: 60px !important; }
.py-7  { padding-top: 70px !important; padding-bottom: 70px !important; }
.py-8  { padding-top: 80px !important; padding-bottom: 80px !important; }
.py-9  { padding-top: 90px !important; padding-bottom: 90px !important; }
.py-10 { padding-top: 100px !important; padding-bottom: 100px !important; }
.py-11 { padding-top: 110px !important; padding-bottom: 110px !important; }
.py-12 { padding-top: 120px !important; padding-bottom: 120px !important; }
.py-13 { padding-top: 130px !important; padding-bottom: 130px !important; }
.py-14 { padding-top: 140px !important; padding-bottom: 140px !important; }
.py-15 { padding-top: 150px !important; padding-bottom: 150px !important; }

/* Padding-bottom: pb-6 .. pb-15 (px fijos) */
.pb-6  { padding-bottom: 60px !important; }
.pb-7  { padding-bottom: 70px !important; }
.pb-8  { padding-bottom: 80px !important; }
.pb-9  { padding-bottom: 90px !important; }
.pb-10 { padding-bottom: 100px !important; }
.pb-11 { padding-bottom: 110px !important; }
.pb-12 { padding-bottom: 120px !important; }
.pb-13 { padding-bottom: 130px !important; }
.pb-14 { padding-bottom: 140px !important; }
.pb-15 { padding-bottom: 150px !important; }

/* gutters verticales custom */
.gy-6 { --bs-gutter-y: 4rem; }
.gy-7 { --bs-gutter-y: 5rem; }
.gy-8 { --bs-gutter-y: 6rem; }
.gy-9 { --bs-gutter-y: 7rem; }
.gy-10 { --bs-gutter-y: 8rem; }

.gx-6 { --bs-gutter-x: 4rem; }
.gx-7 { --bs-gutter-x: 5rem; }
.gx-8 { --bs-gutter-x: 6rem; }
.gx-9 { --bs-gutter-x: 7rem; }

.gap-4-5 {
    gap: 2rem;
}


.header-top-one-wrapper {
    padding: 5px 0;
}

.header-top-one-wrapper a {
    color: var(--color-primary);
}

.header-top-one-wrapper a:hover {
    color: var(--color-primary-hover);
}

/* Header: logo centrado y menú debajo centrado */
.header-one.style-four .header-main-one-wrapper{
    display: flex;
    flex-direction: column;   /* apila logo + menú */
    align-items: center;      /* centra en horizontal */
    justify-content: center;
    border-bottom: 1px solid #F4EFE9;
}

.text-justify {
    text-align: justify;
}

.ff-primary {
    color: var(--color-primary) !important;
}

/* Logo centrado */
.header-one.style-four .header-main-one-wrapper .thumbnail{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 25px;
}

@media (max-width: 767.98px) {
    .header-one.style-four .header-main-one-wrapper .thumbnail{
        justify-content: space-between;
        margin-top: 0;
    }
}

/* tablet y escritorio */
@media (max-width: 992px) {
    ul,
    li {
        font-size: 16px !important;
    }
}


.footer-link {
  color: #fff;
  transition: 0.2s ease;
}

.footer-link:hover {
  color: var(--color-body);
  transform: translateY(-1px);
}

.menu-link {
  color: #fff;
  transition: 0.2s;
}

.menu-link:hover,
.menu-link.active {
  color: var(--color-body) !important;
  transform: translateY(-1px);
}


/* Menú centrado */
.header-one.style-four .header-main-one-wrapper .nav-area{
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-one.style-four .header-main-one-wrapper .nav-area ul{
    display: flex;
    justify-content: center;
    align-items: center;             /* espacio entre items */
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;          /* por si en móvil no cabe */
}

@media (min-width: 769px){

    .header-one.style-four .header-main-one-wrapper .nav-area ul {
        gap: 50px;
    }

}


@media (min-width: 575px) and (max-width: 769px) {

    .header-one.style-four .header-main-one-wrapper .nav-area ul {
        gap: 20px;
    }

}

/* por defecto, ocultamos el botón hamburguesa */
.menu-btn {
    display: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
}

/* ajustamos el icono */
.menu-btn img {
    width: 28px;
    height: auto;
}

/* cuando la pantalla es pequeña (por ejemplo móvil) */
@media (max-width: 992px) {
    /* mostrar el boton hamburguesa */
    .menu-btn {
        display: inline-block !important;
    }
}

nav a {
    font-size: var(--font-size-b3);    
}

footer {
    background: var(--color-primary);
    font-size: var(--font-size-b3);
}

.footerDireccion {
    border-top: 1px solid #bd9f89;
    border-bottom: 1px solid #bd9f89;
    max-width: 75%;
    margin: auto;
    padding: 25px 0;
}

.footerDireccion p,
.footerDireccion a {
    color: #fff;
    font-size: var(--font-size-b3);
}

.footerDireccion a:hover {
    color: var(--color-body);
}

/* movil */
@media (max-width: 991px) {

  nav ul.list-inline {
    text-align: center;
    padding-left: 0;
  }

  nav ul.list-inline li {
    display: block !important;
    margin: 6px 0 !important;
  }

}


/* =========================================================
   Feature rows: imagen/texto alterno, móvil siempre apilado
   ========================================================= */

/* Opcional: limita el ancho del texto para que no se vaya a los bordes */
.feature-text {
    max-width: 60ch; /* lectura agradable */
}

/* Contenedor de media con ratio + recorte */
.feature-media {
    border-radius: 16px;      /* opcional */
    overflow: hidden;         /* necesario para recorte */
}

/* Imagen: ocupa el contenedor ratio y recorta si hace falta */
.feature-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* recorta para mantener ratio */
    display: block;
}

/* Desktop: invertir filas solo en md+ */
@media (min-width: 768px) {
    .feature-row--reverse {
        flex-direction: row-reverse;
    }

    /* Cuando el texto queda a la derecha (fila normal), alinear a la derecha */
    .feature-row:not(.feature-row--reverse) .feature-text {
        text-align: right;
        margin-left: auto; /* empuja el bloque hacia la derecha */
    }

    /* Cuando el texto queda a la izquierda (reverse), alinear a la izquierda */
    .feature-row.feature-row--reverse .feature-text {
        text-align: left;
        margin-right: auto;
    }
}

/* =========================================================
   Ratios extra si quieres más opciones
   (Bootstrap ya trae ratio-16x9, ratio-4x3, ratio-1x1, ratio-21x9)
   Puedes añadir estos si te interesan:
   ========================================================= */
.ratio-3x4 { --bs-aspect-ratio: calc(4 / 3 * 100%); } /* vertical */
.ratio-2x3 { --bs-aspect-ratio: calc(3 / 2 * 100%); } /* más vertical */

.font-montserrat {
    font-family: var(--font-primary) !important;
}
.banner-principal {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* overlay oscuro */
.banner-principal::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.50); /* ajusta aquí */
    z-index: 0;
}


.btn-brand {
    color: #212121;
    font-size: clamp(15px, calc(14px + 0.4vw), 17px);

    padding: 1rem 3rem;

    border: 1.5px solid #A77F61;
    border-radius: 0;
}

.btn-brand:hover {
    background-color: #A77F61 !important;
    color: #ffffff !important;
    border-color: #A77F61 !important;
    box-shadow: none !important;
}

.btn-brand-white {
    color: #ffffff;
    font-size: clamp(15px, calc(14px + 0.4vw), 17px);

    padding: 1rem 3rem;

    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 0;
}

/* hover */
.btn-brand-white:hover {
    background-color: #ffffff !important;
    color: #212121 !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
}

.btn-brand-etiqueta {
    font-size: 13px;
    padding: 0.65rem 1.4rem;
}

.btn-brand-etiqueta {
    font-size: 12px;
    padding: 0.55rem 1.2rem;
}

.btn-brand.active {
    background-color: #A77F61 !important;
    color: #ffffff !important;
    border-color: #A77F61 !important;
    box-shadow: none !important;
}

/* color normal */
.swiperRuta .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

/* activo */
.swiperRuta .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 0.8;
}

.categoria-box {
    position: relative;
    overflow: hidden;
}

.categoria-box img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

/* overlay */
.categoria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 2rem;
    color: #fff;

    transition: background 0.4s ease;
}

.categoria-titulo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.titulo-inner {
    display: block;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: clamp(16px, 2.5vw, 20px) !important;
    transition: transform 0.4s ease;
}

.categoria-box:hover .titulo-inner {
    transform: translateY(-90px);
}

.categoria-descripcion,
.categoria-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    color: #fff;
}

/* hover */
.categoria-box:hover .categoria-overlay {
    background: rgba(0,0,0,0.6);
}

.categoria-box:hover .categoria-titulo {
    transform: translate(-50%, -120%);
}

.categoria-box:hover .categoria-descripcion,
.categoria-box:hover .categoria-btn {
    opacity: 1;
    transform: translateY(0);
}

.categoria-descripcion {
    font-size: clamp(13px, 2.5vw, 18px) !important;
    line-height: 1.4;
    margin: 1.2rem 0;
    color: #fff; 
}

.categoria-btn {
    font-size: clamp(13px, 2.5vw, 18px) !important;
    color: #fff;
    text-decoration: none;

    border-bottom: 2px solid #fff;
    padding-bottom: 4px;
}

@media (max-width: 1280px) {
    .categoria-box:hover .titulo-inner {
        transform: translateY(-85px);
    }
}

@media (max-width: 768px) {

    .categoria-box:hover .categoria-titulo {
        opacity: 0;
        pointer-events: none;
    }

    .categoria-box:hover .titulo-inner {
        transform: none;
    }
}

.img-fixed {
    height: 450px;
    width: 100%;
    overflow: hidden;
}

.img-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .img-fixed {
        margin-top: 2.5rem;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .img-fixed {
        margin-top: 2rem;
        height: 240px;
    }
}

.btn-underline {
    font-size: clamp(14px, 2.5vw, 18px) !important;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 4px;
}

.grupo-titulo {
    font-size: clamp(16px, 2.5vw, 20px) !important;
    font-weight: 450 !important;
    line-height: 1 !important;
    font-family: var(--font-primary);
    padding: 1.5rem 0;
}

.grupo-linea {
    width: 70px;
    height: 1px;
    background-color: var(--color-primary); /* el tono marroncito que usas */
}

.grupo-texto {
    font-size: clamp(14px, 2.5vw, 18px) !important;
    font-weight: 300;
    line-height: 1.5;
}

/* linea superior */
.container-lines::before {
    content: "";
    display: block;
    width: auto;
    height: 1.6px;
    background-color: var(--color-primary);
    margin: 0 auto 40px auto;
}

/* linea inferior */
.container-lines::after {
    content: "";
    display: block;
    width: auto;
    height: 2px;
    background-color: var(--color-primary);
    margin: 40px auto 0 auto;
}

.siguenos-text {
    font-family: var(--font-secondary); 
    font-size: clamp(26px, 2.5vw, 43px) !important;
    font-style: italic;
    display: flex;
    align-items: center;

}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: clamp(15px, 2vw, 20px);
}


.social-icon i {
    display: block;
    transform: translateY(3px);
}

/* tablet (kindle) */
@media (min-width: 768px) and (max-width: 991px) {
    .siguenos-text {
        font-size: 36px !important;
    }
}

.categorias-menu {
    flex-wrap: wrap;
}

.categoria-link {
    position: relative;
    font-size: clamp(13px, 2vw, 17px);
    text-decoration: none;
    padding: 6px 10px;
}

.categoria-link.active {
    font-weight: 500;
}

.categoria-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 1px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}


.categoria-link:hover::after,
.categoria-link.active::after {
    transform: scaleX(1);
}

.categorias-menu li:not(:last-child)::after {
    content: "|";
    margin-left: 6px;
    color: #000000;
}


.etiquetas-scroll {
    justify-content: center;
}

@media (min-width: 769px) and (max-width: 991px) {

    /* menu en vertical */
    .categorias-menu {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0px !important;
    }

    /* quitar solo el separador */
    .categorias-menu li:not(:last-child)::after {
        content: none;
    }

    .menu-row {
        border: 1px solid var(--color-body);
    }

    .categorias-menu li {
        margin-top: 0;
        margin-bottom: 0;
    }

    
}

@media (max-width: 768px) {

    /* menu en vertical */
    .categorias-menu {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0px !important;
    }

    /* quitar solo el separador */
    .categorias-menu li:not(:last-child)::after {
        content: none;
    }

    .menu-row {
        border: 1px solid var(--color-body);
    }

    .categorias-menu li {
        margin-top: 0;
        margin-bottom: 0;
    }

    .etiquetas-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .section-etiquetas {
        margin-bottom: 40px !important;
    }

    .etiquetas-scroll a {
        flex: 0 0 auto;
    }

    .etiquetas-scroll::-webkit-scrollbar {
        display: none;
    }
}

/* nombre actividad */
.actividad-nombre {
    font-size: clamp(16px, 2vw, 20px);
}

/* fecha actividad */
.actividad-fecha {
    font-size: clamp(14px, 1.8vw, 19px);
}

.agenda-item {
    transition: transform 0.25s ease;
}

.agenda-item img {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.agenda-item:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

.agenda-item:hover {
    transform: translateY(-2px);
}

.plan-titulo {
    color: #051E37;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.bloque-imagenes {
    max-width: 90%;
}

.imagen-flotante {
  position: absolute;
  width: 56%;
  bottom: -140px;
  right: -25%;
}

.imagen-arriate-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.imagen-arriate {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .bloque-imagenes {
        max-width: 100%;
    }

    .imagen-flotante {
        position: static;
        display: block;
        width: 100%;
        margin-top: 1.5rem;
    }
}

@media (max-width: 575px) {
    .imagen-flotante {
        position: static;
        width: 100%;
        margin-top: 1.5rem;
    }
}

@media (max-width: 991px) {
    .py-10 {
        padding-top: 50px !important; padding-bottom: 50px !important;
    }
    .mt-14 {
        margin-top: 0 !important;
    }
}

.btn-volver {
    text-decoration: none;
    font-size: 14px;
    color: var(--color-primary);

    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: color 0.2s;
}

.btn-volver::before {
    content: "";
    width: 8px;
    height: 14px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.264' height='13.808' viewBox='0 0 8.264 13.808'%3E%3Cpath d='M247 14.96l-7 6.633 7 6.063' transform='translate(-239.25 -14.415)' fill='none' stroke='%23a77f61' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E");

    background-size: contain;
    background-repeat: no-repeat;

    transition: transform 0.2s;
}

.btn-volver:hover {
    color: #000;
}

.btn-volver:hover::before {
    transform: translateX(-3px);
}

.img-wrap {
    height: 100%;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mapa-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.menu-link {
  color: #fff;
  transition: 0.2s;
}

.menu-link:hover {
  color: var(--color-body) !important;
}

.galeria-item {
    overflow: hidden;
}

.galeria-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
    height: 500px !important;
}

@media (max-width: 992px) {
   .galeria-item img {
        height: auto !important;
    }
}


.icono-turismo {
  height: 38px;
  margin-right: 25px;
}

.fila-tabla {
  border-bottom: 0.1rem solid #DFD0BE;
  padding: 13px 0;
}

.fila-tabla p {
  font-size: clamp(14px, 2vw, 18px);
}

@media (max-width: 991.98px) {

  .arriate-activity-section .mb-8 {
    margin-bottom: 3rem !important;
  }

  .arriate-activity-section h4 {
    margin-bottom: 0.5rem !important;
    font-size: 18px !important;
  }
}

.p-blue-information {
    font-size: clamp(17px, 2vw, 23px);
    color: #051E37;
}

.fila-tabla-information-title {
    padding: 13px 0;
    font-size: clamp(14px, 2vw, 18px);
}

.fila-tabla-information-title strong {
    font-weight: var(--p-medium);
}

.fila-tabla-information p {
    font-size: clamp(14px, 2vw, 18px);
}

.fila-tabla-information-content {
    padding-right: 13rem !important;
    padding-left: 13rem !important;
}

/* quitar flecha nativa */
details summary {
    list-style: none;
    cursor: pointer;
}

details summary::-webkit-details-marker {
    display: none;
}

/* icono + / - */
.icon-toggle {
    font-size: 25px;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

/* cuando esta abierto */
details[open] .icon-toggle {
    content: "−";
}

.fila-tabla-information {
    border-bottom: 0.1rem solid #DFD0BE;
}

.fila-tabla-information:first-of-type {
    border-top: 0.1rem solid #DFD0BE;
}

.fila-tabla-information[open] .fila-tabla-information-title {
    border-bottom: 0.1rem solid #DFD0BE;
}

.fila-tabla-information-title {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fila-tabla-information-title:hover {
    background-color: rgba(192, 138, 90, 0.05); /* tono suave */
}

.acordeon-grupo{
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}


@media (max-width: 991.98px) {

    .fila-tabla-information-content {
        padding-right: 8rem !important;
        padding-left: 8rem !important;
    }
}

.hr-primary {
    color: var(--color-primary);
    opacity: .7;
}

.galeria-img{
    aspect-ratio:4/3;
    object-fit:cover;
    cursor:pointer;
    transition:transform .25s ease;
}

.galeria-img:hover{
    transform:scale(1.03);
}

.swiperRuta img{
    width:100%;
    aspect-ratio:21/9;
    object-fit:cover;
}

.imagen-actividad {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.img-wrap {
    width: 100%;
    overflow: hidden;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* cartel mas vertical */
.img-wrap-cartel {
    aspect-ratio: 3 / 4;
}

/* portada mas panoramica */
.img-wrap-portada {
    aspect-ratio: 16 / 9;
}

.img-planifica {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.img-planifica img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}