/* ========================================
   Housetica — Общие стили
   ======================================== */

/* --- Base --- */
* {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #2C2C2E;
    overflow-x: hidden;
}

/* --- Buttons --- */
.btn-primary {
    background: #FBBE3F;
    color: #1a1a1c;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: #f5a623;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(251, 190, 63, 0.4);
}

.btn-dark {
    background: #1a1a1c;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dark:hover {
    background: #2C2C2E;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(26, 26, 28, 0.4);
}

.btn-white {
    background: #ffffff;
    color: #1a1a1c;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-white:hover {
    background: #f6f6f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #1a1a1c;
}

.btn-secondary {
    border: 2px solid #2C2C2E;
    color: #2C2C2E;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2C2C2E;
    color: white;
}

/* --- Navigation --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FBBE3F;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- Dropdowns --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: white;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    box-shadow: 0 20px 40px -15px rgba(44, 44, 46, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.dropdown-menu-wide {
    min-width: 360px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #2C2C2E;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #fffdf5;
    color: #d98c1a;
}

.dropdown-menu a svg {
    width: 18px;
    height: 18px;
    color: #FBBE3F;
    flex-shrink: 0;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-trigger svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger svg {
    transform: rotate(180deg);
}

/* --- Cards --- */
.tech-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e7e7e7;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(44, 44, 46, 0.15);
    border-color: #FBBE3F;
}

.tech-card:hover .card-icon {
    background: #FBBE3F;
    color: #1a1a1c;
}

.tech-card:hover .card-icon svg {
    color: #1a1a1c;
}

.model-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e7e7e7;
    overflow: hidden;
}

.model-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(44, 44, 46, 0.15);
    border-color: #FBBE3F;
}

.model-card:hover .model-img img {
    transform: scale(1.05);
}

/* Shared card image containers — full product/building visible, no crop */
.model-img,
.service-img,
.category-img,
.project-img {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.75rem;
}

.model-img img,
.service-img img,
.category-img img,
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

/* --- Service cards --- */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e7e7e7;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(44, 44, 46, 0.15);
    border-color: #FBBE3F;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

/* --- Category cards (index catalog) --- */
.category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e7e7e7;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(44, 44, 46, 0.15);
    border-color: #FBBE3F;
}

.category-card:hover .category-img img {
    transform: scale(1.05);
}

.category-card .card-badge-free {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #86efac;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 0.75rem;
}

/* --- Project cards --- */
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e7e7e7;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(44, 44, 46, 0.15);
    border-color: #FBBE3F;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.partner-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e7e7e7;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(44, 44, 46, 0.15);
    border-color: #FBBE3F;
}

.partner-card:hover .card-icon {
    background: #FBBE3F;
    color: #1a1a1c;
}

.partner-card:hover .card-icon svg {
    color: #1a1a1c;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* --- Mobile Menu --- */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.open {
    max-height: 800px;
}

/* --- FAQ --- */
.faq-item {
    border-bottom: 1px solid #e7e7e7;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* --- Timeline (about page) --- */
.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 40px;
    bottom: -40px;
    width: 2px;
    background: #FBBE3F;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FBBE3F;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #FBBE3F;
}

/* --- Tabs --- */
.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #FBBE3F;
    color: #1a1a1c;
}

/* --- Projects page filter --- */
.projects-filter-bar {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.98);
}

.projects-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.375rem 0;
}

.projects-filter::-webkit-scrollbar {
    display: none;
}

@media (min-width: 640px) {
    .projects-filter {
        gap: 0.625rem;
    }
}

@media (min-width: 1024px) {
    .projects-filter {
        display: grid;
        grid-template-columns: repeat(4, auto);
        justify-content: center;
        overflow-x: visible;
        gap: 0.625rem 0.75rem;
    }
}

@media (min-width: 1280px) {
    .projects-filter {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }
}

.filter-btn {
    flex: 0 0 auto;
    padding: 0.625rem 1.125rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    color: #4f4f4f;
    background: #f6f6f6;
    border: 1px solid #e7e7e7;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

.filter-btn:hover {
    background: #fffdf5;
    border-color: #ffe899;
    color: #38383A;
}

.filter-btn.active {
    background: #FBBE3F;
    border-color: #FBBE3F;
    color: #1a1a1c;
    box-shadow: 0 4px 14px -3px rgba(251, 190, 63, 0.45);
}

.filter-btn:focus-visible {
    outline: 2px solid #FBBE3F;
    outline-offset: 2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* --- Misc --- */
.geo-accent {
    position: relative;
}

.geo-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #FBBE3F;
}

.counter {
    font-variant-numeric: tabular-nums;
}

.step-number {
    background: linear-gradient(135deg, #FBBE3F 0%, #f5a623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partnership-badge {
    background: linear-gradient(135deg, rgba(251, 190, 63, 0.1) 0%, rgba(245, 166, 35, 0.05) 100%);
    border: 1px solid rgba(251, 190, 63, 0.3);
}

/* --- Trust bar --- */
.trust-bar {
    background: #ffffff;
    border-bottom: 1px solid #e7e7e7;
    padding: 1.25rem 0;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
}

@media (min-width: 768px) {
    .trust-bar__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-bar__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffdf5;
    border: 1px solid #ffe899;
    border-radius: 8px;
    color: #d98c1a;
}

.trust-bar__value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2C2C2E;
    line-height: 1.2;
}

.trust-bar__label {
    font-size: 0.75rem;
    color: #6d6d6d;
    line-height: 1.3;
}

/* --- Social proof strip --- */
.social-proof-strip {
    background: #fffdf5;
    border-bottom: 1px solid #ffe899;
    padding: 0.625rem 0;
}

.social-proof-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    color: #4f4f4f;
}

