:root {
    --bg: #f7f9fc;
    --bg-soft: #eff5ff;
    --paper: #ffffff;
    --text: #12345f;
    --muted: #5f6f8c;
    --line: rgba(18, 52, 95, 0.1);
    --brand: #ff6b00;
    --brand-dark: #e25700;
    --brand-primary: #0b69d1;
    --accent: #0b69d1;
    --accent-dark: #084fa1;
    --hero: linear-gradient(135deg, #ffffff 0%, #f3f8ff 55%, #fff4eb 100%);
    --shadow: 0 24px 60px rgba(12, 48, 97, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(11, 105, 209, 0.08), transparent 28%),
        radial-gradient(circle at left 20%, rgba(255, 107, 0, 0.08), transparent 24%),
        var(--bg);
    color: var(--text);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 2000;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: var(--text);
    color: #fff;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

.required-mark {
    color: #d64545;
    font-weight: 800;
}

.legal-content {
    padding: 2.25rem;
}

.legal-content h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    color: var(--brand);
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid rgba(18, 52, 95, 0.08);
    box-shadow: 0 8px 22px rgba(12, 48, 97, 0.06);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.homepage-advertisements {
    padding-top: 1rem;
}

.home-ad-intro {
    margin-bottom: 1.15rem;
}

.sponsored-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    background: rgba(11, 105, 209, 0.08);
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsored-tag--card {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    z-index: 2;
    background: rgba(18, 52, 95, 0.92);
    color: #fff;
}

.home-ad-intro-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 0.7rem;
}

.home-ad-intro-copy {
    max-width: 900px;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.home-ad-board {
    padding: 1.35rem;
    border: 1px solid rgba(18, 52, 95, 0.09);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(11, 105, 209, 0.09), transparent 26%),
        radial-gradient(circle at bottom left, rgba(255, 107, 0, 0.08), transparent 30%),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(12, 48, 97, 0.12);
}

.home-ad-board-head,
.home-ad-grid-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-ad-board-head {
    margin-bottom: 1.25rem;
}

.home-ad-label {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    background: rgba(11, 105, 209, 0.09);
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-ad-heading,
.home-ad-grid-title {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0;
}

.home-ad-heading {
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    max-width: 760px;
}

.home-ad-primary,
.home-ad-compact,
.home-ad-tile {
    border: 1px solid rgba(18, 52, 95, 0.08);
    background: #fff;
    box-shadow: 0 18px 38px rgba(12, 48, 97, 0.08);
}

.home-ad-primary {
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(11, 105, 209, 0.98) 0%, rgba(20, 121, 226, 0.96) 54%, rgba(255, 107, 0, 0.92) 100%);
    min-height: 100%;
}

.home-ad-primary-content {
    padding: 2.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.home-ad-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-ad-primary-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}

.home-ad-primary-copy {
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    max-width: 540px;
    margin-bottom: 1.5rem;
}

.home-ad-primary-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-ad-note {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
}

.home-ad-primary-media {
    height: 100%;
    min-height: 380px;
    padding: 1rem 1rem 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-ad-media-link,
.home-ad-compact-link,
.home-ad-tile-link {
    color: inherit;
    display: block;
}

.home-ad-media-link:hover,
.home-ad-compact-link:hover,
.home-ad-tile-link:hover {
    color: inherit;
}

.home-ad-primary-media picture {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-ad-primary-image {
    width: 100%;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    display: block;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
}

.home-ad-stack {
    display: grid;
    gap: 1rem;
    height: 100%;
}

.home-ad-compact {
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-ad-compact:hover,
.home-ad-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 46px rgba(12, 48, 97, 0.12);
}

.home-ad-compact-link {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 150px;
}

.home-ad-compact-media {
    padding: 0.75rem;
    background: linear-gradient(180deg, rgba(11, 105, 209, 0.05), rgba(255, 107, 0, 0.04));
}

.home-ad-compact-media picture,
.home-ad-tile-media picture {
    width: 100%;
    height: 100%;
    display: flex;
}

.home-ad-compact-image,
.home-ad-tile-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: #fff;
}

.home-ad-compact-body {
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-ad-compact-kicker,
.home-ad-tile-kicker {
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.home-ad-compact-title,
.home-ad-tile-title {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 0.45rem;
}

.home-ad-compact-title {
    font-size: 1.1rem;
}

.home-ad-compact-copy {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.home-ad-compact-action,
.home-ad-tile-action {
    color: var(--brand-dark);
    font-weight: 700;
}

.home-ad-grid-wrap {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(18, 52, 95, 0.09);
}

.home-ad-grid-head {
    margin-bottom: 1rem;
}

.home-ad-grid-title {
    font-size: 1.2rem;
}

.home-ad-wireframe {
    padding: 1.15rem;
    border: 1px solid rgba(18, 52, 95, 0.08);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.96));
    box-shadow: 0 24px 60px rgba(12, 48, 97, 0.1);
    overflow: hidden;
}

.home-ad-wireframe-row + .home-ad-wireframe-row {
    margin-top: 1rem;
}

.home-ad-extra-grid {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-ad-layout {
    display: grid;
    grid-template-columns: minmax(180px, 300px) minmax(0, 1fr) minmax(180px, 280px);
    grid-template-areas:
        "left center-top right-top"
        "left center-bottom right-bottom";
    gap: 1.25rem;
    align-items: start;
    width: 100%;
}

.home-ad-layout-left {
    grid-area: left;
}

.home-ad-layout-center-top {
    grid-area: center-top;
}

.home-ad-layout-center-bottom {
    grid-area: center-bottom;
}

.home-ad-layout-right-top {
    grid-area: right-top;
}

.home-ad-layout-right-bottom {
    grid-area: right-bottom;
}

.home-ad-layout-left,
.home-ad-layout-center-top,
.home-ad-layout-center-bottom,
.home-ad-layout-right-top,
.home-ad-layout-right-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.home-ad-slot-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: rgba(18, 52, 95, 0.08);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-ad-slot {
    width: 100%;
    border: 2px dashed rgba(18, 52, 95, 0.18);
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(11, 105, 209, 0.04), rgba(255, 107, 0, 0.05)),
        #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.home-ad-slot-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.home-ad-slot-link picture {
    width: 100%;
    height: 100%;
    display: flex;
}

.home-ad-slot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-ad-slot--tower {
    aspect-ratio: 300 / 540;
    min-height: 0;
}

.home-ad-slot--banner {
    aspect-ratio: 970 / 400;
    min-height: 0;
}

.home-ad-slot--banner-small {
    aspect-ratio: 970 / 215;
    min-height: 0;
}

.home-ad-slot--rect {
    aspect-ratio: 280 / 215;
    min-height: 0;
}

.home-ad-extra-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    border: 1px solid rgba(18, 52, 95, 0.08);
    background: #fff;
    box-shadow: 0 10px 28px rgba(12, 48, 97, 0.08);
    padding: 0.3rem;
}

.home-ad-extra-link {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.home-ad-extra-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.home-ad-slot span {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: rgba(18, 52, 95, 0.72);
    text-transform: uppercase;
}

.home-ad-tile {
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-ad-tile-link {
    height: 100%;
}

.home-ad-tile-media {
    height: 170px;
    padding: 0.8rem;
    background: linear-gradient(180deg, rgba(11, 105, 209, 0.05), rgba(255, 107, 0, 0.04));
}

.home-ad-tile-body {
    padding: 1rem 1.1rem 1.15rem;
}

.home-ad-tile-title {
    font-size: 1rem;
    min-height: 2.6rem;
}

.navbar-nav .nav-link {
    color: var(--text);
    font-weight: 600;
    padding: 0.45rem 0.7rem;
    font-size: 0.98rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--brand);
}

.navbar-toggler {
    color: var(--text);
}

.hero-panel,
.soft-card,
.listing-card,
.admin-card,
.auth-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 4rem;
    background:
        radial-gradient(circle at top left, rgba(11, 105, 209, 0.16), transparent 26%),
        radial-gradient(circle at bottom right, rgba(255, 107, 0, 0.14), transparent 26%),
        var(--hero);
    color: var(--text);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(11, 105, 209, 0.1);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -50px -50px auto;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(11, 105, 209, 0.08), rgba(255, 107, 0, 0.14));
    border-radius: 36px;
    transform: rotate(18deg);
}

.display-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.search-card {
    margin-top: -2rem;
    position: relative;
    z-index: 3;
}

.home-hero {
    padding-top: 1.25rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(11, 105, 209, 0.08);
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero-copy {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-points span {
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(18, 52, 95, 0.08);
    color: var(--text);
    font-weight: 600;
}

.advertise-hero .display-title {
    max-width: 760px;
}

.advertise-side-card {
    display: grid;
    gap: 1rem;
}

.advertise-mini-card {
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(18, 52, 95, 0.08);
}

.advertise-mini-card small {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.advertise-mini-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.2rem;
}

.advertise-mini-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.whatsapp-promo,
.whatsapp-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-promo {
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #0f9d58 0%, #18b562 100%);
    color: #fff;
    box-shadow: 0 20px 40px rgba(15, 157, 88, 0.22);
}

.whatsapp-promo:hover,
.whatsapp-inline:hover {
    color: #fff;
    transform: translateY(-2px);
}

.whatsapp-promo strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.whatsapp-promo span span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

.whatsapp-promo-icon,
.whatsapp-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.whatsapp-promo-icon {
    background: rgba(255, 255, 255, 0.16);
}

.whatsapp-inline {
    padding: 0.8rem 1rem;
    background: rgba(15, 157, 88, 0.08);
    color: #0c7e47;
    font-weight: 700;
}

.whatsapp-inline:hover {
    background: rgba(15, 157, 88, 0.14);
    color: #0c7e47;
}

.whatsapp-inline-icon {
    width: 2.6rem;
    height: 2.6rem;
    background: #18b562;
    color: #fff;
}

.whatsapp-promo svg,
.whatsapp-inline svg {
    width: 1.45rem;
    height: 1.45rem;
}

.hero-side-card {
    padding: 1.5rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(18, 52, 95, 0.08);
    box-shadow: 0 20px 50px rgba(12, 48, 97, 0.09);
}

.hero-side-head {
    margin-bottom: 1rem;
}

.hero-side-head small {
    display: block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.hero-side-head strong {
    font-size: 1.15rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stats-mini-card {
    padding: 1.25rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(18, 52, 95, 0.08);
}

.stats-mini-card small {
    display: block;
    color: var(--muted);
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.74rem;
    font-weight: 700;
}

.stats-mini-card strong {
    font-size: 2rem;
    line-height: 1;
}

.search-panel {
    padding: 1.5rem;
    border: 1px solid rgba(18, 52, 95, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 55px rgba(12, 48, 97, 0.12);
}

.search-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.soft-card {
    padding: 1.5rem;
}

.listing-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(27, 23, 19, 0.16);
}

.listing-cover {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    background: linear-gradient(135deg, rgba(11, 105, 209, 0.18), rgba(255, 107, 0, 0.18));
}

.listing-card-text-only {
    min-height: 100%;
}

.listing-card-text-only .p-4 {
    padding-top: 1.6rem !important;
}

.supplier-card {
    overflow: hidden;
}

.supplier-card-media {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(11, 105, 209, 0.12), rgba(255, 107, 0, 0.12));
}

.supplier-card-contact {
    color: var(--text);
    font-weight: 700;
}

.supplier-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.supplier-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(11, 105, 209, 0.08);
    color: var(--accent-dark);
    font-size: 0.84rem;
    font-weight: 700;
}

.supplier-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pagination-compact {
    gap: 0.35rem;
}

.pagination-compact .page-link {
    border-radius: 12px;
    min-width: 44px;
    padding: 0.7rem 0.95rem;
    border-color: rgba(10, 27, 62, 0.12);
    color: var(--accent-dark);
    font-weight: 700;
    box-shadow: none;
}

.pagination-compact .page-item.active .page-link {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.pagination-compact .page-item.disabled .page-link {
    color: rgba(27, 24, 21, 0.42);
    background: #f5f7fb;
}

@media (max-width: 576px) {
    .pagination-compact .page-link {
        min-width: 40px;
        padding: 0.62rem 0.8rem;
        font-size: 0.94rem;
    }
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(11, 105, 209, 0.1);
    color: var(--accent-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.info-list {
    display: grid;
    gap: 0.85rem;
}

.info-item {
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg-soft);
}

.site-footer {
    margin-top: auto;
    background: #1b1815;
    color: rgba(255, 255, 255, 0.86);
}

.footer-title,
.footer-heading {
    color: #fff;
    font-weight: 700;
}

.footer-links li + li {
    margin-top: 0.65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
    color: #fff;
}

.footer-links-cities {
    column-count: 2;
    column-gap: 1.5rem;
}

.footer-links-cities li {
    break-inside: avoid;
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
}

.footer-bottom-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-copy {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.95rem;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.footer-credit a {
    color: #ff8a2a;
    font-weight: 700;
}

.footer-credit a:hover {
    color: #fff;
}

.footer-legal-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal-title {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-legal-links a:hover {
    background: rgba(255, 107, 0, 0.16);
    color: #fff;
}

.admin-body {
    background: #edf4ff;
}

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
        #0d4f9f;
    color: #fff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    width: 170px;
    max-width: 100%;
}

.admin-brand-logo {
    width: 170px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.72);
    padding: 0.8rem 1rem;
    border-radius: 14px;
}

.admin-sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-user {
    margin-top: auto;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.admin-main {
    padding-left: 0.5rem;
}

.admin-card,
.auth-card {
    padding: 1.5rem;
}

.stats-card {
    padding: 1.4rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.stats-card strong {
    display: block;
    font-size: 2.1rem;
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: rgba(30, 30, 30, 0.14);
    padding: 0.85rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(11, 105, 209, 0.45);
    box-shadow: 0 0 0 0.25rem rgba(11, 105, 209, 0.14);
}

.btn-brand {
    background: var(--brand);
    color: #fff;
    border: 0;
}

.btn-brand:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn-outline-primary {
    border-color: rgba(11, 105, 209, 0.22);
    color: var(--accent-dark);
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.empty-state {
    padding: 2rem;
    text-align: center;
    border: 1px dashed rgba(30, 30, 30, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
}

.table thead th {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .hero-panel {
        padding: 2rem;
    }

    .search-card {
        margin-top: 1.25rem;
    }

    .brand-logo {
        width: 125px;
    }

    .home-ad-board {
        padding: 1rem;
    }

    .home-ad-wireframe {
        padding: 1rem;
    }

    .home-ad-layout {
        grid-template-columns: minmax(140px, 190px) minmax(0, 1fr) minmax(140px, 190px);
        grid-template-areas:
            "left center-top right-top"
            "left center-bottom right-bottom";
        gap: 1rem;
    }

    .home-ad-extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-ad-primary-content {
        padding: 2rem;
    }

    .home-ad-primary-media {
        min-height: 280px;
        padding: 0.75rem 0.75rem 1rem;
    }

    .home-ad-compact-link {
        grid-template-columns: 110px minmax(0, 1fr);
    }

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

    .hero-actions,
    .hero-points {
        flex-direction: row;
    }
}

@media (max-width: 767.98px) {
    .display-title {
        font-size: 2.35rem;
    }

    .home-ad-board-head,
    .home-ad-grid-head {
        align-items: stretch;
    }

    .home-ad-heading {
        font-size: 1.35rem;
    }

    .home-ad-primary-content {
        padding: 1.5rem;
    }

    .home-ad-primary-title {
        font-size: 1.85rem;
    }

    .home-ad-primary-copy {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .home-ad-primary-media {
        min-height: 220px;
        padding: 0 0.75rem 0.75rem;
    }

    .home-ad-primary-image {
        max-height: 250px;
    }

    .home-ad-compact-link {
        grid-template-columns: 1fr;
    }

    .home-ad-compact-media {
        height: 180px;
    }

    .home-ad-tile-media {
        height: 200px;
    }

    .home-ad-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "left"
            "center-top"
            "center-bottom"
            "right-top"
            "right-bottom";
        gap: 0.85rem;
    }

    .home-ad-slot--tower,
    .home-ad-slot--banner,
    .home-ad-slot--banner-small {
        aspect-ratio: auto;
        min-height: 0;
    }

    .home-ad-slot--rect {
        aspect-ratio: auto;
        min-height: 0;
    }

    .home-ad-extra-grid {
        grid-template-columns: 1fr;
    }

    .home-ad-slot-link {
        display: block;
        height: auto;
        padding: 0.3rem;
    }

    .home-ad-slot-image {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        background: #fff;
    }

    .home-ad-layout-left,
    .home-ad-layout-center-top,
    .home-ad-layout-center-bottom,
    .home-ad-layout-right-top,
    .home-ad-layout-right-bottom {
        gap: 0.35rem;
    }

    .home-ad-slot-badge {
        font-size: 0.68rem;
        padding: 0.24rem 0.55rem;
    }

    .sponsored-tag {
        margin-bottom: 0.75rem;
    }

    .home-ad-slot span {
        font-size: 0.95rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-points {
        gap: 0.5rem;
    }

    .footer-bottom-main {
        align-items: stretch;
    }

    .footer-links-cities {
        column-count: 1;
    }

    .footer-legal-card {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .home-ad-wireframe {
        padding: 0.75rem;
    }

    .home-ad-intro {
        margin-bottom: 0.85rem;
    }

    .home-ad-intro-title {
        font-size: 1.55rem;
    }

    .home-ad-intro-copy {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .home-ad-extra-grid {
        grid-template-columns: 1fr;
    }

    .home-ad-extra-link {
        aspect-ratio: 4 / 3;
    }
}
