/* =========================================
   VARIABLES GLOBALES (Fácil configuración)
   Cambia estos colores y fuentes para personalizar todo el sitio.
   ========================================= */
:root {
    /* Paleta de Colores por defecto (Inspirada en Vetify) */
    --color-fondo: #f7f7f8;
    /* Gris hueso muy claro para fondo general */
    --color-fondo-blanco: #ffffff;
    /* Blanco puro para tarjetas */
    --color-texto-principal: #202122;
    /* Negro suave para textos */
    --color-texto-suave: #666666;
    /* Gris para descripciones */

    /* Colores de marca */
    --color-primario: #202122;
    /* Negro para botones principales */
    --color-acento: #0e1d7c;
    /* Verde vibrante para detalles/llamadas */
    --color-hover: #333333;
    /* Un poco más claro para hover */

    /* Tipografía */
    --fuente-principal: 'Poppins', sans-serif;

    /* Espaciado y Bordes */
    --radio-borde: 12px;
    /* Cuan redondeadas son las esquinas */
    --espaciado-contenedor: 1200px;
    /* Ancho máximo del contenido */
}

/* =========================================
   RESET Y ESTILOS BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-principal);
    background-color: var(--color-fondo);
    color: var(--color-texto-principal);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilitario: Contenedor centrado */
.contenedor {
    max-width: var(--espaciado-contenedor);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilitario: Botones */
.boton {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    /* Bordes muy redondos */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.boton-primario {
    background-color: #0e1d7c;
    color: white;
}

.boton-primario:hover {
    background-color: transparent;
    color: var(--color-texto-principal);
    border: 2px solid var(--color-texto-principal);
    transform: translateY(-2px);

}

.boton-secundario {
    background-color: transparent;
    color: var(--color-texto-principal);
    border: 2px solid var(--color-texto-principal);
    margin-left: 10px;
}

.boton-secundario:hover {
    background-color: #0e1d7c;
    color: white;
}

.boton-outline {
    background-color: transparent;
    border: 2px solid var(--color-primario);
    color: var(--color-primario);
    width: 100%;
    text-align: center;
}

.boton-outline:hover {
    background-color: var(--color-primario);
    color: white;
}

/* =========================================
   ENCABEZADO (Header)
   ========================================= */
.encabezado {
    background-color: var(--color-fondo);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Efecto vidrio esmerilado opcional */
    backdrop-filter: blur(10px);
    background-color: rgba(247, 247, 248, 0.95);
}

.encabezado-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo img {
    max-height: 60px;
    /* Tamaño controlado para que no desborde */
    width: auto;
}

.navegacion ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navegacion a {
    font-weight: 600;
    font-size: 0.95rem;
}

.navegacion a:hover {
    color: var(--color-acento);
}

.navegacion a.activo {
    color: var(--color-acento);
    font-weight: 700;
}

.menu-movil-btn {
    display: none;
    /* Oculto en escritorio */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-movil-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-texto-principal);
    border-radius: 3px;
}

/* =========================================
   SECCIÓN HERO
   ========================================= */
.hero {
    padding: 60px 0;
    overflow: hidden;
    /* Para que la imagen no rompa el ancho si es muy grande */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-texto h1 {

    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 400;
    /* Regular, así resalta la <b> */
}

.hero-texto p {
    font-size: 1.1rem;
    color: var(--color-texto-suave);
    margin-bottom: 30px;
    max-width: 450px;
}


/* =========================================
   SECCIÓN BENEFICIOS
   ========================================= */
.beneficios {
    padding: 80px 0;
    background-color: white;
    /* Mantiene el color de beneficios que ya tenías */
    position: relative;
    /* Para posicionar las siluetas absolutas */
    overflow: hidden;
    /* Para que no generen scroll horizontal si salen un poco */
}

/* Imágenes decorativas (Siluetas) */
.decoracion-silueta {
    position: absolute;
    bottom: 20px;
    /* Pegadas al piso de la sección */
    opacity: 0.3;
    /* Un poco sutiles */
    pointer-events: none;
    /* Que no molesten al click */
    width: 300px;
    /* Tamaño base, ajustable */
    max-width: 30vw;
    /* Responsivo */
    z-index: 1;
}

.decoracion-silueta.perro {
    left: 5%;
    /* Margen izquierdo, un poco salido */
}

.decoracion-silueta.gato {
    right: 5%;
    /* Margen derecho, un poco salido */
}

/* Asegurar que el contenido quede por encima */
.contenedor {
    position: relative;
    z-index: 2;
}

/* Nueva sección Profesionales */
.profesionales-contenido {
    text-align: left;
    /* Alineado a la izquierda como en la foto */
    max-width: 800px;
    /* Ancho algo más contenido para lectura */
    margin: 0 auto;
}

.profesionales-contenido h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-texto-principal);
}

