/* ==========================================================================
   VARIABLES GLOBALES (UNA SOLA DECLARACIÓN)
   ========================================================================== */
:root {
    /* Colores principales */
    --color-blue: #0097d7;
    --color-blue-dark: #007bb5;
    --color-red: #d32f2f;
    --color-red-dark: #b71c1c;
    --color-green: #1b4f72;
    --color-green-light: #2980b9;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-dark: #2c3e50;
    --color-bg-light: #f7f9f9;
    --color-white: #ffffff;

    /* Tipografía */
    --font-heading: 'Cardo', serif;
    --font-body: 'Inter', sans-serif;

    /* Cards */
    --radius-card: 16px;
    --shadow-card: 0 8px 35px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 16px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.italic { font-style: italic; }

/* ==========================================================================
   HEADER & TOP BAR
   ========================================================================== */
.top-bar {
    background-color: var(--color-white);
    padding: 15px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-logo img { height: 100px; }

.top-reviews {
    display: flex;
    gap: 15px;
    align-items: center;
}

.review-img { height: 45px; }

.top-contact a {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    margin-left: 20px;
}

.top-contact a:hover { color: var(--color-blue); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    background-color: var(--color-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links { display: flex; }

.nav-links a {
    color: var(--color-white);
    padding: 15px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-book-nav {
    background-color: transparent;
    color: var(--color-white);
    font-weight: 700;
    padding: 15px 20px;
    font-size: 14px;
}

.btn-book-nav:hover {
    background-color: var(--color-red);
    color: #fff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 550px;
    overflow: hidden;
}

.hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.hero-headline {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 52px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subheadline {
    color: var(--color-white);
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta-btn {
    font-size: 18px;
    padding: 15px 40px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* ==========================================================================
   INTRO TEXT SECTION (SURF WITH THE LOCALS)
   ========================================================================== */
.intro-text-section {
    padding: 80px 20px 50px;
    background: linear-gradient(180deg, #f0faf7 0%, #ffffff 100%);
}

.title-green {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--color-green);
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
}

.title-green::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green), var(--color-blue));
    margin: 12px auto 0;
    border-radius: 2px;
}

.subtitle-blue {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--color-blue);
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.intro-paragraph {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text-light);
    max-width: 780px;
    margin: 0 auto 35px;
}

/* ==========================================================================
   BENEFITS ROW
   ========================================================================== */
.benefits-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.benefit-item {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-white);
    border-radius: 50px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(27, 79, 114, 0.1);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 79, 114, 0.12);
    border-color: rgba(27, 79, 114, 0.25);
}

.benefit-check {
    color: var(--color-green);
    font-weight: 800;
    font-size: 1.1rem;
}

/* ==========================================================================
   INTRO CARDS SECTION (6-CARD SWIPER)
   ========================================================================== */
/* ============================================
   CARDS SECTION - CENTRADO CORRECTO
   ============================================ */
.intro-cards-section {
    padding: 40px 0 100px;
    background: var(--color-white);
    overflow: hidden; /* CAMBIO: hidden para que no se vea la card cortada */
}

.introSwiper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0 90px; /* SIN padding lateral - lo maneja el swiper */
    position: relative;
}

/* CLAVE: El wrapper necesita centrado */
.introSwiper .swiper-wrapper {
    align-items: stretch;
}

/* ============================================
   CARD
   ============================================ */
.swiper-slide.intro-card {
    height: auto !important;
}

.intro-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.intro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

/* ============================================
   IMAGE
   ============================================ */
.img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 0; /* Quitar el margin-bottom: 25px del CSS original */
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(211, 47, 47, 0.92);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    z-index: 2;
}

/* ============================================
   CARD CONTENT
   ============================================ */
.card-content {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-blue);
    margin-bottom: 12px;
    line-height: 1.35;
    flex-shrink: 0;
}

.card-content p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* ============================================
   BUTTON
   ============================================ */
.floating-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    width: fit-content;
    margin-top: auto;
    flex-shrink: 0;
    /* QUITAR position: absolute del CSS original */
    position: relative;
    bottom: auto;
    right: auto;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
    color: #ffffff;
    text-decoration: none;
}

.floating-btn::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.floating-btn:hover::after {
    transform: translateX(4px);
}

/* ============================================
   SWIPER CONTROLS - FLECHAS FUERA DEL CONTENIDO
   ============================================ */
