* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00BD92;
    --secondary: #FF6B6B;
    --dark: #343a40;
    --suave: #e0efd0;
    --blue: #2d5a7b;
    --blue-dark: #1A2332;
    --tit: #008BBD;
    --green: #135a55;
    --neutro: #F0F8F7;
    --light-text: #666;
    --bg-light: #F4F4F4;
    --white: #FFFFFF;
    --max-w: 1200px;
}

html {
    font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    font-size: 1.4rem;
    line-height: 1.5;
}

/* H1 y H2 tendrán un tamaño base reducido en móviles */
h1 {
    font-size: 3.2rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.4rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.6rem;
    line-height: 1.4;
}

h5 {
    font-size: 1.4rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--blue);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

hr {
    border: none;
    border-top-width: medium;
    border-top-style: none;
    border-top-color: currentcolor;
    border-top: 2px dashed #ccc;
    margin: 20px 0;
}

.icon-text {
    display: flex;
    align-items: center;
}
.icon{
    width: 1.8rem;
    height: 1.8rem;
}
.icon30{
    width: 3rem;
    height: 3rem;
}
.icon-big{
    width: 5.2rem;
    height: 5.2rem;
}

summary::-webkit-details-marker,
summary::marker {
    display: none;
}

/* --- 1. BARRA DE ANUNCIOS --- */
.top-bar {
    background-color: #1a1a1a;
    color: var(--white);
    text-align: center;
    padding: 10px;
    font-weight: 600;
}

