/* ===================================
   Variables y Reset
   =================================== */
:root {
    --color-primary: #5CB896;
    --color-primary-dark: #4A9E7E;
    --color-secondary: #2D5568;
    --color-accent: #4A9EB5;
    --color-text: #1A1A1A;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-light: #F5F7FA;
    --color-border: #E5E7EB;
    --color-success: #10B981;
    --color-error: #EF4444;
    
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-secondary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

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

.btn-whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 15px;
}

/* ===================================
   Header / Navigation
   =================================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.hero-benefit {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}
    /*border-radius: var(--radius);*/
    /*box-shadow: var(--shadow-lg);*/


/* ===================================
   Problem Section
   =================================== */
.problem {
    padding: 80px 0;
    background: white;
}

.problem h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--color-text);
    font-weight: 500;
    margin: 0;
}

/* ===================================
   Solution Section
   =================================== */
.solution {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.solution-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.solution-header p {
    font-size: 1.1rem;
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: center;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.process-number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-content p {
    font-size: 0.95rem;
    margin: 0;
}

.process-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
    font-weight: 700;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    padding: 80px 0;
    background: white;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    margin: 0;
}

/* ===================================
   Testimonial Section
   =================================== */
.testimonial {
    padding: 80px 0;
    background: var(--color-secondary);
    color: white;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.testimonial-photo {
    flex-shrink: 0;
}

.testimonial-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 5px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    display: block;
}

.testimonial-text {
    flex: 1;
    text-align: left;
}

.quote-icon {
    font-size: 4rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial blockquote {
    margin: 0;
}

.testimonial blockquote p {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.5;
}

.testimonial cite {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    display: block;
}

.testimonial cite strong {
    color: white;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial cite span {
    color: var(--color-primary);
    font-weight: 500;
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius);
}

.check {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.feature-item span:last-child {
    color: var(--color-text);
    font-weight: 500;
}

/* ===================================
   Target Section
   =================================== */
.target {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.target-column {
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.target-yes {
    background: white;
    border: 3px solid var(--color-primary);
}

.target-no {
    background: white;
    border: 3px solid var(--color-text-light);
}

.target-column h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.target-column ul {
    list-style: none;
}

.target-column li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--color-text);
}

.target-yes li {
    color: var(--color-primary);
    font-weight: 600;
}

.target-no li {
    color: var(--color-text-light);
}

/* ===================================
   CTA Final Section
   =================================== */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(92, 184, 150, 0.1);
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    margin: 0;
    font-weight: 400;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.form-checkbox label a {
    color: var(--color-primary);
    text-decoration: underline;
}

.contact-form button[type="submit"] {
    width: 100%;
    border: none;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    display: block;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    display: block;
}

.contact-alternative {
    color: white;
    margin-top: 2rem;
}

.contact-alternative p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 32px;
    margin-bottom: 1rem;
    /* Ya no necesita filtro, el logo viene en blanco */
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ===================================
   WhatsApp Float Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .process {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-ctas .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .process {
        grid-template-columns: 1fr;
    }
    
    .target-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .testimonial-text {
        text-align: center;
    }
    
    .testimonial-photo img {
        width: 150px;
        height: 150px;
    }
    
    .testimonial blockquote p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --radius: 8px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .problem,
    .solution,
    .benefits,
    .features,
    .target,
    .cta-final {
        padding: 60px 0;
    }
    
    .testimonial {
        padding: 60px 0;
    }
    
    .testimonial blockquote p {
        font-size: 1.2rem;
    }
    
    .problem-grid,
    .benefits-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .btn-large {
        padding: 16px 28px;
        font-size: 16px;
    }
}

/* ===================================
   Utilities
   =================================== */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}
