/* ============================================
   CHEVROLET — Sistema de Diseño de Evento
   ============================================ */

:root {
    --azul-oscuro:    #0A1A40;
    --azul-medio:     #0C2156;
    --azul-primario:  #0033CC;
    --azul-brillante: #0055FF;
    --azul-gradient:  linear-gradient(90deg, #0033CC, #0055FF);
    --amarillo:       #FFC300;
    --amarillo-suave: #FFFBEE;
    --blanco:         #FFFFFF;
    --gris-claro:     #F5F6FA;
    --gris-borde:     #DADADA;
    --gris-texto:     #666666;
    --gris-suave:     #555555;
    --sombra-card:    0 20px 60px rgba(0, 0, 0, 0.18);
    --sombra-boton:   0 4px 14px rgba(0, 51, 204, 0.35);
    --radius:         22px;
    --radius-sm:      8px;
    --radius-input:   9px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--blanco);
    background-color: var(--azul-oscuro);
    min-height: 100vh;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* --- Fondo base (patrón detallado en pattern.css) --- */
.bg-pattern {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: var(--azul-oscuro);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--azul-oscuro);
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blanco);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.navbar-brand svg { height: 32px; width: 32px; }

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
}

.navbar-nav a {
    color: rgba(255,255,255,0.82);
    padding: 0 1.1rem;
    height: 68px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    position: relative;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--amarillo);
    background: rgba(255,255,255,0.05);
}

.navbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem; right: 1.2rem;
    height: 3px;
    background: var(--amarillo);
    border-radius: 3px 3px 0 0;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-content h1 span { color: var(--amarillo); }

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(27,46,92,0.6), rgba(37,99,235,0.3));
}

.hero-shapes {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 320px; height: 320px;
    background: var(--azul-brillante);
    opacity: 0.25;
    top: -40px; right: -80px;
}

.shape-2 {
    width: 180px; height: 180px;
    background: var(--amarillo);
    opacity: 0.3;
    bottom: 15%; left: 10%;
}

.shape-3 {
    width: 100px; height: 100px;
    background: var(--amarillo);
    opacity: 0.15;
    top: 40%; right: 25%;
}

.shape-4 {
    width: 60px; height: 60px;
    background: var(--blanco);
    opacity: 0.08;
    top: 20%; left: 30%;
}

.hero-image {
    position: relative;
    z-index: 1;
    max-width: 80%;
    max-height: 80%;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--blanco);
    border-radius: var(--radius);
    box-shadow: var(--sombra-card);
    padding: 2.5rem;
    color: #1F2937;
}

.card-sm { padding: 1.5rem; }

.card-center {
    max-width: 480px;
    margin: 3rem auto;
}

.card-wide {
    max-width: 900px;
    margin: 2rem auto;
}

.card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
}

.card p.subtitle {
    color: var(--gris-texto);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--gris-borde);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--blanco);
    color: #1F2937;
}

.form-control:focus {
    outline: none;
    border-color: var(--azul-brillante);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder { color: #9CA3AF; }

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
    text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--azul-gradient);
    color: var(--blanco);
    box-shadow: var(--sombra-boton);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover { box-shadow: 0 6px 20px rgba(0, 51, 204, 0.45); }

.btn-full { width: 100%; }

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--azul-brillante);
    color: var(--azul-brillante);
}

.btn-outline:hover {
    background: var(--azul-brillante);
    color: var(--blanco);
}

/* Outlined button variant for use on dark/blue backgrounds */
.btn-outline-nav {
    border-color: rgba(255,255,255,0.35);
    color: var(--blanco);
}
.btn-outline-nav:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    color: var(--blanco);
}

.btn-yellow {
    background: var(--amarillo);
    color: var(--azul-oscuro);
    font-weight: 700;
}

