:root {
    --bg: #101719;
    --surface: #172124;
    --surface-2: #1c292b;
    --white: #f5f4ef;
    --muted: #a5adab;
    --gold: #c9a66b;
    --gold-light: #e1c18d;
    --emerald: #2dd4bf;
    --blue: #60a5fa;
    --line: rgba(255,255,255,.13);
}

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

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

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

/* Inline SVG icons inherit the surrounding text color instead of default black */
svg.svg-icon,
svg.svg-icon-lg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

svg.svg-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

svg.svg-icon-lg {
    width: 120px;
    height: 120px;
}

/* Keep filled glyphs filled, but use the inherited text color */
.service-symbol svg polygon {
    fill: currentColor;
    stroke: none;
}

/* ========================================================================== */
/* HEADER & NAVIGATION                                                        */
/* ========================================================================== */

.header {
    height: 82px;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 23, 25, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 200;
    transition: box-shadow .3s ease;
}

.header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-icon {
    color: var(--gold);
    font-size: 30px;
}

.logo small {
    display: block;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 2.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8cecb;
    font-size: 13.5px;
    font-weight: 500;
    transition: .25s;
    white-space: nowrap;
}

.nav a:hover,
.nav a.active {
    color: var(--gold);
}

.nav a.nav-highlight {
    color: var(--gold);
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    padding: 8px 10px;
    background: #1c292b;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
}

.lang-btn:hover {
    background: var(--gold);
    color: #101719;
}

.ad-card-stars {
    font-size: 11px;
    color: #fbbf24;
    font-weight: 700;
    margin-top: 2px;
}

.rating-box {
    margin: 8px 0 12px;
    padding: 8px 12px;
    background: #101719;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rating-stars-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.star-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #4b5563;
    cursor: pointer;
    line-height: 1;
    transition: transform .15s, color .15s;
}

.star-btn.filled,
.star-btn:hover {
    color: #fbbf24;
    transform: scale(1.15);
}

.lightbox-admin-actions {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-admin-edit {
    padding: 8px 16px;
    background: rgba(201, 166, 107, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
}

.btn-admin-del {
    padding: 8px 16px;
    background: rgba(248, 113, 113, 0.16);
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fca5a5;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    transition: .25s;
    white-space: nowrap;
}

.header-btn:hover {
    background: var(--gold);
    color: #101719;
}

.header-btn-secondary {
    padding: 10px 14px;
    background: var(--gold);
    color: #101719;
    font-size: 12px;
    font-weight: 700;
    transition: .25s;
    white-space: nowrap;
}

.header-btn-secondary:hover {
    background: var(--gold-light);
}

.menu-toggle {
    display: none;
    background: #1c292b;
    border: 1px solid var(--line);
    color: var(--gold);
    width: 42px;
    height: 42px;
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* ========================================================================== */
/* HERO SECTION                                                               */
/* ========================================================================== */

.hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 90px 8%;
    position: relative;
    background:
      linear-gradient(90deg, rgba(10,17,18,.96), rgba(10,17,18,.72), rgba(10,17,18,.28)),
      url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600') center/cover;
}

.hero-content {
    max-width: 760px;
    position: relative;
    z-index: 2;
    animation: appear .8s ease;
}

.eyebrow, .section-label {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2.8px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1 {
    font-family: Manrope, sans-serif;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: 1.14;
    margin: 20px 0;
    font-weight: 800;
}

.hero h1 span, h2 span {
    color: var(--gold);
}

.hero-content > p {
    max-width: 560px;
    color: #c3ccca;
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gold);
    color: #111819;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.45);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-bottom {
    position: absolute;
    bottom: 22px;
    left: 8%;
    right: 8%;
    display: flex;
    justify-content: space-between;
    color: #d0d0c9;
    font-size: 10px;
    letter-spacing: 2px;
}

.section {
    padding: 95px 8%;
}

h2 {
    font-family: Manrope, sans-serif;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.2;
}

/* ========================================================================== */
/* E'LONLAR BIRJASI (ARXITEKTORLAR VA XARIDORLAR)                             */
/* ========================================================================== */

.ads-section {
    background: #131c1e;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 82px;
}

.ads-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-top: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ads-subtitle {
    color: var(--muted);
    max-width: 620px;
    margin-top: 12px;
    font-size: 15px;
}

.btn-post-ad {
    padding: 16px 26px;
    font-size: 14px;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(201, 166, 107, 0.22);
}

.ads-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    background: #182326;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.ads-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ad-tab {
    background: #202e31;
    color: #d0d6d4;
    border: 1px solid var(--line);
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .25s;
    font-family: inherit;
}

.ad-tab:hover {
    border-color: var(--gold);
    color: var(--white);
}

.ad-tab.active {
    background: var(--gold);
    color: #101719;
    border-color: var(--gold);
    font-weight: 700;
}

.tab-badge {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
}

.ads-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-terms {
    padding: 15px 20px;
    border-radius: 4px;
}

.ads-filters {
    display: grid;
    grid-template-columns: 230px 260px 1fr;
    gap: 10px;
}

.ads-filters select,
.ads-filters input {
    padding: 13px 15px;
    background: #101719;
    border: 1px solid var(--line);
    color: var(--white);
    font-size: 14px;
    border-radius: 4px;
}

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

.ads-loading,
.ads-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 44px 22px;
    background: #182326;
    border: 1px dashed var(--gold);
    color: var(--muted);
    border-radius: 8px;
}

