:root {
    --primary: #2C2A68;
    --secondary: #00a8e8;
    --text: #333;
    --bg-light: #f4f6f9;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body { color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }

nav { background: rgba(255,255,255,0.98); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); height: 80px; display: flex; align-items: center; }
.nav-container { display: flex; justify-content: space-between; width: 100%; align-items: center; }

.logo-link { display: flex; align-items: center; height: 100%; }
.logo-img { height: 200px; width: auto; } 

.nav-menu { display: flex; gap: 10px; align-items: center; }
.nav-menu a { font-weight: 500; font-size: 0.95rem; min-width: 80px; text-align: center; display: inline-block; }
.nav-menu a:hover { color: var(--secondary); }
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

.btn-contact { background: var(--primary); color: white !important; padding: 8px 25px; border-radius: 50px; transition: 0.3s; min-width: 110px; text-align: center; }
.btn-contact:hover { background: var(--secondary); }
.btn-primary { display: inline-block; background: var(--secondary); color: white; padding: 12px 40px; border-radius: 5px; font-weight: bold; margin-top: 20px; min-width: 180px; text-align: center; transition: 0.3s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,168,232,0.3); }

#lang-toggle { background: none; border: 1px solid #ccc; padding: 5px 0; width: 40px; border-radius: 4px; cursor: pointer; font-size: 0.8rem; text-align: center; transition: 0.3s; }
#lang-toggle:hover { border-color: var(--primary); color: var(--primary); }

.hero { background: linear-gradient(135deg, var(--primary) 0%, #1a1945 100%); color: white; min-height: 80vh; display: flex; align-items: center; text-align: center; margin-top: 80px; padding: 40px 0; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; min-height: 1.2em; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 700px; margin: 0 auto; min-height: 3.2em; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; align-items: center; }
.about-text p { min-height: 120px; }
.about-stats { display: flex; gap: 30px; }
.stat span { font-size: 2.5rem; color: var(--primary); font-weight: bold; display: block; }

.grid-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 50px; }
.card { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; border-top: 4px solid var(--primary); display: flex; flex-direction: column; min-height: 340px; }
.card:hover { transform: translateY(-5px); }
.card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.3rem; min-height: 2.6em; display: flex; align-items: center; }
.card p { font-size: 0.95rem; color: #666; flex-grow: 1; }

.quality-box { background: white; padding: 40px; border-radius: 10px; border-left: 5px solid var(--secondary); margin-top: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.quality-list { margin-top: 20px; list-style-position: inside; }
.quality-list li { margin-bottom: 10px; color: #555; }

footer { background: var(--primary); color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-grid a { opacity: 0.8; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.btn-whatsapp { background: #25D366; color: white; padding: 10px 20px; border-radius: 5px; font-weight: bold; display: inline-block; margin-top: 10px; text-decoration: none !important; }
.copy { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; opacity: 0.6; }

@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: white; flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); gap: 15px; }
    .nav-menu.active { display: flex; }
    .nav-menu a { text-align: left; width: 100%; }
    .hamburger { display: block; color: var(--primary); }
    .hero h1 { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-text p { min-height: auto; }
    .card { min-height: auto; }
    .hero p { min-height: auto; }
}