/*
Theme Name: ISkypka
Theme URI: https://example.com/skupka-iphone
Author: Developer
Author URI: https://example.com
Description: Тема для сайта скупки техники Apple
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skupka-iphone
Tags: e-commerce, custom-post-types, featured-images, block-styles
*/

/* ============================
   CSS VARIABLES
   ============================ */
:root {
    --color-primary-dark: #0F172A;
    --color-primary: #1E293B;
    --color-accent: #34C759;
    --color-accent-hover: #28A745;
    --color-accent-light: #E8F5E9;
    --color-background: #FFFFFF;
    --color-surface: #F8FAFC;
    --color-text-primary: #0F172A;
    --color-text-secondary: #475569;
    --color-text-muted: #999999;
    --color-border: #E2E8F0;
    --font-heading: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 120px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
   BASE & RESET
   ============================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

p {
    margin-bottom: var(--space-md);
}

ul, ol {
    list-style: none;
}

/* ============================
   LAYOUT
   ============================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--color-surface);
}

.section-dark {
    background: var(--color-primary-dark);
    color: #fff;
}

.section-dark h2, .section-dark h3 {
    color: #fff;
}

/* ============================
   TYPOGRAPHY
   ============================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* ============================
   HEADER (exactly as per design)
   ============================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 72px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.branding-text {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

.site-branding a {
    text-decoration: none;
}

/* Dropdown */
.header-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    padding: 6px 0;
}

.dropdown-toggle .chevron {
    transition: transform var(--transition-fast);
    margin-top: 2px;
}

.header-dropdown:hover .chevron,
.dropdown-toggle.active .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--transition-fast);
    z-index: 1001;
}

.header-dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #111;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.dropdown-menu a:hover {
    background: #f5f6f7;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    padding: 4px 0;
    transition: opacity var(--transition-fast);
    white-space: nowrap;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* Right group */
.header-right-group {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
}

.phone-icon {
    flex-shrink: 0;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: transform var(--transition-fast);
}

.social-icon:hover {
    transform: scale(1.05);
}

.social-icon img {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.header-online-link {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
    padding-bottom: 2px;
    transition: opacity var(--transition-fast);
    white-space: nowrap;
}

.header-online-link:hover {
    opacity: 0.6;
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* ============================
   MOBILE MENU
   ============================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid #eee;
}

.mobile-menu-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: #111;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-xl);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-sell-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border: 0;
    background: transparent;
    color: #111;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
}

.mobile-nav-sell-toggle .chevron {
    flex: 0 0 auto;
    transition: transform var(--transition-fast);
}

.mobile-nav-sell-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.mobile-nav-sell-menu {
    list-style: none;
    margin: 0 0 12px;
    padding: 0 0 0 16px;
    border-left: 2px solid var(--color-accent);
}

.mobile-nav-sell-menu[hidden] {
    display: none;
}

.mobile-nav-sell-menu li {
    border-bottom: 0;
}

.mobile-nav-list .mobile-nav-sell-menu a {
    padding: 10px 0;
    font-size: 16px;
}

.mobile-nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-nav-list a:hover {
    color: var(--color-accent);
}

.mobile-menu-footer {
    padding: var(--space-lg);
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-phone {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-align: center;
    text-decoration: none;
}

/* ============================
   HERO (first screen — Applesell)
   ============================ */
.hero {
    --hero-cta-green: #34c759;
    --hero-icon-green: #5dd87e;
    background: #fff;
    color: #111;
    min-height: auto;
    /* padding: calc(72px + clamp(32px, 5vw, 56px)) 0 clamp(40px, 5vw, 64px); */
    padding: calc(72px + clamp(32px, 5vw, 56px)) 0 0;
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 25.39%, #F5F6F7 100%);
    overflow: hidden;
    overflow-y: auto;
}

.hero-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-top {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 18px);
    max-width: 55%;
}

.hero-title {
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 700;
    color: #111;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-lead {
    font-size: clamp(17px, 1.6vw, 26px);
    font-weight: 400;
    color: #111;
    line-height: 1.45;
    margin: 0;
}

.hero-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    right: 20%;
    top: 23%;
    z-index: 3;
    max-width: 280px;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hero-icon-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-benefit-icon svg {
    display: block;
    transform: scale(2);
    transform-origin: center;
}

.hero-benefit-text {
    font-size: 15px;
    font-weight: 400;
    color: #111;
    line-height: 1.35;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    margin-top: clamp(8px, 1.5vw, 40px);
    padding: 14px 21px;
    min-height: 50px;
    font-size: 18px;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none;
    background: var(--hero-cta-green);
    border-radius: 55px;
    border: none;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    max-width: 215px;
}

.hero-cta:hover {
    background: #2db04d !important;
    color: #fff !important;
    opacity: 0.98;
    transform: translateY(-1px);
}