/* --- 2. NAVEGACIÓN (HEADER) --- */
header {
    background: var(--white);
    padding: .5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.idiomas {
    width: 24px;
    height: 24px;
    z-index: 5;
}

.box {
    display: flex;
    justify-content: left;
    gap: 1.5rem;
    width: 100%;
    max-width: var(--max-w);
    margin: 0% auto;
}
.a-box{
    color: var(--neutro);
    font-size: 2rem;
    font-weight: 600;
}
/* --- 3. HERO SECTION --- */
.hero {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero picture,
.hero .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 0.8s ease;
}

.hero img,
.hero .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h2,
.hero p {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    text-shadow: 0 0 0.2em #F87, 0 0 0.2em #F87
}

.hero .fade-out {
    opacity: 0;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.hero-t {
    padding: 2rem .3rem;
}
.hero-t>.box{
    justify-content: space-between;
}

.hero-t1 {
    text-align: left;
}

.hero-t2 {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    text-align: right;
}

.pricex span {
    -webkit-text-decoration-line: line-through;
    text-decoration-line: line-through;
}

.price span {
    color: var(--blue);
    font-size: 2.2rem;
}

.barra {
    width: 100%;
    background: var(--primary);
    padding: 1.5rem .3rem;
    position: sticky;
    top: 6rem;
    z-index: 900;
}

.barra h3 {
    color: var(--white);
}

.tour-head, .tour-detail-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.tour-head{
    align-items: center;
}
.tour-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.tour-data {
    padding: 2rem .5rem;
}

.tour-data h2 {
    font-size: 2.4rem;
    line-height: 125%;
    margin-bottom: 1.2rem;
}

.tour-data p {
    line-height: 150%;
    margin-bottom: .5rem;
}

.tour-two-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
}

.tour-body {
    width: 98%;
    max-width: var(--max-w);
    margin: 0% auto;
}

/* --- 4. GRID DE TOURS (CARD SECTION) --- */
.container {
    max-width: var(--max-w);
    margin: 50px auto;
    padding: 0 20px;
}

.title {
    font-size: 2.4rem;
    margin: 50px 0;
    color: var(--dark);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Estilo de la Tarjeta (Card) */
.card-tour {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 11px rgba(0, 0, 0, 0.212);
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    background-color: #ddd;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-prices {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Etiqueta de oferta */
.tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 2px;
}

.card-data {
    display: grid;
    gap: 1rem;
    padding: 20px;
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.card-info {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    color: var(--light-text);
    font-size: 1rem;
    margin-bottom: 20px;
}

.card-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-price {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.current-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--light-text);
}

.btn-view {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-view:hover {
    background: var(--dark);
}

/* ============== ACORDEÓN con <details>  ============== */
.tour-details {
    outline: 1px solid var(--bg-light);
    border-radius: 8px;
    margin: 2rem 0%;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tour-details[open] {
    outline-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tour-detail-title {
    display: grid;
    width: 100%;
    grid-template-columns: 180px auto 30px;
    gap: .7rem;
    min-height: 10rem;
    align-items: center;
    font-weight: 600;
    font-size: 1.6rem;
    cursor: pointer;
    list-style: none;
    color: var(--dark);
    /* background-color: var(--suave); */
    border-radius: 8px;
    padding: 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.tour-detail-title img {
    width: 100%;
    border-radius: 4px;
}

.tour-details[open] .tour-detail-title img {
    opacity: .3;
}

.tour-detail-title::after {
    content: '+';
    font-size: 2rem;
    line-height: 1;
    color: var(--primary);
    /* margin-left: 15px; */
    transition: transform 0.2s ease-in-out;
}

.tour-details[open] .tour-detail-title::after {
    content: '−';
    transform: rotate(0deg);
}

.tour-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.4rem;
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1.4rem;
    border-top: 1px solid var(--bg-light);
}

.tour-detail-data {
    padding: 2rem 1.4rem;
}

.tour-detail-content p {
    margin-top: 10px;
}
.tour-detail-content img{
    border-radius: .7rem;
}

/* +++++++++++++ Footer +++++++++++++ */
.soporte {
  display: grid;
  padding: .3rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.soporte img {
  width: 100%;
  aspect-ratio: 4 / 1;
}
footer {
    background: var(--dark);
    color: var(--white);
    padding: 2rem 1rem .5rem;
}

.foot-ico {
    display: flex;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 8px;
    font-size: 1.6rem;
    color: var(--primary);
}

.footer-section h3::after {
    content: "";
    width: 50px;
    height: 2px;
}

.footer-links li {
    margin-bottom: 8px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 5px;
}

.social-links {
    display: flex;
    margin-top: 1rem;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
}

/* ++++++++++++++++++ Reserva +++++++++++++++++++ */
.book-x {
    display: flex;
    flex-direction: row;
    gap: 15px;
    max-width: 340px;
    margin: 20px auto;
    padding: 5px;
    place-items: center;
    outline: solid 2px var(--secondary);
    border-radius: 8px 25px 25px 8px;
}

.book-x img {
    width: 40px;
    aspect-ratio: 1/1;
}

.whatsapp-book {
    display: flex;
    flex-direction: row;
    color: var(--white);
    background: radial-gradient(#a9ff39, #61ac07);
    border-radius: 25px;
    outline: solid 1px var(--green);
    width: 135px;
    margin: 3rem auto;
    padding: 5px 15px 5px 5px;
    gap: 10px;
    color: var(--dark);
    font-weight: bold;
    cursor: pointer;
}

.whatsapp-book img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

/* Estilos del botón flotante WHATSAPP */
    .whatsapp-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 70px;
        height: 70px;
        background-color: #25D366;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
        cursor: pointer;
        z-index: 1000;
        transition: all 0.3s ease;
        animation: pulse 2s infinite;
    }

    .whatsapp-btn:hover {
        background-color: #128C7E;
        transform: scale(1.1);
    }

    .whatsapp-btn img {
        width: 62px;
        height: 62px;
        object-fit: contain;
    }

    .whatsapp-tooltip {
        position: absolute;
        right: 80px;
        background-color: #075E54;
        color: white;
        padding: 8px 15px;
        border-radius: 6px;
        font-size: 1.4rem;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .whatsapp-btn:hover .whatsapp-tooltip {
        opacity: 1;
        visibility: visible;
    }

    .whatsapp-tooltip::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -5px;
        transform: translateY(-50%);
        border-width: 5px 0 5px 5px;
        border-style: solid;
        border-color: transparent transparent transparent #075E54;
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        }

        70% {
            box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        }
    }

/* Responsive para móviles */
@media (max-width: 768px) {
  .whatsapp-btn {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn img {
    width: 52px;
    height: 52px;
  }

  /* Ocultar tooltip en móvil (no hay hover en táctil) */
  .whatsapp-tooltip {
    display: none;
  }

  /* Desactivar efectos hover en móvil */
  .whatsapp-btn:hover {
    transform: none;
    background-color: #25D366;
  }
}

/* Triángulo indicador */
.modal-arrow {
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--white);
}

/* +++++++++++++ //Footer +++++++++++++ */

@media (min-width: 768px) {
    .tour-detail-content {
        grid-template-columns: 6fr 4fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media(min-width: 992px) {
    .tour-two-cols {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}
}