.profesionales-contenido p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-texto-principal);
    /* O un gris oscuro si preferís */
    margin-bottom: 40px;
}

.profesionales-imagen img {
    width: 100%;
    border-radius: 20px;
    /* Bordes redondeados */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
}

/* =========================================
   ESTILOS CARRUSEL
   ========================================= */
.carrusel-container {
    position: relative;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

/* Animación Fade */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Puntos de navegación */
.carrusel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--color-acento);
}

/* =========================================
   SECCIÓN PLANES
   ========================================= */
.planes {
    padding: 100px 0;
}

.titulo-seccion {
    text-align: center;
    margin-bottom: 60px;
}

.titulo-seccion h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.planes-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Modificación para que la tarjeta única tenga un ancho controlado */
.tarjeta-plan {
    width: 100%;
    max-width: 800px;
    /* Igual que profesionales-contenido */
}

.tarjeta-plan {
    background: var(--color-fondo-blanco);
    padding: 40px;
    border-radius: var(--radio-borde);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.tarjeta-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tarjeta-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.precio {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-texto-principal);
}

.precio small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-texto-suave);
}

.promo-animal {
    font-size: 0.9rem;
    color: #6c757d;
    /* Gris suave */
    font-style: italic;
    margin-top: -20px;
    /* Acercarlo al precio */
    margin-bottom: 25px;
}

.lista-beneficios {
    margin-bottom: 40px;
}

.lista-beneficios li {
    margin-bottom: 12px;
    color: var(--color-texto-suave);
    position: relative;
    padding-left: 35px;
    /* Espacio para el tilde */
    text-align: left;
    /* Asegurar que el texto se alinee bien */
}

/* Crear el tilde con CSS puro (forma de L rotada) */
.lista-beneficios li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 8px;
    height: 16px;
    border: solid #00C853;
    /* Color verde solicitado */
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Estilo especial para plan destacado */
.destacado {
    border: 2px solid var(--color-acento);
}

.etiqueta-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-acento);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================================
   BANNER INFORMATIVO
   ========================================= */
.banner-info {
    background-color: #0e1d7c;
    color: white;
    text-align: center;
    padding: 10px 20px;
    /* Un poco de padding vertical para que respire */
    font-size: 0.9rem;
    font-weight: 600;
}

/* =========================================
   FOOTER
   ========================================= */
.pie-pagina {
    background-color: white;
    padding: 80px 0 20px;
    border-top: 1px solid #eee;
}

.footer-contenido {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.columna h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.columna img {
    max-width: 80px;
    /* Ajustar tamaño logo footer */
    margin-bottom: 15px;
    height: auto;
}

.columna a {
    display: block;
    margin-bottom: 10px;
    color: var(--color-texto-suave);
}

.columna a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    color: var(--color-texto-suave);
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

/* =========================================
   ELEMENTOS FLOTANTES
   ========================================= */
.boton-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-acento);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(10, 24, 118, 0.4);
    z-index: 2000;
    transition: transform 0.3s;
}

.boton-flotante:hover {
    transform: scale(1.05);
}

/* =========================================
   RESPONSIVE (MÓVIL)
   ========================================= */
@media (max-width: 768px) {
    .menu-movil-btn {
        display: flex;
        /* Mostrar hamburguesa solo en móvil */
    }

    /* Ajuste de espaciado en móvil para el hero */
    .hero {
        padding: 40px 0;
    }

    .navegacion {
        display: none;
        /* Ocultar menú por defecto en móvil */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        margin-top: 10px;
        /* Separación del logo */
    }

    .navegacion.activo {
        display: block;
        /* Mostrar al activar JS */
    }

    .navegacion ul {
        flex-direction: column;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0px;
        /* Una columna en móvil */
        text-align: center;
    }

    /* TRUCO MASTER: "display: contents" hace que el contenedor .hero-texto 
       deje de contar para el layout, permitiendo ordenar sus hijos (h1, p) 
       junto con la imagen (.hero-imagen) que está afuera. */
    .hero-texto {
        display: contents;
    }

    .hero-texto h1 {
        font-size: 2rem;
        order: 1;
        /* 1º Titulo */
    }

    .hero-imagen {
        order: 2;
        /* 2º Imagen */
        margin-bottom: 20px;
    }

    .hero-texto p {
        order: 3;
        /* 3º Texto */
    }

    .hero-botones {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        order: 4;
        /* 4º Botones */
        width: 100%;
        /* Asegurar ancho completo */
        margin-top: 20px;
    }

    .boton-secundario {
        margin-left: 0;
    }

    .decoracion-silueta {
        display: none;
        /* Desaparecen en móvil */
    }
}