.hero-figure {
    margin-top: clamp(28px, 4vw, 48px);
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 0;
    margin-left: -5%;
    box-sizing: border-box;
    background: linear-gradient(180deg, #FFFFFF 25.39%, #F5F6F7 100%);
}

.hero-photo {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: left center;
}

.hero-stats-wrap {
    width: 100%;
    padding: clamp(20px, 3vw, 36px) 0 clamp(32px, 4vw, 56px);
    margin-top: 0;
}

.hero-stats {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    max-width: min(586px, 100%);
    margin: 0 auto;
    padding: 4px;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    gap: clamp(12px, 3vw, 28px);
    box-sizing: border-box;
}

.hero-stat {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
}

.hero-stat--rating {
    flex: 0 0 auto;
}

.hero-stat--plain .hero-stat-sublabel {
    color: #888888;
}

.hero-stat-sublabel {
    font-size: 12px;
    font-weight: 500;
    color: #8e8e8e;
    text-transform: lowercase;
    letter-spacing: 0.01em;
    line-height: 1.2;
    margin-bottom: 6px;
}

.hero-stat-big {
    font-size: clamp(30px, 2.2vw, 38px);
    font-weight: 500;
    color: #000;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-rating-badge {
    padding: 6px 21px;
    position: relative;
    width: 158px;
    height: 103px;
    border-radius: 20px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-rating-wreath {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-rating-wreath>svg {
    width: 95%;
    height: 88%;
    display: block;
    flex-shrink: 0;
}

.hero-rating-stack {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    pointer-events: none;
}

.hero-rating-label {
    font-size: 12px;
    font-weight: 400;
    color: #F5F5F5;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.hero-rating-value {
    font-size: 38px;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* ============================
   MINI CALCULATOR (главная, #calculator)
   ============================ */
.calc-flow-section {
    padding: clamp(40px, 5vw, 72px) 0;
    background: #f1f5f9;
    position: relative;
    z-index: 10;
}

.calc-flow {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 2fr);
    grid-gap: 20px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid #e8ecf0;
}

.calc-flow__sidebar {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 40px) clamp(28px, 4vw, 40px) clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid #F5F6F7
}

.calc-flow__title {
    margin: 0;
    font-size: clamp(36px, 2.4vw, 42px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.calc-flow__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #666666;
}

.calc-flow__bullets {
    list-style: none;
    margin: auto 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-flow__bullets li {
    display: flex;
    align-items: anchor-center;
    gap: 10px;
    font-size: 14px;
    color: #555555;
    line-height: 1.4;
}

.calc-flow__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.calc-flow__check svg {
    display: block;
}

.calc-flow__main {
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.calc-flow__view.is-hidden,
.calc-flow__view[hidden] {
    display: none !important;
}

.calc-flow__field.is-hidden,
.calc-flow__field[hidden] {
    display: none !important;
}

.calc-flow__step {
    margin-bottom: 28px;
}

.calc-flow__step--model {
    margin-bottom: 18px;
}

.calc-flow__step--extras {
    margin-bottom: 28px;
}

.calc-flow__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 15px;
    height: 22px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    vertical-align: middle;
}

.calc-flow__step-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.calc-flow__device-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.calc-flow__device {
    flex: 1 1 auto;
    min-width: 72px;
    max-width: max-content;
    max-height: 46px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid #E8E9EB;
    background: #fff;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.calc-flow__device:hover {
    border-color: #cbd5e1;
}

.calc-flow__device.is-active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 0 1px rgba(52, 199, 89, 0.15);
}

.calc-flow__device-icon {
    color: currentColor;
    opacity: 0.85;
}

.calc-flow__device:not(.is-active) .calc-flow__device-icon {
    color: var(--color-text-muted);
}

.calc-flow__device:not(.is-active) {
    color: var(--color-text-primary);
}

.calc-flow__device.is-locked {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
}

.calc-flow__device.is-locked .calc-flow__device-icon {
    color: var(--color-text-muted);
}

.calc-flow__select {
    width: 100%;
    margin-top: 12px;
    padding: 14px 44px 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--color-text-primary);
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1.5L6 6.5l5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    appearance: none;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.calc-flow__select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.calc-flow__select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.calc-flow__step--locked {
    opacity: 0.42;
    pointer-events: none;
    user-select: none;
    transition: opacity var(--transition-base);
}

.calc-flow__storage-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    min-height: 8px;
}

.calc-flow__storage {
    padding: 11px 18px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    color: var(--color-text-primary);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.calc-flow__storage.is-active {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.calc-flow__optional-label {
    margin: 18px 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.calc-flow__optional-muted {
    font-weight: 500;
    letter-spacing: 0.04em;
}

.calc-flow__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.calc-flow__checkline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    color: var(--color-text-primary);
}

.calc-flow__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calc-flow__checkfake {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.calc-flow__checkbox:checked+.calc-flow__checkfake {
    background: #34C759;
    border-color: #34C759;
    color: #fff;
}

.calc-flow__checkbox:focus-visible+.calc-flow__checkfake {
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.35);
}

.calc-flow__submit-price {
    width: 100%;
    max-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border: none;
    border-radius: 999px;
    background: #111111;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.calc-flow__submit-price:hover {
    background: #1e293b;
}

.calc-flow__submit-price:active {
    transform: scale(0.99);
}

.calc-flow__select.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.calc-flow__error-msg {
    margin-top: 6px;
    font-size: 13px;
    color: #ef4444;
    font-weight: 500;
}

.calc-flow__storage-row.is-error {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
    border-radius: 10px;
    display: inline-flex;
}

.calc-flow__view--2,
.calc-flow__view--3 {
    text-align: center;
    padding: 8px 0 12px;
}

.calc-flow__view--2 .calc-flow__offer-bug {
    padding: 7px 15px;
    font-weight: 600;
    font-size: 13px;
    line-height: 130%;
    color: #34C759;
    background-color: #F0FBF3;
    border-radius: 999px;
    margin-bottom: 17px;
}

.calc-flow__offer-title {
    font-size: clamp(20px, 2.2vw, 18px);
    font-weight: 400;
    margin: 17px 0 10px;
    line-height: 1.3;
}

.calc-flow__offer-sum {
    font-size: clamp(32px, 4vw, 85px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 17px;
}

.calc-flow__promo {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    /*text-align: left;*/
    /*padding: 18px 20px;*/
    /*border-radius: 18px;*/
    /*background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 40%, #fef3c7 100%);*/
    /*border: 1px solid rgba(52, 199, 89, 0.35);*/
    /*margin: 0 auto 22px;*/
    /*max-width: 440px;*/
    /*box-shadow: 0 8px 24px rgba(52, 199, 89, 0.12);*/
}

.calc-flow__promo-left {
    display: flex;
    overflow: hidden;
    background: linear-gradient(135deg, #34C759 0%, #13B93D 99.52%);
    border-radius: 14px;
}

.calc-flow__promo-left-content {
    padding: 24px;
    text-align: start;
}

.calc-flow__promo-left-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.calc-flow__promo-left-subtitle {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.calc-flow__promo-left-text {
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 12px;
}

.calc-flow__promo-left-bonus {
    border-radius: 14px;
    background: #FFFFFF33;
    padding: 6px 12px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.calc-flow__promo-left-img {
    display: flex;
    position: relative;
}

.calc-flow__promo-left-img img {
    max-width: 183px;
    margin-left: 25%;
    transform: scale(1.3);
}

.calc-flow__promo-left-img-badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    max-width: 110px;
    font-size: 12px;
    padding: 5px;
    right: 20%;
    top: 35%;
    transform: translateY(-50%) rotate(337deg);
}

.calc-flow__promo-right {
    background: #F5F6F7;
    width: 50%;
    border-radius: 14px;
    text-align: start;
    padding: 24px;
}

.calc-flow__promo-right-text {
    font-size: 13px;
    color: #888888;
    line-height: 19px;
}

.calc-flow__promo-right-count {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 13px;
}

.calc-flow__promo-right-count strong {
    font-size: 48px;
}

.calc-flow__promo-right-live {
    font-size: 12px;
    font-weight: 700;
    color: #34C759;
    display: flex;
    align-items: center;
    gap: 9px;
}

.calc-flow__promo-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #065f46;
    line-height: 1.35;
}

.calc-flow__promo-sub {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.calc-flow__btn-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.calc-flow__sell-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 55px;
    border: none;
    background: #34C759;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    max-width: 211px;
    width: 100%;
}

.calc-flow__sell-now:hover {
    background: #1e293b;
}

.calc-flow__back {
    display: block;
    padding: 8px 12px;
    border: none;
    background: #F5F6F7;
    color: #555555;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    text-underline-offset: 3px;
    border-radius: 55px;
    max-width: 211px;
    width: 100%;
}

.calc-flow__lead-form {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin: 0 auto;
}

.calc-flow__lead-summary {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.55;
    width: 50%;
}

.calc-flow__lead-summary p {
    margin: 0 0 8px;
}

.calc-flow__lead-summary p:last-child {
    margin-bottom: 0;
}

.calc-flow__lead-inputs {
    width: 50%;
}

/* Сброс стилей fieldset */
.calc-flow__fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Заголовок */
.calc-flow__field-label {
    width: 100%;
    margin-bottom: 16px;
    font-size: 18px;
    color: #9ca3af;
    /* серый цвет как на скриншоте */
    font-weight: 400;
}

/* Контейнер кнопки */
.calc-flow__radio-line {
    position: relative;
    flex: 1;
    min-width: 130px;
    cursor: pointer;
    user-select: none;
}

/* Скрываем нативную радиокнопку */
.calc-flow__radio-line input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Внешний вид кнопки (неактивная) */
.calc-flow__radio-line span {
    display: block;
    text-align: center;
    padding: 14px 10px;
    border: 2px solid #e5e7eb;
    /* светло-серая рамка */
    border-radius: 16px;
    font-size: 16px;
    color: #374151;
    /* темно-серый текст */
    background-color: #ffffff;
    transition: all 0.2s ease;
}

/* Наведение */
.calc-flow__radio-line:hover span {
    border-color: #d1d5db;
}

/* Активная (выбранная) кнопка — зеленая */
.calc-flow__radio-line.is-active span,
.calc-flow__radio-line input[type="radio"]:checked+span {
    border-color: #4ade80;
    color: #22c55e;
    background-color: #F0FBF3;
}

.calc-flow__back-last {
    max-width: 100%;
}

.calc-flow__bonus-note {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #34c759;
}

.calc-flow__field {
    margin-bottom: 16px;
}

.calc-flow__field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-secondary);
}

.calc-flow__input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    font-family: inherit;
}

.calc-flow__input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.calc-flow__input.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.calc-flow__consent.is-error {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
    border-radius: 6px;
}

.calc-flow__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    cursor: pointer;
}

.calc-flow__form-msg {
    min-height: 22px;
    font-size: 14px;
    color: var(--color-accent-hover);
    margin-bottom: 8px;
}

.calc-flow__lead-submit {
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    border: none;
    background: #0f172a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 8px;
}

.calc-flow__lead-submit:hover {
    background: #1e293b;
}

.calc-flow__lead-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.calc-flow__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.calc-flow-your-choice {
    font-size: 13px;
    color: #888888;
    margin-bottom: 4px;
}

.calc-flow-your-choice-model {
    font-size: 22px;
    line-height: 33px;
    margin-bottom: 9px;
}

.calc-flow-your-choice-model-name {
    font-weight: 600;
}

.calc-flow-your-choice-storage {
    margin-left: 12px;
    color: #666666;
    font-weight: 400;
}

.calc-flow-your-choice-price {
    font-size: 32px;
    font-weight: 700;

}

@media (max-width: 768px) {
    .calc-flow__lead-form {
        flex-direction: column;
    }

    .calc-flow__lead-summary,
    .calc-flow__lead-inputs {
        width: 100%;
        box-sizing: border-box;
    }

    .calc-flow__device-row {
        gap: 6px;
    }

    .calc-flow__promo {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .calc-flow__promo-left {
        flex-direction: column;
    }

    .calc-flow__promo-left-img {
        display: none;
    }

    .calc-flow__promo-left-content {
        padding: 16px;
    }

    .calc-flow__promo-left-title {
        font-size: 28px;
    }

    .calc-flow__promo-left-subtitle {
        font-size: 14px;
    }

    .calc-flow__promo-left-text {
        font-size: 12px;
    }

    .calc-flow__promo-left-bonus {
        font-size: 12px;
        padding: 5px 10px;
    }

    .calc-flow__promo-right {
        width: 100%;
        padding: 16px;
    }

    .calc-flow__promo-right-count strong {
        font-size: 36px;
    }

    .calc-flow__btn-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .calc-flow__sell-now {
        max-width: 100%;
    }

    .calc-flow__back {
        width: 100%;
        text-align: center;
    }
}

/* ============================
   DEVICE GRID
   ============================ */
.device-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.device-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.device-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.device-card-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.device-card-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.device-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.device-card-specs {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.device-card-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.device-card .btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
}

/* ============================
   STEPS
   ============================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: var(--color-accent-light);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.step p {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* Главная: «Как мы работаем» — карточки с how-it-work/*.png */
.how-work-section {
    background: #fff;
    padding: clamp(48px, 6vw, 100px) 0;
}

.how-work__grid {
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3vw, 32px);
}

.how-work__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.how-work__title {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 500;
    color: #111;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-align: inherit;
    max-width: 255px;
}

.how-work__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.how-work-card {
    position: relative;
    border-radius: clamp(24px, 3vw, 36px);
    overflow: hidden;
    background-color: #e8e8ed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
    aspect-ratio: 4 / 5;
    width: 100%;
}

.how-work-card__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0) 77.11%);
}

.how-work-card__title {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: clamp(22px, 3vw, 30px) 16px 0;
    font-size: clamp(21px, 1.4vw, 22px);
    font-weight: 500;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.how-work-card__bubble {
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: min(92%, 280px);
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.how-work-card__bubble::after {
    content: '';
    position: absolute;
    left: 26px;
    bottom: -9px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 10px solid #fff;
}

.how-work-card__bubble-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #8e8e93;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.how-work-card__bubble-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
    color: #111;
}

.how-work__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    background: #34C759;
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 14px rgba(57, 200, 95, 0.35);
    flex-shrink: 0;
}

.how-work__cta:focus-visible {
    outline: 2px solid #000;
    outline-offset: 3px;
}

@media (min-width: 1024px) {
    .how-work__grid {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: clamp(28px, 4vw, 48px);
    }

    .how-work__head {
        align-items: flex-start;
        gap: 40px;
        text-align: left;
        flex: 0 1 auto;
        max-width: 100%;
    }

    .how-work__title {
        text-align: left;
    }

    .how-work__cards {
        flex: 1 1 0;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(20px, 2vw, 16px);
    }

    .how-work-card {
        min-height: 320px;
        max-height: 358px;
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 1024px) {
    .calc-flow__bullets {
        display: none;
    }
}

@media (max-width: 768px) {
    .how-work__grid {
        gap: 40px;
    }

    .how-work__head {
        display: contents;
    }

    .how-work__title {
        font-size: 36px;
        line-height: 120%;
        max-width: 289px;
        order: 1;
    }

    .how-work__cards {
        width: 100%;
        order: 2;
    }

    .how-work-card {
        max-height: 300px;
    }

    .how-work__cta {
        margin: 0 auto;
        max-width: 200px;
        order: 3;
    }
}

/* ============================
   SELL CATEGORIES (главная)
   ============================ */
.sell-categories-section {
    padding: clamp(40px, 5vw, 100px) 0;
    background: #fff;
}

.sell-categories-section__container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.sell-categories-panel {
    background: #F5F5F7;
    border-radius: clamp(28px, 3.5vw, 35px);
    padding: clamp(25px, 3.5vw, 100px);
}

.sell-categories-head {
    margin-bottom: clamp(22px, 3vw, 32px);
}

.sell-categories-head__title {
    margin: 0 0 10px;
    max-width: 20ch;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #111111;
    margin-bottom: 12px;
}

.sell-categories-head__lead {
    margin: 0;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.45;
    color: #111111;
}

.sell-categories-head__lead--mobile {
    display: none;
}

.sell-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(240px, auto));
    gap: 20px;
}

