/*
Theme Name: Angelius Theme
Author: Angelius Team
Description: Tema corporativo profesional unificado.
Version: 2.0 (Full Stylesheet)
*/

/* =========================================
   1. VARIABLES Y RESET GLOBAL
   ========================================= */
:root {
    --primary-blue: #1b263b;
    --secondary-blue: #4b5478;
    --accent-gold: #cbb286;
    --gray-plata: #9e9e9e;
    --text-main: #333333;
    --bg-light: #f4f6f8;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif !important;
    color: var(--text-main);
    overflow-x: hidden;
    background-color: #fff;
    font-weight: 400;
    line-height: 1.6;
}

/* Tipografía Unificada */
h1, h2, h3, h4, h5, h6, 
.site-title, 
.elementor-heading-title,
strong {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 700 !important;
    color: var(--primary-blue);
    margin-top: 0;
}

/* Helpers */
.angelius-container { width: 90%; max-width: 1200px; margin: 0 auto; }
.angelius-layout * { box-sizing: border-box; }
#page, .site-content { width: 100%; max-width: 100%; margin: 0; padding: 0; }

/* =========================================
   2. HEADER (MICRO-HEADER)
   ========================================= */
.site-header {
    background-color: var(--primary-blue);
    padding: 0 5%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

/* LOGO LIBERADO */
.site-branding img, 
.custom-logo-link img {
    width: var(--logo-width) !important;
    max-height: none !important; 
    height: auto !important; 
    max-width: 100% !important;
    display: block;
    object-fit: contain;
    margin: 0 !important;
    padding: 0 !important;
}

/* MENÚ */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-navigation ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 25px 15px;
    transition: all 0.3s;
    font-family: 'Source Sans Pro', sans-serif !important;
}

.main-navigation ul li a:hover {
    color: #ffffff;
    border-bottom: 2px solid var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-size: 20px;
    padding: 5px 10px;
    cursor: pointer;
}

/* =========================================
   3. SECCIONES HOME: SLIDER & TARJETAS
   ========================================= */
.ang-slider-wrapper {
    width: 100%;
    display: block;
    line-height: 0;
}

.ang-float-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin-top: -290px !important; /* Tu medida personalizada */
    z-index: 50; 
    margin-bottom: 60px;
    background: transparent !important;
}

.ang-card {
    background: var(--primary-blue);
    color: white !important;
    padding: 30px 20px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 4px;
}

/* Forzar textos blancos dentro de tarjetas */
.ang-card h3, .ang-card p, .ang-card strong { color: #ffffff !important; }

.ang-card-icon {
    background: white; color: var(--primary-blue);
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px; font-weight: bold;
}

/* =========================================
   4. INTRO TEXTO (ALINEACIÓN LASER)
   ========================================= */
.ang-intro {
    padding: 60px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 350px));
    justify-content: center;
    gap: 20px;
    align-items: start; /* Alineación superior estricta */
    width: 100%;
    margin: 0 auto;
}

.ang-intro-left { 
    grid-column: 1 / 2; 
    padding: 0; 
}

.ang-intro-right { 
    grid-column: 2 / 4; 
    padding: 0; 
}

