/* ==========================================
   PALETA PROFESIONAL + CARIBE
========================================== */

:root {
    --ocean: #063970;
    --ocean-dark: #042B55;
    --turquoise: #00A6A6;
    --turquoise-light: #35B9D6;
    --sand: #F4E7D3;
    --sand-light: #FBF7F1;
    --white: #FFFFFF;
    --success: #16A34A;
    --success-light: #22C55E;

    --dark: #102A43;
    --text: #52606D;
    --light-text: #7B8794;
    --border: #E3EAF0;

    --shadow: 0 12px 35px rgba(6, 57, 112, 0.10);
}


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--sand-light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* ==========================================
   CONTENEDOR
========================================== */

.container {
    width: min(1150px, 92%);
    margin: 0 auto;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--border);
}

.nav-content {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* ==========================================
   LOGO CANASUN
========================================== */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-image {
    width: 165px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
    display: block;
}


/* MENÚ */

.navbar nav {
    display: flex;
    gap: 26px;
}

.navbar nav a {
    position: relative;

    font-size: 14px;
    font-weight: 700;

    color: var(--dark);

    transition: color 0.25s ease;
}

.navbar nav a:hover {
    color: var(--turquoise);
}


/* BOTÓN NAV */

.nav-button {
    padding: 11px 21px;

    border-radius: 10px;

    background: var(--ocean);
    color: var(--white);

    font-weight: 700;

    box-shadow:
        0 8px 20px
        rgba(6, 57, 112, 0.20);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nav-button:hover {
    background: var(--turquoise);
    transform: translateY(-2px);
}


/* ==========================================
   HERO
========================================== */

.hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 43, 85, 0.88),
            rgba(6, 57, 112, 0.55),
            rgba(0, 166, 166, 0.18)
        ),
        url("./img/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 790px;

    color: var(--white);
}


/* ETIQUETA HERO */

.hero-tag {
    display: inline-flex;

    padding: 9px 15px;

    border-radius: 50px;

    background: rgba(0, 166, 166, 0.20);

    border:
        1px solid
        rgba(255, 255, 255, 0.22);

    color: #E8FFFF;

    font-size: 12px;
    font-weight: 800;

    margin-bottom: 22px;

    backdrop-filter: blur(8px);
}


.hero h1 {
    font-size: clamp(40px, 5vw, 68px);

    line-height: 1.08;

    margin-bottom: 24px;

    letter-spacing: -1.5px;
}

.hero h1 span {
    display: block;
    color: #8CF3E8;
}

.hero p {
    max-width: 640px;

    font-size: 18px;

    color: rgba(255, 255, 255, 0.90);

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* ==========================================
   BOTONES GENERALES
========================================== */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 13px 25px;

    border-radius: 11px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* BOTÓN PRINCIPAL */

.primary-button {
    background:
        linear-gradient(
            135deg,
            var(--turquoise),
            var(--turquoise-light)
        );

    color: var(--white);

    border: none;

    box-shadow:
        0 12px 28px
        rgba(0, 166, 166, 0.28);
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 35px
        rgba(0, 166, 166, 0.35);
}


/* BOTÓN SECUNDARIO */

.secondary-button {
    color: var(--white);

    border:
        1px solid
        rgba(255, 255, 255, 0.45);

    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    background:
        rgba(255, 255, 255, 0.16);

    transform: translateY(-2px);
}


/* ==========================================
   SECCIONES
========================================== */

.tours-section,
.about-section,
.contact-section {
    padding: 95px 0;
}

.section-header {
    text-align: center;

    max-width: 680px;

    margin: 0 auto 52px;
}

.section-tag {
    display: inline-flex;

    padding: 8px 15px;

    border-radius: 50px;

    background: #E3F8F6;

    color: var(--turquoise);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.4px;

    margin-bottom: 15px;
}

.section-header h2,
.about-content h2,
.contact-content h2 {
    font-size: clamp(32px, 4vw, 48px);

    color: var(--ocean);

    margin-bottom: 15px;
}

.section-header p,
.about-content p,
.contact-content p {
    color: var(--text);
}


/* ==========================================
   TOURS
========================================== */

.tours-section {
    background: var(--sand-light);
}

.tours-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


/* TARJETA TOUR */

.tour-card {
    background: var(--white);

    border:
        1px solid
        rgba(6, 57, 112, 0.08);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 50px
        rgba(6, 57, 112, 0.16);
}


.tour-image {
    height: 230px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.06);
}


.tour-info {
    padding: 23px;
}

.tour-info h3 {
    color: var(--ocean);

    font-size: 20px;

    margin-bottom: 10px;
}

.tour-info p {
    color: var(--text);

    font-size: 14px;

    margin-bottom: 20px;
}


.tour-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 18px;

    border-top:
        1px solid
        var(--border);
}

.tour-bottom small {
    display: block;

    color: var(--light-text);
}

.tour-bottom strong {
    color: var(--ocean);

    font-size: 20px;
}


/* BOTÓN TOUR */

