* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f6f8;
    color: #333;
    line-height: 1.45;
}

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

/* Pilnas plotis (kaip meniu kortelės po topbar), tik šoninis „oras“ ir safe-area */
.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px max(16px, env(safe-area-inset-left)) 24px max(16px, env(safe-area-inset-right));
    box-sizing: border-box;
}

@media (min-width: 901px) {
    .container {
        padding-top: 24px;
        padding-bottom: 30px;
    }
}

.header {
    background: #1e293b;
    color: #fff;
}

.header .container {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 15px;
}

/* Viešasis /index.php – siaurinti ir centruoti turinį (kaip anksčiau); vidinė sistema lieka per pilną plotį */
body.site-landing {
    min-height: 100dvh;
    background: #f4f6f8;
    color: #334155;
}

body.site-landing main {
    flex: 1 1 auto;
}

body.site-landing .container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

body.site-landing .header .container {
    max-width: 100%;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-direction: column;
    align-items: stretch;
}

body.site-landing .header-inner {
    flex-wrap: wrap;
    gap: 12px 16px;
}

body.site-landing .landing-header-primary {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    width: 100%;
}

body.site-landing .landing-header-top-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

body.site-landing .landing-header-top-row > h1 {
    margin: 0;
    min-width: 0;
}

body.site-landing .landing-header-primary > .landing-header-main-nav {
    flex-shrink: 0;
}

body.site-landing .landing-nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.65);
    color: #f8fafc;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

body.site-landing .landing-nav-burger:hover {
    background: rgba(51, 65, 85, 0.85);
    border-color: rgba(148, 163, 184, 0.65);
}

body.site-landing .landing-nav-burger-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 20px;
    height: 16px;
}

body.site-landing .landing-nav-burger-line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

body.site-landing .landing-header-nav-open .landing-nav-burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.site-landing .landing-header-nav-open .landing-nav-burger-line:nth-child(2) {
    opacity: 0;
}

body.site-landing .landing-header-nav-open .landing-nav-burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.site-landing .landing-header-logo {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

body.site-landing .landing-header-logo a {
    color: inherit;
    text-decoration: none;
}

body.site-landing .landing-header-logo a:hover {
    text-decoration: underline;
}

body.site-landing .landing-secondary-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
    width: 100%;
}

