/* ============================================
   TODOENREGLA - ESTILOS PRINCIPALES
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #2d3436; background: #f8f9fa; line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.accent { color: #00b894; }
.section-white { background: white; }
section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 2rem; font-weight: 700; color: #1a2a6c; }
.section-title p { color: #636e72; margin-top: 6px; font-size: 1rem; }

/* NAVBAR */
.navbar { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 44px; width: 44px; object-fit: contain; }
.logo-text { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800; color: #1a2a6c; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { text-decoration: none; color: #2d3436; font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: #1a2a6c; }
.btn-nav { background: #00b894; color: white !important; padding: 10px 22px; border-radius: 50px; font-weight: 600 !important; font-size: 0.9rem !important; }
.btn-nav:hover { background: #00a381 !important; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; color: #1a2a6c; cursor: pointer; }

/* HERO */
.hero { background: linear-gradient(135deg, #0f1a3a 0%, #1a2a6c 40%, #1e4db5 100%); padding: 80px 0 60px; color: white; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -20%; right: -5%; width: 400px; height: 400px; background: rgba(0,180,130,0.08); border-radius: 50%; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-tag { background: rgba(255,255,255,0.15); padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; display: inline-block; margin-bottom: 16px; }
.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.hero-subtitle { font-size: 1.1rem; opacity: 0.9; margin-bottom: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-badges span { background: rgba(255,255,255,0.12); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 500; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary { background: #00b894; color: white; box-shadow: 0 6px 20px rgba(0,180,130,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,180,130,0.4); }
.btn-secondary { background: rgba(255,255,255,0.12); color: white; border: 2px solid rgba(255,255,255,0.25); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }
.hero-mockups { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-mockups img { width: 140px; height: 280px; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); border: 3px solid rgba(255,255,255,0.2); }
.mock-2 { transform: translateY(20px); }
.mock-3 { transform: translateY(40px); }

/* ¿PARA QUIÉN? */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.who-card { background: #f8f9fa; border-radius: 16px; padding: 24px 16px; text-align: center; transition: transform 0.2s; }
.who-card:hover { transform: translateY(-4px); }
.who-card i { font-size: 2.2rem; color: #00b894; margin-bottom: 10px; }
.who-card h4 { color: #1a2a6c; font-size: 0.95rem; }

/* PROCESO */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.process-card { text-align: center; }
.process-card i { font-size: 2rem; color: #1a2a6c; margin-bottom: 8px; }
.process-card h4 { font-size: 0.85rem; color: #1a2a6c; }

/* BENEFICIOS */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.benefit-card { background: #f8f9fa; border-radius: 16px; padding: 24px 20px; display: flex; align-items: flex-start; gap: 14px; }
.benefit-card i { font-size: 1.6rem; color: #00b894; margin-top: 2px; }
.benefit-card h4 { color: #1a2a6c; font-size: 0.95rem; margin-bottom: 4px; }
.benefit-card p { font-size: 0.8rem; color: #636e72; }

/* RESULTADOS */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.result-card { background: #f8f9fa; border-radius: 16px; padding: 20px; text-align: center; }
.result-card i { font-size: 1.8rem; color: #00b894; margin-bottom: 6px; }
.result-card p { font-size: 0.85rem; color: #636e72; }

/* PRECIOS */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card { background: #f8f9fa; border-radius: 16px; padding: 22px 12px; text-align: center; border: 2px solid transparent; transition: transform 0.2s; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: #00b894; background: white; }
.badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #f9ca24; color: #1a2a6c; padding: 4px 12px; border-radius: 50px; font-size: 0.6rem; font-weight: 700; white-space: nowrap; }
.price-card h3 { font-size: 0.9rem; color: #1a2a6c; margin-bottom: 4px; }
.price { font-size: 1.3rem; font-weight: 800; color: #1a2a6c; }
.price span { font-size: 0.6rem; font-weight: 400; color: #636e72; display: block; }
.price-card ul { list-style: none; margin: 8px 0; text-align: left; font-size: 0.68rem; flex-grow: 1; }
.price-card ul li { padding: 2px 0; }
.price-card ul li i { color: #00b894; margin-right: 4px; font-size: 0.6rem; }
.btn-price { display: inline-block; padding: 8px 16px; border-radius: 50px; font-weight: 600; text-decoration: none; margin-top: 6px; font-size: 0.7rem; }
.btn-outline { border: 2px solid #1a2a6c; color: #1a2a6c; }
.btn-filled { background: #00b894; color: white; }
.btn-filled:hover { transform: translateY(-2px); }
.pricing-footer { text-align: center; margin-top: 20px; font-size: 0.8rem; color: #636e72; }
.pricing-footer span { margin: 0 10px; }

/* CONTACTO */
.contact-wrapper { max-width: 480px; margin: 0 auto; background: white; border-radius: 16px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.contact-wrapper input { width: 100%; padding: 12px 14px; border: 2px solid #e0e0e0; border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 0.9rem; margin-bottom: 12px; transition: border-color 0.2s; }
.contact-wrapper input:focus { outline: none; border-color: #2d8cff; }
.contact-wrapper button { width: 100%; padding: 14px; background: #00b894; color: white; border: none; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.2s; }
.contact-wrapper button:hover { background: #00a381; }
.form-success { display: none; text-align: center; color: #00b894; font-weight: 600; }

/* FOOTER */
footer { background: #1a2a6c; color: white; padding: 32px 0; text-align: center; }
footer p { opacity: 0.7; font-size: 0.8rem; }
footer a { color: #00b894; text-decoration: none; margin: 0 8px; font-size: 0.8rem; }
.footer-links { margin-top: 8px; }
.footer-copy { margin-top: 8px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-mockups .mock-3 { display: none; }
}
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); gap: 12px; }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 1.9rem; }
    .hero-buttons { justify-content: center; }
    .hero-mockups { display: none; }
    .hero { padding: 50px 0 30px; }
    section { padding: 40px 0; }
    .section-title h2 { font-size: 1.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
}