.tour-button {
    border: none;

    background: var(--ocean);

    color: var(--white);

    padding: 11px 17px;

    border-radius: 9px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.tour-button:hover {
    background: var(--turquoise);

    transform: translateY(-2px);
}


/* ==========================================
   OPINIONES DE CLIENTES
========================================== */

.reviews-section {
    padding: 95px 0;

    background:
        linear-gradient(
            180deg,
            #F4FFFE 0%,
            #FFFFFF 100%
        );
}


/* RESUMEN */

.reviews-summary {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 28px;

    margin-bottom: 45px;

    padding: 25px 30px;

    background: #FFFFFF;

    border:
        1px solid
        rgba(0, 166, 166, 0.12);

    border-radius: 18px;

    box-shadow:
        0 15px 35px
        rgba(6, 57, 112, 0.08);
}


/* AVATARES SUPERPUESTOS */

.avatars-group {
    display: flex;

    align-items: center;
}

.mini-avatar {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-left: -12px;

    border-radius: 50%;

    border: 3px solid #FFFFFF;

    color: #FFFFFF;

    font-size: 12px;

    font-weight: 900;

    box-shadow:
        0 5px 12px
        rgba(0, 0, 0, 0.12);

    transition: transform 0.25s ease;
}

.mini-avatar:first-child {
    margin-left: 0;
}

.mini-avatar:hover {
    transform:
        translateY(-5px)
        scale(1.08);

    position: relative;
    z-index: 10;
}


/* COLORES AVATARES */

.avatar-1 {
    background:
        linear-gradient(
            135deg,
            #063970,
            #35B9D6
        );
}

.avatar-2 {
    background:
        linear-gradient(
            135deg,
            #00A6A6,
            #35B9D6
        );
}

.avatar-3 {
    background:
        linear-gradient(
            135deg,
            #0B5E8E,
            #00A6A6
        );
}

.avatar-4 {
    background:
        linear-gradient(
            135deg,
            #0A3D62,
            #1687A7
        );
}

.avatar-5 {
    background:
        linear-gradient(
            135deg,
            #127C80,
            #4BC0C8
        );
}


/* CALIFICACIÓN */

.reviews-rating {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 3px;
}

.rating-stars {
    color: #F4B942;

    font-size: 21px;

    letter-spacing: 2px;
}

.reviews-rating strong {
    color: var(--ocean);

    font-size: 18px;
}

.reviews-rating span {
    color: var(--light-text);

    font-size: 13px;
}


/* GRID */

.reviews-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


/* TARJETA OPINIÓN */

.review-card {
    position: relative;

    padding: 25px;

    background: #FFFFFF;

    border:
        1px solid
        rgba(6, 57, 112, 0.08);

    border-radius: 18px;

    box-shadow:
        0 12px 30px
        rgba(6, 57, 112, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(0, 166, 166, 0.25);

    box-shadow:
        0 22px 45px
        rgba(6, 57, 112, 0.13);
}


/* PARTE SUPERIOR */

.review-top {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 18px;
}


/* AVATAR PRINCIPAL */

.review-avatar {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #FFFFFF;

    font-weight: 900;

    font-size: 14px;

    box-shadow:
        0 7px 16px
        rgba(6, 57, 112, 0.15);
}


.review-user h3 {
    color: var(--ocean);

    font-size: 16px;

    margin-bottom: 3px;
}


/* ESTRELLAS */

.review-stars {
    display: flex;

    gap: 2px;

    color: #F4B942;

    font-size: 17px;

    line-height: 1;
}

.review-stars .empty-star {
    color: #D8E1E6;
}


/* TEXTO OPINIÓN */

.review-card p {
    color: var(--text);

    font-size: 14px;

    line-height: 1.7;

    margin: 0;
}


/* ==========================================
   NOSOTROS - DISEÑO LIMPIO Y PROFESIONAL
========================================== */

.about-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #1498C0 0%,
            #087AA8 35%,
            #07518A 70%,
            #063B70 100%
        );

    color: #FFFFFF;
}

.about-section::before {
    content: "";
    position: absolute;

    width: 600px;
    height: 600px;

    top: -300px;
    left: -250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    filter: blur(90px);

    pointer-events: none;
}

.about-section::after {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    bottom: -300px;
    right: -200px;

    border-radius: 50%;

    background: rgba(0, 210, 230, 0.08);

    filter: blur(90px);

    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 2;

    width: min(1100px, calc(100% - 40px));

    margin: 0 auto;
}

.about-content .section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 22px;
    margin-bottom: 28px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.20);

    color: #B9F8FF;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;

    backdrop-filter: blur(8px);
}

.about-content h2 {
    max-width: 950px;

    margin: 0 auto 28px;

    color: #FFFFFF;

    font-size: clamp(36px, 5vw, 58px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.about-content h2 span {
    color: #48E3ED;
}

.about-content > p {
    max-width: 900px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.86);

    font-size: 18px;

    line-height: 1.75;

    font-weight: 400;
}

.about-content > p strong {
    color: #FFFFFF;
    font-weight: 800;
}

.about-benefits {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-top: 65px;

    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-benefit {
    position: relative;

    padding: 32px 25px 10px;

    text-align: left;
}

.about-benefit:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 30px;
    right: 0;

    width: 1px;
    height: 100px;

    background: rgba(255, 255, 255, 0.20);
}

.about-benefit-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #FFFFFF;

    font-size: 24px;
}

.about-benefit h3 {
    margin: 0 0 8px;

    color: #FFFFFF;

    font-size: 18px;

    line-height: 1.25;

    font-weight: 800;
}

.about-benefit p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;

    line-height: 1.55;
}

@media (max-width: 900px) {

    .about-section {
        padding: 80px 0;
    }

    .about-content {
        width: min(100% - 32px, 760px);
    }

    .about-content h2 {
        font-size: clamp(34px, 6vw, 48px);
    }

    .about-content > p {
        font-size: 17px;
    }

    .about-benefits {
        grid-template-columns: repeat(2, 1fr);
        border-top: none;
    }

    .about-benefit {
        padding: 25px 20px;
    }

    .about-benefit:nth-child(1),
    .about-benefit:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .about-benefit:nth-child(2)::after,
    .about-benefit:nth-child(4)::after {
        display: none;
    }
}

