/* styles.css */

/* =========================================================
   VARIABLES, RESET Y ESTILOS BASE
   Paleta moderna: azules, turquesas, blancos, acentos dorados
   Tipografía: Poppins + Playfair Display
========================================================= */

:root {
    /* Colores principales */
    --color-primary: #1b9aaa;         /* Turquesa suave */
    --color-primary-dark: #127481;    /* Turquesa más profundo */
    --color-secondary: #ffb347;       /* Naranja-dorado suave */
    --color-secondary-dark: #f39c12;  /* Naranja más intenso */
    --color-accent: #ffd369;          /* Toque dorado */

    /* Neutros */
    --color-bg: #f5f7fb;
    --color-bg-soft: #ffffff;
    --color-bg-accent: #e9f5f6;
    --color-text: #1f2933;
    --color-text-soft: #6b7280;
    --color-border-soft: rgba(0, 0, 0, 0.06);

    /* Sombras y efectos */
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.10);
    --shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.16);

    /* Tipografías */
    --font-base: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', 'Times New Roman', serif;

    /* Medidías */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --transition-fast: 0.25s ease;
    --transition-med: 0.4s ease;
    --max-width: 1200px;

    /* Z-index */
    --z-header: 1000;
    --z-overlay: 900;
    --z-modal: 1001;
    --z-backtotop: 950;
}

/* Reset básico */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

/* Quitar estilos por defecto */

h1, h2, h3, h4, h5, h6, p,
ul, ol, li, figure {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

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

img {
    max-width: 100%;
    display: block;
}

/* Contenedor global */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   HEADER Y NAVEGACIÓN
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: var(--z-header);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 20px;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-soft);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.02em;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--color-text-soft);
}

/* Navegaci�n escritorio */

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-soft);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 999px;
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta .btn-outline {
    padding: 8px 18px;
    font-size: 13px;
}

/* Menú� hamburguesa */

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger-line {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 999px;
    transition: all var(--transition-fast);
}

.burger.open .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.open .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Menú móvil */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 100px 20px 40px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 18px;
    max-width: 280px;
    margin: 0 auto;
}

.mobile-nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list li:last-child {
    border-bottom: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(27, 154, 170, 0.3);
}

.mobile-nav-link {
    display: block;
    padding: 18px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    transition: all var(--transition-fast);
    border-radius: 8px;
    margin: 2px 0;
}

.mobile-nav-link.highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(27, 154, 170, 0.3);
}

.mobile-nav-link:hover:not(.highlight) {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(8px);
}

.mobile-nav-link.highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 154, 170, 0.4);
}

/* Overlay compartido */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    z-index: var(--z-overlay);
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   BOTONES GENERALES
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-primary-dark);
    border: 1px solid rgba(27, 154, 170, 0.2);
}

.btn-secondary:hover {
    background: var(--color-bg-accent);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary-dark);
    border: 1px solid rgba(27, 154, 170, 0.4);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-primary-dark);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.btn-link:hover {
    color: var(--color-secondary-dark);
}

.full-width {
    width: 100%;
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: #020817;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.75;
    filter: saturate(1.1) contrast(1.03);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(27, 154, 170, 0.35), transparent),
                linear-gradient(to bottom, rgba(2, 6, 23, 0.52), rgba(2, 6, 23, 0.92));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1.2fr);
    gap: 40px;
    align-items: center;
    padding: 70px 20px 40px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-text h1 span {
    color: var(--color-accent);
}

.hero-text p {
    font-size: 14px;
    color: #e5e7eb;
    margin-bottom: 22px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: #cbd5f5;
}

.hero-badges span {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 253, 0.22);
}

/* Formulario hero */

.hero-form {
    background: rgba(3, 7, 18, 0.9);
    border-radius: var(--radius-lg);
    padding: 20px 18px 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(148, 163, 253, 0.15);
    backdrop-filter: blur(20px);
}

.hero-form h2 {
    font-size: 17px;
    margin-bottom: 14px;
    font-weight: 500;
    color: #ffffff;
}

.quote-form .form-group {
    margin-bottom: 10px;
}

