/* Modern Premium Theme for A-Spektr CMS */

:root {
    --bg-dark: #070d14;
    --bg-card: rgba(17, 28, 42, 0.75);
    --bg-card-hover: rgba(25, 41, 61, 0.88);
    --gold: #d4af37;
    --gold-light: #fef08a;
    --gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa8416 100%);
    --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.35);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 175, 55, 0.12);
    --shadow-glow-gold: 0 10px 30px rgba(212, 175, 55, 0.35), 0 0 15px rgba(212, 175, 55, 0.2);
    --shadow-glow-emerald: 0 10px 30px rgba(16, 185, 129, 0.35), 0 0 15px rgba(16, 185, 129, 0.2);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at 10% 20%, #152538 0%, #070d14 70%);
    min-height: 100vh;
    line-height: 1.6;
}

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3), 0 0 0px rgba(212, 175, 55, 0); }
    50% { box-shadow: 0 14px 40px rgba(212, 175, 55, 0.45), 0 0 20px rgba(212, 175, 55, 0.3); }
    100% { box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3), 0 0 0px rgba(212, 175, 55, 0); }
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* Typography */
h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Glass Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 13, 20, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon-main {
    width: 44px;
    height: 44px;
    background: var(--gold-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #070d14;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover .logo-icon-main {
    transform: rotate(8deg) scale(1.08);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.brand-tagline {
    font-size: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
    transform: translateY(-1px);
}

.desktop-only {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.phone-number {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.phone-sub {
    font-size: 11px;
    color: #10b981;
}

.btn-header-cta {
    background: var(--gold-gradient);
    color: #070d14;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow-gold);
    border: none;
    cursor: pointer;
}

.btn-header-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Mobile Actions & Drawer */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-icon-btn {
    width: 42px;
    height: 42px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    color: var(--gold);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-icon-btn:active {
    transform: scale(0.92);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #0b131f;
    border-left: 1px solid var(--border-gold);
    z-index: 2000;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 20px;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.mobile-nav-list a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    transform: translateX(4px);
}

.mobile-drawer-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}

/* Hero Section */
.hero-section {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(7, 13, 20, 0.86) 0%, rgba(15, 23, 42, 0.92) 100%), url('/assets/images/hero_bg.png') center/cover no-repeat;
    border-bottom: 1px solid var(--border-glass);
}


.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.hero-title {
    font-size: 44px;
    line-height: 1.18;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #070d14;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow-gold);
    animation: pulseGlow 4s infinite ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 45px rgba(212, 175, 55, 0.55), 0 0 25px rgba(212, 175, 55, 0.35);
}

.btn-whatsapp {
    background: var(--emerald-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 28px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow-emerald);
}

.btn-whatsapp:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 45px rgba(16, 185, 129, 0.55), 0 0 25px rgba(16, 185, 129, 0.35);
}

/* Glass Card / Hero Widget */
.hero-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-premium);
    transition: all 0.4s ease;
}

