/* ===== ArtiTech — Modern Industrial Design ===== */

:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --bg-page: #f8fafc;
    --bg-white: #ffffff;
    --bg-muted: #f1f5f9;
    --bg-subtle: #eff6ff;
    --text-primary: #020617;
    --text-body: #334155;
    --text-muted: #475569;
    --text-light: #64748b;
    --accent: #0369a1;
    --accent-hover: #0284c7;
    --accent-warm: #ea580c;
    --accent-glow: rgba(3, 105, 161, 0.2);
    --blue: #2563eb;
    --green: #16a34a;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 82px;
    --topbar-h: 40px;
    --nav-top: var(--header-h);
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .site-header {
    z-index: 260;
}

body.has-top-bar {
    --nav-top: calc(var(--topbar-h) + var(--header-h));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-body);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--navy);
    color: #cbd5e1;
    font-size: 0.8125rem;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

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

.top-bar__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.top-bar__link:hover { color: #fff; }

.top-bar__hours { color: #94a3b8; }

.top-bar__email { color: #7dd3fc; }

@media (max-width: 768px) {
    .top-bar__hours, .top-bar__email { display: none; }
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.site-header__inner,
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0;
    max-width: 200px;
}

.logo__icon svg { width: 40px; height: 40px; }

.logo__text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.02em;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo__accent { color: var(--accent); }

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.nav__link {
    padding: 8px 10px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.nav__link:hover,
.nav__link--active {
    color: var(--accent);
    background: var(--bg-subtle);
}

.header__cta { flex-shrink: 0; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .site-header__inner,
    .header__inner {
        gap: 12px;
        position: relative;
    }

    .logo {
        flex: 1;
        min-width: 0;
        max-width: none;
    }

    .nav {
        position: fixed;
        top: var(--nav-top);
        right: 0;
        left: auto;
        width: min(340px, 92vw);
        bottom: 0;
        background: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px calc(96px + env(safe-area-inset-bottom, 0px));
        gap: 2px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 262;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
        pointer-events: auto;
    }

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

    .nav__link {
        padding: 14px 16px;
        font-size: 1.05rem;
    }

    .nav__contacts {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .nav__phone {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--navy);
        text-decoration: none;
    }

    .nav__email {
        font-size: 0.95rem;
        color: var(--text-muted);
        text-decoration: none;
    }

    .header__cta-block { display: none; }

    .header__phones {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        margin-left: auto;
        margin-right: 8px;
        min-width: 0;
    }

    /* Телефоны уже в верхней полоске — не дублируем в шапке */
    body.has-top-bar .header__phones {
        display: none;
    }

    .header__phones a {
        color: var(--accent);
        font-size: 0.8125rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        line-height: 1.25;
    }

    .burger {
        display: flex;
        flex-shrink: 0;
        z-index: 201;
    }

    .burger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger--active span:nth-child(2) { opacity: 0; }
    .burger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (min-width: 1025px) {
    .site-header__inner,
    .header__inner {
        display: grid;
        grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px 20px;
    }

    .logo {
        grid-column: 1;
        justify-self: start;
        max-width: 200px;
    }

    .nav {
        grid-column: 2;
        justify-content: center;
        justify-self: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .header__cta-block {
        grid-column: 3;
        justify-self: end;
    }

    .header__phones,
    .burger {
        display: none;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .nav__link {
        padding: 8px 8px;
        font-size: 0.8125rem;
    }

    .logo__text {
        font-size: 1.05rem;
    }
}

@media (min-width: 1281px) {
    .nav__link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .logo__text {
        font-size: 1.25rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn--outline {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn--outline:hover {
    background: var(--bg-subtle);
    border-color: var(--accent-hover);
}

.btn--outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn--white {
    background: #fff;
    color: var(--accent);
}

.btn--white:hover {
    background: #e0f2fe;
    transform: translateY(-2px);
}

.btn--sm { padding: 8px 18px; font-size: 0.875rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ===== Hero ===== */
.hero {
    position: relative;
    background: var(--bg-subtle);
    color: var(--text-primary);
    padding: 72px 0 88px;
    overflow: hidden;
    min-height: 78vh;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(248, 250, 252, 0.97) 0%,
        rgba(248, 250, 252, 0.92) 42%,
        rgba(248, 250, 252, 0.55) 68%,
        rgba(248, 250, 252, 0.25) 100%
    );
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero__content { max-width: 620px; }

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-strong);
}

.stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--accent);
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
    transform: rotate(1deg);
    transition: transform var(--transition);
}

.hero__image-frame:hover {
    transform: rotate(0deg) scale(1.01);
}

.hero__image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .hero { min-height: auto; padding: 56px 0 72px; }
    .hero__overlay {
        background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 0.88) 100%);
    }
    .hero__stats {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .hero__stats--center {
        align-items: center;
        text-align: center;
    }
}

/* ===== Sections ===== */
.section { padding: 96px 0; }

.section--muted {
    background: var(--bg-muted);
    color: var(--text-body);
}

.section--dark {
    background: var(--bg-muted);
    color: var(--text-body);
}

.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

/* ===== Cards Grid ===== */
.cards-grid {
    display: grid;
    gap: 24px;
}

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

@media (max-width: 900px) {
    .cards-grid--3,
    .cards-grid--2 { grid-template-columns: 1fr; }
}

/* ===== Service Cards ===== */
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #bae6fd;
}

.service-card--photo { padding: 0; }

.service-card__photo {
    height: 200px;
    overflow: hidden;
}

.service-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-card__body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card__icon svg { width: 32px; height: 32px; }

.service-card__icon--orange { background: rgba(249, 115, 22, 0.12); color: var(--accent); }
.service-card__icon--blue { background: rgba(59, 130, 246, 0.12); color: var(--blue); }
.service-card__icon--green { background: rgba(34, 197, 94, 0.12); color: var(--green); }

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
}

.service-card__text {
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.service-card__link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card__price {
    display: block;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--accent-warm);
    margin-bottom: 8px;
}

.section-lead {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
    margin-top: 12px;
}

.section-header--center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

.hero__note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: -20px 0 28px;
}

/* ===== Trust bar ===== */
.trust-bar {
    background: var(--navy);
    color: #e2e8f0;
    padding: 28px 0;
}

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

.trust-bar__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}

.trust-bar__item strong {
    color: #fff;
    font-size: 0.9375rem;
}

.trust-bar__item span {
    font-size: 0.8125rem;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .trust-bar__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .trust-bar__inner { grid-template-columns: 1fr; }
}

/* ===== Pain points ===== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pain-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.pain-card h3 {
    font-size: 1.0625rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.pain-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pain-cta p {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 520px;
}

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

/* ===== Process ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.process-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

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

.split-layout__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero__stats--center {
    justify-content: center;
    border-top: none;
    padding-top: 0;
}

.service-detail__price {
    margin: 20px 0;
    font-size: 1rem;
    color: var(--text-body);
}

.service-detail__content .btn + .btn,
.service-detail__content .btn + a.btn {
    margin-left: 12px;
}

.catalog-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.catalog-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0 32px;
}

@media (max-width: 900px) {
    .catalog-benefits { grid-template-columns: 1fr; }
    .service-detail__content .btn + .btn,
    .service-detail__content .btn + a.btn {
        margin-left: 0;
        margin-top: 12px;
    }
}

/* ===== Mobile call bar ===== */
.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    padding: 12px 16px;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
    gap: 10px;
}