.empty-state-title {
    color: var(--white);
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-state-sub {
    color: #c2cac8;
    font-size: 13.5px;
    max-width: 460px;
    margin: 0 auto 16px;
}

.verified-ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(45, 212, 191, 0.16);
    border: 1px solid rgba(45, 212, 191, 0.45);
    color: #5eead4;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.ad-card {
    background: #1a2629;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .25s;
    position: relative;
}

.ad-card.ad-card-top-vip {
    border: 1.5px solid var(--gold);
    box-shadow: 0 0 22px rgba(201, 166, 107, 0.22);
    background: linear-gradient(180deg, #212f31 0%, #182326 100%);
}

.ad-top-ribbon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #e5c384, #b88c46);
    color: #101719;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 4;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.ad-card-media {
    width: 100%;
    height: 155px;
    background: #121b1d;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

/* Buyer automatic "E'LON" image banner */
.buyer-ad-banner {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(201, 166, 107, 0.28), transparent 55%),
        linear-gradient(135deg, #121c1f 0%, #1d2d31 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px;
    text-align: center;
}

.buyer-ad-stamp {
    background: var(--gold);
    color: #101719;
    font-family: Manrope, sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.buyer-ad-banner-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Specialist 1 or 2 photos grid */
.spec-photos-1,
.spec-photos-2 {
    width: 100%;
    height: 100%;
    display: grid;
}

.spec-photos-1 {
    grid-template-columns: 1fr;
}

.spec-photos-2 {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.spec-photos-1 img,
.spec-photos-2 img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
}

.ad-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 10px;
}

.ad-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.ad-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ad-role-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.4px;
}

.ad-role-specialist {
    background: rgba(201, 166, 107, 0.18);
    color: var(--gold-light);
    border: 1px solid rgba(201, 166, 107, 0.4);
}

.ad-role-client {
    background: rgba(96, 165, 250, 0.16);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.38);
}

.ad-region {
    color: var(--muted);
    font-size: 12px;
}

.ad-cat-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.ad-card h3 {
    font-family: Manrope, sans-serif;
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--white);
}

.ad-desc {
    color: #c2cac8;
    font-size: 13.5px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-meta {
    border-top: 1px solid var(--line);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ad-price {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 14px;
}

.ad-author {
    color: var(--muted);
    font-size: 12px;
}

.ad-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ad-btn-call,
.ad-btn-tg {
    text-align: center;
    padding: 10px 12px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 4px;
    transition: .2s;
}

.ad-btn-call {
    background: var(--gold);
    color: #101719;
}

.ad-btn-call:hover {
    background: var(--gold-light);
}

.ad-btn-tg {
    background: #233438;
    color: var(--white);
    border: 1px solid var(--line);
}

.ad-btn-tg:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ========================================================================== */
/* MODAL DIALOG (E'LON QO'SHISH)                                              */
/* ========================================================================== */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 12, 0.82);
    backdrop-filter: blur(6px);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    background: #172225;
    border: 1px solid var(--gold);
    border-radius: 8px;
    max-width: 620px;
    width: 100%;
    padding: 28px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-family: Manrope, sans-serif;
    font-size: 22px;
    margin-top: 4px;
}

.modal-close {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--white);
    width: 36px;
    height: 36px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 4px;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.role-option input {
    display: none;
}

