/* --- VARIABLES GLOBALES --- */
:root {
    --primary-blue: #1d3fd6;
    --accent-green: #85ea2d;
    --dark-text: #2d3748;
    --light-text: #ffffff;
    --gray-bg: #f8fafc;
    --gray-text: #64748b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* --- CLASES DE UTILIDAD GLOBALES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.bg-light { background-color: var(--gray-bg); }
.bg-white { background-color: #ffffff; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* --- NAVBAR (Como lo configuramos previamente) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.2rem 4rem;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
}

.navbar.scrolled {
    background-color: #ffffff;
    padding: 0.8rem 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { color: var(--light-text); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.navbar.scrolled .nav-links a { color: var(--dark-text); }
.nav-links a:hover { color: var(--accent-green) !important; }

.navbar .logo { display: flex; justify-content: center; text-decoration: none; }
.navbar .logo img { height: 120px; width: auto; transition: all 0.3s; }
.navbar.scrolled .logo img { height: 100px; }

.nav-actions { display: flex; justify-content: flex-end; }
.book-now-btn {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
}
.navbar.scrolled .book-now-btn {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}
.book-now-btn:hover { background-color: #fff; color: var(--primary-blue); border-color: #fff; }
.navbar.scrolled .book-now-btn:hover { background-color: var(--accent-green); border-color: var(--accent-green); color: #121212; }

/* --- HERO --- */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/hero-bg-en.webp') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    padding: 0 1rem;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 700px; margin-bottom: 2.5rem; }
.cta-btn {
    background-color: var(--accent-green);
    color: #121212;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s;
}
.cta-btn:hover { transform: scale(1.05); }

/* --- PRICING --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.pricing-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    border: 1px solid #e2e8f0;
}
.pricing-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(29, 63, 214, 0.1);
}
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: #121212;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pricing-card .price { font-size: 2.5rem; font-weight: bold; color: var(--primary-blue); margin-bottom: 1.5rem; }
.pricing-card .price span { font-size: 1rem; color: var(--gray-text); }
.features { list-style: none; margin-bottom: 2rem; }
.features li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.pricing-btn {
    display: block;
    padding: 0.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    transition: 0.3s;
}
.pricing-btn:hover { background: var(--primary-blue); color: #fff; }
.featured-btn { background: var(--primary-blue); color: #fff; }
.featured-btn:hover { background: var(--accent-green); border-color: var(--accent-green); color: #121212; }

/* Booking Container (TidyCal) */
.booking-container { text-align: center; margin-top: 4rem; padding: 2rem; background: #fff; border-radius: 12px; }
.tidycal-placeholder { background: var(--gray-bg); padding: 3rem; border-radius: 8px; margin-top: 1.5rem; color: var(--gray-text); border: 2px dashed #cbd5e1; }

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-item { text-align: center; padding: 2rem; }
.service-item .icon { font-size: 3rem; margin-bottom: 1rem; }
.service-item h3 { margin-bottom: 1rem; color: var(--primary-blue); }

/* --- ABOUT US --- */
.about-flex { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.about-text p { margin-bottom: 1rem; font-size: 1.1rem; }
.about-image { flex: 1; min-width: 700px; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Centrado y ancho óptimo para el texto de lectura */
.about-intro-centered {
    max-width: 800px;
    margin: 0 auto 45px auto;
    text-align: center;
}

.about-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-subtext {
    font-size: 16px;
    line-height: 1.6;
    color: #718096;
}

/* Contenedor de la imagen única */
.about-full-infographic {
    width: 100%;
    max-width: 1000px; /* Permite que la imagen se abra imponente en pantallas grandes */
    margin: 0 auto;
    background: #ffffff;
    padding: 10px; /* Crea un borde sutil estilo marco */
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.about-full-infographic img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* Suaviza las esquinas de tu imagen */
}

/* --- SOCIAL PROOF --- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.review-card { background: var(--gray-bg); padding: 2rem; border-radius: 12px; font-style: italic; }
.stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 1rem; }
.client-name { margin-top: 1rem; font-weight: bold; font-style: normal; color: var(--primary-blue); }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; padding: 1.5rem; margin-bottom: 1rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.faq-item h4 { color: var(--primary-blue); margin-bottom: 0.5rem; font-size: 1.1rem; }

/* --- CONTACT --- */
.contact-flex { display: flex; gap: 4rem; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info ul { list-style: none; margin-top: 1.5rem; }
.contact-info li { margin-bottom: 1rem; font-size: 1.1rem; }
.contact-form { flex: 1; min-width: 300px; background: var(--gray-bg); padding: 2rem; border-radius: 12px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
}
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.submit-btn:hover { background: var(--accent-green); color: #121212; }

.area-flex {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.area-zones {
    flex: 1;
    min-width: 320px;
}

.area-zones h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.zip-codes {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.zip-codes span {
    background-color: #f1f5f9;
    color: #2245bb; /* El azul de tu marca */
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.zone-item {
    background: var(--gray-bg);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-text);
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.2s;
}

.zone-item:hover {
    transform: translateX(5px);
}

.area-note {
    background: #eff6ff;
    border: 1px dashed var(--primary-blue);
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.area-map {
    flex: 1;
    min-width: 320px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

/* --- FOOTER --- */
.footer { background: #1e293b; color: #fff; padding: 4rem 0 2rem; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { margin-top: 1rem; color: #94a3b8; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #fff; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--accent-green); }
.footer-bottom { text-align: center; border-top: 1px solid #334155; padding-top: 2rem; color: #94a3b8; }

/* --- MEDIA QUERIES (Para Móviles) --- */
@media (max-width: 768px) {
    .navbar { grid-template-columns: 1fr; gap: 1rem; text-align: center; padding: 1rem; }
    .nav-links { justify-content: center; display: none;    gap: 1.2rem; /* En producción puedes agregar un menú de hamburguesa aquí */ }
    .navbar.scrolled .logo img { height: 50px; }
    .nav-actions { justify-content: center; }
    .hero h1 { font-size: 2.5rem; }
    .pricing-card.featured { transform: scale(1); }
}