.quote-form label {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 3px;
}

.quote-form input {
    width: 100%;
    padding: 8px 9px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 253, 0.22);
    background: rgba(2, 6, 23, 0.96);
    color: #e5e7eb;
    font-size: 12px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.quote-form input::placeholder {
    color: #6b7280;
}

.quote-form input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px rgba(255, 211, 105, 0.18);
    background: rgba(2, 6, 23, 1);
}

#heroFormMessage {
    margin-top: 6px;
    font-size: 10px;
    color: var(--color-accent);
}

/* =========================================================
   SECCIONES GENERALES
========================================================= */

.section {
    padding: 70px 0 60px;
}

.section-accent {
    background: radial-gradient(circle at top, rgba(27, 154, 170, 0.12), transparent),
                #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 8px;
    color: #111827;
}

.section-header p {
    font-size: 13px;
    color: var(--color-text-soft);
}

/* =========================================================
   DESTINOS POPULARES
========================================================= */

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.destino-card {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
    border: 1px solid var(--color-border-soft);
    cursor: default;
}

.destino-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(27, 154, 170, 0.2);
}

.destino-img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.destino-img::after {
    content: "Top";
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 3px 10px;
    font-size: 9px;
    background: rgba(2, 6, 23, 0.76);
    color: #fff;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.destino-body {
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.destino-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.destino-body p {
    font-size: 12px;
    color: var(--color-text-soft);
}

.destino-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    font-size: 11px;
}

.precio-desde {
    color: var(--color-primary-dark);
    font-weight: 600;
}

.duracion {
    color: #9ca3af;
}

/* =========================================================
   PAQUETES Y OFERTAS
========================================================= */

.paquetes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.paquete-card {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: 18px 16px 16px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(148, 163, 253, 0.16);
    transition: all var(--transition-med);
}

.paquete-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.badge-oferta {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 9px;
    background: var(--color-secondary);
    color: #111827;
    font-size: 10px;
    font-weight: 600;
    border-radius: 999px;
}

.paquete-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #111827;
}

.paquete-card p {
    font-size: 12px;
    color: var(--color-text-soft);
    margin-bottom: 8px;
}

.paquete-lista {
    font-size: 11px;
    color: #4b5563;
    margin-bottom: 10px;
}

.paquete-lista li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
}

.paquete-lista li::before {
    content: "";
    position: absolute;
    left: 2px;
    color: var(--color-primary);
}

.paquete-precio {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.paquete-precio .antes {
    font-size: 10px;
    text-decoration: line-through;
    color: #9ca3af;
}

.paquete-precio .ahora {
    font-size: 14px;
    color: var(--color-primary-dark);
    font-weight: 600;
}

/* =========================================================
   TESTIMONIOS (CARRUSEL)
========================================================= */

.testimonios-wrapper {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: 22px 18px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border-soft);
    position: relative;
    overflow: hidden;
}

.testimonios-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
    will-change: transform;
}

.testimonio {
    min-width: 100%;
    padding-right: 12px;
}

.testimonio-text {
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 14px;
}

.testimonio-author {
    font-size: 11px;
    color: var(--color-text-soft);
}

.testimonio-author .nombre {
    display: block;
    font-weight: 600;
    color: #111827;
}

.testimonio-author .viaje {
    display: block;
}

.estrellas {
    color: #fbbf24;
    font-size: 12px;
    margin-top: 2px;
}

/* Controles carrusel */

.testimonios-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.carousel-btn {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: none;
    background: var(--color-bg-accent);
    color: var(--color-primary-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
    font-size: 17px;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

.dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d1d5db;
    transition: all var(--transition-fast);
}

.dots span.active {
    width: 16px;
    background: var(--color-primary);
}

/* =========================================================
   CONTACTO
========================================================= */

.section-contact {
    background: linear-gradient(to bottom, #f5f7fb, #e5f4f7);
}

.contact-container {
    max-width: 1120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr);
    gap: 30px;
    align-items: flex-start;
}

.contact-form-wrapper {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 253, 0.16);
}

.contact-form .form-group {
    margin-bottom: 10px;
}

