:root {
    --fe-primary: #0f172a;
    --fe-accent: #ea580c;
    --fe-accent-hover: #c2410c;
    --fe-teal: #0d9488;
    --fe-bg: #f4f6f8;
    --fe-surface: #ffffff;
    --fe-text: #0f172a;
    --fe-muted: #64748b;
    --fe-border: #e2e8f0;
    --fe-topbar: #0b1224;
    --fe-radius: 14px;
    --fe-radius-sm: 10px;
    --fe-shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.07);
    --fe-shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

.fe-skip-link {
    position: absolute;
    left: -9999px;
    top: 0.5rem;
    z-index: 2000;
    background: #fff;
    color: var(--fe-primary);
    border: 1px solid var(--fe-border);
    border-radius: .5rem;
    padding: .5rem .75rem;
    font-size: .85rem;
    font-weight: 600;
}

.fe-skip-link:focus {
    left: 0.75rem;
}

body.frontend-body {
    font-family: "Inter", system-ui, sans-serif;
    color: var(--fe-text);
    background: var(--fe-bg);
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.55;
}

.fe-main {
    padding-top: 0;
    padding-bottom: 2rem;
    min-height: 56vh;
}

.fe-page-title {
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

.h1, h1 { font-weight: 800; }
.h2, h2 { font-weight: 800; }
.h3, h3 { font-weight: 700; }

.container.py-4,
.container.py-5 {
    scroll-margin-top: 80px;
}

.fe-text-accent {
    color: var(--fe-accent) !important;
}

.fe-hero-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.fe-hero-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fe-teal);
}

.fe-hero-lead {
    font-size: 1.05rem;
    max-width: 36rem;
}

.fe-hero {
    background: linear-gradient(180deg, #fff 0%, #eef2f7 100%);
    border-bottom: 1px solid var(--fe-border);
}

.fe-hero-panel {
    background: radial-gradient(120% 120% at 80% 20%, #1e293b 0%, #0f172a 45%, #020617 100%);
    border-radius: calc(var(--fe-radius) + 4px);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.fe-hero-deal-circle {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--fe-accent), #f97316, var(--fe-teal));
    padding: 3px;
}

.fe-hero-deal-circle > span {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0f172a;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
}

.fe-btn-primary {
    background: var(--fe-accent) !important;
    border-color: var(--fe-accent) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(234, 88, 12, 0.25);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.fe-btn-primary:hover {
    background: var(--fe-accent-hover) !important;
    border-color: var(--fe-accent-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(194, 65, 12, 0.30);
}

.fe-btn-search {
    background: var(--fe-primary);
    color: #fff;
    border: 1px solid var(--fe-primary);
}

.fe-btn-search:hover {
    background: #1e293b;
    color: #fff;
}

.fe-section-muted {
    background: #eef2f6;
}

.fe-price {
    color: var(--fe-primary);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.btn {
    border-radius: 0.7rem;
}

.btn:focus-visible,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(234, 88, 12, 0.17);
    border-color: rgba(234, 88, 12, 0.45);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(234, 88, 12, 0.65);
    outline-offset: 2px;
}

.fe-brand-text {
    letter-spacing: -0.02em;
    display: inline-block;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.1;
}

@media (min-width: 992px) {
    .frontend-navbar .navbar-brand {
        max-width: 280px;
        margin-right: 1rem;
    }

    .frontend-navbar .fe-brand-text {
        max-width: 220px;
    }

    .frontend-navbar .frontend-search {
        min-width: 0;
    }
}

.py-lg-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }
}

@media (max-width: 767.98px) {
    body.frontend-body {
        font-size: 0.93rem;
    }

    .fe-main {
        padding-bottom: 1.5rem;
    }

    .fe-hero-lead {
        font-size: 0.98rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
