/* FONTS */
@font-face {
    font-family: 'Gordita';
    src: url('fonts/Gordita-Regular.woff2') format('woff2'),
         url('fonts/Gordita-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gordita';
    src: url('fonts/Gordita-Italic.woff2') format('woff2'),
         url('fonts/Gordita-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gordita';
    src: url('fonts/Gordita-Medium.woff2') format('woff2'),
         url('fonts/Gordita-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gordita';
    src: url('fonts/Gordita-Medium-Italic.woff2') format('woff2'),
         url('fonts/Gordita-Medium-Italic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gordita';
    src: url('fonts/Gordita-Bold.woff2') format('woff2'),
         url('fonts/Gordita-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RoadNumbers2.0';
    src: url('fonts/RoadNumbers2.0.ttf') format('truetype'),
         url('fonts/RoadNumbers2.0.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* ROOT VARIABLES */
:root {
    --brand-amber: #ffc107;
    --brand-amber-strong: #ffb300;
    --brand-green: #7dd56f;
    --brand-forest: #184e35;
    --brand-gradient: linear-gradient(135deg, #fff7c2 0%, #ffd54f 45%, #f7b733 100%);
    --brand-gradient-soft: radial-gradient(circle at 20% 20%, rgba(255,193,7,0.25), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(255,215,79,0.28), transparent 30%),
        radial-gradient(circle at 60% 80%, rgba(247,183,51,0.3), transparent 40%);

    --neutral-50: #f9fafb;
    --neutral-100: #f2f4f5;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-500: #6b7280;
    --neutral-700: #374151;
    --neutral-900: #0f172a;

    --success-500: #16a34a;
    --warning-500: #f59e0b;
    --error-500: #ef4444;

    --state-hover: rgba(255, 193, 7, 0.08);
    --state-pressed: rgba(255, 138, 0, 0.12);
    --state-disabled: rgba(15, 23, 42, 0.12);

    --primary-color: var(--brand-amber);
    --primary-hover-color: var(--brand-amber-strong);
    --dark-color: var(--neutral-900);
    --light-color: var(--neutral-50);
    --text-color: var(--neutral-900);
    --secondary-bg-color: #ffffff;
    --footer-bg-color: #121212;
    --footer-text-color: #e2e8f0;
    --footer-heading-color: #ffffff;
    --border-radius: 14px;
    --border-radius-lg: 22px;
    --shadow-xs: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 25px 70px rgba(0,0,0,0.18);
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -450px 0; }
    100% { background-position: 450px 0; }
}

@keyframes pulse-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* GENERAL STYLES */
body { 
    font-family: 'Gordita', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input,
select,
textarea,
button {
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 12px;
}

.home-page {
    padding-top: 0;
}

body:not(.home-page) {
    padding-top: 90px;
}

body.has-hero {
    padding-top: 0;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    width: clamp(320px, 90vw, 1400px);
    margin: 0 auto;
    padding: 0 20px;
}

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

h2 { font-size: 2.5rem; margin-bottom: 50px; text-align: center; }

section { padding: 80px 0; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    min-height: 52px;
    font-size: 1.05rem;
}

.btn-primary { background: var(--brand-gradient); color: var(--dark-color); border-color: transparent; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: linear-gradient(135deg, #fff0a6 0%, #ffd54f 50%, #f7b733 100%); border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-secondary { background-color: #0b1324; color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.btn-secondary:hover { background: var(--state-hover); color: var(--dark-color); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.76);
    color: var(--dark-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 10px 30px rgba(0,0,0,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-tonal {
    background: linear-gradient(135deg, rgba(255, 215, 79, 0.22), rgba(247, 183, 51, 0.22));
    color: var(--dark-color);
    border-color: rgba(247, 183, 51, 0.35);
}

.btn-ghost:hover, .btn-tonal:hover { background: var(--state-hover); color: var(--dark-color); transform: translateY(-2px); }
.btn:active { background: var(--state-pressed); transform: translateY(-1px) scale(0.99); }
.btn:disabled { opacity: 0.5; background: var(--state-disabled); cursor: not-allowed; }

.btn-telegram {
    background: rgba(255, 255, 255, 0.82);
    color: var(--dark-color);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 12px 34px rgba(0,0,0,0.12);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #fff0a6 0%, #ffd54f 60%, #f7b733 100%);
    border-color: transparent;
    color: var(--dark-color);
}

.btn-call {
    background: linear-gradient(135deg, #b7efb0 0%, var(--brand-green) 50%, #1d6f4b 100%);
    color: #0f172a;
    border: none;
    box-shadow: 0 14px 36px rgba(24, 78, 53, 0.3);
}

.btn-call:hover {
    background: linear-gradient(135deg, #d9f7d3 0%, #8ae084 50%, #145d3f 100%);
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(24, 78, 53, 0.38);
}

.home-page .hero .btn-ghost:hover {
    background: linear-gradient(135deg, #d9f7d3 0%, #8ae084 55%, #145d3f 100%);
    border-color: transparent;
    color: var(--dark-color);
}

.btn i { margin-right: 8px; transition: transform 0.3s ease; animation: pulse-icon 3s ease-in-out infinite; }
.btn:hover i { transform: translateY(-2px) scale(1.08); }

.neon-ring:focus-visible, .btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35), 0 0 30px rgba(255, 193, 7, 0.45);
}

.btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: calc(var(--border-radius) + 6px);
    background: linear-gradient(120deg, rgba(255,193,7,0.6), rgba(255,215,79,0.4), rgba(247,183,51,0.45));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover::after { opacity: 1; filter: blur(6px); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--stagger-index, 0) * 60ms);
}

[data-animate="slide-up"] { transform: translateY(26px); }
[data-animate="fade"] { transform: translateY(8px); }
.is-visible { opacity: 1 !important; transform: translateY(0) !important; }

.skeleton-card { position: relative; overflow: hidden; background: #fff; border-radius: var(--border-radius); border: 1px solid var(--neutral-200); box-shadow: var(--shadow-sm); }
.skeleton-card::before { display: none; }
.skeleton-card .shimmer, .skeleton-line { background: linear-gradient(90deg, #f0f0f0 25%, #f7f7f7 37%, #f0f0f0 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton-card .news-card-img-container { height: 200px; }
.skeleton-line { height: 16px; margin-bottom: 10px; border-radius: 6px; }
.skeleton-line.short { width: 60%; }

/* NAVBAR */
.navbar {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, border-bottom 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* MODIFIED: Added gradient for readability */
.home-page .navbar:not(.scrolled),
.has-hero .navbar:not(.scrolled) {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding-bottom: 30px;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(21, 24, 31, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}

.navbar .container {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 0.4s ease;
}

.logo img {
    height: 50px;
    width: auto;
    transition: height 0.4s ease;
}

.home-page .navbar:not(.scrolled) .logo img,
.has-hero .navbar:not(.scrolled) .logo img {
    height: 120px;
}

.home-page .navbar:not(.scrolled) .logo-text,
.has-hero .navbar:not(.scrolled) .logo-text {
    color: #fff;
}

.navbar.scrolled .logo-text {
    color: #f5f7fa;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 1100;
    color: var(--dark-color);
}

.home-page .navbar:not(.scrolled) .mobile-nav-toggle,
.home-page .navbar:not(.scrolled) .nav-content,
.has-hero .navbar:not(.scrolled) .mobile-nav-toggle,
.has-hero .navbar:not(.scrolled) .nav-content {
    opacity: 0;
    pointer-events: none;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-links { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    color: var(--dark-color);
}

.home-page .navbar:not(.scrolled) .nav-links a,
.has-hero .navbar:not(.scrolled) .nav-links a {
    color: #fff;
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .phone-number {
    color: #f5f7fa;
}

.navbar.scrolled .nav-links a::after { background-color: var(--brand-amber); }

.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }

.nav-contact { display: flex; align-items: center; gap: 20px; }

.phone-number {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    color: var(--dark-color);
}

.home-page .navbar:not(.scrolled) .phone-number,
.has-hero .navbar:not(.scrolled) .phone-number {
    color: #fff;
}

.nav-contact .btn-secondary {
    border-color: var(--dark-color);
    color: var(--dark-color);
}

.home-page .navbar:not(.scrolled) .nav-contact .btn-secondary,
.has-hero .navbar:not(.scrolled) .nav-contact .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.navbar.scrolled .nav-contact .btn-secondary {
    border-color: rgba(255,255,255,0.7);
    color: #f5f7fa;
}

.navbar.scrolled .nav-contact .btn-secondary:hover { background-color: rgba(255,255,255,0.12); color: #fff; }

.nav-btn { padding: 8px 16px; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; padding: 120px 0 90px; }
.hero-video { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); z-index: -3; filter: none; }
.hero::before { content: none; }

/* MODIFIED: Removed blur, added dark background and solid border */
.hero-content {
    padding: 32px;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 1;
    max-width: 940px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(21, 24, 31, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 18px 48px rgba(0,0,0,0.5);
}

.hero .hero-content, .hero .hero-buttons { opacity: 1; transform: none; }
.hero h1 { font-size: 3.4rem; margin-bottom: 20px; letter-spacing: -0.5px; color: #fff; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.hero p { font-size: 1.25rem; margin-bottom: 28px; color: #fff; line-height: 1.7; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hero-buttons .btn { min-width: 220px; justify-content: center; align-items: center; display: inline-flex; gap: 10px; }
.hero-buttons .btn-secondary { color: var(--dark-color); }
.hero-buttons .btn-secondary:hover { color: var(--dark-color); }

.contact-cta { padding: 70px 0; background: linear-gradient(145deg, rgba(12,18,28,0.92), rgba(29,36,46,0.9)); color: #fff; }
.contact-cta .container { max-width: 1080px; }
.contact-cta-content { display: grid; gap: 18px; text-align: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 36px 32px; box-shadow: 0 18px 40px rgba(0,0,0,0.3); }
.contact-cta h2 { font-size: 2.1rem; margin: 0; color: #fff; }
.contact-cta p { margin: 0; color: rgba(255,255,255,0.86); line-height: 1.7; }
.contact-cta-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; justify-items: center; }
.contact-cta-actions .btn { width: 100%; justify-content: center; }
.contact-cta .btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }

.live-stats { padding: 28px 0 12px; background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.92) 100%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.live-stats .container { max-width: 1100px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.stat-card { padding: 14px 16px; border-radius: 14px; background: linear-gradient(145deg, rgba(255,193,7,0.14), rgba(12,18,28,0.04)); border: 1px solid rgba(255,193,7,0.32); box-shadow: 0 10px 26px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.32); position: relative; overflow: hidden; display: grid; gap: 8px; }
.stat-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,193,7,0.28), transparent 38%), radial-gradient(circle at 85% 30%, rgba(12,18,28,0.12), transparent 36%); opacity: 0.8; pointer-events: none; }
.stat-label { font-size: 0.95rem; color: rgba(20,23,31,0.82); letter-spacing: -0.01em; }
.stat-value { display: inline-flex; align-items: baseline; gap: 10px; font-size: 2.4rem; font-weight: 700; color: #0f172a; letter-spacing: -0.04em; }
.stat-unit { font-size: 1rem; color: rgba(17, 24, 39, 0.72); font-weight: 500; }
.counter-number { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(120deg, #ffd249, #f7b733 48%, #ffde7f); -webkit-text-fill-color: transparent; -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 8px rgba(255,193,7,0.32)); }

/* NEWS PAGE */
.news-listing-page .news-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.news-sidebar h3 { font-size: 1.5rem; margin-bottom: 20px; }
.news-sidebar ul { list-style: none; padding: 0; margin: 0; }
.filter-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.filter-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch; }
.filter-button { width: 100%; display: inline-flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease; text-align: left; }
.filter-button:hover, .filter-button.active { background-color: #fff; border-color: var(--neutral-200); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.filter-button i { font-size: 1.2rem; color: var(--primary-color); }
.filter-button span:not(.filter-badge) { flex: 1; font-weight: 600; color: var(--dark-color); }
.filter-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; padding: 5px 10px; border-radius: 999px; background: linear-gradient(120deg, rgba(255,193,7,0.24), rgba(255,193,7,0.12)); border: 1px solid rgba(255,193,7,0.6); color: #201d12; font-weight: 700; font-size: 0.85rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.filter-badge.is-empty { background: var(--neutral-100); border-color: var(--neutral-200); color: var(--neutral-600); box-shadow: none; }
.filter-button:hover .filter-badge, .filter-button.active .filter-badge { box-shadow: var(--shadow-xs); transform: translateY(-1px); }
.filter-pin-btn { align-self: stretch; display: inline-flex; align-items: center; justify-content: center; padding: 10px; border-radius: 12px; border: 1px solid var(--neutral-200); background: var(--neutral-50); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.filter-pin-btn i { color: var(--neutral-600); }
.filter-pin-btn[aria-pressed="true"] { background: rgba(255,193,7,0.16); border-color: rgba(255,193,7,0.6); }
.filter-pin-btn[aria-pressed="true"] i { color: var(--primary-color); }
.filter-pin-btn:hover { transform: translateY(-1px); }
.filter-button.is-pinned { box-shadow: inset 0 0 0 1px rgba(255,193,7,0.35), 0 6px 16px rgba(255,193,7,0.14); }
.filter-button.is-pinned .filter-badge { background: linear-gradient(120deg, rgba(255,193,7,0.42), rgba(255,193,7,0.22)); border-color: rgba(255,193,7,0.8); }
.favorite-block { margin: 16px 0 20px; padding: 14px; border-radius: 16px; background: linear-gradient(145deg, rgba(255,193,7,0.12), rgba(255,193,7,0.04)); border: 1px solid rgba(255,193,7,0.45); box-shadow: var(--shadow-sm); display: grid; gap: 10px; }
.favorite-block-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.favorite-title { display: inline-flex; align-items: center; gap: 10px; }
.favorite-title i { color: var(--primary-color); font-size: 1.4rem; }
.favorite-hint { margin: 2px 0 0; color: var(--neutral-600); font-size: 0.95rem; }
.favorite-helper { font-size: 0.85rem; color: var(--neutral-600); padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,0.6); border: 1px dashed rgba(255,193,7,0.6); }
.favorite-tag-list { margin-top: 6px; }
.favorite-empty { padding: 12px; border-radius: 10px; background: #fff; border: 1px dashed var(--neutral-300); color: var(--neutral-600); font-size: 0.95rem; }
.tag-filter-list { margin-top: 10px; display: grid; gap: 6px; max-height: 360px; overflow: auto; padding-right: 6px; }
.news-grid h2 { text-align: left; margin-bottom: 8px; }
.news-grid-header { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.news-filters-bar { display: grid; grid-template-columns: 1fr 180px auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--neutral-200); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.news-filters-bar input[type="search"] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--neutral-200); background: var(--neutral-50); font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.news-filters-bar input[type="search"]:focus { outline: none; border-color: rgba(255,193,7,0.8); box-shadow: 0 0 0 3px rgba(255,193,7,0.2); }
.news-filters-bar .select-wrapper { position: relative; }
.news-filters-bar select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--neutral-200); background: #fff; appearance: none; -moz-appearance: none; -webkit-appearance: none; font-weight: 600; color: var(--dark-color); cursor: pointer; }
.news-filters-bar i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--neutral-500); }
.news-result-count { font-weight: 600; color: var(--neutral-700); white-space: nowrap; }
.news-cta-group { display: flex; flex-direction: column; gap: 10px; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-card { padding: 10px 14px; border-radius: 12px; background: rgba(15,23,42,0.05); border: 1px solid var(--neutral-200); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 8px; }

.news-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.news-card { background: linear-gradient(165deg, #ffffff 0%, #fff8e6 100%); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; position: relative; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; text-decoration: none; color: var(--text-color); display: flex; flex-direction: column; border: 1px solid rgba(255,193,7,0.2); }
.news-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 20%, rgba(255,193,7,0.18), transparent 35%), radial-gradient(circle at 80% 0%, rgba(17,24,39,0.12), transparent 40%); opacity: 0.65; transition: opacity 0.35s ease; }
.news-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: rgba(255,193,7,0.45); }
.news-card:hover::before { opacity: 0.9; }
.news-card:focus-within { box-shadow: var(--shadow-lg); border-color: rgba(255,193,7,0.55); }
.news-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; height: 100%; }
.news-card-link:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,193,7,0.35); }
.news-card-img-container { width: 100%; height: 220px; overflow: hidden; position: relative; }
.news-card-img-container::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.4) 100%); opacity: 0.75; transition: opacity 0.35s ease; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: saturate(1.05); }
.news-card:hover img { transform: scale(1.06); }
.news-card:hover .news-card-img-container::after { opacity: 0.9; }
.news-card-content { padding: 20px; flex-grow: 1; display: grid; gap: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,248,230,0.95) 100%); backdrop-filter: blur(3px); position: relative; }
.news-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.4; }
.news-date { font-size: 0.9rem; color: var(--neutral-500); }
.news-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.news-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(255,193,7,0.12); border: 1px solid rgba(255,193,7,0.35); color: var(--dark-color); border-radius: 999px; font-size: 0.85rem; font-weight: 600; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.news-tag:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.news-card-actions { display: flex; align-items: center; gap: 10px; padding: 14px 16px 18px; border-top: 1px solid rgba(255,193,7,0.28); background: rgba(255,255,255,0.95); backdrop-filter: blur(6px); flex-wrap: wrap; justify-content: center; position: relative; }
.news-action-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(0,0,0,0.06); background: linear-gradient(145deg, #fff, #f8f9fb); color: var(--dark-color); cursor: pointer; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease; }
.news-action-btn i { font-size: 1.2rem; color: var(--neutral-800); }
.news-action-btn::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); padding: 8px 10px; border-radius: 10px; background: rgba(17, 24, 39, 0.9); color: #fff; white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,0.12); font-size: 0.85rem; transition: opacity 0.25s ease, transform 0.25s ease; }
.news-action-btn::before { content: ""; position: absolute; bottom: calc(100% + 6px); left: 50%; width: 10px; height: 10px; background: rgba(17, 24, 39, 0.9); transform: translateX(-50%) rotate(45deg); opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease; }
.news-action-btn:hover, .news-action-btn:focus-visible { background: linear-gradient(145deg, #fff7db, #fff); border-color: rgba(255,193,7,0.6); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,193,7,0.2); }
.news-action-btn:hover i, .news-action-btn:focus-visible i { color: var(--primary-color); }
.news-action-btn:hover::after, .news-action-btn:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.news-action-btn:hover::before, .news-action-btn:focus-visible::before { opacity: 1; transform: translateX(-50%) translateY(0) rotate(45deg); }
.news-action-btn:focus-visible { outline: none; }
.news-action-btn.is-active { background: linear-gradient(145deg, rgba(255,193,7,0.2), rgba(255,193,7,0.05)); border-color: rgba(255,193,7,0.9); box-shadow: 0 10px 26px rgba(255,193,7,0.25); }
.news-action-btn.is-active i { color: var(--primary-color); }
.news-action-btn.is-busy { opacity: 0.85; pointer-events: none; }
.news-card-actions[role="group"] { width: 100%; }
.news-sentinel { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--neutral-200); background: #fff; box-shadow: var(--shadow-sm); color: var(--neutral-700); min-height: 52px; }
.news-sentinel-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--neutral-200); border-top-color: var(--primary-color); animation: spin 0.9s linear infinite; }
.news-sentinel-text { font-weight: 600; }
.news-sentinel.is-loading { opacity: 1; }
.news-sentinel.is-complete { background: var(--neutral-50); color: var(--neutral-600); border-style: dashed; }
.news-sentinel.is-complete .news-sentinel-spinner { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1200px) {
    .news-cards-grid {
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .news-filters-bar { grid-template-columns: 1fr; }
    .news-result-count { text-align: left; }
}

/* OTHER SECTIONS */
#for-whom, #comparison { background-color: var(--secondary-bg-color); }
#how-it-works { background-color: var(--dark-color); color: #fff; }
.light-text { color: rgba(248, 249, 250, 0.8); }
.cards-container, .steps-container-grid { display: grid; gap: 30px; }
.cards-container { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.steps-container-grid { grid-template-columns: repeat(4, 1fr); }
.card, .step-card { border-radius: var(--border-radius); padding: 40px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card { background-color: #fff; box-shadow: var(--shadow-sm); text-align: center; }
.card:hover { transform: translateY(-12px); box-shadow: var(--shadow-md); }
.card i { color: var(--primary-color); margin-bottom: 25px; font-size: 3rem; }
.card h3 { font-size: 1.6rem; margin-bottom: 15px; }
.step-card { background-color: #343a40; text-align: center; border-top: 4px solid var(--primary-color); }
.step-card:hover { transform: translateY(-8px); }
.step-number { font-family: 'RoadNumbers2.0', sans-serif; font-size: 3.5rem; color: var(--primary-color); margin-bottom: 10px; line-height: 1; }
.step-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.comparison-table-wrapper { overflow-x: auto; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 25px; border: 1px solid #dee2e6; text-align: left; }
.comparison-table thead { background-color: var(--dark-color); color: #fff; }
.comparison-table th { font-weight: 500; }
.comparison-table tbody tr:nth-child(even) { background-color: #f8f9fa; }
.comparison-table .hub-col { background-color: rgba(255, 193, 7, 0.15); font-weight: 500; }
.comparison-cards-mobile { display: none; }

/* ABOUT US SECTION */
.parallax-section {
    position: relative;
    color: #fff;
    background-image: url('assets/images/Remove.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
.about-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-us-content p {
    font-size: 1.2rem;
    color: #fff;
}

/* FAQ SECTION */
#faq { background-color: var(--light-color); }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #dee2e6; }
.faq-question { background: none; border: none; width: 100%; text-align: left; padding: 25px 0; font-size: 1.2rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { color: var(--primary-color); }
.faq-question span { flex-grow: 1; }
.faq-question i { font-size: 1.4rem; transition: transform 0.3s ease; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 0 25px; margin: 0; font-size: 1rem; line-height: 1.6; }

/* CTA SECTION */
.cta-section { background-color: var(--dark-color); color: #fff; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section p { font-size: 1.2rem; margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-btn { min-width: 220px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.cta-btn i { font-size: 1.4rem; }
.cta-btn.btn-secondary { color: #fff; border-color: #fff; }
.cta-btn.btn-secondary:hover { background-color: #fff; color: var(--dark-color); }

/* FOOTER */
.site-footer { background-color: var(--footer-bg-color); color: var(--footer-text-color); padding: 80px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-column h4 { color: var(--footer-heading-color); font-size: 1.1rem; margin-bottom: 20px; font-weight: 500; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: 12px; }
.footer-column a { color: var(--footer-text-color); text-decoration: none; transition: color 0.3s ease; }
.footer-column a:hover { color: var(--primary-color); }
.footer-column i { margin-right: 10px; font-size: 1.2rem; vertical-align: middle; }
.footer-logo { display: flex; align-items: center; text-decoration: none; color: #fff; margin-bottom: 15px; }
.footer-logo img { height: 40px; margin-right: 15px; }
.footer-logo span { font-size: 1.5rem; font-weight: 700; }
.footer-tagline { font-size: 0.9rem; line-height: 1.6; }
.footer-bottom { text-align: center; margin-top: 60px; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom a { color: #f8fafc; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-skip-ink: auto; }
.footer-bottom a:hover,
.footer-bottom a:focus-visible { color: var(--primary-color); outline: none; text-decoration-color: currentColor; }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: -100%; left: 0; right: 0; background-color: #fff; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); padding: 20px; display: flex; justify-content: space-between; align-items: center; z-index: 1001; transition: bottom 0.5s ease-in-out; }
.cookie-banner.visible { bottom: 0; }
.cookie-content { display: flex; align-items: center; gap: 15px; }
.cookie-content i { font-size: 2rem; color: var(--primary-color); }
.cookie-content p { margin: 0; color: var(--text-color); }
.cookie-content a { color: var(--primary-color); text-decoration: underline; }
.cookie-banner .btn { padding: 10px 20px; }

/* SCROLL TO TOP BUTTON */
.scroll-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--primary-color); color: var(--dark-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.5rem; z-index: 999; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; }
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover { background-color: var(--primary-hover-color); transform: translateY(-5px); }

/* ARTICLE PAGE STYLES */
.article-section {
    padding-top: 40px;
    padding-bottom: 80px;
}
.article-page .navbar {
    background-color: rgba(21, 24, 31, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.article-page .navbar .nav-links a { color: #f5f7fa; }
.article-page .navbar .phone-number { color: #f5f7fa; }
.article-container { max-width: 800px; margin: 0 auto; }
.breadcrumbs { margin-bottom: 25px; font-size: 0.9rem; color: #6c757d; }
.breadcrumbs a { color: #6c757d; text-decoration: none; transition: color 0.3s ease; }
.breadcrumbs a:hover { color: var(--primary-color); }
.article-title { font-size: 2.8rem; margin-bottom: 20px; line-height: 1.2; }
.article-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; color: #6c757d; flex-wrap: wrap; gap: 10px;}
.article-sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.article-sidebar li { margin: 0; }
.sidebar-news-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--text-color); padding: 10px; border-radius: 12px; transition: background-color 0.2s ease, transform 0.2s ease; border: 1px solid transparent; }
.sidebar-news-item:hover { background-color: #fff; border-color: var(--neutral-200); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.sidebar-news-image { width: 110px; height: 82px; object-fit: cover; border-radius: 10px; }
.article-image-container { max-width: 920px; margin: 10px auto 30px; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-md); }
.article-image { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }
.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    background-color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.tag i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.tag:hover i {
    color: var(--dark-color);
}

.article-content img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}
.article-actions {
    margin: 24px auto 0;
    justify-content: center;
}
.article-content h2 { font-size: 1.8rem; text-align: left; margin: 40px 0 20px 0; }
.article-content p, .article-content li { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }
.article-content ul, .article-content ol { padding-left: 25px; }

/* LATEST NEWS SECTION */
#latest-news {
    background-color: var(--secondary-bg-color);
}

.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.all-news-link {
    text-align: center;
    margin-top: 50px;
}

@media (min-width: 1600px) {
    .container { width: clamp(320px, 82vw, 1680px); }
    .hero { padding: 140px 0 110px; }
    .hero h1 { font-size: 4.2rem; }
    .hero p { font-size: 1.45rem; }
    .news-cards-grid { gap: 32px; }
}

/* RESPONSIVE STYLES */
@media (max-width: 1023px) {
    body:not(.home-page) { padding-top: 80px; }
    h2 { font-size: 2.2rem; }
    section { padding: 60px 0; }
    .hero { min-height: auto; padding: 120px 20px 80px; }
    .steps-container-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-column: 1 / -1; }

    .mobile-nav-toggle { display: block; }
    .navbar.scrolled .mobile-nav-toggle { color: var(--dark-color); }

    .nav-content { display: none; position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: #fff; padding: 100px 30px 30px; box-shadow: -4px 0 15px rgba(0,0,0,0.15); flex-direction: column; align-items: flex-start; gap: 0; transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); opacity: 1; transform: none; pointer-events: auto; }
    .nav-content.active { display: flex; right: 0; }

    .nav-content .nav-links, .nav-content .nav-contact { opacity: 1; transform: none; }

    .nav-links { flex-direction: column; width: 100%; gap: 0; }
    .nav-links li { padding: 15px 0; width: 100%; border-bottom: 1px solid #f0f0f0; }
    .nav-links a, .navbar.scrolled .nav-links a { color: var(--dark-color); font-size: 1.1rem; }
    .nav-links a::after { display: none; }

    .nav-contact { flex-direction: column; align-items: flex-start; margin-top: 30px; width: 100%; gap: 20px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
    .phone-number, .navbar.scrolled .phone-number { color: var(--dark-color); font-size: 1.1rem; }
    .nav-contact .btn-secondary, .navbar.scrolled .nav-contact .btn-secondary { width: 100%; color: var(--dark-color); border-color: var(--dark-color); }

    .news-listing-page .news-layout { grid-template-columns: 1fr; }
    .news-sidebar { margin-bottom: 40px; }
}

@media (max-width: 767px) {
    body { font-size: 17px; }
    body:not(.home-page) { padding-top: 80px; }
    h2 { font-size: 2.9rem; }
    .hero { min-height: auto; padding: 120px 16px 60px; text-align: left; align-items: flex-start; box-sizing: border-box; }
    .hero-video { height: 100%; object-fit: contain; transform: none; top: 0; left: 0; }
    .hero-content { animation: none; }
    .hero h1 { font-size: 3rem; line-height: 1.1; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { grid-template-columns: 1fr; width: 100%; }
    .steps-container-grid { grid-template-columns: 1fr; }

    .comparison-table { display: none; }
    .comparison-cards-mobile { display: grid; gap: 20px; }
    .comparison-card { background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); border-left: 5px solid var(--primary-color); overflow: hidden; }
    .comparison-card-header { padding: 20px; background: var(--dark-color); color: #fff; font-weight: 700; }
    .comparison-card-body { padding: 20px; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-column { text-align: center; }
    .footer-column ul { display: inline-block; text-align: left; }

    .cookie-banner { flex-direction: column; text-align: center; gap: 15px; }

    .home-page .navbar:not(.scrolled) .logo img,
    .has-hero .navbar:not(.scrolled) .logo img { height: 100px; }

    .logo { gap: 10px; }
    .logo-text { font-size: 1.1rem; }

    .news-cards-grid { grid-template-columns: 1fr; }
    .news-preview-grid { grid-template-columns: 1fr; }

    .faq-question { font-size: 1.1rem; }
    .cta-buttons { flex-direction: column; }
    .cta-btn { width: 100%; }

    .parallax-section {
        background-attachment: scroll; /* Disable parallax on mobile */
    }
}
