/* Topbar */
.topbar {
    background: #08090b;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

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

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-beige);
}

.topbar-link:hover {
    color: var(--gold-light);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 13, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* Nav */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-beige);
    position: relative;
    padding: 6px 0;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-beige);
}

.social-icon:hover {
    border-color: var(--border-gold);
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.1);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-beige);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    padding: 70px 0 70px 0;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
                var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-content {
    max-width: 100%;
}

.hero .badge {
    background: transparent;
    border: 1px solid var(--border-gold);
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    margin: 20px 0 16px 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-highlight {
    color: var(--gold-light);
    font-weight: 600;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 580px;
    margin-bottom: 0;
}

.hero-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hero-actions-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.hero-drawing-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px dashed var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--text-beige);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.hero-drawing-banner:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-1px);
    color: #fff;
}

.hero-drawing-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.hero-drawing-text {
    flex: 1;
}

.hero-drawing-text strong {
    color: var(--gold-light);
    font-weight: 600;
}

.hero-drawing-arrow {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.hero-drawing-banner:hover .hero-drawing-arrow {
    transform: translateX(4px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-visual-frame {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 4px;
    background: linear-gradient(135deg, var(--gold-primary), rgba(212, 175, 55, 0.18), transparent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--gold-glow);
    width: 100%;
}

.hero-visual-frame-home {
    height: 390px;
}

.hero-visual-frame-home .hero-visual-img {
    height: 100%;
}

.hero-visual-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 4px);
    display: block;
}

.hero-visual-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(12, 13, 16, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-beige);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-visual-tag .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
}

.hero-floating-badge {
    position: absolute;
    bottom: -16px;
    left: 20px;
    background: rgba(18, 20, 25, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero Metrics */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.metric-item {
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    border-left: 2px solid rgba(212, 175, 55, 0.25);
}

.metric-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Card components */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    position: relative;
}

.card-image-wrap {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    background: #111317;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.card:hover .card-image-wrap img {
    transform: scale(1.06);
}

.card:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-primary);
    opacity: 0.4;
    margin-bottom: 12px;
    line-height: 1;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Service Card */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 24px;
}

.service-link {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    color: #fff;
    gap: 12px;
}

/* Process Timeline (Путь заказа) — схема 3+2 (два ряда) */
.timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    position: relative;
}

.timeline-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.timeline-step:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(212, 175, 55, 0.1);
}

/* 3 карточки в 1-м ряду, 2 карточки во 2-м ряду по центру */
.timeline-step:nth-child(1),
.timeline-step:nth-child(2),
.timeline-step:nth-child(3) {
    grid-column: span 2;
}

.timeline-step:nth-child(4) {
    grid-column: 2 / span 2;
}

.timeline-step:nth-child(5) {
    grid-column: 4 / span 2;
}

.step-num {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: inline-block;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
}

.step-desc {
    font-size: 0.93rem;
    color: var(--text-beige);
    line-height: 1.55;
    flex: 1;
}

/* Reviews (Нам доверяют) */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.review-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.review-text-wrap {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-beige);
    font-style: italic;
    margin-bottom: 8px;
    position: relative;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-toggle {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--gold-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    width: fit-content;
}

.review-toggle:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card-hover);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gold-light);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Drawing B2B Block (Готовый чертёж?) */
.drawing-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(20, 22, 27, 0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 38px 44px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}

.drawing-deliverables {
    margin: 18px 0 20px 0;
    padding: 14px 18px;
    background: rgba(212, 175, 55, 0.04);
    border-left: 3px solid var(--gold-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.drawing-deliverables-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.drawing-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawing-deliverables-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-beige);
    line-height: 1.4;
}

.drawing-deliverables-list li::before {
    content: "•";
    color: var(--gold-primary);
    font-size: 1.2rem;
    line-height: 1;
}

.drawing-features {
    list-style: none;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-beige);
}

.drawing-features li svg {
    color: var(--gold-primary);
    flex-shrink: 0;
}

/* Uploader Dropzone */
.dropzone {
    border: 2px dashed var(--border-gold);
    border-radius: var(--radius-md);
    background: rgba(12, 13, 16, 0.5);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.dropzone:hover, .dropzone.dragover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold-light);
}

.dropzone-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px auto;
    color: var(--gold-primary);
}

.dropzone-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.dropzone-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.file-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.file-remove {
    color: #ff5c5c;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: bold;
    font-size: 1rem;
}

/* Form inputs */
.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-beige);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: #0e1014;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

input[type="file"].form-input {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
}

input[type="file"].form-input::file-selector-button {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-right: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}

input[type="file"].form-input::file-selector-button:hover {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--gold-primary);
}

/* Honeypot hidden input */
.hp-check {
    display: none !important;
    visibility: hidden;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    max-width: 580px;
    width: 100%;
    padding: 36px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: var(--transition);
}

.modal.active .modal-dialog {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--gold-light);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Toast notification */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    border-left: 4px solid var(--gold-primary);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    max-width: 450px;
    font-size: 0.95rem;
    animation: slideIn 0.3s ease-out;
}

.toast.error {
    border-left-color: #ff4d4f;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.site-footer {
    background: #08090b;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 24px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-title {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(3px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

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

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual-frame-home {
        max-width: 580px;
        height: 340px;
        margin: 0 auto;
    }
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
        margin-top: 36px;
    }
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .timeline-step:nth-child(1),
    .timeline-step:nth-child(2),
    .timeline-step:nth-child(3),
    .timeline-step:nth-child(4) {
        grid-column: span 1;
    }
    .timeline-step:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .drawing-box {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 12px 0;
    }
    .header-actions {
        gap: 12px;
    }
    .brand {
        gap: 10px;
    }
    .brand-logo {
        height: 40px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-gold);
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero {
        padding: 50px 0;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-actions {
        max-width: 100%;
    }
    .hero-actions-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-visual-frame-home {
        height: 270px;
    }
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
        margin-top: 32px;
        padding-top: 24px;
    }
    .metric-number {
        font-size: 1.55rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .timeline-step:nth-child(n) {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
        padding: 22px 20px;
    }
    .topbar-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .brand {
        gap: 8px;
    }
    .brand-logo {
        height: 34px;
    }
    .brand-name {
        font-size: 1.1rem;
    }
    .brand-tagline {
        font-size: 0.65rem;
        letter-spacing: 0.04em;
    }
    .header-actions {
        gap: 8px;
    }
    .header-actions .btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-visual-frame-home {
        height: 220px;
    }
    .hero-floating-badge {
        left: 10px;
        right: 10px;
        bottom: -12px;
        padding: 8px 12px;
    }
    .hero-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 16px 10px;
    }
    .metric-item {
        padding-left: 10px;
    }
    .metric-number {
        font-size: 1.4rem;
    }
    .metric-label {
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 640px;
    margin: 0 auto;
    z-index: 9998;
    background: rgba(20, 22, 27, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold, rgba(212, 175, 55, 0.35));
    border-radius: var(--radius-md, 12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.15);
    padding: 16px 20px;
    transform: translateY(130%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-primary, #d4af37);
    flex-shrink: 0;
}

.cookie-banner-text {
    flex: 1 1 auto;
    font-size: 0.9rem;
    color: var(--text-beige, #e5dfd5);
    line-height: 1.5;
}

.cookie-link {
    color: var(--gold-primary, #d4af37);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-link:hover {
    color: var(--gold-light, #f3cf65);
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 14px 16px;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cookie-banner-icon {
        display: none;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-banner-actions .btn {
        width: 100%;
    }
}