/* =========================================
   PÁGINA TRABAJÁ CON NOSOTROS
   ========================================= */
.hero-simple {
    background-color: var(--color-fondo-blanco);
    padding: 60px 0;
    text-align: center;
}

.hero-simple h1 {
    font-size: 2.5rem;
    color: var(--color-primario);
    margin-bottom: 15px;
}

.hero-simple p {
    color: var(--color-texto-suave);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.seccion-formulario {
    padding: 60px 0 100px;
}

.formulario-contenedor {
    background-color: white;
    padding: 40px;
    border-radius: var(--radio-borde);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #eee;
}

.formulario-contenedor h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.campo {
    margin-bottom: 20px;
}

.campo-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .campo-doble {
        grid-template-columns: 1fr;
    }
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primario);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-acento);
}

input[type="file"] {
    background-color: #f9f9f9;
    padding: 10px;
}

.boton-envio-container {
    text-align: center;
    margin-top: 30px;
}

/* =========================================
   PÁGINA DE TEXTO (Términos, Legales, Blog)
   ========================================= */
.pagina-texto {
    padding: 80px 0;
    min-height: 60vh;
    /* Para que no quede el footer muy arriba si hay poco texto */
}

.documento-legal {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    /* En móvil menos padding */
}

@media (min-width: 768px) {
    .documento-legal {
        padding: 40px;
        border: 1px solid #eee;
        border-radius: var(--radio-borde);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    }
}

.documento-legal h1 {
    font-size: 2.2rem;
    color: var(--color-primario);
    margin-bottom: 10px;
}

.fecha-actualizacion {
    color: var(--color-texto-suave);
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.documento-legal hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.documento-legal h2 {
    font-size: 1.5rem;
    color: var(--color-texto-principal);
    margin-top: 40px;
    margin-bottom: 15px;
}

.documento-legal p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.documento-legal ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

/* =========================================
   LOGIN / REGISTER
   ========================================= */
.seccion-auth {
    padding: 40px 0 100px;
}

.auth-container {
    background-color: white;
    border-radius: var(--radio-borde);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    /* Un poco mas angosto que el formulario de contacto */
    margin: 0 auto;
    border: 1px solid #eee;
    overflow: hidden;
    /* Para que los bordes redondeados corten las tabs */
}

.auth-tabs {
    display: flex;
    background-color: #f0f0f0;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-texto-suave);
    transition: all 0.3s;
    font-size: 1rem;
    font-family: inherit;
}

.auth-tab.active {
    background-color: white;
    color: var(--color-acento);
    border-bottom: 2px solid white;
    /* Tapar la linea del borde bottom de tabs */
    margin-bottom: -1px;
    /* Solapamiento */
    color: var(--color-primario);
}

.auth-tab:hover:not(.active) {
    background-color: #e5e5e5;
}

.auth-content {
    padding: 30px;
}

.auth-content.hidden {
    display: none;
}

.campo-extra {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.olvide-pass {
    font-size: 0.9rem;
    color: var(--color-acento);
}

.auth-btn {
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
    /* Boton un poco menos redondo para forms a veces queda mejor, o mantener 50px */
}

.campo-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.campo-check input {
    width: auto;
}

.campo-check label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.campo-check a {
    color: var(--color-acento);
    text-decoration: underline;
}

/* =========================================
   PERFIL DE USUARIO
   ========================================= */
.perfil-seccion {
    padding: 60px 0 100px;
}

.perfil-header {
    margin-bottom: 40px;
}

.perfil-header h1 {
    font-size: 2.5rem;
    color: var(--color-primario);
}

.perfil-header p {
    color: var(--color-texto-suave);
    font-size: 1.1rem;
}

/* Tarjeta de Suscripción */
.suscripcion-card {
    background: white;
    border-radius: var(--radio-borde);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #00C853;
    /* Borde verde indicando activo */
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.suscripcion-info h3 {
    margin: 10px 0 5px;
    font-size: 1.3rem;
    color: var(--color-primario);
}

.estado-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #E8F5E9;
    /* Fondo verde muy claro */
    color: #2E7D32;
    /* Texto verde oscuro */
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.estado-badge.tramite {
    background-color: #FFF3E0;
    /* Naranja muy claro */
    color: #EF6C00;
    /* Naranja oscuro */
}

.fecha-debito {
    color: var(--color-texto-suave);
    font-size: 0.95rem;
}

.boton-texto {
    color: var(--color-acento);
    font-weight: 600;
    text-decoration: underline;
}

/* Sección Compañeros */
.companeros-seccion h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--color-primario);
}

.companeros-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.companero-card,
.companero-agregar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s;
}