.social-proof-strip__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    color: #2C2C2E;
}

.social-proof-strip__stars {
    color: #FBBE3F;
    letter-spacing: -1px;
}

.social-proof-strip__divider {
    display: none;
    width: 1px;
    height: 14px;
    background: #d1d1d1;
}

@media (min-width: 640px) {
    .social-proof-strip__divider {
        display: block;
    }
}

/* --- Reviews --- */
.review-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #FBBE3F;
    box-shadow: 0 12px 24px -8px rgba(44, 44, 46, 0.1);
}

.review-card__stars {
    color: #FBBE3F;
    font-size: 0.875rem;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.review-card__text {
    font-size: 0.875rem;
    color: #4f4f4f;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-card__author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2C2C2E;
}

.review-card__city {
    font-size: 0.75rem;
    color: #6d6d6d;
}

/* --- CTA benefit bullets --- */
.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin-bottom: 2rem;
}

.cta-benefits__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.cta-benefits__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #1a1a1c;
}

/* --- Form urgency badge --- */
.form-urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #86efac;
    padding: 0.5rem 0.875rem;
    margin-bottom: 1rem;
}

.form-urgency-badge__dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- Modal --- */
.ht-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ht-modal.open {
    opacity: 1;
    visibility: visible;
}

.ht-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 28, 0.55);
}

.ht-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 20px 40px -15px rgba(44, 44, 46, 0.25);
    padding: 32px;
    transform: translateY(12px);
    transition: transform 0.3s ease;
}

.ht-modal.open .ht-modal-dialog {
    transform: translateY(0);
}

.ht-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d6d6d;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ht-modal-close:hover {
    color: #1a1a1c;
}

.ht-modal-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d98c1a;
    margin-bottom: 8px;
}

.ht-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C2C2E;
    margin-bottom: 6px;
    padding-right: 36px;
}

.ht-modal-form .ht-field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
}

@media (min-width: 520px) {
    .ht-modal-form .ht-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.ht-modal-subtitle {
    font-size: 0.875rem;
    color: #5d5d5d;
    margin-bottom: 24px;
}

.ht-modal-form .ht-field {
    margin-bottom: 16px;
}

.ht-modal-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2C2C2E;
    margin-bottom: 6px;
}

.ht-modal-form input[type="text"],
.ht-modal-form input[type="tel"],
.ht-modal-form input[type="email"],
.ht-modal-form select,
.ht-modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d1d1;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
    background: #ffffff;
    color: #2C2C2E;
}

.ht-modal-form input:focus,
.ht-modal-form select:focus,
.ht-modal-form textarea:focus {
    border-color: #FBBE3F;
}

.ht-modal-form .ht-privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.ht-modal-form .ht-privacy label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #5d5d5d;
    line-height: 1.5;
    margin: 0;
}

.ht-modal-form .ht-privacy a {
    color: #d98c1a;
    text-decoration: underline;
}