.role-box {
    display: block;
    padding: 14px;
    background: #101719;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: .2s;
}

.role-box strong {
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
}

.role-box small {
    color: var(--muted);
    font-size: 11.5px;
}

.role-option input:checked + .role-box {
    border-color: var(--gold);
    background: rgba(201, 166, 107, 0.14);
}

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

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

.work-type-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.work-pill {
    padding: 8px 14px;
    background: #141e20;
    color: #c6cfcd;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: .2s;
}

.work-pill:hover {
    border-color: var(--gold);
    color: var(--white);
}

.work-pill.active {
    background: rgba(201, 166, 107, 0.22);
    border-color: var(--gold);
    color: var(--gold-light);
    font-weight: 700;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
}

.budget-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.btn-kelishamiz {
    padding: 0 18px;
    background: #233438;
    color: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-kelishamiz:hover {
    background: var(--gold);
    color: #101719;
}

.specialist-extra {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
}

.photo-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.photo-upload-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.board-toggle-bar {
    margin-bottom: 14px;
}

.board-collapse-btn {
    width: 100%;
    padding: 14px 18px;
    background: #1c2a2d;
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--white);
    font-family: inherit;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: .2s;
}

.board-collapse-btn:hover {
    background: #233438;
}

.board-collapse-btn strong {
    color: var(--gold-light);
    font-size: 12.5px;
}

.ads-board-container.collapsed {
    display: none;
}

.ad-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.ad-avatar-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
    background: #101719;
    flex-shrink: 0;
}

.ad-brand-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-social-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ad-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 4px;
    background: #121c1e;
    border: 1px solid var(--line);
    color: #d6dedc;
    transition: .2s;
}

.ad-social-chip:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.ad-social-chip.chip-tg {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
}

.ad-social-chip.chip-ig {
    background: rgba(244, 114, 182, 0.14);
    border-color: rgba(244, 114, 182, 0.35);
    color: #f9a8d4;
}

.ad-social-chip.chip-tel {
    background: rgba(201, 166, 107, 0.18);
    border-color: rgba(201, 166, 107, 0.45);
    color: var(--gold-light);
}

/* Profile Dashboard */
.profile-card-editor {
    background: #101719;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
}

.profile-avatar-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.profile-avatar-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px dashed var(--gold);
    background: #182326;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.profile-avatar-circle input {
    display: none;
}

.profile-avatar-circle span {
    font-size: 22px;
    background: rgba(0,0,0,0.45);
    padding: 4px 6px;
    border-radius: 50%;
}

.profile-brand-inputs {
    flex: 1;
}

.profile-ads-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-ad-item {
    background: #101719;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-ad-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.st-badge-active {
    background: rgba(45, 212, 191, 0.16);
    color: #5eead4;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.st-badge-inactive {
    background: rgba(248, 113, 113, 0.16);
    color: #fca5a5;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.profile-ad-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-ad-actions button {
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--line);
    background: #1d2c2f;
    color: var(--white);
}

.profile-ad-actions button:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.lightbox-author-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lightbox-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.photo-upload-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 78px;
    padding: 10px;
    background: #101719;
    border: 1px dashed var(--gold);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--gold-light);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.photo-upload-box input {
    display: none;
}

.photo-upload-box span {
    background: rgba(16, 23, 25, 0.78);
    padding: 4px 8px;
    border-radius: 4px;
}

.tariff-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tariff-option input {
    display: none;
}

.tariff-box {
    display: block;
    padding: 11px 8px;
    background: #101719;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}

.tariff-box strong {
    display: block;
    color: var(--gold-light);
    font-size: 14px;
    margin-bottom: 3px;
}

.tariff-box small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.3;
}

.tariff-option input:checked + .tariff-box {
    border-color: var(--gold);
    background: rgba(201, 166, 107, 0.18);
    box-shadow: 0 0 12px rgba(201, 166, 107, 0.25);
}

.payment-card-box {
    background: #101719;
    border: 1px solid var(--gold);
    border-radius: 6px;
    padding: 14px;
}

.payment-card-title {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 700;
}

.payment-card-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.payment-card-number-row code {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1.2px;
}

.btn-copy-card {
    padding: 6px 12px !important;
    font-size: 12px !important;
    background: #233438 !important;
    color: var(--gold-light) !important;
    border: 1px solid var(--gold) !important;
}

.payment-card-owner {
    font-size: 13.5px;
    color: #d6dcd9;
    margin-bottom: 6px;
}