.mobile-call-bar .btn { flex: 1; }

@media (max-width: 768px) {
    .mobile-call-bar {
        display: flex;
    }
    body { padding-bottom: 72px; }
}

/* ===== Promo ===== */
.promo { padding: 0 0 96px; }

.promo__banner {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, var(--accent), #0c4a6e);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.promo__badge {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.promo__content { flex: 1; }

.promo__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.promo__text { opacity: 0.9; font-size: 0.9375rem; }

@media (max-width: 768px) {
    .promo__banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
}

/* ===== Split Layout ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.split-layout--reverse { direction: rtl; }
.split-layout--reverse > * { direction: ltr; }

@media (max-width: 900px) {
    .split-layout, .split-layout--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow);
}

.feature-item:hover {
    border-color: #bae6fd;
    box-shadow: var(--shadow-lg);
}

.features-grid--below {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .features-grid--below { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .features-grid--below { grid-template-columns: 1fr; }
}

.feature-item--wide { grid-column: 1 / -1; }

.feature-item__icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 12px;
}

.feature-item__icon svg { width: 100%; height: 100%; }

.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--navy);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

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

/* ===== Guarantee Cards ===== */
.guarantee-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.section--muted .guarantee-card,
.section--dark .guarantee-card {
    background: var(--bg-white);
    border-color: var(--border);
}

.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.guarantee-card__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: #e0f2fe;
    margin-bottom: 16px;
}

