:root {
    --nebras-blue: #1E3A8A;
    --nebras-gold: #FBBF24;
    --nebras-white: #FFFFFF;
    --nebras-ink: #0f172a;
    --nebras-soft: #f7f9ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Manrope', sans-serif;
    color: var(--nebras-ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(251, 191, 36, 0.18) 0, rgba(251, 191, 36, 0) 40%),
        radial-gradient(circle at 88% 88%, rgba(30, 58, 138, 0.14) 0, rgba(30, 58, 138, 0) 50%),
        linear-gradient(160deg, #ffffff 0%, var(--nebras-soft) 100%);
}

.nebras-navbar {
    background: linear-gradient(90deg, #132968 0%, var(--nebras-blue) 56%, #2447a6 100%);
    box-shadow: 0 8px 26px rgba(30, 58, 138, 0.3);
}

.nebras-navbar .navbar-brand {
    color: var(--nebras-white);
    font-weight: 800;
    letter-spacing: 0.3px;
}

.nebras-navbar .navbar-brand i {
    color: var(--nebras-gold);
}

.nebras-navbar .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    padding: 0.6rem 0.9rem;
    border-radius: 0.65rem;
    transition: all 0.2s ease;
}

.nebras-navbar .nav-link:hover {
    color: var(--nebras-white);
    background: rgba(255, 255, 255, 0.14);
}

.nebras-navbar .nav-link.active {
    color: var(--nebras-blue);
    background: var(--nebras-gold);
}

.nebras-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
}

.nebras-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.35);
}

.nebras-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.nebras-main {
    flex: 1;
}

.nebras-card {
    border: 0;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.09);
}

.nebras-hero {
    border-radius: 1.25rem;
    padding: clamp(2rem, 3vw, 3rem);
    color: var(--nebras-white);
    background:
        linear-gradient(115deg, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.88) 62%, rgba(251, 191, 36, 0.9));
    box-shadow: 0 18px 45px rgba(30, 58, 138, 0.3);
}

.nebras-hero h1 {
    font-weight: 800;
    line-height: 1.15;
}

.nebras-home-hero {
    border-radius: 1.5rem;
    padding: clamp(1.8rem, 3vw, 3.2rem);
    color: var(--nebras-white);
    background:
        radial-gradient(circle at 88% 14%, rgba(251, 191, 36, 0.28) 0, rgba(251, 191, 36, 0) 28%),
        linear-gradient(135deg, rgba(17, 38, 95, 0.98), rgba(30, 58, 138, 0.94) 58%, rgba(28, 69, 165, 0.92));
    box-shadow: 0 20px 46px rgba(30, 58, 138, 0.24);
}

.nebras-home-hero h1 {
    font-weight: 800;
    line-height: 1.1;
}