@media (max-width: 600px) {

    .about-section {
        padding: 70px 0;
    }

    .about-content {
        width: calc(100% - 30px);
    }

    .about-content .section-tag {
        font-size: 12px;
        padding: 9px 17px;
        margin-bottom: 22px;
    }

    .about-content h2 {
        font-size: 34px;
        line-height: 1.12;
        letter-spacing: -0.8px;
        margin-bottom: 22px;
    }

    .about-content > p {
        font-size: 16px;
        line-height: 1.65;
    }

    .about-benefits {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .about-benefit {
        padding: 24px 10px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .about-benefit:last-child {
        border-bottom: none;
    }

    .about-benefit::after {
        display: none !important;
    }

    .about-benefit-icon {
        margin: 0 auto 14px;
    }

    .about-benefit h3 {
        font-size: 17px;
    }

    .about-benefit p {
        font-size: 14px;
    }
}


/* ==========================================
   CONTACTO
========================================== */



.contact-section {
    text-align: center;

    background:
        linear-gradient(
            180deg,
            var(--white),
            #F0FAFA
        );
}

.contact-content {
    max-width: 700px;
}

.contact-content p {
    margin-bottom: 28px;
}


/* ==========================================
   MODALES
========================================== */

.modal,
.success-modal {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(4, 43, 85, 0.75);

    backdrop-filter: blur(9px);
}

.modal.active {
    display: flex;
}


/* ==========================================
   MODAL RESERVA
========================================== */

.booking-modal {
    position: relative;

    width: min(720px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    background: var(--white);

    border-radius: 24px;

    padding: 38px;

    border:
        1px solid
        rgba(255, 255, 255, 0.45);

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.35);
}


/* CERRAR */

.modal-close {
    position: absolute;

    top: 16px;
    right: 18px;

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background: #EFF6F8;

    color: var(--ocean);

    font-size: 25px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.modal-close:hover {
    background: #DDF4F2;

    transform: rotate(90deg);
}


.modal-header {
    text-align: center;

    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--ocean);

    font-size: 32px;

    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text);
}


/* ==========================================
   FORMULARIO
========================================== */

#bookingForm {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-group label {
    color: var(--dark);

    font-size: 14px;

    font-weight: 800;
}


/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    background: #FFFFFF;

    border:
        1px solid
        #DCE7EB;

    border-radius: 11px;

    padding: 13px 14px;

    color: var(--dark);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #A7D9D8;
}


/* FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--turquoise);

    box-shadow:
        0 0 0 4px
        rgba(0, 166, 166, 0.12);

    background: #FCFFFF;
}


.phone-help {
    color: var(--light-text);

    font-size: 12px;
}


/* ==========================================
   BOTÓN ENVIAR INTERACTIVO
========================================== */

.submit-booking {
    position: relative;

    width: 100%;

    min-height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    overflow: hidden;

    border: none;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--ocean),
            var(--turquoise)
        );

    color: var(--white);

    font-weight: 800;

    font-size: 16px;

    letter-spacing: 0.2px;

    cursor: pointer;

    box-shadow:
        0 14px 30px
        rgba(6, 57, 112, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.submit-booking:hover:not(:disabled) {
    transform: translateY(-3px);

    box-shadow:
        0 20px 40px
        rgba(0, 166, 166, 0.30);
}


.submit-booking:active:not(:disabled) {
    transform: scale(0.97);
}


.button-icon {
    position: relative;

    z-index: 2;

    font-size: 19px;

    transition:
        transform 0.3s ease;
}

.submit-booking:hover .button-icon {
    transform:
        translateX(6px)
        translateY(-2px)
        rotate(-8deg);
}


.button-text {
    position: relative;
    z-index: 2;
}


/* BRILLO */

.button-shine {
    position: absolute;

    top: 0;
    left: -130%;

    width: 65%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );

    transform:
        skewX(-25deg);

    transition:
        left 0.75s ease;
}

.submit-booking:hover .button-shine {
    left: 150%;
}


/* ==========================================
   ESTADO CARGANDO
========================================== */

.submit-booking.loading {
    background:
        linear-gradient(
            135deg,
            var(--ocean-dark),
            var(--ocean)
        );

    pointer-events: none;
}

.submit-booking.loading .button-icon {
    animation:
        planeLoading
        1s ease-in-out infinite;
}


@keyframes planeLoading {

    0% {
        transform:
            translateX(0)
            rotate(-10deg);
    }

    50% {
        transform:
            translateX(8px)
            translateY(-2px)
            rotate(7deg);
    }

    100% {
        transform:
            translateX(0)
            rotate(-10deg);
    }
}


/* ==========================================
   ESTADO EXITOSO
========================================== */

.submit-booking.success {
    background:
        linear-gradient(
            135deg,
            #15803D,
            var(--success-light)
        );

    box-shadow:
        0 14px 32px
        rgba(34, 197, 94, 0.28);

    animation:
        submitSuccess
        0.55s
        cubic-bezier(
            0.175,
            0.885,
            0.32,
            1.275
        );
}


@keyframes submitSuccess {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}


/* CHECK BOTÓN */

.submit-booking.success .button-icon {
    font-size: 0;
}

.submit-booking.success .button-icon::after {
    content: "✓";

    font-size: 22px;

    animation:
        buttonCheckPop
        0.4s ease forwards;
}