.sell-cat-card {
    position: relative;
    display: block;
    min-height: 168px;
    padding: 18px 20px;
    border-radius: 28px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sell-cat-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.sell-cat-card__label {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 88%;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #111111;
}

.sell-cat-card__media {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 12px 52px;
    pointer-events: none;
}

.sell-cat-card__img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.sell-cat-card__plus {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.sell-cat-card__plus svg {
    display: block;
}

/* Bento: 3 колонки × 6 рядов */
.sell-cat-card[data-slug="iphone"] {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.sell-cat-card[data-slug="apple-watch"] {
    grid-column: 2;
    grid-row: 1;
}

.sell-cat-card[data-slug="ipad"] {
    grid-column: 3;
    grid-row: 1;
}

.sell-cat-card[data-slug="macbook"] {
    grid-column: 2 / span 2;
    grid-row: 2;
}

.sell-cat-card[data-slug="imac"] {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.sell-cat-card[data-slug="airpods"] {
    grid-column: 3;
    grid-row: 3;
}

.sell-cat-card[data-slug="console"] {
    grid-column: 1;
    grid-row: 4;
}

.sell-cat-card[data-slug="dyson"] {
    grid-column: 2;
    grid-row: 4;
}

.sell-cat-card[data-slug="samsung"] {
    grid-column: 3;
    grid-row: 4 / span 2;
}

.sell-cat-card[data-slug="xiaomi"] {
    grid-column: 1;
    grid-row: 5;
}

.sell-cat-card[data-slug="android"] {
    grid-column: 2;
    grid-row: 5;
}

.sell-cat-card[data-slug="laptop"] {
    grid-column: 1;
    grid-row: 6;
}

.sell-cat-card[data-slug="robot-vacuum"] {
    grid-column: 2;
    grid-row: 6;
}

.sell-cat-card--desktop-only {
    grid-column: 3;
    grid-row: 6;
}

.sell-cat-card--mobile-only {
    display: none;
}

.sell-cat-card--iphone img {
    position: absolute;
    left: -18%;
    bottom: -25%;
    max-height: 120% !important;
    max-width: 160%;
    width: 160% !important;
    height: 120%;
}

.sell-cat-card--apple-watch img {
    position: absolute;
    bottom: -7%;
    max-height: unset;
    max-width: 160%;
    width: 160% !important;
    height: 112%;
}

.sell-cat-card--ipad img {
    position: absolute;
    bottom: 10%;
    max-height: unset;
    max-width: 160%;
    width: 160% !important;
    height: 112%;
}

.sell-cat-card--macbook img {
    position: absolute;
    bottom: -20%;
    max-height: unset !important;
    max-width: 160%;
    width: 160% !important;
    height: 150%;
}

.sell-cat-card--imac img {
    position: absolute;
    bottom: 3%;
    left: -22%;
    max-height: unset !important;
    max-width: 160%;
    width: 160% !important;
    height: 140%;
}

.sell-cat-card--airpods img {
    position: absolute;
    bottom: -50%;
    left: -68%;
    max-height: unset !important;
    max-width: 160%;
    width: 160% !important;
    height: 140%;
}

.sell-cat-card--console img {
    position: absolute;
    bottom: -10%;
    max-height: unset !important;
    max-width: 160%;
    width: 160% !important;
    height: 111%;
}

.sell-cat-card--dyson img {
    position: absolute;
    bottom: -50%;
    max-height: unset !important;
    max-width: 160%;
    width: 160% !important;
    height: 160%;
}

.sell-cat-card--samsung img {
    position: absolute;
    bottom: -20%;
    max-height: unset !important;
    max-width: 160% !important;
    width: 160% !important;
    height: 160%;
}

/* Позиционирование фото под макет */
.sell-cat-card[data-slug="iphone"] .sell-cat-card__media {
    padding-bottom: 48px;
}

.sell-cat-card[data-slug="iphone"] .sell-cat-card__img {
    max-height: 92%;
    width: 78%;
}

.sell-cat-card[data-slug="macbook"] .sell-cat-card__media,
.sell-cat-card[data-slug="imac"] .sell-cat-card__media {
    padding-left: 8px;
    padding-right: 8px;
}

.sell-cat-card[data-slug="macbook"] .sell-cat-card__img,
.sell-cat-card[data-slug="imac"] .sell-cat-card__img {
    width: 88%;
    max-height: 95%;
}

.sell-cat-card[data-slug="airpods"] .sell-cat-card__img {
    width: 72%;
    max-height: 70%;
}

.sell-cat-card[data-slug="samsung"] .sell-cat-card__media {
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
}

.sell-cat-card[data-slug="samsung"] .sell-cat-card__img {
    width: auto;
    max-width: 88%;
    max-height: 88%;
    object-position: right bottom;
}

.sell-cat-card[data-slug="dyson"] .sell-cat-card__img {
    max-height: 85%;
    width: 80%;
}

.sell-cat-card[data-slug="console"] .sell-cat-card__img,
.sell-cat-card[data-slug="xiaomi"] .sell-cat-card__img,
.sell-cat-card[data-slug="android"] .sell-cat-card__img {
    max-height: 88%;
    width: 85%;
}

.sell-cat-card[data-slug="robot-vacuum"] .sell-cat-card__img,
.sell-cat-card[data-slug="robot-station"] .sell-cat-card__img {
    max-height: 82%;
    width: 78%;
}

.sell-cat-card--desktop-only .sell-cat-card__img {
    max-height: 80%;
    width: 70%;
}

@media (max-width: 900px) {
    .sell-categories-head__title {
        font-size: 36px;
        line-height: 120%;
        max-width: 225px;
    }

    .sell-categories-head__lead--desktop {
        display: none;
    }

    .sell-categories-head__lead--mobile {
        display: block;
    }

    .sell-categories-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 12px;
    }

    .sell-cat-card {
        min-height: 156px;
        border-radius: 24px;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .sell-cat-card--iphone {
        min-height: 344px;
    }

    .sell-cat-card--apple-watch,
    .sell-cat-card--ipad {
        min-height: 230px;
    }

    .sell-cat-card--macbook,
    .sell-cat-card--imac {
        min-height: 200px;
    }

    .sell-cat-card--macbook .sell-cat-card__label {
        max-width: none;
    }

    .sell-cat-card--macbook img {
        height: 120%;
    }

    .sell-cat-card--imac img {
        left: -30%;
        height: 100%;
    }

    .sell-cat-card--airpods {
        min-height: 235px;
    }

    .sell-cat-card--console {
        min-height: 255px;
    }

    .sell-cat-card--console .sell-cat-card__label {
        max-width: 75%;
    }

    .sell-cat-card__plus {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: 14px;
    }

    .sell-cat-card--desktop-only {
        display: none;
    }

    .sell-cat-card--mobile-only {
        display: block;
    }

    .sell-cat-card__label {
        max-width: 58%;
    }
}

/* ============================
   PRICE TABLE (главная)
   ============================ */
.price-table-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #fff;
}

.price-table-section__container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.price-table-card {
    background: #fff;
    border: 1px solid #F5F5F7;
    border-radius: clamp(24px, 3vw, 30px);
    padding: clamp(24px, 3vw, 49px) clamp(24px, 3vw, 41px);
}

.price-table-card__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(20px, 2.5vw, 56px);
}

.price-table-card__title {
    margin: 0 0 12px;
    font-size: clamp(36px, 2.8vw, 42px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #111111;
}

.price-table-card__subtitle {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    color: #666666;
}

.price-table-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e8f5e9;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #34C759;
    white-space: nowrap;
}

.price-table-card__badge-icon {
    flex-shrink: 0;
}

.price-table-card__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.price-table__head {
    padding: 0 12px 14px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    color: #999999;
    border-bottom: 1px solid #f0f0f2;
}

.price-table__head--num {
    width: 99px;
    padding-left: 0;
}

.price-table__head--memory {
    text-align: center;
}

.price-table__head--price {
    text-align: right;
    padding-right: 0;
}

.price-table__row {
    border-bottom: 1px solid #f2f2f7;
}

.price-table__row:last-child {
    border-bottom: none;
}

.price-table__cell {
    padding: 18px 12px 18px 0;
    vertical-align: middle;
    font-size: 18px;
    line-height: 1.35;
}

.price-table__cell--num {
    width: 48px;
    padding-left: 0;
    font-size: 13px;
    font-weight: 600;
    color: #CCCCCC;
}

.price-table__cell--model {
    font-weight: 500;
    color: #111111;
}

.price-table__model-link {
    color: inherit;
    text-decoration: none;
}

.price-table__model-link:hover {
    color: #333;
}

.price-table__cell--memory {
    text-align: center;
}

.price-table__memory {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f2f2f7;
    font-size: 14px;
    font-weight: 500;
    color: #888888;
    white-space: nowrap;
}

.price-table__cell--price {
    text-align: right;
    padding-right: 0;
}

.price-table__price {
    font-size: 18px;
    font-weight: 600;
    color: #34C759;
    white-space: nowrap;
}

.price-table-section__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: clamp(28px, 3.5vw, 36px);
}

.price-table-section__more-btn {
    min-width: min(100%, 320px);
    max-width: 200px;
    padding: 14px 40px;
    border: 1px solid #000000;
    border-radius: 55px;
    background: #fff;
    color: #111;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.price-table-section__more-btn:hover:not(:disabled) {
    background: #111;
    color: #fff;
}

.price-table-section__more-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 768px) {
    .price-table-card__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .price-table-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .price-table-card__title {
        max-width: 80%;
    }

    .price-table-card__subtitle {
        font-size: 15px;
    }

    .price-table-card__badge {
        align-self: flex-start;
    }

    .price-table__memory {
        font-size: 11px;
    }

    .price-table__model-link {
        display: block;
        width: max-content;
    }

    .price-table__head--memory,
    .price-table__cell--memory {
        text-align: left;
        max-width: 65px;
    }

    .price-table__cell {
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 15px;
        line-height: 24px;
    }

    .price-table__head {
        font-size: 10px;
    }

    .price-table__head--num,
    .price-table__cell--num {
        width: 16px;
    }

    .price-table__head--model {
        width: 130px;
    }

    .price-table__cell--memory {
        font-size: 11px;
        line-height: 21px;
    }

    .price-table__price {
        font-size: 14px;
        line-height: 27px;
    }
}