.hero-card:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.card-title-badge {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

/* Calculator Widget */
.calc-field {
    margin-bottom: 18px;
}

.calc-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.calc-select, .calc-input {
    width: 100%;
    background: rgba(7, 13, 20, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.calc-select:focus, .calc-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.calc-result-box {
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed var(--border-gold);
    border-radius: 12px;
    padding: 18px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.calc-result-box:hover {
    background: rgba(212, 175, 55, 0.14);
}

.result-price {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Synergy USP Banner */
.synergy-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.synergy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 32px;
}

.synergy-card {
    background: rgba(7, 13, 20, 0.75);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.synergy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
    border-color: var(--border-gold);
}

.synergy-card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.badge-problem { background: rgba(239, 68, 68, 0.18); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-solution { background: rgba(212, 175, 55, 0.18); color: var(--gold); border: 1px solid var(--border-gold); }
.badge-result { background: rgba(16, 185, 129, 0.18); color: #86efac; border: 1px solid rgba(16, 185, 129, 0.3); }

/* Bank Grid Section */
.banks-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.banks-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.bank-pill {
    background: rgba(17, 28, 42, 0.6);
    border: 1px solid var(--border-glass);
    padding: 12px 22px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bank-pill:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
}

/* Case Studies Section */
.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.case-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.15);
}

/* Segmented Tabs (B2C / B2B) */
.tab-buttons-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-pill-btn {
    background: rgba(17, 28, 42, 0.7);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-pill-btn:hover, .tab-pill-btn.active {
    background: var(--gold-gradient);
    color: #070d14;
    border-color: transparent;
    box-shadow: var(--shadow-glow-gold);
    transform: translateY(-2px);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.faq-item:hover {
    border-color: var(--border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 24px 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-answer {
    padding: 0 30px 24px 30px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--gold);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

/* Stats Section */
.stats-section {
    padding: 70px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    background: linear-gradient(180deg, rgba(7, 13, 20, 0.88) 0%, rgba(15, 23, 42, 0.92) 100%), url('/assets/images/synergy_bg.png') center/cover no-repeat;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.stat-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Services Section */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--gold);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

.service-title {
    font-size: 22px;
    margin-bottom: 14px;
}

.service-short {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
    font-size: 14px;
}

/* SEO ARTICLE PAGES (.seo-article-body) */
.seo-article-body {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: #cbd5e1;
    background: rgba(17, 28, 42, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-premium);
}

.seo-article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 42px 0 20px 0;
    padding-left: 18px;
    border-left: 4px solid var(--gold);
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.seo-article-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 32px 0 16px 0;
}

.seo-article-body p {
    margin-bottom: 22px;
    text-align: justify;
    color: #cbd5e1;
}

.seo-article-body strong, .seo-article-body b {
    color: #ffffff;
    font-weight: 700;
}

.seo-article-body a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dashed var(--gold);
    transition: all 0.2s ease;
}

.seo-article-body a:hover {
    color: #ffffff;
    border-bottom-style: solid;
}

/* Unordered Lists styling */
.seo-article-body ul {
    list-style: none;
    margin: 24px 0 32px 0;
    padding: 0;
}

.seo-article-body ul li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 14px;
    font-size: 16px;
    color: #e2e8f0;
}

.seo-article-body ul li::before {
    content: "\f058"; /* FontAwesome check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold);
    font-size: 18px;
}

/* Ordered Lists styling */
.seo-article-body ol {
    counter-reset: seo-counter;
    list-style: none;
    margin: 24px 0 32px 0;
    padding: 0;
}

.seo-article-body ol li {
    counter-increment: seo-counter;
    position: relative;
    padding-left: 44px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #e2e8f0;
}

.seo-article-body ol li::before {
    content: counter(seo-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

/* Blockquotes */
.seo-article-body blockquote {
    background: rgba(212, 175, 55, 0.08);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    margin: 32px 0;
    font-style: italic;
    color: #f1f5f9;
}

/* Tables inside SEO text */
.seo-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(7, 13, 20, 0.6);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.seo-article-body table th {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-gold);
}

.seo-article-body table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-glass);
    color: #cbd5e1;
    font-size: 15px;
}

/* Modal Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background: #0f172a;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 30px rgba(212, 175, 55, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

/* Footer */
.site-footer {
    background: #04080e;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .desktop-only { display: none !important; }
    .mobile-actions { display: flex; }
    .nav-menu { display: none; }
    .site-header { height: 70px; }
    .nav-wrapper { height: 70px; }
    .brand-tagline { display: none; }
    .hero-section { padding-top: 110px; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-title { font-size: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .synergy-grid { grid-template-columns: 1fr; }
    .seo-article-body { padding: 24px; font-size: 15px; }
}

/* Privacy Consent Checkbox & Disabled Button */
.privacy-consent-wrapper {
    margin-top: 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: left;
}

.privacy-checkbox {
    width: 17px;
    height: 17px;
    min-width: 17px;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}

.privacy-consent-wrapper a {
    color: var(--gold);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.privacy-consent-wrapper a:hover {
    opacity: 0.85;
}

button[type="submit"]:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
    background: #334155 !important;
    color: #94a3b8 !important;
    border-color: #475569 !important;
}

/* Certificate Gallery Grid & Premium Lightbox */
.cert-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 16px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cert-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.2);
}

.cert-img-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #080f19;
    padding: 12px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.80) contrast(1.05);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.cert-card:hover .cert-img-wrapper img {
    transform: scale(1.04);
    filter: brightness(1.0) contrast(1.0);
}


.cert-hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 13, 20, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-hover-overlay {
    opacity: 1;
}

.cert-hover-overlay i {
    font-size: 32px;
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.5));
}

.cert-hover-overlay span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.cert-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-top: 14px;
    line-height: 1.4;

    /* 2 lines truncate */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 9, 15, 0.92);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.25);
}

