*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    background: #f0f2f5;
    color: #222;
}

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #d0d0d0; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #b04040, #803030);
    border-radius: 2px;
}

/* ── CONTAINER ─────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to bottom, #2e2e2e 0%, #1e1e1e 100%);
    border-bottom: 2px solid #080808;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    height: 66px;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}


.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 30px;
}

.navbar-logo img {
    height: 38px;
    width: auto;
    pointer-events: none;
    filter: brightness(0.9);
}

.navbar-logo-text {
    font-size: 17px;
    font-weight: bold;
    color: #e8e8e8;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.navbar-logo-text em {
    color: #e03030;
    font-style: normal;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.navbar-nav a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #a0a0a0;
    text-decoration: none;
    border-radius: 3px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #f0f0f0;
    border-bottom-color: #e03030;
    background: rgba(255, 255, 255, 0.05);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.navbar-phone {
    font-size: 12px;
    color: #707070;
    display: flex;
    align-items: center;
    margin-left: 25px;
    gap: 5px;
}

.navbar-phone i {
    color: #c02020;
}

/* ── HAMBURGER ─────────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #b0b0b0;
    border-radius: 1px;
    transition: all 0.2s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ───────────────────────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #222, #181818);
    border-bottom: 2px solid #080808;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
    z-index: 99;
    padding: 8px 0;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid transparent;
    transition: all 0.12s;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
    border-left-color: #e03030;
}

.mobile-menu a i { color: #c02020; width: 16px; text-align: center; }

.mobile-menu-cta {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
    background: linear-gradient(to bottom, #1e1e1e 0%, #141414 100%);
    border-top: 2px solid #080808;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 52px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 13px;
}

.footer-logo img { height: 34px; width: auto; filter: brightness(0.8); }

.footer-logo-text {
    font-size: 16px;
    font-weight: bold;
    color: #d8d8d8;
    letter-spacing: 0.9px;
}

.footer-logo-text em { color: #e03030; font-style: normal; }

.footer-tagline {
    font-size: 12px;
    color: #505050;
    line-height: 1.65;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 7px;
}

.footer-social-btn {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background: linear-gradient(to bottom, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid #363636;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a6a6a;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.14s;
}

.footer-social-btn:hover {
    background: linear-gradient(to bottom, #c02020 0%, #8e1010 100%);
    border-color: #6a0808;
    color: #fff;
}

.footer-col-title {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #d8d8d8;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #c02020;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-links a {
    font-size: 12px;
    color: #525252;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.12s;
}

.footer-links a i {
    color: #3a3a3a;
    font-size: 10px;
    width: 12px;
    flex-shrink: 0;
}

.footer-links a:hover { color: #e03030; }
.footer-links a:hover i { color: #c02020; }

.footer-bottom {
    border-top: 1px solid #222;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 11px;
    color: #404040;
}

.footer-copy em { color: #c02020; font-style: normal; }

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    font-size: 11px;
    color: #404040;
    text-decoration: none;
    transition: color 0.12s;
}

.footer-legal a:hover { color: #808080; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-family: inherit;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    line-height: 1.3;
    vertical-align: middle;
    transition: all 0.1s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(to bottom,
        #d04040 0%, #b02020 45%, #980e0e 55%, #b02020 100%);
    color: #fff;
    border-color: #780808;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    background: linear-gradient(to bottom,
        #e05050 0%, #c03030 45%, #a81e1e 55%, #c03030 100%);
}

.btn-secondary {
    background: linear-gradient(to bottom,
        #e8ecf2 0%, #d5dce6 45%, #c8d2de 55%, #d2dae6 100%);
    color: #3a4a5a;
    border-color: #a5b5c5;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background: linear-gradient(to bottom,
        #f0f4f8 0%, #dde6ee 45%, #d0dce8 55%, #dae4ee 100%);
}

.btn-dark {
    background: linear-gradient(to bottom,
        #3a3a3a 0%, #252525 45%, #1a1a1a 55%, #252525 100%);
    color: #d8d8d8;
    border-color: #080808;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    background: linear-gradient(to bottom,
        #4a4a4a 0%, #353535 45%, #282828 55%, #353535 100%);
    color: #f0f0f0;
}

.btn-outline-red {
    background: transparent;
    color: #d03030;
    border: 2px solid #a02020;
    box-shadow: none;
    text-shadow: none;
}

.btn-outline-red:hover {
    background: rgba(176, 30, 30, 0.09);
    color: #e04040;
    border-color: #d03030;
}

.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-xs { padding: 4px 10px; font-size: 11px; border-radius: 2px; }

/* ── FORMS ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 13px; }

.form-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #3a4a5a;
    margin-bottom: 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-control {
    display: block;
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    font-family: inherit;
    color: #2a3a4a;
    background: linear-gradient(to bottom, #edf2f7 0%, #fff 20%, #fff 100%);
    border: 1px solid #a5b5c5;
    border-radius: 3px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(0, 0, 0, 0.07);
    outline: none;
}

.form-control:focus {
    border-color: #c02020;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.08),
        0 0 6px rgba(176, 32, 32, 0.38);
    background: #fff;
}

textarea.form-control { resize: vertical; min-height: 95px; }

.form-hint { font-size: 11px; color: #7a8a9a; margin-top: 3px; }
.form-hint.error { color: #a83030; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

/* ── ALERTS ────────────────────────────────────────────────── */
.alert {
    padding: 10px 13px;
    border-radius: 3px;
    border: 1px solid transparent;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.alert-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.alert-body { flex: 1; }
.alert-title { font-weight: bold; margin-bottom: 1px; font-size: 11px; }

.alert-success {
    background: linear-gradient(to bottom, #d4f0cc, #c4e8bc);
    border-color: #78c068;
    color: #1a4818;
}

.alert-danger {
    background: linear-gradient(to bottom, #fad6d6, #f5c4c4);
    border-color: #ce7878;
    color: #581818;
}

/* ── BADGES ────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.badge-red {
    background: linear-gradient(to bottom, #d05050 0%, #a02828 100%);
    color: #fff;
    border: 1px solid #801818;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.badge-dark {
    background: linear-gradient(to bottom, #4a4a4a 0%, #2e2e2e 100%);
    color: #d8d8d8;
    border: 1px solid #1a1a1a;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.badge-success {
    background: linear-gradient(to bottom, #68b858 0%, #468838 100%);
    color: #fff;
    border: 1px solid #347828;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.28);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ── DIVIDER ───────────────────────────────────────────────── */
.divider {
    border: none;
    border-top: 1px solid #c8d4de;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
    margin: 14px 0;
}

/* ── TOAST ─────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 7px;
    pointer-events: none;
}

.toast {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    color: #d8e8f0;
    padding: 10px 13px;
    border-radius: 4px;
    font-size: 12px;
    min-width: 230px;
    max-width: 310px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #080808;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    pointer-events: all;
    animation: toastIn 0.22s ease;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(18px); }
}

.toast.removing { animation: toastOut 0.2s ease forwards; }

.toast.toast-success { background: linear-gradient(to bottom, #1e3810 0%, #102008 100%); border-color: #081402; }
.toast.toast-warning { background: linear-gradient(to bottom, #382800 0%, #241800 100%); border-color: #180e00; }
.toast.toast-danger  { background: linear-gradient(to bottom, #381010 0%, #240808 100%); border-color: #160404; }
.toast.toast-info    { background: linear-gradient(to bottom, #0a0a0a 0%, #040404 100%); border-color: #000; }

.toast-icon { font-size: 15px; flex-shrink: 0; }
.toast.toast-success .toast-icon { color: #5ab840; }
.toast.toast-warning .toast-icon { color: #c89020; }
.toast.toast-danger  .toast-icon { color: #e03030; }
.toast.toast-info    .toast-icon { color: #6090b8; }

.toast-msg { flex: 1; line-height: 1.35; }
.toast-title {
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 1px;
}

.toast-dismiss {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.toast-dismiss:hover { color: rgba(255, 255, 255, 0.85); }

/* ── TOOLTIP ───────────────────────────────────────────────── */
[data-tip] { position: relative; }

[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #1e1e1e, #0e0e0e);
    color: #d8e0e8;
    font-size: 11px;
    padding: 5px 9px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.14s;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.4);
    z-index: 300;
    border: 1px solid #060606;
}

[data-tip]:hover::after { opacity: 1; }

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.48s ease, transform 0.48s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── UTILITIES ─────────────────────────────────────────────── */
.d-flex          { display: flex; }
.flex-col        { flex-direction: column; }
.align-center    { align-items: center; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.flex-wrap       { flex-wrap: wrap; }
.gap-6  { gap: 6px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: #7a8a9a; }
.text-small  { font-size: 11px; }
.text-xs     { font-size: 10px; }
.fw-bold     { font-weight: bold; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.w-100 { width: 100%; }

/* ── BACK TO TOP ───────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 36px;
    height: 36px;
    border-radius: 3px;
    background: linear-gradient(to bottom, #2e2e2e, #1a1a1a);
    border: 1px solid #0a0a0a;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #606060;
    font-size: 13px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s, background 0.15s;
    z-index: 50;
    text-decoration: none;
}

.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: linear-gradient(to bottom, #c02020, #8e1010); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 960px) {
    .navbar-nav   { display: none; }
    .navbar-phone { display: none; }
    .hamburger    { display: flex; }
}

@media (max-width: 640px) {
    .footer-grid    { grid-template-columns: 1fr; gap: 26px; }
    .form-row       { grid-template-columns: 1fr; }
    .footer-bottom  { flex-direction: column; gap: 8px; text-align: center; }
}
