/* Variables globales y Core en styles.css */
:root {
    --navy-blue: #0E2B80;
    --navy-dark: #0a1e5c;
    --navy-light: #16369c;
    --sky-blue: #4A90E2;
    --sky-light: rgba(74, 144, 226, 0.1);
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-gray: #475569;
    --border-color: #E2E8F0;
    --red: #D32F2F;
    --red-light: #FFEBEE;
    --green: #2E7D32;
    --green-light: #E8F5E9;
    --gold: #C09B4E; /* Para planes VIP */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-primary); color: var(--text-dark); line-height: 1.6; background-color: var(--white); -webkit-font-smoothing: antialiased; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 90px 0; }

/* Tipografía */
h1, h2, h3, h4 { font-family: var(--font-primary); font-weight: 700; color: var(--navy-blue); line-height: 1.2; margin-bottom: 24px; }
h1 { font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.3rem); }
p { color: var(--text-gray); margin-bottom: 18px; font-size: 1.05rem; }

.micro-header { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--sky-blue); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; background: var(--sky-light); padding: 4px 12px; border-radius: 20px; }
.text-center { text-align: center; }
.text-white, .text-white p, .text-white h1, .text-white h2, .text-white h3 { color: var(--white) !important; }
.text-red { color: var(--red); }
.text-navy { color: var(--navy-blue); }
.bg-light { background-color: var(--light-bg); }
.bg-navy { background-color: var(--navy-blue); }
.fw-bold { font-weight: bold; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; border: none; text-decoration: none; }
.btn-primary { background-color: var(--navy-blue); color: var(--white); box-shadow: 0 4px 14px 0 rgba(14, 43, 128, 0.2); }
.btn-primary:hover { background-color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14, 43, 128, 0.3); }
.btn-outline { background-color: transparent; border: 2px solid var(--navy-blue); color: var(--navy-blue); }
.btn-outline:hover { background-color: var(--navy-light); border-color: var(--navy-light); color: var(--white); }
.btn-white { background-color: var(--white); color: var(--navy-blue); }
.btn-large { padding: 16px 36px; font-size: 1.1rem; border-radius: 12px; }

/* ======== ACCORDION (FAQ) ======== */
.accordion { max-width: 800px; margin: 50px auto 0; display:flex; flex-direction:column; gap:15px;}
.accordion-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.accordion-item:hover { box-shadow: var(--shadow-sm); }
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 22px 24px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--navy-blue);
    font-family: 'Montserrat', sans-serif !important;
    transition: background 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.accordion-header:hover { background: var(--light-bg); }
.accordion-body {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.accordion-body p {
    margin: 0;
    padding: 10px 24px 24px;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}
.accordion-item.active .accordion-body {
    max-height: 500px;
}
.accordion-item.active .accordion-header {
    background: var(--light-bg);
}

/* ======== HEADER Y NAVEGACIÓN ======== */
.header { display: flex; justify-content: space-between; align-items: center; padding: 15px 40px; background-color: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; border-bottom:1px solid #eee; }
.logo strong { font-size: 1.5rem; color: var(--navy-blue); display: block; line-height: 1; margin-bottom: 2px;}
.logo small { color: var(--text-gray); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

.nav-menu { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; list-style: none; gap: 30px; margin: 0; padding: 0;}
.nav-links li a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-links li a:hover { color: var(--sky-blue); }
.nav-ctas { display: flex; gap: 15px; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--navy-blue); cursor: pointer; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background-color: var(--white); min-width: 200px; box-shadow: var(--shadow-md); border-radius: 8px; z-index: 1; border: 1px solid var(--border-color); overflow: hidden; }
.dropdown-content a { color: var(--text-dark); padding: 12px 16px; text-decoration: none; display: block; font-size: 0.9rem; border-bottom: 1px solid var(--border-color); }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: var(--light-bg); color: var(--navy-blue); }
.dropdown:hover .dropdown-content { display: block; }

/* ======== HERO ======== */
.hero { display: flex; align-items: center; padding: 60px 40px; max-width: 1400px; margin: 0 auto; gap: 60px; min-height: 70vh; }
.hero-content { flex: 1.1; }
.hero-image { flex: 0.9; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-soft); aspect-ratio: 4/4; object-fit: cover;}

/* ======== PROBLEMAS ======== */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px;}
.problem-item { display: flex; gap: 15px; align-items: flex-start; background: var(--white); padding: 20px; border-radius: 8px; border-left: 4px solid var(--red); box-shadow: var(--shadow-sm); }
.problem-icon { font-size: 1.5rem; margin-top: 2px; }
.problem-item p { margin: 0; font-size: 1rem; color: var(--text-dark); }