.ht-modal-form .ht-submit {
    width: 100%;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.ht-modal-form .ht-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.ht-form-status {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.ht-form-status.success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.ht-form-status.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.ht-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

body.ht-modal-open {
    overflow: hidden;
}

/* --- Social proof toast (bottom-left) --- */
.ht-social-proof {
    position: fixed;
    left: 12px;
    bottom: 16px;
    z-index: 45;
    max-width: min(320px, calc(100vw - 24px));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.ht-social-proof.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ht-social-proof__card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 2.25rem 0.75rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 8px 24px -8px rgba(44, 44, 46, 0.18);
    cursor: pointer;
}

.ht-social-proof__icon {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffdf5;
    border: 1px solid #ffe899;
    border-radius: 50%;
    color: #d98c1a;
    font-size: 0.875rem;
}

.ht-social-proof__text {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #2C2C2E;
}

.ht-social-proof__meta {
    margin-top: 0.125rem;
    font-size: 0.6875rem;
    color: #6d6d6d;
}

.ht-social-proof__close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #888888;
    cursor: pointer;
    border-radius: 4px;
    padding: 0;
}

.ht-social-proof__close:hover {
    color: #2C2C2E;
    background: #f6f6f6;
}

@media (min-width: 768px) {
    body.has-sticky-cta-bar .ht-social-proof {
        bottom: calc(4.5rem + 12px);
    }
}

@media (max-width: 767px) {
    body.has-mobile-action-bar .ht-social-proof {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .ht-social-proof {
        max-width: min(280px, calc(100vw - 20px));
        left: 10px;
    }

    .ht-social-proof__card {
        padding: 0.625rem 2rem 0.625rem 0.625rem;
    }

    .ht-social-proof__text {
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ht-social-proof {
        transition: none;
        transform: none;
    }
}

body.ht-modal-open .ht-social-proof,
body.mobile-menu-open .ht-social-proof,
body.ht-social-proof-paused .ht-social-proof {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* --- Mobile Action Bar --- */
.mobile-action-bar {
    display: none;
}

@media (max-width: 767px) {
    body.has-mobile-action-bar {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-action-bar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 40;
        gap: 4px;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
        background: #ffffff;
        border-top: 1px solid #e7e7e7;
        box-shadow: 0 -4px 20px rgba(26, 26, 28, 0.1);
    }

    .mobile-action-bar__btn {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        min-height: 48px;
        padding: 6px 2px;
        font-weight: 700;
        font-size: 0.75rem;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
        border-radius: 6px;
        transition: background 0.2s ease, transform 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-action-bar__btn:active {
        transform: scale(0.98);
    }

    .mobile-action-bar__btn--call {
        background: #FBBE3F;
        color: #1a1a1c;
    }

    .mobile-action-bar__btn--call:active {
        background: #f5a623;
    }

    .mobile-action-bar__btn--max {
        background: #1a1a1c;
        color: #ffffff;
    }

    .mobile-action-bar__btn--max:active {
        background: #2C2C2E;
    }

    .mobile-action-bar__btn--form {
        background: #fffdf5;
        color: #1a1a1c;
        border: 2px solid #FBBE3F;
    }

    .mobile-action-bar__btn--form:active {
        background: #fff3c2;
    }

    .mobile-action-bar__subtitle {
        font-size: 0.625rem;
        font-weight: 500;
        opacity: 0.8;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-action-bar__icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    body.ht-modal-open .mobile-action-bar,
    body.mobile-menu-open .mobile-action-bar {
        display: none;
    }
}

/* --- Page Hero --- */
.page-hero__inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .page-hero__inner {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.page-hero__content {
    max-width: 36rem;
}

@media (min-width: 768px) {
    .page-hero__content {
        max-width: 42rem;
    }
}

@media (min-width: 1024px) {
    .page-hero__content {
        max-width: 48rem;
    }
}

.page-hero__title {
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-size: 1.625rem;
    letter-spacing: -0.015em;
}

@media (min-width: 640px) {
    .page-hero__title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .page-hero__title {
        font-size: 2rem;
        line-height: 1.18;
    }
}

@media (min-width: 1024px) {
    .page-hero__title {
        font-size: 2.375rem;
        line-height: 1.2;
    }
}

@media (min-width: 1280px) {
    .page-hero__title {
        font-size: 2.625rem;
    }
}

.page-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
    .page-hero__stats {
        gap: 1rem 1.5rem;
    }
}

@media (min-width: 768px) {
    .page-hero__stats {
        gap: 2rem;
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

.page-hero__stats--4col {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .page-hero__stats--4col {
        grid-template-columns: repeat(4, 1fr);
    }
}

.page-hero__stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .page-hero__stat-value {
        font-size: 1.875rem;
    }
}

.page-hero__stat-label {
    font-size: 0.6875rem;
    color: #b0b0b0;
    margin-top: 0.25rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .page-hero__stat-label {
        font-size: 0.875rem;
    }
}

/* --- Section spacing --- */
.section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-py {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f6f6f6;
}

::-webkit-scrollbar-thumb {
    background: #FBBE3F;
    border-radius: 4px;
}

/* --- Sticky CTA bar (desktop) --- */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 44;
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 28, 0.97);
    border-top: 2px solid #FBBE3F;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

.sticky-cta-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta-bar__inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sticky-cta-bar__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: #ffffff;
    font-size: 0.875rem;
}

.sticky-cta-bar__text span {
    color: #b0b0b0;
    font-size: 0.75rem;
}

.sticky-cta-bar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.sticky-cta-bar__phone {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.sticky-cta-bar__phone:hover {
    color: #FBBE3F;
}

.sticky-cta-bar__btn {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 700;
    white-space: nowrap;
}

body.has-sticky-cta-bar {
    padding-bottom: 4.5rem;
}

body.ht-modal-open .sticky-cta-bar,
body.mobile-menu-open .sticky-cta-bar {
    display: none;
}

/* --- Form trust & optional labels --- */
.ht-form-trust {
    margin-top: 0.625rem;
    font-size: 0.75rem;
    color: #6d6d6d;
    text-align: center;
    line-height: 1.4;
}

form[action*="send_form"] .ht-form-trust {
    margin-top: 0.5rem;
}

.ht-field-optional,
label .ht-field-optional {
    font-weight: 400;
    color: #888888;
    font-size: 0.8125em;
}

.project-card__cta {
    padding: 0 1.5rem 1.25rem;
    margin-top: -0.5rem;
}
