/* VARIABLES Y RESET */
:root {
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --accent: #0ea5e9;
    --accent-hover: #0284c7;
    --text-main: #334155;
    --text-light: #cbd5e1;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }
body { background: var(--bg-light); color: var(--text-main); line-height: 1.6; padding-top: 70px; }

/* HEADER */
header { background: var(--bg-dark); color: white; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.logo { color: white; text-decoration: none; font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; }
.logo span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
select { background: #1e293b; color: white; border: 1px solid #334155; padding: 8px 12px; border-radius: 4px; outline: none; cursor: pointer; }

/* SECCIONES BASE */
.hero { height: 85vh; background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') center/cover; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; padding: 0 20px; }
.hero h1 { font-size: 4rem; font-weight: 800; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; }
.page-title { background: var(--bg-dark); color: white; padding: 60px 20px; text-align: center; }
.page-title h1 { font-size: 2.5rem; color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; min-height: 50vh; }

/* NUEVA SECCIÓN INICIO: ABOUT SPLIT */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.about-text h2 { color: var(--bg-dark); font-size: 2.5rem; margin-bottom: 20px; border-bottom: 4px solid var(--accent); display: inline-block; padding-bottom: 10px; }
.about-text p { font-size: 1.1rem; color: #475569; margin-bottom: 20px; }
.about-img { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* GRID DE SERVICIOS (Imágenes + Títulos) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.service-card { background: white; border-radius: 12px; overflow: hidden; text-align: center; box-shadow: 0 10px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; border-bottom: 4px solid transparent; }
.service-card:hover { transform: translateY(-5px); border-bottom: 4px solid var(--accent); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card h3 { color: var(--bg-dark); font-size: 1.2rem; padding: 25px 20px; }

/* RESEÑAS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); position: relative; }
.review-card::before { content: '"'; font-size: 4rem; color: var(--accent); position: absolute; top: 10px; left: 20px; opacity: 0.3; }
.review-card p { font-style: italic; font-size: 1.1rem; color: #475569; position: relative; z-index: 2; }

/* FAQ */
.faq-item { background: white; padding: 30px; border-radius: 8px; margin-bottom: 20px; border-left: 4px solid var(--accent); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.faq-item h3 { color: var(--bg-dark); margin-bottom: 10px; font-size: 1.2rem; }

/* CONTACTO */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.contact-info p { margin-bottom: 15px; font-size: 1.1rem; }
.map-container { width: 100%; height: 100%; min-height: 400px; border-radius: 8px; overflow: hidden; }

/* LEGAL */
.legal-content h1 { color: var(--bg-dark); margin-bottom: 30px; }
.legal-content h2 { color: var(--accent); margin-top: 30px; margin-bottom: 15px; }
.legal-content p, .legal-content ul { margin-bottom: 15px; }
.legal-content ul { padding-left: 20px; }

/* FOOTER */
footer { background: var(--bg-dark); padding: 40px 20px; color: var(--text-light); text-align: center; border-top: 1px solid #1e293b; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-links a { color: var(--text-light); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-logos { margin-bottom: 20px; }
.footer-logos img { height: 60px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    header { flex-direction: column; padding: 15px; position: static; }
    body { padding-top: 0; }
    nav { flex-direction: column; width: 100%; margin-top: 15px; }
    .nav-links { flex-direction: column; text-align: center; gap: 15px; }
    .hero h1 { font-size: 2.5rem; }
    .about-split { grid-template-columns: 1fr; gap: 30px; text-align: center; padding: 40px 20px; }
    .about-text h2 { margin-bottom: 15px; }
    .contact-grid { grid-template-columns: 1fr; }
}