/*
╔══════════════════════════════════════════════════════════╗
║  AUTOINFO - MAIN STYLESHEET                              ║
╠══════════════════════════════════════════════════════════╣
║  LOKACIJA: /autoinfo/apps/core/static/core/css/style.css║
║  PASKIRTIS: Visas dizainas ir stiliai                   ║
╚══════════════════════════════════════════════════════════╝
*/

/* ═══════════════════════════════════════════════════════
   RESET & BASE STYLES
   ═══════════════════════════════════════════════════════ */

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

:root {
    /* Colors */
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #2196F3;
    --secondary: #424242;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --light-gray: #F5F5F5;
    --text-dark: #212121;
    --text-gray: #757575;

    /* Spacing */
    --container-max: 1200px;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #FAFAFA;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ═══════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════ */

header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */

.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-full {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2.5rem;
    align-items: center;
    padding: 4rem 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.25rem;
}

.hero-image {
    display: block;
    width: 100%;
}

.report-preview {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1598 / 800;
    object-fit: contain;
    background: #EFF3F8;
}

/* ═══════════════════════════════════════════════════════
   PROCESS SECTION (3 STEPS)
   ═══════════════════════════════════════════════════════ */

.process-section {
    padding: 4rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-gray);
}

/* ═══════════════════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════════════════ */