/* ======== MÉTODO VISTA ======== */
.vista-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 40px auto; }
.vista-card { flex: 1; min-width: 200px; border: 1px solid var(--navy-blue); padding: 30px 20px; text-align: center; border-radius: 12px; background: white; transition: 0.3s;}
.vista-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); background: var(--light-bg);}
.vista-letter { background: var(--navy-blue); color: white; width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: bold; margin-bottom: 20px; }
.vista-card h3 { font-size: 1.1rem; min-height: 45px; }
.vista-card p { font-size: 0.9rem; }
.quote-box { margin-top: 50px; padding-top: 30px; border-top: 2px dashed #ddd; }

/* ======== SOBRE NOSOTROS ======== */
.flex-row { display: flex; align-items: center; gap: 60px; }
.about-image { flex: 0.8; }
.about-image img { width: 100%; max-width: 400px; border-radius: 16px; margin: 0 auto; display: block; box-shadow: var(--shadow-md); }
.about-text { flex: 1.2; }
.us-list { margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.us-item { display: flex; gap: 20px; align-items: center; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.us-icon { width: 50px; height: 50px; background: var(--white); color: var(--navy-blue); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border-radius: 10px; flex-shrink:0;}
.us-item p { margin: 0; color: #f8f9fa; font-weight: 500; font-size: 1rem;}

/* ======== ALCANCE ======== */
.alcance-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: flex-start; }
.alcance-list, .condiciones-list, .pagos-list { list-style: none; }
.alcance-list li, .condiciones-list li, .pagos-list li { margin-bottom: 20px; position: relative; padding-left: 25px; line-height: 1.5; color: var(--text-dark); }
.alcance-list li::before, .condiciones-list li::before, .pagos-list li::before { content: "•"; color: var(--sky-blue); position: absolute; left: 0; font-size: 1.5rem; top: -5px; }

/* ======== PRICING ======== */
.table-responsive { overflow-x: auto; margin-top: 30px; padding-bottom: 20px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.pricing-table { width: 100%; border-collapse: collapse; min-width: 900px; background: white; text-align: center; }
.pricing-table th, .pricing-table td { padding: 18px 15px; border-bottom: 1px solid var(--border-color); font-size: 0.95em; color: var(--text-dark); }
.pricing-table th { color: white; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.table-feature-col { text-align: left !important; background: var(--light-bg); border-right: 2px solid var(--border-color); width: 20%; color: var(--navy-blue);}
/* Headers de Planes */
.bg-plan-index { background-color: #A0AAB2; } /* Gris/Celeste */
.bg-plan-essential { background-color: #2b7bc5; } /* Azul claro */
.bg-plan-elite { background-color: #0E2B80; } /* Azul oscuro */
.bg-plan-private { background-color: var(--gold); } /* Dorado oscuro */
.fee-row { background-color: #fafbfc; border-top: 2px solid var(--navy-blue); }
.fee-row td { font-size: 1.1rem; }
.pricing-notes { margin-top: 20px; font-size: 0.8rem; color: #777; text-align: left; }

/* ======== RESPONSIVE ======== */
@media (max-width: 1100px) {
    .header { padding: 15px 20px; }
    .nav-ctas .btn { padding: 10px 15px; font-size: 0.9rem; }
}

@media (max-width: 950px) {
    /* Mobile Menu */
    .mobile-menu-toggle { display: block; }
    .nav-menu { position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px; box-shadow: var(--shadow-md); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease; }
    .nav-menu.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links { flex-direction: column; gap: 20px; width: 100%; align-items: flex-start; }
    .dropdown-content { position: static; box-shadow: none; border-left: 2px solid var(--sky-blue); margin-left: 10px; margin-top: 10px; border-right: none; border-bottom: none; border-top: none;}
    .nav-ctas { flex-direction: column; width: 100%; margin-top: 20px; }
    .nav-ctas .btn { width: 100%; }
    
    .hero { flex-direction: column; padding: 40px 20px; min-height: auto;}
    .hero-image { order: -1; }
    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    
    .alcance-grid { grid-template-columns: 1fr; gap: 40px; }
    .flex-row { flex-direction: column; }
    .about-image { order: -1; }
    .problem-grid { grid-template-columns: 1fr; }
    .vista-card { min-width: 100%; margin-bottom: 20px; }
}

@media (max-width: 600px) {
    .pricing-table th, .pricing-table td { padding: 12px 10px; font-size: 0.85em; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .section-padding { padding: 50px 0; }
    .hero-buttons { flex-direction: column; }
}