@keyframes buttonCheckPop {

    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* ==========================================
   MODAL DE ÉXITO
========================================== */

.success-modal {
    z-index: 9999;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 166, 166, 0.18),
            rgba(4, 43, 85, 0.88)
        );
}

.success-modal.active {
    display: flex;

    animation:
        overlayFadeIn
        0.35s ease forwards;
}


/* ==========================================
   TARJETA CONFIRMACIÓN
========================================== */

.success-box {
    position: relative;

    width: min(460px, 100%);

    overflow: hidden;

    padding: 55px 35px 38px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F4FFFE 100%
        );

    border:
        1px solid
        rgba(0, 166, 166, 0.18);

    border-radius: 28px;

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.38),
        0 0 60px
        rgba(0, 166, 166, 0.12);

    animation:
        bankCardEnter
        0.55s
        cubic-bezier(
            0.175,
            0.885,
            0.32,
            1.275
        )
        forwards;
}


/* ICONO ÉXITO */

.success-icon {
    position: relative;

    width: 110px;
    height: 110px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto 28px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #15803D,
            var(--success-light)
        );

    box-shadow:
        0 15px 35px
        rgba(34, 197, 94, 0.32);
}


/* ONDAS */

.success-icon::before,
.success-icon::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    z-index: -1;
}

.success-icon::before {
    width: 140px;
    height: 140px;

    border:
        2px solid
        rgba(34, 197, 94, 0.22);

    animation:
        bankPulse
        2s infinite;
}

.success-icon::after {
    width: 170px;
    height: 170px;

    border:
        1px solid
        rgba(0, 166, 166, 0.16);

    animation:
        bankPulse
        2s infinite 0.45s;
}


/* CHECK GRANDE */

.check {
    width: 42px;
    height: 24px;

    border-left:
        6px solid var(--white);

    border-bottom:
        6px solid var(--white);

    transform:
        rotate(-45deg)
        scale(0);

    animation:
        drawCheck
        0.5s ease
        0.35s forwards;
}


/* TEXTO ÉXITO */

.success-box h2 {
    color: var(--ocean);

    font-size: 30px;

    margin-bottom: 12px;
}

.success-box p {
    color: var(--text);

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 8px;
}

.success-box .primary-button {
    width: 100%;

    margin-top: 25px;

    min-height: 54px;
}


/* ==========================================
   ANIMACIONES MODAL
========================================== */

@keyframes overlayFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes bankCardEnter {

    0% {
        opacity: 0;

        transform:
            translateY(35px)
            scale(0.92);
    }

    70% {
        opacity: 1;

        transform:
            translateY(-4px)
            scale(1.02);
    }

    100% {
        transform:
            translateY(0)
            scale(1);
    }
}