.companero-card:hover,
.companero-agregar:hover {
    transform: translateY(-5px);
}

.companero-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.companero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.companero-nombre {
    font-weight: 600;
    color: var(--color-primario);
    font-size: 1.1rem;
}

/* Botón Agregar (Círculo) */
.companero-agregar .icono-plus {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: white;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ccc;
    transition: all 0.3s;
}

.companero-agregar:hover .icono-plus {
    border-color: var(--color-acento);
    color: var(--color-acento);
    background-color: #f9f9f9;
}

@media (max-width: 600px) {
    .suscripcion-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .companeros-grid {
        justify-content: center;
    }
}

/* =========================================
   DETALLE SUSCRIPCIÓN
   ========================================= */
.detalle-seccion {
    padding: 40px 0 100px;
}

.volver-link {
    margin-bottom: 20px;
}

.volver-link a {
    color: var(--color-texto-suave);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.volver-link a:hover {
    color: var(--color-primario);
}

.titulo-detalle {
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--color-primario);
}

.detalle-card {
    background: white;
    border-radius: var(--radio-borde);
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin-bottom: 60px;
}

.detalle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.detalle-header h2 {
    font-size: 1.5rem;
    color: var(--color-primario);
    margin: 0;
}

.detalle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.detalle-item {
    display: flex;
    flex-direction: column;
}

.detalle-item .label {
    font-size: 0.9rem;
    color: var(--color-texto-suave);
    margin-bottom: 5px;
}

.detalle-item .valor {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primario);
}

.detalle-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0 30px;
}

.detalle-resumen h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.resumen-fila {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--color-texto-suave);
    font-size: 0.95rem;
    align-items: center;
    /* Alineación vertical */
}

.detalle-concepto {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-descuento {
    background-color: #E3F2FD;
    /* Azul muy claro */
    color: var(--color-acento);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.detalle-precio {
    display: flex;
    align-items: center;
    gap: 8px;
}

.precio-tachado {
    text-decoration: line-through;
    color: #ccc;
    font-size: 0.85rem;
}

.resumen-fila.total {
    border-top: 2px solid #f0f0f0;
    margin-top: 10px;
    padding-top: 20px;
    font-weight: 700;
    color: var(--color-primario);
    font-size: 1.2rem;
}

/* =========================================
   PERFIL COMPAÑERO INDIVIDUAL
   ========================================= */
.companero-detalle-seccion {
    padding: 40px 0 100px;
}

.companero-perfil-header {
    text-align: center;
    margin-bottom: 50px;
}

.companero-foto-grande {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.companero-foto-grande img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.companero-perfil-header h1 {
    margin-bottom: 25px;
    font-size: 2.2rem;
    color: var(--color-primario);
}

.companero-datos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
    border-radius: var(--radio-borde);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    max-width: 800px;
    margin: 0 auto;
}

.dato-item {
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.dato-item .label {
    font-size: 0.85rem;
    color: var(--color-texto-suave);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.dato-item .valor {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primario);
}

.historial-seccion h2 {
    font-size: 1.5rem;
    color: var(--color-primario);
    margin-bottom: 20px;
}

.historial-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    /* Espacio para scrollbar */
    margin-bottom: 50px;
}

/* Scrollbar personalizado */
.historial-container::-webkit-scrollbar {
    width: 8px;
}

.historial-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.historial-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.historial-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.historial-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--radio-borde);
    margin-bottom: 15px;
    border: 1px solid #eee;
    transition: transform 0.2s;
}

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

.historial-fecha {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    background-color: var(--color-fondo);
    border-radius: 8px;
    padding: 10px;
    height: fit-content;
}

.historial-fecha .dia {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-acento);
    line-height: 1;
}

.historial-fecha .mes {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-texto-suave);
}

.historial-fecha .anio {
    font-size: 0.7rem;
    color: #999;
}

.historial-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-primario);
}

.historial-info p {
    font-size: 0.95rem;
    color: var(--color-texto-suave);
    margin-bottom: 10px;
    line-height: 1.5;
}