/* ============================
   HOME SEO (конец главной)
   ============================ */
.home-seo {
    padding: clamp(28px, 3.5vw, 40px) 0 clamp(40px, 5vw, 56px);
    background: #fff;
}

.home-seo__container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
    max-width: 920px;
}

.home-seo__title {
    margin: 0 0 clamp(18px, 2.2vw, 24px);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000;
}

.home-seo__content p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

.home-seo__content p:last-child {
    margin-bottom: 0;
}

/* Legacy benefits (если используется где-то ещё) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ============================
   REVIEWS (legacy grid — архив и др.)
   ============================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.review-quote {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    position: relative;
}

.review-quote::before {
    content: '"';
    font-size: 48px;
    color: var(--color-accent);
    line-height: 1;
    position: absolute;
    top: -16px;
    left: -8px;
    opacity: 0.3;
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-accent);
    font-size: 16px;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
}

.review-date {
    font-size: 13px;
    color: var(--color-text-muted);
}

.review-stars {
    color: #FBBF24;
    font-size: 14px;
    margin-top: 2px;
}

/* Главная: «Нам доверяют» — слайдер + виджет Яндекс + фон review-bg.png */
.trust-section {
    background: #fff;
    padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 4vw, 48px);
}

.trust-section__container {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 28px);
}

.trust-section__panel {
    position: relative;
    border-radius: clamp(22px, 3vw, 36px);
    overflow: hidden;
    background: #fff;
}

.trust-section__panel-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 65%;
    z-index: 0;
    pointer-events: none;
    background-color: transparent;
    background-image: url('assets/image/review-bg.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.trust-section__panel-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.8) 15%,
            rgba(255, 255, 255, 0.3) 40%,
            rgba(255, 255, 255, 0) 60%);
}

@media (max-width: 768px) {
    .trust-section__panel-bg {
        height: 50%;
    }
}

.trust-section__content {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 3.5vw, 40px) clamp(18px, 3vw, 36px) clamp(40px, 5vw, 60px);
    height: 100vh;
}

.trust-section__title {
    margin: 0 0 clamp(20px, 3vw, 50px);
    font-size: clamp(36px, 3vw, 42px);
    font-weight: 500;
    color: #111;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-align: left;
}

.trust-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(18px, 2.5vw, 28px);
    align-items: start;
}

.trust-section__slider-col {
    min-width: 0;
}

.reviews-swiper {
    overflow: hidden;
}

.reviews-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.trust-review-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px 20px 22px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    box-sizing: border-box;
}

.trust-review-card__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.trust-review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8ecf4, #d4dae8);
    color: #3a3a3c;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-review-card__head-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    min-width: 0;
}

.trust-review-card__who {
    font-size: 14px;
    font-weight: 500;
    color: #3c3c43;
    line-height: 1.2;
}

.trust-review-card__stars {
    color: #f7c948;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
}

.trust-review-card__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #111;
}

.reviews-swiper-nav {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 16px;
    justify-content: flex-start;
}

.reviews-swiper-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d8d8dc;
    background: #fff;
    color: #3a3a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.reviews-swiper-btn:hover:not(.swiper-button-disabled) {
    background: #f7f7f8;
    border-color: #c4c4c8;
}

.reviews-swiper-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.reviews-swiper-btn:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.trust-section__yandex-col {
    min-width: 0;
}

.yandex-widget-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

.yandex-widget-card__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.yandex-widget-card__hint {
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
}

.yandex-widget-brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.yandex-widget-brand__mark {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fc3f1d;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(252, 63, 29, 0.35);
}

.yandex-widget-brand__text {
    letter-spacing: -0.01em;
}

.yandex-widget-brand__light {
    font-weight: 500;
    color: #636366;
}

.yandex-widget-card__rating {
    margin-bottom: 14px;
}

.yandex-widget-card__score {
    display: inline-block;
    font-size: 34px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-right: 8px;
    vertical-align: middle;
}

.yandex-widget-card__stars {
    color: #f7c948;
    font-size: 16px;
    letter-spacing: 2px;
    vertical-align: middle;
}

.yandex-widget-card__counts {
    margin: 8px 0 0;
    font-size: 13px;
    color: #8e8e93;
    line-height: 1.35;
}

.yandex-widget-card__cta-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f2f2f7;
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.yandex-widget-card__cta-label {
    font-size: 13px;
    color: #636366;
    font-weight: 500;
    flex: 1 1 auto;
    min-width: 0;
}

.yandex-widget-card__cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: #007aff;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.yandex-widget-card__cta-btn:hover {
    background: #0066d6;
    color: #fff !important;
}

.yandex-widget-card__snippet {
    padding-bottom: 12px;
    border-bottom: 1px solid #ececf0;
    margin-bottom: 12px;
}

.yandex-widget-card__snippet-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.yandex-widget-card__snippet-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8e6c9, #81c784);
    flex-shrink: 0;
}

.yandex-widget-card__snippet-person {
    flex: 1 1 auto;
    min-width: 0;
}

.yandex-widget-card__snippet-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.yandex-widget-card__snippet-date {
    display: block;
    font-size: 12px;
    color: #8e8e93;
    margin-top: 2px;
}

.yandex-widget-card__snippet-stars {
    margin-left: auto;
    color: #f7c948;
    font-size: 12px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.yandex-widget-card__snippet-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #3c3c43;
}

.yandex-widget-card__more {
    color: #007aff;
    font-weight: 600;
    text-decoration: none;
}

.yandex-widget-card__more:hover {
    text-decoration: underline;
}

.yandex-widget-card__footer {
    text-align: center;
}

.yandex-widget-card__footer-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #f2f2f7;
    color: #007aff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.yandex-widget-card__footer-link:hover {
    background: #e8e8ed;
    color: #007aff !important;
}

.trust-section__cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: clamp(16px, 2.5vw, 22px) clamp(20px, 3vw, 32px);
    background: #F5F6F7;
    border-radius: 25px;
}

.trust-section__cta-text {
    margin: 0;
    font-size: clamp(26px, 1.4vw, 30px);
    font-weight: 500;
    color: #111111;
    line-height: 1.35;
    max-width: 36rem;
}

.trust-section__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: #34c759;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 12px rgba(52, 199, 89, 0.35);
}

.trust-section__cta-btn:hover {
    background: #2db04d;
    color: #fff !important;
}

@media (max-width: 1023px) {
    .trust-section__grid {
        grid-template-columns: 1fr;
    }

    .trust-section__title {
        font-size: 36px;
        line-height: 120%;
        margin-bottom: 40px;
    }

    .trust-section__yandex-col {
        order: 2;
        padding-top: 0;
    }

    .trust-section__slider-col {
        order: 1;
    }

    .trust-review-card__head-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .trust-review-card__stars {
        order: -1;
    }
}

@media (max-width: 768px) {
    .trust-section__cta {
        padding: 25px 25px 40px 25px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        border-radius: 24px;
    }

    .trust-section__cta-text {
        max-width: none;
    }

    .trust-section__cta-btn {
        margin: 0 auto;
        max-width: 200px;
        width: 100%;
        justify-content: center;
    }

    .yandex-widget-card__cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .yandex-widget-card__cta-btn {
        width: 100%;
        justify-content: center;
    }

    .reviews-swiper-nav {
        justify-content: flex-start;
    }
}

/* ============================
   FAQ
   ============================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: var(--space-lg);
}

.faq-answer p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* FAQ главная (#faq) — макет как в дизайне: слева заголовок, справа аккордеон */
#faq.faq-block {
    background: #fff;
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
}

#faq .faq-layout {
    display: grid;
    grid-template-columns: 7fr 13fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

#faq .faq-intro {
    text-align: left;
    padding-top: 4px;
    max-width: 380px;
}

#faq .faq-title {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 500;
    color: #111;
    margin: 0 0 15px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

#faq .faq-lead {
    font-size: clamp(15px, 1.35vw, 18px);
    font-weight: 400;
    color: #111111;
    line-height: 1.55;
    margin: 0;
}

#faq .faq-list {
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#faq .faq-item {
    border-bottom: none;
    margin: 0;
    background: #f5f5f7;
    border-radius: 22px;
    overflow: hidden;
    transition: background-color 0.2s ease;
}

#faq .faq-item:hover {
    background: #efeff2;
}

#faq .faq-question {
    width: 100%;
    margin: 0;
    padding: 22px 24px 22px 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 22px;
    font-weight: 500;
    color: #111;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s ease;
}

#faq .faq-question:hover {
    color: #000;
}

#faq .faq-question-text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: inherit;
}

#faq .faq-question-toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

#faq .faq-question-toggle svg {
    width: 16px;
    height: 16px;
    margin: 0;
    color: #000;
    transition: transform 0.28s ease;
}

#faq .faq-item.active .faq-question-toggle svg {
    transform: rotate(180deg);
    color: #000;
}

#faq .faq-answer {
    transition: max-height 0.35s ease;
}

#faq .faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 0;
}