@keyframes bankPulse {

    0% {
        transform: scale(0.75);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}


@keyframes drawCheck {

    0% {
        transform:
            rotate(-45deg)
            scale(0);

        opacity: 0;
    }

    70% {
        transform:
            rotate(-45deg)
            scale(1.15);

        opacity: 1;
    }

    100% {
        transform:
            rotate(-45deg)
            scale(1);

        opacity: 1;
    }
}


/* ==========================================
   FOOTER
========================================== */

footer {
    background:
        linear-gradient(
            135deg,
            var(--ocean-dark),
            var(--ocean)
        );

    color: var(--white);

    padding: 48px 0;
}

.footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

footer .logo {
    color: var(--white);

    display: inline-block;

    margin-bottom: 6px;
}

footer .logo span {
    color: #70F1E7;
}

.footer-content p {
    color:
        rgba(255, 255, 255, 0.65);

    font-size: 14px;
}


/* ==========================================
   RESPONSIVE TABLET
========================================== */

@media (max-width: 900px) {

    .tours-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* ==========================================
   RESPONSIVE CELULAR
========================================== */

@media (max-width: 650px) {

    .navbar nav {
        display: none;
    }

    .nav-content {
        min-height: 68px;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-section {
        padding: 75px 0;
    }

    .reviews-summary {
        flex-direction: column;

        text-align: center;

        gap: 18px;

        padding: 25px 18px;
    }

    .reviews-rating {
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .booking-modal {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-section {
        padding: 75px 0;
    }

    .about-section::before {
        width: 350px;
        height: 350px;

        top: -180px;
        left: -180px;
    }

    .about-section::after {
        width: 320px;
        height: 320px;

        bottom: -180px;
        right: -150px;
    }
}


/* ==========================================
   CELULARES PEQUEÑOS
========================================== */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 37px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .success-box {
        padding:
            50px 22px 30px;
    }

    .success-icon {
        width: 95px;
        height: 95px;
    }

    .success-box h2 {
        font-size: 26px;
    }
}


@media (max-width: 420px) {

    .mini-avatar {
        width: 42px;
        height: 42px;

        margin-left: -10px;

        font-size: 11px;
    }

    .review-card {
        padding: 21px;
    }

    .reviews-summary {
        padding: 22px 14px;
    }
}
/* =========================================================
   RESPONSIVE FINAL — CANASUN
   Ajustes para móviles, tablets y pantallas pequeñas.
   Este bloque sobrescribe únicamente medidas responsive.
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

/* TABLET / LAPTOP PEQUEÑA */
@media (max-width: 1100px) {

    .container {
        width: min(100% - 36px, 1050px);
    }

    .nav-content {
        gap: 18px;
    }

    .navbar nav {
        gap: 18px;
    }

    .logo-image {
        width: 150px;
    }

    .hero-content {
        max-width: 720px;
    }

    .tours-grid,
    .reviews-grid {
        gap: 18px;
    }
}

/* TABLET */
@media (max-width: 900px) {

    .container {
        width: calc(100% - 32px);
    }

    .navbar nav {
        gap: 14px;
    }

    .navbar nav a {
        font-size: 13px;
    }

    .nav-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero {
        min-height: 600px;
        background-position: 58% center;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero h1 {
        font-size: clamp(40px, 6vw, 56px);
    }

    .hero p {
        max-width: 560px;
        font-size: 17px;
    }

    .tours-section,
    .about-section,
    .contact-section,
    .reviews-section {
        padding: 78px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .tour-image {
        height: 215px;
    }

    .reviews-summary {
        gap: 20px;
    }

    .booking-modal {
        width: min(680px, 100%);
        max-height: 90vh;
        padding: 34px 28px;
    }
}

/* MÓVIL */
@media (max-width: 650px) {

    .container {
        width: calc(100% - 28px);
    }

    .navbar {
        position: sticky;
    }

    .nav-content {
        min-height: 66px;
        gap: 10px;
    }

    .logo-image {
        width: 142px;
        max-height: 56px;
    }

    /* En móvil se ocultan los enlaces para evitar que el header se comprima. */
    .navbar nav {
        display: none;
    }

    .nav-button {
        padding: 9px 14px;
        border-radius: 9px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero {
        min-height: 590px;
        padding: 70px 0;
        background-position: 62% center;
    }

    .hero-content {
        width: 100%;
        max-width: none;
    }

    .hero-tag {
        max-width: 100%;
        padding: 8px 12px;
        margin-bottom: 18px;
        font-size: 10px;
        line-height: 1.4;
    }

    .hero h1 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.08;
        letter-spacing: -1px;
        margin-bottom: 18px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 26px;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 11px;
    }

    .hero-buttons .primary-button,
    .hero-buttons .secondary-button {
        width: 100%;
        min-height: 52px;
    }

    .tours-section,
    .about-section,
    .contact-section,
    .reviews-section {
        padding: 68px 0;
    }

    .section-header {
        width: 100%;
        margin-bottom: 34px;
    }

    .section-tag {
        padding: 7px 13px;
        font-size: 10px;
    }

    .section-header h2,
    .about-content h2,
    .contact-content h2 {
        font-size: clamp(30px, 8.5vw, 38px);
        line-height: 1.12;
        letter-spacing: -0.8px;
    }

    .section-header p,
    .contact-content p {
        font-size: 15px;
        line-height: 1.65;
    }

    /* TOURS */
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tour-card {
        border-radius: 17px;
    }

    .tour-image {
        height: 205px;
    }

    .tour-info {
        padding: 20px;
    }

    /* OPINIONES */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reviews-summary {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        margin-bottom: 32px;
        padding: 22px 16px;
        border-radius: 16px;
    }

    .reviews-rating {
        align-items: center;
    }

    .avatars-group {
        justify-content: center;
    }

    .review-card {
        padding: 21px;
        border-radius: 16px;
    }

    /* SOBRE NOSOTROS */
    .about-section {
        padding: 70px 0;
    }

    .about-content {
        width: calc(100% - 28px);
    }

    .about-content h2 {
        font-size: clamp(31px, 8.5vw, 40px);
        line-height: 1.12;
        margin-bottom: 20px;
    }

    .about-content > p {
        font-size: 15.5px;
        line-height: 1.7;
    }

    .about-benefits {
        grid-template-columns: 1fr;
        margin-top: 38px;
    }

    .about-benefit {
        padding: 23px 8px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .about-benefit:last-child {
        border-bottom: none;
    }

    .about-benefit::after {
        display: none !important;
    }

    .about-benefit-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 13px;
        font-size: 21px;
    }

    .about-benefit h3 {
        font-size: 16px;
    }

    .about-benefit p {
        font-size: 13px;
    }

    /* CONTACTO */
    .contact-content {
        width: 100%;
    }

    .contact-content .primary-button {
        width: 100%;
        max-width: 380px;
    }

    /* MODAL */
    .modal,
    .success-modal {
        padding: 12px;
        align-items: center;
    }

    .booking-modal {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 30px 18px 22px;
        border-radius: 19px;
    }

    .modal-close {
        top: 11px;
        right: 11px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .modal-header {
        padding: 0 28px;
        margin-bottom: 24px;
    }

    .modal-header h2 {
        font-size: 27px;
        line-height: 1.15;
    }

    .modal-header p {
        font-size: 14px;
        line-height: 1.55;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #bookingForm {
        gap: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .submit-booking {
        min-height: 54px;
    }

    /* ÉXITO */
    .success-box {
        width: 100%;
        max-width: 430px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        padding: 48px 22px 28px;
        border-radius: 22px;
    }

    .success-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 23px;
    }

    .success-box h2 {
        font-size: 25px;
    }

    .success-box p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* FOOTER */
    footer {
        padding: 38px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

/* TELÉFONOS PEQUEÑOS */
@media (max-width: 420px) {

    .container {
        width: calc(100% - 22px);
    }

    .logo-image {
        width: 132px;
    }

    .nav-button {
        padding: 8px 11px;
        font-size: 11px;
    }

    .hero {
        min-height: 560px;
        padding: 58px 0;
    }

    .hero h1 {
        font-size: 33px;
    }

    .hero p {
        font-size: 15px;
    }

    .tours-section,
    .about-section,
    .contact-section,
    .reviews-section {
        padding: 58px 0;
    }

    .tour-image {
        height: 185px;
    }

    .section-header h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 30px;
    }

    .about-content h2 {
        font-size: 31px;
    }

    .about-content > p {
        font-size: 15px;
    }

    .booking-modal {
        padding-left: 15px;
        padding-right: 15px;
    }

    .modal-header {
        padding: 0 22px;
    }

    .success-box {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* MUY PEQUEÑO — 360px */
@media (max-width: 360px) {

    .nav-content {
        min-height: 62px;
    }

    .logo-image {
        width: 122px;
    }

    .nav-button {
        padding: 7px 9px;
        font-size: 10px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-tag {
        font-size: 9px;
    }

    .about-content h2 {
        font-size: 29px;
    }
}

/* ACCESIBILIDAD: reducir movimiento si el dispositivo lo solicita */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   CORRECCIÓN RESPONSIVE REAL — HERO / MÓVIL
   Evita cortes de texto y desbordamientos en teléfonos.
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero,
.hero-content,
.hero h1,
.hero p,
.hero-buttons {
    min-width: 0;
    max-width: 100%;
}

.hero h1,
.hero h1 span {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

@media (max-width: 767px) {

    .container {
        width: calc(100% - 32px);
        max-width: none;
    }

    .hero {
        min-height: auto;
        padding: 72px 0 64px;
        background-position: 62% center;
    }

    .hero-content {
        width: 100%;
        padding: 0;
    }

    .hero-tag {
        display: inline-flex;
        max-width: 100%;
        padding: 8px 12px;
        font-size: clamp(9px, 2.8vw, 11px);
        line-height: 1.35;
        white-space: normal;
        text-align: left;
    }

    .hero h1 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
        font-size: clamp(32px, 9.5vw, 48px);
        line-height: 1.06;
        letter-spacing: -1px;
    }

    .hero h1 span {
        display: inline;
        color: #8CF3E8;
    }

    .hero p {
        width: 100%;
        max-width: 560px;
        margin-bottom: 27px;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 11px;
    }

    .hero-buttons .primary-button,
    .hero-buttons .secondary-button {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    .container {
        width: calc(100% - 28px);
    }

    .hero {
        padding: 60px 0 54px;
    }

    .hero h1 {
        font-size: clamp(30px, 9.8vw, 40px);
        line-height: 1.07;
        letter-spacing: -0.7px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.55;
    }
}

@media (max-width: 360px) {

    .container {
        width: calc(100% - 24px);
    }

    .hero {
        padding: 54px 0 48px;
    }

    .hero-tag {
        font-size: 9px;
        padding: 7px 10px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.08;
    }

    .hero p {
        font-size: 14px;
    }
}


/* =========================================================
   CANASUN — NAVBAR RESPONSIVE FINAL
   Escritorio: navegación normal.
   Móvil: logo + botón ☰. Al abrir ☰ aparecen:
   Inicio, Servicios, Opiniones, Nosotros, Contacto y Reservar.
========================================================= */

/* MENÚ MÓVIL OCULTO EN ESCRITORIO */
.mobile-menu,
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 900px) {

    /* Navbar móvil */
    .navbar {
        width: 100%;
    }

    .nav-content {
        min-height: 68px;
        width: calc(100% - 28px);
        gap: 12px;
    }

    /* Logo */
    .logo-image {
        width: 145px;
        max-height: 58px;
    }

    /* Ocultar navegación de escritorio */
    .navbar .nav-content > nav {
        display: none !important;
    }

    /* Ocultar botón Reservar azul del escritorio */
    .navbar .nav-content > .nav-button {
        display: none !important;
    }

    /* Botón hamburguesa */
    .mobile-menu-toggle {
        display: flex !important;
        width: 44px;
        height: 44px;
        padding: 0;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 10px;
        background: var(--ocean);
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-menu-toggle span,
    .mobile-menu-toggle span::before,
    .mobile-menu-toggle span::after {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: #FFFFFF;
    }

    .mobile-menu-toggle span {
        position: relative;
    }

    .mobile-menu-toggle span::before,
    .mobile-menu-toggle span::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .mobile-menu-toggle span::before {
        top: -7px;
    }

    .mobile-menu-toggle span::after {
        top: 7px;
    }

    /* MENÚ MÓVIL CERRADO */
    .navbar > .mobile-menu {
        display: none !important;
        width: 100%;
        background: #FFFFFF;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 25px rgba(6, 57, 112, 0.10);
    }

    /* MENÚ MÓVIL ABIERTO */
    .navbar > .mobile-menu.is-open {
        display: block !important;
    }

    /* OPCIONES DEL MENÚ RESPONSIVE */
    .mobile-menu-links {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        padding: 8px 16px 14px;
        gap: 0;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 10px 8px;
        border-bottom: 1px solid var(--border);
        color: var(--dark);
        font-size: 15px;
        font-weight: 700;
    }

    .mobile-menu-links a:last-child {
        border-bottom: 0;
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a:focus {
        color: var(--turquoise);
    }

    /* Reservar dentro del menú móvil */
    .mobile-menu-links .mobile-reserve {
        justify-content: center;
        margin-top: 10px;
        min-height: 46px;
        border: 0;
        border-radius: 10px;
        background: var(--ocean);
        color: #FFFFFF;
    }

    .mobile-menu-links .mobile-reserve:hover,
    .mobile-menu-links .mobile-reserve:focus {
        background: var(--turquoise);
        color: #FFFFFF;
    }
}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {

    .nav-content {
        min-height: 64px;
        width: calc(100% - 24px);
    }

    .logo-image {
        width: 135px;
        max-height: 55px;
    }

    .mobile-menu-links {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mobile-menu-links a {
        font-size: 14px;
        min-height: 46px;
    }
}

/* ESCRITORIO */
@media (min-width: 901px) {

    .navbar .mobile-menu,
    .navbar .mobile-menu-toggle {
        display: none !important;
    }
}

/* =========================================================
   CANASUN FOOTER — MODERNO / SIMPLE / COMPACTO
========================================================= */

.canasun-footer{width:100%;background:#063970;color:#fff;font-family:"Inter",sans-serif;}
.canasun-footer-main{display:grid;grid-template-columns:1.15fr .65fr 1.35fr 1.25fr;align-items:center;gap:35px;min-height:190px;padding:35px 0;}
.canasun-footer-brand{display:flex;flex-direction:column;align-items:flex-start;}
.canasun-footer-logo{display:block;text-decoration:none;}
.canasun-footer-logo img{display:block;width:175px;height:auto;max-height:75px;object-fit:contain;}
.canasun-footer-brand>span{margin-top:8px;color:rgba(255,255,255,.58);font-size:9px;font-weight:600;letter-spacing:2px;}
.canasun-footer-nav{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding-left:28px;border-left:1px solid rgba(255,255,255,.15);}
.canasun-footer-nav a{color:rgba(255,255,255,.82);font-size:14px;font-weight:600;text-decoration:none;transition:color .2s ease,transform .2s ease;}
.canasun-footer-nav a:hover{color:#35D8D1;transform:translateX(3px);}
.canasun-footer-contact{display:flex;flex-direction:column;gap:16px;padding-left:10px;}
.canasun-contact-link{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;}
.canasun-contact-icon{width:40px;height:40px;flex:0 0 40px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(53,216,209,.35);border-radius:50%;color:#35D8D1;background:rgba(0,166,166,.08);font-size:17px;}
.location-icon{position:relative;color:transparent;}
.location-icon::before{content:"";position:absolute;width:12px;height:16px;border:2px solid #35D8D1;border-radius:50% 50% 50% 0;transform:rotate(-45deg);}
.location-icon::after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#35D8D1;}
.canasun-contact-text{display:flex;flex-direction:column;}
.canasun-contact-text strong{color:#fff;font-size:14px;font-weight:700;line-height:1.35;}
.canasun-contact-text small{margin-top:3px;color:rgba(255,255,255,.55);font-size:12px;line-height:1.4;}
.canasun-footer-action{display:flex;justify-content:flex-end;}
.canasun-whatsapp-button{display:flex;align-items:center;gap:12px;width:100%;max-width:300px;min-height:54px;padding:0 20px;box-sizing:border-box;border-radius:8px;background:#16A34A;color:#fff;font-size:14px;font-weight:700;text-decoration:none;transition:background .2s ease,transform .2s ease;}
.canasun-whatsapp-button:hover{background:#12813B;transform:translateY(-2px);}
.whatsapp-icon{width:28px;height:28px;flex:0 0 28px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.65);border-radius:50%;font-size:14px;}
.whatsapp-arrow{margin-left:auto;font-size:21px;line-height:1;}
.canasun-footer-bottom{border-top:1px solid rgba(255,255,255,.13);}
.canasun-footer-bottom-content{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;padding:5px 0;}
.canasun-footer-bottom p{margin:0;color:rgba(255,255,255,.52);font-size:12px;}
.canasun-footer-country{display:flex;align-items:center;gap:9px;margin-left:auto;color:rgba(255,255,255,.78);font-size:12px;font-weight:500;}
.rd-flag{display:block;width:27px;height:18px;flex:0 0 27px;border-radius:2px;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.2);}
.canasun-back-top{width:38px;height:38px;flex:0 0 38px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.3);border-radius:50%;color:#fff;font-size:18px;text-decoration:none;transition:background .2s ease,transform .2s ease;}
.canasun-back-top:hover{background:#00A6A6;transform:translateY(-2px);}
@media(max-width:1050px){.canasun-footer-main{grid-template-columns:1fr 1fr;gap:30px}.canasun-footer-nav{border-left:none;padding-left:0}.canasun-footer-action{justify-content:flex-start}}
@media(max-width:650px){.canasun-footer-main{grid-template-columns:1fr;gap:25px;min-height:0;padding:35px 18px}.canasun-footer-brand{align-items:center;text-align:center}.canasun-footer-logo img{width:155px}.canasun-footer-nav{align-items:center;gap:9px;padding:20px 0;border-left:none;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}.canasun-footer-nav a{font-size:14px}.canasun-footer-contact{padding-left:0;width:max-content;max-width:100%;margin:0 auto}.canasun-footer-action{justify-content:center}.canasun-whatsapp-button{max-width:340px}.canasun-footer-bottom-content{flex-direction:column;justify-content:center;gap:11px;min-height:0;padding:18px 15px;text-align:center}.canasun-footer-country{margin-left:0}.canasun-back-top{order:-1}}
@media(max-width:420px){.canasun-footer-main{padding-left:12px;padding-right:12px}.canasun-footer-logo img{width:145px}.canasun-footer-nav a{font-size:13px}.canasun-contact-text strong{font-size:13px}.canasun-contact-text small{font-size:11px}.canasun-whatsapp-button{min-height:50px;font-size:13px}}


/* =========================================================
   ICONOS SVG — FOOTER CANASUN
========================================================= */

.canasun-contact-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(53,216,209,0.35);
    border-radius: 50%;
    background: rgba(0,166,166,0.08);
    color: #35D8D1;
}

.canasun-contact-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.location-icon svg {
    width: 21px;
    height: 21px;
    display: block;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.whatsapp-icon svg {
    width: 29px;
    height: 29px;
    display: block;
}

.canasun-whatsapp-button {
    background: #16A34A;
}

.canasun-whatsapp-button:hover {
    background: #12813B;
}


/* =========================================================
   CANASUN — ICONOS FINALES DEL FOOTER
   SVG PROPORCIONADOS Y LIMPIOS
========================================================= */

.canasun-contact-icon {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid rgba(53, 216, 209, 0.35) !important;
    border-radius: 50% !important;

    background: rgba(0, 166, 166, 0.06) !important;

    color: #35D8D1 !important;
}

.canasun-contact-icon svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
}

.location-icon svg {
    width: 20px !important;
    height: 20px !important;
}


/* WhatsApp: icono real, pequeño y proporcionado */
.whatsapp-icon {
    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #FFFFFF !important;
}

.whatsapp-icon svg {
    display: block !important;
    width: 29px !important;
    height: 29px !important;
}


/* Botón WhatsApp sólido */
.canasun-whatsapp-button {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 300px !important;
    min-height: 52px !important;

    padding: 0 18px !important;
    box-sizing: border-box !important;

    border: 0 !important;
    border-radius: 8px !important;

    background: #16A34A !important;
    color: #FFFFFF !important;

    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    transition: background .2s ease, transform .2s ease !important;
}

.canasun-whatsapp-button:hover {
    background: #12813B !important;
    transform: translateY(-2px) !important;
}

.whatsapp-text {
    margin-left: 1px !important;
    white-space: nowrap !important;
}

.whatsapp-arrow {
    margin-left: auto !important;
    font-size: 21px !important;
    line-height: 1 !important;
}


/* =========================================================
   CANASUN — CORRECCIÓN DEFINITIVA DE ICONOS Y BANDERA
   Este bloque anula cualquier estilo anterior conflictivo.
========================================================= */

/* ---- Iconos de contacto ---- */
.canasun-contact-icon {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex: 0 0 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid rgba(53,216,209,.35) !important;
    border-radius: 50% !important;
    background: rgba(0,166,166,.06) !important;
    color: #35D8D1 !important;
    box-sizing: border-box !important;
}

/* Elimina los pseudo-elementos viejos que deformaban el pin */
.canasun-contact-icon::before,
.canasun-contact-icon::after,
.location-icon::before,
.location-icon::after {
    content: none !important;
    display: none !important;
}

.canasun-contact-icon svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
    max-width: none !important;
    max-height: none !important;
}

/* ---- WhatsApp ---- */
.canasun-whatsapp-button {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 300px !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #16A34A !important;
    color: #FFFFFF !important;
    box-sizing: border-box !important;
}

.whatsapp-icon {
    position: relative !important;
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    flex: 0 0 27px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FFFFFF !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.whatsapp-icon::before,
.whatsapp-icon::after {
    content: none !important;
    display: none !important;
}

.whatsapp-icon svg {
    display: block !important;
    width: 27px !important;
    height: 27px !important;
    max-width: none !important;
    max-height: none !important;
}

.whatsapp-text {
    display: block !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.whatsapp-arrow {
    margin-left: auto !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

/* ---- Bandera RD: construida con CSS, sin depender del SVG/emoji ---- */
.canasun-footer-country {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-left: auto !important;
}

.rd-flag {
    position: relative !important;
    display: block !important;
    width: 30px !important;
    height: 20px !important;
    min-width: 30px !important;
    flex: 0 0 30px !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    background:
        linear-gradient(to right,
            #002D62 0 45%,
            #FFFFFF 45% 55%,
            #CE1126 55% 100%) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.22) !important;
}

.rd-flag::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(to bottom,
            transparent 0 45%,
            #FFFFFF 45% 55%,
            transparent 55% 100%) !important;
    pointer-events: none !important;
}

.rd-flag::after {
    content: "" !important;
    position: absolute !important;
    left: 45% !important;
    top: 45% !important;
    width: 10% !important;
    height: 10% !important;
    background: #FFFFFF !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.rd-flag i,
.rd-flag b,
.rd-flag em,
.rd-flag strong,
.rd-flag small {
    display: none !important;
}

/* ---- Compactar el footer ---- */
.canasun-footer-main {
    min-height: 180px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.canasun-footer-bottom-content {
    min-height: 56px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

@media (max-width: 650px) {
    .canasun-footer-main {
        min-height: 0 !important;
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .canasun-footer-country {
        margin-left: 0 !important;
    }
}


/* =========================================================
   CORRECCIÓN DEFINITIVA — BANDERA RD
   Usar SVG real; anula cualquier bandera CSS anterior.
========================================================= */

.canasun-footer .rd-flag {
    position: static !important;
    display: block !important;

    width: 30px !important;
    height: 20px !important;
    min-width: 30px !important;
    max-width: 30px !important;

    flex: 0 0 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 2px !important;

    overflow: hidden !important;

    background: #FFFFFF !important;

    box-shadow:
        0 0 0 1px rgba(255,255,255,.22) !important;

    object-fit: cover !important;
}

.canasun-footer .rd-flag::before,
.canasun-footer .rd-flag::after {
    content: none !important;
    display: none !important;
}

.canasun-footer .rd-flag * {
    display: initial !important;
}

.canasun-footer-country {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}
