/* =========================================
   IDENTIDAD RACE OF THE TOP
========================================= */
:root {
    --race-primary: #37040f;
    --race-primary-hover: #500617;
    --race-primary-soft: #6b1025;
    --race-text: #333333;
    --race-dark: #202327;
    --race-light: #f4f4f4;
    --race-white: #ffffff;
}

/* =========================================
   RESET Y BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    font-family: 'Raleway', sans-serif;
}

html {
    font-size: 62.5%;
    scroll-padding-top: 92px;
}

body {
    font-size: 1.6rem;
    line-height: 1.5;
    font-family: 'Raleway', sans-serif;
    background-color: #f5f5f3;
    color: var(--race-text);
    padding-top: 76px;
}

img {
    width: 100%;
    display: block;
}

h1,
h2,
h3 {
    font-family: 'Playfair', sans-serif;
}

a {
    transition: color .25s ease, background-color .25s ease,
                border-color .25s ease, transform .25s ease;
}

/* =========================================
   NAVBAR
========================================= */
.navbar,
.navbar.bg-dark,
header .navbar,
nav.navbar,
.event-navbar {
    background-color: var(--race-primary) !important;
}

.navbar {
    z-index: 1050;
}

.event-navbar {
    min-height: 76px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(14px);
}

.event-brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.brand-copy strong {
    display: block;
    color: #fff;
    font-size: .98rem;
    line-height: 1;
}

.brand-copy small {
    color: rgba(255,255,255,.58);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .12rem;
}

.event-navbar .nav-link {
    color: rgba(255,255,255,.78) !important;
    font-weight: 600;
    padding-left: .9rem !important;
    padding-right: .9rem !important;
}

.event-navbar .nav-link:hover,
.event-navbar .nav-link:focus {
    color: #fff !important;
}

.nav-register {
    border-radius: 999px;
    padding: .62rem 1.15rem;
    font-weight: 700;
}

/* =========================================
   BOTONES
========================================= */
.btn-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--race-primary);
    --bs-btn-border-color: var(--race-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--race-primary-hover);
    --bs-btn-hover-border-color: var(--race-primary-hover);
    --bs-btn-focus-shadow-rgb: 55, 4, 15;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--race-primary-hover);
    --bs-btn-active-border-color: var(--race-primary-hover);
}

.btn-outline-dark {
    --bs-btn-color: var(--race-primary);
    --bs-btn-border-color: var(--race-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--race-primary);
    --bs-btn-hover-border-color: var(--race-primary);
    --bs-btn-focus-shadow-rgb: 55, 4, 15;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--race-primary);
    --bs-btn-active-border-color: var(--race-primary);
}

.btn-success {
    background-color: greenyellow !important;
    font-weight: lighter;
    border-radius: 0;
}

.btn-success:hover {
    background-color: chartreuse !important;
    color: black;
}

/* =========================================
   HERO ORIGINAL
========================================= */
.hero-image {
    min-height: 40rem;
    background-image: url('../Img/principal.jpg');
    background-repeat: no-repeat;
    background-position: 100% 90%;
    background-size: cover;
}

.hero-image div {
    min-height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(55, 4, 15, .55);
    color: white;
    font-size: 3rem;
}

.hero-image div h2 {
    font-size: 4rem;
}

/* =========================================
   HERO PRINCIPAL DEL EVENTO
========================================= */
.hero-race.event-hero {
    position: relative;
    min-height: 690px;
    background: var(--race-primary);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.event-hero::before,
.event-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(2px);
}

.event-hero::before {
    width: 520px;
    height: 520px;
    right: -150px;
    top: -120px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 0 0 80px rgba(255,255,255,.025),
                0 0 0 160px rgba(255,255,255,.018);
}

.event-hero::after {
    width: 260px;
    height: 260px;
    left: -80px;
    bottom: -100px;
    background: rgba(255,255,255,.035);
}