.btn-yellow:hover { background: #E0AC00; }

.btn-maps {
    background: #10B981;
    color: var(--blanco);
}

.btn-maps:hover { background: #059669; }

.btn-calendar {
    background: var(--azul-primario);
    color: var(--blanco);
}

.btn-calendar:hover { background: #0026A3; }

/* ============================================
   ALERTAS
   ============================================ */
.alert {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

/* ============================================
   AGENDA
   ============================================ */
.agenda-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.agenda-tab {
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: none;
    font-family: var(--font);
    text-decoration: none;
    display: inline-block;
}

.agenda-tab:hover,
.agenda-tab.active {
    background: var(--amarillo);
    color: var(--azul-oscuro);
}

.sesion-card {
    background: var(--blanco);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    color: #1F2937;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    align-items: start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.sesion-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.sesion-hora {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--azul-brillante);
    padding-top: 0.2rem;
}

.sesion-hora small {
    display: block;
    font-weight: 400;
    color: var(--gris-texto);
    font-size: 0.8rem;
}

.sesion-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 0.3rem;
}

.sesion-info p {
    font-size: 0.9rem;
    color: var(--gris-texto);
    margin-bottom: 0.5rem;
}

.sesion-info .speaker-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #EFF6FF;
    color: var(--azul-brillante);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sesion-info .ubicacion-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gris-texto);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.sesion-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

/* ============================================
   SPEAKERS GRID
   ============================================ */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.speaker-card {
    background: var(--blanco);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--sombra-card);
    transition: transform 0.2s, box-shadow 0.2s;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11,26,62,0.15);
}

.speaker-photo {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1B2E5C, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-photo .initials {
    font-size: 3rem;
    font-weight: 700;
    color: var(--blanco);
}

.speaker-body {
    padding: 1.5rem;
    color: #1F2937;
}

.speaker-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 0.2rem;
}

