/* =======================================
   MS SOLUCIONES — Premium Landing Page Styles
   Design: Navy + Green + Gold Accent
======================================= */

/* ---- Variables ---- */
:root {
    --navy: #0A1628;
    --navy-light: #1B2A4A;
    --green: #6A9C5E;
    --green-dark: #4E7A43;
    --gold: #F59E0B;
    --gold-light: #FBBF24;
    --bg: #F8FAFC;
    --bg-warm: #F1F5F0;
    --white: #FFFFFF;
    --text: #0F172A;
    --text-light: #475569;
    --red: #EF4444;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(10,22,40,0.06);
    --shadow-md: 0 8px 30px rgba(10,22,40,0.08);
    --shadow-lg: 0 20px 60px rgba(10,22,40,0.12);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--navy); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Utility ---- */
.gradient-text {
    background: linear-gradient(135deg, var(--green) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #86EFAC 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(106,156,94,0.12), rgba(245,158,11,0.08));
    color: var(--green-dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-header h2 { font-size: 2.75rem; margin-bottom: 16px; }

.section-subtitle { color: var(--text-light); font-size: 1.15rem; }

/* ---- Buttons ---- */
.btn-primary, .btn-ghost, .btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(106,156,94,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106,156,94,0.5);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.btn-header-cta {
    background: var(--green);
    color: var(--white);
    padding: 10px 24px;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(106,156,94,0.3);
}

.btn-header-cta:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* =======================================
   HEADER
======================================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo { height: 62px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--navy);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--green); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =======================================
   HERO
======================================= */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.35; /* Incrementada para mayor visibilidad */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.65) 0%, rgba(27,42,74,0.4) 50%, rgba(10,22,40,0.65) 100%); /* Filtro azul aún más transparente */
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(106,156,94,0.15);
    border: 1px solid rgba(106,156,94,0.3);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i { color: var(--green); }

.hero-text h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-ctas { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }

.trust-strip {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.trust-item i {
    color: var(--green);
    font-size: 0.9rem;
}

/* Hero Visual */
.hero-visual { position: relative; }

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.hero-image-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.hero-stat-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(106,156,94,0.5);
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

.stat-number { font-size: 2.5rem; font-weight: 900; }
.stat-symbol { font-size: 1.5rem; font-weight: 700; }
.stat-label { display: block; font-size: 0.85rem; font-weight: 500; opacity: 0.9; margin-top: 2px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* =======================================
   STATS BAR
======================================= */
.stats-bar {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-block { padding: 10px; }

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* =======================================
   PROBLEM SECTION
======================================= */
.problem-section {
    padding: 100px 0;
    background: var(--bg);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.problem-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.problem-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(106,156,94,0.1);
    color: var(--green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.problem-card-icon.warning {
    background: rgba(245,158,11,0.1);
    color: var(--gold);
}

.problem-card-icon.danger {
    background: rgba(239,68,68,0.1);
    color: var(--red);
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---- Before/After ---- */
.before-after-wrapper {
    text-align: center;
}

.ba-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--navy);
}

.before-after-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.ba-image {
    position: absolute;
    inset: 0;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-after {
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0s;
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    z-index: 12;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ba-label-before {
    left: 20px;
    background: var(--red);
}

.ba-label-after {
    right: 20px;
    background: var(--green);
}

.ba-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    z-index: 10;
}

.ba-slider-line {
    width: 100%;
    height: 100%;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ba-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--navy);
    font-size: 1.1rem;
}

.ba-caption {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =======================================
   BENEFITS BENTO GRID
======================================= */
.benefits-section {
    padding: 100px 0;
    background: var(--white);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--bg);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    grid-column: span 4;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(106,156,94,0.2);
}

.bento-large { grid-column: span 6; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); }
.bento-card.bento-large h3 { color: var(--white); font-size: 1.6rem; }
.bento-card.bento-large p { color: rgba(255,255,255,0.85); }
.bento-card.bento-large .bento-icon {
    background: none;
    width: auto;
    height: auto;
    font-size: 2.6rem;
    color: var(--gold-light);
    align-self: center;
    margin-bottom: 20px;
}

.bento-wide { grid-column: span 8; }
.bento-half { grid-column: span 6; }

.bento-highlight {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    background: rgba(245,158,11,0.15);
    color: var(--gold-light);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
}

.bento-icon {
    width: 52px;
    height: 52px;
    background: rgba(106,156,94,0.1);
    color: var(--green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.bento-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.bento-card p { color: var(--text-light); font-size: 0.95rem; }

/* =======================================
   PROCESS
======================================= */
.process-section {
    padding: 100px 0;
    background: var(--bg);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--green) 0%, var(--gold) 100%);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(106,156,94,0.1);
    line-height: 1;
    margin-bottom: 24px;
}

.step-content { background: var(--white); padding: 32px 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: var(--transition); }
.step-content:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(106,156,94,0.1), rgba(245,158,11,0.05));
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.step-content h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-content p { color: var(--text-light); font-size: 0.9rem; }

/* =======================================
   CTA MENDOZA
======================================= */
.cta-mendoza {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}

.cta-mendoza-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.cta-mendoza-text h2 { color: var(--white); font-size: 2.25rem; margin-bottom: 16px; }
.cta-mendoza-text p { color: rgba(255,255,255,0.7); margin-bottom: 28px; font-size: 1.1rem; }

.cta-mendoza-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.cta-mendoza-visual img { width: 100%; height: 300px; object-fit: cover; }

/* =======================================
   TESTIMONIALS
======================================= */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.tc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tc-stars { color: var(--gold); font-size: 0.95rem; display: flex; gap: 2px; }
.tc-quote { color: rgba(106,156,94,0.2); font-size: 2rem; }
.tc-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }

.tc-author { display: flex; align-items: center; gap: 14px; }
.tc-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.tc-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.tc-info span { color: var(--text-light); font-size: 0.85rem; }

/* =======================================
   FAQ
======================================= */
.faq-section {
    padding: 100px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.faq-item:hover { border-color: rgba(106,156,94,0.2); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    gap: 16px;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--green);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =======================================
   CONTACT
======================================= */
.contact-section {
    padding: 100px 0;
    background: var(--navy);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch; /* Permite que ambas columnas tengan la misma altura */
}

.contact-info h2 { color: var(--white); font-size: 2.25rem; margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.contact-detail-item:hover { background: rgba(255,255,255,0.08); }

.cdi-icon {
    width: 48px;
    height: 48px;
    background: rgba(106,156,94,0.15);
    color: var(--green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cdi-icon.whatsapp { background: rgba(37,211,102,0.15); color: #25D366; }

.contact-detail-item strong { display: block; font-size: 0.9rem; color: var(--white); }
.contact-detail-item span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--navy);
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(106,156,94,0.1);
    background: var(--white);
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: auto; /* Empuja el botón al fondo del contenedor estirado */
}

/* =======================================
   FOOTER
======================================= */
footer {
    background: #060E1A;
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 66px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    max-width: 320px;
    margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover { background: var(--green); color: var(--white); }

.footer-nav h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-nav ul li { margin-bottom: 10px; }

.footer-nav ul li a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav ul li a:hover { color: var(--green); padding-left: 4px; }

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact ul li i { color: var(--green); width: 16px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

.footer-bottom p {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* =======================================
   WHATSAPP FLOAT
======================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); background: #20B958; }

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--white);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =======================================
   MAINTENANCE SECTION
======================================= */
.maintenance-section {
    padding: 100px 0;
    background: var(--white);
}

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.maintenance-card {
    background: var(--bg);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.maintenance-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(106,156,94,0.2);
}

.maintenance-icon {
    width: 60px;
    height: 60px;
    background: rgba(106,156,94,0.1);
    color: var(--green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.maintenance-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--navy);
}

.maintenance-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.maintenance-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 20px;
}

.maintenance-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--navy);
    font-weight: 500;
}

.maintenance-benefits i {
    color: var(--green);
    font-size: 1rem;
}

/* =======================================
   SCROLL REVEAL ANIMATION
======================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =======================================
   RESPONSIVE
======================================= */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
    .hero-subtitle { margin: 0 auto 32px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
    .hero-ctas { justify-content: center; }
    .trust-strip { justify-content: center; }
    .hero-visual { display: none; }
    .hero-bg { display: none; }
    .hero-overlay { display: none; }
    .hero {
        background: linear-gradient(180deg, rgba(10, 22, 40, 0.25) 0%, rgba(10, 22, 40, 0.45) 100%),
                    url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    }
    .section-header h2 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-cards { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: repeat(6, 1fr); }
    .bento-large { grid-column: span 6; }
    .bento-card { grid-column: span 3; }
    .bento-wide { grid-column: span 6; }
    .bento-half { grid-column: span 6; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .process-timeline::before { display: none; }
    .cta-mendoza-inner { grid-template-columns: 1fr; }
    .cta-mendoza-visual { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .maintenance-grid { grid-template-columns: 1fr; }

    /* Alineación de datos de contacto en móvil */
    .contact-details { align-items: center; }
    .contact-detail-item { width: 100%; max-width: 320px; text-align: left; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 24px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        transition: left 0.4s ease;
        z-index: 999;
    }

    .nav-links.active { left: 0; }
    .hamburger { display: flex; }
    .btn-header-cta { display: none; }

    .hero-text h1 { font-size: 2rem; }
    .hero-ctas { flex-direction: column; align-items: center; width: 100%; }
    .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 90%; max-width: 320px; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-value { font-size: 2rem; }
    .bento-card, .bento-large, .bento-wide, .bento-half { grid-column: span 6; }
    .bento-large { grid-row: span 1; }
    .process-timeline { grid-template-columns: 1fr; }
    
    /* Centrado de footer y contacto en móvil */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo { display: block; margin: 0 auto 16px auto; }
    .footer-brand p { margin: 0 auto 20px; }
    .footer-socials { justify-content: center; }
    .footer-contact ul li { justify-content: center; }
    
    .contact-info { text-align: center; }
    .section-header h2 { font-size: 1.8rem; }

    .before-after-container { aspect-ratio: 4/3; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}



