:root {
    --bg: #ffffff;
    --bg-dots: #f8f8f8;
    --card: #ffffff;
    --text: #1f1f2b;
    --text-light: #6b7280;
    --accent: #ff6b35;
    --accent-light: #ff8c5a;
    --accent-dark: #e55a2b;
    --accent-soft: #fff4f0;
    --border: rgba(31, 31, 43, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #e5e5e5 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem clamp(1.5rem, 6vw, 5rem);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    order: 0;
}

@media (max-width: 768px) {
    .logo {
        order: 0;
        display: flex;
        align-items: center;
        height: 36px;
    }
}

.logo-link {
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.logo-text {
    display: inline-block;
    position: relative;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Caesar Dressing', cursive;
}

.logo-faino {
    color: var(--accent);
    font-weight: 400;
    font-size: 26.4px;
    letter-spacing: 0.05em;
    font-family: 'Caesar Dressing', cursive;
}

.logo-site {
    color: var(--text);
    font-weight: 400;
    font-size: 26.4px;
    letter-spacing: 0.05em;
    font-family: 'Caesar Dressing', cursive;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.045rem;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex !important;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.nav-ghost,
.nav-cta {
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nav-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-telegram:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.nav-telegram .nav-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-ghost {
    color: var(--accent);
    border: 1px solid var(--accent);
}

.nav-ghost:hover {
    background: var(--accent-soft);
}

.nav-ghost .nav-icon {
    fill: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: white;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: var(--accent);
    cursor: pointer;
    margin-left: 0;
    order: 0;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-toggle:hover {
    background: var(--accent-hover, #e67e22);
    transform: scale(1.05);
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-toggle span {
    width: 20px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav.open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav.open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: rgba(255, 107, 53, 0.03);
    background-image: url('../images/dot.svg');
    background-repeat: repeat;
    background-size: 17px 17px;
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.hero-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
    font-weight: 700;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-dots);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.check {
    color: #10b981;
    font-weight: 700;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}

.hero-photos {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-photo-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    z-index: 2;
}

.hero-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-photo-1 {
    z-index: 1;
    clip-path: inset(0 0 0 50%);
}

.hero-photo-2 {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* Предотвращение CLS - резервируем место до загрузки */
    aspect-ratio: 4 / 3;
}

.hero-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--accent);
    z-index: 20;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.divider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 21;
}

.divider-handle::before,
.divider-handle::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 12px;
    background: white;
}

.divider-handle::before {
    left: 12px;
}

.divider-handle::after {
    right: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 clamp(1.5rem, 6vw, 5rem);
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
}

.section-description {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--text-light);
}

.calc-label-hidden {
    opacity: 0;
}

.icon-inline {
    vertical-align: middle;
    margin-left: 0.25rem;
}

.method {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: white;
    z-index: -1;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.method-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.method-step {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.method-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.benefits {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--bg-dots);
    z-index: -1;
}

.benefits-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefits-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.benefits-card ul {
    list-style: none;
    padding: 0;
    color: var(--text-light);
    line-height: 1.8;
}

.benefits-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.principles {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.principles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: white;
    z-index: -1;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.principle-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.principle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.principle-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.usp {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.usp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--bg-dots);
    z-index: -1;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.usp-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.usp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.usp-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.usp-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.requirements {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.requirements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--bg-dots);
    z-index: -1;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.requirement-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

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

.requirement-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.requirement-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text);
}

.requirement-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.requirement-warning {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 107, 53, 0.1);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.5;
}

.wordpress {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.wordpress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: white;
    z-index: -1;
}

.wordpress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.wordpress-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.wordpress-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.wordpress-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.wordpress-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.services {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--bg-dots);
    z-index: -1;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.stages {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.stages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: white;
    z-index: -1;
}

.stages-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
}

.stage-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.stage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.stage-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.stage-item h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text);
}

.stage-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.cases {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: white;
    z-index: -1;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.case-image {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.case-image {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    /* Предотвращение CLS - резервируем место до загрузки */
    aspect-ratio: 3 / 2;
}

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

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

.case-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.case-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.case-card-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
}

.case-card-cta h3 {
    margin-bottom: 2rem;
}

.case-card-cta .btn {
    align-self: center;
}

.calculator {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--bg-dots);
    z-index: -1;
}

.landing-price {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--border);
}

.landing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.landing-description {
    grid-column: 1 / -1;
}

.landing-description h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.landing-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.landing-features {
    grid-column: 1 / -1;
}

.landing-features h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text);
}

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

