/* Paleta compartida (coherente con sidebar)
-------------------------------------------------------------------------------- */
:root {
    --brand-violet-dark: #6a1f78;
    --brand-violet: #762684;
    --brand-violet-mid: #8b2d9c;
    --brand-violet-light: #a855f7;
    --brand-accent: #a8dadc;           /* Light teal institucional */
    --brand-accent-soft: #c8e8ea;
    --brand-lavender: #e9d5ff;
    --brand-ink: #2a1238;
    --brand-muted: #6b5876;
    --brand-surface: #ffffff;
    --brand-surface-alt: #faf7fc;
    --brand-gradient: linear-gradient(135deg, #762684 0%, #8b2d9c 50%, #9333c4 100%);
}


/* Estilos primarios
-------------------------------------------------------------------------------- */



/* Estilos varios
-------------------------------------------------------------------------------- */



/* Navegación
-------------------------------------------------------------------------------- */
.brand-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.brand-title {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}


/* Cabeceras
-------------------------------------------------------------------------------- */



/* Landing / Home (index)
-------------------------------------------------------------------------------- */
.home-landing {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(168, 218, 220, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(139, 45, 156, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, #fbfaff 0%, #f5f0f9 100%);
    overflow: hidden;
}

.home-landing::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: var(--brand-gradient);
    opacity: 0.08;
    border-radius: 50%;
    pointer-events: none;
}

.home-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
    color: var(--brand-ink);
}

.home-intro .home-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-violet);
    background: rgba(118, 38, 132, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.home-intro h1 {
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 0.75rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.home-intro p {
    color: var(--brand-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.service-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: var(--brand-surface);
    box-shadow: 0 10px 30px rgba(74, 22, 87, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(74, 22, 87, 0.22);
}

.service-card .service-media {
    background: var(--brand-gradient);
    padding: 2.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-card .service-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(168, 218, 220, 0.28) 0%, transparent 60%);
}

.service-card .service-media img {
    max-height: 110px;
    width: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
    position: relative;
    z-index: 1;
}

.service-card .card-body {
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.service-card .card-title {
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 0.5rem;
}

.service-card .card-text {
    color: var(--brand-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}


/* Botones de marca
-------------------------------------------------------------------------------- */
.btn-brand {
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(74, 22, 87, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(74, 22, 87, 0.42);
}

.btn-brand:active {
    transform: translateY(0);
}

.btn-brand i {
    margin-right: 6px;
}

.btn-brand-outline {
    background: transparent;
    color: var(--brand-violet);
    border: 2px solid var(--brand-violet);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 1.4rem;
    transition: all 0.2s ease;
}

.btn-brand-outline:hover {
    background: var(--brand-violet);
    color: #fff;
}


/* Auth / Signin
-------------------------------------------------------------------------------- */
.auth-page {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at 20% 15%, rgba(168, 218, 220, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 80% 85%, rgba(139, 45, 156, 0.14) 0%, transparent 45%),
        linear-gradient(180deg, #fbfaff 0%, #f3ecf6 100%);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--brand-surface);
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(58, 16, 71, 0.22);
    overflow: hidden;
}

.auth-card .auth-header {
    background: var(--brand-gradient);
    color: #fff;
    padding: 2.25rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-card .auth-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(168, 218, 220, 0.28) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-card .auth-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.9rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.auth-card .auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.auth-card .auth-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0.35rem 0 0;
    position: relative;
    z-index: 1;
}

.auth-card .auth-body {
    padding: 2rem 1.75rem 1.75rem;
}

.auth-card .form-control {
    border-radius: 10px;
    border: 1.5px solid #e6dced;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #faf7fc;
}

.auth-card .form-control:focus {
    border-color: var(--brand-violet);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(118, 38, 132, 0.15);
}

.auth-card .input-group {
    position: relative;
}

.auth-card .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-muted);
    z-index: 3;
    pointer-events: none;
}

.auth-card .has-icon .form-control {
    padding-left: 2.5rem;
}

.auth-card .btn-link {
    color: var(--brand-violet);
    font-size: 0.875rem;
    padding: 0;
    font-weight: 500;
}

.auth-card .btn-link:hover {
    color: var(--brand-violet-mid);
    text-decoration: none;
}

.auth-card .form-check-label {
    color: var(--brand-muted);
    font-size: 0.875rem;
}

.auth-footer-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--brand-muted);
    font-size: 0.8rem;
}

.auth-footer-note i {
    color: var(--brand-violet);
    margin-right: 4px;
}


/* Sobre nosotros
-------------------------------------------------------------------------------- */



/* Contacto
-------------------------------------------------------------------------------- */



/* Preguntas frecuentes
-------------------------------------------------------------------------------- */



/* Pie de página
-------------------------------------------------------------------------------- */
.public-footer {
    background: linear-gradient(180deg, #fbfaff 0%, #f3ecf6 100%);
    border-top: 1px solid rgba(118, 38, 132, 0.14);
    padding: 1.75rem 0;
    color: var(--brand-muted);
    font-size: 0.85rem;
}

.public-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.public-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-violet);
    letter-spacing: 0.2px;
}

.public-footer-copy {
    color: var(--brand-muted);
}

.public-footer-copy a {
    color: var(--brand-violet);
    font-weight: 600;
    transition: color 0.2s ease;
}

.public-footer-copy a:hover {
    color: var(--brand-violet-mid);
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .public-footer-inner {
        justify-content: center;
        text-align: center;
    }
}


/* Botón extra-grande (.btn-xl)
-------------------------------------------------------------------------------- */
.btn-xl {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    letter-spacing: 0.3px;
}


/* Sección de página estándar (.page-section)
-------------------------------------------------------------------------------- */
.page-section {
    padding: 5rem 0;
}

@media (max-width: 767.98px) {
    .page-section {
        padding: 3rem 0;
    }
}
