/*
 Theme Name: Advance Nursing Care
 Description: Tema personalizado creado desde cero para la empresa.
 Author: Tu Nombre
 Version: 1.5
*/

/* ==========================================================================
   VARIABLES GLOBALES Y CONFIGURACIÓN BASE
   ========================================================================== */
:root {
    --primary-blue: #0B203E;
    --teal: #007B85;
    --bg-color: #F8FBFC;
    --white: #ffffff;
    --text-muted: #555555;
}

body {
    background-color: var(--white);
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--primary-blue);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   1. ENCABEZADO PRINCIPAL (HEADER)
   ========================================================================== */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    max-width: 230px;
    height: auto;
    display: block;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--primary-blue);
    cursor: pointer;
}

.main-nav {
    margin-left: auto;
    margin-right: 40px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--teal);
}

.main-nav a.active {
    border-bottom: 2px solid var(--teal);
    padding-bottom: 5px;
}

.btn-contact {
    background-color: var(--teal);
    color: var(--white);
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-contact:hover {
    background-color: #005a61;
    transform: translateY(-1px);
}

/* ==========================================================================
   2. SECCIÓN HERO
   ========================================================================== */
.hero-section {
    padding: 80px 0;
    background-color: var(--white);
    overflow: hidden; 
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 52px;
    color: var(--primary-blue);
    line-height: 1.12;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 95%;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-primary {
    background-color: var(--teal);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #005a61;
}

.btn-secondary {
    background-color: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--teal);
    color: var(--white);
}

.hero-features {
    display: flex;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

.feature-icon {
    font-size: 24px;
    background-color: var(--bg-color);
    padding: 8px;
    border-radius: 50%;
    line-height: 1;
    color: var(--teal);
}

.feature-item strong {
    display: block;
    color: var(--primary-blue);
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: 700;
}

.feature-item span {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    line-height: 1.4;
}

.hero-visual {
    flex: 1.3; 
    display: flex;
    flex-direction: column; 
    gap: 25px; 
}

.main-hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-card-below {
    background: var(--bg-color);
    padding: 25px 30px;
    border-radius: 15px;
    border-left: 4px solid var(--teal); 
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.floating-icon {
    background: #ffffff;
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: var(--teal);
}

.info-card-below strong {
    color: var(--primary-blue);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.info-card-below p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}

.link-more {
    color: var(--teal);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}

.link-more:hover {
    text-decoration: underline;
}

/* ==========================================================================
   3. SECCIÓN NUESTROS SERVICIOS 
   ========================================================================== */
.services-section {
    padding: 90px 0;
    background-color: var(--white); 
}

.services-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    gap: 50px;
}

.services-block-left {
    flex: 2; 
}

.services-header {
    margin-bottom: 35px;
}

.section-subtitle {
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.services-header h2 {
    font-size: 34px;
    color: var(--primary-blue);
    margin: 0;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-bottom: 35px;
}

.service-box {
    background-color: var(--bg-color);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 133, 0.06);
    background-color: var(--white);
    border: 1px solid rgba(0, 123, 133, 0.1);
}

.service-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 15px;
    color: var(--teal);
}

.service-box h3 {
    font-size: 15px;
    color: var(--primary-blue);
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.services-footer-btn {
    text-align: left;
}

.help-card-dark {
    flex: 0 0 320px; 
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.help-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--white);
}

.help-card-dark h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.help-card-dark p {
    font-size: 14px;
    color: #A5B6CD; 
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.btn-phone-call {
    background-color: var(--white);
    color: var(--primary-blue);
    width: 100%;
    padding: 14px 0;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-phone-call:hover {
    background-color: var(--bg-color);
    transform: scale(1.02);
}

/* ==========================================================================
   4. SECCIÓN SOBRE NOSOTROS
   ========================================================================== */
.about-section {
    padding: 90px 0;
    background-color: var(--bg-color); 
}

.about-container {
    display: flex;
    align-items: center;
    gap: 70px; 
}

.about-content {
    flex: 1; 
}

.about-content h2 {
    font-size: 38px;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 800;
}

.about-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-checklist {
    list-style: none; 
    padding: 0;
    margin: 0;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.check-icon {
    color: var(--teal);
    font-weight: 900;
    font-size: 18px;
}

.about-visual {
    flex: 1; 
}

.about-main-img {
    width: 100%;
    height: auto;
    border-radius: 20px; 
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   5. SECCIÓN BARRA DE BENEFICIOS
   ========================================================================== */
.benefits-bar-section {
    padding: 50px 0;
    background-color: #F0F6F7; 
    border-top: 1px solid #E2EBEF;
}

.benefits-bar-container {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.benefit-column-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1; 
}

.benefit-bar-icon {
    font-size: 26px;
    background-color: var(--white);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.02);
    line-height: 1;
    color: var(--teal);
}

.benefit-bar-text h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: var(--primary-blue);
    font-weight: 700;
}

.benefit-bar-text p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   6. PIE DE PÁGINA PROFESIONAL (FOOTER)
   ========================================================================== */
.site-footer {
    background-color: var(--primary-blue);
    color: #A5B6CD; 
    padding: 70px 0 0 0; 
    font-size: 15px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-box {
    display: inline-block;
    margin-bottom: 20px;
    background-color: transparent; /* Eliminamos el fondo blanco */
    padding: 0;                   /* Eliminamos el relleno */
    border-radius: 0;             /* Eliminamos las esquinas redondeadas */
}

/* Imagen del icono */
.footer-logo {
    max-width: 80px;              /* Mantén este tamaño o ajústalo a tu gusto */
    height: auto;
    display: block;
}

.footer-column h4 {
    color: var(--white);
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-column ul li a {
    color: #A5B6CD;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--teal);
    padding-left: 5px; 
}

.footer-column ul li i {
    color: var(--teal);
    font-size: 13px;
}

.contact-info li i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--teal);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #061529; 
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

/* ==========================================================================
   7. DISEÑO RESPONSIVO (TELÉFONOS Y TABLETS)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* Encabezado Móvil */
    .header-inner {
        flex-direction: row; 
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block; 
    }

    .main-nav, 
    .header-button {
        display: none; 
        width: 100%;
        margin-top: 15px;
    }

    .main-nav.activo,
    .header-button.activo {
        display: block;
        text-align: center;
    }

    .main-nav ul {
        flex-direction: column; 
        gap: 15px;
        margin: 0;
        padding: 0;
    }

    .header-button .btn-contact {
        display: block;
        width: 100%;
    }

    /* Hero */
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 42px; 
    }

    .hero-actions {
        flex-direction: column; 
        width: 100%;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%; 
        text-align: center;
        box-sizing: border-box; 
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    /* Servicios */
    .services-container {
        flex-direction: column;
        gap: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr; 
    }

    .help-card-dark {
        flex: auto;
        width: 100%;
        box-sizing: border-box;
    }

    /* Sobre Nosotros */
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-checklist li {
        justify-content: center; 
    }

    /* Barra de Beneficios */
    .benefits-bar-container {
        flex-direction: column;
        gap: 30px;
    }

    /* Footer Móvil */
    .footer-container {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 40px;
    }

    .footer-column p {
        margin: 0 auto 25px auto;
    }

    .social-links, 
    .footer-column ul li {
        justify-content: center; 
    }
}