.guarantee-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
}

.guarantee-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ===== Brands ===== */
.brands__group { margin-bottom: 32px; }

.brands__label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 16px;
}

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

.brands__list span {
    padding: 8px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
    cursor: default;
}

.brands__list span:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-subtle);
}

/* ===== Section Images ===== */
.section-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    display: block;
}

.section-image--rounded {
    max-height: 420px;
}

.about-preview__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== Batteries ===== */
.batteries__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-list { margin: 24px 0 32px; }

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.section--dark .check-list li { color: var(--text-muted); }

/* ===== CTA ===== */
.cta__box {
    text-align: center;
    background: linear-gradient(135deg, var(--navy), #1e3a5f);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    color: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}

.cta__text {
    color: #cbd5e1;
    margin-bottom: 32px;
    font-size: 1.0625rem;
}

.cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn--outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

.cta .btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

/* ===== Page Hero ===== */
.page-hero {
    background: var(--bg-subtle);
    color: var(--navy);
    padding: 72px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero--image {
    padding: 96px 0 80px;
    color: #fff;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
}

.page-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(3, 105, 161, 0.65));
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

.page-hero--image .page-hero__title,
.page-hero--image .page-hero__subtitle {
    color: #fff;
}

.page-hero--image .section-tag {
    color: #7dd3fc;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--navy);
}

.page-hero__subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Service Detail ===== */
.service-detail {
    display: flex;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.service-detail--image {
    gap: 48px;
}

.service-detail--reverse {
    flex-direction: row-reverse;
}

.service-detail__photo {
    flex: 0 0 42%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail__photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.service-detail:last-child { border-bottom: none; }

.service-detail__content {
    flex: 1;
}

.service-detail__content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--navy);
}

@media (max-width: 768px) {
    .service-detail,
    .service-detail--reverse {
        flex-direction: column;
    }

    .service-detail__photo {
        flex: none;
        width: 100%;
    }
}

/* ===== Price Table ===== */
.price-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.price-table th,
.price-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.price-table th {
    background: var(--navy);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-table tr:last-child td { border-bottom: none; }

.price-table tr:hover td { background: #f8fafc; }

.price-table__price {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.price-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: italic;
}

/* ===== Catalog ===== */
.catalog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.catalog-card__image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-card__image img {
    transform: scale(1.04);
}

.catalog-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--green);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.catalog-card__badge--order { background: var(--blue); }
.catalog-card__badge--sold { background: #64748b; }

.catalog-section__title {
    margin: 0 0 24px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
}

.catalog-section--spaced {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.catalog-card__body { padding: 24px; }

.catalog-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.catalog-card__specs {
    margin-bottom: 16px;
}

.catalog-card__specs li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 4px 0;
}

.catalog-card__price {
    font-weight: 700;
    color: var(--accent);
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.catalog-product__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.catalog-note {
    text-align: center;
    color: var(--text-muted);
    margin-top: 40px;
}

.catalog-note a { color: var(--accent); font-weight: 600; }

/* ===== Contacts ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-item__icon svg { width: 22px; height: 22px; }

.contact-item h4 {
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p { color: var(--text-muted); }

.contact-item a { color: var(--accent); font-weight: 600; }

.map-placeholder {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--border);
}

.contacts-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

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

/* ===== Info Cards ===== */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-card {
    background: var(--navy);
    color: var(--text-primary);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

.info-card__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.info-card__label {
    font-size: 0.8125rem;
    color: #cbd5e1;
}

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.form-optional {
    font-weight: 400;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fff;
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea { resize: vertical; min-height: 100px; }

.form-group--checkbox { margin-top: 4px; }

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-consent {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal__dialog {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.97);
    transition: transform var(--transition);
}

.modal--open .modal__dialog {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background var(--transition);
}

.modal__close:hover { background: #f1f5f9; }

.modal__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal__subtitle {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.9375rem;
}

/* ===== Messages ===== */
.messages {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h) + 16px);
    right: 24px;
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease;
}

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

.message--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: #94a3b8;
    padding: 64px 0 32px;
    border-top: 1px solid #1e293b;
}

.logo--footer .logo__text {
    color: #f1f5f9;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer__desc {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__title {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer__link {
    display: block;
    padding: 4px 0;
    font-size: 0.9rem;
    transition: color var(--transition);
}

a.footer__link:hover { color: var(--accent); }

.footer__contact { margin-bottom: 8px; font-size: 0.9rem; }

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}

.footer__legal { max-width: 500px; opacity: 0.7; }

.footer__bottom-left { display: flex; flex-direction: column; gap: 8px; }

.footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.8125rem;
}

.footer__legal-links a,
.footer__cookie-btn {
    color: #94a3b8;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__legal-links a:hover,
.footer__cookie-btn:hover { color: var(--accent); }

/* ===== Cookie banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    transform: translateY(100%);
    transition: transform var(--transition);
}

.cookie-banner:not([hidden]) {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
}

.cookie-banner__title {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cookie-banner__desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 720px;
}

.cookie-banner__desc a { color: var(--accent); text-decoration: underline; }

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-settings {
    border-top: 1px solid var(--border);
    background: var(--bg-muted);
    padding: 16px 0 20px;
}

.cookie-settings__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-settings__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cookie-settings__item p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.cookie-settings__badge {
    font-size: 0.75rem;
    color: var(--text-light);
    white-space: nowrap;
}

.cookie-settings__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

/* ===== Map consent placeholder ===== */
.map-placeholder {
    min-height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-muted);
    border: 1px solid var(--border);
}

.map-placeholder__consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 280px;
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.map-placeholder iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

/* ===== Legal content ===== */
.legal-content h2 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
    color: var(--text-primary);
}

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

.legal-content p,
.legal-content li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
}

.legal-content ul {
    margin: 12px 0;
    padding-left: 1.25rem;
}

.legal-content li { margin-bottom: 8px; }

.legal-content a { color: var(--accent); text-decoration: underline; }

.legal-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
    .cookie-banner__inner { flex-direction: column; align-items: stretch; }
    .cookie-banner__actions { justify-content: flex-start; }
    .cookie-settings__item { flex-direction: column; align-items: flex-start; }
}

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