.payment-card-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45;
}

.receipt-upload-wrap {
    margin-top: 12px;
}

.receipt-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 64px;
    padding: 12px;
    background: #1a2c30;
    border: 2px dashed var(--gold);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gold-light);
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.receipt-upload-btn:hover {
    background-color: #22383d;
}

.receipt-upload-btn input {
    display: none;
}

.receipt-upload-btn span {
    background: rgba(16, 23, 25, 0.85);
    padding: 6px 12px;
    border-radius: 4px;
}

.spec-photos-1 img,
.spec-photos-2 img {
    cursor: zoom-in;
}

/* Lightbox Modal */
.lightbox-card {
    background: #131c1e;
    border: 1px solid var(--gold);
    border-radius: 8px;
    max-width: 780px;
    width: 100%;
    padding: 16px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lightbox-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.lightbox-top h4 {
    font-family: Manrope, sans-serif;
    font-size: 17px;
    color: var(--gold-light);
}

.lightbox-img-wrap {
    width: 100%;
    max-height: 68vh;
    background: #0b1011;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 68vh;
    object-fit: contain;
    display: block;
}

.lightbox-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.lightbox-nav-btn {
    padding: 8px 18px;
    background: #1e2d30;
    color: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.lightbox-nav-btn.active {
    background: var(--gold);
    color: #101719;
    border-color: var(--gold);
}

.lightbox-footer p {
    font-size: 13.5px;
    color: #c8d0ce;
    text-align: center;
}

.terms-free-banner {
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.35);
    padding: 14px;
    border-radius: 6px;
}

.terms-free-banner strong {
    color: #5eead4;
    display: block;
    margin-bottom: 4px;
}

.terms-free-banner p {
    font-size: 13px;
    color: #d0d8d6;
}

.terms-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.terms-list li {
    background: #101719;
    border: 1px solid var(--line);
    padding: 12px;
    border-radius: 6px;
}

.terms-list li strong {
    display: block;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 2px;
}

.terms-list li span {
    font-size: 12.5px;
    color: var(--muted);
}

/* ========================================================================== */
/* EXISTING SECTIONS (ABOUT, SERVICES, PROJECTS, ORDER, CONTACT)              */
/* ========================================================================== */

.about-grid, .section-heading, .order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    margin-top: 30px;
}

.about-text {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 25px;
}

.text-link {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.stats div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stats strong {
    color: var(--gold);
    font-size: 34px;
    font-family: Manrope, sans-serif;
}

.stats span {
    color: var(--muted);
    font-size: 12px;
}

.services {
    background: #151e20;
}

.section-heading {
    align-items: end;
    margin-bottom: 40px;
}

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

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

.service-card {
    background: #1c292b;
    border: 1px solid var(--line);
    padding: 26px 22px;
    min-height: 255px;
    transition: .3s;
    border-radius: 4px;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    background: #233235;
}

.service-card > span, .project-card span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.service-symbol {
    color: var(--gold);
    font-size: 35px;
    margin: 20px 0 10px;
}

.service-card h3 {
    font-family: Manrope, sans-serif;
    font-size: 17px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 12.5px;
    margin-bottom: 18px;
}

.service-card a {
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 18px;
}

.project-card {
    min-height: 340px;
    padding: 25px;
    display: flex;
    align-items: end;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: .35s;
    border-radius: 4px;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
}

.project-card > div {
    position: relative;
    z-index: 1;
}

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

.project-one {
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=900');
}

.project-two {
    background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=900');
}

.project-three {
    background-image: url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?w=900');
}

.project-card h3 {
    font-family: Manrope, sans-serif;
    font-size: 20px;
    margin-top: 8px;
}

.cta {
    text-align: center;
    padding: 90px 20px;
    background: #1d292b;
}

.cta > span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
}