#faq .faq-answer-inner {
    padding: 0 28px 22px;
    margin-top: -6px;
}

#faq .faq-answer p {
    font-size: 15px;
    font-weight: 400;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

#faq .faq-question:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    #faq .faq-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    #faq .faq-intro {
        max-width: 36rem;
    }
}

@media (max-width: 768px) {
    #faq .faq-title {
        font-size: 36px;
        line-height: 120%;
        margin-bottom: 11px;
    }

    #faq .faq-question {
        padding: 18px 16px 18px 18px;
        font-size: 18px;
        align-items: flex-start;
    }

    #faq .faq-question-toggle {
        width: 36px;
        height: 36px;
        margin-top: 2px;
    }

    #faq .faq-answer-inner {
        padding: 0 18px 18px;
        margin-top: -4px;
    }

    .blog-slide-card {
        border-radius: 28px;
    }

    .blog-slide-overlay {
        right: clamp(64px, 18vw, 80px);
        padding: 12px 16px;
        border-radius: 16px;
    }

    .blog-slide-plus {
        width: 42px;
        height: 42px;
        right: 12px;
        bottom: 12px;
    }

    .blog-swiper-nav {
        margin-top: 18px;
    }
}

/* ============================
   FAQ PAGE
   ============================ */
.faq-page {
    padding: 0 0 clamp(48px, 6vw, 80px);
    background: #fff;
}

.faq-page .container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.faq-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.faq-page__intro {
    padding-top: 4px;
    max-width: 380px;
}

.faq-page__title {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    color: #000;
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.faq-page__lead {
    font-size: clamp(15px, 1.35vw, 17px);
    font-weight: 400;
    color: #3c3c3c;
    line-height: 1.55;
    margin: 0;
}

.faq-page__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-page__list .faq-item {
    border-bottom: none;
    margin: 0;
    background: #f5f5f7;
    border-radius: 22px;
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.faq-page__list .faq-item:hover {
    background: #efeff2;
}

.faq-page__list .faq-question {
    width: 100%;
    margin: 0;
    padding: 22px 24px 22px 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: clamp(15px, 1.3vw, 17px);
    font-weight: 600;
    color: #000;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s ease;
}

.faq-page__list .faq-question:hover {
    color: #000;
}

.faq-page__list .faq-question-text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: inherit;
}

.faq-page__list .faq-question-toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.faq-page__list .faq-question-toggle svg {
    width: 16px;
    height: 16px;
    margin: 0;
    color: #000;
    transition: transform 0.28s ease;
}

.faq-page__list .faq-item.active .faq-question-toggle svg {
    transform: rotate(180deg);
    color: #000;
}

.faq-page__list .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-page__list .faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 0;
}

.faq-page__list .faq-answer-inner {
    padding: 0 28px 22px;
    margin-top: -6px;
}

.faq-page__list .faq-answer p {
    font-size: 15px;
    font-weight: 400;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

.faq-page__list .faq-question:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.faq-page__cta {
    display: flex;
    justify-content: center;
}

.faq-page__cta-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 800px;
    padding: clamp(16px, 2.5vw, 22px) clamp(20px, 3vw, 32px);
    background: #f2f2f7;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-page__cta-text {
    margin: 0;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 600;
    color: #000;
    line-height: 1.35;
    max-width: 36rem;
}

.faq-page__cta .btn-primary {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .faq-page__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .faq-page__intro {
        max-width: 36rem;
    }
}

@media (max-width: 768px) {
    .faq-page__list .faq-question {
        padding: 18px 16px 18px 18px;
        font-size: 15px;
        align-items: flex-start;
    }

    .faq-page__list .faq-question-toggle {
        width: 36px;
        height: 36px;
        margin-top: 2px;
    }

    .faq-page__list .faq-answer-inner {
        padding: 0 18px 18px;
        margin-top: -4px;
    }

    .faq-page__cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        border-radius: 24px;
    }

    .faq-page__cta-text {
        max-width: none;
    }

    .faq-page__cta .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: var(--space-4xl);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-banner h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.cta-banner .btn {
    position: relative;
    z-index: 1;
}

/* ============================
   FOOTER (Applesell layout)
   ============================ */
.site-footer {
    background: #f9f9f9;
    color: #111;
    padding: 0;
    border-top: 1px solid #e8e8e8;
}

.footer-main-row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 56px);
    padding: clamp(40px, 5vw, 56px) 0 clamp(36px, 4vw, 48px);
    align-items: start;
}

.footer-nav-pair {
    display: contents;
}

.footer-brand .footer-logo {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-block;
    line-height: 1.15;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 400;
    color: #767676;
    margin: 0;
    line-height: 1.45;
    max-width: 280px;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    margin: 0 0 19px;
    letter-spacing: 0;
    text-transform: none;
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-list a {
    font-size: 15px;
    font-weight: 400;
    color: #111;
    text-decoration: none;
    line-height: 1.35;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

.footer-link-list a:hover {
    color: #000;
    opacity: 0.75;
    text-decoration: underline;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.footer-contact-label {
    font-size: 13px;
    font-weight: 400;
    color: #9a9a9a;
}

.footer-contact-value {
    font-size: 15px;
    font-weight: 400;
    color: #111;
    line-height: 1.4;
}

a.footer-contact-phone {
    color: #111;
    text-decoration: none;
}

a.footer-contact-phone:hover {
    text-decoration: underline;
}

.footer-contact-messengers .footer-contact-label {
    margin-bottom: 2px;
}

.footer-messenger-icons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 4px;
}

.footer-messenger {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    text-decoration: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.footer-messenger:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.footer-messenger svg {
    display: block;
}

.footer-messenger img {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-separator {
    border: none;
    border-top: 1px solid #e4e4e4;
    margin: 0;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 28px;
    flex-wrap: wrap;
}

.footer-copyright,
.footer-privacy {
    font-size: 13px;
    font-weight: 400;
    color: #9a9a9a;
}

.footer-privacy {
    text-decoration: none;
    white-space: nowrap;
}

.footer-privacy:hover {
    color: #111;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .footer-top-inner {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
}

/* ============================
   PAGE HEADER & BREADCRUMBS
   ============================ */
.page-header {
    background: #fff;
    padding-top: calc(72px + clamp(20px, 3vw, 32px));
    padding-bottom: clamp(28px, 4vw, 44px);
    margin-bottom: 0;
}

.page-header .container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.page-header--compact {
    padding-bottom: clamp(20px, 3vw, 32px);
}

.page-header--breadcrumbs-only,
.page-header--post {
    padding-bottom: 12px;
}

.page-header__inner {
    display: flex;
    flex-direction: column;
}

.breadcrumbs {
    margin: 0 0 14px;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
}

.breadcrumbs__item+.breadcrumbs__item::before {
    content: '/';
    margin: 0 10px;
    color: var(--color-text-muted);
}

.breadcrumbs__link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
    color: var(--color-text-primary);
}

.breadcrumbs__current {
    color: var(--color-text-muted);
}

.page-header__title {
    margin: 0 0 clamp(20px, 3vw, 28px);
    font-size: clamp(40px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #111;
}

.page-header--compact .page-header__title {
    margin-bottom: 12px;
}

.page-header--compact .page-header__title:last-child {
    margin-bottom: 0;
}

.page-header__media {
    margin: 0 0 clamp(22px, 3vw, 30px);
    border-radius: clamp(20px, 2.5vw, 28px);
    overflow: hidden;
    background: #f1f5f9;
}

.page-header__media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 10 / 3;
}

.page-header__intro p {
    margin: 0 0 16px;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.65;
    color: var(--color-text-primary);
}

.page-header__intro p:last-child {
    margin-bottom: 0;
}

.page-header__description {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--color-text-secondary);
}

.page-content-section,
.single-post-section {
    padding-top: 0;
}

/* ============================
   ACCEPTED DEVICES (О нас)
   ============================ */
.accept-devices {
    padding: clamp(8px, 2vw, 66px) 0 clamp(48px, 6vw, 72px);
    background: #fff;
}

.accept-devices__wrap {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 24px);
}

.accept-devices__card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: clamp(24px, 3vw, 32px);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.04);
}

.accept-devices__head {
    margin-bottom: clamp(20px, 3vw, 28px);
}

.accept-devices__title {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.accept-devices__accent {
    color: var(--color-accent);
}

.accept-devices__subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    max-width: 520px;
}

.accept-devices__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(18px, 2.5vw, 24px);
}

.accept-devices__tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.accept-devices__tab:hover {
    border-color: #cbd5e1;
}

.accept-devices__tab.is-active {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.accept-devices__panel {
    display: none;
}

.accept-devices__panel.is-active {
    display: block;
}

.accept-devices__models {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(22px, 3vw, 32px);
}

.accept-devices__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--color-text-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: background var(--transition-fast);
}

a.accept-devices__chip:hover {
    background: #e8edf2;
    color: var(--color-text-primary);
}

.accept-devices__chip-icon {
    flex-shrink: 0;
    display: flex;
}

.accept-devices__chip-icon svg {
    display: block;
}

.accept-devices__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.accept-devices__stat {
    background: #f1f5f9;
    border-radius: 16px;
    padding: clamp(16px, 2.5vw, 22px) clamp(14px, 2vw, 20px);
    text-align: center;
}

.accept-devices__stat-value {
    display: block;
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.15;
    margin-bottom: 6px;
}

.accept-devices__stat-label {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: var(--color-text-secondary);
}

.accept-devices__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: clamp(20px, 2.5vw, 28px);
    padding: clamp(20px, 3vw, 28px) clamp(24px, 4vw, 36px);
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.04);
}

