/* Reset y Variables */
:root {
    /* Fondos */
    --cream-bg: #FFF8E7; /* Crema Suave - Fondo Principal y Tarjetas */
    --gradient-start: #FF9A76; /* Naranja melocotón - Inicio degradado */
    --gradient-end: #FF8BA7; /* Rosa rosado - Fin degradado */
    --stats-bg: #FF6B52; /* Naranja rojizo - Fondo de Datos */

    /* Texto */
    --text-primary: #3D2E5D; /* Púrpura Oscuro - Titulares y Texto Principal */
    --text-white: #FFFFFF; /* Blanco - Texto en Botones y Datos */

    /* Acentos */
    --coral: #FF7F66; /* Coral/Salmón - Botones y Bordes */
    --purple-vibrant: #7C5CBF; /* Púrpura Vibrante - Mascota e Iconos */
    --gold-yellow: #FFC857; /* Amarillo Dorado - Estrellas */
    --turquoise: #4ECDC4; /* Azul Turquesa - Ondas/Garabatos */
    --orange-soft: rgba(249, 195, 175, 0.25); /* Naranja suave para cards - tono del gradiente */
    --orange-soft-alt: rgba(250, 191, 175, 0.805); /* Naranja más intenso para cards alternativas */

    /* Colores auxiliares */
    --text-light: #718096;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
    min-height: 100vh;
}

@media (min-width: 769px) {
    body {
        background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    }

    .main-wrapper {
        background: var(--cream-bg);
        border-radius: 24px;
        padding: 80px 60px;
        margin: 40px auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.btn-header {
    background: var(--coral);
    color: var(--text-white);
    font-weight: 600;
    padding: 10px 24px;
    font-size: 0.95rem;
}

.btn-header:hover {
    background: #ff6d4f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 127, 102, 0.4);
}

/* Contenedor principal más estrecho */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Wrapper - Bloque único que contiene todo */
.main-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 40px 20px;
    box-shadow: none;
}

/* Hero Section */
.hero {
    background: transparent;
    padding: 0;
    min-height: auto;
}

.hero .container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex-shrink: 0;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-monster {
    width: 350px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--coral);
    color: var(--text-white);
    font-weight: 600;
}

.btn-primary:hover {
    background: #ff6d4f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 127, 102, 0.4);
}

.btn-cta {
    background: var(--coral);
    color: var(--text-white);
    font-weight: 600;
}

.btn-cta:hover {
    background: #ff6d4f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 127, 102, 0.4);
}

/* Features Section */
.features {
    padding: 60px 0 0 0;
    background: transparent;
}

.features .container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 25px;
    border-radius: 16px;
    background: var(--orange-soft);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: auto;
    height: 80px;
    margin: 0 auto 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* How It Works Section */
.how-it-works {
    padding: 60px 0 0 0;
    background: transparent;
}

.how-it-works .container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.steps-wrapper {
    margin-top: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 180px;
    height: 180px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
    opacity: 0.9;
}

/* Team Section */
.team {
    padding: 60px 0 0 0;
    background: transparent;
}

.team .container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--orange-soft-alt);
    border-radius: 16px;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: block;
    flex-shrink: 0;
}

.team-member h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.team-member p {
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 8px;
    opacity: 0.9;
}

.team-member p:first-of-type {
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 1;
}

/* Stats Section */
.stats {
    padding: 60px 0 0 0;
    background: transparent;
}

.stats .container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.stats .section-title {
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 100%;
    margin: 50px auto 0;
}

.stat-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--orange-soft);
    border-radius: 16px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0 0 0;
    background: transparent;
}

.testimonials .container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.testimonial-card {
    max-width: 750px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    position: relative;
    box-shadow: none;
}

.quote-icon {
    font-size: 4rem;
    color: var(--coral);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.8;
    font-style: normal;
}

.testimonial-author {
    margin-bottom: 25px;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--coral);
    width: 24px;
    border-radius: 5px;
}

/* CTA Section */
.cta {
    padding: 60px 0 0 0;
    background: transparent;
}

.cta .container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-white);
    padding: 50px 20px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

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

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.logo-placeholder {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .header-nav.active {
        right: 0;
    }

    .header-nav .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .header-nav .btn-header {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .logo-img {
        height: 50px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .main-wrapper {
        margin: 0 auto;
        padding: 20px 15px;
        border-radius: 0;
        max-width: 100%;
    }

    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .hero-image-mobile-first {
        order: -1;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        order: 1;
    }

    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-monster {
        width: 280px;
        height: 280px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .steps-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 15px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .steps-grid {
        display: flex;
        grid-template-columns: none;
        gap: 20px;
        width: max-content;
    }

    .step-card {
        flex: 0 0 calc(100vw - 50px);
        min-width: calc(100vw - 50px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .step-icon {
        width: 150px;
        height: 150px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .team-member {
        padding: 25px 20px;
    }

    .member-photo {
        width: 100px;
        height: 100px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