.contact-form label {
    display: block;
    font-size: 11px;
    color: #4b5563;
    margin-bottom: 3px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 9px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 253, 0.35);
    font-size: 12px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    background: #ffffff;
    color: var(--color-text);
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(27, 154, 170, 0.12);
    background-color: #f9fafb;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
}

.error-message {
    font-size: 9px;
    color: #ef4444;
    min-height: 10px;
}

.form-success-message {
    margin-top: 6px;
    font-size: 10px;
    color: var(--color-primary-dark);
    min-height: 12px;
}

/* Contact info */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 12px;
    color: var(--color-text-soft);
}

.contact-info h3 {
    font-size: 14px;
    color: #111827;
    margin-bottom: 6px;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 4px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-links a {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 253, 0.4);
    color: var(--color-primary-dark);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.mini-highlight {
    padding: 10px 10px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 211, 105, 0.14), rgba(255, 255, 255, 1));
    border: 1px solid rgba(255, 211, 105, 0.4);
}

/* =========================================================
   MODAL DESTINOS
========================================================= */

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--transition-med), visibility var(--transition-med);
    z-index: var(--z-modal);
}

.modal.show {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(to bottom, #ffffff, #fafbff);
    max-width: 520px;
    width: 100%;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
    position: relative;
    transform: translateY(20px) scale(0.95);
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 28px 24px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 6px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.modal-location {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.modal-location::before {
    content: "📍";
    font-size: 16px;
}

.modal-body {
    padding: 28px 24px;
}

.modal-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-text);
}

.modal-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-highlights {
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 24px;
}

.modal-highlights li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.modal-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.modal-price {
    background: var(--color-bg-accent);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(27, 154, 170, 0.2);
}

.modal-price-label {
    font-size: 12px;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-price-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.modal-footer .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary-dark);
    transform: rotate(90deg);
}

@keyframes modalIn {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal {
        padding: 16px;
    }
    
    .modal-content {
        max-width: 100%;
    }
    
    .modal-header {
        padding: 24px 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

/* =========================================================
   BOTÓN VOLVER ARRIBA
========================================================= */

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary-dark));
    color: #ffffff;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: var(--z-backtotop);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #020817;
    color: #9ca3af;
    padding-top: 34px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.8fr;
    gap: 26px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 24px;
}

.footer-brand {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 11px;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 13px;
    color: #e5e7eb;
    margin-bottom: 8px;
}

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

.footer-links a {
    font-size: 11px;
    color: #9ca3af;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary);
    transform: translateX(2px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.newsletter-form input {
    padding: 7px 8px;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 253, 0.35);
    font-size: 11px;
    background: #020817;
    color: #e5e7eb;
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: #6b7280;
}

.newsletter-form input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 1px rgba(243, 156, 18, 0.14);
}

.footer-bottom {
    border-top: 1px solid rgba(75, 85, 99, 0.6);
    padding: 8px 20px 14px;
    text-align: center;
    font-size: 10px;
    color: #6b7280;
}

/* =========================================================
   ANIMACIONES SCROLL (REVEAL)
========================================================= */

[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(18px);
}

[data-animate="fade-left"].visible {
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(-18px);
}

[data-animate="fade-right"].visible {
    transform: translateX(0);
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

/* Tablets */

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1.8fr 1.6fr;
        gap: 24px;
        padding-top: 80px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .destinos-grid,
    .paquetes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1.7fr 1.3fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* M�viles grandes */

@media (max-width: 768px) {
    .header-container {
        padding: 10px 16px;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-menu {
        padding: 80px 16px 30px;
    }

    .mobile-nav-list {
        max-width: 100%;
    }

    .mobile-nav-link {
        padding: 16px 12px;
        font-size: 16px;
    }

    .mobile-menu-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 90px;
    }

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

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-form {
        margin-top: 6px;
    }

    .section {
        padding: 50px 0 40px;
    }

    .destinos-grid,
    .paquetes-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* M�viles peque�os */

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .hero-badges span {
        font-size: 9px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .testimonios-wrapper {
        padding: 18px 14px 14px;
    }
}