.historial-doctor {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.companero-status-card {
    border-left: 5px solid #00C853;
}

/* Zona de Baja */
.baja-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.boton-baja {
    background: none;
    border: none;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.boton-baja:hover {
    color: #d32f2f;
    /* Rojo alerta */
}

.form-baja-wrapper {
    margin-top: 30px;
    text-align: left;
    background: white;
    padding: 30px;
    border-radius: var(--radio-borde);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-baja-wrapper.hidden {
    display: none;
}

.baja-info {
    margin-bottom: 20px;
    color: var(--color-texto-principal);
}

/* =========================================
   ANIMACIONES ESPECÍFICAS
   ========================================= */
.eva-animado {
    color: var(--color-acento);
    display: inline-block;
    animation: entradaElegante 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    /* Empieza invisible */
}

@keyframes entradaElegante {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-baja textarea {
    width: 100%;
    min-height: 100px;
    margin-bottom: 20px;
    resize: vertical;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    /* Mientras está oculto */
    transition: opacity 0.3s;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: scale(1);
}

.modal-icono {
    font-size: 3rem;
    color: var(--color-acento);
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-primario);
}

.modal-content p {
    color: var(--color-texto-suave);
    margin-bottom: 10px;
    line-height: 1.5;
}

.modal-content button {
    margin-top: 25px;
    width: 100%;
}

.documento-legal li {
    margin-bottom: 8px;
    color: #444;
}

/* =========================================
   PÁGINA FAQ (Preguntas Frecuentes)
   ========================================= */
.pagina-faq {
    padding: 80px 0;
    min-height: 60vh;
}

.faq-encabezado {
    text-align: center;
    margin-bottom: 50px;
}

.faq-encabezado h1 {
    font-size: 2.5rem;
    color: var(--color-primario);
    margin-bottom: 10px;
}

.faq-lista {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: var(--radio-borde);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /* Sombra más fuerte al abrir */
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primario);
    list-style: none;
    /* Ocultar triángulo default en algunos browsers */
    position: relative;
    padding-right: 40px;
}

/* Custom arrow for summary */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-acento);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    /* Convertir + en x */
}

.faq-respuesta {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #f9f9f9;
}

/* =========================================
   PÁGINA CONTACTO
   ========================================= */
.pagina-contacto {
    padding: 60px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contacto-info .info-card {
    background: white;
    padding: 25px;
    border-radius: var(--radio-borde);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #eee;
}

.icono-contacto {
    font-size: 2rem;
    color: var(--color-acento);
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 10px;
    color: var(--color-primario);
}

.info-card p {
    color: #555;
    margin-bottom: 5px;
}

.redes-sociales-contacto {
    text-align: center;
    margin-top: 30px;
}

.redes-sociales-contacto h3 {
    margin-bottom: 20px;
}

.redes-sociales-contacto .iconos-redes {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.redes-sociales-contacto a {
    font-size: 1.8rem;
    color: var(--color-primario);
    transition: color 0.3s;
}

.redes-sociales-contacto a:hover {
    color: var(--color-acento);
}

.contacto-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radio-borde);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.mapa-container {
    margin-top: 60px;
    border-radius: var(--radio-borde);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
   PÁGINA QUIENES SOMOS
   ========================================= */
.seccion-historia {
    padding: 80px 0;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .historia-grid {
        grid-template-columns: 1fr;
    }

    .historia-imagen {
        order: -1;
        /* Imagen arriba en móvil */
        margin-bottom: 30px;
    }
}

.historia-texto h2 {
    font-size: 2rem;
    color: var(--color-primario);
    margin-bottom: 25px;
}

.historia-texto p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.destacado-texto {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primario);
    border-left: 4px solid var(--color-acento);
    padding-left: 20px;
    margin: 30px 0;
}

.alertas-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .alertas-info {
        grid-template-columns: 1fr;
    }
}

.alerta-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.alerta-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #d32f2f;
    /* Rojo alerta */
    display: flex;
    align-items: center;
    gap: 10px;
}

.alerta-item h3 i {
    font-size: 1.3rem;
}

.alerta-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.recuadro-urgencias {
    background-color: #e3f2fd;
    /* Azul muy claro */
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
}

.recuadro-urgencias h3 {
    color: #0d47a1;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.recuadro-urgencias ul {
    list-style: disc;
    padding-left: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.historia-imagen .imagen-placeholder {
    width: 100%;
    height: 400px;
    background-color: #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    color: #aaa;
    font-size: 3rem;
    border: 2px dashed #ccc;
}

.historia-imagen .imagen-placeholder span {
    font-size: 1rem;
    margin-top: 15px;
}