/* Variables globales */
:root {
    --color-primary: #e17218;
    --color-secondary: #f39c50;
    --color-accent: #ff6b6b;
    --color-dark: #2d3748;
    --color-light: #f7fafc;
    --color-gray: #a0aec0;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reseteo y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: white;
}

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: var(--color-primary);
    margin: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--color-dark);
    font-weight: 500;
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--color-primary);
}

/* Sección Hero */
.hero {
    padding-top: 150px;
    padding-bottom: 150px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/slide1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-right: 5%;
}

.hero-content {
    flex: 0 1 600px;
    min-width: 300px;
    margin-left: 0;
    margin-right: 0;
    text-align: right;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    max-width: 600px;
    margin-left: auto;
}

.hero-content .btn {
    font-size: 1.2rem;
    padding: 15px 40px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-content .btn:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 600px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 5px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* Sección Características */
.features {
    background-color: white;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Sección Beneficios */
.benefits {
    background-color: #f8f9fa;
}

.benefits h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--color-primary);
}

.benefits-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.benefits-text {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.benefits-text ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
}

.benefits-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.benefits-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.benefits-image img {
    max-width: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Sección Testimonios */
.testimonials {
    background-color: white;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 450px;
    text-align: left;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
}

.author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.author p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--color-gray);
}

/* Sección Compra con Contador */
.buy {
    background-color: #f8f9fa;
    text-align: center;
    padding: 80px 0;
}

.buy h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.countdown-intro {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.countdown-box {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 15px;
    min-width: 100px;
    text-align: center;
    border: 2px solid var(--color-primary);
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notify-container {
    max-width: 500px;
    margin: 0 auto;
}

.notify-container p {
    margin-bottom: 20px;
    color: var(--color-gray);
}

.notify-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.notify-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: 1px solid var(--color-gray);
    border-radius: var(--radius);
    font-family: var(--font-primary);
}

.notify-form .btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
        min-height: auto;
        background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero-mobile.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
}

/* Sección Contacto */
.contact {
    background-color: white;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--color-primary);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

form {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-gray);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 15px;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-right: 30px;
}

.footer-logo h2 {
    font-size: 2rem;
    color: white;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-right: 30px;
}

.footer-links h3 {
    color: white;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--color-gray);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    color: white;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    color: white;
}

.social-icons a:hover {
    background-color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries para Responsive general */
@media (max-width: 768px) {
    .hero-content,
    .benefits-text,
    .benefits-image,
    form,
    .contact-info {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 30px;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-content .btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .features h2,
    .benefits h2,
    .testimonials h2,
    .buy h2,
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    nav {
        display: none;
    }
    
    .countdown-container {
        flex-wrap: wrap;
    }
    
    .countdown-box {
        min-width: 80px;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
}

/* Sección Cards de Situaciones */
.situation-cards {
    background-color: white;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 250px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.card-content p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Media Queries para Responsive */
@media (max-width: 768px) {
    .card {
        max-width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
}

/* Media Queries para tamaños específicos */
@media (max-width: 576px) {
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero-mobile.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero-mobile.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
}

/* Asegurar que en desktop la imagen no se desplace tanto */
@media (min-width: 993px) {
    /* No necesitamos nada aquí, eliminado */
} 