.event-hero .hero-kicker {
    color: rgba(255,255,255,.62);
    letter-spacing: .18rem;
    font-size: .76rem;
}

.event-hero h1 {
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: .82;
    letter-spacing: -.065em;
    max-width: 760px;
}

.event-hero .hero-intro {
    max-width: 580px;
    color: rgba(255,255,255,.72);
    font-size: 1.18rem;
}

.event-hero .hero-info {
    border-left-color: rgba(255,255,255,.9);
    color: rgba(255,255,255,.82);
}

.event-hero .btn-light,
.event-hero .btn-outline-light {
    border-radius: 999px;
    font-weight: 700;
}

.event-hero .hero-visual,
.event-hero .hero-placeholder {
    min-height: 500px;
}

.event-hero .hero-placeholder {
    position: relative;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 2rem;
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.6);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.event-hero .hero-placeholder::before {
    content: '2026';
    position: absolute;
    right: -1rem;
    bottom: -3.2rem;
    font-size: clamp(7rem, 17vw, 14rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    color: rgba(255,255,255,.045);
}

/* =========================================
   CONFERENCIAS
========================================= */
.conference-section {
    background: #f5f5f3;
    overflow: hidden;
}

.conference-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: end;
    background: var(--race-primary);
    color: #fff;
    border-radius: 1.75rem;
    overflow: hidden;
    padding: 3rem;
    margin-bottom: 4.5rem;
}

.conference-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(55,4,15,.92) 0%,
        rgba(55,4,15,.68) 46%,
        rgba(55,4,15,.18) 100%);
    z-index: 1;
}

.conference-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.conference-kicker {
    letter-spacing: .14rem;
    font-size: .82rem;
}

.conference-title {
    font-size: clamp(3.2rem, 8vw, 7rem);
    line-height: .9;
    letter-spacing: -.05em;
}

.conference-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem 3rem;
    color: rgba(255,255,255,.42);
    font-size: .8rem;
    letter-spacing: .08rem;
    text-align: right;
}

.day-block {
    margin-bottom: 5rem;
}

.day-label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 1rem;
    border: 1px solid var(--race-dark);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06rem;
    background: transparent;
}

.day-heading {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.035em;
}

.speaker-tile {
    height: 100%;
    background: #fff;
    border: 0;
    border-radius: 1.35rem;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.speaker-tile:hover {
    transform: translateY(-7px);
    box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,.12);
}

.speaker-media {
    height: 330px;
    background: #e8e8e5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.speaker-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 32%;
    background: linear-gradient(transparent, rgba(0,0,0,.08));
    pointer-events: none;
}

.speaker-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

.speaker-body {
    padding: 1.5rem;
}

.speaker-name {
    font-size: 1.65rem;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.speaker-type {
    font-size: .76rem;
    letter-spacing: .08rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 700;
}

.speaker-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.25rem;
    padding: .8rem 0 0;
    border: 0;
    border-top: 1px solid #dedede;
    border-radius: 0;
    color: var(--race-dark);
    text-decoration: none;
    font-weight: 700;
    background: transparent;
}

.speaker-cta:hover {
    color: var(--race-primary);
}

.speaker-cta span:last-child {
    font-size: 1.25rem;
}

.featured-session {
    background: var(--race-primary);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
}

.featured-session .speaker-tile {
    background: var(--race-primary-hover);
    color: #fff;
}

.featured-session .speaker-type,
.featured-session .text-muted {
    color: #e2cfd4 !important;
}

.featured-session .speaker-cta {
    color: #fff;
    border-top-color: rgba(255,255,255,.18);
}

/* =========================================
   TALLERES
========================================= */
.workshop-section {
    background: #ecece8;
    overflow: hidden;
}

.workshop-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    margin-bottom: 4.5rem;
    border-radius: 1.75rem;
    background: #d9d9d2;
    overflow: hidden;
}

