/* ==========================================================================
   ESTILOS COMPARTIDOS - PÁGINAS DE DETALLE DENTRO DE /servicios
   Usado por: medicina-general.html, laboratorio-clinico.html,
   solicitar-capacitacion.html, rcf-informacion.html, agendar-sesion.html
   ========================================================================== */

.detalle-hero {
    padding: 3.5rem 2rem 3rem;
    color: #ffffff;
    text-align: center;
}

.detalle-hero .etiqueta {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.detalle-hero h1 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 0.8rem;
    text-transform: uppercase;
}

.detalle-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.detalle-hero.rojo { background: linear-gradient(120deg, #8B0000 0%, #E50914 100%); }
.detalle-hero.azul { background: linear-gradient(120deg, #00719E 0%, #00A0DC 100%); }
.detalle-hero.marino { background: linear-gradient(120deg, #1A2530 0%, #2A3B4C 100%); }

.breadcrumb {
    max-width: 900px;
    margin: 0 auto 1.2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
}

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

.detalle-contenido {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.detalle-contenido h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #1A2530;
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
}

.detalle-contenido h2:first-child {
    margin-top: 0;
}

.detalle-contenido p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 1.1rem;
}

.detalle-contenido ul,
.detalle-contenido ol {
    color: #444;
    line-height: 1.8;
    margin: 0 0 1.5rem 1.4rem;
}

.detalle-contenido strong {
    color: #1A2530;
}

/* Tarjetas de información (horarios, contacto, requisitos, etc.) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem;
}

.info-card {
    background-color: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 12px;
    padding: 1.6rem;
}

.info-card h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #E50914;
    margin: 0 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card p,
.info-card ul {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.info-card ul {
    margin-left: 1.1rem;
}

/* Tabla de horarios */
.tabla-horarios {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2.5rem;
    font-size: 0.95rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tabla-horarios th,
.tabla-horarios td {
    padding: 0.9rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #E9ECEF;
}

.tabla-horarios th {
    background-color: #1A2530;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.tabla-horarios tr:last-child td {
    border-bottom: none;
}

.tabla-horarios tr:nth-child(even) td {
    background-color: #F8F9FA;
}

/* Aviso destacado */
.aviso-destacado {
    background-color: #FFF4E5;
    border-left: 4px solid #E5A017;
    padding: 1rem 1.4rem;
    border-radius: 6px;
    margin: 1.5rem 0 2.5rem;
    font-size: 0.95rem;
    color: #5c4210;
}

.aviso-destacado strong {
    color: #5c4210;
}

/* Formularios de contacto */
.formulario {
    background-color: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 14px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.formulario .campo {
    margin-bottom: 1.3rem;
}

.formulario label {
    display: block;
    font-weight: 700;
    color: #1A2530;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}

.formulario input,
.formulario select,
.formulario textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D6DBE1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background-color: #ffffff;
    box-sizing: border-box;
}

.formulario input:focus,
.formulario select:focus,
.formulario textarea:focus {
    outline: none;
    border-color: #E50914;
}

.formulario textarea {
    resize: vertical;
    min-height: 110px;
}

.formulario .fila-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
}

.formulario button {
    border: none;
    cursor: pointer;
}

.nota-formulario {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
}

/* Botón para volver a servicios */
.volver-servicios {
    display: inline-block;
    margin-top: 1rem;
    color: #E50914;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.volver-servicios:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   ACORDEÓN DE LÍNEAS Y SUBLÍNEAS (usado en Salud Mental y Apoyo Psicosocial)
   Cada <details> es una "línea" con imagen; al abrirla se muestran sus
   "sublíneas" con la lista de actividades específicas.
   -------------------------------------------------------------------------- */
.linea-acordeon {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.3rem;
    border: 1px solid #E9ECEF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.linea-acordeon summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0;
    position: relative;
}

.linea-acordeon summary::-webkit-details-marker {
    display: none;
}

.linea-imagen {
    width: 110px;
    min-width: 110px;
    height: 88px;
    background-size: cover;
    background-position: center;
}

.linea-titulo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.2rem 1rem 0;
}

.linea-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #00A0DC;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.linea-titulo-wrap h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #1A2530;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.linea-flecha {
    margin-left: auto;
    margin-right: 1.2rem;
    font-size: 1.1rem;
    color: #00A0DC;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.linea-acordeon[open] .linea-flecha {
    transform: rotate(180deg);
}

.linea-acordeon[open] summary {
    border-bottom: 1px solid #E9ECEF;
}

.linea-contenido {
    padding: 1.5rem 1.6rem 1.8rem;
    background-color: #FAFBFC;
}

.sublinea {
    margin-bottom: 1.3rem;
}

.sublinea:last-child {
    margin-bottom: 0;
}

.sublinea-titulo {
    display: inline-block;
    background-color: rgba(0, 160, 220, 0.12);
    color: #007BAE;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 0.7rem;
}

.sublinea ul {
    margin: 0 0 0 1.3rem;
    color: #444;
}

.sublinea ul li {
    margin-bottom: 0.4rem;
    line-height: 1.55;
}

@media (max-width: 640px) {
    .linea-imagen {
        width: 70px;
        min-width: 70px;
        height: 70px;
    }

    .linea-titulo-wrap {
        padding: 0.8rem 0.6rem 0.8rem 0;
        gap: 0.6rem;
    }

    .linea-titulo-wrap h3 {
        font-size: 0.95rem;
    }

    .linea-flecha {
        margin-right: 0.8rem;
    }

    .linea-contenido {
        padding: 1.2rem 1rem 1.4rem;
    }
}

/* Recuadro de precio/inversión destacado (curso de pago) */
.precio-destacado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: linear-gradient(120deg, #8B0000 0%, #E50914 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 1.6rem 2rem;
    margin: 1.5rem 0 2.5rem;
}

.precio-destacado .precio-texto {
    font-size: 1.05rem;
    font-weight: 600;
}

.precio-destacado .precio-monto {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.precio-destacado .precio-monto span {
    font-size: 1rem;
    font-weight: 700;
    vertical-align: super;
}

/* Insignia "Próximamente" */
.badge-proximamente {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* Tarjetas de sueros (Detox / Inmune / Hepat), cada una con su color */
.grid-sueros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem;
}

.tarjeta-suero {
    border-radius: 14px;
    padding: 1.8rem;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.tarjeta-suero.detox { background: linear-gradient(150deg, #2f7d4f 0%, #4CAF6C 100%); }
.tarjeta-suero.inmune { background: linear-gradient(150deg, #00719E 0%, #00A0DC 100%); }
.tarjeta-suero.hepat { background: linear-gradient(150deg, #C97A0E 0%, #F0A430 100%); }

.tarjeta-suero h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.3rem;
    margin: 0 0 0.3rem;
}

.tarjeta-suero .tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.tarjeta-suero ul {
    margin: 0 0 1rem 1.2rem;
    color: rgba(255, 255, 255, 0.95);
}

.tarjeta-suero ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tarjeta-suero .frase-final {
    font-style: italic;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 640px) {
    .detalle-hero h1 {
        font-size: 1.7rem;
    }

    .formulario .fila-doble {
        grid-template-columns: 1fr;
    }

    .precio-destacado {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* ==========================================================================
   PROCEDIMIENTOS Y TRATAMIENTOS (grid de íconos) - Medicina General
   ========================================================================== */
.grid-procedimientos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0 2.5rem;
}

.procedimiento-card {
    background-color: #ffffff;
    border: 1px solid #E9ECEF;
    border-radius: 12px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.procedimiento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
    border-color: var(--color-acento, #E50914);
}

.procedimiento-icono {
    width: 58px;
    height: 58px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background-color: var(--color-acento-suave, rgba(229, 9, 20, 0.1));
}

.procedimiento-card h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A2530;
    margin: 0;
    line-height: 1.35;
}

/* Rotación de colores por tarjeta, siguiendo la paleta del sitio */
.procedimiento-card:nth-child(4n+1) { --color-acento: #E50914; --color-acento-suave: rgba(229, 9, 20, 0.1); }
.procedimiento-card:nth-child(4n+2) { --color-acento: #00A0DC; --color-acento-suave: rgba(0, 160, 220, 0.1); }
.procedimiento-card:nth-child(4n+3) { --color-acento: #4CAF6C; --color-acento-suave: rgba(76, 175, 108, 0.12); }
.procedimiento-card:nth-child(4n+4) { --color-acento: #F0A430; --color-acento-suave: rgba(240, 164, 48, 0.12); }

/* ==========================================================================
   SERVICIOS ADICIONALES (tarjetas con imagen) - Medicina General
   ========================================================================== */
.grid-adicionales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem;
}

.tarjeta-adicional {
    background-color: #ffffff;
    border: 1px solid #E9ECEF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarjeta-adicional:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.tarjeta-adicional-imagen {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
}

/* Colores de respaldo mientras no haya foto, o si la imagen no carga */
.tarjeta-adicional.vph .tarjeta-adicional-imagen { background-color: #8B0000; }
.tarjeta-adicional.papanicolaou .tarjeta-adicional-imagen { background-color: #00719E; }

.tarjeta-adicional-contenido {
    padding: 1.4rem 1.5rem 1.6rem;
}

.tarjeta-adicional-etiqueta {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
}

.tarjeta-adicional.vph .tarjeta-adicional-etiqueta { background-color: rgba(229, 9, 20, 0.1); color: #E50914; }
.tarjeta-adicional.papanicolaou .tarjeta-adicional-etiqueta { background-color: rgba(0, 160, 220, 0.1); color: #00719E; }

.tarjeta-adicional-contenido h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #1A2530;
    margin: 0 0 0.5rem;
}

.tarjeta-adicional-contenido p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 640px) {
    .grid-procedimientos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   PANEL "CONTÁCTANOS" DE RCF - Inspirado en el material oficial de RCF
   (imagen + sobres flotantes + cinta de contacto en degradado azul)
   ========================================================================== */
.rcf-contacto {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 1.5rem 0 2.5rem;
}

.rcf-contacto-visual {
    position: relative;
    background: linear-gradient(160deg, #EAF6FC 0%, #D6EEFA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
}

.rcf-contacto-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 260px;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.rcf-contacto-visual:hover img {
    transform: scale(1.03);
}

.rcf-sobres {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rcf-sobres .sobre {
    position: absolute;
    font-size: 1.6rem;
    opacity: 0.35;
    animation: sobreFlotante 7s ease-in-out infinite;
}

.sobre.s1 { top: 12%; left: 10%; animation-delay: 0s; }
.sobre.s2 { top: 70%; left: 15%; font-size: 1.3rem; animation-delay: 1.5s; }
.sobre.s3 { top: 18%; left: 78%; font-size: 1.8rem; animation-delay: 3s; }
.sobre.s4 { top: 72%; left: 80%; font-size: 1.4rem; animation-delay: 4.5s; }

@keyframes sobreFlotante {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(6deg); }
}

.rcf-contacto-info {
    background-color: #ffffff;
    padding: 2.2rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rcf-contacto-etiqueta {
    display: inline-block;
    background-color: rgba(0, 113, 158, 0.1);
    color: #00719E;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 0.9rem;
    width: fit-content;
}

.rcf-contacto-info h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #00719E;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.rcf-contacto-info > p {
    color: #444;
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

.rcf-contacto-cta {
    background: linear-gradient(120deg, #00A0DC 0%, #00719E 100%);
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    margin-bottom: 1.2rem;
}

.rcf-contacto-cta-titulo {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.7rem;
}

.rcf-contacto-cta a {
    display: block;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.98rem;
    padding: 0.3rem 0;
    transition: opacity 0.2s ease;
}

.rcf-contacto-cta a:hover {
    opacity: 0.82;
    text-decoration: underline;
}

.rcf-contacto-apoyo {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

@media (max-width: 720px) {
    .rcf-contacto {
        grid-template-columns: 1fr;
    }

    .rcf-contacto-visual {
        padding: 2rem 1.5rem;
    }

    .rcf-contacto-info {
        padding: 1.8rem 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rcf-sobres .sobre {
        animation: none !important;
    }
}

/* ==========================================================================
   LOGO EN EL HERO DE PÁGINAS DE DETALLE
   ========================================================================== */
.detalle-hero-logo {
    display: block;
    max-height: 90px;
    width: auto;
    margin: 0 auto 1.1rem;
}

/* ==========================================================================
   RCF - "SERVICIOS QUE OFRECEMOS" A TODO EL ANCHO
   ========================================================================== */
.rcf-servicios-ancho {
    width: 100%;
    background: linear-gradient(135deg, #00394F 0%, #00719E 55%, #00A0DC 100%);
    padding: 4.5rem 2rem;
    color: #ffffff;
}

.rcf-servicios-contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.rcf-servicios-contenedor > h2 {
    text-align: center;
    color: #ffffff;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.rcf-servicios-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2.6rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.rcf-servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
    margin-bottom: 2.4rem;
}

.rcf-servicio-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1.8rem 1.6rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.rcf-servicio-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.18);
}

.rcf-servicio-card .icono {
    font-size: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    margin-bottom: 1rem;
}

.rcf-servicio-card h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.rcf-servicio-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

.rcf-servicio-destacado {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.rcf-servicio-destacado-badge {
    display: inline-block;
    background-color: #00719E;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.7rem;
}

.rcf-servicio-destacado p {
    color: #1A2530;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   RCF - "CONTACTO DEL EQUIPO RCF" A TODO EL ANCHO
   ========================================================================== */
.rcf-equipo-ancho {
    width: 100%;
    background-color: #1A2530;
    padding: 4rem 2rem;
}

.rcf-equipo-contenedor {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.rcf-equipo-contenedor > h2 {
    color: #ffffff;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2rem;
    margin-bottom: 2.2rem;
}

.rcf-equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
    text-align: left;
}

.rcf-equipo-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1.6rem 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.rcf-equipo-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.rcf-equipo-card h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #00A0DC;
    margin-bottom: 0.7rem;
}

.rcf-equipo-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #E2E8F0;
    margin: 0;
}

@media (max-width: 640px) {
    .rcf-servicios-ancho,
    .rcf-equipo-ancho {
        padding: 3rem 1.2rem;
    }
}

/* ==========================================================================
   MEJORAS RESPONSIVE ADICIONALES PARA CELULAR
   ========================================================================== */
@media (max-width: 640px) {
    .detalle-hero {
        padding: 2.5rem 1.2rem 2.2rem;
    }

    .detalle-hero .etiqueta {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }

    .detalle-hero p {
        font-size: 0.95rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .detalle-contenido {
        padding: 2rem 1.2rem 3rem;
    }

    .detalle-contenido h2 {
        font-size: 1.3rem;
        margin: 2rem 0 0.8rem;
    }

    .detalle-contenido p,
    .detalle-contenido ul,
    .detalle-contenido ol {
        font-size: 0.95rem;
    }

    .info-card {
        padding: 1.2rem;
    }

    /* Tabla de horarios: scroll horizontal suave en vez de romper el diseño */
    .tabla-horarios {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .tabla-horarios th,
    .tabla-horarios td {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }

    .formulario {
        padding: 1.4rem;
        border-radius: 12px;
    }

    .formulario input,
    .formulario select,
    .formulario textarea {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .grid-procedimientos {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9rem;
    }

    .procedimiento-card {
        padding: 1.2rem 0.9rem;
    }

    .procedimiento-icono {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .procedimiento-card h3 {
        font-size: 0.85rem;
    }

    .grid-adicionales {
        grid-template-columns: 1fr;
    }

    .tarjeta-adicional-imagen {
        height: 130px;
    }

    .grid-sueros {
        grid-template-columns: 1fr;
    }

    .tarjeta-suero {
        padding: 1.4rem;
    }

    .precio-destacado {
        padding: 1.3rem 1.4rem;
    }

    .precio-destacado .precio-monto {
        font-size: 1.9rem;
    }

    .rcf-servicios-contenedor > h2,
    .rcf-equipo-contenedor > h2 {
        font-size: 1.5rem;
    }

    .rcf-servicio-card,
    .rcf-equipo-card {
        padding: 1.4rem 1.2rem;
    }
}

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

    .detalle-hero h1 {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   FORMULARIO DE SOLICITUD DE CAPACITACIÓN - SECCIÓN A TODO EL ANCHO
   ========================================================================== */
.capacitacion-form-ancho {
    width: 100%;
    background: linear-gradient(135deg, #1A2530 0%, #2A3B4C 55%, #00719E 100%);
    padding: 4.5rem 2rem;
}

.capacitacion-form-contenedor {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.capacitacion-form-etiqueta {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.capacitacion-form-contenedor h2 {
    color: #ffffff;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2rem;
    margin: 0 0 0.8rem;
}

.capacitacion-form-contenedor > p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 2.4rem;
    line-height: 1.6;
}

.detalle-contenido-cierre {
    padding-top: 2rem;
}

/* Tarjeta blanca que contiene el formulario */
.card-registro {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 2.2rem 2.4rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.form-capacitacion .fila-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
}

.form-capacitacion .grupo-input {
    margin-bottom: 1.3rem;
}

.form-capacitacion label {
    display: block;
    font-weight: 700;
    color: #1A2530;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}

.form-capacitacion input,
.form-capacitacion select,
.form-capacitacion textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D6DBE1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background-color: #F8F9FA;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-capacitacion input:focus,
.form-capacitacion select:focus,
.form-capacitacion textarea:focus {
    outline: none;
    border-color: #00A0DC;
    background-color: #ffffff;
}

.form-capacitacion textarea {
    resize: vertical;
    min-height: 110px;
}

.form-capacitacion button.btn-primary {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

/* Tarjeta "Próximamente" sin enlace: se ve igual pero no es clicable */
.tarjeta-hover-proximamente {
    cursor: default;
}

.tarjeta-hover-proximamente:hover {
    transform: none;
}

@media (max-width: 640px) {
    .capacitacion-form-ancho {
        padding: 3rem 1.2rem;
    }

    .card-registro {
        padding: 1.6rem 1.4rem;
        border-radius: 14px;
    }

    .form-capacitacion .fila-doble {
        grid-template-columns: 1fr;
    }

    .capacitacion-form-contenedor h2 {
        font-size: 1.5rem;
    }
}