/* 1. Reset y Variables (Limpieza total) */
:root {
    --primary: #ff6b00; /* Naranja TurnoYa */
    --primary-hover: #e65a00;
    --dark: #121212;
    --light-bg: #fdfdfd;
    --gray: #666;
    --border: #ececec;
    --shadow: 0 10px 30px rgba(255, 107, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
}

/* 2. Navbar (Sticky y Compacta) */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.nav-btn-alt {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

/* 3. Hero Section (El gancho psicológico) */
.hero {
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    max-width: 850px;
    margin: 0 auto;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem); /* Tamaño fluido */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.btn-main {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.25);
    transition: transform 0.2s, background 0.2s;
}

.btn-main:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #999;
}

/* 4. Features Grid (Layout dinámico) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: border 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
}

.feat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* 5. Trust Footer (Cierre) */
.trust-footer {
    background-color: #f9f9f9;
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.garantia-box {
    max-width: 600px;
    margin: 0 auto 3rem;
    border: 2px dashed #ddd;
    padding: 2rem;
    border-radius: 16px;
}

.garantia-box h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.footer-bottom {
    font-size: 0.8rem;
    color: #bbb;
}

/* 6. Loader (Estado de carga) */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    font-weight: 600;
    color: var(--primary);
}

/* 7. Responsividad extra */
@media (max-width: 600px) {
    .hero { padding: 3rem 1rem; }
    .features { margin: 2rem auto; }
}