.nebras-home-hero-media {
    padding: 0.55rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nebras-home-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.nebras-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    font-weight: 700;
    border-radius: 0.7rem;
    padding: 0.75rem 1.2rem;
    color: var(--nebras-blue);
    background-color: var(--nebras-gold);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nebras-btn-primary:hover {
    color: var(--nebras-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(251, 191, 36, 0.35);
}

.nebras-btn-secondary,
.nebras-btn-secondary-light,
.nebras-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: 0.7rem;
    padding: 0.75rem 1.2rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nebras-btn-secondary {
    color: var(--nebras-white);
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.58);
}

.nebras-btn-secondary:hover,
.nebras-btn-secondary:focus-visible {
    color: var(--nebras-white);
    background: rgba(251, 191, 36, 0.28);
    transform: translateY(-2px);
}

.nebras-btn-secondary-light {
    color: var(--nebras-white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.nebras-btn-secondary-light:hover,
.nebras-btn-secondary-light:focus-visible {
    color: var(--nebras-white);
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.nebras-btn-link {
    color: var(--nebras-blue);
    padding: 0;
}

.nebras-btn-link:hover,
.nebras-btn-link:focus-visible {
    color: #10255c;
    transform: translateX(2px);
}

.nebras-section-title {
    color: var(--nebras-blue);
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.nebras-text-gold {
    color: #cf8c00;
    font-weight: 700;
}

.nebras-mission {
    white-space: pre-line;
    font-size: 1.05rem;
    line-height: 1.85;
}

.nebras-footer {
    background: linear-gradient(90deg, #132968 0%, var(--nebras-blue) 100%);
    color: rgba(255, 255, 255, 0.95);
}

.nebras-site-footer {
    color: var(--nebras-white);
    background:
        linear-gradient(180deg, rgba(251, 191, 36, 0.95) 0 2px, transparent 2px),
        linear-gradient(135deg, #132968 0%, var(--nebras-blue) 58%, #2447a6 100%);
    box-shadow: 0 -12px 30px rgba(19, 41, 104, 0.14);
}

.nebras-footer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--nebras-gold);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nebras-footer-eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: currentColor;
}

.nebras-footer-text,
.nebras-footer-address,
.nebras-footer-meta {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
}

.nebras-footer-links,
.nebras-footer-legal {
    gap: 0.75rem;
}

.nebras-footer-links li + li {
    margin-top: 0.7rem;
}

.nebras-footer-link {
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    text-underline-offset: 0.22rem;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.nebras-footer-link:hover,
.nebras-footer-link:focus-visible {
    color: var(--nebras-gold);
    text-decoration: underline;
    text-decoration-color: currentColor;
}

.nebras-footer-link:focus-visible,
.nebras-social-link:focus-visible {
    outline: 3px solid rgba(251, 191, 36, 0.95);
    outline-offset: 3px;
}

.nebras-footer-icon {
    color: var(--nebras-gold);
}

.nebras-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    color: var(--nebras-white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nebras-social-link:hover,
.nebras-social-link:focus-visible {
    color: var(--nebras-blue);
    background: var(--nebras-gold);
    border-color: var(--nebras-gold);
    transform: translateY(-2px);
}

.nebras-footer-bottom {
    background: rgba(9, 22, 58, 0.24);
    border-top: 1px solid rgba(251, 191, 36, 0.22);
}

.nebras-footer-legal a {
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .nebras-footer-bottom .container {
        align-items: flex-start;
    }
}

.nebras-navbar-public {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 2px solid var(--nebras-gold);
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.nebras-navbar-public .navbar-brand {
    color: var(--nebras-blue);
    font-weight: 800;
}

.nebras-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.85rem;
    color: var(--nebras-blue);
    background: rgba(251, 191, 36, 0.2);
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.3);
}

.nebras-navbar-public .nav-link {
    color: var(--nebras-blue);
    font-weight: 700;
    padding: 0.65rem 0.9rem;
    border-radius: 0.75rem;
}

.nebras-navbar-public .nav-link:hover,
.nebras-navbar-public .nav-link:focus-visible {
    color: #10255c;
    background: rgba(251, 191, 36, 0.18);
}

.nebras-navbar-public .nav-link.active {
    color: var(--nebras-blue);
    background: rgba(251, 191, 36, 0.26);
}

.nebras-navbar-public .navbar-toggler {
    border-color: rgba(30, 58, 138, 0.2);
}

.nebras-navbar-public .navbar-toggler:focus,
.nebras-btn-outline:focus-visible,
.nebras-language-menu .dropdown-item:focus-visible,
.nebras-whatsapp-link:focus-visible {
    box-shadow: 0 0 0 0.22rem rgba(251, 191, 36, 0.32);
}

.nebras-navbar-public .navbar-toggler-icon {
    filter: none;
    background-image: var(--bs-navbar-toggler-icon-bg);
}

.nebras-navbar-actions {
    min-width: min(100%, 25rem);
}

.nebras-nav-cta,
.nebras-whatsapp-link {
    justify-content: center;
}

.nebras-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--nebras-blue);
    background: transparent;
    border: 1px solid rgba(30, 58, 138, 0.18);
    border-radius: 0.7rem;
    padding: 0.75rem 1rem;
}

.nebras-btn-outline:hover,
.nebras-btn-outline:focus-visible {
    color: #10255c;
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.58);
}

.nebras-language-menu {
    background: #ffffff;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    padding: 0.55rem;
}

.nebras-navbar-public .nebras-language-toggle {
    color: var(--nebras-blue);
    background: #ffffff;
    border: 1px solid rgba(30, 58, 138, 0.28);
}

.nebras-navbar-public .nebras-language-toggle:hover,
.nebras-navbar-public .nebras-language-toggle:focus-visible {
    color: #0f245d;
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.7);
}

.nebras-language-menu .dropdown-item {
    border-radius: 0.7rem;
    color: var(--nebras-blue);
    font-weight: 600;
    padding: 0.65rem 0.85rem;
}

.nebras-language-menu .dropdown-item:hover,
.nebras-language-menu .dropdown-item.active {
    color: #10255c;
    background: rgba(251, 191, 36, 0.18);
}

[dir="rtl"] .nebras-language-menu,
[dir="rtl"] .dropdown-menu {
    text-align: right;
}

@media (min-width: 1200px) {
    .nebras-navbar-actions {
        min-width: auto;
    }
}

.nebras-about-hero {
    border-radius: 1.25rem;
    padding: clamp(1.6rem, 2.8vw, 2.6rem);
    background:
        linear-gradient(110deg, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.88) 62%, rgba(251, 191, 36, 0.88));
    color: var(--nebras-white);
    box-shadow: 0 16px 34px rgba(30, 58, 138, 0.24);
}

.nebras-about-hero h1 {
    font-weight: 800;
    line-height: 1.16;
}

.nebras-anchor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nebras-anchor-link {
    display: inline-block;
    font-weight: 700;
    color: var(--nebras-blue);
    background: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    text-decoration: none;
}

.nebras-anchor-link:hover,
.nebras-anchor-link:focus-visible {
    color: #10255c;
    background: rgba(251, 191, 36, 0.35);
    border-color: rgba(251, 191, 36, 0.7);
}

.nebras-contact-hero {
    border-radius: 1.25rem;
    padding: clamp(1.6rem, 2.8vw, 2.6rem);
    background:
        linear-gradient(110deg, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.88) 62%, rgba(251, 191, 36, 0.88));
    color: var(--nebras-white);
    box-shadow: 0 16px 34px rgba(30, 58, 138, 0.24);
}

