:root {
    --primary: #5ced73; /* Verde neón VisaNow */
    --primary-dark: #45b358;
    --dark: #0b1c2e; /* Azul casi negro para contraste */
    --dark-light: #162a3f;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    width: 100vw;
}
html { overflow-x: hidden; max-width: 100vw; }

/* --- Elementos Decorativos (Blobs) --- */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(92,237,115,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
    display: none;
}
.blob-1 { top: -100px; right: -50px; }
.blob-2 { top: 400px; left: -50px; background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, rgba(255,255,255,0) 70%); }

/* --- Navbar --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img { width: 44px; height: auto; object-fit:contain; margin-right:6px }
.logo{display:flex;align-items:center}

.lang-switch{display:flex;gap:8px;align-items:center}
.lang-switch a{color:var(--text-muted);text-decoration:none;font-weight:700;font-size:0.85rem;padding:6px 10px;border-radius:12px;text-transform:uppercase}
.lang-switch a:hover{background:rgba(92,237,115,0.06);color:var(--dark)}

.btn-login {
    background: var(--dark);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav-actions{display:flex;align-items:center;gap:20px}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 100px 8% 150px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--dark) 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px;
}

/* Formulario con Efecto Elevado */
.search-box {
    background: var(--white);
    padding: 15px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
}

.input-wrapper {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: #f8fafc;
    border-radius: 18px;
    min-width: 350px;
}

.input-wrapper svg {
    margin-right: 15px;
    color: var(--primary-dark);
}

select {
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    outline: none;
    cursor: pointer;
}

.btn-cta {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 20px 40px;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: scale(1.05);
    background: #4df368;
    box-shadow: 0 10px 20px rgba(92, 237, 115, 0.3);
}

/* --- Legal pages --- */
.legal{max-width:900px;margin:30px auto;padding:30px;background:rgba(11,28,46,0.04);border-radius:16px;border:1px solid rgba(11,28,46,0.06)}
.legal h1{font-size:2rem;margin-bottom:12px}
.legal h2{font-size:1.5rem;margin-top:18px}
.legal h3{font-size:1.125rem;margin-top:14px}
.legal p, .legal li{color:var(--text-muted);line-height:1.6}
.legal ul{margin-left:18px}


/* --- Waves Divider --- */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* --- Cards Section --- */
.stats {
    background: var(--dark);
    padding: 100px 8%;
    color: var(--white);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

/* --- Destinations Section --- */
.destinations{
    padding: 80px 8%;
    background: linear-gradient(180deg, rgba(11,28,46,0.02) 0%, rgba(255,255,255,0) 100%);
}
.destinations h2{font-size:2rem;margin-bottom:8px;color:var(--dark);}
.destinations .lead{color:var(--text-muted);margin-bottom:24px}
.dest-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}
.dest-card{
    display:block;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 30px rgba(11,28,46,0.06);
    border: 1px solid rgba(11,28,46,0.04);
    transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), box-shadow 0.28s;
}
.dest-card:hover{ transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11,28,46,0.09); }
.dest-card img{ width:100%; height:180px; object-fit:cover; display:block }
.dest-card .card-body{ padding:18px }
.dest-card h3{ margin-bottom:8px; font-size:1.05rem; color:var(--dark); }
.dest-card p{ color:var(--text-muted); font-size:0.95rem; line-height:1.4 }

@media (max-width: 1100px){
    .dest-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
    .dest-grid{ grid-template-columns: 1fr; }
    .dest-card img{ height:220px }
    .destinations{ padding: 40px 6%; }
}

/* --- Why Choose Us Section --- */
.why-section{ padding: 40px 4%; background: linear-gradient(135deg, rgba(92,237,115,0.03) 0%, rgba(255,255,255,0) 50%, rgba(0,123,255,0.02) 100%); overflow:hidden; position:relative; text-align:center }
.why-section h2{ font-size:2.2rem; font-weight:800; color:var(--dark); margin-bottom:30px; background: linear-gradient(135deg, var(--dark) 0%, #334155 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.why-section::before{ content:''; position:absolute; top:0; left:0; width:100%; height:100%; background: radial-gradient(circle at 25% 25%, rgba(92,237,115,0.08) 0%, transparent 40%), radial-gradient(circle at 75% 75%, rgba(0,123,255,0.06) 0%, transparent 40%); z-index:-1; }
.why-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items:stretch; max-width:1200px; margin:0 auto; }
.why-left, .why-right{ background: var(--white); border-radius:16px; padding:20px; box-shadow: 0 15px 35px rgba(11,28,46,0.08); border:1px solid rgba(11,28,46,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.why-left:hover, .why-right:hover{ transform: translateY(-5px); box-shadow: 0 20px 45px rgba(11,28,46,0.12); }
.why-left h3, .why-right h3{ margin-bottom:15px; color:var(--dark); font-size:1.1rem; font-weight:700 }
.why-left ul{ list-style:none; padding-left:0; color:var(--text-muted); margin:0 }
.why-left li{ padding:12px 0; border-bottom:1px solid rgba(11,28,46,0.04); display:flex; align-items:center; gap:12px; font-size:0.95rem; line-height:1.4 }
.why-left li::before{ content:"✕"; width:28px; height:28px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background: linear-gradient(135deg, #f87171, #ef4444); color:#fff; font-weight:700; font-size:1.1rem }
.why-right ul{ list-style:none; padding-left:0; color:var(--text-muted); margin:0 }
.why-right li{ padding:12px 0; display:flex; align-items:center; gap:12px; font-size:0.95rem; line-height:1.4 }
.why-right li::before{ content:"✔"; width:28px; height:28px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--primary), #4df368); color:var(--dark); font-weight:900; font-size:1.1rem }
.why-right{ border:2px solid rgba(92,237,115,0.2); padding:22px; background: linear-gradient(135deg, rgba(92,237,115,0.02) 0%, rgba(255,255,255,0) 100%); }
.why-cta{ margin-top:18px; display:inline-block; background: linear-gradient(135deg, var(--primary) 0%, #4df368 100%); color:var(--dark); padding:12px 24px; border-radius:12px; font-weight:800; text-decoration:none; transition: transform 0.3s ease; box-shadow: 0 5px 15px rgba(92,237,115,0.3); }
.why-cta:hover{ transform: scale(1.05); }

@media (max-width: 900px){
    .why-grid{ grid-template-columns: 1fr; gap:20px; }
    .why-section{ padding:25px 2%; }
    .why-section h2{ font-size:1.8rem; margin-bottom:20px; }
}

.stat-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-10px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-circle svg { width: 30px; fill: var(--dark); }

/* --- Footer --- */
footer {
    background: linear-gradient(180deg, #07121d 0%, #0b1c2e 100%);
    padding: 80px 8% 30px;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(92,237,115,0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(0,123,255,0.03) 0%, transparent 50%);
    z-index: -1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--white) 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    line-height: 1.6;
    margin: 0;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-links p {
    margin: 8px 0;
    line-height: 1.5;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

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

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-contact p {
    margin: 8px 0;
    line-height: 1.5;
}

.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* --- Animaciones --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating { animation: float 4s ease-in-out infinite; }

@media (max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    .search-box { flex-direction: column; width: 100%; }
    .input-wrapper { min-width: 100%; }
    .stats { grid-template-columns: 1fr; }
    .lang-switch{display:none}
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-links a:hover { transform: none; }
}
