/* ==============================
   Estilo general y accesibilidad
   ============================== */

:root {
    --rto-azul-oscuro: #020617;
    --rto-azul-header: #0f172a;
    --rto-verde-acento: #22c55e;
    --rto-gris-fondo: #020617; /* lo dejamos oscuro, el fondo claro lo pone turnos.css */
}

/* Fondo y tipografía base */
body {
    background-color: var(--rto-gris-fondo);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #111827;
}
/* Enlaces */
a {
    color: var(--rto-azul-header);
}

a:hover,
a:focus {
    color: var(--rto-verde-acento);
}

/* Saltar al contenido (accesibilidad) */
.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: #000;
    color: #fff;
    border-radius: 0.5rem;
    transform: translateY(-200%);
    transition: transform 0.2s ease;
    z-index: 10000;
    font-size: 0.9rem;
}

.skip-link:focus {
    transform: translateY(0);
}

/* ==============================
   Encabezado superior
   ============================== */

.top-header {
    background: linear-gradient(90deg, var(--rto-azul-header), var(--rto-azul-oscuro));
    font-size: 0.9rem;
}

.top-header-data a {
    color: #fff;
}

/* Badge de marca */
.brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #22c55e, #14532d);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.35);
}

/* ==============================
   Navbar
   ============================== */

.rto-navbar {
    background-color: var(--rto-azul-oscuro);
}

.navbar-logo {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #0d6efd, #1e293b);
    color: #fff;
    font-size: 1.2rem;
}

.navbar-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(255, 255, 255, 0.6);
}

.rto-navbar .nav-link {
    font-weight: 500;
    padding-inline: 0.75rem;
}

.rto-navbar .nav-link:hover,
.rto-navbar .nav-link:focus {
    color: var(--rto-verde-acento) !important;
}

/* ==============================
   Cards y efectos generales
   ============================== */

.rto-card-hover {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rto-card-hover:hover,
.rto-card-hover:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.15);
}

/* ==============================
   FOOTER MODERNO REVINOR
   ============================== */

.rto-footer {
    background: linear-gradient(135deg, var(--rto-azul-header), var(--rto-azul-oscuro));
    font-size: 0.9rem;
    color: #e5e7eb;
    padding-bottom: 2.5rem;
}

.rto-footer h5,
.rto-footer h6 {
    color: #fff;
    letter-spacing: 0.5px;
}

.rto-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.rto-footer a:hover {
    color: var(--rto-verde-acento);
    text-decoration: underline;
}

/* Botón WhatsApp */
.rto-footer .btn-whatsapp {
    background-color: #22c55e;
    border: none;
    color: #fff;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rto-footer .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.45);
}

/* Líneas divisorias */
.rto-footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Texto centrado inferior */
.rto-footer p {
    color: #cbd5e1;
}

/* ==============================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================== */

.whatsapp-float {
    position: fixed !important;
    bottom: 28px !important;
    right: 28px !important;

    width: 45px !important;
    height: 45px !important;

    background-color: #22c55e !important;
    color: #fff !important;

    border-radius: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 38px !important;
    text-decoration: none !important;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
    z-index: 99999 !important;

    transition: transform 0.2s ease, box-shadow 0.25s ease !important;
}

.whatsapp-float:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55) !important;
}


/* Responsive */
@media (max-width: 575.98px) {
    .rto-footer {
        text-align: center;
    }

    .rto-footer .btn-whatsapp {
        margin: 1rem auto;
    }
}

/* ==============================
   Responsive tweaks
   ============================== */

@media (max-width: 575.98px) {
    .top-header {
        text-align: center;
    }

    .top-header .container {
        align-items: flex-start !important;
    }

    .navbar-brand span {
        font-size: 0.95rem;
    }

    main .container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

@media (min-width: 992px) {
    main .container {
        max-width: 1120px; /* un poquito más ancho para respirar */
    }
}


.navbar-logo-img {
    height: 32px;      /* ajustá el tamaño del logo acá */
    width: auto;
    display: block;
    flex-shrink: 0;
}

/* Por si queda algún estilo viejo de .navbar-logo por ahí */
.navbar-logo {
    background: transparent !important;
    padding: 0 !important;
}