.accept-devices__cta-text {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.accept-devices__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.accept-devices__cta-btn:hover {
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .accept-devices__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .accept-devices__stat {
        padding: 14px 10px;
    }

    .accept-devices__stat-value {
        font-size: 18px;
    }

    .accept-devices__stat-label {
        font-size: 11px;
        word-break: break-word;
    }

    .accept-devices__cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .accept-devices__cta-btn {
        width: 100%;
    }

    .accept-devices__models {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .accept-devices__chip {
        justify-content: flex-start;
        border-radius: 14px;
        font-size: 12px;
        padding: 8px 10px 8px 8px;
    }
}

@media (max-width: 480px) {
    .accept-devices__tabs {
        gap: 8px;
    }

    .accept-devices__tab {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ============================
   BUYOUT MOSCOW (О нас)
   ============================ */
.buyout-moscow {
    padding: clamp(40px, 5vw, 64px) 0;
    background: #fff;
}

.buyout-moscow .container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.buyout-moscow__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
}

.buyout-moscow__title {
    margin: 0 0 clamp(20px, 3vw, 40px);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.buyout-moscow__text {
    margin: 0 0 25px;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 120%;
    color: #111;
}

.buyout-moscow__text--muted {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.buyout-moscow__aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.buyout-moscow__office-card {
    background: #f1f5f9;
    border-radius: clamp(22px, 2.5vw, 28px);
    padding: clamp(24px, 3vw, 32px);
}

.buyout-moscow__card-title {
    margin: 0 0 18px;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.buyout-moscow__label,
.buyout-moscow__note {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.buyout-moscow__address,
.buyout-moscow__hours {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text-primary);
}

.buyout-moscow__hours {
    margin-bottom: 0;
}

.buyout-moscow__contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: clamp(22px, 2.5vw, 28px);
    padding: clamp(22px, 3vw, 28px);
}

.buyout-moscow__contact-label {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.buyout-moscow__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.buyout-moscow__phone:hover {
    color: var(--color-text-primary);
}

.buyout-moscow__phone svg {
    flex-shrink: 0;
    color: var(--color-text-primary);
}

.buyout-moscow__socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.buyout-moscow__social {
    display: flex;
    line-height: 0;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.buyout-moscow__social:hover {
    transform: scale(1.05);
    opacity: 0.92;
}

.buyout-moscow__social img,
.buyout-moscow__social svg {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 15px;
}

@media (max-width: 900px) {
    .buyout-moscow__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .buyout-moscow__content {
        order: 1;
    }

    .buyout-moscow__aside {
        order: 2;
    }
}

@media (max-width: 640px) {
    .buyout-moscow__contact-card {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .buyout-moscow__phone {
        justify-content: center;
    }

    .buyout-moscow__socials {
        justify-content: center;
    }
}

/* ============================
   SERVICE AREA (О нас)
   ============================ */
.service-area {
    padding: clamp(40px, 5vw, 72px) 0;
    background: #fff;
}

/*.service-area .container {*/
/*    padding-left: clamp(16px, 3vw, 40px);*/
/*    padding-right: clamp(16px, 3vw, 40px);*/
/*}*/
.service-area__wrap {
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3vw, 28px);
}

.service-area__title {
    margin: 0 0 12px;
    font-size: clamp(36px, 3.2vw, 42px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-text-primary);
}

.service-area__lead {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    max-width: 580px;
    font-size: 18px;
    line-height: 1.5;
    color: #111111;
}

.service-area__lead-dot {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--color-accent);
}

.service-area__map {
    margin: 0;
}

.service-area__map-frame {
    position: relative;
    overflow: hidden;
    border-radius: clamp(22px, 2.5vw, 28px);
    background: #e8edf2;
    aspect-ratio: 2.35 / 1;
    min-height: 280px;
}

.service-area__map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.service-area__map-zone {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(42%, 380px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(52, 199, 89, 0.2);
    border: 3px solid rgba(52, 199, 89, 0.45);
}

.service-area__map-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: default;
}

.service-area__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.service-area__card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: clamp(18px, 2vw, 22px);
    padding: clamp(18px, 2.5vw, 22px);
    min-height: 100%;
    text-align: center;
}

.service-area__card-phone__wrap {
    min-width: 330px;
}

.service-area__card-label {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #888888;
}

.service-area__card-value {
    display: block;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 400;
    line-height: 1.45;
    color: #111111;
    text-decoration: none;
}

a.service-area__card-value:hover {
    color: var(--color-text-primary);
}

.service-area__card-note {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.service-area__phone-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.service-area__phone {
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 400;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.service-area__phone:hover {
    color: var(--color-text-primary);
}

.service-area__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-area__social {
    display: flex;
    line-height: 0;
    transition: transform var(--transition-fast);
}

.service-area__social:hover {
    transform: scale(1.06);
}

.service-area__social img,
.service-area__social svg {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 55px;
}

.service-area__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 4px;
    padding: clamp(22px, 3vw, 28px) clamp(24px, 4vw, 36px);
    background: #F5F6F7;
    border-radius: 25px;
}

.service-area__cta-text {
    margin: 0;
    font-size: clamp(26px, 2.2vw, 30px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.service-area__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.service-area__cta-btn:hover {
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .service-area__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-area__map-frame {
        aspect-ratio: 1 / 1;
        min-height: 260px;
    }

    .service-area__map-zone {
        width: min(70%, 260px);
    }

    .service-area__cards {
        grid-template-columns: 1fr;
    }

    .service-area__card {
        text-align: center;
    }

    .service-area__phone-row {
        justify-content: center;
    }

    .service-area__socials {
        justify-content: center;
    }

    .service-area__cta {
        padding: 25px 25px 40px 25px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .service-area__cta-btn {
        margin: 0 auto;
        max-width: 200px;
        width: 100%;
    }

    .service-area__lead {
        justify-content: center;
        align-items: center;
    }

    .service-area__lead-dot {
        margin-top: 0;
    }
}

/* ============================
   REFERRAL PAGE
   ============================ */
.referral-page {
    padding-top: calc(72px + clamp(20px, 3vw, 32px));
    padding-bottom: clamp(48px, 6vw, 80px);
    background: #f5f5f7;
    min-height: 60vh;
}

.referral-page .container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.referral-page__wrap {
    max-width: 900px;
}

.referral-page .breadcrumbs {
    margin-bottom: 14px;
}

.referral-page__title {
    margin: 0 0 clamp(22px, 3vw, 28px);
    font-size: clamp(30px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-text-primary);
}

.referral-page__card {
    background: #fff;
    border-radius: clamp(22px, 2.5vw, 28px);
    padding: clamp(28px, 4vw, 40px);
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.04);
    border: 1px solid #ebebeb;
}

.referral-page__block {
    margin-bottom: clamp(24px, 3vw, 32px);
}

.referral-page__block:last-of-type {
    margin-bottom: clamp(28px, 3.5vw, 36px);
}

.referral-page__block-title {
    margin: 0 0 12px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-primary);
}

.referral-page__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-secondary);
}

.referral-page__form {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

.referral-page__input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 16px 20px;
    border: none;
    border-radius: 999px;
    background: #f0f0f0;
    font-size: 16px;
    font-family: inherit;
    color: var(--color-text-primary);
}

.referral-page__input::placeholder {
    color: #9ca3af;
}

.referral-page__input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.35);
}

.referral-page__submit {
    flex: 0 1 auto;
    padding: 16px 28px;
    border: none;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.referral-page__submit:hover {
    background: var(--color-accent-hover);
}

.referral-page__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.referral-page__form-msg {
    width: 100%;
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--color-accent-hover);
}

.referral-page__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.referral-page__info {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(20px, 2.5vw, 28px);
    align-items: stretch;
}

.referral-page__info-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    background: #fff;
    border-radius: clamp(22px, 2.5vw, 28px);
    padding: clamp(28px, 4vw, 40px);
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.04);
    border: 1px solid #ebebeb;
}

.referral-page__info-title {
    margin: 0 0 clamp(18px, 2.5vw, 24px);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.referral-page__info-list {
    margin: 0;
    padding-left: 1.35em;
    list-style: disc;
}

.referral-page__info-list li {
    margin-bottom: clamp(14px, 1.8vw, 18px);
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-primary);
}

.referral-page__info-list li:last-child {
    margin-bottom: 0;
}

.referral-page__info-footnote {
    margin: clamp(18px, 2.2vw, 22px) 0 0;
    padding-left: 1.35em;
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-text-secondary);
}