.ang-intro-left h2 { 
    font-size: 1.8rem; 
    line-height: 1.1; 
    text-align: left; 
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

.ang-intro-right p { 
    font-size: 1.3rem; 
    line-height: 1.5; 
    text-align: left; 
    width: 100%;
    max-width: 100% !important;
    
    /* MATA EL MARGEN DEL NAVEGADOR */
    margin-top: 0 !important; 
    margin-bottom: 0 !important;
    
    /* Ajuste óptico fino (puedes poner 0 si quieres alineación matemática pura) */
    padding-top: 5px !important; 
}

/* MÓVIL */
@media (max-width: 900px) {
    .ang-intro { display: flex; flex-direction: column; text-align: center; gap: 20px; }
    .ang-intro-left h2, .ang-intro-right p { text-align: center; padding-top: 0 !important; }
}
/* =========================================
   5. SECCIÓN PLANES (PRICING)
   ========================================= */
.ang-pricing { padding: 60px 0; background-color: #fff; text-align: center; }
.ang-pricing-title { font-size: 2rem; margin-bottom: 50px; }

.ang-pricing-grid { 
    display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; align-items: stretch; 
}

.ang-plan-col { 
    flex: 1; min-width: 300px; display: flex; flex-direction: column; 
}

.ang-plan-header { margin-bottom: 15px; min-height: 80px; }
.ang-plan-header h3 { font-size: 1.4rem; color: #333; margin-bottom: 5px; }
.ang-plan-desc { font-size: 0.85rem; color: #666; line-height: 1.4; }

.ang-plan-box { 
    color: white; padding: 30px 20px; border-radius: 12px; text-align: left; font-size: 0.9rem; height: 100%; 
}
.ang-plan-box ul { list-style: none; padding: 0; margin: 0; }
.ang-plan-box li { margin-bottom: 8px; position: relative; padding-left: 20px; }
.ang-plan-box li::before { content: "✓"; position: absolute; left: 0; font-weight: bold; }

/* Colores de planes */
.bg-bronce { background-color: var(--secondary-blue); }
.bg-plata { background-color: var(--gray-plata); }
.bg-oro { background-color: var(--accent-gold); }

/* =========================================
   6. SECCIÓN LIFE CENTER
   ========================================= */
.ang-lifecenter { margin-top: 0px; background-color: var(--bg-light); padding: 60px 0; }
.ang-life-grid { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.ang-life-img { flex: 1; min-width: 300px; }
.ang-life-img img { width: 100%; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.ang-life-content { flex: 1; min-width: 300px; }
.ang-life-content h2 { font-size: 2rem; }
.ang-life-content h3 { color: #555; font-weight: 400; font-size: 1.2rem; margin-bottom: 20px; }

.ang-specialties-list { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-weight: 600; 
    color: var(--primary-blue); font-style: italic; 
}

/* =========================================
   7. SECCIÓN CONTACTO
   ========================================= */
.ang-contact { padding: 80px 0; background: white; }
.ang-contact-flex { display: flex; gap: 40px; flex-wrap: wrap; }
.ang-form-box, .ang-map-box { flex: 1; min-width: 300px; }

.ang-input { 
    width: 100%; padding: 12px; margin-bottom: 15px; 
    border: 1px solid #ddd; background: #f9f9f9; 
}
.ang-btn { 
    background: #007bff; color: white; padding: 12px 30px; 
    border: none; cursor: pointer; font-weight: bold; 
}
.ang-btn:hover { background: #0056b3; }

/* =========================================
   8. FOOTER
   ========================================= */
.site-footer {
    background-color: var(--primary-blue);
    padding: 25px 0;
    margin-top: 0;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-layout { display: flex; justify-content: center; align-items: center; }
.footer-nav { display: flex; gap: 60px; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
    color: #ffffff; text-decoration: none; font-size: 15px; 
    font-weight: 400; opacity: 0.9; transition: all 0.3s;
}
.footer-nav a:hover { opacity: 1; color: var(--accent-gold); transform: translateY(-2px); }

/* =========================================
   9. RESPONSIVE (MÓVILES)
   ========================================= */
@media (max-width: 900px) {
    /* Header */
    .site-header { height: auto; padding: 15px; flex-direction: column; }
    .main-navigation ul { display: none; flex-direction: column; gap: 15px; margin-top: 20px; width: 100%; }
    .menu-toggle { display: block; margin-top: 10px; }
    
    /* Tarjetas */
    .ang-float-cards {
        flex-direction: column; align-items: center; margin-top: 0 !important;
        background: var(--primary-blue) !important; padding: 30px 0; gap: 0;
    }
    .ang-card { width: 100%; box-shadow: none; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; }
    
    /* Intro */
    .ang-intro { display: flex; flex-direction: column; align-items: center; padding: 40px 20px; gap: 30px; }
    .ang-intro-left, .ang-intro-right { text-align: center; width: 100%; padding: 0; }
    .ang-intro-left h2, .ang-intro-right p { text-align: center; }
    
    /* Grid de precios y especialidades */
    .ang-pricing-grid { flex-direction: column; }
    .ang-specialties-list { grid-template-columns: 1fr; }
    
    /* Footer */
    .footer-nav { flex-direction: column; gap: 20px; text-align: center; }
}