.landing-feature-card {
    background: var(--bg-dots);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.landing-feature-card h4 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.landing-feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.landing-price-block {
    background: var(--accent);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.landing-price-value {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.landing-price-note {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.landing-price-block .btn-primary {
    background: white;
    color: var(--accent);
}

.landing-price-block .btn-primary:hover {
    background: var(--bg-dots);
}

.payment {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.payment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: white;
    z-index: -1;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.payment-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.payment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.payment-icon svg {
    width: 48px;
    height: 48px;
}

.payment-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.payment-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.calc-form {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}


.calc-group-base {
    margin-top: 0;
    padding-top: 0;
}

.calc-group-pages label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.calc-group-pages input[type="range"] {
    padding: 0;
    margin: 0;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.calc-section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: block;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-group-wide {
    grid-column: 1 / -1;
}

.calc-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.calc-group select,
.calc-group input[type="range"] {
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
}

.calc-group select:focus,
.calc-group input:focus {
    outline: none;
    border-color: var(--accent);
}

#pages {
    accent-color: var(--accent);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.option-grid label,
.option-stack label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 0.45rem 0.6rem;
    border-radius: 5px;
    background: var(--bg-dots);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: left;
    min-height: calc(0.45rem * 2 + 1.3 * 0.85rem);
    box-sizing: border-box;
}

.option-stack > div {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.6rem;
    border-radius: 5px;
    background: var(--bg-dots);
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: left;
    color: var(--text);
    min-height: calc(0.45rem * 2 + 1.3 * 0.85rem);
    box-sizing: border-box;
}

.option-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.option-grid label:hover,
.option-stack label:hover {
    background: var(--accent-soft);
}

.option-stack {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.option-stack-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
}

.calc-group-base label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.45rem 0.6rem;
    border-radius: 5px;
    background: var(--bg-dots);
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: left;
    cursor: default;
    min-height: calc(0.45rem * 2 + 1.3 * 0.85rem);
    box-sizing: border-box;
}

.calc-group-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.calc-group-tz {
    margin-top: 0;
    padding-top: 0;
}

.calc-group-pages {
    margin-top: 0;
    padding-top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.6rem;
    border-radius: 5px;
    background: var(--bg-dots);
    min-height: calc(0.45rem * 2 + 1.3 * 0.85rem);
    box-sizing: border-box;
}

.calc-group-pages label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.3;
}

.calc-group-pages input[type="range"] {
    flex: 1;
    min-width: 0;
    height: 20px;
    margin: 0;
    padding: 0;
}

.calc-group-pages .option-price {
    flex-shrink: 0;
    white-space: nowrap;
}

.calc-breakdown {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-dots);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.breakdown-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.breakdown-item strong {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 700;
}

.calc-group-base > div,
.calc-group-tz > div,
.calc-group-pages > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.6rem;
    border-radius: 5px;
    background: var(--bg-dots);
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--text);
    min-height: calc(0.45rem * 2 + 1.3 * 0.85rem);
    box-sizing: border-box;
}

.calc-group-tz > div .option-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    margin-left: auto;
    white-space: nowrap;
}

.calc-group-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-landing-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.calc-landing-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.calc-group-description {
    display: flex;
    align-items: flex-start;
}

.calc-landing-description {
    width: 100%;
}

.calc-landing-description h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.calc-landing-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.calc-group-base label input {
    cursor: default;
}

.calc-group-tz label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.45rem 0.6rem;
    border-radius: 5px;
    background: var(--bg-dots);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: left;
    min-height: calc(0.45rem * 2 + 1.3 * 0.85rem);
    box-sizing: border-box;
}

.calc-group-tz label:hover {
    background: var(--accent-soft);
}

.calc-summary {
    background: var(--accent-soft);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
}

.calc-price {
    margin-bottom: 0.75rem;
}

.calc-price p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.calc-price strong {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 700;
}

