.hero-reviews-full {
    position: relative;
    width: 100%;
    height: 450px; /* Altura ajustable */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/reviews-transfersplus.png');
    background-size: cover;
    background-position: center;
    
    /* EFECTO FIXED (PARALLAX) */
    background-attachment: fixed; 
    
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

/* Capa oscura para que el texto resalte */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Mejora lectura */
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-stars {
    font-size: 2rem;
    color: #ffcc00; 
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .hero-reviews-full {
        height: 350px;
        /* Nota: En algunos móviles iOS el 'fixed' puede dar problemas, 
           si ves que la imagen desaparece, cámbialo a 'scroll' aquí */
        background-attachment: scroll; 
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}




//******************Sección 2 *********************//

/* Contenedor Principal */
.booking-integration {
    padding: 40px 0;
    background-color: #ffffff;
    width: 100%;
    overflow: hidden; /* Evita que el iframe rompa el diseño */
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* La Grilla: Usamos Grid para control total */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
    gap: 40px;
    align-items: center;
}

/* Columna de Texto */
.content-side {
    width: 100%;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a1a1a; /* Gris casi negro muy elegante */
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px; /* Hace que el título se vea más "robusto" */
}

/* Opción: Resaltar una palabra en verde desde el HTML */
.main-title span {
    color: #00843e; 
}

.hammer-box p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

/* Beneficios en formato horizontal */
.trust-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00843e;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Columna del Iframe (La clave del error) */
.form-side {
    width: 100%;
}

.iframe-wrapper {
    width: 100%;
    height: 450px; /* Altura fija para que el scroll del iframe funcione */
    background: #000; /* Fondo negro como el buscador */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- RESPONSIVO PARA MÓVIL --- */
@media (max-width: 992px) {
    .booking-grid {
        grid-template-columns: 1fr; /* Una sola columna en tablet/móvil */
        gap: 30px;
    }

    .main-title {
        text-align: center;
        font-size: 1.6rem;
    }

    .content-side {
        text-align: center;
    }

    .trust-check-grid {
        justify-content: center;
    }
}


/*reseñas*/

/* Contenedor principal */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* La Tarjeta */
.tp-review-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    position: relative;
}

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

/* Cabecera: Avatar y Nombre */
.tp-review__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.tp-review__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.tp-review__name {
    font-size: 1rem;
    margin: 0;
    color: #333;
}

.tp-review__date {
    font-size: 0.8rem;
    color: #777;
}

/* Estrellas */
.tp-review__rating {
    color: #f2b01e; /* Color dorado TripAdvisor */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Título de la reseña */
.tp-review__title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #222;
    display: block;
}

/* --- Lógica de Texto Largo --- */
.tp-review__text {
    position: relative;
    max-height: 110px; /* Altura controlada inicialmente */
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    margin-bottom: 5px;
}

.tp-review__text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* El degradado (solo se ve cuando no está expandido) */
.tp-review__text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Cuando la tarjeta tiene la clase 'is-expanded' */
.tp-review-card.is-expanded .tp-review__text {
    max-height: 1000px; /* Permite que el texto crezca */
}

.tp-review-card.is-expanded .tp-review__text::after {
    opacity: 0; /* Desaparece el degradado */
}

/* Botón interno Read More */
.btn-read-more {
    background: none;
    border: none;
    color: #00843e;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 0;
    margin-bottom: 15px;
    text-align: left;
    display: inline-block;
    transition: color 0.2s;
}

.btn-read-more:hover {
    color: #006a31;
    text-decoration: underline;
}

/* Footer y Link */
.tp-review__footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.tp-review__footer a {
    text-decoration: none;
    color: #00843e;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-logo-small {
    height: 15px;
}

/* Lógica de "Cargar más" reseñas */
.hidden-review {
    display: none;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background-color: #00843e;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-load-more:hover {
    background-color: #006a31;
}

/*reseñas mira perro*/

/* Contenedor de Verificación TripAdvisor alineado */
.tripadvisor-verification {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 30px;
    
    /* ESTO ES LO QUE BUSCABAS: ALINEACIÓN CON EL RESTO */
    max-width: 1200px; /* Ajusta este número al ancho de tu web (ej. 1140 o 1280) */
    margin: 40px auto; /* Centra el bloque y le da espacio arriba/abajo */
    width: 90%; /* Margen de seguridad para pantallas medianas */
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    box-sizing: border-box; /* Evita que el padding lo ensanche */
}

/* Alineación de logo y textos */
.ta-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ta-logo-main {
    width: 130px;
    height: auto;
    border-right: 1px solid #e2e8f0;
    padding-right: 15px;
}

.ta-info {
    display: flex;
    flex-direction: column;
}

/* Círculos Verdes TripAdvisor */
.ta-rating-stars {
    color: #00af87;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.ta-total-reviews {
    font-size: 0.9rem;
    color: #475569;
}

/* Botón Verify Profile */
.btn-verify {
    background: #000;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-verify:hover {
    opacity: 0.8;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .tripadvisor-verification {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .ta-stats {
        flex-direction: column;
        gap: 10px;
    }
    .ta-logo-main {
        border-right: none;
        padding-right: 0;
    }
}

/**** ESTADOS INICIALES ***/
/* Estado inicial de los elementos (ocultos y un poco abajo) */
.tp-review-card, 
.tripadvisor-verification{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); /* Curva suave tipo Apple */
    will-change: opacity, transform;
}

/* Estado cuando entran en el visor (aparecen y suben) */
.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Efecto cascada opcional para las tarjetas de reseñas */
.tp-review-card:nth-child(1) { transition-delay: 0.1s; }
.tp-review-card:nth-child(2) { transition-delay: 0.2s; }
.tp-review-card:nth-child(3) { transition-delay: 0.3s; }