.pricing-section {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-small {
    font-size: 2.5rem;
}

.price-period {
    display: block;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.pricing-card.featured .price-period {
    color: rgba(255,255,255,0.9);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255,255,255,0.2);
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.pricing-card.featured .pricing-features li:before {
    color: white;
}

/* ═══════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════ */

.faq-section {
    padding: 4rem 2rem;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* ═══════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════ */

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-check-input {
    margin-right: 0.5rem;
}

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

/* ═══════════════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════════════ */

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    border-color: var(--success);
    color: #155724;
}

.alert-error,
.alert-danger {
    background: #f8d7da;
    border-color: var(--danger);
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: var(--warning);
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════
   SPINNER / LOADING
   ═══════════════════════════════════════════════════════ */

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}

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

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

@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero-section {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    /* Mobiliajame: video per visą plotį po tekstu, natūralus formatas (be karpymo) */
    .hero-image {
        height: auto;
        min-height: 0;
        margin-top: 1.5rem;
    }
    .hero-video {
        height: auto;
        min-height: 0;
        aspect-ratio: 1598 / 800;
        object-fit: contain;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        order: 3;
        margin-top: 0.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid #eee;
    }

    .nav-links.active li {
        width: 100%;
        list-style: none;
    }

    .nav-links.active li a,
    .nav-links.active > li > a {
        display: block;
        padding: 0.9rem 0.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
        padding: 10px;
        margin: -10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ═══════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* ── Mobile touch targets (≥44px) — QA fix ─────────────────────────── */
@media (max-width: 768px) {
    .vin-copy-btn {
        min-width: 40px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }
    .ic-btn {
        min-height: 40px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: .5rem .7rem;
        font-size: .95rem;
    }
    .report-actions .btn,
    .report-actions a,
    .report-actions button {
        min-height: 44px;
    }
}

/* ── Brand logo (VIN plokštelė SVG) ────────────────────────────────── */
.brand-logo {
    display: block;
    height: 40px;
    width: auto;
}
.sidebar-logo .brand-logo {
    height: 38px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .brand-logo { height: 34px; }
}
.footer-brand { margin-bottom: 0.75rem; }
.footer-brand .brand-logo { height: 42px; }

/* ── Navbar: logotipas nesitraukia, nuorodos nesilaužo (EN telpa) ──── */
.logo { flex-shrink: 0; margin-right: 1rem; }
.brand-logo { flex: none; }
.nav-links { gap: 1.1rem; flex-wrap: nowrap; }
.nav-links > li { flex: none; }
.nav-links a { white-space: nowrap; padding: 0.5rem 0.6rem; }
.nav-user { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }

/* ── Nemokama VIN peržiūra (pagrindinis puslapis) — šviesus, pagal maketą ── */
.freecheck { background: #f8fafc; padding: 3rem 1.5rem;
    border-top: 1px solid #e4e9f1; border-bottom: 1px solid #e4e9f1; }
.freecheck-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.freecheck-title { color: #0E2A47; font-size: 29px; font-weight: 700; letter-spacing: -.6px; margin-bottom: .4rem; }
.freecheck-sub { color: #71829a; font-size: 15px; font-weight: 400; margin-bottom: 1.5rem; }
.freecheck-form { display: flex; gap: .6rem; max-width: 640px; margin: 0 auto; }
.freecheck-form input {
    flex: 1 1 300px; min-width: 0; padding: 14px 16px; font-size: 16px;
    background: #fff; border: 2px solid #1F6FEB; border-radius: 10px;
    text-transform: uppercase; letter-spacing: 1.5px; color: #0E2A47;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.freecheck-form input::placeholder { color: #9aa7b6; letter-spacing: 1px; }
.freecheck-form input:focus { outline: none; border-color: #0E2A47; }
.freecheck-form .btn-primary {
    flex: none; padding: 14px 22px; white-space: nowrap;
    background: #1F6FEB; color: #fff; border: 0; border-radius: 9px; font-weight: 600;
}
.freecheck-form .btn-primary:hover { background: #1a62d6; box-shadow: none; transform: none; }
.freecheck-trust { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap;
    margin-top: 1rem; font-size: .82rem; color: #71829a; }
.freecheck-trust span::before { content: "\2713"; color: #12925a; font-weight: 700; margin-right: .4rem; }
.freecheck-msg { margin: 1.25rem auto 0; max-width: 640px; background: #fff; color: #b4232a;
    border: 1px solid #e4e9f1; border-radius: 12px; padding: 1rem 1.25rem; font-weight: 500; }
.freecheck-result { margin-top: 1.5rem; }
.fc-card { background: #fff; border: 1px solid #e4e9f1; border-radius: 16px; padding: 1.75rem;
    text-align: left; box-shadow: 0 1px 3px rgba(14,42,71,.05); max-width: 640px; margin: 0 auto; }
/* automobilio eilutė */
.fc-carline { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.fc-ph { width: 118px; height: 80px; border-radius: 10px; flex: none; overflow: hidden;
    background: linear-gradient(135deg,#dbe4ef,#c3d1e2); border: 1px solid #e4e9f1; }
.fc-ph img { width: 100%; height: 100%; object-fit: cover; }
.fc-carmeta h3 { font-size: 1.4rem; margin: 0 0 .2rem; color: #0E2A47; }
.fc-carmeta .fc-vin { font-family: ui-monospace, monospace; font-size: .82rem; color: #71829a; }
.fc-carmeta .fc-spec { font-size: .85rem; color: #4b5866; margin-top: .3rem; }
/* rasti įrašai */
.fc-found { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1.25rem; }
.fc-f { border: 1px solid #e4e9f1; border-radius: 12px; padding: .9rem; text-align: center; background: #fff; }
.fc-f.ok { background: #e8f7ef; border-color: #a9dcc1; }
.fc-f .fc-k { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #71829a; }
.fc-f .fc-v { font-size: 1.7rem; font-weight: 700; color: #0E2A47; line-height: 1; margin: .25rem 0; }
.fc-f.ok .fc-v { color: #12925a; }
.fc-f .fc-s { font-size: .72rem; color: #71829a; }
/* pirkimo kortelės */
.fc-buys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.fc-b { border: 1px solid #e4e9f1; border-radius: 12px; padding: 1rem; text-align: center;
    background: #fff; display: flex; flex-direction: column; }
.fc-b.hi { border-color: #ecd9a4; background: #fdf7e8; }
.fc-tag { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: #B8901F;
    font-weight: 700; margin-bottom: .3rem; }
.fc-bt { font-weight: 700; color: #0E2A47; font-size: .98rem; }
.fc-bd { font-size: .76rem; color: #71829a; margin: .25rem 0 .7rem; flex: 1; }
.fc-bp { font-size: 1.3rem; font-weight: 800; color: #0E2A47; margin-bottom: .7rem; }
.fc-buy { border: 0; border-radius: 9px; padding: .7rem 1rem; font-weight: 700; cursor: pointer;
    font-size: .9rem; text-decoration: none; }
.fc-buy.gold { background: #D9A825; color: #2c2205; }
.fc-buy.ghost { background: #fff; color: #1F6FEB; border: 1px solid #c9ddf9; }
.fc-buy:hover { filter: brightness(.97); }
@media (max-width: 620px) {
    .freecheck-form { flex-direction: column; }
    .freecheck-form input { flex: none; width: 100%; }
    .freecheck-form .btn-primary { width: 100%; }
    .fc-found { grid-template-columns: repeat(2, 1fr); }
    .fc-buys { grid-template-columns: 1fr; }
}

/* ── Neseniai patikrintų automobilių juosta (apačioje kairėje) ─────── */
.ptoast {
    position: fixed; left: 18px; bottom: 18px; z-index: 1200;
    width: 340px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid #e4e9f1;
    border-radius: 12px; box-shadow: 0 8px 28px rgba(14,42,71,.18);
    padding: 12px 34px 12px 12px;
    opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease;
}
.ptoast.on { opacity: 1; transform: translateY(0); }
.ptoast-body { display: flex; align-items: center; gap: 12px; }
.ptoast-thumb { width: 62px; height: 46px; border-radius: 8px; object-fit: cover; flex: none;
    border: 1px solid #e4e9f1; background: linear-gradient(135deg,#dbe4ef,#c3d1e2); }
.ptoast-info { min-width: 0; }
.ptoast-title { font-size: .92rem; font-weight: 700; color: #0E2A47; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptoast-vin { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem;
    color: #71829a; margin: 1px 0; }
.ptoast-meta { font-size: .74rem; color: #4b5866; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptoast-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; cursor: pointer;
    font-size: 1.15rem; line-height: 1; color: #9aa7b6; padding: 2px 4px; }
.ptoast-x:hover { color: #4b5866; }
@media (max-width: 768px) {
    .ptoast { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 10px 30px 10px 10px; }
    .ptoast-thumb { width: 54px; height: 40px; }
    .ptoast-title { font-size: .85rem; }
}

/* ── Recently checked (vieša automobilių juosta pagrindiniame) ──────── */
.recent-checked { background: #fff; padding: 2.5rem 1.5rem; border-bottom: 1px solid #e4e9f1; }
.rc-inner { max-width: var(--container-max); margin: 0 auto; }
.rc-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .25rem; }
.rc-head h2 { margin: 0; font-size: 1.6rem; color: #0E2A47; letter-spacing: -.3px; }
.rc-live { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; color: #12925a;
    font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rc-live i { width: 8px; height: 8px; border-radius: 50%; background: #12925a; display: block; animation: rcpulse 1.8s infinite; }
@keyframes rcpulse { 0%,100%{opacity:1} 50%{opacity:.25} }
.rc-all { margin-left: auto; font-size: .9rem; color: #1F6FEB; font-weight: 600; }
.rc-sub { font-size: .9rem; color: #71829a; margin-bottom: 1.1rem; }
.rc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.rc-card { display: flex; align-items: center; gap: .75rem; border: 1px solid #e4e9f1; border-radius: 12px;
    padding: .6rem .9rem .6rem .6rem; background: #fff; color: inherit; text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease; }
.rc-card:hover { box-shadow: 0 6px 18px rgba(14,42,71,.1); transform: translateY(-1px); color: inherit; }
.rc-th { width: 72px; height: 52px; border-radius: 8px; flex: none; overflow: hidden;
    background: linear-gradient(135deg,#dbe4ef,#c0cfe0); border: 1px solid #e4e9f1; }
.rc-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-m { flex: 1; min-width: 0; }
.rc-nm { display: block; font-weight: 650; font-size: .95rem; color: #0E2A47;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-vn { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem;
    color: #71829a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-chip { display: inline-block; font-size: .62rem; font-weight: 700; padding: 1px 7px; border-radius: 20px; margin-top: 3px; letter-spacing: .04em; }
.rc-chip.s { background: #fdeceb; color: #c2352b; }
.rc-chip.c { background: #e8f7ef; color: #12925a; }
.rc-e { flex: none; text-align: right; }
.rc-pr { display: block; font-weight: 700; font-size: .92rem; color: #0E2A47; }
.rc-ag { display: block; font-size: .72rem; color: #71829a; margin-top: 2px; }
@media (max-width: 720px) { .rc-cards { grid-template-columns: 1fr; } }

/* ── Mobilus kalbos perjungiklis (matomas telefone šalia hamburger) ─── */
.lang-m { position: relative; display: none; }
.lang-m-btn {
    display: inline-flex; align-items: center; gap: .3rem;
    min-height: 44px; min-width: 44px; padding: .4rem .55rem;
    background: #fff; border: 1px solid #E5E7EB; border-radius: 10px;
    font-weight: 700; font-size: .85rem; color: #374151; cursor: pointer; line-height: 1;
}
.lang-m-btn img { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.lang-m-btn svg { transition: transform .2s; }
.lang-m-btn.open svg { transform: rotate(180deg); }
.lang-m-menu {
    position: absolute; top: calc(100% + .4rem); right: 0;
    background: #fff; border: 1px solid #E5E7EB; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15); min-width: 210px; z-index: 1100;
    display: none; overflow: hidden;
}
.lang-m-menu.show { display: block; }
.lang-m-opt {
    width: 100%; display: flex; align-items: center; gap: .6rem;
    padding: .8rem 1rem; background: #fff; border: 0; cursor: pointer;
    font-size: .95rem; color: #374151; text-align: left;
}
.lang-m-opt:hover { background: #F9FAFB; }
.lang-m-opt.active { background: #EFF6FF; color: #1E88E5; font-weight: 600; }
.lang-m-opt img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.lang-m-opt .ck { margin-left: auto; color: #1E88E5; }

@media (max-width: 768px) {
    .lang-m { display: block; margin-left: auto; margin-right: .5rem; order: 1; }
    .nav-lang-desktop { display: none; }
}

/* ── Partners / ads (pagal demo) ───────────────────────────────────── */
.partners-section { padding: 4rem 2rem; background: #fff; }
.partners-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    max-width: var(--container-max); margin: 0 auto;
}
@media (max-width: 980px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .partners-grid { grid-template-columns: 1fr; } }
.partner-card {
    border: 1px solid #e4e9f1; border-radius: 13px; overflow: hidden; background: #fff;
    display: flex; flex-direction: column; text-decoration: none; color: #16202e;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.partner-card:hover { box-shadow: 0 10px 26px rgba(14,42,71,.12); transform: translateY(-2px);
    border-color: #c9ddf9; color: #16202e; }
.pc-img { height: 118px; display: flex; align-items: center; justify-content: center; }
.pc-mark { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -.5px; }
.pc-logo-img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; }
.pc-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.pc-tag { display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; border-radius: 4px; padding: 2px 7px; align-self: flex-start; margin-bottom: 7px; }
.pc-tag.ad { background: #eef2f7; color: #71829a; }
.pc-tag.pt { background: #fdf7e8; color: #7a5f10; border: 1px solid #ecd9a4; }
.pc-name { font-weight: 700; color: #0E2A47; font-size: 15.5px; margin-bottom: 3px; }
.pc-desc { font-size: 12.5px; color: #71829a; line-height: 1.5; flex: 1; margin-bottom: 12px; }
.pc-cta { display: flex; gap: 8px; align-items: center; }
.pc-btn { background: #1F6FEB; color: #fff; border-radius: 8px; padding: 6px 13px;
    font-weight: 600; font-size: 12.5px; display: inline-block; text-decoration: none; }
.pc-btn.ghost { background: #fff; color: #1F6FEB; border: 1px solid #c9ddf9; }
.pc-btn.gold { background: #D9A825; color: #2c2205; }
.pc-domain { font-size: 11.5px; color: #9aa7b6; margin-left: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.partners-cta-box {
    max-width: var(--container-max); margin: 20px auto 0;
    border: 1px dashed #c9ddf9; background: #eaf2fe; border-radius: 13px; padding: 20px; text-align: center;
}
.partners-cta-box b { display: block; color: #0E2A47; font-size: 15.5px; margin-bottom: 4px; }
.partners-cta-box p { margin: 0 0 13px; font-size: 13px; color: #71829a; }

/* Aktyvus navigacijos punktas (pvz. /partners/) */
.nav-links a.active { color: #1F6FEB; font-weight: 700; }