.calc-note {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.calc-summary .btn {
    align-self: center;
    text-align: center;
}

.contact {
    position: relative;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--bg-dots);
    z-index: -1;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-card h2 {
    font-size: 2.5rem;
    margin: 1rem 0 1.5rem;
    color: var(--text);
}

.contact-card ul {
    list-style: none;
    padding: 0;
    color: var(--text-light);
    line-height: 2;
}

.contact-card li {
    padding-left: 1.5rem;
    position: relative;
}

.contact-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.contact-form {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form button,
.contact-form .btn-primary {
    align-self: flex-start;
    width: 100%;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-telegram {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-email {
    text-align: center;
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-email a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-email a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0 0.5rem;
    margin-left: 0.5rem;
    transition: color 0.2s;
    font-family: inherit;
}

.copy-btn:hover {
    color: var(--accent);
    text-decoration: underline;
}

.contact-telegram,
.contact-email {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.telegram-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.telegram-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.cta-slab {
    position: relative;
    margin: clamp(3rem, 8vw, 8rem) clamp(1.5rem, 6vw, 5rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 16px;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cta-slab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--bg-dots);
    border-radius: 16px;
    z-index: -1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.5rem 0 1rem;
    max-width: 500px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.cta-slab .btn-primary {
    background: var(--accent);
    color: white;
    white-space: nowrap;
}

.cta-slab .btn-primary:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.footer {
    padding: 3rem clamp(1.5rem, 6vw, 5rem);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-brand .logo-text {
    font-size: 0.8em;
}

.footer-brand .logo-faino {
    color: #6b7280;
    font-size: 21.12px;
}

.footer-brand .logo-site {
    color: #6b7280;
    font-size: 21.12px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.language-select {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    transition: all 0.2s;
    min-width: 120px;
    line-height: 1.5;
    height: auto;
}

.language-select:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.language-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Модальное окно заказа */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-dots);
    color: var(--text);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.order-summary {
    background: var(--bg-dots);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.order-summary h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.order-items {
    margin-bottom: 1rem;
    min-height: 50px;
}

.order-items:empty::before {
    content: "Выберите опции в калькуляторе";
    color: var(--text-light);
    font-style: italic;
    display: block;
    padding: 1rem 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    color: var(--text);
    font-size: 0.95rem;
}

.order-item-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.order-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total strong {
    font-size: 1.5rem;
    color: var(--text);
}

.order-total span {
    color: var(--accent);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.order-form h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.order-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.order-form input,
.order-form textarea {
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.order-form input:focus,
.order-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.order-form button {
    margin-top: 0.5rem;
}

/* Contact Form 7 стили для соответствия исходнику */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
    width: 100%;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    align-self: flex-start;
    width: 100%;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Стили для модального окна Contact Form 7 */
.modal-content .wpcf7-form {
    gap: 1rem;
}

.modal-content .wpcf7-form input[type="text"],
.modal-content .wpcf7-form input[type="email"],
.modal-content .wpcf7-form input[type="tel"],
.modal-content .wpcf7-form textarea {
    padding: 0.75rem;
    border-radius: 6px;
}

.modal-content .wpcf7-form label {
    font-size: 0.9rem;
}

.modal-content .wpcf7-form input[type="submit"],
.modal-content .wpcf7-form button[type="submit"] {
    margin-top: 0.5rem;
}

/* Стили для span.wpcf7-form-control-wrap */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-not-valid-tip {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ok {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.wpcf7-validation-errors {
    background: var(--bg);
    border: 1px solid var(--accent);
    color: var(--accent-dark);
}

.wpcf7-mail-sent-ok {
    background: var(--bg);
    border: 2px solid #10b981;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.wpcf7-success-message {
    padding: 2rem;
    text-align: center;
    background: var(--bg);
    border: 2px solid #10b981;
    border-radius: 8px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

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

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

    .cta-slab {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        position: relative;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
        gap: 0.75rem;
    }

    /* Когда меню открыто, делаем его fullscreen overlay */
    .nav.open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 99999 !important;
        background: white !important;
        overflow-y: auto !important;
        padding: 1.5rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        margin: 0 !important;
    }

    /* Кнопка закрытия (крестик) в открытом меню */
    .nav.open .nav-toggle {
        order: 0 !important;
        margin-left: 0 !important;
        margin-right: 0.75rem !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        align-self: flex-start !important;
        position: relative !important;
    }

    .logo {
        order: 1;
        display: flex;
        align-items: center;
        height: 36px;
        min-height: 36px;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    /* Логотип в открытом меню */
    .nav.open .logo {
        order: 1 !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
    }

    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        padding-top: 1rem;
        padding-left: 0;
        padding-right: 0;
        border-top: 1px solid var(--border);
        list-style: none;
    }

    .nav.open .nav-links {
        display: flex;
        width: 100%;
    }

    .nav-actions {
        display: flex !important;
        gap: 0.5rem;
        align-items: center;
        flex-shrink: 0;
        order: 2;
        height: 36px;
        min-height: 36px;
        margin: 0;
        margin-left: auto;
        padding: 0;
    }

    /* Когда меню открыто, скрываем кнопки в верхней строке */
    .nav.open > .nav-actions {
        display: none !important;
    }

    /* Когда меню открыто, показываем кнопки после меню */
    .nav.open .nav-links ~ .nav-actions {
        display: flex !important;
        width: 100%;
        order: 4;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
        margin-left: 0;
        margin-right: 0;
    }

    .nav-actions .nav-telegram {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        min-height: 36px;
        padding: 0 !important;
        flex-shrink: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0;
    }

    .nav-actions .nav-telegram .nav-icon {
        width: 18px;
        height: 18px;
        margin: 0;
    }

    .nav-actions .nav-ghost,
    .nav-actions .nav-cta {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
        white-space: nowrap;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 36px !important;
        min-height: 36px;
        box-sizing: border-box;
        margin: 0;
        line-height: 1;
    }

    .nav.open .nav-actions .nav-telegram,
    .nav.open .nav-actions .nav-ghost,
    .nav.open .nav-actions .nav-cta {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }

    .nav.open .nav-actions .nav-telegram {
        width: 100%;
        border-radius: 6px;
        padding: 0.875rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-toggle {
        display: flex !important;
        order: 0 !important;
        margin-left: 0 !important;
        margin-right: 0.75rem !important;
        align-self: center;
        height: 36px !important;
        width: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.5rem !important;
        box-sizing: border-box !important;
        flex-shrink: 0;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .calc-header {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

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

    .calc-group-wide {
        grid-column: 1;
    }

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

    /* Footer mobile styles */
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }

    .footer-brand .logo-text {
        font-size: 0.9em;
    }

    .footer-brand .logo-faino,
    .footer-brand .logo-site {
        font-size: 18px;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .footer-links a {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .footer-language-switcher {
        width: 100%;
    }

    .language-select {
        width: 100%;
        max-width: 100%;
    }
}
