:root {
    --bs-brand-orange: #FD6925;
    --bs-brand-orange-2: #EE8516;
    --bs-brand-blue: #0F4560;
    --bs-brand-ink: #14384A;
    --bs-brand-paper: #FFF8F2;
    --bs-brand-soft: #FFE8DA;
    --bs-brand-muted: #5F7380;
    --bs-brand-line: rgba(15, 69, 96, .12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--bs-brand-ink);
    background: #fff;
}

a {
    color: var(--bs-brand-blue);
}

a:hover {
    color: var(--bs-brand-orange);
}

.text-primary {
    color: var(--bs-brand-orange) !important;
}

.bg-primary {
    background-color: var(--bs-brand-orange) !important;
}

.bg-light {
    background-color: var(--bs-brand-paper) !important;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bs-brand-orange), var(--bs-brand-orange-2));
    border-color: var(--bs-brand-orange);
    box-shadow: 0 12px 30px rgba(253, 105, 37, .25);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--bs-brand-blue);
    border-color: var(--bs-brand-blue);
    box-shadow: 0 14px 34px rgba(15, 69, 96, .22);
}

.btn-outline-primary {
    color: var(--bs-brand-blue);
    border-color: var(--bs-brand-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background-color: var(--bs-brand-blue);
    border-color: var(--bs-brand-blue);
}

.besmart-topbar {
    background: var(--bs-brand-blue);
    color: rgba(255, 255, 255, .86);
    font-size: .95rem;
}

.besmart-topbar a {
    color: rgba(255, 255, 255, .9);
}

.besmart-topbar a:hover {
    color: #fff;
}

.besmart-navbar {
    top: 0;
    background: rgba(255, 248, 242, .95);
    border-bottom: 1px solid var(--bs-brand-line);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(15, 69, 96, .08);
}

.besmart-navbar .navbar {
    min-height: 78px;
    height: auto;
    padding: 10px 0 !important;
}

.besmart-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.besmart-logo img {
    width: auto;
    max-width: 172px;
    height: 58px;
    object-fit: contain;
}

.besmart-navbar .navbar-nav .nav-link {
    color: var(--bs-brand-blue);
    font-weight: 700;
    letter-spacing: 0;
    margin-right: 0;
    padding: 12px 16px;
}

.besmart-navbar .navbar-nav .nav-link:hover,
.besmart-navbar .navbar-nav .nav-link.active {
    color: var(--bs-brand-orange);
}

.besmart-navbar .dropdown-menu {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 69, 96, .16);
}

.hero-header {
    margin-top: 0;
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 20%, rgba(238, 133, 22, .45) 0 11%, transparent 12%),
        radial-gradient(circle at 64% 62%, rgba(238, 133, 22, .35) 0 26%, transparent 27%),
        linear-gradient(135deg, var(--bs-brand-orange), var(--bs-brand-orange-2));
}

.hero-header::before {
    content: "";
    position: absolute;
    inset: -16% auto -18% -8%;
    width: 58%;
    background: url("../img/bs_Isotipo_blanco sin fondo.png") center / contain no-repeat;
    opacity: .12;
}

.hero-header::after {
    content: "";
    position: absolute;
    right: -7%;
    bottom: -22%;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 96px solid rgba(255, 255, 255, .11);
}

.hero-header .container {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.hero-kicker::before {
    content: "";
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: var(--bs-brand-blue);
}

.hero-title {
    color: #fff;
    font-size: clamp(3rem, 7vw, 6.7rem);
    line-height: .94;
    margin-bottom: 22px;
}

.hero-lead {
    max-width: 720px;
    color: rgba(255, 255, 255, .94);
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    line-height: 1.5;
}

.brand-hero-logo {
    max-width: 470px;
    width: 100%;
    filter: drop-shadow(0 20px 42px rgba(15, 69, 96, .16));
}

.section-shell {
    padding: 96px 0;
}

.section-kicker {
    color: var(--bs-brand-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px;
}

.section-title {
    color: var(--bs-brand-blue);
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.02;
    margin-bottom: 20px;
}

.section-copy {
    color: var(--bs-brand-muted);
    font-size: 1.12rem;
    line-height: 1.75;
}

.brand-panel {
    background: #fff;
    border: 1px solid var(--bs-brand-line);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(15, 69, 96, .08);
}

.brand-card {
    height: 100%;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--bs-brand-line);
    border-radius: 8px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: rgba(253, 105, 37, .35);
    box-shadow: 0 20px 46px rgba(15, 69, 96, .12);
}

.brand-card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--bs-brand-orange), var(--bs-brand-orange-2));
    border-radius: 50%;
    font-size: 1.35rem;
}

.brand-card h3,
.brand-card h4,
.brand-card h5 {
    color: var(--bs-brand-blue);
}

.brand-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.brand-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 18px;
    color: var(--bs-brand-ink);
    line-height: 1.58;
}

.brand-list li::before {
    content: "";
    position: absolute;
    top: .48rem;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--bs-brand-orange);
    box-shadow: 0 0 0 6px rgba(253, 105, 37, .12);
}

.brand-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 24px 54px rgba(15, 69, 96, .14);
    object-fit: cover;
}

.brand-metric {
    color: var(--bs-brand-blue);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 700;
}

.course-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.course-fact {
    padding: 22px;
    color: #fff;
    background: rgba(15, 69, 96, .28);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
}

.course-fact strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1.05;
}

.course-level {
    position: relative;
    overflow: hidden;
}

.course-level::after {
    content: attr(data-level);
    position: absolute;
    right: 22px;
    top: 14px;
    color: rgba(253, 105, 37, .12);
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
}

.course-level > * {
    position: relative;
    z-index: 1;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    color: var(--bs-brand-blue);
    background: var(--bs-brand-soft);
    border-radius: 999px;
    font-weight: 700;
}

.course-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 116px;
    color: var(--bs-brand-blue);
    background: #fff;
    border-radius: 50%;
    font-size: 2.15rem;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(15, 69, 96, .16);
}

.brand-band {
    background: var(--bs-brand-blue);
    color: #fff;
}

.brand-band .section-title,
.brand-band h2,
.brand-band h3 {
    color: #fff;
}

.brand-band .section-copy {
    color: rgba(255, 255, 255, .78);
}

.footer {
    background: var(--bs-brand-blue) !important;
}

.footer .btn-link,
.footer a {
    color: rgba(255, 255, 255, .78);
}

.footer .btn-link:hover,
.footer a:hover {
    color: #fff;
}

.footer-logo {
    max-width: 210px;
    width: 100%;
    height: auto;
}

.back-to-top {
    background: var(--bs-brand-orange);
    border-color: var(--bs-brand-orange);
}

.carousel .carousel-item img {
    border-radius: 8px;
    max-height: 520px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .besmart-navbar .navbar-nav {
        padding: 12px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 14px 28px rgba(15, 69, 96, .1);
    }

    .hero-header {
        min-height: auto;
        padding: 88px 0 64px;
    }

    .section-shell {
        padding: 68px 0;
    }

    .course-facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .besmart-topbar {
        display: none;
    }

    .besmart-logo img {
        max-width: 136px;
        height: 48px;
    }

    .brand-card {
        padding: 24px;
    }
}