.introSwiper .swiper-button-next,
.introSwiper .swiper-button-prev {
    color: var(--color-green);
    background: var(--color-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    top: 45%;
    z-index: 20;
}

.introSwiper .swiper-button-next { right: 20px; }
.introSwiper .swiper-button-prev { left: 20px; }

.introSwiper .swiper-button-next:hover,
.introSwiper .swiper-button-prev:hover {
    background: var(--color-green);
    color: var(--color-white);
    box-shadow: 0 6px 30px rgba(27, 79, 114, 0.4);
    transform: scale(1.1);
}

.introSwiper .swiper-button-next::after,
.introSwiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Paginación */
.introSwiper .swiper-pagination {
    bottom: 15px !important;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.introSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-green);
    opacity: 0.25;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.introSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--color-green), var(--color-blue));
}

/* ============================================
   RESPONSIVE CARDS
   ============================================ */
@media (max-width: 768px) {
    .introSwiper .swiper-button-next,
    .introSwiper .swiper-button-prev {
        display: none;
    }

    .intro-card {
        min-height: 500px;
    }

    .card-content p {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 480px) {
    .intro-card {
        min-height: 500px;
    }

    .card-content {
        padding: 18px 18px 24px;
    }

    .card-content h4 {
        font-size: 0.95rem;
    }

    .floating-btn {
        padding: 10px 22px;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--color-bg-light);
    padding: 80px 20px;
    max-width: 100% !important;
}

.section-header { margin-bottom: 60px; }

.section-title {
    font-family: var(--font-heading);
    color: var(--color-blue);
    font-size: 42px;
    margin-bottom: 5px;
}

.section-subtitle {
    color: var(--color-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-tagline {
    color: var(--color-text-light);
    font-size: 14px;
    margin-top: 10px;
}

.services-list {
    max-width: 1100px;
    margin: 0 auto;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #e0e0e0;
}

.service-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-img { flex: 1; }

.service-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.service-text { flex: 1; }

.service-number {
    font-family: var(--font-heading);
    color: var(--color-blue);
    font-size: 48px;
    display: block;
    margin-bottom: -10px;
}

.service-text h3 {
    font-family: var(--font-heading);
    color: var(--color-blue);
    font-size: 28px;
    font-style: italic;
    margin-bottom: 20px;
}

.service-text p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.service-buttons {
    display: flex;
    gap: 15px;
}

.service-buttons.align-right {
    justify-content: flex-end;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-us-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-card {
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.why-card .why-img {
    width: 100%;
    margin-bottom: 20px;
}

.why-card .why-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.why-card .why-text {
    padding: 0 20px 20px;
}

.why-card .why-text h3 {
    font-family: var(--font-heading);
    color: var(--color-blue);
    font-size: 24px;
    font-style: italic;
    margin-bottom: 15px;
}

.why-card .why-text p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

/* ==========================================================================
   BUTTONS (GLOBAL)
   ========================================================================== */
.btn-solid {
    display: inline-block;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    transition: 0.3s;
    border-radius: 4px;
}

.btn-solid.red { background-color: var(--color-red); }
.btn-solid.red:hover { background-color: var(--color-red-dark); }
.btn-solid.blue { background-color: var(--color-blue); }
.btn-solid.blue:hover { background-color: var(--color-blue-dark); }

/* ==========================================================================
   CERTIFICATIONS
   ========================================================================== */
.certifications-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 160px;
}

.cert-icon {
    width: 60px;
    height: 60px;
    color: var(--color-blue);
    margin-bottom: 12px;
    background: var(--color-bg-light);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, color 0.3s ease;
}

.cert-item:hover .cert-icon {
    transform: translateY(-5px);
    color: var(--color-red);
}

.cert-item span {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
}

/* ==========================================================================
   TESTIMONIALS & FOOTER
   ========================================================================== */
.reviews-section {
    padding: 80px 20px;
    border-top: 1px solid #eee;
    background-color: var(--color-bg-light);
}

.footer {
    background-color: var(--color-blue);
    padding: 30px 0;
    font-size: 14px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    font-weight: 600;
    cursor: pointer;
}

.social-icons a {
    font-size: 18px;
    text-decoration: none;
    margin-left: 10px;
    filter: grayscale(100%);
    opacity: 0.7;
}

.social-icons a:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   WHATSAPP FLOAT BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media screen and (max-width: 992px) {
    .service-row {
        flex-direction: column !important;
        gap: 30px;
    }

    .service-text.text-right { text-align: left; }
    .service-buttons.align-right { justify-content: flex-start; }
    .hero-headline { font-size: 40px; }

    .introSwiper {
        padding: 20px 55px 80px;
    }

    .intro-card {
        min-height: 550px;
    }
}

@media screen and (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        justify-content: center;
    }

    .nav-links { display: none; }

    .service-img img { height: 250px; }

    .hero-section {
        height: 60vh;
        min-height: 450px;
    }

    .hero-headline { font-size: 32px; }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Intro cards responsive */
    .intro-text-section {
        padding: 60px 20px 35px;
    }

    .intro-cards-section {
        padding: 30px 0 80px;
    }

    .introSwiper {
        padding: 10px 15px 70px;
    }

    .intro-card {
        min-height: 550px;
    }

    .card-content p {
        -webkit-line-clamp: 3;
    }

    .introSwiper .swiper-button-next,
    .introSwiper .swiper-button-prev {
        display: none;
    }

    .benefits-row {
        gap: 10px;
    }

    .benefit-item {
        font-size: 0.78rem;
        padding: 8px 14px;
    }
}

@media screen and (max-width: 480px) {
    .intro-card {
        min-height: 480px;
    }

    .card-content {
        padding: 18px 18px 24px;
    }

    .card-content h4 {
        font-size: 0.95rem;
    }

    .card-content p {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }

    .floating-btn {
        padding: 10px 22px;
        font-size: 0.7rem;
    }
}



















/* ==========================================================================
   WHY CHOOSE US - FLIP CARDS GRID
   ========================================================================== */
.why-section {
    padding: 90px 0 100px;
    background: var(--color-bg-light, #f7f9f9);
}

.why-section .section-header {
    margin-bottom: 55px;
}

.why-section .section-title {
    font-family: var(--font-heading, 'Cardo', serif);
    color: var(--color-blue, #0097d7);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 8px;
}

.why-section .section-tagline {
    color: var(--color-text-light, #666);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==========================================================================
   GRID: 3 COLUMNAS x 2 FILAS
   ========================================================================== */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ==========================================================================
   FLIP CARD STRUCTURE
   ========================================================================== */
.flip-card {
    width: 100%;
    height: 360px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Flip on hover (desktop) */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* ==========================================================================
   FRONT SIDE
   ========================================================================== */
.flip-card-front,
.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    z-index: 2;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flip-card:hover .flip-card-front img {
    transform: scale(1.05);
}

/* Front overlay */
.flip-front-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 22px;
    background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.flip-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    margin-bottom: 4px;
}

.flip-icon svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

.flip-front-overlay h3 {
    font-family: var(--font-heading, 'Cardo', serif);
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.flip-hint {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.flip-card:hover .flip-hint {
    opacity: 0;
}

/* ==========================================================================
   BACK SIDE
   ========================================================================== */
.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 28px;
}

.flip-card-back.back-blue {
    background: linear-gradient(135deg, #0097d7 0%, #006494 100%);
}

.flip-back-content {
    text-align: center;
    color: #ffffff;
}

.flip-back-content h3 {
    font-family: var(--font-heading, 'Cardo', serif);
    font-size: 1.4rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 16px;
    position: relative;
}

.flip-back-content h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 12px auto 0;
    border-radius: 2px;
}

.flip-back-content p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
}

/* Button */
.flip-btn {
    display: inline-block;
    padding: 11px 28px;
    background: #ffffff;
    color: #d32f2f;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-blue .flip-btn {
    color: #0097d7;
}

.flip-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet: 2 columnas */
@media screen and (max-width: 992px) {
    .flip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .flip-card {
        height: 340px;
    }
}

/* Móvil: 1 columna */
@media screen and (max-width: 600px) {
    .why-section {
        padding: 60px 0 70px;
    }

    .flip-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .flip-card {
        height: 300px;
    }

    .flip-front-overlay {
        padding: 22px 18px;
    }

    .flip-front-overlay h3 {
        font-size: 1.2rem;
    }

    .flip-hint {
        display: none;
    }

    .flip-back-content h3 {
        font-size: 1.2rem;
    }

    .flip-back-content p {
        font-size: 0.82rem;
    }

    .flip-btn {
        padding: 10px 24px;
        font-size: 0.68rem;
    }

    /* Móvil: flip con tap */
    .flip-card:hover .flip-card-inner {
        transform: rotateY(0deg);
    }

    .flip-card.is-flipped .flip-card-inner {
        transform: rotateY(180deg);
    }
}





/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background-color: var(--color-white);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-logo img {
    height: 100px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    background-color: var(--color-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   LOGO EN NAVBAR - OCULTO POR DEFECTO
   ========================================================================== */
.nav-logo {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



/* Cuando el navbar está en modo "scrolled" - logo visible */
.navbar.scrolled .nav-logo {
    max-width: 150px;
    opacity: 1;
    margin-right: 20px;
}


@media screen and (max-width: 768px) {
    .top-reviews,
    .top-contact {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .top-logo img {
        height: 70px;
    }
}






















/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #1a2332;
    color: #ffffff;
    padding: 0;
}

/* Footer Top */
.site-footer .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
    /* Sin filter - muestra el logo con sus colores originales */
}

.footer-logo:hover img {
    opacity: 0.8;
}

.footer-tagline {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 280px;
}

/* Links & Contact columns */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--color-blue, #0097d7);
    margin-top: 10px;
    border-radius: 2px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--color-blue, #0097d7);
    transform: translateX(3px);
}

.footer-contact ul li {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: var(--color-blue, #0097d7);
    color: #ffffff;
    border-color: var(--color-blue, #0097d7);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 151, 215, 0.3);
}

.social-icons a svg {
    width: 18px;
    height: 18px;
}

/* Reviews badge */
.footer-reviews {
    margin-top: 5px;
}

.footer-reviews img {
    height: 35px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-reviews img:hover {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-credit a {
    color: var(--color-blue, #0097d7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #ffffff;
}

/* ==========================================================================
   FOOTER RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 992px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding: 50px 0 40px;
    }
}

@media screen and (max-width: 600px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 30px;
        text-align: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-logo img {
        margin: 0 auto;
    }

    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        margin: 10px auto 0;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-reviews {
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-links ul li a:hover {
        transform: none;
    }
}





/* ==========================================================================
   MOBILE MENU - Clases CSS (evita inline styles / reflow)
   ========================================================================== */
.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
    padding: 8px;
    margin-right: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-blue, #0097d7);
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        animation: slideDown 0.3s ease;
    }

    .nav-links.mobile-open a {
        padding: 12px 25px;
        text-align: center;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .whatsapp-icon {
    width: 35px;
    height: 35px;
}

/* Animación de pulso */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    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 */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}







/* ==========================================================================
   FIX: CONTRASTE DE COLORES (WCAG AA - mínimo 4.5:1)
   ========================================================================== */

/* ---- NAVBAR: "BOOK NOW" button ---- */
/* Problema: texto blanco sobre fondo azul claro = bajo contraste */
.btn-book-nav {
    background-color: #b71c1c; /* Rojo oscuro en vez de transparente */
    color: #ffffff;
    font-weight: 700;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-book-nav:hover {
    background-color: #d32f2f;
    color: #ffffff;
}

/* ---- INTRO CARDS: h4 title ---- */
/* Problema: "Over a Decade of Experience" - color azul claro sobre blanco */
.card-content h4 {
    color: #1a3d5c; /* Azul más oscuro - ratio 8.5:1 sobre blanco */
}

/* ---- WHY SECTION: "Hover over the cards to discover more" ---- */
/* Problema: gris claro sobre fondo gris claro = bajo contraste */
.why-section .section-tagline {
    color: #4a4a4a; /* Gris oscuro - ratio 7.1:1 sobre #f7f9f9 */
    opacity: 1; /* Quitar opacity: 0.7 que reducía contraste */
}

/* ---- SERVICES SECTION: "SNAPPER SERVICES" subtitle ---- */
/* Problema: texto claro sobre fondo claro */
.section-subtitle {
    color: #1a3d5c; /* Azul oscuro - ratio 8.5:1 sobre #f7f9f9 */
}

/* ---- SERVICES: "BOOK NOW" buttons (.btn-solid.blue) ---- */
/* Problema: texto blanco sobre azul claro = bajo contraste */
.btn-solid.blue {
    background-color: #005a8c; /* Azul más oscuro - ratio 5.9:1 con blanco */
    color: #ffffff;
}

.btn-solid.blue:hover {
    background-color: #004570;
}

/* ---- "RESERVE YOUR SPOT" button ---- */
/* Mismo fix que .btn-solid.blue */

/* ---- FOOTER: texto sobre fondo oscuro ---- */
/* Problema: texto gris claro sobre fondo oscuro #1a2332 */
.site-footer {
    background: #1a2332;
}

.footer-tagline {
    color: #b0bec5; /* Ratio 5.2:1 sobre #1a2332 */
}

.footer-bottom p {
    color: #90a4ae; /* Ratio 4.6:1 sobre #1a2332 (antes era 0.45 opacity) */
}

.footer-credit {
    color: #90a4ae;
}

.footer-credit a {
    color: #4fc3f7; /* Azul claro brillante - ratio 5.8:1 sobre #1a2332 */
}

.footer-credit a:hover {
    color: #ffffff;
}

.footer-links ul li a,
.footer-contact ul li a,
.footer-contact ul li {
    color: #b0bec5; /* Ratio 5.2:1 sobre #1a2332 */
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: #ffffff;
}





















/* ==========================================================================
   FIX: OBJETIVOS TÁCTILES (mínimo 48x48px)
   ========================================================================== */

/* Links de navegación */
.nav-links a {
    padding: 15px 20px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

/* Botones de redes sociales en footer */
.social-icons a {
    width: 48px; /* Mínimo 48px */
    height: 48px;
    min-width: 48px;
    min-height: 48px;
}

/* Hero scroll down arrow */
.hero-scroll-down a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
}

/* Swiper pagination bullets */
.introSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px; /* Separación mínima */
}

/* Mobile menu button */
.mobile-menu-btn {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