.workshop-hero::before {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    right: -80px;
    top: -120px;
    border-radius: 50%;
    border: 1px solid rgba(55,4,15,.16);
    box-shadow: 0 0 0 70px rgba(55,4,15,.025),
                0 0 0 140px rgba(55,4,15,.018);
}

.workshop-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.workshop-kicker {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .15rem;
    font-weight: 800;
    color: var(--race-primary);
}

.workshop-title {
    font-size: clamp(3.3rem, 8vw, 7rem);
    line-height: .88;
    letter-spacing: -.055em;
}

.workshop-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem 3rem;
    color: rgba(55,4,15,.45);
    font-size: .76rem;
    letter-spacing: .08rem;
    text-align: right;
}

.workshop-block {
    margin-bottom: 5rem;
}

.workshop-time {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .5rem .95rem;
    border: 1px solid var(--race-primary);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06rem;
    text-transform: uppercase;
    color: var(--race-primary);
}

.workshop-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -.035em;
    line-height: 1;
}

.workshop-card {
    height: 100%;
    background: #fff;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 0;
    transition: transform .25s ease, box-shadow .25s ease;
}

.workshop-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,.11);
}

.workshop-media {
    height: 270px;
    background: #deded8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.workshop-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

.workshop-body {
    padding: 1.5rem;
}

.workshop-type {
    font-size: .73rem;
    letter-spacing: .09rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 800;
}

.workshop-name {
    min-height: 3.2rem;
    font-size: 1.45rem;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.workshop-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.2rem;
    padding-top: .85rem;
    border-top: 1px solid #dedede;
    color: var(--race-dark);
    text-decoration: none;
    font-weight: 800;
}

.workshop-cta:hover {
    color: var(--race-primary);
}

/* =========================================
   CLASES AUXILIARES ANTERIORES
========================================= */
.text-colorazul {
    color: rgb(65, 65, 249);
    font-size: 3rem;
}

.fondo-categorias {
    background-color: rgba(211, 211, 211, .578);
}

.speaker-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f9fa;
    padding: 20px;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.speaker-image img.foto {
    object-fit: cover;
}

.speaker-image img.logo {
    object-fit: contain;
    padding: 20px;
}

.race-bg-primary {
    background-color: var(--race-primary);
    color: var(--race-white);
}

.race-bg-soft {
    background-color: var(--race-primary-soft);
    color: var(--race-white);
}

.race-text-primary {
    color: var(--race-primary);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }

    .event-navbar {
        min-height: 70px;
    }

    .event-hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .event-hero .hero-visual,
    .event-hero .hero-placeholder {
        min-height: 380px;
    }

    .conference-hero {
        min-height: 430px;
        padding: 2.25rem;
    }

    .conference-image-placeholder {
        align-items: flex-start;
    }

    .speaker-media {
        height: 285px;
    }

    .workshop-hero {
        min-height: 420px;
        padding: 2.25rem;
    }

    .speaker-image {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    html {
        font-size: 58%;
    }

    .brand-copy small {
        display: none;
    }

    .event-hero h1 {
        font-size: 4rem;
    }

    .event-hero .hero-placeholder {
        min-height: 300px;
        border-radius: 1.25rem;
    }

    .conference-hero {
        min-height: 390px;
        border-radius: 1rem;
        padding: 1.5rem;
    }

    .conference-title {
        font-size: 3.2rem;
    }

    .speaker-media {
        height: 250px;
    }

    .workshop-hero {
        min-height: 370px;
        border-radius: 1rem;
        padding: 1.5rem;
    }

    .workshop-title {
        font-size: 3.3rem;
    }

    .workshop-media {
        height: 230px;
    }

    .speaker-image {
        height: 200px;
    }

    .hero-image div h2 {
        font-size: 3.2rem;
    }
}
/* =========================================
    FOOTER - RACE OF THE TOP
========================================= */

footer.bg-dark,
footer.container-fluid.bg-dark {
    background-color: #37040f !important;
}

footer .bg-dark {
    background-color: #37040f !important;
}