@media (max-width: 640px) {
    .referral-page__form {
        flex-direction: column;
    }

    .referral-page__input,
    .referral-page__submit {
        width: 100%;
        flex: none;
    }

    .referral-page__submit {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .referral-page__info {
        grid-template-columns: 1fr;
    }
}

/* ============================
   CATALOG / TAXONOMY
   ============================ */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* ============================
   MODEL DETAIL
   ============================ */
.model-detail {
    padding-top: var(--space-xl);
}

.model-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.model-gallery {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-gallery img {
    max-height: 400px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.model-info h1 {
    font-size: 40px;
    margin-bottom: var(--space-sm);
}

.model-info .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.model-configurator {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.config-row {
    margin-bottom: var(--space-lg);
}

.config-row:last-child {
    margin-bottom: 0;
}

.config-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    display: block;
}

.config-options {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.config-option {
    padding: 10px 16px;
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.config-option:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.config-option.active {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.model-actions {
    display: flex;
    gap: var(--space-md);
}

/* ============================
   MODEL FACTORS (What affects price)
   ============================ */
.model-factors {
    position: relative;
    padding: clamp(48px, 5vw, 80px) 0 clamp(48px, 5vw, 72px);
    background: #fff;
    overflow: hidden;
}

/*.model-factors .container {*/
/*    padding-left: clamp(16px, 3vw, 40px);*/
/*    padding-right: clamp(16px, 3vw, 40px);*/
/*}*/
.model-factors__header {
    margin-bottom: clamp(28px, 3.5vw, 40px);
}

.model-factors__title {
    margin: 0 0 clamp(14px, 2vw, 18px);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.model-factors__model-name {
    color: var(--color-accent);
}

.model-factors__lead {
    margin: 0;
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.model-factors__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    overflow: hidden;
}

.model-factors__list {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 22px);
}

.model-factor {
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 2vw, 18px);
    padding: clamp(18px, 2.2vw, 22px) clamp(20px, 2.5vw, 24px);
    background: #f8fafc;
    border-radius: clamp(18px, 2vw, 22px);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.model-factor:hover {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.model-factor__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.model-factor__icon svg {
    width: 24px;
    height: 24px;
}

.model-factor__content {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    align-items: start;
}

.model-factor__title {
    margin: 0;
    font-size: clamp(15px, 1.35vw, 17px);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.3;
    grid-column: 1;
    grid-row: 1;
}

.model-factor__badge {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.model-factor__badge--plus {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

.model-factor__badge--minus {
    color: #dc2626;
    background: #fef2f2;
}

.model-factor__text {
    margin: 0;
    font-size: clamp(13px, 1.1vw, 14px);
    line-height: 1.5;
    color: var(--color-text-secondary);
    grid-column: 1 / -1;
    grid-row: 2;
}

.model-factors__media {
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 100%;
}

.model-factors__img {
    position: absolute;
    right: 0;
    width: clamp(500px, 52vw, 1007px);
    height: auto;
    max-width: none;
    transform: scaleX(-1) rotateZ(90deg);
    margin-right: -12vw;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

@media (max-width: 900px) {
    .model-factors__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        align-items: start;
    }

    .model-factors__media {
        position: relative;
        order: 2;
        justify-content: center;
        min-height: 369px;
    }

    .model-factors__list {
        order: 1;
    }

    .model-factors__img {
        right: -40%;
        height: 100%;
        width: 100%;
        max-width: 420px;
        margin-right: 0;
        transform: scaleX(-2);
    }
}

@media (max-width: 640px) {
    .model-factor__content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 8px;
    }

    .model-factor__title {
        grid-column: 1;
        grid-row: 1;
    }

    .model-factor__text {
        grid-column: 1;
        grid-row: 2;
    }

    .model-factor__badge {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
        padding: 6px 12px;
    }

    .model-factor {
        padding: 16px;
        gap: 12px;
    }

    .model-factor__icon {
        width: 36px;
        height: 36px;
    }

    .model-factor__icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================
   SINGLE POST (Blog Detail)
   ============================ */
.post-hero {
    padding-top: calc(72px + clamp(20px, 3vw, 32px));
    padding-bottom: clamp(24px, 3vw, 32px);
    background: #fff;
}

/*.post-hero .container {*/
/*    max-width: 920px;*/
/*    margin: 0 auto;*/
/*    padding-left: clamp(16px, 3vw, 40px);*/
/*    padding-right: clamp(16px, 3vw, 40px);*/
/*}*/
.post-hero .breadcrumbs {
    margin: 0 0 clamp(20px, 2.5vw, 28px);
    justify-content: center;
}

.post-hero .breadcrumbs__link,
.post-hero .breadcrumbs__current {
    font-size: clamp(13px, 1.2vw, 14px);
    color: #8e8e93;
}

.post-hero__title {
    margin: 0 0 clamp(24px, 3vw, 36px);
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--color-text-primary);
}

.post-hero__media {
    position: relative;
    border-radius: clamp(20px, 3vw, 36px);
    overflow: hidden;
    margin-bottom: clamp(20px, 2.5vw, 28px);
    background: #f1f5f9;
    aspect-ratio: 16 / 9;
}

.post-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: clamp(16px, 2vw, 20px);
    border-bottom: 1px solid #ebebeb;
    max-width: 920px;
    margin: 0 auto;
}

.post-meta__date {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--color-text-secondary);
}

.post-meta__share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-fast);
}

.post-meta__share:hover {
    color: var(--color-accent);
}

.post-meta__share svg {
    width: 16px;
    height: 16px;
}

.post-meta__share.is-copied .post-meta__share-label {
    color: var(--color-accent);
}

.post-content {
    padding: 0 0 clamp(48px, 6vw, 80px);
    background: #fff;
}

.post-content .container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.post-layout {
    /*display: grid;*/
    /*grid-template-columns: 280px minmax(0, 1fr);*/
    /*gap: clamp(32px, 5vw, 64px);*/
    display: flex;
    flex-direction: column;
    max-width: 920px;
    margin: 0 auto;
}

.post-toc-wrap {
    position: relative;
}

.post-toc {
    position: sticky;
    top: calc(72px + 24px);
    padding: clamp(20px, 2.5vw, 28px) 0;
}

.post-toc__title {
    margin: 0 0 clamp(16px, 1.8vw, 20px);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.25;
}

.post-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 14px);
    counter-reset: toc;
}

.post-toc__list li {
    margin: 0;
    padding: 0;
    counter-increment: toc;
}

.post-toc__list a {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-size: clamp(15px, 1.3vw, 16px);
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
    line-height: 1.4;
    transition: opacity var(--transition-fast);
    cursor: pointer;
}

.post-toc__list a::before {
    content: counter(toc) ".";
    font-weight: 500;
    flex-shrink: 0;
}

.post-toc__list a:hover {
    opacity: 0.75;
}

.post-body {
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.post-body>*:first-child {
    margin-top: 0;
}

.post-body h2,
.post-body h3 {
    color: var(--color-text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: clamp(36px, 4vw, 48px) 0 clamp(16px, 2vw, 20px);
    scroll-margin-top: calc(72px + 24px);
}

.post-body h2 {
    font-size: clamp(24px, 2.6vw, 32px);
}

.post-body h3 {
    font-size: clamp(20px, 2vw, 26px);
}

.post-body p {
    margin: 0 0 clamp(16px, 2vw, 20px);
    color: var(--color-text-secondary);
}

.post-body ul,
.post-body ol {
    margin: 0 0 clamp(16px, 2vw, 20px);
    padding-left: 1.4em;
    color: var(--color-text-secondary);
}

.post-body li {
    margin-bottom: 8px;
}

.post-body a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.post-body a:hover {
    border-bottom-color: var(--color-accent);
}

.post-body img {
    border-radius: var(--radius-lg);
    margin: clamp(24px, 3vw, 32px) 0;
}

.post-body blockquote {
    margin: clamp(24px, 3vw, 32px) 0;
    padding: clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 32px);
    background: #f8fafc;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent);
    font-style: italic;
}

.post-body blockquote p:last-child {
    margin-bottom: 0;
}

.post-body pre,
.post-body code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
}

.post-body pre {
    background: #f8fafc;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: clamp(16px, 2vw, 20px) 0;
}

.post-body code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--color-text-primary);
}

.post-body pre code {
    background: none;
    padding: 0;
}

@media (max-width: 900px) {
    .post-layout {
        grid-template-columns: 1fr;
    }

    .post-toc {
        position: static;
        background: #f8fafc;
        border-radius: var(--radius-lg);
    }

    .post-body h2,
    .post-body h3 {
        scroll-margin-top: calc(72px + 16px);
    }
}

@media (max-width: 640px) {
    .post-hero__media {
        aspect-ratio: 4 / 3;
        border-radius: clamp(14px, 2.5vw, 20px);
    }

    .post-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .post-meta__share svg {
        width: 14px;
        height: 14px;
    }

    .post-content {
        padding-top: clamp(20px, 3vw, 28px);
    }

    .post-body h2 {
        font-size: clamp(22px, 2.4vw, 26px);
    }

    .post-body h3 {
        font-size: clamp(18px, 2vw, 22px);
    }
}

/* ============================
   BREADCRUMB
   ============================ */
.breadcrumb {
    padding: var(--space-md) 0;
    font-size: 14px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-text-secondary);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb-separator {
    color: var(--color-text-muted);
}

.breadcrumb-current {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* ============================
   FORMS
   ============================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-page {
    padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 5vw, 72px);
    background: #fff;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}

.contact-page__left {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 20px);
}

.contact-page__card {
    background: #f5f5f7;
    border-radius: clamp(20px, 2.5vw, 28px);
    padding: clamp(24px, 3vw, 36px);
}

.contact-page__card-title {
    margin: 0 0 clamp(16px, 2vw, 24px);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    color: #111;
    letter-spacing: -0.01em;
}

.contact-page__items {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-page__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

a.contact-page__item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.contact-page__item-icon {
    width: 42px;
    height: 42px;
    background: #fff;
    color: var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.contact-page__item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-page__item-label {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-page__item-value {
    font-size: 15px;
    font-weight: 500;
    color: #111;
}

.contact-page__item-value a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-page__item-value a:hover {
    text-decoration: underline;
}

.contact-page__sep {
    color: #ccc;
    margin: 0 2px;
}

.contact-page__phone-cta {
    margin-top: 8px;
    padding: 0 16px;
}

.contact-page__phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 12px rgba(52, 199, 89, 0.3);
}

.contact-page__phone-btn:hover {
    background: #2db04d;
    transform: translateY(-1px);
}

.contact-page__directions {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #636366;
}

.contact-page__card--form {
    background: #f5f5f7;
}

.contact-page__form-lead {
    margin: 0 0 clamp(16px, 2vw, 24px);
    font-size: 15px;
    color: #636366;
    line-height: 1.5;
}

.contact-page__card--form .wpcf7 input[type="text"],
.contact-page__card--form .wpcf7 input[type="email"],
.contact-page__card--form .wpcf7 input[type="tel"],
.contact-page__card--form .wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 15px;
    color: #111;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.contact-page__card--form .wpcf7 input[type="text"]:focus,
.contact-page__card--form .wpcf7 input[type="email"]:focus,
.contact-page__card--form .wpcf7 input[type="tel"]:focus,
.contact-page__card--form .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.12);
}

.contact-page__card--form .wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-page__card--form .wpcf7 label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.contact-page__card--form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 28px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-top: 8px;
    font-family: inherit;
}

.contact-page__card--form .wpcf7-submit:hover {
    background: #333;
    transform: translateY(-1px);
}

.contact-page__card--form .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    border: none;
}

@media (max-width: 768px) {
    .contact-page__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   BLOG — лента «Все статьи»
   ============================ */
.blog-archive {
    padding: 0 0 clamp(56px, 6vw, 88px);
    background: #fff;
}

.blog-archive__container {
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.blog-archive__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 48px) clamp(40px, 5vw, 64px);
}

.blog-archive-card {
    margin: 0;
}

.blog-archive-card__link {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 24px);
    text-decoration: none;
    color: inherit;
}

