:root {
    --primary: #0066FF; --primary-dark: #0052CC; --primary-light: #0099FF;
    --gradient: linear-gradient(135deg, #0066FF 0%, #0099FF 100%);
    --dark: #0A1A33; --text: #1A1A1A; --text-light: #666; --bg: #FFF; --bg-alt: #F0F7FF;
    --border: #E1E8F0; --radius: 8px; --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --font: system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.site-header { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); z-index: 100; padding: 1rem 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-size: 1.8rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-list { display: flex; gap: 2rem; align-items: center; }
.nav-list a { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.nav-list a:hover { color: var(--primary); }
.btn-nav { background: var(--gradient); color: #fff !important; padding: 0.6rem 1.2rem; border-radius: var(--radius); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 25px; height: 2px; background: var(--primary); margin: 5px 0; transition: 0.3s; }
.btn { display: inline-block; padding: 0.8rem 1.5rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,102,255,0.3); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--dark); line-height: 1.1; margin-bottom: 1.5rem; }
.hero p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto 2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; align-items: center; }
.hero-stats strong { font-size: 2rem; font-weight: 800; color: var(--primary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.card { padding: 2rem; border-radius: 12px; border: 2px solid var(--border); transition: 0.3s; background: var(--bg); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.card-primary { background: var(--bg-alt); border-color: var(--primary-light); }
.card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--dark); }
.card > p { color: var(--text-light); margin-bottom: 1.5rem; }
.card ul { margin-bottom: 1.5rem; }
.card li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.step { background: var(--bg); padding: 2rem; border-radius: 12px; border: 2px solid var(--border); text-align: center; }
.step span { font-size: 3rem; font-weight: 800; color: var(--primary); opacity: 0.2; display: block; margin-bottom: 0.5rem; }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--dark); }
.step p { color: var(--text-light); font-size: 0.9rem; }
.guarantee { background: var(--gradient); color: #fff; padding: 2rem; border-radius: 12px; text-align: center; }
.guarantee h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text h2 { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.highlight { background: var(--bg-alt); padding: 1rem; border-left: 4px solid var(--primary); font-weight: 600; color: var(--text); margin: 1.5rem 0; }
.about-values { background: var(--bg-alt); padding: 2rem; border-radius: 12px; }
.about-values h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--dark); }
.about-values li { margin-bottom: 1rem; padding-left: 1rem; border-left: 3px solid var(--primary); }
.impact { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.impact-wrapper { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.badge { display: inline-block; background: rgba(255,255,255,0.1); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.9rem; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.2); }
.impact h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.lead { font-size: 1.1rem; opacity: 0.95; margin-bottom: 2.5rem; line-height: 1.8; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; text-align: left; }
.impact .box { background: rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.impact .box.full { grid-column: span 2; }
.impact .box h3 { color: var(--primary-light); margin-bottom: 0.5rem; font-size: 1.2rem; }
.impact .box p { opacity: 0.9; font-size: 0.95rem; }
.note { font-size: 0.9rem; opacity: 0.7; margin-top: 1rem; }
.contact-wrapper { max-width: 800px; margin: 0 auto 2rem; }
.tabs { display: flex; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border); }
.tab-btn { background: none; border: none; padding: 1rem 1.5rem; font-weight: 600; color: var(--text-light); cursor: pointer; position: relative; }
.tab-btn.active { color: var(--primary); }
.tab-btn.active::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--gradient); }
.contact-form { display: none; animation: fade 0.3s; }
.contact-form.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field.full { grid-column: span 2; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea { padding: 0.8rem; border: 2px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-light); }
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; margin-top: 2rem; }
.contact-info h4 { color: var(--primary); margin-bottom: 0.3rem; }
.contact-info p { color: var(--text-light); font-size: 0.95rem; }
.site-footer { background: var(--dark); color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand .logo-text { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.footer-brand p { opacity: 0.8; margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-links h4, .footer-legal h4 { margin-bottom: 1rem; font-size: 1.1rem; }
.footer-links li, .footer-legal li { margin-bottom: 0.5rem; }
.footer-links a, .footer-legal a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-links a:hover, .footer-legal a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 0; /* Evita espacio fantasma debajo de la imagen */
}
.logo img {
    height: 55px; /* Ajusta este valor según tu preferencia */
    width: auto;
    max-width: 200px; /* Límite seguro para no desbordar en móviles */
    object-fit: contain;
    display: block;
}
.contact-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 1rem; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.3); }
.mail-link { color: var(--primary); text-decoration: underline; font-weight: 600; }
.mail-link:hover { color: var(--primary-dark); }
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: #fff; padding: 5rem 2rem 2rem; transition: 0.3s; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
    .main-nav.open { right: 0; }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .about-grid, .impact-grid, .form-grid, .footer-grid, .contact-info { grid-template-columns: 1fr; }
    .field.full, .impact .box.full { grid-column: span 1; }
    .section { padding: 3rem 0; }
}