:root {
    --cd-primary: #0d6efd;
    --cd-primary-dark: #0b57d0;
    --cd-bg: #f5f7fb;
    --cd-surface: #ffffff;
    --cd-surface-soft: #f8fafc;
    --cd-text: #0f172a;
    --cd-muted: #64748b;
    --cd-line: #e2e8f0;
    --cd-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --cd-shadow-md: 0 20px 50px rgba(15, 23, 42, 0.08);
    --cd-radius-sm: 14px;
    --cd-radius-md: 20px;
    --cd-radius-lg: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--cd-text);
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.07), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--cd-bg) 100%);
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-text {
    color: var(--cd-muted);
    line-height: 1.8;
    font-size: 1.02rem;
}
section .home-content-card p,
section .section-text,
.hero-copy p {
    font-size: 1.3rem;
    /* Aumenta el tamaño de la fuente a 1.3rem */
    line-height: 1.8;
    /* Mejora la legibilidad aumentando la altura de las líneas */
}
/* =========================
   HEADER / NAVBAR
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.navbar-brand img {
    max-height: 48px;
    width: auto;
}

.navbar .nav-link {
    color: var(--cd-muted);
    font-weight: 600;
    padding: 0.75rem 1rem !important;
    border-radius: 999px;
    transition: all .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--cd-primary);
    background: rgba(13, 110, 253, 0.08);
}

.btn-login,
.btn-hero-primary {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.8rem 1.3rem;
    box-shadow: var(--cd-shadow-sm);
}

.btn-login {
    background: var(--cd-text);
    color: #fff;
    border: 0;
}

.btn-login:hover {
    background: #1e293b;
    color: #fff;
}

.btn-hero-primary {
    background: var(--cd-primary);
    color: #fff;
    border: 0;
}

.btn-hero-primary:hover {
    background: var(--cd-primary-dark);
    color: #fff;
}

.btn-hero-secondary {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.8rem 1.3rem;
    background: #fff;
    border: 1px solid var(--cd-line);
    color: var(--cd-text);
}

/* =========================
   HERO / SLIDER
   ========================= */

.hero-section {
    background: #053373;
    /* Azul oscuro (o el color exacto que prefieras) */
    color: white;
    /* Aseguramos que el texto se vea bien sobre el azul */
    padding: 4rem 0 3rem;
}
.hero-section .col-lg-6.hero-copy {
    background-color: #053373;
    /* Azul oscuro */
    padding: 30px;
    border-radius: 10px;
    color: white;
    /* Para que el texto se vea bien sobre el fondo oscuro */
}
.hero-slider-card {
  background: #f3f6f9;  /* Azul oscuro */
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius-lg);
  box-shadow: var(--cd-shadow-md);
  overflow: hidden;
}
.hero-section .hero-copy img {
    width: 150px;
    /* Fija el ancho del logo */
    height: auto;
    /* Mantiene la proporción de la imagen */
}

.hero-slide {
    min-height: 460px;
    padding: 3rem;
}

.hero-copy h1,
.hero-copy h2 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.03;
    margin-bottom: 1rem;
}

.hero-copy p {
    font-size: 1.05rem;
    color: var(--cd-muted);
    line-height: 1.8;
    max-width: 54ch;
    margin-bottom: 1.5rem;
}

.hero-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--cd-shadow-sm);
}

/* Si usan carousel de Bootstrap */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(1);
}

/* =========================
   LOGIN / BLOQUE DESTACADO
   ========================= */

.login-cta {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.login-cta .btn {
    min-width: 220px;
}

/* =========================
   CONTENIDO CENTRAL
   ========================= */

.home-content-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--cd-line);
    border-radius: var(--cd-radius-md);
    box-shadow: var(--cd-shadow-sm);
    padding: 2rem;
}

.home-content-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.home-content-card p {
    color: var(--cd-muted);
    line-height: 1.85;
}

.notice-box {
    border-left: 4px solid var(--cd-primary);
    background: rgba(13, 110, 253, 0.05);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    margin-top: 1.5rem;
}

/* =========================
   CARDS / SECCIONES
   ========================= */

.info-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--cd-line);
    border-radius: var(--cd-radius-md);
    box-shadow: var(--cd-shadow-sm);
    padding: 1.6rem;
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.info-card p {
    color: var(--cd-muted);
    line-height: 1.75;
}

.icon-badge {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--cd-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    margin-top: 4rem;
    background: #426fae;
    color: rgba(255, 255, 255, 0.86);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.site-footer h5,
.site-footer h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.site-footer a:hover {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li+li {
    margin-top: 0.5rem;
}

.footer-bottom {
    padding: 1.2rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
}
.service-list li{
    font-size: 1.3rem;
}
.slider-caption-bottom {
    bottom: 5px;
    top: auto;
}
.submitButton {
    background: #053373;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.submitButton:hover {
    background: #0056b3;
}
/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991.98px) {
    .hero-slide {
        padding: 2rem;
        min-height: auto;
    }

    .hero-media img {
        height: 260px;
        margin-top: 1.5rem;
    }

    .navbar .btn-login {
        margin-top: 1rem;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 3.5rem 0;
    }

    .hero-section {
        padding-top: 2.5rem;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 2.2rem;
    }

    .home-content-card {
        padding: 1.4rem;
    }

    .hero-media img {
        height: 220px;
        border-radius: 18px;
    }
}