/*
 * B-SSCOS institutional refresh
 * A stronger editorial hierarchy and cleaner spacing while preserving the
 * existing B-SSCOS blue, indigo and navy palette.
 */

:root {
    --institutional-radius: 8px;
    --institutional-wide: 1180px;
}

html {
    scroll-padding-top: 86px;
}

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
    color: #172033;
    letter-spacing: -.012em;
}

.container {
    max-width: var(--institutional-wide);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -.035em;
}

p,
li,
label,
input,
select,
textarea,
button,
.btn {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.public-navbar {
    padding: 9px 0 !important;
    border-bottom-width: 4px !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .08) !important;
}

.public-navbar .brand-mark,
.public-footer .footer-logo {
    border-radius: 6px;
}

.public-navbar .brand-name {
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.public-navbar .brand-tagline {
    letter-spacing: .11em;
}

.public-navbar .nav-link {
    border-radius: 3px;
    font-size: .88rem;
    font-weight: 750;
    letter-spacing: .015em;
}

.public-navbar .nav-link::after {
    right: 14px;
    left: 14px;
    bottom: 2px;
    width: auto;
    height: 3px;
    border-radius: 0;
    opacity: 0;
    transform: none;
}

.public-navbar .nav-link:hover::after,
.public-navbar .nav-link.active::after {
    width: auto;
    opacity: 1;
}

.public-navbar #loginButton,
.public-navbar .public-logout-button,
.btn,
button,
.form-control,
.form-select {
    border-radius: 5px !important;
}

.hero {
    min-height: 570px;
}

.hero .row {
    min-height: 430px;
}

.hero-badge {
    border-radius: 3px !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase;
}

.hero-title {
    max-width: 760px;
    font-size: clamp(3.3rem, 7vw, 6.1rem) !important;
    line-height: .92 !important;
    letter-spacing: -.065em !important;
}

.hero-title span {
    margin-top: 17px !important;
    font-size: clamp(1rem, 1.8vw, 1.35rem) !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 650px;
    font-size: clamp(1rem, 1.35vw, 1.15rem) !important;
    line-height: 1.75 !important;
}

.hero-actions .btn,
.btn-main {
    min-height: 48px;
    padding: 12px 22px !important;
    border-radius: 4px !important;
    font-weight: 750 !important;
}

.hero-image-frame,
.hero-logo-frame,
.page-logo,
.support-form-card,
.summary-box,
.form-order-box,
.booking-panel {
    border-radius: var(--institutional-radius) !important;
}

.section {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
}

.section-title,
.section h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
}

.card,
.accordion-item,
.table-card,
.stock-card,
.history-card,
.support-form-card {
    border-radius: var(--institutional-radius) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .075) !important;
}

.card:hover,
.accordion-item:hover,
.table-card:hover,
.stock-card:hover,
.history-card:hover,
.support-form-card:hover {
    transform: none !important;
    filter: none !important;
}

.card h3,
.card h4,
.card h5,
.accordion-button {
    letter-spacing: -.025em;
}

.form-control,
.form-select {
    min-height: 48px;
    border-width: 1px;
}

.public-footer {
    padding-top: 76px !important;
}

.public-footer .footer-title {
    font-size: .96rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.public-footer .footer-title::after {
    height: 2px;
    border-radius: 0;
}

.public-footer .footer-social a,
.public-footer .footer-contact-icon,
.public-footer .footer-whatsapp {
    border-radius: 4px;
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
    }

    .hero .row {
        min-height: 0;
    }

    .hero-title {
        font-size: clamp(3rem, 11vw, 5.2rem) !important;
    }

    .public-navbar .navbar-collapse {
        border-radius: 5px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(2.8rem, 16vw, 4.6rem) !important;
    }

    .section {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
}

/* Shared image-led hero used across all public pages. */
.hero.hero-banner {
    width: 100%;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff !important;
}

.hero.hero-banner::before,
.hero.hero-banner::after {
    content: none !important;
    display: none !important;
}

.hero.hero-banner > img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    border-radius: 0 !important;
    object-fit: contain;
}

.page-title-section {
    padding: 34px 20px 30px;
    border-bottom: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    text-align: center;
}

.page-title-section h1 {
    margin: 0;
    color: #123b75;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    font-weight: 850;
}

.page-title-section + .stats-section {
    margin-top: 0 !important;
    padding-top: 0;
    padding-bottom: 34px;
}

@media (max-width: 767.98px) {
    .hero.hero-banner {
        min-height: 0 !important;
    }

    .page-title-section {
        padding: 26px 16px 24px;
    }

    .page-title-section h1 {
        font-size: clamp(1.75rem, 8vw, 2.7rem);
    }
}