.blog-archive-card__media {
    flex: 0 0 clamp(132px, 16vw, 200px);
    width: clamp(132px, 16vw, 200px);
    aspect-ratio: 4 / 3;
    border-radius: clamp(18px, 2vw, 24px);
    overflow: hidden;
    background: #ececef;
}

.blog-archive-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-archive-card__body {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.blog-archive-card__title {
    margin: 0 0 10px;
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #000;
    transition: color var(--transition-fast);
}

.blog-archive-card__link:hover .blog-archive-card__title {
    color: #333;
}

.blog-archive-card__date {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #9ca3af;
}

.blog-archive__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: clamp(40px, 5vw, 56px);
}

.blog-archive__more-btn {
    min-width: min(100%, 320px);
    padding: 16px 40px;
    border: 1px solid #111;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

.blog-archive__more-btn:hover:not(:disabled) {
    background: #111;
    color: #fff;
}

.blog-archive__more-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Legacy cards (single и пр.) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    height: 200px;
    background: var(--color-surface);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: var(--space-lg);
}

.blog-card-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.blog-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Главная: блок «Полезные статьи» — Swiper, ~1.5 слайда на десктопе */
.blog-slider-section {
    background: #fff;
    padding: clamp(48px, 6vw, 88px) 0;
}

.blog-slider-head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(24px, 3vw, 36px);
}

.blog-slider-title {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 500;
    color: #111;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: min(520px, 70%);
}

.blog-slider-all {
    flex-shrink: 0;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-slider-all:hover {
    color: #636366;
}

.blog-swiper-wrap {
    position: relative;
}

/* Слайдер доходит до правого края экрана (половина «второго» слайда не обрезается по контейнеру) */
#blog-preview .blog-swiper-bleed {
    width: calc(100% + max(0px, (100vw - 100%) / 2));
    margin-right: calc(-1 * max(0px, (100vw - 100%) / 2));
    box-sizing: border-box;
}

.blog-swiper {
    overflow: hidden;
    border-radius: 0;
}

.blog-swiper .swiper-wrapper {
    align-items: stretch;
}

.blog-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.blog-slide-card {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 44px;
    overflow: hidden;
    background: #e8e8ed;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    max-height: 400px;
}

.blog-slide-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.blog-slide-media {
    position: absolute;
    inset: 0;
    display: block;
}

.blog-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.45s ease;
}

.blog-slide-card:hover .blog-slide-media img {
    transform: scale(1.04);
}

.blog-slide-overlay {
    position: absolute;
    left: clamp(16px, 2.5vw, 24px);
    right: clamp(72px, 12vw, 96px);
    bottom: clamp(16px, 2.5vw, 24px);
    padding: 14px 20px;
    border-radius: 22px;
    background: rgba(18, 18, 20, 0.72);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    width: max-content;
}

.blog-slide-title {
    margin: 0;
    font-size: clamp(20px, 1.15vw, 34px);
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-slide-plus {
    position: absolute;
    right: clamp(14px, 2.2vw, 22px);
    bottom: clamp(14px, 2.2vw, 22px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.blog-slide-plus svg {
    display: block;
}

.blog-swiper-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: clamp(20px, 2.5vw, 28px);
}

.blog-swiper-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #d2d2d7;
    background: #fff;
    color: #c7c7cc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.blog-swiper-btn:hover:not(.swiper-button-disabled) {
    border-color: #aeaeb2;
    color: #636366;
    background: #fafafa;
}

.blog-swiper-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.blog-swiper-btn:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .device-grid, .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .blog-slider-section {
        padding-top: 30px;
    }

    .blog-slider-head {
        align-items: flex-end;
    }

    .blog-slider-title {
        font-size: 36px;
        line-height: 120%;
    }

    .blog-slider-all {
        font-size: 15px;
    }

    .blog-slide-overlay {
        padding: 10px;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .section-title {
        font-size: 28px;
    }

    .hero {
        /* The header stays fixed on mobile, so the hero must clear its 72px height. */
        padding: calc(72px + clamp(24px, 6vw, 40px)) 0 var(--space-2xl);
    }

    .hero-top {
        max-width: 100%;
    }

    .hero-title {
        max-width: none;
        font-size: clamp(26px, 7vw, 32px);
    }

    .hero-lead {
        max-width: none;
        font-size: 22px;
        line-height: 120%;
    }

    .hero-benefits {
        position: static;
        max-width: 100%;
        padding: 25px var(--space-md) 0;
        gap: 12px;
    }

    .hero-cta {
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
        padding: 16px 24px;
    }

    .hero-figure {
        margin-top: var(--space-xl);
        margin-left: 0;
    }

    .hero-photo {
        width: 100%;
        max-width: 100%;
        object-fit: contain;
    }

    .hero-stats-wrap {
        padding: 20px 0 32px;
    }

    .hero-stats {
        max-width: 100%;
        padding: 16px 14px 18px;
        gap: 10px;
    }

    .hero-rating-badge {
        width: 90px;
        height: 76px;
        border-radius: 20px;
    }

    .hero-rating-value {
        font-size: 24px;
    }

    .hero-stat-sublabel {
        font-size: 11px;
    }

    .calc-flow {
        grid-template-columns: 1fr;
    }

    .calc-flow__sidebar {
        border-right: none;
        border-bottom: 1px solid #e8ecf0;
        background: #FAFAFA;
    }

    .calc-flow__device {
        padding: 5.5px 13px;
        max-width: max-content;
        flex: 1 1 max-content;
    }

    .device-grid, .catalog-grid, .benefits-grid, .reviews-grid, .blog-grid, .blog-archive__grid, .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .model-header, .contact-grid {
        grid-template-columns: 1fr;
    }

    .model-gallery {
        order: -1;
    }

    .cta-banner {
        padding: var(--space-3xl) var(--space-lg);
    }

    .cta-banner h2 {
        font-size: 28px;
    }

    /* Mobile Header */
    .main-navigation {
        display: none;
    }

    .header-right-group {
        display: none;
    }

    .header-social {
        display: none;
    }

    .menu-toggle {
        display: block !important;
    }

    .header-left-group {
        flex: 1;
    }

    .header-dropdown {
        display: none;
    }

    .site-branding {
        flex: 1;
    }

    .branding-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .footer-main-row {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0 32px;
    }

    .footer-nav-pair {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        align-items: start;
    }

    .footer-link-list a {
        color: #333;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0 32px;
    }
}

@media (max-width: 480px) {
    .device-grid, .catalog-grid, .benefits-grid, .reviews-grid, .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-archive__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 40px;
        line-height: 120%;
    }

    .page-title {
        font-size: 28px;
    }

    .model-info h1 {
        font-size: 28px;
    }

    .model-info .price {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.alignleft {
    float: left;
    margin-right: var(--space-lg);
    margin-bottom: var(--space-md);
}

.alignright {
    float: right;
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-2xl {
    margin-top: var(--space-2xl);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

/* Bonus (section 12) */
.device-bonus {
    padding: clamp(32px, 4vw, 48px) 0 clamp(56px, 6vw, 72px);
    background: #fff;
    overflow: visible;
}

.device-bonus>.container {
    overflow: hidden;
}

.device-bonus__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr minmax(240px, 48%);
    align-items: center;
    gap: 16px;
    min-height: clamp(180px, 18vw, 220px);
    padding: 44px 88px;
    background: #f5f5f7;
    border-radius: 28px;
    overflow: hidden;
}

.device-bonus__content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.device-bonus__title {
    margin: 0 0 8px;
    font-size: clamp(50px, 5vw, 60px);
    font-weight: 700;
    font-style: italic;
    color: #34c759;
    line-height: 1;
    letter-spacing: -0.02em;
}

.device-bonus__subtitle {
    margin: 0 0 40px;
    font-size: clamp(26px, 2vw, 42px);
    font-weight: 500;
    line-height: 120%;
    color: #000;
}

.device-bonus__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: #34c759;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.device-bonus__btn:hover {
    background: #2db04d;
    color: #fff !important;
}

.device-bonus__media {
    position: absolute;
    right: clamp(8px, 2vw, 45px);
    bottom: 0;
    /* width: min(58%, 560px); */
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.device-bonus__img {
    display: block;
    width: 100%;
    max-width: 850px;
    height: 100%;
    /* max-height: clamp(200px, 22vw, 332px); */
    object-fit: cover;
    object-position: right bottom;
}

/* Bonus — mobile overrides (MUST be after base styles) */
@media (max-width: 768px) {
    .device-bonus>.container {
        overflow: visible;
    }

    .device-bonus__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 0;
        padding: clamp(28px, 7vw, 40px) 0 0;
        overflow: visible;
    }

    .device-bonus__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: none;
        width: 100%;
        padding: 0 clamp(20px, 5vw, 32px);
    }

    .device-bonus__title {
        margin: 0 0 10px;
        font-size: clamp(36px, 11vw, 50px);
    }

    .device-bonus__subtitle {
        margin: 0 0 20px;
        font-size: clamp(18px, 5vw, 26px);
    }

    .device-bonus__btn {
        padding: 16px 40px;
        font-size: 16px;
    }

    .device-bonus__media {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        top: auto;
        width: 100%;
        height: clamp(320px, 90vw, 480px);
        margin-top: 16px;
        pointer-events: auto;
        border-radius: 28px;
        overflow: hidden;
    }

    .device-bonus__img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: 71% center;
    }

    .blog-slide-card {
        aspect-ratio: auto;
        height: 350px;
    }
}

.referral-page__input.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.referral-page__error-msg {
    margin-top: 6px;
    font-size: 13px;
    color: #ef4444;
    font-weight: 500;
}

.referral-page__consent {
    display: block;
    margin-top: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #667085;
    cursor: pointer;
}

.referral-page__consent a {
    color: #08783e;
    text-decoration: underline;
}

.referral-page__consent.is-error {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
    border-radius: 6px;
}

/* Отзывы с Яндекс Карт: ссылка на источник */
.trust-review-card__source {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #667085;
    text-decoration: underline;
}

.trust-review-card__source:hover {
    color: #08783e;
}

a.hero-stat--rating {
    color: inherit;
    text-decoration: none;
}

a.device-hero__rating-badge {
    color: inherit;
    text-decoration: none;
}