body.site-landing .landing-secondary-nav a {
    color: #cbd5e1;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}

body.site-landing .landing-secondary-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 900px) {
    body.site-landing .landing-header-primary {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    body.site-landing .landing-header-top-row {
        flex: 0 0 auto;
        width: 100%;
        align-items: center;
    }

    body.site-landing .landing-nav-burger {
        display: inline-flex;
        flex-shrink: 0;
        align-self: flex-start;
    }

    body.site-landing .landing-header-primary > .landing-header-main-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    body.site-landing .landing-secondary-nav {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        padding-top: 0;
        margin-top: 0;
        border-top-width: 0;
        border-top-style: solid;
        border-top-color: transparent;
        transition: max-height 0.3s ease, padding-top 0.3s ease, margin-top 0.3s ease, border-top-color 0.2s ease;
    }

    body.site-landing .header-inner.landing-header-nav-open .landing-secondary-nav {
        max-height: 24rem;
        padding-top: 12px;
        margin-top: 8px;
        border-top-width: 1px;
        border-top-color: rgba(148, 163, 184, 0.28);
    }

    body.site-landing .landing-secondary-nav a {
        display: block;
        padding: 12px 6px;
        font-size: 0.9375rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }

    body.site-landing .landing-secondary-nav a:last-child {
        border-bottom: none;
    }
}

.footer .landing-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 16px;
    margin: 0 0 14px;
    padding: 0 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer .landing-footer-nav a {
    color: #e2e8f0;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}

.footer .landing-footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

body.site-landing .landing-static-main {
    padding: 20px max(16px, env(safe-area-inset-left)) 40px max(16px, env(safe-area-inset-right));
    box-sizing: border-box;
}

body.site-landing .landing-static-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 22px 20px 24px;
    box-sizing: border-box;
}

body.site-landing .landing-static-h2,
body.site-landing .landing-static-prose h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

body.site-landing .landing-static-prose h3 {
    margin: 22px 0 8px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1e293b;
}

body.site-landing .landing-static-prose h3.landing-static-h3-spaced {
    margin-top: 28px;
}

body.site-landing ol.landing-static-steps {
    margin: 0 0 16px;
    padding-left: 1.25rem;
    line-height: 1.6;
    color: #334155;
    font-size: 0.95rem;
}

body.site-landing ol.landing-static-steps li {
    margin-bottom: 12px;
}

body.site-landing ol.landing-static-steps li:last-child {
    margin-bottom: 0;
}

body.site-landing .landing-static-lead {
    margin: 0 0 16px;
    color: #64748b;
    line-height: 1.55;
    font-size: 0.95rem;
}

body.site-landing .landing-static-muted {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

body.site-landing .landing-static-small {
    font-size: 0.8125rem;
    margin-top: 24px;
}

body.site-landing .landing-static-prose p {
    margin: 0 0 12px;
    line-height: 1.6;
    color: #334155;
    font-size: 0.95rem;
}

body.site-landing .landing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 16px;
    margin: 18px 0;
}

body.site-landing .landing-plans-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* admin/plans.php — vienas planas (servix_pro_single): centras + paslaugos kaip index (be ✔) */
.admin-owner-plans .landing-plans-servix-pro {
    text-align: center;
}

.admin-owner-plans .landing-plans-servix-pro .plans-servix-h2 {
    margin: 0 auto 12px;
    max-width: 40rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.admin-owner-plans .landing-plans-servix-pro .plans-servix-lead {
    margin: 0 auto 16px;
    max-width: 40rem;
    color: #64748b;
    line-height: 1.55;
    font-size: 0.95rem;
}

.admin-owner-plans .landing-plans-servix-pro-card {
    max-width: 42rem;
    margin: 8px auto 0;
    text-align: left;
}

.admin-owner-plans .landing-plans-servix-pro-card-title {
    text-align: center;
    margin-bottom: 0.75rem;
}

.admin-owner-plans .landing-plan-price-block--servix-centered {
    text-align: center;
    margin-bottom: 0.5rem;
}

.admin-owner-plans .landing-plan-price-block--servix-centered .landing-plan-promo-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #991b1b;
    background: #fecaca;
    border: 1px solid #f87171;
}

.admin-owner-plans .landing-plan-price-block--servix-centered .landing-plan-price {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #15803d;
}

.admin-owner-plans .landing-plan-price-block--servix-centered .landing-plan-price-visual {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
    justify-content: center;
}

.admin-owner-plans .landing-plan-price-block--servix-centered .landing-plan-price-was {
    font-size: 1.05rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.admin-owner-plans .landing-plan-price-block--servix-centered .landing-plan-price-now {
    color: #15803d;
}

.admin-owner-plans .landing-plan-price-block--servix-centered .landing-plan-period {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.admin-owner-plans .landing-plans-servix-pro-trial {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #15803d;
}

.admin-owner-plans .landing-value-list.landing-value-list--servix-pro-plan {
    list-style: disc;
    padding-left: 1.35rem;
    margin: 1rem 0 0;
    max-width: none;
}

.admin-owner-plans .landing-value-list.landing-value-list--servix-pro-plan > li {
    display: list-item;
    flex-direction: unset;
    gap: unset;
    padding: 0.65rem 0 0.65rem 0.35rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-owner-plans .landing-value-list.landing-value-list--servix-pro-plan > li:last-child {
    border-bottom: 0;
}

.admin-owner-plans .landing-value-list.landing-value-list--servix-pro-plan > li::before {
    content: none;
}

.admin-owner-plans.admin-owner-plans--servix .admin-plans-servix-actions {
    text-align: center;
    margin-top: 20px;
}

.admin-owner-plans.admin-owner-plans--servix .admin-plans-servix-footer {
    text-align: center;
    margin-top: 18px;
}

body.site-landing .landing-plan-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 16px;
    background: #fafbfc;
}

body.site-landing .landing-plan-card--featured {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #f0f9ff 0%, #fafbfc 48%);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.12);
}

body.site-landing .landing-plan-name {
    margin: 0 0 6px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
}

body.site-landing .landing-plan-subtitle {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

body.site-landing .landing-plan-card--featured .landing-plan-subtitle {
    color: #1d4ed8;
}

body.site-landing .landing-plans-promo-banner {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: #92400e;
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
}

body.site-landing .landing-plan-price-block {
    margin: 0 0 12px;
}

body.site-landing .landing-plan-price-block .landing-plan-price {
    margin-bottom: 0;
}

body.site-landing .landing-plan-promo-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #991b1b;
    background: #fecaca;
    border: 1px solid #f87171;
}

body.site-landing .landing-plan-price {
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #15803d;
}

body.site-landing .landing-plan-price-visual {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
}

body.site-landing .landing-plan-price-was {
    font-size: 1.05rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

body.site-landing .landing-plan-price-now {
    color: #15803d;
}

body.site-landing .landing-plan-period {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

body.site-landing .landing-plan-limits {
    margin: 0 0 12px;
    padding-left: 18px;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.55;
}

body.site-landing .landing-plan-bullets {
    margin: 0 0 12px;
    padding-left: 18px;
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.55;
}

body.site-landing .landing-plan-bullets li {
    margin: 4px 0;
}

body.site-landing .landing-plan-footer-note {
    margin: 4px 0 0;
    font-size: 0.875rem;
    font-style: italic;
    color: #64748b;
    line-height: 1.45;
}

body.site-landing .landing-plan-features {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.5;
}

body.site-landing .landing-static-cta {
    margin: 24px 0 0;
}

body.site-landing .landing-static-btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    background: #2563eb;
    color: #fff;
    border: none;
}

body.site-landing .landing-static-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

body.site-landing .landing-static-btn--ghost {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

body.site-landing .landing-static-btn--ghost:hover {
    background: #e2e8f0;
    color: #0f172a;
}

body.site-landing .header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

body.site-landing .header-nav .header-nav-link {
    color: #e2e8f0;
    padding: 8px 4px;
    font-weight: 600;
}

body.site-landing .header-nav .header-nav-link:hover {
    color: #fff;
    text-decoration: underline;
}

.landing-intro {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.landing-intro .container {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.landing-intro-title {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.landing-intro-desc {
    margin: 0.4rem auto 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    max-width: 40rem;
}

/* Pagrindinis landing turinys — aiškios juostos */
.landing-main {
    overflow-x: hidden;
}

.landing-stack--register {
    padding: 8px 0 6px;
    background: #fafbfc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.landing-stack-intro-foot {
    background: #f1f5f9;
    padding: 14px 0 20px;
    border-top: 1px solid #e2e8f0;
}

.landing-pain--split .landing-pain-split-grid {
    display: grid;
    gap: 16px 20px;
    align-items: stretch;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .landing-pain--split:not(.landing-pain--split--no-media) .landing-pain-split-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: min(300px, 48vw);
    }
}

.landing-pain--split--no-media .landing-pain-split-grid {
    max-width: 36rem;
}

.landing-pain--split--no-media .landing-pain--card--split {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.landing-pain--split--no-media .landing-pain--card--split .landing-pain-inner {
    text-align: center;
}

.landing-pain--split--no-media .landing-pain--card--split .landing-pain-title {
    text-align: center;
}

.landing-pain-split-cell--media {
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.landing-pain-split-figure {
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border-radius: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.landing-pain-split-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.landing-pain-split-cell--copy {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.landing-pain--card--split {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 0;
    width: 100%;
    min-height: 100%;
}

.landing-pain--card--split .landing-pain-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    margin: 0;
    text-align: left;
    padding: 16px 18px 18px;
}

.landing-pain--card--split .landing-pain-title {
    text-align: left;
    font-size: 0.95rem;
}

.landing-pain--card--split .landing-pain-list {
    font-size: 0.9rem;
    margin-top: 0.55rem;
}

.landing-pain--card--split .landing-pain-list--neg > li {
    margin: 0.3rem 0;
    padding-left: 1.25rem;
}

.landing-pain--card--split .landing-pain-outro {
    margin-top: 0.65rem;
    font-size: 0.82rem;
}

.landing-pain--card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    max-width: 36rem;
    margin: 0 auto;
}

.landing-pain--card .landing-pain-inner {
    padding: 22px 22px 24px;
}

/* Problema + nuotrauka: be baltos kortelės — kaip sekcijos fonas */
.landing-pain--card.landing-pain--card--split {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.landing-auth-dual-head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 14px;
    padding: 0 4px;
    box-sizing: border-box;
}

.landing-auth-dual-title.landing-client-block-title {
    margin: 0;
}

.landing-client-block-title {
    margin: 0.25rem 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.landing-cluster-kicker {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    text-align: center;
}

.landing-cluster-kicker--muted {
    color: #94a3b8;
}

.landing-servisas-cluster {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 28px 0 34px;
}

.landing-servisas-cluster-inner .landing-cluster-kicker {
    margin-bottom: 14px;
}

.landing-servisas-grid {
    display: grid;
    gap: 20px;
    align-items: start;
}

@media (min-width: 960px) {
    .landing-servisas-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        gap: 24px;
    }
}

.landing-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    padding: 22px 22px 24px;
}

.landing-section-title--panel {
    text-align: left;
    margin: 0 0 0.85rem;
    font-size: 1.1rem;
}

.landing-value--cluster {
    margin: 0;
}

.landing-value--cluster .landing-value-list {
    max-width: none;
    margin: 0;
}

.landing-how--cluster,
.landing-pricing-teaser--cluster {
    margin: 0;
}

.landing-pricing-teaser--cluster .landing-pricing-teaser-inner {
    text-align: left;
    max-width: none;
    margin: 0;
}

.landing-pricing-teaser--cluster .landing-section-title--panel {
    margin-bottom: 0.5rem;
}

.landing-servisas-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.landing-top-services-wrap {
    margin-top: 0;
}

/* Landing hero (Servix — autoservisams pirmiausia) */
.landing-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: none;
}

.landing-hero-inner {
    padding-top: 28px;
    padding-bottom: 28px;
    text-align: center;
    max-width: 44rem;
    margin: 0 auto;
}

.landing-hero-title {
    margin: 0.5rem 0 0;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.landing-hero-lead {
    margin: 0.85rem 0 0;
    font-size: 1rem;
    color: #475569;
    line-height: 1.55;
}

.landing-hero-cta {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
}

.landing-hero-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
}

.landing-hero-cta .landing-hero-cta-primary {
    border-color: transparent;
}

.landing-hero-cta .btn-secondary-landing {
    border-color: #457b9d;
}

.landing-hero-cta .landing-hero-demo-form {
    display: contents;
}

.landing-join-cta .landing-join-demo-form {
    display: contents;
}

.landing-hero .landing-alert {
    text-align: left;
    max-width: none;
}

/* Skausmo / problemos blokas */
.landing-pain:not(.landing-pain--card) {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.landing-pain-inner {
    padding-top: 22px;
    padding-bottom: 22px;
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.landing-pain-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.landing-pain-list {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.landing-pain-list li {
    margin: 0.4rem 0;
    padding-left: 0;
}

.landing-pain-outro {
    margin: 0.85rem 0 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.landing-pain-outro--emph {
    font-size: 0.9rem;
    color: #334155;
}

.landing-pain-list--neg > li {
    position: relative;
    padding-left: 1.15rem;
}

.landing-pain-list--neg > li::before {
    content: "×";
    position: absolute;
    left: 0;
    top: 0.08em;
    font-weight: 800;
    color: #dc2626;
    font-size: 1rem;
    line-height: 1.2;
}

.landing-hero-eyebrow {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.landing-hero-tagline {
    margin: 0.75rem 0 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

.landing-stack--story {
    background: #fff;
}

.landing-solution-band {
    padding: 28px 0 8px;
    border-bottom: 1px solid #e2e8f0;
}

.landing-solution-inner {
    max-width: 40rem;
    margin: 0 auto;
}

.landing-solution-band .landing-section-title {
    margin-bottom: 0.65rem;
}

.landing-solution-lead {
    margin: 0;
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.6;
    text-align: center;
}

.landing-solution-sub {
    margin: 1rem 0 0.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}

.landing-solution-list {
    margin: 0 auto;
    padding: 0 0 0 1.2rem;
    max-width: 34rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.landing-solution-list li {
    margin: 0.35rem 0;
}

.landing-features-wrap {
    padding: 26px 0 32px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.landing-features-wrap .landing-section-title {
    margin-bottom: 0.35rem;
}

.landing-features-intro {
    margin: 0 auto 1.1rem;
    max-width: 36rem;
    text-align: center;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

.landing-feature-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .landing-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .landing-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.landing-feature-tile {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 16px 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.landing-feature-tile--wide {
    grid-column: 1 / -1;
}

@media (min-width: 960px) {
    .landing-feature-tile--wide {
        grid-column: span 3;
    }
}

.landing-feature-tile-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.3;
}

.landing-feature-icon {
    flex-shrink: 0;
    line-height: 1.2;
}

.landing-feature-tile-body {
    margin: 0.45rem 0 0;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

.landing-feature-tile-benefit {
    margin: 0.55rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.landing-feature-tile-benefit::before {
    content: "→ ";
    font-weight: 700;
    color: #16a34a;
}

.landing-audience-block {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.landing-audience-title {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.landing-audience-list {
    margin: 0;
    padding: 0 0 0 1.1rem;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.5;
}

.landing-audience-list li {
    margin: 0.25rem 0;
}

#funkcijos,
#kodel-servix,
#kaip-veikia,
#registracija,
#ieskoti {
    scroll-margin-top: 72px;
}

.landing-proof {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 26px 0 30px;
}

.landing-proof-inner {
    max-width: 44rem;
    margin: 0 auto;
}

.landing-proof-lead {
    margin: 0.35rem auto 0;
    max-width: 36rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.landing-proof-quotes {
    margin-top: 1.25rem;
    display: grid;
    gap: 14px;
}

@media (min-width: 720px) {
    .landing-proof-quotes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.landing-proof-quote {
    margin: 0;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.landing-proof-quote p {
    margin: 0;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
    font-style: italic;
}

/* Vertė: kodėl Servix (atskirai nuo cluster — jei kada nors naudojama) */
.landing-value:not(.landing-value--cluster) {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 26px 0 30px;
}

.landing-section-title {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    letter-spacing: -0.02em;
}

.landing-value:not(.landing-value--cluster) .landing-section-title {
    text-align: center;
}

.landing-value-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.landing-value-list > li {
    position: relative;
    padding: 0.65rem 0 0.65rem 1.35rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.landing-value-list > li:last-child {
    border-bottom: 0;
}

.landing-value-list > li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.72rem;
    font-size: 0.85rem;
    color: #16a34a;
    font-weight: 700;
}

.landing-value-item-title {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
}

.landing-value-item-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

/* Kaip veikia */
.landing-how:not(.landing-how--cluster) {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 26px 0 28px;
}

.landing-how-steps {
    margin: 0 auto;
    padding-left: 1.25rem;
    max-width: 34rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.landing-how-steps li {
    margin: 0.5rem 0;
}

.landing-how-steps strong {
    color: #0f172a;
}

/* Kainodara — trumpa */
.landing-pricing-teaser:not(.landing-pricing-teaser--cluster) {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 0 26px;
}

.landing-pricing-teaser-inner {
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
}

.landing-pricing-lead {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.55;
}

.landing-pricing-lead strong {
    color: #0f172a;
    font-weight: 700;
}

.landing-pricing-link-wrap {
    margin: 1rem 0 0;
}

.landing-pricing-link {
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-pricing-link:hover {
    color: #1e40af;
}

/* CTA: prisijunkite prie pirmųjų */
.landing-join {
    background: #0f172a;
    color: #e2e8f0;
    padding: 28px 0 32px;
}

.landing-join-inner {
    text-align: center;
    max-width: 34rem;
    margin: 0 auto;
}

.landing-join-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.landing-join-lead {
    margin: 0.6rem 0 0;
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

.landing-join-cta {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
}

.landing-join-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
}

.landing-join-cta .btn:not(.btn-secondary-landing) {
    border-color: transparent;
}

.landing-join-cta .btn-secondary-landing {
    border: 2px solid #64748b;
    color: #e2e8f0;
    background: transparent;
}

.landing-join-cta .btn-secondary-landing:hover {
    background: #334155;
    border-color: #64748b;
    color: #fff;
}

/* Registracija + paieška/prisijungimas — dvi kortelės vienoje eilutėje (plačiuose ekranuose) */
body.site-landing .blocks .grid.landing-grid-auth-dual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
    box-sizing: border-box;
}

body.site-landing .blocks .grid.landing-grid-auth-dual > .card-flip {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

@media (min-width: 900px) {
    body.site-landing .blocks .grid.landing-grid-auth-dual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.landing-alert {
    margin: 0 auto 1rem;
    padding: 12px 14px;
    max-width: 42rem;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    color: #92400e;
    text-align: left;
}

.landing-alert--error {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

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

.btn-secondary-landing {
    background: transparent;
    color: #1d3557;
    border: 2px solid #457b9d;
}

.btn-secondary-landing:hover {
    background: #457b9d;
    color: #fff;
}

.landing-empty {
    text-align: center;
    color: #475569;
    max-width: 28rem;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.landing-empty-cta {
    margin-top: 10px;
}

.top-services-intro {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin: 0 auto 32px;
    max-width: 36rem;
    line-height: 1.5;
}

.service-card-meta {
    font-size: 12px;
    color: #94a3b8;
    margin: 12px 0 0;
}

/* Landing (index): vizualiai artima admin daliai (slate topbar, baltos kortelės, mėlynas CTA) */
body.site-landing .header {
    background: #0f172a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

body.site-landing .header h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

body.site-landing .header nav .btn {
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    background: #facc15;
    color: #0f172a;
    box-shadow: none;
    transition: filter 0.15s ease;
}

body.site-landing .header nav .btn:hover {
    filter: brightness(0.96);
    transform: none;
    box-shadow: none;
}

body.site-landing .header-nav-link:hover {
    text-decoration: underline;
    background: transparent;
    color: #f1f5f9;
}

body.site-landing .landing-intro .landing-alert {
    margin-bottom: 14px;
}

body.site-landing .blocks {
    padding: 22px 0 12px;
}

/* Mažesnis „oras“ po kortelėmis — container turi bendrą padding-bottom */
body.site-landing .blocks > .container {
    padding-bottom: 10px;
}

@media (min-width: 901px) {
    body.site-landing .blocks > .container {
        padding-bottom: 14px;
    }
}

body.site-landing .grid {
    gap: 20px;
    align-items: start;
}

/* Registracija + klientams: viena eilutė, lygūs plotiai (flex geriau nei grid čia) */
body.site-landing .blocks .grid {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: stretch;
}

body.site-landing .blocks .grid > .card-flip {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
}

@media (min-width: 901px) {
    body.site-landing .blocks .grid {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    body.site-landing .blocks .grid > .card-flip {
        flex: 1 1 0;
        width: auto;
    }
}

/* Apverčiama registracijos kortelė (pagrindinis puslapis) */
body.site-landing .card-flip {
    perspective: 1200px;
    min-height: 0;
    min-width: 0;
    align-self: start;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Kompaktesnis „flip“ kortelių turinys — be vidinio slinkimo ir perteklinio aukščio */
body.site-landing .card-flip .card {
    padding: 18px 18px 20px;
}

/* Aukštį tiksliai nustato JS (inline min-height); iki tol — minimalus „stub“, kad nekolapsuotų */
body.site-landing .card-flip-inner {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 13rem;
    display: block;
    transition: transform 0.9s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

body.site-landing .card-flip.is-flipped .card-flip-inner {
    transform: rotateY(180deg);
}

body.site-landing .card-flip-face {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

body.site-landing .card-flip-face--back {
    transform: rotateY(180deg);
}

body.site-landing .card-flip-panel {
    box-sizing: border-box;
    flex: 0 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    /* „anywhere“ lanksto net po simbolį — flex eilutėje atrodo kaip „viena raidė eilutėje“ */
    overflow-wrap: break-word;
    word-break: normal;
}

body.site-landing .card-flip-panel--back {
    justify-content: flex-start;
}

/* Pagrindinė pusė: šiek tiek oro prieš pagrindinį CTA (be vertikalaus „ištempto“ flex) */
body.site-landing .card-flip-panel--front > .btn.full,
body.site-landing .card-flip-panel--front > .note:last-child,
body.site-landing .card-flip-panel--front > button.btn.full {
    margin-top: 1rem;
}

body.site-landing .card-flip-panel--front .btn.full + .note,
body.site-landing .card-flip-panel--front .landing-search-form + .note {
    margin-top: 0.6rem;
}

body.site-landing .card-flip-back-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

body.site-landing .card-flip-back-lead {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

body.site-landing .landing-reg-error {
    margin: 0.65rem 0 0;
    padding: 10px 12px;
    font-size: 13px;
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 10px;
}

body.site-landing .landing-reg-form {
    margin-top: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

body.site-landing .landing-reg-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-top: 0.35rem;
}

body.site-landing .landing-reg-label:first-of-type {
    margin-top: 0;
}

body.site-landing .landing-reg-input {
    width: 100%;
    padding: 11px 12px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
}

body.site-landing .landing-reg-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

body.site-landing .landing-reg-submit {
    margin-top: 0.65rem;
}

body.site-landing .landing-reg-login-note {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Sutikimas: grid + „minmax(0,1fr)“ tekstui; atskiras nuo .auth-box input { width:100% } */
.landing-reg-consent {
    display: grid;
    grid-template-columns: 1.375rem minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    margin: 12px 0 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.landing-reg-consent-input {
    appearance: none;
    -webkit-appearance: none;
    width: 1.375rem;
    height: 1.375rem;
    margin: 2px 0 0;
    padding: 0;
    border: 2px solid #94a3b8;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.landing-reg-consent-input:hover {
    border-color: #64748b;
}

.landing-reg-consent-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

.landing-reg-consent-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.75 8.25L6.75 11.25L12.25 4.25' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 0.875rem;
    background-position: center;
    background-repeat: no-repeat;
}

.landing-reg-consent-label {
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #475569;
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
    cursor: pointer;
    font-weight: 400;
}

.landing-reg-consent-label a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

.landing-reg-consent-label a:hover {
    color: #1d4ed8;
}

.auth-box .landing-reg-consent {
    text-align: left;
    margin-top: 6px;
    margin-bottom: 10px;
}

body.site-landing .landing-reg-form .landing-reg-consent-input {
    width: 1.375rem;
    max-width: none;
    min-height: 1.375rem;
}

body.site-landing .landing-login-maint {
    margin: 0.5rem 0 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
    body.site-landing .card-flip-inner {
        transition-duration: 0.01ms;
    }
}

body.site-landing .card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 24px;
    overflow: hidden;
}

body.site-landing .card-figure {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -24px -24px 1rem;
    padding: 1.35rem 1rem 1.15rem;
    border-bottom: 1px solid #e5e7eb;
}

body.site-landing .card-flip .card-figure {
    margin: -18px -18px 0.85rem;
    padding: 1.1rem 0.85rem 1rem;
}

body.site-landing .card-figure svg {
    max-width: 100%;
    height: auto;
}

body.site-landing .card-figure--owner {
    color: #2563eb;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

body.site-landing .card-figure--search {
    color: #0f766e;
    background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
}

body.site-landing .card h3 {
    margin-top: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

body.site-landing .card--landing-owner .card-eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #64748b;
}

body.site-landing .card--landing-owner h3 {
    margin-top: 0.35rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

body.site-landing .card p.card-lead {
    margin: 0.55rem 0 0;
    color: #475569;
    line-height: 1.55;
}

body.site-landing .card ul.card-list-check {
    margin: 0.9rem 0 0;
    padding-left: 1.2rem;
}

body.site-landing .card ul.card-list-check li::marker {
    color: #2563eb;
}

body.site-landing ul.card-list-landing-owner {
    margin-top: 0.75rem;
    padding-left: 1.35rem;
    max-width: none;
}

body.site-landing ul.card-list-landing-owner li {
    margin-bottom: 0.55rem;
    font-size: 0.9375rem;
    line-height: 1.55;
}

body.site-landing ul.card-list-landing-owner li:last-child {
    margin-bottom: 0;
}

body.site-landing .landing-search-hint {
    margin: 0.65rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

body.site-landing .card-list-tight li {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

body.site-landing .card--landing-search h3 {
    margin-top: 0.35rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

body.site-landing .landing-search-form {
    margin: 0.85rem 0 0;
}

body.site-landing .landing-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

body.site-landing .landing-search-input {
    flex: 1 1 200px;
    min-width: 0;
    box-sizing: border-box;
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
    line-height: 1.2;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
}

body.site-landing .landing-search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

body.site-landing .landing-search-input::placeholder {
    color: #94a3b8;
}

body.site-landing .landing-search-submit {
    flex: 0 0 auto;
    box-sizing: border-box;
    height: 48px;
    min-width: 108px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1;
    border-radius: 10px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    background: #2563eb;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.site-landing .landing-search-submit:hover {
    background: #1d4ed8;
}

body.site-landing .landing-search-note {
    margin-top: 0.75rem;
}

body.site-landing .landing-search-note a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

body.site-landing .landing-search-note a:hover {
    color: #1d4ed8;
}

body.site-landing .card p {
    color: #475569;
    line-height: 1.6;
}

body.site-landing .card ul li {
    margin-bottom: 0.45rem;
    color: #334155;
}

body.site-landing .card ul li::marker {
    color: #64748b;
}

body.site-landing .btn.full:not(.btn-secondary-landing) {
    margin-top: 1.15rem;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 700;
    background: #2563eb;
    border: 0;
    color: #fff;
    box-shadow: none;
    transition: background 0.15s ease;
}

body.site-landing .btn.full:not(.btn-secondary-landing):hover {
    transform: none;
    background: #1d4ed8;
    box-shadow: none;
}

body.site-landing .btn-secondary-landing {
    margin-top: 1rem;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    color: #334155;
    background: #fff;
}

body.site-landing .btn-secondary-landing:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: none;
}

body.site-landing .landing-hero-cta .btn {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
}

body.site-landing .landing-hero-cta .landing-hero-cta-primary {
    border-color: transparent;
}

body.site-landing .landing-hero-cta .btn-secondary-landing {
    border: 2px solid #457b9d;
    color: #1d3557;
    background: transparent;
}

body.site-landing .landing-hero-cta .btn-secondary-landing:hover {
    background: #457b9d;
    color: #fff;
    border-color: #457b9d;
}

@media (max-width: 768px) {
    body.site-landing .landing-hero-cta .landing-hero-cta-secondary,
    body.site-landing .landing-hero-cta .landing-hero-cta-tertiary,
    body.site-landing .landing-join-cta .landing-join-cta-secondary,
    body.site-landing .landing-join-cta .landing-join-cta-tertiary {
        display: none;
    }
}

body.site-landing .landing-join-cta .btn {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
}

body.site-landing .landing-join-cta .btn:not(.btn-secondary-landing) {
    border-color: transparent;
}

body.site-landing .landing-join-cta .btn-secondary-landing {
    border: 2px solid #64748b;
    color: #e2e8f0;
    background: transparent;
}

body.site-landing .landing-join-cta .btn-secondary-landing:hover {
    background: #334155;
    border-color: #64748b;
    color: #fff;
}

body.site-landing .top-services {
    background: #f1f3f6;
    padding: 18px 0 48px;
}

body.site-landing .top-services-heading-strip {
    width: 100%;
    margin: 0 0 1rem;
    padding: 14px 0;
    box-sizing: border-box;
    border-radius: 0;
    background: linear-gradient(105deg, #0f172a 0%, #1e3a5f 55%, #1e40af 100%);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.site-landing .top-services-heading-strip-container {
    padding-top: 0;
    padding-bottom: 0;
}

body.site-landing .top-services-heading-strip h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

body.site-landing .top-services-intro {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

body.site-landing .top-services-intro-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

body.site-landing .top-services-intro-link:hover {
    color: #1d4ed8;
}

body.site-landing .landing-rate-flash {
    margin: 0 0 1rem;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

body.site-landing .landing-rate-flash--err {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

body.site-landing .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}

body.site-landing .service-card--landing {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.site-landing .service-card--landing:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.1);
}

body.site-landing .service-card-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #f1f5f9;
}

body.site-landing .service-card-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.site-landing .service-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.site-landing .service-card-logo-fallback {
    font-size: 1.2rem;
    font-weight: 800;
    color: #475569;
    line-height: 1;
}

body.site-landing .service-card-top-main {
    min-width: 0;
    flex: 1;
}

body.site-landing .service-card-top-main h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

body.site-landing .service-card-rating-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    width: 100%;
}

body.site-landing .service-card-rating-stack .landing-star-meter {
    margin-top: 0;
}

body.site-landing .landing-star-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

body.site-landing .landing-star-meter--empty .landing-star-meter-text {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.8125rem;
}

body.site-landing .landing-star-meter-track {
    position: relative;
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    line-height: 1;
    color: #e2e8f0;
    flex-shrink: 0;
}

body.site-landing .landing-star-meter-track::before {
    content: '★★★★★';
}

body.site-landing .landing-star-meter-fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f59e0b;
    height: 100%;
    pointer-events: none;
}

body.site-landing .landing-star-meter-fill::before {
    content: '★★★★★';
}

body.site-landing .landing-star-meter-text {
    font-size: 0.8125rem;
    color: #64748b;
}

body.site-landing .landing-star-meter-text strong {
    color: #0f172a;
    font-weight: 700;
}

body.site-landing .landing-star-meter-count {
    font-weight: 500;
    color: #94a3b8;
}

body.site-landing .service-card-body {
    padding: 14px 18px;
    flex: 1 1 auto;
}

body.site-landing .service-card-addr {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

body.site-landing .service-card-contacts {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

body.site-landing .service-card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: underline;
    word-break: break-word;
}

body.site-landing .service-card-link:hover {
    color: #1d4ed8;
}

body.site-landing .service-card-muted {
    margin: 0.65rem 0 0;
    font-size: 0.8125rem;
    color: #94a3b8;
    font-style: italic;
}

body.site-landing .service-card-rate-form {
    margin: 0;
    width: 100%;
}

body.site-landing .service-card-star-votes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

body.site-landing .service-card-star-btn {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    padding: 4px 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.85rem;
    line-height: 1;
    color: #e2e8f0;
    border-radius: 8px;
    transition: color 0.12s ease, transform 0.12s ease;
}

body.site-landing .service-card-star-btn:hover,
body.site-landing .service-card-star-btn.is-hover-fill {
    color: #f59e0b;
}

body.site-landing .service-card-star-btn:hover {
    transform: scale(1.06);
}

body.site-landing .service-card-star-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    color: #f59e0b;
}

body.site-landing .service-card-meta {
    margin: 0;
    padding: 12px 18px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

body.site-landing .service-card-more-wrap {
    margin: 0.55rem 0 0;
}

body.site-landing .service-card-more-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
}

body.site-landing .service-card-more-link:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

body.service-public-page .service-public-main {
    padding-top: 8px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

body.service-public-page .service-public-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 22px 20px 18px;
    margin-top: 12px;
}

body.service-public-page .service-public-hero {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 22px;
}

body.service-public-page .service-public-logo {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.service-public-page .service-public-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.service-public-page .service-public-hero-text {
    min-width: 0;
    flex: 1;
}

body.service-public-page .service-public-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

body.service-public-page .service-public-lead {
    color: #475569;
    margin: 0 0 12px;
    line-height: 1.5;
}

body.service-public-page .service-public-meta {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 24px;
}

body.service-public-page .service-public-sub {
    margin: 0 0 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

body.service-public-page .service-public-p {
    margin: 0 0 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #334155;
}

body.service-public-page .service-public-p:last-child {
    margin-bottom: 0;
}

body.service-public-page .service-public-about {
    margin-bottom: 8px;
}

body.service-public-page .service-public-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
}

body.service-public-page .service-public-desc-muted {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
    line-height: 1.5;
}

body.service-public-page .service-public-footer-meta {
    margin: 24px 0 0;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.875rem;
}

body.service-public-page .service-public-footer-meta a {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

body.service-public-page .service-public-footer-meta a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

body.service-public-page .service-public-card h1 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

body.site-landing .landing-empty {
    padding: 24px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px dashed #cbd5e1;
}

body.site-landing .landing-empty-cta {
    margin-top: 14px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 700;
    background: #2563eb;
    color: #fff;
    box-shadow: none;
    transition: background 0.15s ease;
}

body.site-landing .landing-empty-cta:hover {
    transform: none;
    background: #1d4ed8;
    box-shadow: none;
}

body.site-landing .footer {
    background: #1e293b;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

@media (max-width: 600px) {
    body.site-landing .landing-intro-title {
        font-size: 1rem;
    }
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.header nav a {
    color: #fff;
    margin-left: 10px;
    text-decoration: none;
}

.header nav .btn {
    background: #facc15;
    color: #1e293b;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: bold;
}

.btn {
    background: #e63946;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
}

.btn.full {
    display: block;
    text-align: center;
    margin-top: 15px;
}

.hero {
    background: #9DB0BD;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.blocks {
    padding: 50px 0;
}

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

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card h3 {
    margin-top: 0;
    color: #1d3557;
}

.card ul {
    padding-left: 20px;
}

.card ul li {
    margin-bottom: 8px;
}

.card input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.note {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

.note-spaced {
    margin-top: 1rem;
}

.footer {
    background: #1d3557;
    color: #fff;
    text-align: center;
    padding: max(15px, env(safe-area-inset-bottom)) max(15px, env(safe-area-inset-left)) max(15px, env(safe-area-inset-right));
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}
.top-services {
    background: #f1f3f6;
    padding: 60px 0;
}

.top-services h2 {
    text-align: center;
    margin-bottom: 12px;
    color: #1d3557;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.service-card h3 {
    margin-top: 0;
    color: #1d3557;
}

.service-card .city {
    font-size: 14px;
    color: #555;
}

.rating {
    font-size: 16px;
    margin: 10px 0;
}

.badge {
    display: inline-block;
    background: #2a9d8f;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.btn.small {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 14px;
    font-size: 14px;
}
/* ===== TOP BAR (admin) ===== */
.topbar-stack {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

.topbar-demo-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    background: #e0f2fe;
    color: #0c4a6e;
    font-size: 13px;
    padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
    line-height: 1.45;
    border-bottom: 1px solid #bae6fd;
}

.topbar-demo-banner-logout-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.topbar-demo-banner-logout {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: #0369a1;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.topbar-demo-banner-logout:hover {
    color: #075985;
}

.topbar-trial-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    background: linear-gradient(90deg, #ea580c 0%, #f59e0b 50%, #ea580c 100%);
    color: #fffbeb;
    font-size: 13px;
    font-weight: 700;
    padding: 10px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
    line-height: 1.45;
    border-bottom: 2px solid rgba(154, 52, 18, 0.45);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.topbar-trial-banner--has-close {
    padding-right: max(44px, env(safe-area-inset-right));
}

.topbar-trial-banner--hidden {
    display: none !important;
}

.topbar-trial-banner-inner {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
}

.topbar-trial-banner-close {
    position: absolute;
    top: 50%;
    right: max(8px, env(safe-area-inset-right));
    transform: translateY(-50%);
    margin: 0;
    padding: 4px 10px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.topbar-trial-banner-close:hover {
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
}

.topbar-trial-banner-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.topbar-trial-banner-text {
    color: #fffbeb;
}

.topbar-trial-banner-link {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.topbar-trial-banner-link:hover {
    color: #ffedd5;
}

.topbar {
    min-height: 56px;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
    gap: 12px;
    position: relative;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    overflow: visible;
}

.topbar-brand {
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.3;
}

.topbar-kicker {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 2px;
}

.topbar-title {
    display: block;
    font-size: clamp(15px, 3.2vw, 17px);
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-user {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #cbd5e1;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 1 auto;
    min-width: 0;
    overflow: visible;
    position: relative;
}

.topbar-owner-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.topbar-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.topbar-btn--accent {
    background: #15803d;
    color: #fff;
}

.topbar-btn--accent:hover {
    background: #16a34a;
    color: #fff;
}

.topbar-btn--logout {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(226, 232, 240, 0.35);
    padding: 8px 14px;
}

.topbar-btn--logout:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(248, 113, 113, 0.6);
    color: #fecaca;
}

.topbar-plan-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    max-width: min(220px, 38vw);
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    text-decoration: none;
    transition: background 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-plan-chip:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.topbar-plan-chip--warn {
    background: rgba(220, 38, 38, 0.35);
    border-color: rgba(252, 165, 165, 0.35);
}

.topbar-plan-chip--warn:hover {
    background: rgba(220, 38, 38, 0.5);
}

.topbar-plan-chip-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(241, 245, 249, 0.75);
}

.topbar-plan-chip-text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: break-word;
}

.topbar-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.topbar-icon-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.topbar-icon-emoji {
    font-size: 18px;
    line-height: 1;
}

.notif-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 2px #0f172a;
}

/* Globali paieška (topbar) – kompaktiškas laukas; rezultatai tik iššokančiame sluoksnyje */
.topbar-global-search-wrap {
    position: relative;
    flex: 0 0 auto;
    width: clamp(168px, 24vw, 252px);
    min-width: 150px;
    max-width: 260px;
    z-index: 10040;
    isolation: isolate;
}
.topbar-global-search-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 12px 8px 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.topbar-global-search-input::placeholder {
    color: rgba(248, 250, 252, 0.45);
}
.topbar-global-search-input:focus {
    border-color: rgba(56, 189, 248, 0.65);
    background: rgba(255, 255, 255, 0.12);
}
.topbar-global-search-wrap::before {
    content: '🔍';
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1;
    opacity: 0.75;
    pointer-events: none;
}
.topbar-global-search-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    width: min(400px, calc(100vw - 24px));
    min-width: 100%;
    box-sizing: border-box;
    max-height: min(72vh, 440px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    color: #0f172a;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    border: 1px solid #e2e8f0;
    z-index: 10060;
    -webkit-overflow-scrolling: touch;
}
.topbar-global-search-panel[hidden] {
    display: none !important;
}
.topbar-global-search-panel:not([hidden]) {
    display: block;
}
.topbar-global-search-section {
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}
.topbar-global-search-section:last-child {
    border-bottom: none;
}
.topbar-global-search-sechead {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    padding: 8px 14px 4px;
}
.topbar-global-search-row {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    border-top: 1px solid #f8fafc;
    transition: background 0.12s ease;
}
.topbar-global-search-row:hover,
.topbar-global-search-row:focus {
    background: #f1f5f9;
    outline: none;
}
.topbar-global-search-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}
.topbar-global-search-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.3;
}
.topbar-global-search-empty {
    padding: 16px 14px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.logout-form {
    display: inline-flex;
    margin: 0;
    align-items: center;
}
.cards {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    box-sizing: border-box;
}

.card2 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    color: #1e293b;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 140px;
    transition: 0.2s;
}

.card2:hover {
    background: #f1f5f9;
}

.card2.card2--active {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    color: #1e3a8a;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14);
}

/* ===== DASHBOARD STATISTIKA ===== */
.stats {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.stat-box {
    background: #fff;
    padding: 16px 14px;
    border-radius: 10px;
    flex: 1 1 140px;
    min-width: 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-box h3 {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
}

.stat-box span {
    font-size: 28px;
    font-weight: bold;
    color: #1e293b;
}

.quick-add {
    background: #22c55e;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    margin-right: 15px;
    transition: 0.2s;
}

.quick-add:hover {
    background: #16a34a;
}

.notif-wrapper {
    position: relative;
    display: inline-block;
}

.notif-dropdown {
    position: fixed;
    top: calc(56px + env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right));
    left: auto;
    width: min(600px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: min(72vh, 420px);
    background: #fefefe;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
}

.notif-header {
    padding: 15px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    background: #1e293b; /* tamsiai mėlyna */
    color: #fff;          /* balta tekstas */
    font-size: 16px;
}

.notif-list {
    max-height: 300px;
    overflow-y: auto;
    background: #f9fafb; /* šviesiai pilkas fonas sąrašui */
}

.notif-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background: #f9fafb; /* šviesus fonas */
    color: #111;          /* tamsus tekstas */
}

.notif-item:hover {
    background: #e2e8f0; /* švelnus hover efektas */
}

.notif-item.unread {
    font-weight: bold;
    background: #dbeafe; /* šviesiai mėlynas fonas neskaitytai */
    color: #1e293b;      /* tamsiai mėlynas tekstas */
}

.notif-empty {
    padding: 20px;
    color: #555;
    text-align: center;
    background: #f9fafb;
}

/* Burger mygtukas admin topbar'e */
.menu-toggle {
    display: none;
    flex-shrink: 0;
    order: 1;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle-bars {
    display: block;
    width: 20px;
    height: 2px;
    background: #f8fafc;
    border-radius: 1px;
    position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: #f8fafc;
    border-radius: 1px;
}

.menu-toggle-bars::before {
    top: -7px;
}

.menu-toggle-bars::after {
    top: 7px;
}

/* ===== RESPONSIVE (MOBILUS VAIZDAS) ===== */
@media (max-width: 900px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header nav a {
        display: inline-block;
        margin-left: 0;
        margin-right: 10px;
        margin-top: 5px;
    }

    .topbar {
        min-height: 52px;
        padding: 10px max(10px, env(safe-area-inset-right)) 10px max(10px, env(safe-area-inset-left));
        flex-wrap: wrap;
        gap: 10px;
        align-items: flex-start;
    }

    .topbar-brand {
        flex: 1 1 calc(100% - 56px);
        order: 0;
    }

    .topbar-title {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .menu-toggle {
        display: inline-flex;
        margin: 0;
    }

    .topbar-right {
        order: 3;
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .topbar-global-search-wrap {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        align-self: stretch;
    }
    .topbar-global-search-panel {
        left: 0;
        right: 0;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .topbar-owner-quick {
        width: 100%;
        justify-content: stretch;
    }

    .topbar-owner-quick .topbar-btn {
        flex: 1;
        justify-content: center;
        min-height: 42px;
    }

    .topbar-tools {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .topbar-plan-chip {
        max-width: none;
        flex: 1 1 auto;
        min-width: 0;
    }

    .topbar-btn,
    .topbar-icon-btn,
    .logout-form .topbar-btn--logout {
        min-height: 42px;
    }

    .logout-form {
        flex: 0 0 auto;
    }

    .cards {
        flex-direction: column;
        display: none;
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .cards.is-open {
        display: flex;
    }

    .card2 {
        width: 100%;
        min-height: 48px;
        padding: 14px 16px;
    }

    .container {
        padding: 12px max(12px, env(safe-area-inset-left)) 20px max(12px, env(safe-area-inset-right));
    }

    .services-grid,
    .grid {
        grid-template-columns: 1fr;
    }

    .notif-dropdown {
        right: max(10px, env(safe-area-inset-right));
        width: calc(100vw - 20px);
        max-width: none;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .header .container {
        padding: 20px 12px;
    }

    .hero {
        padding: 15px 0;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero p {
        font-size: 14px;
    }

    .card {
        padding: 20px;
    }

    .topbar-btn,
    .topbar-plan-chip-text {
        font-size: 12px;
    }

    .stat-box span {
        font-size: 22px;
    }

    .stat-box h3 {
        font-size: 12px;
    }

    .repairs-table,
    .cars-table,
    .clients-table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .repairs-table table,
    .cars-table table,
    .clients-table table {
        width: 100%;
    }
}

/* Lentelės / platūs blokai — horizontali slinktis be laužymo viso puslapio */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px;
}

.muted {
    color: #64748b;
}

/* —— Platformos administratoriaus išdėstymas (superadmin) —— */
.platform-admin-shell {
    display: flex;
    flex: 1;
    width: 100%;
    min-width: 0;
    align-items: stretch;
}

.platform-admin-nav {
    flex: 0 0 220px;
    max-width: 260px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px 12px 20px;
    box-sizing: border-box;
}

.platform-admin-nav-brand {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 4px 10px 14px;
    border-bottom: 1px solid #334155;
    margin-bottom: 12px;
}

.platform-admin-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.platform-admin-nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.platform-admin-nav-link:hover {
    background: #1e293b;
    color: #fff;
}

.platform-admin-nav-link.is-active {
    background: #334155;
    color: #fff;
}

.platform-admin-nav-stats {
    margin: 16px 10px 0;
    padding: 12px 10px;
    background: #1e293b;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.55;
    color: #cbd5e1;
}

.platform-admin-nav-stats strong {
    color: #f8fafc;
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.platform-admin-nav-footnote {
    margin: 20px 10px 0;
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
}

.platform-admin-main {
    flex: 1;
    min-width: 0;
    background: #f4f6f8;
}

.platform-admin-main > .wrap {
    padding: 20px max(16px, env(safe-area-inset-left)) 24px max(16px, env(safe-area-inset-right));
    box-sizing: border-box;
}

/* Servisų info (superadmin): lentelė — „laiškas siųstas“ eilutės fonas (stipresnis nei bendras .card) */
.platform-admin-main table.psi-table tbody tr:nth-child(even) td {
    background-color: #fafafa;
}

.platform-admin-main table.psi-table tbody tr:nth-child(odd) td {
    background-color: #fff;
}

.platform-admin-main table.psi-table tbody tr.psi-row--highlighted td {
    background: linear-gradient(90deg, #fef9c3 0%, #ffedd5 100%) !important;
    border-color: #fcd34d;
    box-shadow: none;
}

.platform-admin-main table.psi-table tbody tr.psi-row--highlighted:nth-child(even) td {
    background: linear-gradient(90deg, #fde68a 0%, #fed7aa 100%) !important;
}

.platform-admin-main table.psi-table tbody tr.psi-row--mailed td {
    background: linear-gradient(90deg, #bfdbfe 0%, #e0f2fe 45%, #eff6ff 100%) !important;
    border-color: #7dd3fc;
    box-shadow: inset 4px 0 0 #0284c7 !important;
}

.platform-admin-main table.psi-table tbody tr.psi-row--mailed:nth-child(even) td {
    background: linear-gradient(90deg, #93c5fd 0%, #bfdbfe 40%, #dbeafe 100%) !important;
    box-shadow: inset 4px 0 0 #0369a1 !important;
}

.platform-admin-main table.psi-table tbody tr.psi-row--highlighted.psi-row--mailed td {
    background: linear-gradient(90deg, #fef08a 0%, #bae6fd 55%, #e0f2fe 100%) !important;
    border-color: #fbbf24;
    box-shadow: inset 4px 0 0 #0369a1 !important;
}

.platform-admin-main table.psi-table tbody tr.psi-row--highlighted.psi-row--mailed:nth-child(even) td {
    background: linear-gradient(90deg, #fcd34d 0%, #7dd3fc 50%, #bfdbfe 100%) !important;
}

@media (max-width: 768px) {
    .platform-admin-shell {
        flex-direction: column;
    }

    .platform-admin-nav {
        flex: none;
        max-width: none;
        width: 100%;
        padding: 12px;
    }

    .platform-admin-nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .platform-admin-nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .platform-admin-nav-footnote {
        display: none;
    }
}