.lightbox-caption {
    margin-top: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    max-width: 700px;
    background: rgba(15, 23, 42, 0.8);
    padding: 10px 24px;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: var(--gold);
    color: #070d14;
    transform: scale(1.1);
}

/* Contacts Section Rich Background */
#contacts {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.90) 0%, rgba(7, 13, 20, 0.95) 100%), url('/assets/images/contacts_bg.png') center/cover no-repeat !important;
    border-top: 1px solid var(--border-glass);
}

/* Alternating Section Backgrounds: #services & #faq */
#services {
    background: linear-gradient(180deg, rgba(7, 13, 20, 0.88) 0%, rgba(15, 23, 42, 0.92) 100%), url('/assets/images/services_bg.png') center/cover no-repeat !important;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

#faq {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.90) 0%, rgba(7, 13, 20, 0.94) 100%), url('/assets/images/faq_bg.png') center/cover no-repeat !important;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

/* Unified Inner Page Header & Breadcrumbs */
.page-header {
    padding: 140px 0 50px;
    background: linear-gradient(135deg, rgba(7, 13, 20, 0.88) 0%, rgba(15, 23, 42, 0.92) 100%), url('/assets/images/services_bg.png') center/cover no-repeat !important;
    border-bottom: 1px solid var(--border-glass);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs .current {
    color: var(--gold);
    font-weight: 600;
}

/* ===================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (320px - 1024px)
   =================================================================== */

/* Prevent page horizontal scroll on all screen sizes */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Table responsiveness inside article content */
.seo-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

@media (max-width: 768px) {
    .seo-article-body table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}


/* Tablets (<= 992px) */
@media (max-width: 992px) {
    .hero-section {
        padding: 110px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-header {
        padding: 110px 0 40px !important;
    }

    .page-header h1 {
        font-size: 30px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .seo-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar-sticky {
        position: static;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Prevent iOS Safari input auto-zoom */
    select.calc-select, input.calc-input, textarea.calc-input {
        font-size: 16px !important;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-card {
        padding: 22px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .btn-primary, .btn-whatsapp {
        padding: 14px 22px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .banks-grid {
        gap: 8px;
    }

    .bank-pill {
        padding: 8px 14px;
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cert-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 14px;
    }

    .cert-img-wrapper {
        height: 190px;
        padding: 8px;
    }


    .cert-title {
        font-size: 12px;
    }

    .lightbox-content {
        max-width: 95vw;
    }

    .lightbox-content img {
        max-height: 65vh;
    }

    .lightbox-close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
    .brand-name {
        font-size: 18px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 32px;
    }

    .tab-buttons-container {
        flex-direction: column;
    }

    .tab-pill-btn {
        width: 100%;
        justify-content: center;
    }

    .calc-result-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .calc-result-box > div:last-child {
        text-align: left !important;
    }
}

/* Ultra-small Phones (<= 360px) */
@media (max-width: 360px) {
    .cert-gallery-grid {
        grid-template-columns: 1fr;
    }

    .cert-img-wrapper {
        height: 220px;
    }
}