.nebras-contact-hero h1 {
    font-weight: 800;
    line-height: 1.16;
}

.nebras-soutien-hero {
    border-radius: 1.4rem;
    padding: clamp(1.75rem, 3vw, 3rem);
    color: var(--nebras-white);
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.34), rgba(251, 191, 36, 0) 32%),
        linear-gradient(135deg, rgba(17, 38, 95, 0.98), rgba(30, 58, 138, 0.94) 58%, rgba(251, 191, 36, 0.82));
    box-shadow: 0 20px 44px rgba(30, 58, 138, 0.26);
}

.nebras-soutien-hero h1 {
    font-weight: 800;
    line-height: 1.1;
}

.nebras-soutien-hero .nebras-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-weight: 700;
    border-radius: 0.7rem;
    padding: 0.75rem 1.2rem;
    color: var(--nebras-white);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nebras-soutien-hero .nebras-btn-outline:hover,
.nebras-soutien-hero .nebras-btn-outline:focus-visible {
    color: var(--nebras-white);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.nebras-highlight-card {
    background: rgba(255, 255, 255, 0.14);
    color: var(--nebras-white);
    backdrop-filter: blur(4px);
}

.nebras-highlight-card .nebras-section-title {
    color: var(--nebras-white);
}

.nebras-feature-card {
    border: 1px solid rgba(30, 58, 138, 0.08);
}

.nebras-home-card {
    border: 1px solid rgba(30, 58, 138, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.95));
}