.cta h2 {
    margin: 22px 0 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.order {
    background: #151e20;
}

.order-grid {
    align-items: start;
}

.order-grid > div p {
    color: var(--muted);
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 15px 16px;
    background: #202c2e;
    color: white;
    border: 1px solid var(--line);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    border-radius: 4px;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
}

select option {
    background: #202c2e;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

form button {
    padding: 16px;
    background: var(--gold);
    color: #111819;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: .25s;
    border-radius: 4px;
}

form button:hover {
    background: var(--gold-light);
}

.form-status {
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 600;
}

.contact h2 {
    margin: 25px 0 45px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.contact-info span {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
}

.contact-info p {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
}

.site-footer {
    padding: 55px 8% 35px;
    border-top: 1px solid var(--line);
    background: #0d1315;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 11.5px;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    font-family: Manrope, sans-serif;
}

.footer-desc {
    color: var(--muted);
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.55;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #c8d0ce;
}

.footer-link-btn {
    background: transparent;
    border: none;
    color: #c8d0ce;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    padding: 0;
    transition: .2s;
}

.footer-link-btn:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.placeholder-tag {
    color: #9ca3af;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--muted);
}

.footer-logo {
    font-family: Manrope, sans-serif;
    color: var(--gold);
    font-size: 20px;
    font-weight: 800;
}

.oferta-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: #c8d0ce;
    cursor: pointer;
    padding: 6px 2px;
}

.oferta-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.inline-legal-link {
    background: transparent !important;
    border: none !important;
    color: var(--gold-light) !important;
    padding: 0 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-decoration: underline;
    cursor: pointer;
    display: inline;
}

.legal-modal-content {
    font-size: 13.5px;
    color: #d0d8d6;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-modal-content h4 {
    color: var(--gold-light);
    margin-top: 8px;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================================================== */
/* MOBILE QUICK ACTION BOTTOM BAR                                             */
/* ========================================================================== */

.mobile-bottom-bar {
    display: none;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================================== */
/* RESPONSIVE MOBILE & TABLET DESIGN                                          */
/* ========================================================================== */

@media (max-width: 1024px) {
    .ads-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .project-card:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 860px) {
    .header {
        height: 70px;
        padding: 0 5%;
    }

    .header-btn-secondary {
        display: none;
    }

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

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #131d20;
        border-bottom: 1px solid var(--gold);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 6%;
        display: none;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 14px 4px;
        font-size: 15px;
        border-bottom: 1px solid var(--line);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .ads-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 68px; /* Space for mobile bottom quick bar */
    }

    svg.svg-icon-lg {
        width: 70px;
        height: 70px;
    }

    .section {
        padding: 64px 5%;
    }

    .hero {
        min-height: 520px;
        padding: 60px 5% 75px;
    }

    .hero h1 {
        font-size: 34px;
    }

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

    .hero-actions a {
        width: 100%;
        text-align: center;
    }

    .hero-bottom {
        left: 5%;
        right: 5%;
        font-size: 8.5px;
        flex-direction: column;
        gap: 4px;
    }

    .ads-header {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-post-ad {
        width: 100%;
    }

    .ads-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ad-tab {
        justify-content: space-between;
    }

    .ads-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .ad-card-media,
    .spec-photos-1 img,
    .spec-photos-2 img {
        height: 92px;
    }

    .buyer-ad-banner {
        padding: 6px;
    }

    .buyer-ad-stamp {
        font-size: 8px;
        padding: 2px 6px;
        margin-bottom: 4px;
        letter-spacing: 1px;
    }

    .buyer-ad-banner-title {
        font-size: 10px;
        -webkit-line-clamp: 2;
    }

    .ad-card-body {
        padding: 7px 6px;
        gap: 4px;
    }

    .ad-card h3 {
        font-size: 11.5px;
        line-height: 1.25;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ad-top-ribbon {
        font-size: 8px;
        padding: 2px 5px;
        top: 4px;
        right: 4px;
    }

    .tariff-selector {
        grid-template-columns: 1fr;
    }

    .about-grid, .section-heading, .order-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

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

    .project-card:first-child {
        grid-column: auto;
    }

    .project-card {
        min-height: 250px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .form-row-2,
    .form-row-3,
    .role-selector {
        grid-template-columns: 1fr;
    }

    .modal-card {
        padding: 20px 16px;
    }

    /* Prevent iOS zoom on input focus */
    input, select, textarea {
        font-size: 16px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(16, 23, 25, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--gold);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        z-index: 300;
    }

    .mobile-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #d6dcd9;
        background: transparent;
        border: none;
        font-family: inherit;
        cursor: pointer;
    }

    .mobile-bar-item span {
        font-size: 18px;
        line-height: 1;
    }

    .mobile-bar-item small {
        font-size: 11px;
        font-weight: 600;
    }

    .mobile-bar-accent {
        background: var(--gold);
        color: #101719;
    }

    .mobile-bar-accent small {
        font-weight: 800;
    }
}