.speaker-body .cargo {
    color: var(--azul-brillante);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.speaker-body .especialidad {
    color: var(--gris-texto);
    font-size: 0.85rem;
}

/* ============================================
   SPEAKER DETAIL
   ============================================ */
.speaker-detail {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

.speaker-detail-photo {
    width: 100%;
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #1B2E5C, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-detail-photo .initials {
    font-size: 5rem;
    font-weight: 700;
    color: var(--blanco);
}

/* ============================================
   FEATURES HOME
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}

.feature-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-center { text-align: center; }
.text-yellow { color: var(--amarillo); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

.link-yellow {
    color: var(--amarillo);
    font-weight: 600;
    transition: opacity 0.2s;
}
.link-yellow:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar user name */
.navbar-user {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

/* Separador "/" entre links */
.navbar-sep {
    color: rgba(255,255,255,0.28);
    font-size: 1rem;
    padding: 0 0.1rem;
    user-select: none;
    pointer-events: none;
}

/* Botón circular de perfil */
.navbar-user-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--amarillo);
    color: var(--azul-oscuro);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-user-btn:hover {
    background: #E0AC00;
    transform: scale(1.06);
    color: var(--azul-oscuro);
}

/* Hero CTA buttons row */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Helper text below auth forms */
.form-switch-hint {
    color: var(--gris-texto);
    font-size: 0.9rem;
}

/* Agenda day group heading */
.agenda-day-heading {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-size: 1.3rem;
}

/* CTA card (gradient) on home */
.card-cta {
    background: linear-gradient(135deg, #0C2156, #0033CC);
    color: var(--blanco);
}

.cta-heading {
    color: var(--blanco);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-subtext {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

/* Speaker detail typography */
.speaker-detail-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.speaker-detail-role {
    color: var(--azul-brillante);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.speaker-detail-specialty {
    color: var(--gris-texto);
    margin-bottom: 1rem;
}

.speaker-detail-bio {
    line-height: 1.7;
}

.speaker-sessions-title {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--azul-oscuro);
}

.speaker-session-item {
    background: #F9FAFB;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.speaker-session-meta {
    color: var(--gris-texto);
}

/* Inline display for back-button */
.btn-inline {
    display: inline-flex;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .hero-content h1 { font-size: 2rem; }
    .hero-content p { max-width: 100%; }
    .hero-graphic { height: 250px; }

    .navbar { padding: 0 1rem; }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: var(--azul-oscuro);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .navbar-nav.show { display: flex; }

    .navbar-nav a {
        height: auto;
        padding: 0.8rem 1.5rem;
    }

    .navbar-toggle { display: block; }

    .sesion-card {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .sesion-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .speaker-detail { grid-template-columns: 1fr; }
    .section { padding: 2rem 1rem; }

    .card {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }

    .card-center { max-width: 100%; }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .speakers-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.6rem; }

    .agenda-tabs {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   VALIDATION
   ============================================ */
.field-validation-error {
    color: #DC2626;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    display: block;
}

.input-validation-error {
    border-color: #DC2626 !important;
}

/* ============================================
   PÁGINA INICIO – Hero, Features, Speakers
   ============================================ */

/* Hero de dos columnas */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 76vh;
    align-items: center;
    gap: 2rem;
    padding: 3rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content { display: flex; flex-direction: column; gap: 1.4rem; }

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--amarillo);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--blanco);
    margin: 0;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 480px;
    line-height: 1.65;
}

.hero-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-svg { width: 100%; max-width: 420px; filter: drop-shadow(0 20px 60px rgba(0,51,204,0.35)); }

/* Features strip */
.features-section {
    padding: 2.5rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: background 0.2s;
}

.feature-card:hover { background: rgba(255,255,255,0.09); }

.feature-icon {
    width: 48px; height: 48px;
    background: rgba(255,195,0,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blanco);
    margin: 0;
}

.feature-card p {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Speakers preview strip */
.speakers-preview {
    padding: 2.5rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.speaker-mini-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    color: var(--blanco);
}

.speaker-mini-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); color: var(--blanco); }

.speaker-mini-avatar {
    width: 52px; height: 52px;
    background: rgba(255,195,0,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.speaker-mini-info { display: flex; flex-direction: column; gap: 0.25rem; }
.speaker-mini-info strong { font-size: 0.95rem; font-weight: 700; }
.speaker-mini-info span { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* Responsive Inicio */
@media (max-width: 900px) {
    .hero-section { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; min-height: auto; }
    .hero-graphic { display: none; }
    .features-section, .speakers-preview { padding: 2rem 1.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .features-grid { grid-template-columns: 1fr; }
    .speakers-grid { grid-template-columns: 1fr; }
}

/* ============================================
   NAVBAR LOGO — imagen cargable por el usuario
   Archivo: wwwroot/img/logo.png
   ============================================ */

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--blanco);
    text-decoration: none;
    line-height: 1;
}

/* Imagen del logo en la navbar */
.navbar-logo-img {
    height: 52px;          /* se adapta al navbar de 68px */
    width: auto;
    display: block;
    object-fit: contain;
}

/* ============================================
   LANDING HERO — Pantalla de bienvenida pública
   ============================================ */

.landing-hero {
    position: relative;
    height: calc(100vh - 68px);
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

/* Foto de fondo */
.landing-bg {
    position: absolute;
    inset: 0;
    background-image: url('/img/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-color: var(--azul-oscuro);
}

/* Patrón de flechas sobre la foto (como en el fondo del sitio pero visible) */
.landing-pattern-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='60' viewBox='0 0 80 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='8,52 40,12 72,52' fill='none' stroke='%230033CC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='0.22'/%3E%3Cpolyline points='8,42 40,2 72,42' fill='none' stroke='%230033CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.13'/%3E%3C/svg%3E");
    background-size: 80px 60px;
    pointer-events: none;
}

/* Gradiente oscuro desde la izquierda (para hacer la foto más dramática) */
.landing-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        rgba(10,26,64,0.15) 0%,
        transparent 50%,
        rgba(10,26,64,0.55) 100%
    );
    pointer-events: none;
}

/* Bloque de marca en la esquina inferior-derecha */
.landing-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    padding: 0 3.5rem 2.8rem 0;
}

/* Logo hero — imagen cargable por el usuario */
/* Archivo: wwwroot/img/logo-hero.png (o simplemente logo.png) */
.landing-logo-img {
    height: 220px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.45));
}

/* Tagline: bowtie + "EL ADN QUE COMPARTIMOS" */
.brand-tagline-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* ============================================
   LANDING CTA BUTTONS
   ============================================ */

.landing-cta {
    position: absolute;
    bottom: 2.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-landing-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--azul-gradient);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 51, 204, 0.45);
    transition: opacity 0.2s, transform 0.15s;
}

.btn-landing-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: white;
}

.btn-landing-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.45);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-landing-outline:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: white;
}

/* Responsive landing */
@media (max-width: 768px) {
    .landing-overlay { padding: 0 1.5rem 2rem 0; }
    .landing-logo-img { height: 140px; }
    .navbar-logo-img { height: 40px; }
    .brand-tagline-row { font-size: 0.65rem; letter-spacing: 2px; }
    .brand-tagline-row svg { display: none; }
    .landing-cta { bottom: 1.5rem; gap: 0.7rem; }
    .btn-landing-primary, .btn-landing-outline { font-size: 0.82rem; padding: 11px 20px; }
}

@media (max-width: 420px) {
    .landing-cta { flex-direction: column; width: 100%; padding: 0 1.5rem; transform: translateX(-50%); }
    .btn-landing-primary, .btn-landing-outline { justify-content: center; }
}

