.elementor-39 .elementor-element.elementor-element-d6b9e97{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for shortcode, class: .elementor-element-617a97e *//*
==================================================
VARIABLES GLOBALES
==================================================
*/
:root {
    --primary: #0066CC;       /* Azul Primario */
    --dark-text: #333;
    --light-text: #555;
    --title-color: #2c3e50;
    --bg-light: #f5f7fa;
    --cta-whatsapp: #25D366;  /* Verde WhatsApp */
    --emergency-red: #d9534f; /* Rojo de emergencia para CTA y detalles */
    --footer-bg: #f0f4f8;     /* Fondo del Footer */
    
    /* ✨ RUTA DE IMAGEN PRINCIPAL: ¡ACTUALIZA ESTO CON TU URL REAL! ✨ */
    --hero-image: url('URL_DE_TU_IMAGEN'); /* <-- ¡ACTUALIZA ESTA URL! */
}

/*
==================================================
ESTILOS BASE Y GENERALES
==================================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* TÍTULO DE SECCIÓN */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--title-color);
    font-size: 2.5rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary); 
    margin: 10px auto;
}

/*
==================================================
SECCIÓN: QUIÉNES SOMOS
==================================================
*/
.quienes-somos {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    color: var(--dark-text);
}

/* Hero/Imagen destacada */
.imagen-destacada {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
    height: 400px;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2); 
    position: relative;
    background-image: var(--hero-image); 
    background-size: cover;
    background-position: center;
}

/* Overlay con degradado de marca */
.overlay-titulo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.75) 0%, rgba(45, 204, 211, 0.75) 100%);
    transition: background 0.5s ease;
}

.overlay-titulo h1 {
    color: white;
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    padding: 20px 40px;
    border: 4px solid white;
    border-radius: 15px;
}

.presentacion {
    text-align: center;
    margin-bottom: 60px;
}

.presentacion h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.presentacion p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto 20px;
}

.firma {
    font-style: italic;
    font-weight: 700;
    color: var(--primary);
    margin-top: 30px;
    line-height: 1.2;
}

/* Tarjetas Flip */
.contenedor-flip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px auto;
    max-width: 1000px;
}

.tarjeta-flip {
    perspective: 1000px;
    height: 300px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); 
    transform-style: preserve-3d;
}

.tarjeta-flip:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-front {
    /* Color secundario fuerte eliminado, usando solo primary */
    background: var(--primary);
    color: white;
}

.flip-back {
    background: white;
    color: var(--dark-text);
    /* Borde basado en primary */
    border: 2px solid var(--primary);
    transform: rotateY(180deg);
}

.flip-front h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
}

/* ICONO DE LAS TARJETAS FLIP - AJUSTADO */
.flip-front .icono {
    font-size: 3.5rem;
    text-align: center;
    margin: 10px 0 20px 0;
    color: white; /* Color del icono para que resalte en el fondo azul */
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/*
==================================================
SECCIÓN: ASISTENCIA MÉDICA (medical-prehospitalaria)
==================================================
*/
.medical-prehospitalaria {
    padding: 40px 0;
}

.medical-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.medical-content {
    padding: 20px;
}

.medical-content h3 {
    color: var(--title-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.medical-content h4 {
    color: var(--primary);
    margin-top: 20px;
}

.medical-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.medical-image {
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.medical-image:hover {
    transform: translateY(-5px);
}

.medical-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lista de Servicios (íconos check) - AJUSTADO */
.services-list {
    margin: 20px 0;
    padding-left: 20px;
    list-style: none;
}

.services-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.services-list li:before {
    /* Usamos un carácter Unicode en lugar de un ícono de Font Awesome */
    content: '\2714'; /* Símbolo de checkmark (✓) */
    position: absolute;
    left: 0;
    color: var(--primary); 
    font-weight: bold;
}

/* Botón de WhatsApp */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cta-whatsapp);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.cta-button:hover {
    background: #128C7E; /* Un verde WhatsApp más oscuro */
    transform: translateY(-2px);
}

/* Servicios de Emergencia (Grid inferior) */
.emergency-services {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.emergency-services h3 {
    color: var(--emergency-red);
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

/* ÍCONOS DE SERVICIO (USANDO CARACTERES UNICODE) */
.service-item .icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.service-item h4 {
    color: var(--title-color);
    margin-bottom: 10px;
}

/* Contacto de Emergencia (Bloque oscuro) */
.emergency-contact {
    background: var(--title-color);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.emergency-contact h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.phone-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin: 15px 0;
}

/*
==================================================
FOOTER
==================================================
*/
.main-footer {
    background-color: var(--footer-bg);
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
    color: var(--dark-text);
    border-top: 3px solid var(--primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo-path {
    fill: var(--primary);
}

.footer-logo-title {
    color: var(--primary);
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.footer-description {
    margin: 10px 0;
    line-height: 1.6;
    color: var(--light-text);
}

.footer-cta {
    margin-top: 15px;
}

.footer-cta a {
    display: inline-block;
    background-color: var(--emergency-red);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s;
}

.footer-cta a:hover {
    background-color: #c9302c; 
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid var(--emergency-red);
    padding-bottom: 5px;
    display: inline-block;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Íconos de contacto (usando caracteres Unicode) */
.footer-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.footer-list .icon-small {
    color: var(--emergency-red);
    margin-right: 10px;
    margin-top: 3px;
    font-size: 18px;
}

.footer-list .contact-label {
    margin: 0;
    font-weight: bold;
    color: var(--primary);
}

.footer-list p {
    margin: 3px 0 0 0;
    color: var(--light-text);
}

.footer-link a {
    color: var(--light-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.footer-link .icon-tiny {
    color: var(--emergency-red);
    margin-right: 10px;
}

.footer-link a span {
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
}

.footer-link a:hover {
    color: var(--primary);
}

.footer-link a:hover span {
    border-bottom: 1px solid var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

/* Botones de Redes Sociales (usando emojis como fallback) */
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--emergency-red);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--emergency-red);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #c9302c;
}

.footer-bottom {
    border-top: 1px solid #d1d7e0;
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
}

.footer-bottom-links a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/*
==================================================
RESPONSIVE
==================================================
*/
@media (min-width: 769px) {
    /* Orden Inverso en Desktop para la sección médica */
    .medical-grid.reverse {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "image content";
    }
    .medical-grid.reverse .medical-content {
        order: 2;
    }
    .medical-grid.reverse .medical-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    /* Quiénes Somos */
    .quienes-somos {
        margin: 40px auto;
    }
    
    .imagen-destacada {
        height: 300px;
        margin-bottom: 40px;
    }
    
    .overlay-titulo h1 {
        font-size: 2.2rem;
        padding: 15px 25px;
        letter-spacing: 2px;
        border-width: 2px;
    }
    
    .presentacion h2 {
        font-size: 1.8rem;
    }
    
    .contenedor-flip {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px auto;
    }
    
    .tarjeta-flip {
        height: 250px;
    }

    /* Asistencia Médica */
    .medical-grid, .medical-grid.reverse {
        grid-template-columns: 1fr;
    }
    
    .medical-grid.reverse .medical-content,
    .medical-grid.reverse .medical-image {
        order: initial; 
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    .medical-content h3 {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
    }

    .footer-col {
        min-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}/* End custom CSS */