/* ðŸ”¥ RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f5f7;
}

/* ðŸ”¥ HEADER */
.main-header {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 10;
}

.logo-global {
    width: 70px;
    cursor: pointer;
    opacity: 0.95;
}

/* ðŸ”¥ HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url("/static/images/hero-bg.abeffad88af7.jpg") no-repeat center center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.logo {
    width: 420px;
    margin-bottom: 20px;
}

/* ðŸ”¥ SEARCH */
.search-bar {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: 60px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    margin: 0 auto;
}

.search-bar input {
    padding: 14px 20px;
    border-radius: 30px;
    border: none;
    width: 200px;
    background: rgba(255,255,255,0.95);
}

.search-bar button {
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(45deg, #4e73df, #6f42c1);
    color: white;
    cursor: pointer;
}

/* ðŸ”¥ FILTER */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #eee;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 25px;
    background: #f1f1f1;
    text-decoration: none;
    color: #333;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, #4e73df, #6f42c1);
    color: white;
}

/* ðŸ”¥ MAP LAYOUT (FIXED) */
.map-layout {
    display: flex;
    height: calc(100vh - 120px);
}

.list-side {
    width: 50%;
    overflow-y: auto;
    padding: 20px;
}

#map {
    width: 50%;
    height: 100%;
    min-height: 500px;
}

/* ðŸ”¥ GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ðŸ”¥ CARD */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.content {
    padding: 15px;
}

.price {
    font-weight: bold;
    font-size: 18px;
}

/* TAG */
.tag {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(78,115,223,0.1);
    color: #4e73df;
}

/* EMPTY */
.empty-state {
    margin-top: 60px;
    text-align: center;
    color: #666;
}

/* CLUSTER */
.marker-cluster-small {
    background-color: rgba(78,115,223,0.6);
}
.marker-cluster-medium {
    background-color: rgba(78,115,223,0.7);
}
.marker-cluster-large {
    background-color: rgba(78,115,223,0.8);
}
/* HOME SEARCH */
.search-box {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto 26px;
    padding: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(14px);
}

.search-box input {
    width: 190px;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    color: #172033;
    font-size: 15px;
    outline: none;
}

.search-box button {
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    background: #172033;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* HOME CATEGORY BUTTONS */
.category-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 4px auto 0;
    max-width: 1180px;
    padding: 0 16px;
}

.category-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 132px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #eeeeee;
    color: #172033;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.category-buttons a span {
    font-size: 20px;
    line-height: 1;
}

.category-buttons a:hover,
.category-buttons a:focus-visible {
    background: #e3e3e3;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.properties-section {
    padding: 56px 24px;
    background: #f4f5f7;
}

.properties-section h2 {
    text-align: center;
    margin: 0 0 28px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.property-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    color: #172033;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.property-card .info {
    padding: 16px;
}

@media (max-width: 720px) {
    .logo {
        width: min(320px, 82vw);
    }

    .search-box {
        border-radius: 28px;
    }

    .search-box input,
    .search-box button {
        width: 100%;
    }

    .category-buttons {
        gap: 12px;
    }

    .category-buttons a {
        min-width: 130px;
        padding: 13px 20px;
        font-size: 17px;
    }
}
/* ESTATE PAGES */
body:has(.estate-page) .main-header {
    display: none;
}

.estate-page {
    min-height: 100vh;
    background: #fff;
    color: #071527;
    font-family: "Segoe UI", Arial, sans-serif;
}

.estate-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 86px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 max(24px, calc((100vw - 1140px) / 2));
    border-bottom: 1px solid #e7e7e7;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
}

.estate-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.estate-home-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25,155,255,0.14), rgba(37,30,145,0.10));
    text-decoration: none;
}

.estate-home-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.estate-brand {
    display: inline-flex;
    align-items: baseline;
    color: #1726a0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.estate-brand span {
    color: #159bff;
}

.estate-brand strong {
    color: #211b86;
    font-weight: 900;
}

.estate-back {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f3f3;
    color: #111;
    text-decoration: none;
    font-size: 0;
}

.estate-back::first-letter {
    font-size: 26px;
}

.estate-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.estate-nav a {
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

.estate-results-hero {
    padding: 22px 24px 18px;
}

.estate-results-hero h1 {
    max-width: 1864px;
    margin: 0 auto 18px;
    font-size: 22px;
    font-weight: 500;
}

.estate-filter-form {
    max-width: 1864px;
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: 2fr 1.25fr repeat(3, 1fr) 185px;
    gap: 8px;
}

.estate-filter-form input,
.estate-filter-form select {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    font-size: 15px;
}

.estate-filter-form button,
.estate-contact-card button {
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.estate-chip-row {
    max-width: 1864px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.estate-chip {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 9px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    color: #101827;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.estate-chip.active {
    border-color: #159bff;
    background: rgba(21,155,255,0.10);
    color: #1726a0;
}

.estate-results-layout {
    display: grid;
    grid-template-columns: minmax(620px, 60%) minmax(360px, 40%);
    height: calc(100vh - 210px);
    min-height: 650px;
    border-top: 1px solid #efefef;
}

.estate-results-list {
    overflow-y: auto;
    padding: 22px 24px 40px;
}

.estate-sort {
    margin: 0 0 28px;
    color: #4b5563;
}

.estate-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    gap: 34px 30px;
}

.estate-result-card {
    color: inherit;
    text-decoration: none;
}

.estate-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 0.95;
    border-radius: 14px;
    background: #e8e5df;
}

.estate-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.estate-badge,
.estate-heart {
    position: absolute;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 5px 14px rgba(0,0,0,0.12);
}

.estate-badge {
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.estate-heart {
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
}

.estate-card-body {
    padding-top: 12px;
}

.estate-card-body h2 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.25;
}

.estate-card-facts {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
    font-weight: 700;
}

.estate-card-body p,
.estate-card-body small {
    margin: 0;
    color: #53606f;
}

.estate-map-panel {
    position: sticky;
    top: 86px;
    height: calc(100vh - 86px);
    background: #e7e4df;
}

.estate-map-panel #map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.estate-map-button {
    position: absolute;
    right: 38px;
    bottom: 38px;
    width: 78px;
    height: 78px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 8px rgba(255,225,0,0.35), 0 12px 28px rgba(0,0,0,0.18);
    color: #111;
    font-weight: 900;
}

.estate-expose {
    max-width: 1140px;
    margin: 24px auto 80px;
    padding: 0 24px;
}

.estate-gallery {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.estate-gallery img {
    width: 100%;
    height: 100%;
    min-height: 175px;
    object-fit: cover;
    display: block;
}

.estate-gallery-main img {
    min-height: 354px;
}

.estate-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.estate-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
    margin-top: 18px;
}

.estate-detail-main h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 22px;
}

.estate-location-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e1e1e1;
}

.estate-location-row h3 {
    margin: 0 0 12px;
    font-size: 14px;
}

.estate-location-row a,
.estate-internet-box a {
    color: #0057ff;
    text-decoration: none;
}

.estate-keyfacts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 16px 0 18px;
    border-bottom: 1px solid #e1e1e1;
}

.estate-keyfacts strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.estate-keyfacts span {
    display: block;
    color: #657080;
    margin-top: 5px;
}

.estate-keyfacts .highlight strong {
    display: inline-block;
    background: #08e0bf;
    padding: 1px 5px;
}

.estate-section {
    padding: 28px 0;
    border-bottom: 1px solid #e1e1e1;
}

.estate-section h2 {
    margin: 0 0 20px;
    font-size: 26px;
}

.estate-section p {
    line-height: 1.55;
}

.estate-note {
    max-width: 720px;
    color: #667085;
    font-size: 13px;
}

.estate-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.estate-tags span {
    background: #e8e5e0;
    padding: 7px 10px;
    border-radius: 2px;
}

.estate-spec-grid,
.estate-cost-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 16px 46px;
    padding: 24px 0;
    border-bottom: 1px solid #e1e1e1;
}

.estate-spec-grid div,
.estate-cost-grid {
    font-size: 15px;
}

.estate-spec-grid span,
.estate-cost-grid span,
.estate-plus-box dt {
    color: #667085;
}

.estate-spec-grid strong,
.estate-cost-grid strong {
    font-weight: 600;
}

.estate-internet-box {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #e1e1e1;
}

.estate-wifi {
    font-size: 52px;
    line-height: 1;
}

.estate-plus-box dl {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px 28px;
    max-width: 520px;
}

.estate-plus-box dd {
    margin: 0;
    filter: blur(4px);
}

.estate-plus-box button {
    width: min(300px, 100%);
    padding: 14px 18px;
    border: 0;
    border-radius: 7px;
    background: #333;
    color: #fff;
    font-weight: 800;
}

.estate-contact-card {
    position: sticky;
    top: 112px;
    padding: 26px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.estate-contact-card button {
    width: 100%;
    min-height: 42px;
    margin: 18px 0;
}

.estate-contact-card hr {
    border: 0;
    border-top: 1px solid #d8d8d8;
    margin: 6px 0 22px;
}

@media (max-width: 1180px) {
    .estate-filter-form {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .estate-card-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 860px) {
    .estate-topbar {
        height: auto;
        min-height: 72px;
        flex-wrap: wrap;
        padding: 14px 18px;
    }

    .estate-nav {
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }

    .estate-filter-form,
    .estate-results-layout,
    .estate-detail-layout,
    .estate-gallery,
    .estate-location-row,
    .estate-keyfacts,
    .estate-spec-grid,
    .estate-cost-grid {
        grid-template-columns: 1fr;
    }

    .estate-results-layout {
        height: auto;
    }

    .estate-map-panel {
        position: relative;
        top: auto;
        height: 360px;
    }

    .estate-card-grid {
        grid-template-columns: 1fr;
    }

    .estate-contact-card {
        position: static;
    }
}
/* YOP LOGO COLOR SYSTEM */
:root {
    --yop-blue: #159bff;
    --yop-blue-deep: #006ef5;
    --yop-indigo: #211b86;
    --yop-indigo-soft: #3128b8;
    --yop-sky: #eaf6ff;
    --yop-ink: #071527;
    --yop-muted: #5f6b7a;
    --yop-line: #dbe7f6;
    --yop-gradient: linear-gradient(135deg, var(--yop-blue), var(--yop-indigo));
    --yop-soft-gradient: linear-gradient(135deg, rgba(21,155,255,0.13), rgba(33,27,134,0.11));
}

body:has(.estate-page) {
    color: var(--yop-ink);
}

body:has(.estate-page) a {
    color: var(--yop-blue-deep);
}

.estate-page {
    color: var(--yop-ink);
}

.estate-topbar {
    border-bottom-color: var(--yop-line);
    box-shadow: 0 10px 30px rgba(21, 155, 255, 0.06);
}

.estate-home-icon {
    background: var(--yop-soft-gradient);
    box-shadow: 0 10px 24px rgba(21, 155, 255, 0.12);
}

.estate-brand {
    color: var(--yop-indigo);
}

.estate-brand span {
    color: var(--yop-blue);
}

.estate-brand strong {
    color: var(--yop-indigo);
}

.estate-nav a {
    color: var(--yop-ink);
}

.estate-nav a:hover {
    color: var(--yop-blue-deep);
}

.search-bar button,
.search-box button,
.filter-btn.active,
.filter-btn:hover,
.estate-filter-form button,
.estate-contact-card button,
.estate-plus-box button {
    background: var(--yop-gradient) !important;
    color: #fff !important;
}

.estate-filter-form input:focus,
.estate-filter-form select:focus,
.search-box input:focus,
.search-bar input:focus {
    border-color: var(--yop-blue) !important;
    box-shadow: 0 0 0 4px rgba(21, 155, 255, 0.14);
    outline: none;
}

.estate-chip.active,
.estate-chip:hover {
    border-color: var(--yop-blue);
    background: var(--yop-sky);
    color: var(--yop-indigo);
}

.estate-result-card:hover .estate-card-image,
.property-card:hover,
.card:hover {
    box-shadow: 0 18px 38px rgba(21, 155, 255, 0.18);
}

.estate-badge {
    background: var(--yop-sky);
    color: var(--yop-indigo);
}

.estate-heart {
    color: var(--yop-indigo);
}

.estate-card-facts strong,
.estate-section h2,
.estate-detail-main h1 {
    color: var(--yop-ink);
}

.estate-location-row a,
.estate-internet-box a {
    color: var(--yop-blue-deep);
}

.estate-keyfacts .highlight strong {
    background: var(--yop-gradient) !important;
    color: #fff;
    border-radius: 4px;
    padding: 3px 8px;
}

.estate-tags span {
    background: var(--yop-sky) !important;
    color: var(--yop-indigo);
    border: 1px solid rgba(21, 155, 255, 0.18);
}

.estate-wifi {
    color: var(--yop-blue-deep);
}

.estate-contact-card {
    border-color: var(--yop-line);
    box-shadow: 0 20px 44px rgba(33, 27, 134, 0.12);
}

.estate-contact-card strong,
.estate-spec-grid strong,
.estate-cost-grid strong {
    color: var(--yop-ink);
}

.estate-map-button {
    color: var(--yop-indigo);
    box-shadow: 0 0 0 8px rgba(21,155,255,0.18), 0 12px 28px rgba(33,27,134,0.22);
}

.category-buttons a:hover,
.category-buttons a:focus-visible {
    background: var(--yop-sky);
    color: var(--yop-indigo);
    box-shadow: 0 10px 22px rgba(21,155,255,0.16);
}
/* SEARCHERS PAGE */
.estate-searchers-page .estate-nav a.active {
    color: var(--yop-blue-deep);
}

.searchers-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 420px;
    gap: 44px;
    align-items: center;
}

.searchers-hero-copy {
    position: relative;
    padding: 42px;
    border-radius: 32px;
    background: radial-gradient(circle at top left, rgba(21,155,255,0.18), transparent 36%), linear-gradient(135deg, #f8fbff, #ffffff);
    box-shadow: 0 26px 70px rgba(33, 27, 134, 0.10);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--yop-blue-deep);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
}

.searchers-hero h1 {
    margin: 0 0 18px;
    max-width: 720px;
    color: var(--yop-ink);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.searchers-hero p {
    max-width: 640px;
    color: var(--yop-muted);
    font-size: 18px;
    line-height: 1.55;
}

.searchers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.primary-action,
.secondary-action,
.searchers-owner-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.primary-action,
.searchers-owner-strip a {
    background: var(--yop-gradient);
    color: #fff !important;
}

.secondary-action {
    border: 1px solid var(--yop-line);
    color: var(--yop-indigo) !important;
    background: #fff;
}

.searchers-search-card {
    padding: 28px;
    border: 1px solid var(--yop-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(21, 155, 255, 0.14);
}

.searchers-search-card h2 {
    margin: 0 0 18px;
    font-size: 26px;
}

.searchers-search-card input,
.searchers-search-card select {
    width: 100%;
    height: 48px;
    margin-bottom: 12px;
    padding: 0 14px;
    border: 1px solid var(--yop-line);
    border-radius: 12px;
    font-size: 15px;
}

.searchers-search-card input:focus,
.searchers-search-card select:focus {
    border-color: var(--yop-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.12);
    outline: none;
}

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

.searchers-search-card button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--yop-gradient);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.searchers-services,
.searchers-featured,
.searchers-owner-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 54px 24px;
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.04em;
}

.searchers-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.searchers-service-grid article,
.searchers-property-card {
    padding: 24px;
    border: 1px solid var(--yop-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(33, 27, 134, 0.07);
}

.searchers-service-grid article span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--yop-soft-gradient);
    color: var(--yop-indigo);
    font-size: 24px;
    font-weight: 900;
}

.searchers-service-grid h3 {
    margin: 18px 0 8px;
}

.searchers-service-grid p {
    color: var(--yop-muted);
    line-height: 1.5;
}

.searchers-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.searchers-property-card {
    color: var(--yop-ink) !important;
    text-decoration: none;
}

