/* =========================================
   1. VARIABLES Y RESET
   ========================================= */
:root {
    --color-pink: #FF33CC;
    --color-orange: #FF8C42;
    --gradient-noble: linear-gradient(135deg, var(--color-pink) 0%, var(--color-orange) 100%);
    
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-gray: #F3F4F6;
    
    --text-dark: #0F172A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    
    --border-light: #E2E8F0;
    
    --font-heading: 'Instrument Sans', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;
    --font-brand: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* =========================================
   2. TIPOGRAFÍA Y UTILIDADES
   ========================================= */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.title-underline {
    width: 48px;
    height: 4px;
    background: var(--gradient-noble);
    margin: 20px auto 0 auto;
    border-radius: 2px;
}

.text-accent {
    background: var(--gradient-noble);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   3. BOTONES
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border: 1px solid var(--text-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

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

.btn-white {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.btn-white:hover {
    background-color: var(--bg-gray);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* =========================================
   4. HEADER
   ========================================= */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 36px;
}

.brand-name {
    font-family: var(--font-brand);
    font-size: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

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

.nav a:not(.btn) {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a:not(.btn):hover {
    color: var(--color-orange);
}

/* =========================================
   5. HERO
   ========================================= */
.hero {
    padding: 120px 0;
    text-align: center;
}

.hero-container {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* =========================================
   6. BRANDS (SOCIAL PROOF)
   ========================================= */
.brands {
    padding: 40px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.brands-title {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 600;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 64px;
    opacity: 0.4; /* Sutil */
}

.brands-grid svg {
    height: 30px;
    width: auto;
}

/* =========================================
   7. PROBLEMA
   ========================================= */
.problem-section {
    padding: 120px 0;
}

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

.problem-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #EF4444; /* Rojo suave para dolor */
}

.problem-icon svg {
    width: 24px;
    height: 24px;
}

.problem-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

/* =========================================
   8. SERVICIOS
   ========================================= */
.services {
    padding: 120px 0;
    background-color: var(--bg-dark); /* Contrastamos */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    padding: 48px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    border-color: var(--color-orange);
}

.service-icon {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* =========================================
   9. METODOLOGÍA (TIMELINE)
   ========================================= */
.methodology {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    display: flex;
    gap: 32px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.timeline-number {
    font-family: var(--font-brand);
    font-size: 3rem;
    font-weight: 700;
    color: var(--border-light);
    line-height: 1;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* =========================================
   10. WHY US (DIFERENCIADOR)
   ========================================= */
.why-us {
    padding: 120px 0;
}

.why-container {
    background: var(--text-dark);
    border-radius: 24px;
    padding: 80px;
    color: var(--bg-white);
}

.why-content h2 {
    color: var(--bg-white);
    margin-bottom: 24px;
}

.why-content p {
    color: #94A3B8;
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.125rem;
    font-weight: 500;
}

.why-list svg {
    width: 24px;
    height: 24px;
    color: var(--color-orange);
}

/* =========================================
   11. TESTIMONIOS
   ========================================= */
.testimonials {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.stars {
    display: flex;
    align-items: center;
    gap: 4px; /* Separación entre estrellas */
    color: var(--color-orange); /* Usamos el naranja del logo para las estrellas */
    margin-bottom: 24px;
}

.stars svg {
    width: 20px;
    height: 20px;
}

.quote {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 500;
    line-height: 1.5;
}

.author strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.author span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.disclaimer-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   12. FAQ
   ========================================= */
.faq-section {
    padding: 120px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-card {
    padding: 32px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-light);
}

.faq-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* =========================================
   13. CTA FINAL
   ========================================= */
.cta-final {
    padding: 0 0 120px 0;
}

.cta-box {
    background: var(--gradient-noble);
    padding: 80px 40px;
    border-radius: 24px;
    text-align: center;
    color: var(--bg-white);
}

.cta-box h2 {
    color: var(--bg-white);
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtext {
    margin-top: 16px;
    font-size: 0.85rem !important;
    opacity: 0.8;
}

/* =========================================
   14. FOOTER
   ========================================= */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 80px 0 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-info .brand-name {
    color: var(--bg-white);
}

.footer-info p {
    color: #94A3B8;
    margin-top: 16px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #94A3B8;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

/* =========================================
   15. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .problem-grid, .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero {
        padding: 80px 0;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }
    .why-container {
        padding: 40px 24px;
    }
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* =========================================
   16. WHATSAPP FLOTANTE
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}