.nebras-service-card {
    height: 100%;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(247, 249, 255, 0.98), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.nebras-steps-list {
    margin: 0;
    padding-left: 1.25rem;
}

.nebras-steps-list li {
    padding-left: 0.3rem;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.nebras-quote-icon {
    font-size: 1.5rem;
    color: var(--nebras-gold);
}

.nebras-offer-card {
    border-radius: 1.35rem;
    border: 1px solid rgba(251, 191, 36, 0.6);
    background:
        linear-gradient(135deg, rgba(251, 191, 36, 0.24), rgba(255, 255, 255, 0.98) 42%, rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 36px rgba(207, 140, 0, 0.14);
}

.nebras-stat-card {
    border-radius: 1rem;
    background: rgba(30, 58, 138, 0.04);
    border: 1px solid rgba(30, 58, 138, 0.08);
}

.nebras-formula-card {
    height: 100%;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(247, 249, 255, 0.95), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.nebras-table-wrap {
    border: 1px solid rgba(30, 58, 138, 0.08);
    overflow: hidden;
}

.nebras-table-wrap thead th {
    color: var(--nebras-white);
    background: var(--nebras-blue);
    border-bottom: 0;
}

.nebras-form-note {
    border-radius: 1rem;
    background: rgba(30, 58, 138, 0.06);
    border: 1px dashed rgba(30, 58, 138, 0.18);
}

.nebras-cta-band {
    border-radius: 1.35rem;
    color: var(--nebras-white);
    background:
        linear-gradient(125deg, rgba(17, 38, 95, 0.98), rgba(30, 58, 138, 0.94) 58%, rgba(251, 191, 36, 0.82));
    box-shadow: 0 18px 36px rgba(30, 58, 138, 0.24);
}

.nebras-cta-band h2 {
    font-weight: 800;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--nebras-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.15);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.20);
}

.invalid-feedback {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.nebras-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.nebras-shop-hero {
    border-radius: 1.4rem;
    padding: clamp(1.75rem, 3vw, 3rem);
    color: var(--nebras-white);
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.28), rgba(251, 191, 36, 0) 30%),
        linear-gradient(135deg, rgba(17, 38, 95, 0.98), rgba(30, 58, 138, 0.94) 58%, rgba(40, 83, 189, 0.92));
    box-shadow: 0 20px 44px rgba(30, 58, 138, 0.26);
}

.nebras-shop-hero h1 {
    font-weight: 800;
    line-height: 1.1;
}

.nebras-filter-pill {
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--nebras-blue);
    font-weight: 700;
}

.nebras-filter-pill.active,
.nebras-filter-pill:hover,
.nebras-filter-pill:focus-visible {
    color: var(--nebras-blue);
    background: rgba(251, 191, 36, 0.36);
    border-color: rgba(251, 191, 36, 0.7);
}

.nebras-product-card {
    overflow: hidden;
}

.nebras-product-cover,
.nebras-product-show-cover {
    min-height: 220px;
    color: var(--nebras-white);
    background: linear-gradient(135deg, rgba(17, 38, 95, 0.96), rgba(30, 58, 138, 0.9), rgba(251, 191, 36, 0.75));
}

.nebras-product-show-cover {
    min-height: 340px;
    border-radius: 1.1rem;
}

.nebras-badge-soft {
    color: var(--nebras-blue);
    background: rgba(30, 58, 138, 0.08);
}

.nebras-price-wrap {
    line-height: 1.2;
}

.nebras-price {
    color: var(--nebras-blue);
    font-size: 1.35rem;
    font-weight: 800;
}

.nebras-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(15, 23, 42, 0.4);
}

.nebras-breadcrumb a {
    color: var(--nebras-blue);
    text-decoration: none;
}

.nebras-info-box,
.nebras-order-total {
    border-radius: 1rem;
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(30, 58, 138, 0.08);
}

@media (max-width: 991.98px) {
    .nebras-navbar .navbar-nav {
        margin-top: 0.8rem;
    }

    .nebras-navbar .nav-link {
        margin-bottom: 0.35rem;
    }

    .nebras-btn-primary,
    .nebras-btn-outline,
    .nebras-btn-secondary,
    .nebras-btn-secondary-light {
        justify-content: center;
        width: 100%;
    }

    .nebras-btn-link {
        width: auto;
    }
}