@media (max-width: 600px) {
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; }
}

.form-honeypot-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.works-grid--compact { grid-template-columns: repeat(3, 1fr); }

.work-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.work-card__image { height: 200px; overflow: hidden; }

.work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card__body { padding: 24px; }

.work-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.work-card__tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--bg-subtle);
    color: var(--accent);
}

.work-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.work-card__client {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.work-card__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.works-note {
    margin-top: 32px;
    text-align: center;
    color: var(--text-muted);
}

.link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--accent);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.review-card__stars {
    color: #f59e0b;
    font-size: 1.125rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-card__star--empty { opacity: 0.25; }

.review-card__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 20px;
    font-style: italic;
}

.review-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.875rem;
}

.review-card__author strong { color: var(--navy); }

.review-card__author span { color: var(--text-light); }

.section-cta-link {
    text-align: center;
    margin-top: 32px;
}

.section-cta-link a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.phone-protect {
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 900px) {
    .works-grid,
    .works-grid--compact { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Header contacts / CMS spacing ===== */
.header__cta-block {
    display: none;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header__cta-contacts {
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.8125rem;
    line-height: 1.25;
}

.header__cta-contacts a {
    color: var(--navy);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
}

.nav__contacts { display: none; }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 255;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.nav-backdrop--visible {
    display: block;
}

.header__phones {
    display: none;
}

.logo__image {
    height: 40px;
    width: 40px;
    max-height: 40px;
    max-width: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo:has(.logo__image) .logo__text {
    font-size: 1.05rem;
}

.lead--spaced,
.about-preview__text .lead {
    margin-bottom: 1.75rem;
}

.about-preview__text .section-title {
    margin-bottom: 1rem;
}

.text-spaced {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.text-spaced:last-child {
    margin-bottom: 1.75rem;
}

.content-block .section-title + .lead {
    margin-top: 0.5rem;
}

.check-list--spaced li + li {
    margin-top: 0.75rem;
}

.guarantee-card p,
.process-step p,
.trust-bar__item span {
    margin-top: 0.5rem;
    line-height: 1.65;
}

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

.service-card-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.service-card-grid__photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card-grid__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-grid__body h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.service-card-grid__body .lead {
    margin-bottom: 1rem;
}

.service-card-grid__body .btn {
    margin-top: auto;
}

.work-card__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: #0f172a;
}

.work-card__video--file {
    padding-bottom: 0;
    height: 240px;
    overflow: hidden;
    background: #000;
}

.work-card__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #0f172a;
}

.work-card__video--file video {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    border: 0;
    background: #000;
}

@media (max-width: 700px) {
    .work-card__video--file {
        height: 220px;
    }
}

@media (min-width: 1025px) {
    .header__cta-block {
        display: flex;
    }

    .header__cta-contacts {
        display: flex;
    }

    .nav__contacts {
        display: none;
    }
}

@media (min-width: 1025px) and (max-width: 1180px) {
    .header__cta-contacts {
        font-size: 0.75rem;
    }
}

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

/* ===== ArtiTech fixes: mobile menu + catalog price ===== */
@media (max-width: 1024px) {
    body.nav-open .site-header {
        pointer-events: none;
    }

    body.nav-open .site-header .burger,
    body.nav-open .site-header .nav {
        pointer-events: auto;
    }

    .nav {
        z-index: 1200;
        touch-action: manipulation;
    }

    .nav__link,
    .nav__contacts a,
    .nav__contacts button {
        touch-action: manipulation;
    }

    .nav-backdrop {
        z-index: 1100;
    }

    body.nav-open .site-header {
        z-index: 1150;
    }
}

.catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.catalog-card__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.catalog-card__price {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.catalog-product__buy {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.catalog-product__buy .catalog-product__price {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    margin-bottom: 16px;
}

.content-block {
    color: var(--text);
    line-height: 1.7;
}

.content-block p {
    margin: 0 0 0.85em;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block ul,
.content-block ol {
    margin: 0 0 1em;
    padding-left: 1.35em;
}

.content-block li {
    margin-bottom: 0.4em;
}

.content-block strong {
    font-weight: 700;
    color: var(--text);
}

.content-block a {
    color: var(--accent);
}

.product-gallery__stage {
    position: relative;
}

.product-gallery__main {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.product-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.product-gallery__arrow--prev { left: 12px; }
.product-gallery__arrow--next { right: 12px; }

.product-gallery__arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.04);
}

.product-gallery__status {
    margin-top: 12px;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