.searchers-property-card .mini-image {
    overflow: hidden;
    aspect-ratio: 1.5 / 1;
    border-radius: 18px;
    margin-bottom: 16px;
    background: var(--yop-sky);
}

.searchers-property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.searchers-property-card strong,
.searchers-property-card span,
.searchers-property-card em {
    display: block;
}

.searchers-property-card span {
    margin: 8px 0;
    color: var(--yop-muted);
}

.searchers-property-card em {
    color: var(--yop-blue-deep);
    font-style: normal;
    font-weight: 900;
}

.searchers-owner-strip {
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 32px;
    background: var(--yop-soft-gradient);
}

.searchers-owner-strip h2 {
    margin: 0 0 8px;
}

.searchers-owner-strip p:last-child {
    margin-bottom: 0;
    color: var(--yop-muted);
}

@media (max-width: 980px) {
    .searchers-hero,
    .searchers-service-grid,
    .searchers-card-row {
        grid-template-columns: 1fr;
    }

    .searchers-owner-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .searchers-hero {
        padding-top: 36px;
    }

    .searchers-hero-copy,
    .searchers-search-card {
        padding: 22px;
        border-radius: 22px;
    }

    .searchers-form-row {
        grid-template-columns: 1fr;
    }
}
/* INSURANCE PAGE */
body:has(.insurance-page) .main-header { display: none; }
.insurance-page { --ins-blue:#159bff; --ins-deep:#211b86; --ins-ink:#071527; --ins-muted:#5f6b7a; --ins-line:#dbe7f6; --ins-sky:#eaf6ff; --ins-gradient:linear-gradient(135deg,var(--ins-blue),var(--ins-deep)); min-height:100vh; background:#fff; color:var(--ins-ink); font-family:"Segoe UI",Arial,sans-serif; }
.insurance-topbar { position:sticky; top:0; z-index:60; display:flex; align-items:center; gap:24px; min-height:92px; padding:14px max(24px,calc((100vw - 1180px)/2)); border-bottom:1px solid var(--ins-line); background:rgba(255,255,255,.96); backdrop-filter:blur(14px); }
.insurance-home { width:56px; height:56px; display:inline-flex; align-items:center; justify-content:center; border-radius:18px; background:linear-gradient(135deg,rgba(21,155,255,.14),rgba(33,27,134,.10)); }
.insurance-home img { width:44px; height:44px; object-fit:contain; }
.insurance-brand img { height:58px; width:auto; display:block; }
.insurance-topbar nav { margin-left:auto; display:flex; gap:24px; align-items:center; }
.insurance-topbar nav a { color:var(--ins-ink); text-decoration:none; font-weight:900; }
.insurance-topbar nav a:hover { color:var(--ins-blue); }
.insurance-hero { max-width:1180px; margin:0 auto; padding:76px 24px 64px; display:grid; grid-template-columns:minmax(0,1.08fr) 430px; gap:42px; align-items:center; }
.insurance-hero-copy { padding:46px; border-radius:34px; background:radial-gradient(circle at top left,rgba(21,155,255,.20),transparent 34%),linear-gradient(135deg,#f9fcff,#fff); box-shadow:0 26px 70px rgba(33,27,134,.10); }
.insurance-hero h1 { margin:0 0 18px; font-size:clamp(42px,5.4vw,76px); line-height:.94; letter-spacing:-.065em; }
.insurance-hero p { max-width:680px; color:var(--ins-muted); font-size:18px; line-height:1.55; }
.insurance-trust-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.insurance-trust-row span,.insurance-product-card small { padding:8px 12px; border-radius:999px; background:var(--ins-sky); color:var(--ins-deep); font-weight:800; font-size:13px; }
.insurance-compare-card { padding:30px; border:1px solid var(--ins-line); border-radius:30px; background:#fff; box-shadow:0 24px 60px rgba(21,155,255,.15); }
.insurance-compare-card h2 { margin:0 0 22px; font-size:28px; }
.insurance-compare-card label { display:block; margin:14px 0 7px; font-weight:800; }
.insurance-compare-card input,.insurance-compare-card select { width:100%; height:50px; padding:0 14px; border:1px solid var(--ins-line); border-radius:14px; font-size:15px; }
.insurance-compare-card input:focus,.insurance-compare-card select:focus { border-color:var(--ins-blue); box-shadow:0 0 0 4px rgba(21,155,255,.13); outline:none; }
.insurance-compare-card button,.insurance-need-box a { width:100%; min-height:52px; margin-top:18px; border:0; border-radius:14px; background:var(--ins-gradient); color:#fff; font-weight:900; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.insurance-compare-card small { display:block; margin-top:14px; color:var(--ins-muted); }
.insurance-need-box,.insurance-steps,.insurance-products,.insurance-life-stage,.insurance-overview,.insurance-guide { max-width:1180px; margin:0 auto; padding:56px 24px; }
.insurance-need-box { display:flex; align-items:center; justify-content:space-between; gap:24px; border-radius:34px; background:linear-gradient(135deg,rgba(21,155,255,.13),rgba(33,27,134,.10)); }
.insurance-need-box h2,.insurance-guide h2 { margin:0 0 10px; font-size:clamp(30px,4vw,48px); letter-spacing:-.04em; }
.insurance-need-box a { width:auto; min-width:240px; margin:0; padding:0 24px; }
.insurance-step-grid,.insurance-product-grid,.insurance-stage-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.insurance-product-grid { grid-template-columns:repeat(6,1fr); }
.insurance-stage-grid { grid-template-columns:repeat(3,1fr); }
.insurance-step-grid article,.insurance-product-card,.insurance-stage-grid article,.insurance-columns article { padding:24px; border:1px solid var(--ins-line); border-radius:24px; background:#fff; box-shadow:0 14px 36px rgba(33,27,134,.07); }
.insurance-step-grid span,.insurance-product-card span { display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center; border-radius:16px; background:var(--ins-gradient); color:#fff; font-weight:900; font-size:22px; }
.insurance-product-card { min-height:170px; display:flex; flex-direction:column; gap:14px; color:var(--ins-ink); text-decoration:none; }
.insurance-product-card strong { font-size:17px; }
.insurance-product-card small { margin-top:auto; text-align:center; }
.insurance-stage-grid article p,.insurance-step-grid article p,.insurance-guide li { color:var(--ins-muted); line-height:1.55; }
.insurance-columns { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.insurance-columns h3 { margin-top:0; color:var(--ins-deep); }
.insurance-columns a { display:block; padding:7px 0; color:var(--ins-muted); }
.insurance-guide { display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; margin-bottom:70px; border-top:1px solid var(--ins-line); }
.insurance-guide ol { margin:0; padding-left:22px; }
.insurance-guide li + li { margin-top:16px; }
@media (max-width:1100px) { .insurance-product-grid,.insurance-columns { grid-template-columns:repeat(3,1fr); } }
@media (max-width:860px) { .insurance-topbar { flex-wrap:wrap; } .insurance-topbar nav { width:100%; margin-left:0; overflow-x:auto; } .insurance-hero,.insurance-step-grid,.insurance-product-grid,.insurance-stage-grid,.insurance-columns,.insurance-guide { grid-template-columns:1fr; } .insurance-need-box { align-items:flex-start; flex-direction:column; } }
@media (max-width:560px) { .insurance-hero { padding-top:36px; } .insurance-hero-copy,.insurance-compare-card { padding:22px; border-radius:22px; } .insurance-brand img { height:44px; } }
/* KFZ INSURANCE FORM */
body:has(.kfz-page) .main-header { display: none; }
.kfz-page { --kfz-orange:#ff5a1f; --kfz-blue:#159bff; --kfz-deep:#211b86; --kfz-ink:#4a4a4a; --kfz-line:#aaa; min-height:100vh; background:#fff; color:var(--kfz-ink); font-family:"Segoe UI",Arial,sans-serif; }
.kfz-topbar { height:78px; display:flex; align-items:center; gap:30px; padding:0 max(24px,calc((100vw - 1280px)/2)); border-bottom:1px solid #ddd; box-shadow:0 2px 8px rgba(0,0,0,.08); background:#fff; position:sticky; top:0; z-index:50; }
.kfz-menu { display:flex; flex-direction:column; align-items:center; gap:2px; color:#555; text-decoration:none; font-size:12px; }
.kfz-menu img { width:42px; height:42px; object-fit:contain; }
.kfz-brand img { height:54px; width:auto; display:block; }
.kfz-contact { margin-left:auto; display:grid; gap:2px; font-size:13px; }
.kfz-contact strong { font-size:16px; }
.kfz-login { color:#444; text-decoration:none; font-weight:800; }
.kfz-shell { max-width:1280px; margin:0 auto; padding:42px 24px 80px; position:relative; }
.kfz-note { display:inline-block; border:1px solid var(--kfz-line); padding:7px 10px; font-size:12px; margin-bottom:8px; }
.kfz-save { float:right; border:1px solid var(--kfz-line); background:#fff; padding:9px 16px; color:#555; }
.kfz-form-frame { clear:both; border:1px solid #888; min-height:760px; position:relative; }
.kfz-progress { height:5px; background:#eee; }
.kfz-progress span { display:block; width:25%; height:100%; background:linear-gradient(135deg,var(--kfz-blue),var(--kfz-deep)); }
.kfz-step-title { text-align:center; padding:18px 0 8px; font-size:16px; }
.kfz-form { width:min(760px,100%); margin:0 auto; padding:18px 0 70px; position:relative; }
.kfz-form h1 { text-align:center; font-size:28px; margin:14px 0 28px; color:#555; }
.kfz-choice-row { display:flex; justify-content:center; gap:18px; }
.kfz-choice-card { width:150px; height:150px; border:1px solid #999; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; color:#888; cursor:pointer; position:relative; }
.kfz-choice-card.active, .kfz-choice-card:has(input:checked) { border-color:#333; color:var(--kfz-deep); }
.kfz-choice-card input { order:3; accent-color:var(--kfz-blue); }
.kfz-icon { font-size:34px; }
.kfz-info-box { position:absolute; top:96px; left:calc(50% + 250px); width:330px; background:#e9e9e9; padding:22px; font-size:13px; line-height:1.5; }
.kfz-required-title { text-align:center; margin:28px 0 20px; font-weight:800; }
.kfz-field-row { display:grid; grid-template-columns:220px 320px 24px; align-items:center; gap:12px; margin:14px 0; }
.kfz-field-row label { text-align:right; font-size:13px; }
.kfz-field-row input { height:34px; border:1px solid #777; padding:0 8px; }
.kfz-help { width:18px; height:18px; border-radius:50%; background:#ccc; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:12px; }
.kfz-checkbox { display:block; margin-left:232px; font-size:13px; color:#777; }
.kfz-radio-group { border:1px solid #777; display:grid; }
.kfz-radio-group label { text-align:left; padding:11px 12px; border-bottom:1px solid #ddd; }
.kfz-radio-group label:last-child { border-bottom:0; }
.kfz-radio-group input { accent-color:var(--kfz-blue); margin-right:8px; }
.kfz-vehicle-card { margin-left:232px; width:320px; padding:12px 0; }
.kfz-license-preview { background:#dfe6d1; border:1px solid #aaa; padding:8px; font-size:12px; }
.kfz-license-preview div { display:flex; align-items:center; gap:6px; margin:4px 0; }
.kfz-license-preview b { min-width:54px; height:10px; background:#777; display:inline-block; }
.kfz-license-preview em { background:#f45a22; color:#fff; padding:2px 4px; font-style:normal; font-weight:800; }
.kfz-brand-select { display:grid; grid-template-columns:220px 320px 330px; gap:12px; align-items:start; margin:18px 0; }
.kfz-brand-select label { text-align:right; font-size:13px; padding-top:10px; }
.kfz-brand-select select { height:180px; border:1px solid #777; padding:6px; }
.kfz-side-hint { background:#e9e9e9; padding:20px; font-size:13px; line-height:1.5; }
.kfz-legal { margin:34px 0 0; font-size:12px; color:#666; }
.kfz-next-row { display:flex; flex-direction:column; align-items:flex-end; gap:8px; margin-top:18px; }
.kfz-next-row button { border:0; background:#e5e5e5; padding:13px 24px; font-weight:800; color:#444; }
.kfz-next-row span { font-size:12px; color:#888; }
.kfz-resume { border-top:1px solid #888; padding:18px 22px; color:#999; font-size:18px; display:flex; justify-content:space-between; }
.kfz-trust-strip { margin-top:44px; border:1px solid #bbb; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding:22px; color:#555; }
.kfz-trust-strip strong { color:var(--kfz-blue); }
@media (max-width:1180px) { .kfz-info-box,.kfz-side-hint { position:static; width:auto; } .kfz-form { padding:18px 24px 70px; } .kfz-field-row,.kfz-brand-select { grid-template-columns:1fr; } .kfz-field-row label,.kfz-brand-select label { text-align:left; } .kfz-checkbox,.kfz-vehicle-card { margin-left:0; width:100%; } .kfz-brand-select select { width:100%; } }
@media (max-width:720px) { .kfz-topbar { height:auto; flex-wrap:wrap; padding:12px 18px; } .kfz-contact { margin-left:0; } .kfz-choice-row,.kfz-trust-strip { grid-template-columns:1fr; display:grid; } .kfz-choice-card { width:100%; } }
/* KFZ MODEL DATABASE */
.kfz-model-db {
    width: min(720px, 100%);
    margin: 26px auto 10px;
    padding: 18px;
    border: 1px solid #dbe7f6;
    border-radius: 16px;
    background: #f8fbff;
}

.kfz-model-db h2 {
    margin: 0 0 14px;
    font-size: 20px;
    color: #211b86;
}

.kfz-model-db details {
    margin: 10px 0;
    border: 1px solid #dbe7f6;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.kfz-model-db summary {
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 900;
    color: #071527;
}

.kfz-model-db summary span {
    margin-left: 8px;
    color: #159bff;
    font-size: 12px;
}

.kfz-model-row {
    padding: 12px 16px;
    border-top: 1px solid #eef4fb;
}

.kfz-model-row strong {
    color: #211b86;
}

.kfz-model-row ul {
    margin: 8px 0 0;
    padding-left: 20px;
    color: #5f6b7a;
}

/* KFZ BRAND DROPDOWN */
.kfz-brand-select .kfz-select {
    width: 320px;
    height: 38px;
    border: 1px solid #777;
    border-radius: 0;
    padding: 0 10px;
    background: #fff;
    color: #4a4a4a;
    font-size: 14px;
}

.kfz-brand-select .kfz-select:focus {
    border-color: var(--kfz-blue);
    box-shadow: 0 0 0 3px rgba(21,155,255,.14);
    outline: none;
}

@media (max-width:1180px) {
    .kfz-brand-select .kfz-select {
        width: 100%;
    }
}

/* INSURANCE FUNCTIONAL STATES */
.insurance-error,
.kfz-errors {
    border: 1px solid #e94b4b;
    border-radius: 14px;
    background: #fff4f4;
    color: #b00020;
    font-weight: 800;
}

.insurance-error {
    margin: 10px 0 0;
    padding: 10px 12px;
}

.kfz-errors {
    margin: 0 auto 22px;
    padding: 12px 16px;
    max-width: 520px;
}

.kfz-errors p {
    margin: 4px 0;
}

.insurance-result-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 24px 90px;
}

.insurance-result-hero,
.insurance-summary-card,
.insurance-result-form,
.insurance-result-benefits,
.insurance-offers {
    border: 1px solid var(--ins-line);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(33,27,134,.08);
}

.insurance-result-hero {
    padding: 42px;
    background: radial-gradient(circle at top right, rgba(21,155,255,.18), transparent 36%), linear-gradient(135deg, #ffffff, #f7fbff);
}

.insurance-result-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -.05em;
}

.insurance-result-hero p {
    max-width: 760px;
    color: var(--ins-muted);
    font-size: 18px;
    line-height: 1.55;
}

.insurance-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 24px 0;
}

.insurance-result-form,
.insurance-result-benefits,
.insurance-summary-card,
.insurance-offers {
    padding: 28px;
}

.insurance-result-form form {
    display: grid;
    gap: 12px;
}

.insurance-result-form input,
.insurance-result-form select {
    height: 48px;
    border: 1px solid var(--ins-line);
    border-radius: 14px;
    padding: 0 14px;
}

.insurance-result-form button,
.insurance-offer-grid a {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--ins-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    text-decoration: none;
    font-weight: 900;
}

.insurance-offers {
    margin-top: 24px;
}

.insurance-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.insurance-offer-grid article {
    border: 1px solid var(--ins-line);
    border-radius: 22px;
    padding: 24px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.insurance-offer-grid span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--ins-sky);
    color: var(--ins-deep);
    font-weight: 900;
    font-size: 12px;
}

.insurance-offer-grid strong {
    display: block;
    margin: 16px 0;
    font-size: 26px;
    color: var(--ins-deep);
}

.insurance-summary-card {
    margin-top: 24px;
}

@media (max-width: 860px) {
    .insurance-result-grid,
    .insurance-offer-grid {
        grid-template-columns: 1fr;
    }
}

/* YOP AGRI */
body:has(.agri-page) .main-header {
    display: none;
}

.agri-page {
    --agri-green: #20c46b;
    --agri-leaf: #0b8f4d;
    --agri-blue: #159bff;
    --agri-deep: #10285f;
    --agri-ink: #071527;
    --agri-muted: #5d6c7b;
    --agri-line: #d8eadf;
    --agri-soft: #f2fbf6;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(32,196,107,.18), transparent 28%),
        radial-gradient(circle at 90% 5%, rgba(21,155,255,.16), transparent 30%),
        linear-gradient(180deg, #ffffff, #f7fcf9 58%, #ffffff);
    color: var(--agri-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.agri-header {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 88px;
    padding: 12px max(24px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid var(--agri-line);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
}

.agri-home-link {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(32,196,107,.16), rgba(21,155,255,.12));
}

.agri-home-link img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.agri-brand {
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -.05em;
    color: var(--agri-deep);
    text-decoration: none;
}

.agri-brand::first-letter {
    color: var(--agri-green);
}

.agri-header nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.agri-header nav a {
    color: var(--agri-ink);
    text-decoration: none;
    font-weight: 900;
}

.agri-header nav a:hover {
    color: var(--agri-leaf);
}

.agri-hero,
.agri-categories,
.agri-examples {
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px 24px;
}

.agri-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 420px;
    gap: 34px;
    align-items: stretch;
}

.agri-hero-copy,
.agri-search-card,
.agri-category-card,
.agri-example-card {
    border: 1px solid var(--agri-line);
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 70px rgba(16,40,95,.08);
}

.agri-hero-copy {
    min-height: 430px;
    padding: 52px;
    border-radius: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(32,196,107,.20), rgba(21,155,255,.12)),
        linear-gradient(135deg, #ffffff, #f6fff9);
}

.agri-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(54px, 8vw, 110px);
    line-height: .86;
    letter-spacing: -.08em;
    color: var(--agri-deep);
}

.agri-hero-copy p:not(.eyebrow) {
    max-width: 680px;
    color: var(--agri-muted);
    font-size: 19px;
    line-height: 1.6;
}

.agri-search-card {
    padding: 32px;
    border-radius: 32px;
}

.agri-search-card h2 {
    margin: 0 0 22px;
    font-size: 30px;
    letter-spacing: -.04em;
}

.agri-search-card label {
    display: block;
    margin: 14px 0 7px;
    font-weight: 900;
}

.agri-search-card input,
.agri-search-card select {
    width: 100%;
    height: 50px;
    border: 1px solid var(--agri-line);
    border-radius: 16px;
    padding: 0 14px;
    background: #fff;
    font-size: 15px;
}

.agri-search-card input:focus,
.agri-search-card select:focus {
    border-color: var(--agri-green);
    box-shadow: 0 0 0 4px rgba(32,196,107,.14);
    outline: none;
}

.agri-search-card button {
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--agri-green), var(--agri-blue));
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.agri-category-grid,
.agri-example-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.agri-example-grid {
    grid-template-columns: repeat(2, 1fr);
}

.agri-category-card,
.agri-example-card {
    border-radius: 28px;
    padding: 26px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.agri-category-card:hover,
.agri-example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(16,40,95,.13);
}

.agri-category-card span {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--agri-soft);
    font-size: 30px;
}

.agri-category-card h3,
.agri-example-card h3 {
    margin: 18px 0 10px;
    font-size: 24px;
    letter-spacing: -.035em;
}

.agri-category-card p,
.agri-example-card p {
    color: var(--agri-muted);
    line-height: 1.55;
}

.agri-category-card strong,
.agri-example-card strong {
    color: var(--agri-leaf);
}

.agri-example-card small {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(21,155,255,.11);
    color: var(--agri-deep);
    font-weight: 900;
}

.agri-example-card div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--agri-line);
}

.agri-example-card div span {
    color: var(--agri-muted);
}

@media (max-width: 980px) {
    .agri-hero,
    .agri-category-grid,
    .agri-example-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agri-hero-copy,
    .agri-search-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .agri-header {
        flex-wrap: wrap;
    }

    .agri-header nav {
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }

    .agri-hero,
    .agri-category-grid,
    .agri-example-grid {
        grid-template-columns: 1fr;
    }

    .agri-hero-copy,
    .agri-search-card,
    .agri-category-card,
    .agri-example-card {
        border-radius: 24px;
        padding: 24px;
    }
}

/* YOP AGRI SEARCH */
.agri-form-note {
    margin: -8px 0 16px;
    color: var(--agri-muted);
    font-size: 14px;
    line-height: 1.45;
}

.agri-errors,
.agri-empty-state {
    border: 1px solid rgba(176,0,32,.25);
    border-radius: 18px;
    background: #fff6f6;
    color: #9f1239;
}

.agri-errors {
    padding: 12px 14px;
    margin-bottom: 16px;
    font-weight: 800;
}

.agri-errors p {
    margin: 4px 0;
}

.agri-results {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 24px 58px;
}

.agri-results .section-heading p {
    color: var(--agri-muted);
}

.agri-empty-state {
    padding: 26px;
    background: linear-gradient(135deg, #fff6f6, #ffffff);
}

.agri-empty-state h3 {
    margin: 0 0 8px;
}

.agri-empty-state p {
    margin: 0;
    color: var(--agri-muted);
}

.agri-search-card input:invalid,
.agri-search-card select:invalid {
    border-color: rgba(176,0,32,.35);
}

.agri-search-card input:focus:invalid,
.agri-search-card select:focus:invalid {
    box-shadow: 0 0 0 4px rgba(176,0,32,.10);
}

/* YOP AGRI DETAIL SEARCH */
.agri-filter-page {
    background: #f1f3f4;
}

.agri-filter-topbar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 max(18px, calc((100vw - 980px) / 2));
    background: #2f2f2f;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 80;
}

.agri-mini-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.agri-mini-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.agri-mini-logo strong {
    color: #20c46b;
}

.agri-filter-topbar nav {
    margin-left: auto;
    display: flex;
    gap: 18px;
}

.agri-filter-topbar nav a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 800;
}

.agri-filter-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 18px 70px;
}

.agri-filter-panel {
    background: #fff;
    border: 1px solid #d4d7dc;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.agri-filter-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid #d4d7dc;
}

.agri-filter-title-row h1 {
    margin: 4px 0 0;
    font-size: 22px;
}

.agri-back-link,
.agri-save-search {
    color: #0b65d8;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.agri-detail-form fieldset {
    margin: 0;
    padding: 16px 18px 18px;
    border: 0;
    border-bottom: 1px solid #d4d7dc;
}

.agri-detail-form legend {
    width: 100%;
    padding-bottom: 10px;
    color: #252a31;
    font-size: 14px;
    font-weight: 950;
}

.agri-form-grid {
    display: grid;
    gap: 12px;
}

.agri-form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agri-form-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agri-form-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agri-detail-form label {
    display: grid;
    gap: 5px;
    color: #3f4852;
    font-size: 12px;
    font-weight: 800;
}

.agri-detail-form input,
.agri-detail-form select {
    height: 34px;
    border: 1px solid #aeb5bf;
    border-radius: 2px;
    background: #fff;
    padding: 0 8px;
    color: #111827;
    font-size: 13px;
}

.agri-detail-form input:focus,
.agri-detail-form select:focus {
    border-color: #0b65d8;
    outline: 2px solid rgba(11,101,216,.12);
}

.agri-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px 18px;
}

.agri-check-grid label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.agri-check-grid input {
    width: 14px;
    height: 14px;
    accent-color: #20c46b;
}

.agri-search-submit {
    display: block;
    min-width: 260px;
    min-height: 42px;
    margin: 34px auto 24px;
    border: 0;
    border-radius: 4px;
    background: #0b65d8;
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.agri-filter-results {
    padding: 34px 0 0;
}

.agri-result-list {
    display: grid;
    gap: 12px;
}

.agri-result-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 160px;
    gap: 16px;
    align-items: center;
    border: 1px solid #d4d7dc;
    background: #fff;
    padding: 14px;
}

.agri-result-thumb {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: linear-gradient(135deg, #20c46b, #159bff);
    color: #fff;
    font-size: 30px;
    font-weight: 950;
}

.agri-result-row small {
    color: #607080;
    font-weight: 800;
}

.agri-result-row h3 {
    margin: 5px 0;
    font-size: 18px;
}

.agri-result-row p {
    margin: 0;
    color: #5d6c7b;
}

.agri-result-row strong {
    justify-self: end;
    color: #0b8f4d;
    font-size: 18px;
}

@media (max-width: 780px) {
    .agri-form-grid.two,
    .agri-form-grid.three,
    .agri-form-grid.four,
    .agri-check-grid,
    .agri-result-row {
        grid-template-columns: 1fr;
    }

    .agri-filter-title-row,
    .agri-filter-topbar {
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .agri-filter-topbar nav {
        margin-left: 0;
    }

    .agri-result-row strong {
        justify-self: start;
    }
}

/* YOP AGRI IMMO-LIKE DESIGN */
.agri-estate-style {
    --agri-green: #20c46b;
    --agri-blue: #159bff;
    --agri-deep: #211b86;
    --agri-ink: #071527;
    --agri-muted: #607080;
    --agri-line: #dbe7f6;
    background: #fff;
    color: var(--agri-ink);
}

.agri-estate-style .agri-estate-topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px max(24px, calc((100vw - 1424px) / 2));
    border-bottom: 1px solid var(--agri-line);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
}

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

.agri-home-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(21,155,255,.14), rgba(32,196,107,.14));
    text-decoration: none;
}

.agri-home-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.agri-estate-brand {
    color: var(--agri-ink);
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -.055em;
    text-decoration: none;
}

.agri-estate-brand span {
    color: var(--agri-blue);
}

.agri-estate-brand strong {
    color: var(--agri-deep);
}

.agri-estate-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.agri-estate-nav a {
    color: var(--agri-ink);
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
}

.agri-estate-nav a:hover {
    color: var(--agri-green);
}

.agri-estate-hero {
    max-width: 1424px;
    margin: 0 auto;
    padding: 58px 24px 34px;
}

.agri-hero-panel {
    min-height: 270px;
    border-radius: 32px;
    padding: 42px;
    background:
        linear-gradient(90deg, rgba(7,21,39,.72), rgba(7,21,39,.25)),
        radial-gradient(circle at 18% 20%, rgba(32,196,107,.45), transparent 28%),
        linear-gradient(135deg, #0d2f24, #17436c 54%, #f7fbff);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.agri-hero-panel .eyebrow {
    color: #b8ffe0;
}

.agri-hero-panel h1 {
    max-width: 860px;
    margin: 0 0 14px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .96;
    letter-spacing: -.07em;
}

.agri-hero-panel p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.55;
}

.agri-estate-filter-form {
    margin: -44px auto 0;
    width: min(1120px, calc(100% - 48px));
    display: grid;
    grid-template-columns: 1.4fr 1fr .8fr .8fr 180px;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--agri-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(33,27,134,.14);
    position: relative;
    z-index: 2;
}

.agri-estate-filter-form .estate-like-error {
    grid-column: 1 / -1;
    margin: 0;
}

.agri-estate-filter-form input,
.agri-estate-filter-form select {
    width: 100%;
    height: 52px;
    border: 1px solid var(--agri-line);
    border-radius: 14px;
    padding: 0 14px;
    background: #fff;
    color: var(--agri-ink);
    font-size: 15px;
}

.agri-estate-filter-form input:focus,
.agri-estate-filter-form select:focus {
    border-color: var(--agri-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.12);
    outline: none;
}

.agri-estate-filter-form button {
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--agri-blue), var(--agri-deep));
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.agri-chip-row {
    width: min(1120px, calc(100% - 48px));
    margin: 18px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.agri-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--agri-line);
    border-radius: 999px;
    background: #fff;
    color: var(--agri-ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

.agri-chip.active,
.agri-chip:hover {
    border-color: var(--agri-blue);
    color: var(--agri-blue);
    background: rgba(21,155,255,.08);
}

.agri-estate-layout {
    max-width: 1424px;
    margin: 0 auto;
    padding: 34px 24px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
}

.agri-results-list h2 {
    margin: 0 0 6px;
    font-size: 30px;
    letter-spacing: -.04em;
}

.agri-sort,
.agri-result-meta {
    color: var(--agri-muted);
}

.agri-estate-card-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.agri-estate-card {
    overflow: hidden;
    border: 1px solid var(--agri-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(33,27,134,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.agri-estate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(21,155,255,.16);
}

.agri-card-image {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 24% 20%, rgba(32,196,107,.45), transparent 26%),
        linear-gradient(135deg, #122d24, #175985);
    color: #fff;
}

.agri-card-image span {
    font-size: 74px;
    font-weight: 950;
    opacity: .9;
}

.agri-card-image em {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--agri-ink);
    font-style: normal;
    font-weight: 900;
    font-size: 12px;
}

.agri-card-body {
    padding: 20px;
}

.agri-card-body small {
    color: var(--agri-blue);
    font-weight: 900;
}

.agri-card-body h3 {
    margin: 8px 0 12px;
    color: var(--agri-ink);
    font-size: 19px;
    line-height: 1.25;
}

.agri-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.agri-card-facts strong {
    color: var(--agri-ink);
    font-size: 18px;
}

.agri-card-facts span,
.agri-card-body p,
.agri-address {
    color: var(--agri-muted);
}

.agri-card-body p {
    margin: 0 0 12px;
    line-height: 1.45;
}

.agri-map-panel {
    position: sticky;
    top: 132px;
    height: calc(100vh - 150px);
    min-height: 420px;
    border-radius: 24px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agri-map-card {
    width: min(280px, 80%);
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 22px 60px rgba(33,27,134,.13);
}

.agri-map-card span {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--agri-green), var(--agri-blue));
    color: #fff;
    font-size: 26px;
}

.agri-start-box {
    padding: 38px;
    border: 1px solid var(--agri-line);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(21,155,255,.08), rgba(32,196,107,.08));
}

.agri-start-box h2 {
    margin: 0 0 8px;
    font-size: 32px;
    letter-spacing: -.04em;
}

.agri-category-section {
    max-width: 1424px;
    margin: 0 auto;
    padding: 20px 24px 80px;
}

.estate-like-categories .agri-category-card {
    border-color: var(--agri-line);
    box-shadow: 0 14px 34px rgba(33,27,134,.07);
}

@media (max-width: 1180px) {
    .agri-estate-filter-form,
    .agri-estate-layout,
    .agri-estate-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agri-estate-filter-form button,
    .agri-map-panel {
        grid-column: 1 / -1;
    }

    .agri-map-panel {
        position: static;
        height: auto;
        min-height: 260px;
    }
}

@media (max-width: 720px) {
    .agri-estate-style .agri-estate-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .agri-estate-nav {
        width: 100%;
        overflow-x: auto;
    }

    .agri-estate-filter-form,
    .agri-estate-layout,
    .agri-estate-card-grid {
        grid-template-columns: 1fr;
    }

    .agri-estate-filter-form {
        width: calc(100% - 24px);
        margin-top: -24px;
    }

    .agri-hero-panel {
        padding: 28px;
        border-radius: 24px;
    }
}

/* YOP AGRI PRICE COMPARISON */
.agri-compare-layout {
    max-width: 1424px;
    margin: 0 auto;
    padding: 34px 24px 70px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.agri-top-products {
    border-radius: 16px;
    background: #dcebf8;
    padding: 16px;
}

.agri-top-products h2 {
    margin: 0;
    color: #073f70;
    font-size: 24px;
}

.agri-top-products > p {
    margin: 2px 0 12px;
    color: #073f70;
    font-weight: 800;
}

.agri-top-products article {
    display: grid;
    grid-template-columns: 26px 54px 1fr;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #c8d7e4;
    border-radius: 10px;
    background: #fff;
}

.agri-top-products article > strong {
    color: #071527;
    text-align: center;
}

.agri-top-thumb {
    width: 54px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #20c46b, #159bff);
    color: #fff;
    font-weight: 950;
    font-size: 22px;
}

.agri-top-products span,
.agri-top-products b {
    display: block;
}

.agri-top-products span {
    color: #071527;
    font-size: 14px;
    line-height: 1.2;
}

.agri-top-products b {
    margin-top: 3px;
    color: #071527;
    font-size: 14px;
}

.agri-price-compare {
    min-width: 0;
}

.agri-offer-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.agri-offer-tabs button {
    min-width: 150px;
    min-height: 58px;
    border: 1px solid #b7c2cf;
    border-radius: 6px;
    background: #fff;
    color: #071527;
    text-align: left;
    padding: 8px 12px;
    cursor: pointer;
}

.agri-offer-tabs button.active {
    border-color: #0b65d8;
    box-shadow: inset 4px 0 0 #0b65d8;
}

.agri-compare-header {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid #cbd3dc;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: #f1f1f1;
}

.agri-compare-header h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.04em;
}

.agri-compare-header label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-weight: 700;
}

.agri-compare-header input {
    width: 28px;
    height: 28px;
}

.agri-compare-header div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.agri-compare-header button {
    height: 40px;
    border: 1px solid #9aa5b1;
    background: #fff;
    border-radius: 4px;
    padding: 0 14px;
    font-weight: 800;
}

.agri-compare-table {
    border: 1px solid #cbd3dc;
    border-top: 0;
    background: #fff;
}

.agri-compare-table-head,
.agri-compare-row {
    display: grid;
    grid-template-columns: 1.2fr .85fr .8fr .9fr .9fr 150px;
    gap: 18px;
    align-items: center;
}

.agri-compare-table-head {
    padding: 12px 16px;
    border-top: 1px solid #d7dde4;
    border-bottom: 1px solid #d7dde4;
    color: #6b7280;
    font-size: 14px;
}

.agri-compare-row {
    padding: 24px 16px;
    border-bottom: 1px solid #d7dde4;
}

.agri-compare-row:last-child {
    border-bottom: 0;
}

.agri-offer-name a {
    color: #071527;
    font-weight: 950;
    text-decoration: underline;
    line-height: 1.3;
}

.agri-offer-name small,
.agri-delivery small,
.agri-shop-rating small,
.agri-offer-price span {
    display: block;
    margin-top: 6px;
    color: #5d6c7b;
}

.agri-offer-price strong {
    display: block;
    color: #071527;
    font-size: 30px;
    letter-spacing: -.04em;
}

.agri-offer-price em {
    display: inline-flex;
    margin-top: 8px;
    padding: 7px 9px;
    border: 1px solid #ff6b2d;
    border-radius: 5px;
    color: #ff4f00;
    font-style: normal;
    font-size: 13px;
}

.agri-payment-tags span {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #073f70;
    font-weight: 800;
    font-size: 13px;
}

.agri-delivery b {
    color: #20c46b;
}

.agri-shop-rating strong {
    display: block;
    font-size: 18px;
    color: #073f70;
}

.agri-shop-rating span {
    display: inline-block;
    margin-top: 8px;
    color: #ff7a00;
    font-weight: 950;
}

.agri-shop-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #28bd74;
    color: #fff !important;
    text-decoration: none;
    font-weight: 950;
}

@media (max-width: 1180px) {
    .agri-compare-layout {
        grid-template-columns: 1fr;
    }

    .agri-compare-table-head {
        display: none;
    }

    .agri-compare-row {
        grid-template-columns: 1fr 1fr;
    }

    .agri-shop-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .agri-compare-header,
    .agri-compare-row {
        grid-template-columns: 1fr;
    }

    .agri-compare-header div,
    .agri-offer-tabs {
        align-items: stretch;
        flex-direction: column;
    }
}

/* YOP MULTI PORTAL */
.portal-home-hero {
    min-height: 76vh;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
    align-items: center;
    padding: 72px max(24px, calc((100vw - 1280px) / 2));
    background: radial-gradient(circle at 12% 15%, rgba(21,155,255,.18), transparent 32%), radial-gradient(circle at 90% 8%, rgba(32,196,107,.14), transparent 30%), #fff;
}
.portal-main-logo { width: min(300px, 70vw); display:block; margin-bottom: 18px; }
.portal-home-copy h1 { margin: 0 0 14px; font-size: clamp(48px, 7vw, 92px); line-height: .9; letter-spacing: -.08em; color:#071527; }
.portal-home-copy p:not(.eyebrow) { max-width: 620px; color:#607080; font-size: 19px; line-height: 1.55; }
.portal-home-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.portal-home-card { min-height: 178px; padding: 20px; border:1px solid #dbe7f6; border-radius: 28px; background:#fff; box-shadow:0 18px 45px rgba(33,27,134,.08); color:#071527; text-decoration:none; display:flex; flex-direction:column; justify-content:space-between; transition:.2s ease; }
.portal-home-card:hover { transform: translateY(-5px); box-shadow:0 24px 60px rgba(21,155,255,.18); }
.portal-home-card img { max-width: 76px; max-height: 62px; object-fit:contain; }
.portal-home-card strong { font-size: 21px; color:#071527; }
.portal-home-card span:last-child { color:#607080; font-weight:800; }
.portal-agri-icon { font-size: 52px; }
.portal-topbar { min-height: 92px; display:flex; align-items:center; gap:22px; padding:14px max(24px, calc((100vw - 1180px)/2)); border-bottom:1px solid #dbe7f6; background:rgba(255,255,255,.95); position:sticky; top:0; z-index:70; backdrop-filter:blur(14px); }
.portal-home { width:56px; height:56px; border-radius:18px; background:linear-gradient(135deg,rgba(21,155,255,.13),rgba(33,27,134,.10)); display:flex; align-items:center; justify-content:center; }
.portal-home img { width:42px; height:42px; object-fit:contain; }
.portal-brand { display:flex; align-items:center; gap:12px; color:#071527; text-decoration:none; font-size:24px; font-weight:950; }
.portal-brand img { max-width:74px; max-height:54px; object-fit:contain; }
.portal-topbar nav { margin-left:auto; display:flex; gap:22px; }
.portal-topbar nav a { color:#071527; text-decoration:none; font-weight:900; }
.portal-shell, .jobs-shell { max-width:1180px; margin:0 auto; padding:54px 24px 84px; }
.portal-hero-card, .portal-filter-card, .portal-offers, .jobs-hero, .job-card, .job-detail-panel { border:1px solid #dbe7f6; border-radius:30px; background:#fff; box-shadow:0 20px 55px rgba(33,27,134,.08); }
.portal-hero-card { padding:42px; background:linear-gradient(135deg,rgba(21,155,255,.12),rgba(33,27,134,.06)); }
.portal-hero-card h1, .jobs-hero h1 { margin:0 0 12px; font-size: clamp(38px, 5vw, 68px); letter-spacing:-.06em; }
.portal-search, .jobs-search { display:grid; grid-template-columns: 1fr 1fr 210px; gap:12px; margin-top:26px; }
.portal-search label { font-weight:900; color:#071527; }
.portal-search input, .jobs-search input { width:100%; height:52px; border:1px solid #dbe7f6; border-radius:14px; padding:0 14px; margin-top:6px; }
.portal-search button, .jobs-search button, .portal-offer-row a, .job-card button, .job-detail-panel a { border:0; border-radius:14px; background:linear-gradient(135deg,#159bff,#211b86); color:#fff; font-weight:950; text-decoration:none; display:flex; align-items:center; justify-content:center; min-height:52px; padding:0 18px; }
.portal-compare-grid { display:grid; grid-template-columns: 260px 1fr; gap:22px; margin-top:26px; }
.portal-filter-card { padding:24px; display:grid; gap:14px; align-content:start; }
.portal-filter-card label { display:flex; gap:8px; color:#607080; font-weight:800; }
.portal-offers { overflow:hidden; }
.portal-offers-head { display:flex; justify-content:space-between; align-items:center; padding:20px 24px; background:#f7fbff; border-bottom:1px solid #dbe7f6; }
.portal-offers-head h2 { margin:0; }
.portal-offer-row { display:grid; grid-template-columns: 1fr 180px 150px 150px; gap:18px; align-items:center; padding:22px 24px; border-bottom:1px solid #dbe7f6; }
.portal-offer-row:last-child { border-bottom:0; }
.portal-offer-row span { color:#159bff; font-weight:900; }
.portal-offer-row h3 { margin:6px 0; }
.portal-offer-row strong { font-size:24px; color:#071527; }
.portal-rating { color:#ff8a00; font-weight:950; }
.jobs-hero { padding:42px; text-align:center; }
.jobs-layout { display:grid; grid-template-columns: minmax(0,1fr) 380px; gap:22px; margin-top:24px; align-items:start; }
.jobs-list { display:grid; gap:14px; }
.job-card { padding:24px; }
.job-card h2 { margin:0 0 8px; color:#071527; }
.job-card strong, .job-card span, .job-card p { display:block; margin:6px 0; color:#607080; }
.job-card button { width:180px; margin-top:14px; }
.job-detail-panel { position:sticky; top:112px; padding:28px; }
.job-detail-panel a { margin-top:20px; }
@media (max-width: 980px) { .portal-home-hero, .portal-home-grid, .portal-compare-grid, .jobs-layout { grid-template-columns:1fr; } .portal-search, .jobs-search, .portal-offer-row { grid-template-columns:1fr; } .portal-topbar { flex-wrap:wrap; } .portal-topbar nav { width:100%; margin-left:0; overflow-x:auto; } }
@media (max-width: 640px) { .portal-home-grid { grid-template-columns:1fr; } .portal-home-hero { padding-top:36px; } .portal-hero-card, .jobs-hero { padding:24px; border-radius:22px; } }

/* NEXT-GEN YOP HOME */
body:has(.next-home) .main-header {
    display: none;
}

.next-home {
    --next-blue: #159bff;
    --next-deep: #211b86;
    --next-ink: #071527;
    --next-muted: #64748b;
    --next-line: rgba(21,155,255,.18);
    --next-green: #20c46b;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.22), transparent 30%),
        radial-gradient(circle at 88% 5%, rgba(33,27,134,.20), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #f8fbff 100%);
    color: var(--next-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.next-hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    padding: 22px max(24px, calc((100vw - 1320px) / 2)) 68px;
}

.next-hero-bg {
    position: absolute;
    inset: 90px 4vw auto auto;
    width: 42vw;
    height: 42vw;
    max-width: 620px;
    max-height: 620px;
    border-radius: 46% 54% 60% 40%;
    background:
        linear-gradient(135deg, rgba(21,155,255,.22), rgba(33,27,134,.18)),
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.9), transparent 22%);
    filter: blur(.2px);
    opacity: .9;
    animation: nextFloat 9s ease-in-out infinite;
}

@keyframes nextFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(18px) rotate(4deg); }
}

.next-home-nav {
    position: relative;
    z-index: 2;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}

.next-brand img {
    width: 122px;
    height: auto;
    display: block;
}

.next-home-nav nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.70);
    border-radius: 999px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 18px 55px rgba(33,27,134,.10);
    backdrop-filter: blur(18px);
}

.next-home-nav nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--next-ink);
    text-decoration: none;
    font-weight: 900;
}

.next-home-nav nav a:hover {
    background: #fff;
    color: var(--next-blue);
}

.next-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 430px;
    gap: 54px;
    align-items: center;
    padding-top: 68px;
}

.next-kicker {
    margin: 0 0 14px;
    color: var(--next-blue);
    font-weight: 950;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: 13px;
}

.next-hero-copy h1 {
    max-width: 880px;
    margin: 0 0 22px;
    color: var(--next-ink);
    font-size: clamp(54px, 8vw, 118px);
    line-height: .86;
    letter-spacing: -.09em;
}

.next-hero-copy > p:not(.next-kicker) {
    max-width: 710px;
    margin: 0;
    color: var(--next-muted);
    font-size: 20px;
    line-height: 1.62;
}

.next-search {
    width: min(820px, 100%);
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr .7fr 190px;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 24px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 28px 80px rgba(33,27,134,.14);
    backdrop-filter: blur(18px);
}

.next-search input {
    height: 54px;
    border: 1px solid var(--next-line);
    border-radius: 16px;
    padding: 0 16px;
    background: rgba(255,255,255,.86);
    color: var(--next-ink);
    font-size: 15px;
}

.next-search input:focus {
    outline: none;
    border-color: var(--next-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.12);
}

.next-search button {
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--next-blue), var(--next-deep));
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.next-orbit-card {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 44px;
    background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.35));
    box-shadow: 0 38px 100px rgba(33,27,134,.18);
    backdrop-filter: blur(22px);
}

.next-orbit-logo {
    position: absolute;
    inset: 50%;
    width: 138px;
    height: 138px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(21,155,255,.20);
}

.next-orbit-logo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.orbit-chip {
    position: absolute;
    min-height: 48px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--next-ink);
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(33,27,134,.12);
}

.chip-immo { top: 52px; left: 42px; }
.chip-insurance { top: 92px; right: 30px; }
.chip-agri { bottom: 82px; left: 38px; }
.chip-jobs { bottom: 48px; right: 54px; }

.next-bento,
.next-properties {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 24px 82px;
}

.next-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 18px;
}

.next-tile {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--next-line);
    border-radius: 32px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 18px 55px rgba(33,27,134,.08);
    color: var(--next-ink);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease;
}

.next-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 75px rgba(21,155,255,.18);
}

.next-tile h2,
.next-tile h3 {
    margin: 10px 0 8px;
    letter-spacing: -.045em;
}

.next-tile h2 { font-size: 38px; line-height: 1; max-width: 520px; }
.next-tile h3 { font-size: 24px; }
.next-tile p { color: var(--next-muted); line-height: 1.5; max-width: 520px; }
.next-tile > span { color: var(--next-blue); font-weight: 950; }
.next-tile img { max-width: 92px; max-height: 72px; object-fit: contain; }

.tile-large {
    grid-column: span 2;
    grid-row: span 2;
    background:
        radial-gradient(circle at 84% 18%, rgba(21,155,255,.26), transparent 34%),
        linear-gradient(135deg, #fff, #f2f8ff);
}

.tile-large img {
    position: absolute;
    right: 24px;
    bottom: 20px;
    max-width: 180px;
    max-height: 180px;
    opacity: .95;
}

.tile-wide {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(32,196,107,.16), rgba(21,155,255,.12));
}

.tile-internet span {
    display: block;
    font-size: 48px;
}

.next-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.next-section-title h2 {
    margin: 0;
    font-size: 44px;
    letter-spacing: -.06em;
}

.next-property-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.next-property-card,
.next-empty-card {
    overflow: hidden;
    border: 1px solid var(--next-line);
    border-radius: 28px;
    background: #fff;
    color: var(--next-ink);
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(33,27,134,.08);
}

.next-property-image {
    position: relative;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
}

.next-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.next-property-card:hover img {
    transform: scale(1.04);
}

.next-property-image strong {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--next-blue), var(--next-deep));
    color: #fff;
}

.next-property-card h3,
.next-property-card p {
    margin-left: 18px;
    margin-right: 18px;
}

.next-property-card h3 {
    margin-top: 18px;
    margin-bottom: 6px;
}

.next-property-card p {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--next-muted);
}

.next-empty-card {
    padding: 24px;
}

@media (max-width: 1080px) {
    .next-hero-grid,
    .next-bento,
    .next-property-row {
        grid-template-columns: 1fr 1fr;
    }

    .next-orbit-card,
    .tile-large,
    .tile-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .next-hero {
        min-height: auto;
        padding-top: 14px;
    }

    .next-home-nav,
    .next-home-nav nav {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 24px;
    }

    .next-home-nav nav {
        width: 100%;
    }

    .next-hero-grid,
    .next-search,
    .next-bento,
    .next-property-row {
        grid-template-columns: 1fr;
    }

    .next-hero-copy h1 {
        font-size: 56px;
    }

    .next-orbit-card {
        min-height: 360px;
    }

    .orbit-chip {
        position: static;
        margin: 10px;
    }

    .next-orbit-card {
        display: flex;
        flex-wrap: wrap;
        align-content: end;
        justify-content: center;
        padding: 170px 12px 20px;
    }

    .next-tile,
    .next-hero-copy {
        border-radius: 24px;
    }
}

/* CHECK24-INSPIRED YOP HOME */
body:has(.check-home) .main-header { display: none; }
.check-home { --c-blue:#159bff; --c-deep:#211b86; --c-ink:#071527; --c-muted:#64748b; --c-line:#dbe7f6; min-height:100vh; background:#f4f7fb; color:var(--c-ink); font-family:"Segoe UI",Arial,sans-serif; }
.check-home-topbar { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:10px max(24px,calc((100vw - 1240px)/2)); background:#fff; border-bottom:1px solid var(--c-line); position:sticky; top:0; z-index:80; box-shadow:0 6px 24px rgba(33,27,134,.06); }
.check-logo img { width:108px; display:block; }
.check-home-topbar nav { display:flex; align-items:center; gap:20px; }
.check-home-topbar nav a { color:var(--c-ink); text-decoration:none; font-weight:900; }
.check-home-topbar nav a:hover { color:var(--c-blue); }
.check-hero { max-width:1240px; margin:0 auto; padding:42px 24px 20px; display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:24px; align-items:stretch; }
.check-hero-copy { padding:44px; border-radius:28px; background:linear-gradient(135deg,#fff, #eef7ff); border:1px solid var(--c-line); box-shadow:0 20px 55px rgba(33,27,134,.08); }
.check-eyebrow { margin:0 0 10px; color:var(--c-blue); font-weight:950; text-transform:uppercase; letter-spacing:.04em; font-size:12px; }
.check-hero h1 { margin:0 0 14px; font-size:clamp(44px,6vw,78px); line-height:.94; letter-spacing:-.075em; }
.check-hero p:not(.check-eyebrow) { max-width:720px; color:var(--c-muted); font-size:18px; line-height:1.55; }
.check-quick-search { padding:26px; border-radius:28px; background:#fff; border:1px solid var(--c-line); box-shadow:0 20px 55px rgba(21,155,255,.12); display:grid; gap:12px; }
.check-quick-search h2 { margin:0 0 6px; font-size:26px; }
.check-quick-search input,.check-quick-search select { height:50px; border:1px solid var(--c-line); border-radius:14px; padding:0 14px; font-size:15px; background:#fff; }
.check-quick-search input:focus,.check-quick-search select:focus { outline:none; border-color:var(--c-blue); box-shadow:0 0 0 4px rgba(21,155,255,.12); }
.check-quick-search button { height:52px; border:0; border-radius:14px; background:linear-gradient(135deg,var(--c-blue),var(--c-deep)); color:#fff; font-weight:950; cursor:pointer; }
.check-main-products { max-width:1240px; margin:0 auto; padding:20px 24px; display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.check-product-card { min-height:190px; padding:20px; border:1px solid var(--c-line); border-radius:22px; background:#fff; color:var(--c-ink); text-decoration:none; box-shadow:0 12px 34px rgba(33,27,134,.07); display:flex; flex-direction:column; gap:8px; transition:.2s ease; }
.check-product-card:hover { transform:translateY(-4px); box-shadow:0 20px 48px rgba(21,155,255,.16); }
.check-product-card.primary { grid-column:span 2; background:radial-gradient(circle at 80% 10%,rgba(21,155,255,.18),transparent 34%),#fff; }
.check-product-card img { width:70px; height:52px; object-fit:contain; }
.check-product-card .check-icon { font-size:46px; line-height:1; }
.check-product-card span:not(.check-icon) { color:var(--c-blue); font-weight:950; }
.check-product-card strong { font-size:22px; letter-spacing:-.035em; }
.check-product-card em { margin-top:auto; color:var(--c-muted); font-style:normal; font-weight:800; }
.check-product-card.agri { background:linear-gradient(135deg,rgba(32,196,107,.12),#fff); }
.check-product-card.muted { opacity:.82; }
.check-deals-strip { max-width:1240px; margin:10px auto 0; padding:0 24px; display:flex; gap:12px; overflow-x:auto; }
.check-deals-strip a { flex:0 0 auto; padding:11px 16px; border-radius:999px; background:#fff; border:1px solid var(--c-line); color:var(--c-ink); text-decoration:none; font-weight:900; box-shadow:0 8px 22px rgba(33,27,134,.06); }
.check-deals-strip a:hover { color:var(--c-blue); border-color:var(--c-blue); }
.check-trust-grid { max-width:1240px; margin:28px auto 0; padding:0 24px; display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.check-trust-grid article { padding:22px; border-radius:22px; background:#fff; border:1px solid var(--c-line); box-shadow:0 10px 28px rgba(33,27,134,.06); }
.check-trust-grid span { display:block; margin-bottom:8px; color:var(--c-deep); font-size:20px; font-weight:950; }
.check-trust-grid p { margin:0; color:var(--c-muted); line-height:1.5; }
.check-immo-preview { max-width:1240px; margin:0 auto; padding:52px 24px 86px; }
.check-section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:18px; }
.check-section-head h2 { margin:0; font-size:38px; letter-spacing:-.055em; }
.check-immo-row { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.check-immo-card { overflow:hidden; border:1px solid var(--c-line); border-radius:22px; background:#fff; color:var(--c-ink); text-decoration:none; box-shadow:0 14px 34px rgba(33,27,134,.07); }
.check-immo-card div { position:relative; aspect-ratio:1.55/1; overflow:hidden; }
.check-immo-card img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.check-immo-card:hover img { transform:scale(1.04); }
.check-immo-card div strong { position:absolute; left:12px; bottom:12px; padding:8px 11px; border-radius:999px; background:linear-gradient(135deg,var(--c-blue),var(--c-deep)); color:#fff; }
.check-immo-card h3,.check-immo-card p { margin-left:16px; margin-right:16px; }
.check-immo-card h3 { margin-top:16px; margin-bottom:6px; }
.check-immo-card p { margin-top:0; margin-bottom:18px; color:var(--c-muted); }
@media (max-width:980px){ .check-hero,.check-main-products,.check-trust-grid,.check-immo-row{grid-template-columns:1fr 1fr;} .check-hero-copy,.check-quick-search,.check-product-card.primary{grid-column:1/-1;} .check-home-topbar{flex-wrap:wrap;} .check-home-topbar nav{width:100%; overflow-x:auto;} }
@media (max-width:620px){ .check-hero,.check-main-products,.check-trust-grid,.check-immo-row{grid-template-columns:1fr;} .check-hero-copy{padding:26px;} .check-hero h1{font-size:48px;} .check-home-topbar nav{gap:12px;} }

/* HOME NAV BUTTONS */
.check-home-topbar nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.check-home-topbar nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #dbe7f6;
    border-radius: 999px;
    background: #fff;
    color: #071527;
    box-shadow: 0 8px 22px rgba(33,27,134,.06);
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.check-home-topbar nav a:hover,
.check-home-topbar nav a:focus-visible {
    border-color: transparent;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    box-shadow: 0 14px 34px rgba(21,155,255,.26);
    transform: translateY(-2px);
    outline: none;
}

/* GLOBAL YOP NAVBAR */
.yop-global-nav {
    position: sticky;
    top: 0;
    z-index: 9999;
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 10px max(18px, calc((100vw - 1320px) / 2));
    border-bottom: 1px solid #dbe7f6;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 32px rgba(33,27,134,.08);
    backdrop-filter: blur(16px);
}

.yop-global-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    text-decoration: none;
}

.yop-global-logo img {
    width: 108px;
    max-height: 54px;
    object-fit: contain;
    display: block;
}

.yop-global-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.yop-global-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #dbe7f6;
    border-radius: 999px;
    background: #fff;
    color: #071527;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 8px 22px rgba(33,27,134,.06);
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.yop-global-links a:hover,
.yop-global-links a:focus-visible {
    border-color: transparent;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    box-shadow: 0 14px 34px rgba(21,155,255,.26);
    transform: translateY(-2px);
    outline: none;
}

.main-header {
    display: none !important;
}

.yop-page-main {
    min-height: calc(100vh - 74px);
}

.check-home .check-home-topbar,
.estate-topbar,
.insurance-topbar,
.kfz-topbar,
.agri-estate-topbar,
.portal-topbar,
.jobs-topbar,
.agri-filter-topbar,
.agri-header {
    top: 74px;
}

@media (max-width: 980px) {
    .yop-global-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .yop-global-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .yop-global-links a {
        flex: 0 0 auto;
    }

    .check-home .check-home-topbar,
    .estate-topbar,
    .insurance-topbar,
    .kfz-topbar,
    .agri-estate-topbar,
    .portal-topbar,
    .jobs-topbar,
    .agri-filter-topbar,
    .agri-header {
        top: 124px;
    }
}

/* AGRI LOGO */
.agri-logo-image {
    height: 62px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

.agri-estate-brand:has(.agri-logo-image) {
    display: inline-flex;
    align-items: center;
}

/* SECTION HEADER LOGO CLEANUP */
.portal-brand.logo-only,
.insurance-brand,
.agri-estate-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 78px;
}

.portal-brand.logo-only img {
    max-width: 190px;
    max-height: 86px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.jobs-topbar .portal-brand.logo-only img {
    max-width: 220px;
    max-height: 96px;
}

.insurance-brand img {
    height: 82px;
    max-width: 230px;
    object-fit: contain;
}

.agri-logo-image {
    height: 86px;
    max-width: 240px;
}

.portal-topbar,
.jobs-topbar,
.insurance-topbar,
.agri-estate-topbar {
    min-height: 118px;
}

.portal-home,
.insurance-home,
.agri-home-icon {
    display: none !important;
}

@media (max-width: 720px) {
    .portal-brand.logo-only,
    .insurance-brand,
    .agri-estate-brand {
        min-width: 140px;
        min-height: 62px;
    }

    .portal-brand.logo-only img,
    .jobs-topbar .portal-brand.logo-only img,
    .insurance-brand img,
    .agri-logo-image {
        max-width: 170px;
        max-height: 70px;
        height: auto;
    }
}

/* NEO AD-FOCUSED HOME */
body:has(.neo-home) {
    background: #08111f;
}

.neo-home {
    --neo-bg: #08111f;
    --neo-panel: #101c31;
    --neo-card: #14233c;
    --neo-blue: #159bff;
    --neo-deep: #211b86;
    --neo-green: #20c46b;
    --neo-gold: #ffb21f;
    --neo-text: #f7fbff;
    --neo-muted: #aebbd0;
    min-height: 100vh;
    padding-bottom: 80px;
    color: var(--neo-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.35), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(32,196,107,.20), transparent 26%),
        linear-gradient(180deg, #08111f 0%, #101b2d 48%, #08111f 100%);
    font-family: "Segoe UI", Arial, sans-serif;
}

.neo-hero,
.neo-ad-row,
.neo-portal-grid,
.neo-content-band,
.neo-immo-preview {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.neo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
    padding-top: 58px;
}

.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    box-shadow: 0 28px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.neo-hero-copy {
    padding: clamp(34px, 5vw, 64px);
}

.neo-kicker {
    margin: 0 0 12px;
    color: #79c9ff;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
}

.neo-hero h1 {
    max-width: 860px;
    margin: 0 0 18px;
    font-size: clamp(50px, 7vw, 104px);
    line-height: .88;
    letter-spacing: -.085em;
}

.neo-hero-copy > p:not(.neo-kicker) {
    max-width: 720px;
    color: var(--neo-muted);
    font-size: 19px;
    line-height: 1.6;
}

.neo-search {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 230px 190px;
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
}

.neo-search input,
.neo-search select {
    height: 54px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    padding: 0 14px;
    background: rgba(255,255,255,.92);
    color: #071527;
    font-size: 15px;
}

.neo-search button,
.neo-spotlight-ad a {
    min-height: 54px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--neo-blue), var(--neo-deep));
    color: #fff;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
}

.neo-spotlight-ad {
    padding: 30px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255,178,31,.35), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
}

.neo-spotlight-ad span,
.neo-side-ad small,
.neo-ad-card small {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-weight: 900;
}

.neo-spotlight-ad h2 {
    margin: 24px 0 12px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.05em;
}

.neo-spotlight-ad p {
    color: var(--neo-muted);
    line-height: 1.55;
}

.neo-ad-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 24px;
}

.neo-ad-card,
.neo-service-card,
.neo-immo-card {
    color: var(--neo-text);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.neo-ad-card {
    min-height: 150px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 20px 55px rgba(0,0,0,.22);
}

.neo-ad-card.blue { background: linear-gradient(135deg, #0e4f91, #14233c); }
.neo-ad-card.gold { background: linear-gradient(135deg, #876018, #14233c); }
.neo-ad-card.green { background: linear-gradient(135deg, #0b7b4a, #14233c); }

.neo-ad-card strong,
.neo-ad-card span {
    display: block;
}

.neo-ad-card strong {
    margin: 22px 0 8px;
    font-size: 24px;
    letter-spacing: -.04em;
}

.neo-ad-card span {
    color: rgba(255,255,255,.78);
}

.neo-portal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 18px;
    padding-top: 28px;
}

.neo-service-card {
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    background: var(--neo-card);
    box-shadow: 0 20px 55px rgba(0,0,0,.20);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.neo-service-card.large {
    grid-column: span 2;
    grid-row: span 2;
    flex-direction: row;
    align-items: flex-end;
    background:
        radial-gradient(circle at 80% 10%, rgba(21,155,255,.28), transparent 34%),
        linear-gradient(135deg, #15294a, #101c31);
}

.neo-service-card:hover,
.neo-ad-card:hover,
.neo-immo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(21,155,255,.45);
    box-shadow: 0 28px 75px rgba(21,155,255,.16);
}

.neo-service-card img {
    max-width: 120px;
    max-height: 86px;
    object-fit: contain;
}

.neo-service-card.large img {
    max-width: 220px;
    max-height: 220px;
}

.neo-service-card span,
.neo-service-card b {
    color: #79c9ff;
    font-weight: 950;
}

.neo-service-card b {
    font-size: 52px;
}

.neo-service-card strong,
.neo-service-card h2 {
    margin: 0;
    color: #fff;
    letter-spacing: -.04em;
}

.neo-service-card h2 {
    font-size: 40px;
    line-height: 1;
}

.neo-service-card p {
    color: var(--neo-muted);
}

.neo-content-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    padding-top: 28px;
}

.neo-trust-panel,
.neo-side-ad {
    padding: 30px;
}

.neo-trust-panel h2 {
    margin: 0 0 20px;
    font-size: 38px;
    letter-spacing: -.05em;
}

.neo-trust-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.neo-trust-list span {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    color: var(--neo-muted);
    font-weight: 900;
}

.neo-side-ad {
    background: linear-gradient(135deg, rgba(21,155,255,.24), rgba(33,27,134,.18));
}

.neo-side-ad strong,
.neo-side-ad span {
    display: block;
}

.neo-side-ad strong {
    margin: 28px 0 8px;
    font-size: 26px;
    letter-spacing: -.04em;
}

.neo-side-ad span {
    color: var(--neo-muted);
}

.neo-immo-preview {
    padding-top: 52px;
}

.neo-section-head h2 {
    margin: 0 0 20px;
    font-size: 42px;
    letter-spacing: -.06em;
}

.neo-immo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.neo-immo-card {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    background: var(--neo-card);
    box-shadow: 0 20px 55px rgba(0,0,0,.18);
}

.neo-immo-card div {
    position: relative;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
}

.neo-immo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.neo-immo-card:hover img {
    transform: scale(1.04);
}

.neo-immo-card div strong {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--neo-blue), var(--neo-deep));
    color: #fff;
}

.neo-immo-card h3,
.neo-immo-card p {
    margin-left: 18px;
    margin-right: 18px;
}

.neo-immo-card h3 {
    margin-top: 18px;
    margin-bottom: 6px;
}

.neo-immo-card p {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--neo-muted);
}

@media (max-width: 1080px) {
    .neo-hero,
    .neo-ad-row,
    .neo-portal-grid,
    .neo-content-band,
    .neo-immo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .neo-service-card.large,
    .neo-trust-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .neo-hero,
    .neo-search,
    .neo-ad-row,
    .neo-portal-grid,
    .neo-content-band,
    .neo-immo-grid,
    .neo-trust-list {
        grid-template-columns: 1fr;
    }

    .neo-hero {
        padding-top: 32px;
    }

    .neo-hero-copy,
    .neo-spotlight-ad,
    .neo-trust-panel,
    .neo-side-ad {
        border-radius: 24px;
        padding: 24px;
    }

    .neo-hero h1 {
        font-size: 52px;
    }

    .neo-service-card.large {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* HOME REFRESH - MODERN COMPARISON PORTAL */
body:has(.neo-home) {
    background: #06101d;
}

.neo-home {
    --neo-bg: #06101d;
    --neo-panel: rgba(12, 26, 47, .78);
    --neo-card: rgba(16, 32, 58, .86);
    --neo-blue: #159bff;
    --neo-deep: #211b86;
    --neo-green: #20c46b;
    --neo-gold: #ffb21f;
    --neo-cyan: #35e4ff;
    --neo-text: #f8fbff;
    --neo-muted: #b9c7db;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(6,16,29,.92), rgba(8,18,34,.72)),
        radial-gradient(circle at 14% 12%, rgba(21,155,255,.42), transparent 30%),
        radial-gradient(circle at 78% 6%, rgba(32,196,107,.24), transparent 28%),
        radial-gradient(circle at 58% 62%, rgba(33,27,134,.45), transparent 38%),
        #06101d;
}

.neo-home::before,
.neo-home::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.neo-home::before {
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.neo-home::after {
    width: 520px;
    height: 520px;
    right: -170px;
    top: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,155,255,.32), rgba(33,27,134,.08), transparent 68%);
    filter: blur(4px);
}

.neo-hero {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
    padding-top: 46px;
}

.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(154, 211, 255, .18);
    background:
        linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.045)),
        rgba(8, 18, 34, .74);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.10);
}

.neo-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--neo-blue), var(--neo-cyan), var(--neo-green));
}

.neo-kicker {
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(121,201,255,.22);
    border-radius: 999px;
    background: rgba(21,155,255,.10);
    color: #9ddeff;
}

.neo-hero h1 {
    max-width: 930px;
    background: linear-gradient(135deg, #ffffff 10%, #98dcff 52%, #ffffff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 24px 70px rgba(21,155,255,.24);
}

.neo-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.neo-hero-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #e9f6ff;
    font-weight: 900;
    font-size: 13px;
}

.neo-search {
    grid-template-columns: minmax(230px, 1fr) minmax(220px, 260px) 200px;
    gap: 10px;
    padding: 11px;
    border-radius: 28px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(175, 218, 255, .25);
    box-shadow: 0 24px 70px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.12);
}

.neo-search input,
.neo-search select {
    height: 62px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    background: rgba(248,251,255,.96);
    color: #071527;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.neo-search input:focus,
.neo-search select:focus {
    border-color: var(--neo-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.18), inset 0 1px 0 rgba(255,255,255,.85);
    transform: translateY(-1px);
}

.neo-search select {
    cursor: pointer;
    appearance: auto;
    background-color: #f8fbff;
}

.neo-search button,
.neo-spotlight-ad a {
    min-height: 62px;
    border-radius: 20px;
    background: linear-gradient(135deg, #159bff 0%, #246ce8 45%, #211b86 100%);
    box-shadow: 0 16px 34px rgba(21,155,255,.30);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.neo-search button:hover,
.neo-search button:focus-visible,
.neo-spotlight-ad a:hover,
.neo-spotlight-ad a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(21,155,255,.42);
    filter: saturate(1.12);
    outline: none;
}

.neo-spotlight-ad {
    background:
        radial-gradient(circle at 88% 2%, rgba(255,178,31,.44), transparent 36%),
        radial-gradient(circle at 0% 92%, rgba(21,155,255,.20), transparent 42%),
        rgba(12, 26, 47, .82);
}

.neo-ad-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(255,255,255,.14);
}

.neo-ad-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -54px;
    top: -54px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}

.neo-ad-card.blue { background: linear-gradient(135deg, #116ed0, #14233c 74%); }
.neo-ad-card.gold { background: linear-gradient(135deg, #b0710a, #17243b 74%); }
.neo-ad-card.green { background: linear-gradient(135deg, #0b9560, #14233c 74%); }

.neo-service-card {
    border-color: rgba(154, 211, 255, .14);
    background:
        linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
        rgba(16, 32, 58, .88);
}

.neo-service-card.large {
    background:
        radial-gradient(circle at 84% 8%, rgba(21,155,255,.34), transparent 34%),
        radial-gradient(circle at 8% 92%, rgba(32,196,107,.18), transparent 35%),
        linear-gradient(135deg, #173158, #0d1c33);
}

.neo-service-card:hover,
.neo-ad-card:hover,
.neo-immo-card:hover {
    transform: translateY(-7px);
    border-color: rgba(88,190,255,.62);
    box-shadow: 0 32px 82px rgba(21,155,255,.20);
}

.neo-trust-list span {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.075);
}

.neo-immo-card {
    border-color: rgba(154, 211, 255, .14);
    background: rgba(16, 32, 58, .90);
}

@media (max-width: 720px) {
    .neo-search {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .neo-search input,
    .neo-search select,
    .neo-search button {
        width: 100%;
    }

    .neo-hero-badges span {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* UNIFIED DARK YOP PORTAL DESIGN FOR ALL SECTIONS */
body:has(.estate-page),
body:has(.insurance-page),
body:has(.kfz-page),
body:has(.portal-shell),
body:has(.jobs-shell),
body:has(.agri-estate-style) {
    background: #06101d;
}

.estate-page,
.insurance-page,
.kfz-page,
.agri-estate-style,
.portal-shell,
.jobs-shell {
    --yop-dark-bg: #06101d;
    --yop-dark-panel: rgba(12, 26, 47, .82);
    --yop-dark-card: rgba(16, 32, 58, .90);
    --yop-dark-line: rgba(154, 211, 255, .18);
    --yop-dark-text: #f8fbff;
    --yop-dark-muted: #b9c7db;
    --yop-dark-blue: #159bff;
    --yop-dark-deep: #211b86;
    --yop-dark-green: #20c46b;
    color: var(--yop-dark-text);
}

.estate-page,
.insurance-page,
.kfz-page,
.agri-estate-style {
    background:
        linear-gradient(115deg, rgba(6,16,29,.95), rgba(8,18,34,.78)),
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.34), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(32,196,107,.18), transparent 28%),
        radial-gradient(circle at 58% 58%, rgba(33,27,134,.42), transparent 40%),
        #06101d !important;
}

.portal-shell,
.jobs-shell {
    position: relative;
    max-width: 1240px;
    margin-top: 0;
    color: var(--yop-dark-text);
}

.portal-shell::before,
.jobs-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, rgba(6,16,29,.95), rgba(8,18,34,.78)),
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.34), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(32,196,107,.18), transparent 28%),
        #06101d;
}

.estate-page::before,
.insurance-page::before,
.kfz-page::before,
.agri-estate-style::before {
    content: "";
    position: fixed;
    inset: 74px 0 0;
    pointer-events: none;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.estate-topbar,
.insurance-topbar,
.kfz-topbar,
.agri-estate-topbar,
.portal-topbar,
.jobs-topbar,
.agri-filter-topbar,
.agri-header {
    border-bottom: 1px solid rgba(154,211,255,.18) !important;
    background: rgba(6,16,29,.86) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.24) !important;
    backdrop-filter: blur(18px);
}

.estate-nav a,
.insurance-topbar nav a,
.portal-topbar nav a,
.jobs-topbar nav a,
.agri-estate-nav a,
.kfz-topbar nav a {
    color: #f8fbff !important;
}

.estate-nav a:hover,
.insurance-topbar nav a:hover,
.portal-topbar nav a:hover,
.jobs-topbar nav a:hover,
.agri-estate-nav a:hover,
.kfz-topbar nav a:hover {
    color: #79c9ff !important;
}

.estate-results-hero,
.estate-expose,
.insurance-hero,
.insurance-section,
.kfz-shell,
.agri-estate-shell,
.portal-shell,
.jobs-shell {
    position: relative;
    z-index: 1;
}

.estate-results-hero h1,
.estate-detail-main h1,
.estate-section h2,
.insurance-hero h1,
.insurance-section h2,
.kfz-page h1,
.kfz-page h2,
.agri-estate-style h1,
.agri-estate-style h2,
.portal-hero-card h1,
.jobs-hero h1,
.job-card h2 {
    color: #f8fbff !important;
}

.estate-sort,
.estate-card-body p,
.estate-card-body small,
.estate-keyfacts span,
.estate-section p,
.estate-note,
.estate-spec-grid span,
.estate-cost-grid span,
.insurance-page p,
.insurance-page li,
.kfz-page p,
.agri-estate-style p,
.portal-hero-card p,
.portal-filter-card label,
.jobs-hero p,
.job-card p,
.job-detail-panel p {
    color: var(--yop-dark-muted) !important;
}

.estate-filter-form,
.estate-contact-card,
.estate-result-card,
.estate-map-panel,
.estate-section,
.estate-gallery,
.insurance-hero-copy,
.insurance-quote-card,
.insurance-card,
.insurance-step,
.kfz-form-panel,
.kfz-trust-panel,
.kfz-result-card,
.agri-hero-panel,
.agri-estate-filter-form,
.agri-estate-card,
.agri-map-panel,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.jobs-hero,
.job-card,
.job-detail-panel,
.agri-top-products,
.agri-price-compare,
.agri-compare-header,
.agri-compare-table,
.agri-compare-row {
    border: 1px solid var(--yop-dark-line) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)),
        var(--yop-dark-card) !important;
    box-shadow: 0 28px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08) !important;
    color: var(--yop-dark-text) !important;
}

.estate-filter-form,
.agri-estate-filter-form,
.portal-search,
.jobs-search {
    border-radius: 28px;
    padding: 12px;
    background: rgba(255,255,255,.13) !important;
}

.estate-filter-form input,
.estate-filter-form select,
.insurance-page input,
.insurance-page select,
.kfz-page input,
.kfz-page select,
.agri-estate-filter-form input,
.agri-estate-filter-form select,
.portal-search input,
.jobs-search input,
.portal-filter-card input,
.portal-filter-card select {
    min-height: 54px;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 16px !important;
    background: rgba(248,251,255,.96) !important;
    color: #071527 !important;
    font-weight: 750;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.estate-filter-form button,
.estate-contact-card button,
.estate-plus-box button,
.insurance-page button,
.insurance-page .insurance-primary,
.kfz-page button,
.agri-estate-filter-form button,
.agri-shop-button,
.portal-search button,
.jobs-search button,
.portal-offer-row a,
.job-card button,
.job-detail-panel a {
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #159bff 0%, #246ce8 45%, #211b86 100%) !important;
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(21,155,255,.30) !important;
    font-weight: 950 !important;
}

.estate-filter-form button:hover,
.estate-contact-card button:hover,
.insurance-page button:hover,
.kfz-page button:hover,
.agri-estate-filter-form button:hover,
.portal-search button:hover,
.jobs-search button:hover,
.portal-offer-row a:hover,
.job-card button:hover,
.job-detail-panel a:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(21,155,255,.42) !important;
}

.estate-result-card,
.agri-estate-card,
.job-card,
.portal-offer-row,
.kfz-result-card,
.agri-compare-row {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.estate-result-card:hover,
.agri-estate-card:hover,
.job-card:hover,
.kfz-result-card:hover,
.agri-compare-row:hover {
    transform: translateY(-5px);
    border-color: rgba(88,190,255,.62) !important;
    box-shadow: 0 32px 82px rgba(21,155,255,.20) !important;
}

.estate-card-image,
.estate-gallery,
.agri-estate-image,
.kfz-result-image {
    border-radius: 24px;
    overflow: hidden;
}

.estate-badge,
.estate-chip,
.estate-tags span,
.agri-estate-chip,
.insurance-badge,
.portal-rating,
.agri-offer-price em,
.agri-payment-tags span {
    border: 1px solid rgba(121,201,255,.20) !important;
    background: rgba(21,155,255,.12) !important;
    color: #dff4ff !important;
}

.estate-chip.active,
.estate-chip:hover,
.agri-estate-chip.active,
.agri-estate-chip:hover {
    border-color: rgba(88,190,255,.62) !important;
    background: linear-gradient(135deg, rgba(21,155,255,.26), rgba(33,27,134,.22)) !important;
    color: #fff !important;
}

.estate-keyfacts .highlight strong,
.estate-keyfacts strong,
.estate-card-facts strong,
.estate-spec-grid strong,
.estate-cost-grid strong,
.estate-contact-card strong,
.portal-offer-row strong,
.agri-offer-price strong,
.agri-shop-rating strong,
.agri-top-products b,
.job-card strong,
.job-detail-panel strong {
    color: #f8fbff !important;
}

.estate-keyfacts .highlight strong,
.agri-offer-price strong:first-child {
    background: linear-gradient(135deg, #159bff, #211b86) !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 3px 8px;
}

.estate-section,
.estate-contact-card hr,
.estate-plus-box,
.portal-offers-head,
.portal-offer-row,
.agri-compare-table-head,
.agri-compare-row {
    border-color: rgba(154, 211, 255, .16) !important;
}

.portal-offers-head,
.agri-compare-table-head {
    background: rgba(255,255,255,.07) !important;
    color: #f8fbff !important;
}

.estate-map-panel {
    background: rgba(16, 32, 58, .70) !important;
}

.estate-map-button {
    background: rgba(255,255,255,.95) !important;
    color: #211b86 !important;
}

.estate-page a,
.insurance-page a,
.kfz-page a,
.agri-estate-style a,
.portal-shell a,
.jobs-shell a {
    color: #79c9ff;
}

@media (max-width: 720px) {
    .estate-filter-form,
    .agri-estate-filter-form,
    .portal-search,
    .jobs-search {
        border-radius: 24px;
    }
}

/* LIGHTER YOP PORTAL BACKGROUND FOR BETTER LOGO VISIBILITY */
body:has(.neo-home),
body:has(.estate-page),
body:has(.insurance-page),
body:has(.kfz-page),
body:has(.portal-shell),
body:has(.jobs-shell),
body:has(.agri-estate-style) {
    background: #eef6ff;
}

.neo-home,
.estate-page,
.insurance-page,
.kfz-page,
.agri-estate-style {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.18), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(32,196,107,.13), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #e9f2ff 100%) !important;
    color: #071527;
}

.portal-shell::before,
.jobs-shell::before {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.18), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(32,196,107,.13), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #e9f2ff 100%) !important;
}

.yop-global-nav,
.estate-topbar,
.insurance-topbar,
.kfz-topbar,
.agri-estate-topbar,
.portal-topbar,
.jobs-topbar,
.agri-filter-topbar,
.agri-header {
    background: rgba(255,255,255,.94) !important;
    border-bottom: 1px solid #dbe7f6 !important;
    box-shadow: 0 12px 34px rgba(33,27,134,.08) !important;
}

.yop-global-nav a,
.estate-nav a,
.insurance-topbar nav a,
.portal-topbar nav a,
.jobs-topbar nav a,
.agri-estate-nav a,
.kfz-topbar nav a {
    color: #071527 !important;
}

.yop-global-nav a:hover,
.estate-nav a:hover,
.insurance-topbar nav a:hover,
.portal-topbar nav a:hover,
.jobs-topbar nav a:hover,
.agri-estate-nav a:hover,
.kfz-topbar nav a:hover {
    color: #159bff !important;
}

.estate-page::before,
.insurance-page::before,
.kfz-page::before,
.agri-estate-style::before {
    opacity: .10;
    background-image:
        linear-gradient(rgba(21,155,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21,155,255,.16) 1px, transparent 1px);
}

.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad,
.estate-filter-form,
.estate-contact-card,
.estate-result-card,
.estate-map-panel,
.estate-section,
.estate-gallery,
.insurance-hero-copy,
.insurance-quote-card,
.insurance-card,
.insurance-step,
.kfz-form-panel,
.kfz-trust-panel,
.kfz-result-card,
.agri-hero-panel,
.agri-estate-filter-form,
.agri-estate-card,
.agri-map-panel,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.jobs-hero,
.job-card,
.job-detail-panel,
.agri-top-products,
.agri-price-compare,
.agri-compare-header,
.agri-compare-table,
.agri-compare-row {
    border-color: #dbe7f6 !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,250,255,.92)) !important;
    color: #071527 !important;
    box-shadow: 0 22px 55px rgba(33,27,134,.10), inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.neo-hero h1 {
    background: linear-gradient(135deg, #071527 8%, #159bff 50%, #211b86 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.neo-hero-copy > p:not(.neo-kicker),
.neo-ad-card span,
.neo-service-card p,
.neo-trust-list span,
.neo-side-ad span,
.neo-immo-card p,
.estate-sort,
.estate-card-body p,
.estate-card-body small,
.estate-keyfacts span,
.estate-section p,
.estate-note,
.estate-spec-grid span,
.estate-cost-grid span,
.insurance-page p,
.insurance-page li,
.kfz-page p,
.agri-estate-style p,
.portal-hero-card p,
.portal-filter-card label,
.jobs-hero p,
.job-card p,
.job-detail-panel p {
    color: #5f6f84 !important;
}

.neo-hero h1,
.neo-service-card strong,
.neo-service-card h2,
.neo-section-head h2,
.neo-trust-panel h2,
.neo-spotlight-ad h2,
.neo-side-ad strong,
.neo-immo-card h3,
.estate-results-hero h1,
.estate-detail-main h1,
.estate-section h2,
.insurance-hero h1,
.insurance-section h2,
.kfz-page h1,
.kfz-page h2,
.agri-estate-style h1,
.agri-estate-style h2,
.portal-hero-card h1,
.jobs-hero h1,
.job-card h2,
.estate-keyfacts strong,
.estate-card-facts strong,
.estate-spec-grid strong,
.estate-cost-grid strong,
.estate-contact-card strong,
.portal-offer-row strong,
.agri-offer-price strong,
.agri-shop-rating strong,
.agri-top-products b,
.job-card strong,
.job-detail-panel strong {
    color: #071527 !important;
}

.neo-kicker,
.estate-page a,
.insurance-page a,
.kfz-page a,
.agri-estate-style a,
.portal-shell a,
.jobs-shell a {
    color: #0b72d9 !important;
}

.neo-search,
.estate-filter-form,
.agri-estate-filter-form,
.portal-search,
.jobs-search {
    background: rgba(255,255,255,.72) !important;
    border-color: #dbe7f6 !important;
}

.neo-service-card,
.neo-immo-card {
    background: linear-gradient(145deg, #ffffff, #f4f9ff) !important;
    border-color: #dbe7f6 !important;
}

.neo-ad-card.blue { background: linear-gradient(135deg, #eaf6ff, #ffffff) !important; }
.neo-ad-card.gold { background: linear-gradient(135deg, #fff6df, #ffffff) !important; }
.neo-ad-card.green { background: linear-gradient(135deg, #e9fff4, #ffffff) !important; }
.neo-ad-card strong { color: #071527 !important; }
.neo-ad-card small { background: rgba(21,155,255,.10); color: #0b72d9; }

.neo-spotlight-ad span,
.neo-side-ad small {
    background: rgba(21,155,255,.10);
    color: #0b72d9;
}

/* BALANCED YOP PORTAL BACKGROUND - BETWEEN DARK AND LIGHT */
body:has(.neo-home),
body:has(.estate-page),
body:has(.insurance-page),
body:has(.kfz-page),
body:has(.portal-shell),
body:has(.jobs-shell),
body:has(.agri-estate-style) {
    background: #162b46;
}

.neo-home,
.estate-page,
.insurance-page,
.kfz-page,
.agri-estate-style {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.26), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(32,196,107,.16), transparent 28%),
        radial-gradient(circle at 52% 64%, rgba(33,27,134,.24), transparent 42%),
        linear-gradient(180deg, #1f3e61 0%, #17304f 46%, #132841 100%) !important;
    color: #f8fbff;
}

.portal-shell::before,
.jobs-shell::before {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.26), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(32,196,107,.16), transparent 28%),
        radial-gradient(circle at 52% 64%, rgba(33,27,134,.24), transparent 42%),
        linear-gradient(180deg, #1f3e61 0%, #17304f 46%, #132841 100%) !important;
}

.yop-global-nav,
.estate-topbar,
.insurance-topbar,
.kfz-topbar,
.agri-estate-topbar,
.portal-topbar,
.jobs-topbar,
.agri-filter-topbar,
.agri-header {
    background: rgba(232, 243, 255, .88) !important;
    border-bottom: 1px solid rgba(154,211,255,.42) !important;
    box-shadow: 0 16px 44px rgba(8,18,34,.18) !important;
    backdrop-filter: blur(18px);
}

.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad,
.estate-filter-form,
.estate-contact-card,
.estate-result-card,
.estate-map-panel,
.estate-section,
.estate-gallery,
.insurance-hero-copy,
.insurance-quote-card,
.insurance-card,
.insurance-step,
.kfz-form-panel,
.kfz-trust-panel,
.kfz-result-card,
.agri-hero-panel,
.agri-estate-filter-form,
.agri-estate-card,
.agri-map-panel,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.jobs-hero,
.job-card,
.job-detail-panel,
.agri-top-products,
.agri-price-compare,
.agri-compare-header,
.agri-compare-table,
.agri-compare-row {
    border-color: rgba(154,211,255,.26) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.075)),
        rgba(20, 39, 66, .82) !important;
    color: #f8fbff !important;
    box-shadow: 0 28px 74px rgba(4,10,20,.24), inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.neo-search,
.estate-filter-form,
.agri-estate-filter-form,
.portal-search,
.jobs-search {
    background: rgba(255,255,255,.16) !important;
    border-color: rgba(154,211,255,.28) !important;
}

.neo-service-card,
.neo-immo-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.07)),
        rgba(20, 39, 66, .84) !important;
    border-color: rgba(154,211,255,.24) !important;
}

.neo-ad-card.blue { background: linear-gradient(135deg, #1b73bd, #183553 76%) !important; }
.neo-ad-card.gold { background: linear-gradient(135deg, #9a6b1d, #183553 76%) !important; }
.neo-ad-card.green { background: linear-gradient(135deg, #15764e, #183553 76%) !important; }

.neo-hero h1 {
    background: linear-gradient(135deg, #ffffff 8%, #a7ddff 48%, #d8e9ff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.neo-hero-copy > p:not(.neo-kicker),
.neo-ad-card span,
.neo-service-card p,
.neo-trust-list span,
.neo-side-ad span,
.neo-immo-card p,
.estate-sort,
.estate-card-body p,
.estate-card-body small,
.estate-keyfacts span,
.estate-section p,
.estate-note,
.estate-spec-grid span,
.estate-cost-grid span,
.insurance-page p,
.insurance-page li,
.kfz-page p,
.agri-estate-style p,
.portal-hero-card p,
.portal-filter-card label,
.jobs-hero p,
.job-card p,
.job-detail-panel p {
    color: #c7d5e6 !important;
}

.neo-service-card strong,
.neo-service-card h2,
.neo-section-head h2,
.neo-trust-panel h2,
.neo-spotlight-ad h2,
.neo-side-ad strong,
.neo-immo-card h3,
.estate-results-hero h1,
.estate-detail-main h1,
.estate-section h2,
.insurance-hero h1,
.insurance-section h2,
.kfz-page h1,
.kfz-page h2,
.agri-estate-style h1,
.agri-estate-style h2,
.portal-hero-card h1,
.jobs-hero h1,
.job-card h2,
.estate-keyfacts strong,
.estate-card-facts strong,
.estate-spec-grid strong,
.estate-cost-grid strong,
.estate-contact-card strong,
.portal-offer-row strong,
.agri-offer-price strong,
.agri-shop-rating strong,
.agri-top-products b,
.job-card strong,
.job-detail-panel strong {
    color: #f8fbff !important;
}

.neo-ad-card strong {
    color: #ffffff !important;
}

.neo-kicker,
.estate-page a,
.insurance-page a,
.kfz-page a,
.agri-estate-style a,
.portal-shell a,
.jobs-shell a {
    color: #9ddeff !important;
}

.estate-page::before,
.insurance-page::before,
.kfz-page::before,
.agri-estate-style::before {
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
}

/* DARKER TEXT FOR PILLS AND SECTION NAV LINKS */
.agri-estate-chip,
.estate-chip,
.neo-hero-badges span,
.neo-ad-card small,
.neo-spotlight-ad span,
.neo-side-ad small,
.agri-estate-nav a,
.estate-nav a,
.insurance-topbar nav a,
.portal-topbar nav a,
.jobs-topbar nav a,
.kfz-topbar nav a,
.agri-filter-topbar a,
.agri-header a {
    color: #071527 !important;
    text-shadow: none !important;
}

.agri-estate-chip strong,
.agri-estate-chip span,
.estate-chip strong,
.estate-chip span {
    color: #071527 !important;
}

.agri-estate-chip:hover,
.agri-estate-chip.active,
.estate-chip:hover,
.estate-chip.active {
    color: #071527 !important;
}

.agri-estate-chip:hover *,
.agri-estate-chip.active *,
.estate-chip:hover *,
.estate-chip.active * {
    color: #071527 !important;
}

.agri-estate-nav a:hover,
.estate-nav a:hover,
.insurance-topbar nav a:hover,
.portal-topbar nav a:hover,
.jobs-topbar nav a:hover,
.kfz-topbar nav a:hover,
.agri-filter-topbar a:hover,
.agri-header a:hover {
    color: #0b72d9 !important;
}

/* FORCE AGRI CHIP TEXT TO DARK */
.agri-chip-row .agri-chip,
.agri-chip-row a.agri-chip,
.agri-chip-row span.agri-chip,
.agri-chip-row .agri-chip:visited,
.agri-chip-row .agri-chip.active,
.agri-chip-row .agri-chip:hover,
.agri-chip-row .agri-chip:focus-visible {
    color: #071527 !important;
    background: rgba(255,255,255,.94) !important;
    border-color: rgba(7,21,39,.18) !important;
    text-shadow: none !important;
}

.agri-chip-row .agri-chip *,
.agri-chip-row .agri-chip.active *,
.agri-chip-row .agri-chip:hover * {
    color: #071527 !important;
    text-shadow: none !important;
}

.agri-chip-row .agri-chip:hover,
.agri-chip-row .agri-chip.active {
    box-shadow: 0 12px 28px rgba(21,155,255,.18) !important;
}

/* YOP AUTOS BRANCH */
body:has(.auto-page) {
    background: #162b46;
}

.auto-page {
    --auto-bg: #17304f;
    --auto-panel: rgba(20, 39, 66, .84);
    --auto-line: rgba(154,211,255,.28);
    --auto-text: #f8fbff;
    --auto-muted: #c7d5e6;
    --auto-blue: #159bff;
    --auto-deep: #211b86;
    min-height: 100vh;
    padding: 42px 24px 90px;
    color: var(--auto-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.26), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(32,196,107,.16), transparent 28%),
        linear-gradient(180deg, #1f3e61 0%, #17304f 46%, #132841 100%);
    font-family: "Segoe UI", Arial, sans-serif;
}

.auto-hero,
.auto-search-panel,
.auto-quick-row,
.auto-layout,
.auto-services {
    width: min(1320px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.auto-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
}

.auto-hero-copy,
.auto-sell-card,
.auto-search-panel,
.auto-side-box,
.auto-card,
.auto-empty,
.auto-services article {
    border: 1px solid var(--auto-line);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.075)), var(--auto-panel);
    box-shadow: 0 28px 74px rgba(4,10,20,.24), inset 0 1px 0 rgba(255,255,255,.10);
}

.auto-hero-copy {
    padding: clamp(34px, 5vw, 60px);
}

.auto-logo-link img {
    width: min(210px, 56vw);
    max-height: 100px;
    object-fit: contain;
    display: block;
    margin-bottom: 22px;
}

.auto-eyebrow {
    width: fit-content;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px solid rgba(121,201,255,.24);
    border-radius: 999px;
    background: rgba(21,155,255,.12);
    color: #9ddeff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auto-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(48px, 7vw, 92px);
    line-height: .9;
    letter-spacing: -.08em;
    background: linear-gradient(135deg, #fff 8%, #a7ddff 48%, #d8e9ff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auto-hero p,
.auto-sell-card p,
.auto-side-box a,
.auto-card p,
.auto-price-box span,
.auto-services p,
.auto-results-head span {
    color: var(--auto-muted);
}

.auto-sell-card {
    padding: 30px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255,178,31,.30), transparent 36%),
        linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.07)),
        var(--auto-panel);
}

.auto-sell-card span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-weight: 950;
}

.auto-sell-card h2 {
    margin: 24px 0 12px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.05em;
}

.auto-sell-card a,
.auto-price-box a,
.auto-search-form button {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #159bff 0%, #246ce8 45%, #211b86 100%);
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(21,155,255,.30);
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
}

.auto-search-panel {
    margin-top: 24px;
    padding: 12px;
}

.auto-search-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(130px, 1fr)) 190px;
    gap: 10px;
}

.auto-search-form label {
    color: #e8f4ff;
    font-weight: 900;
    font-size: 13px;
}

.auto-search-form input,
.auto-search-form select {
    width: 100%;
    height: 54px;
    margin-top: 7px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(248,251,255,.96);
    color: #071527;
    padding: 0 13px;
    font-weight: 750;
}

.auto-search-form button {
    align-self: end;
    cursor: pointer;
}

.auto-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.auto-pill {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(7,21,39,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #071527 !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 950;
}

.auto-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.auto-sidebar,
.auto-results {
    display: grid;
    gap: 16px;
    align-content: start;
}

.auto-side-box {
    padding: 22px;
}

.auto-side-box h2,
.auto-results-head h2,
.auto-card h3,
.auto-services h2 {
    margin: 0;
    color: #fff;
}

.auto-brand-list,
.auto-side-box {
    display: grid;
    gap: 10px;
}

.auto-side-box a {
    text-decoration: none;
    font-weight: 850;
}

.auto-results-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
}

.auto-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 190px;
    gap: 20px;
    padding: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.auto-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88,190,255,.62);
    box-shadow: 0 32px 82px rgba(21,155,255,.20);
}

.auto-card-image {
    min-height: 150px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(21,155,255,.38), rgba(33,27,134,.18)),
        linear-gradient(145deg, #dcecff, #ffffff);
    position: relative;
    overflow: hidden;
}

.auto-card-image::after {
    content: "AUTO";
    position: absolute;
    right: 16px;
    bottom: 12px;
    color: rgba(7,21,39,.18);
    font-size: 44px;
    font-weight: 950;
    letter-spacing: -.08em;
}

.auto-card-image span,
.auto-card-image strong {
    position: absolute;
    z-index: 1;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #071527;
    font-weight: 950;
}

.auto-card-image span { top: 14px; }
.auto-card-image strong { bottom: 14px; }
.auto-card-main {
    align-self: center;
}

.auto-card-main h3 {
    font-size: 24px;
    letter-spacing: -.04em;
}

.auto-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.auto-facts span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #e8f4ff;
    font-weight: 850;
}

.auto-price-box {
    align-self: center;
    display: grid;
    gap: 10px;
    justify-items: end;
    text-align: right;
}

.auto-price-box strong {
    color: #fff;
    font-size: 28px;
    letter-spacing: -.04em;
}

.auto-empty {
    padding: 28px;
}

.auto-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.auto-services article {
    padding: 24px;
}

.auto-services span {
    color: #9ddeff;
    font-weight: 950;
}

@media (max-width: 1100px) {
    .auto-hero,
    .auto-layout,
    .auto-services {
        grid-template-columns: 1fr 1fr;
    }
    .auto-hero-copy,
    .auto-search-panel,
    .auto-results {
        grid-column: 1 / -1;
    }
    .auto-search-form,
    .auto-card {
        grid-template-columns: 1fr 1fr;
    }
    .auto-price-box {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 720px) {
    .auto-page {
        padding: 26px 14px 70px;
    }
    .auto-hero,
    .auto-search-form,
    .auto-layout,
    .auto-card,
    .auto-services {
        grid-template-columns: 1fr;
    }
    .auto-hero h1 {
        font-size: 48px;
    }
}

/* SLIGHTLY LIGHTER CARDS - KEEP MID-DARK YOP LOOK */
.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad,
.neo-service-card,
.neo-immo-card,
.estate-filter-form,
.estate-contact-card,
.estate-result-card,
.estate-map-panel,
.estate-section,
.estate-gallery,
.insurance-hero-copy,
.insurance-quote-card,
.insurance-card,
.insurance-step,
.kfz-form-panel,
.kfz-trust-panel,
.kfz-result-card,
.agri-hero-panel,
.agri-estate-filter-form,
.agri-estate-card,
.agri-map-panel,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.jobs-hero,
.job-card,
.job-detail-panel,
.agri-top-products,
.agri-price-compare,
.agri-compare-header,
.agri-compare-table,
.agri-compare-row,
.auto-hero-copy,
.auto-sell-card,
.auto-search-panel,
.auto-side-box,
.auto-card,
.auto-empty,
.auto-services article {
    background:
        linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,255,255,.12)),
        rgba(44, 68, 98, .88) !important;
    border-color: rgba(184, 224, 255, .34) !important;
    box-shadow: 0 24px 64px rgba(4,10,20,.20), inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.neo-service-card.large,
.auto-sell-card,
.neo-spotlight-ad {
    background:
        radial-gradient(circle at 86% 6%, rgba(21,155,255,.24), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.13)),
        rgba(48, 74, 106, .90) !important;
}

.neo-ad-card.blue,
.neo-ad-card.gold,
.neo-ad-card.green {
    filter: brightness(1.08) saturate(1.03);
}

.neo-trust-list span,
.auto-facts span {
    background: rgba(255,255,255,.16) !important;
}

/* YOP-IMMO ACCOUNTS */
.estate-account-shell,
.estate-dashboard-shell,
.estate-editor-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 24px 90px;
}

.estate-account-shell {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 28px;
    align-items: start;
}

.estate-account-shell-narrow {
    max-width: 560px;
    display: block;
}

.estate-account-card,
.estate-dashboard-card,
.estate-editor-card,
.estate-dashboard-hero,
.estate-editor-hero {
    border: 1px solid var(--yop-line);
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff, #f6fbff);
    box-shadow: 0 22px 60px rgba(33, 27, 134, 0.10);
}

.estate-account-card,
.estate-dashboard-card,
.estate-editor-card {
    padding: 28px;
}

.estate-account-intro {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 18% 15%, rgba(21,155,255,0.26), transparent 34%), linear-gradient(135deg, #071527, #193b65 62%, #211b86);
    color: #fff;
}

.estate-account-intro h1,
.estate-account-intro p,
.estate-account-intro .eyebrow {
    color: #fff;
}

.estate-account-card h1,
.estate-dashboard-hero h1,
.estate-editor-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.estate-account-card h2,
.estate-dashboard-card h2,
.estate-editor-card h2 {
    margin: 0 0 18px;
    color: var(--yop-ink);
}

.estate-role-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.estate-role-grid span {
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.24);
    font-weight: 800;
}

.estate-form,
.estate-editor-form {
    display: grid;
    gap: 16px;
}

.estate-form label,
.estate-form-grid label,
.estate-upload-box {
    display: grid;
    gap: 7px;
    color: var(--yop-ink);
    font-weight: 800;
}

.estate-form input,
.estate-form select,
.estate-form textarea,
.estate-form-grid input,
.estate-form-grid select,
.estate-form-grid textarea,
.estate-upload-box input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    border: 1px solid var(--yop-line);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    color: var(--yop-ink);
    font: inherit;
}

.estate-form textarea,
.estate-form-grid textarea {
    min-height: 110px;
    resize: vertical;
}

.estate-form button,
.estate-primary-link,
.estate-editor-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: var(--yop-gradient);
    color: #fff !important;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.estate-form-error {
    color: #c62828;
    font-weight: 700;
}

.estate-account-switch {
    margin: 18px 0 0;
    color: var(--yop-muted);
}

.estate-dashboard-hero,
.estate-editor-hero {
    padding: 34px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.estate-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.estate-messages {
    margin-bottom: 18px;
}

.estate-messages p {
    margin: 0 0 8px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--yop-sky);
    color: var(--yop-indigo);
    font-weight: 800;
}

.estate-table {
    display: grid;
    gap: 8px;
}

.estate-table a {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 100px;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--yop-line);
    text-decoration: none;
    color: var(--yop-ink) !important;
}

.estate-editor-card {
    margin-bottom: 20px;
}

.estate-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.estate-form-grid .wide {
    grid-column: span 3;
}

.estate-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.estate-check-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 999px;
    background: var(--yop-sky);
    color: var(--yop-indigo);
    font-weight: 900;
}

.estate-upload-box {
    padding: 18px;
    border: 1px dashed var(--yop-blue);
    border-radius: 20px;
    background: #fff;
}

.estate-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
}

.estate-editor-actions a {
    color: var(--yop-muted);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {
    .estate-account-shell,
    .estate-dashboard-grid,
    .estate-dashboard-hero,
    .estate-editor-hero,
    .estate-form-grid,
    .estate-check-grid,
    .estate-table a {
        grid-template-columns: 1fr;
    }

    .estate-dashboard-hero,
    .estate-editor-hero {
        align-items: stretch;
    }

    .estate-form-grid .wide {
        grid-column: span 1;
    }
}

/* PROFESSIONAL GLOBAL FOOTER */
.yop-global-footer {
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding: 52px max(24px, calc((100vw - 1180px) / 2)) 24px;
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.20), transparent 34%),
        linear-gradient(135deg, #eef7ff 0%, #f8fbff 44%, #eef1ff 100%);
    border-top: 1px solid rgba(21,155,255,.20);
    color: #071527;
}

.yop-footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 760px;
    margin-bottom: 34px;
}

.yop-footer-brand img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 24px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 16px 40px rgba(21,155,255,.14);
}

.yop-footer-brand strong {
    display: block;
    font-size: clamp(26px, 4vw, 42px);
    letter-spacing: -.05em;
    color: #071527;
}

.yop-footer-brand p,
.yop-footer-columns span,
.yop-footer-bottom {
    color: #526174;
}

.yop-footer-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 22px;
}

.yop-footer-columns section {
    min-height: 160px;
    padding: 24px;
    border: 1px solid rgba(21,155,255,.20);
    border-radius: 26px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 18px 48px rgba(33,27,134,.08);
}

.yop-footer-columns h2 {
    margin: 0 0 14px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #211b86;
}

.yop-footer-columns a,
.yop-footer-bottom a {
    display: block;
    margin: 9px 0;
    color: #006ef5;
    font-weight: 800;
    text-decoration: none;
}

.yop-footer-columns a:hover,
.yop-footer-bottom a:hover {
    color: #211b86;
}

.yop-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(21,155,255,.16);
    font-size: 14px;
}

.yop-footer-bottom a {
    display: inline;
}

.neo-contact-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    max-width: 1320px;
    margin: 28px auto 0;
    padding: 28px 32px;
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.14)),
        rgba(48,74,106,.90);
    box-shadow: 0 24px 64px rgba(4,10,20,.20);
    color: #fff;
}

.neo-contact-strip span {
    color: #9edcff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.neo-contact-strip strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(24px, 4vw, 42px);
    letter-spacing: -.04em;
}

.neo-contact-strip p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.78);
}

.neo-contact-strip a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(21,155,255,.24);
}

@media (max-width: 820px) {
    .yop-footer-brand,
    .neo-contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .neo-contact-strip a {
        width: 100%;
    }
}

/* YOP-AUTO ACCOUNTS AND LISTINGS */
.auto-account-page,
.auto-dashboard-page,
.auto-editor-page,
.auto-detail-page {
    padding: 46px 24px 90px;
}

.auto-account-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 28px;
    align-items: start;
}

.auto-account-shell.narrow {
    max-width: 560px;
    display: block;
}

.auto-account-intro,
.auto-account-card,
.auto-dashboard-hero,
.auto-dashboard-grid article,
.auto-dashboard-list,
.auto-editor-hero,
.auto-editor-card,
.auto-detail-gallery,
.auto-detail-title aside,
.auto-detail-layout article,
.auto-detail-layout aside {
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.13)), rgba(44,68,98,.90);
    box-shadow: 0 24px 64px rgba(4,10,20,.20), inset 0 1px 0 rgba(255,255,255,.16);
    color: #fff;
}

.auto-account-intro,
.auto-account-card,
.auto-dashboard-hero,
.auto-dashboard-grid article,
.auto-dashboard-list,
.auto-editor-hero,
.auto-editor-card,
.auto-detail-title aside,
.auto-detail-layout article,
.auto-detail-layout aside {
    padding: 30px;
}

.auto-account-intro img,
.auto-dashboard-hero img,
.auto-form-logo {
    width: 142px;
    height: auto;
    margin-bottom: 22px;
}

.auto-account-intro h1,
.auto-account-card h1,
.auto-dashboard-hero h1,
.auto-editor-hero h1,
.auto-detail-title h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -.05em;
}

.auto-account-card h2,
.auto-dashboard-grid h2,
.auto-dashboard-list h2,
.auto-editor-card h2,
.auto-detail-layout h2 {
    margin-top: 0;
    color: #fff;
}

.auto-role-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.auto-role-row span,
.auto-detail-facts span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #d8f0ff;
    font-weight: 900;
}

.auto-pro-form,
.auto-editor-form {
    display: grid;
    gap: 16px;
}

.auto-pro-form label,
.auto-form-grid label,
.auto-upload-box {
    display: grid;
    gap: 7px;
    color: #d8f0ff;
    font-weight: 900;
}

.auto-pro-form input,
.auto-pro-form select,
.auto-form-grid input,
.auto-form-grid select,
.auto-form-grid textarea,
.auto-upload-box input {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 15px;
    padding: 12px 14px;
    background: rgba(255,255,255,.95);
    color: #071527;
    font: inherit;
}

.auto-pro-form textarea,
.auto-form-grid textarea {
    min-height: 120px;
    resize: vertical;
}

.auto-pro-form button,
.auto-dashboard-hero a,
.auto-dashboard-list a,
.auto-editor-actions button,
.auto-editor-hero a,
.auto-detail-title aside a,
.auto-detail-layout aside a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff !important;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.auto-pro-form small,
.auto-form-error {
    color: #ffd6d6;
    font-weight: 800;
}

.auto-dashboard-hero,
.auto-editor-hero,
.auto-detail-title {
    max-width: 1180px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.auto-dashboard-grid,
.auto-detail-layout {
    max-width: 1180px;
    margin: 0 auto 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auto-dashboard-list,
.auto-editor-form,
.auto-detail-hero {
    max-width: 1180px;
    margin: 0 auto;
}

.auto-dashboard-list > a,
.auto-dashboard-list > p + a {
    margin-top: 10px;
}

.auto-dashboard-list > a:not(:last-child) {
    display: grid;
    grid-template-columns: 1fr 150px 120px;
    gap: 12px;
    justify-content: stretch;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    margin-bottom: 10px;
}

.auto-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.auto-form-grid .wide {
    grid-column: span 3;
}

.auto-editor-card {
    margin-bottom: 20px;
}

.auto-upload-box {
    padding: 18px;
    border: 1px dashed #9edcff;
    border-radius: 20px;
}

.auto-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
}

.auto-editor-actions a,
.auto-detail-hero > a {
    color: #9edcff;
    font-weight: 900;
    text-decoration: none;
}

.auto-detail-gallery {
    overflow: hidden;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.auto-detail-gallery img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
}

.auto-detail-placeholder {
    display: grid;
    place-items: center;
    gap: 14px;
    color: #d8f0ff;
    font-weight: 900;
}

.auto-detail-placeholder img {
    width: 180px;
    height: auto;
}

.auto-detail-title aside {
    min-width: 280px;
    display: grid;
    gap: 12px;
}

.auto-detail-title aside strong {
    font-size: 34px;
}

.auto-detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 28px;
}

.auto-messages {
    max-width: 1180px;
    margin: 0 auto 18px;
}

.auto-messages p {
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(21,155,255,.18);
    color: #fff;
    font-weight: 900;
}

@media (max-width: 900px) {
    .auto-account-shell,
    .auto-dashboard-hero,
    .auto-editor-hero,
    .auto-dashboard-grid,
    .auto-detail-layout,
    .auto-detail-title,
    .auto-form-grid,
    .auto-dashboard-list > a:not(:last-child) {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .auto-form-grid .wide {
        grid-column: span 1;
    }
}

/* PWA OFFLINE PAGE */
.pwa-offline-page {
    min-height: 72vh;
    display: grid;
    place-items: center;
    padding: 64px 24px;
    background:
        radial-gradient(circle at 20% 18%, rgba(21,155,255,.24), transparent 34%),
        linear-gradient(135deg, #102f4a, #1b3658 54%, #20206f);
}

.pwa-offline-card {
    width: min(560px, 100%);
    padding: 42px;
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.12)), rgba(44,68,98,.88);
    box-shadow: 0 28px 80px rgba(4,10,20,.28);
    color: #fff;
    text-align: center;
}

.pwa-offline-card img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    margin-bottom: 20px;
}

.pwa-offline-card h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1;
    letter-spacing: -.05em;
}

.pwa-offline-card p {
    color: rgba(255,255,255,.78);
}

.pwa-offline-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 16px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}
