/* Inter — self-hosted variable font (woff2 per subset serves the full weight range 500–800). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/fonts/inter/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/fonts/inter/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Base Styles */
:root {
    --color-bg: #0a0a12;
    --color-bg-light: #12121e;
    --color-bg-lighter: #1a1a28;
    --color-accent: #b3946f;
    --color-accent-light: #efc490;
    --color-accent-dark: #8b7253;
    --color-text: #f8fafc;
    --color-text-light: #e2e8f0;
    --color-text-muted: #94a3b8;

    --glass-bg: rgba(26, 26, 40, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --container-width: 1200px;
    --container-padding: 1.5rem;

    --button-hover-shadow: rgba(179, 148, 111, 0.4);
    --button-pulse-color: rgba(179, 148, 111, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
        "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Form Validation Styles */
.form-hint {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
  /* margin-right: 0.5rem; */
}

.form-group.invalid .form-hint {
  color: #ff4d4d;
}

.form-group.valid .form-hint {
  color: #4CAF50;
}

.form-msg {
    width: 100%;
}

.form-msg .form-hint {
    float: right;
}


button,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

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

.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
}

.icon-right {
    margin-left: 0.5em;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Gradient Circles */
.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(80px);
    z-index: 0;
}

.circle1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-light), transparent);
    top: 20%;
    left: 15%;
}

.circle2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-dark), transparent);
    bottom: 10%;
    right: 5%;
}

.circle3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent), transparent);
    top: 60%;
    left: 5%;
}

.circle4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-accent-light), transparent);
    top: 5%;
    right: 15%;
}

@media (max-width: 768px) {
    .circle {
        position: fixed;
        z-index: -1;
        opacity: 0.3;
    }

    .circle1 {
        top: 10%;
        left: 5%;
        width: 200px;
        height: 200px;
    }

    .circle2 {
        bottom: 5%;
        right: 5%;
        width: 300px;
        height: 300px;
    }

    .circle3 {
        top: 40%;
        left: 0;
        width: 150px;
        height: 150px;
    }

    .circle4 {
        top: 5%;
        right: 5%;
        width: 250px;
        height: 250px;
    }
}

/* Glass Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
    z-index: 1;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDelay {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInDelay2 {
    0% {
        opacity: 0;
    }

    70% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
    animation: fadeInDelay 1.5s ease-out forwards;
}

.fade-in-delay-2 {
    animation: fadeInDelay2 2s ease-out forwards;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color var(--transition-normal);
}

.header--scrolled {
    background: rgba(10, 10, 18, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-letter {
    color: var(--color-accent);
    font-size: 2rem;
    font-weight: 700;
    margin-right: 0.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

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

/* Desktop Navigation */
.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    transition: padding-left 0.2s ease, color var(--transition-fast), opacity 0.2s ease;
    line-height: 1.5;
}

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

.header-phone {
    display: block;
}

.header-phone a {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.header-phone a:hover {
    color: var(--color-accent-light);
}

.header-phone .icon {
    margin-right: 0.5rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
}

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

.mobile-menu-container {
    padding: 2rem var(--container-padding);
}

.mobile-nav-list {
    margin-bottom: 2rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-phone,
.mobile-email {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.mobile-phone .icon,
.mobile-email .icon {
    margin-right: 0.75rem;
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 7rem 0 3rem;
    overflow: hidden;
}

.hero--home {
    padding: 10rem 0 4rem;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.breadcrumbs::-webkit-scrollbar {
    display: none;
}

.breadcrumbs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    line-height: 1.4;
    white-space: nowrap;
}

.breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.breadcrumbs-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.breadcrumbs-link:hover {
    color: var(--color-accent);
}

.breadcrumbs-separator {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.breadcrumbs-separator svg {
    display: block;
}

.breadcrumbs-current {
    color: var(--color-text);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .breadcrumbs {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin-top: 2rem;
    /* height: 280px; */
}

.hero-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 4.5rem;
    line-height: 1.1;
}

.hero-left,
.hero-right {
    width: 50%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    padding-right: 2rem;
    text-align: left;
    height: 100%;
}

.hero-right {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    height: auto;
}

.hero-accent {
    color: var(--color-accent-light);
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: auto;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.hero-buttons a {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

/* Hero Stats */
.hero-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-stat-circle {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(179, 148, 111, 0.1), rgba(179, 148, 111, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(179, 148, 111, 0.3);
}

.hero-stat-circle::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(179, 148, 111, 0.2), transparent);
    z-index: -1;
    opacity: 0.5;
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-light);
    line-height: 1;
    display: inline-block;
}

.hero-stat-plus {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-left: 2px;
    display: inline-block;
}

.hero-stat-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.hero-trust-indicators {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: auto;
    align-items: stretch;
    justify-content: space-between;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 40, 0.4);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
    transition: all var(--transition-normal);
    text-align: left;
    flex: 1;
}

.trust-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.trust-indicator span {
    font-weight: 500;
    color: var(--color-text-light);
}

/* Hero Features */
.hero-features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-feature-circle {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(179, 148, 111, 0.1), rgba(179, 148, 111, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(179, 148, 111, 0.3);
    transition: all var(--transition-normal);
}

.hero-feature-circle::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(179, 148, 111, 0.2), transparent);
    z-index: -1;
    opacity: 0.5;
}

.hero-feature-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent-light);
}

.hero-feature-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    position: relative;
    background-color: transparent;
    color: var(--color-text);
    border: none;
    overflow: visible;
    z-index: 1;
    transition: color 0.4s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    height: 100%;
    width: 100%;
    background-color: var(--color-accent);
    content: "";
    border-radius: 30px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    animation: pulse 1.5s infinite;
}

.btn-primary::after {
    height: calc(100% + 8px);
    width: calc(100% + 8px);
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    border: 3px solid var(--color-accent);
    border-radius: 34px;
    box-sizing: border-box;
    transform: scale(1.05, 1.05);
    transition: all 0.5s ease;
    position: absolute;
    top: -4px;
    left: -4px;
    z-index: -2;
    opacity: 0;
}

.btn-primary:hover {
    color: var(--color-accent);
}

.btn-primary:hover::before {
    opacity: 0;
    transform: scale(0.5, 0.5);
    box-shadow: 0 0 20px 5px var(--button-hover-shadow);
}

.btn-primary:hover::after {
    opacity: 1;
    transform: scale(1, 1);
    box-shadow: 0 5px 15px var(--button-hover-shadow);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--button-pulse-color);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(179, 148, 111, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(179, 148, 111, 0);
    }
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background-color: var(--color-text);
    color: var(--color-accent-dark);
}

.btn-white:hover {
    background-color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .btn {
        padding: 5% .5rem;
    }
}

/* Section Styles */
/* Стили для секции услуг */
.services {
    padding: 6rem 0;
    position: relative;
}

/* Контейнер слайдера */
.services-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.services-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* touch-action: pan-x pinch-zoom; */
}

.services-slider-track {
    display: flex;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Стили для карточек услуг */
.service-card {
    flex: 0 0 calc(33.333% - 2rem);
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.service-header {
    padding: 1.75rem 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(179, 148, 111, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    /* margin-bottom: 0.5rem; */
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}

.service-content {
    padding: 1rem 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-description {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

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

.feature-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent-light);
    flex-shrink: 0;
}

.service-footer {
    padding: 1.5rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(26, 26, 40, 0.4);
}

.service-price {
    display: flex;
    flex-direction: column;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.price-period {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.service-button {
    position: relative;
    background-color: transparent;
    color: var(--color-text);
    border: none;
    overflow: visible;
    z-index: 1;
    transition: color 0.5s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    font-size: 0.875rem;
    text-decoration: none;
}

.service-button::before {
    height: 100%;
    width: 100%;
    background-color: var(--color-accent);
    content: "";
    border-radius: 30px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.service-button::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--color-accent);
    border-radius: 32px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    z-index: -2;
    opacity: 0;
}

.service-button:hover {
    color: var(--color-accent);
}

.service-button:hover::before {
    opacity: 0;
    transform: scale(0.5, 0.5);
    box-shadow: 0 0 20px 5px var(--button-hover-shadow);
}

.service-button:hover::after {
    opacity: 1;
}

.button-icon {
    width: 16px;
    height: 16px;
}

/* Контролы слайдера */
.services-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    gap: 1.5rem;
}

.slider-control {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text);
}

.slider-control:hover {
    background: rgba(179, 148, 111, 0.2);
    border-color: var(--color-accent);
}

.slider-control:focus {
    outline: none;
}

.slider-control svg {
    width: 24px;
    height: 24px;
}

/* Пагинация слайдера */
.slider-pagination {
    display: flex;
    gap: 8px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .service-card {
        flex: 0 0 calc(50% - 2rem);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .service-card {
        flex: 0 0 calc(100% - 2rem);
    }

    .service-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .service-button {
        width: 100%;
        justify-content: center;
    }
}

/* Benefits Section */
/* Современный минималистичный дизайн для секции преимуществ в стиле Лебедева */
.benefits {
    padding: 7rem 0;
    position: relative;
}

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

.benefit-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    flex-shrink: 0;
    font-family: "Inter", sans-serif;
    transition: color 0.3s ease;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.benefit-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.benefit-card:hover .benefit-title::after {
    width: 3rem;
}

.benefit-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefits-action {
    text-align: center;
    margin-top: 3rem;
}

.btn-benefits {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-accent);
    overflow: hidden;
    z-index: 1;
}

.btn-benefits::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0.1;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-benefits::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: -1;
    transition: left 0.7s ease;
}

.btn-benefits:hover {
    color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    box-shadow: 0 5px 15px rgba(179, 148, 111, 0.15);
}

.btn-benefits:hover::before {
    opacity: 0.2;
}

.btn-benefits:hover::after {
    left: 100%;
}

.btn-benefits .icon-right {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

#blogPagination .icon-right {
    margin-left: 0;
}

.btn-benefits:hover .icon-right {
    transform: translateX(3px);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .benefit-card {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .benefit-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .benefit-number {
        font-size: 2rem;
    }

    .benefit-title {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .benefits-action {
        margin-top: 2rem;
    }

    .btn-benefits {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Contact Section */


.contacts-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

.contact-form-wrapper {
    border-radius: var(--radius-lg);
    background: rgba(26, 26, 40, 0.6);
    padding: 2.5rem;
    padding-bottom: 1rem;
    text-align: left;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-input,
.form-textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
    width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

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

.form-checkbox {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.form-checkbox-input {
    margin-right: 0.75rem;
    width: 16px;
    height: 16px;
    accent-color: var(--color-accent);
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* === Согласие на обработку ПД (152-ФЗ) — кастомный чекбокс === */
.form-consent {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    position: relative;
}

.form-consent-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    white-space: nowrap;
}

.form-consent-label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    cursor: pointer;
    user-select: none;
    width: 100%;
    margin: 0;
}

.form-consent-box {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1.5px solid rgba(179, 148, 111, 0.45);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-consent-box svg {
    width: 12px;
    height: 10px;
    color: #0a0a14;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.form-consent-label:hover .form-consent-box {
    border-color: var(--color-accent);
    background-color: rgba(179, 148, 111, 0.08);
}

.form-consent-input:focus-visible + .form-consent-label .form-consent-box {
    box-shadow: 0 0 0 3px rgba(179, 148, 111, 0.25);
    border-color: var(--color-accent);
}

.form-consent-input:checked + .form-consent-label .form-consent-box {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.form-consent-input:checked + .form-consent-label .form-consent-box svg {
    opacity: 1;
    transform: scale(1);
}

.form-consent.form-consent--error .form-consent-box {
    border-color: #e25c5c;
    background-color: rgba(226, 92, 92, 0.08);
    animation: form-consent-shake 0.35s ease-in-out;
}

@keyframes form-consent-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.form-consent-text {
    flex: 1 1 auto;
    min-width: 0;
}

.form-consent-text a.consent-link {
    color: var(--color-accent-light);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.form-consent-text a.consent-link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

@media (max-width: 480px) {
    .form-consent-label {
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .form-consent-box {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }
}

.form-submit {
    width: 100%;
    /* margin-top: 1.65rem; */
}

@media (max-width: 768px) {
    .form-submit {
        width: 90%;
        align-self: center;
    }
}

/* Новые стили для секции контактов */
.contacts {
    padding: 6rem 0;
    position: relative;
}

.contacts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

.contact-form-wrapper,
.contact-info-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Устанавливаем высоту 100% */
}

@media (max-width: 1024px) {

    .contact-form-wrapper,
    .contact-info-container {
        height: auto;
        /* Автоматическая высота на мобильных */
    }

    .contact-form {
        max-width: 95%;
        gap: .5rem;
    }

    .contact-form-wrapper {
        padding: 0;
        align-items: center;
        padding: 1.5rem 0;
    }
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.form-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
    width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(179, 148, 111, 0.2);
}

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

.form-checkbox {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.form-checkbox-input {
    margin-right: 0.75rem;
    width: 16px;
    height: 16px;
    accent-color: var(--color-accent);
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Контейнер для информации о контактах */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Карточка с основной контактной информацией */
.contact-info-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
    height: 100%;
}

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

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.contact-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
    animation: pulse-contact 2s infinite;
}

.status-text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 500;
}

@keyframes pulse-contact {
    0% {
        box-shadow: 0 0 0 0 rgba(179, 148, 111, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(179, 148, 111, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(179, 148, 111, 0);
    }
}

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

/* Расписание работы */
.contact-schedule {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
}

.contact-method-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.schedule-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(179, 148, 111, 0.2), rgba(179, 148, 111, 0.1));
    border-radius: 8px;
}

.schedule-icon svg {
    width: 24px;
    height: 24px;
}

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

.schedule-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.schedule-value {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 600;
}

/* Методы связи */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

.method-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.phone-icon {
    background: linear-gradient(135deg, rgba(179, 148, 111, 0.2), rgba(179, 148, 111, 0.1));
    color: var(--color-accent);
}

.email-icon {
    background: linear-gradient(135deg, rgba(179, 148, 111, 0.2), rgba(179, 148, 111, 0.1));
    color: var(--color-accent);
}

.method-icon svg {
    width: 18px;
    height: 18px;
}

.method-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0;
}

.phone-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--color-accent-light);
}

.email-address {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-address:hover {
    color: var(--color-accent-light);
}

.method-description {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Карточка с мессенджерами */
.contact-messengers-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    margin-top: auto;
}

.messengers-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.messenger-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.messenger-button {
    position: relative;
    background-color: transparent;
    color: white;
    border: none;
    overflow: visible;
    z-index: 1;
    transition: color 0.5s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 130px;
    font-size: 0.95rem;
}

.messenger-button::before {
    height: 100%;
    width: 100%;
    content: "";
    border-radius: 30px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.messenger-button::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 32px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    z-index: -2;
    opacity: 0;
}

.messenger-button:hover::before {
    opacity: 0;
    transform: scale(0.5, 0.5);
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.3);
}

.messenger-button:hover::after {
    opacity: 1;
}

.messenger-button.telegram::before {
    background: linear-gradient(135deg, #37aee2, #1e96c8);
}

.messenger-button.telegram::after {
    border: 2px solid #37aee2;
}

.messenger-button.telegram:hover {
    color: #37aee2;
}

.messenger-button.telegram:hover .messenger-icon g {
    fill: #37aee2;
}

.messenger-button.whatsapp::before {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.messenger-button.whatsapp::after {
    border: 2px solid #25d366;
}

.messenger-button.whatsapp:hover {
    color: #25d366;
}

.messenger-button.whatsapp:hover .messenger-icon g {
    fill: #25d366;
}

.messenger-button.vk::before {
    background: linear-gradient(135deg, #0177FF, #0050B3);
}

.messenger-button.vk::after {
    border: 2px solid #0177FF;
}

.messenger-button.vk:hover {
    color: #0177FF;
}

.messenger-button.vk:hover .messenger-icon g {
    fill: #0177FF;
}

.messenger-button.max::before {
    background: linear-gradient(135deg, #4A90E2, #9B59D6);
}
.messenger-button.max::after {
    border: 2px solid #7878DC;
}
.messenger-button.max:hover {
    color: #9B59D6;
}
.messenger-button.max:hover .messenger-icon g {
    fill: #9B59D6;
}

.messenger-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.messenger-icon g {
    fill: #ffffff;
    transition: fill 0.5s ease;
}


/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .contacts-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-container {
        order: -1;
    }

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

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .contact-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .contact-status {
        align-self: flex-start;
    }

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

    .messenger-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Адаптивность для маленьких экранов */
@media (max-width: 480px) {
    .contact-schedule {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }
}


/* Footer - Современный дизайн в стиле Артемия Лебедева */
.footer {
    padding: 5rem 0 2rem;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    max-width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-about-text {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    /* line-break: anywhere; */
}

.footer-schedule {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 40, 0.4);
    border-radius: var(--radius-md);
}

.footer-schedule-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    position: relative;
}


.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu a {
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

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

.footer-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.2s ease;
    transform: translateY(-50%);
    opacity: 0;
}



.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--color-accent-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background-color: rgba(26, 26, 40, 0.4);
    transition: all var(--transition-fast);
}

.footer-social-link:hover.telegram {
    background-color: rgb(36, 156, 206, 0.9);
}

.footer-social-link:hover.whatsapp {
    background-color: rgba(31, 180, 93, 0.9);
}

.footer-social-link:hover.vk {
    background-color: rgba(1, 119, 255, 0.9);
}

.footer-social-link:hover.max {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9), rgba(155, 89, 214, 0.9));
}

.footer-social-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);

}


.footer-social-link:hover .footer-social-icon {
    color: #d1d1d1;
}

.footer-social-link.vk .footer-social-icon {
    width: 26px;
    height: 26px;
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-tagline {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-legal {
    flex-direction: column;
    display: flex;
    gap: 0.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

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

.footer-legal a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent-light);
    transition: width var(--transition-fast);
}

.footer-legal a:hover::after {
    width: 100%;
}

.footer-center {
    margin-top: 1rem;
    display: flex;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-align: center;
    justify-content: center;
}


/* Адаптивность для планшетов */
@media (max-width: 1024px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-contact {
        grid-column: span 2;
    }

    .footer-contact-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .footer-menu {
        align-items: flex-start;
    }

    .footer-contact-item {
        justify-content: flex-start;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .footer-title {
        margin-bottom: 0.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-contact {
        grid-column: span 1;
    }

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

    .footer-bottom {
        display: grid;
        justify-content: center;
        gap: 1rem;
    }

    .footer-legal {
        gap: 1rem;
    }

    .footer-schedule {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Адаптивность для маленьких экранов */
@media (max-width: 480px) {
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-social {
        justify-content: flex-start;
    }


    .footer-menu {
        align-items: flex-start;
    }

    .footer-contact-item {
        justify-content: flex-start;
    }

    .footer-legal {
        align-items: flex-start;
    }

}

/* Mega Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.nav-item.has-mega-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    padding: 0;
}

.services-dropdown-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dropdown-arrow {
    position: relative;
    top: 1px;
    transition: transform 0.3s ease;
}

.nav-item.has-mega-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.mega-dropdown {
    position: absolute;
    top: calc(100% + 1.8rem);
    left: -6rem;
    width: 800px;
    max-width: 90vw;
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, height 0.4s ease;
    z-index: 100;
    overflow: hidden;
    display: block;
}

.nav-item.has-mega-dropdown.active .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.3s ease, visibility 0s linear 0s;
}

.mega-dropdown-wrapper {
    display: flex;
    width: 100%;
    height: 250px;
    transition: height 0.4s ease;
}

.mega-dropdown-categories {
    width: 35%;
    background-color: rgba(26, 26, 40, 0.99);
    border-radius: var(--radius-lg);
    padding: 1rem 0;
    transition: border-radius 0.4s ease;
    height: 100%;
    z-index: 102;
}

.mega-dropdown-categories.active {
    border-radius: 0;
    border-right: 1px solid var(--glass-border);
}

.mega-dropdown-categories:not(.active) {
    border-radius: var(--radius-lg);
}

.mega-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-category-item {
    position: relative;
}

.mega-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mega-category-link:hover,
.mega-category-item.active .mega-category-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-accent);
    color: var(--color-accent-light);
}

.mega-category-item .icon-right {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.mega-category-item.active .icon-right {
    transform: rotate(90deg);
    opacity: 1;
}

.mega-dropdown-content {
    background: rgba(26, 26, 40, 0.99);
    width: 65%;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    height: 100%;
    overflow-y: auto;
    z-index: 102;
}

.mega-dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mega-content-section {
    display: none;
}

.mega-content-section.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.mega-content-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-content-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-content-link {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    display: inline-block;
    position: relative;
    padding-left: 0;
}


/* Mobile Dropdown Menu Styles */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle,
.mobile-dropdown-toggle-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.mobile-dropdown.active>.mobile-nav-link .mobile-dropdown-icon,
.mobile-dropdown-submenu.active>.mobile-dropdown-link .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown.active>.mobile-dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

.mobile-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-dropdown-link {
    display: block;
    padding: 0.75rem 0;
    color: var(--color-text-light);
    font-size: 1rem;
}

.mobile-submenu-list {
    display: none;
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0;
}

.mobile-dropdown-submenu.active>.mobile-submenu-list {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

.mobile-submenu-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.mobile-submenu-link:hover {
    color: var(--color-accent-light);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries - Mobile Only */
@media (max-width: 1024px) {
    .circle1 {
        width: auto;
    }

    .main-nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mega-dropdown {
        display: none;
    }

    .hero {
        padding: 80px 0 30px;
    }

    .hero-content {
        flex-direction: column;
        max-height: none;
        height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .section-title {
        font-size: 3rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-left {
        padding-right: 0;
        text-align: center;
    }

    .hero-right {
        padding-left: 0;
        border-left: none;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 90%;
    }

    .hero-trust-indicators {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    .trust-indicator {
        text-align: center;
        justify-content: center;
    }


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

    .benefit-card {
        margin: 0 auto;
        width: 80%;
    }

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


    .form-group {
        align-items: center;
    }

    .form-checkbox {
        justify-content: center;
    }

    .form-group.form-consent {
        align-items: stretch;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info-item {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-menu {
        align-items: center;
    }

    .footer-contact-list {
        align-items: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-stat-circle {
        width: 90px;
        height: 90px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .hero-stat-plus {
        font-size: 0.8rem;
    }

    .hero-stat-text {
        font-size: 0.8rem;
    }

    .hero-feature-circle {
        width: 90px;
        height: 90px;
    }

    .hero-feature-icon {
        width: 30px;
        height: 30px;
    }

    .hero-feature-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .hero--home {
        padding-top: 110px;
    }

    .hero--home .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .hero--home .hero-title .hero-word {
        display: block;
    }

    .section-title {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .hero-stats-container {
        gap: 0.5rem;
    }

    .hero-stat-circle {
        width: 70px;
        height: 70px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-plus {
        font-size: 0.7rem;
    }

    .hero-stat-text {
        font-size: 0.75rem;
    }

    .hero-features-container {
        gap: 0.5rem;
    }

    .hero-feature-circle {
        width: 70px;
        height: 70px;
    }

    .hero-feature-icon {
        width: 25px;
        height: 25px;
    }

    .hero-feature-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero--home .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.15;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero--home .hero-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .services,
    .contacts {
        padding: 3rem 0;
    }

    .benefits {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

/* Модальное окно обратной связи */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    align-items: center;
    justify-content: center;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

.contact-modal-content {
    position: relative;
    z-index: 2;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: unset;
    max-width: unset;
    width: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    animation: fadeIn 0.3s;
    width: auto;
    max-width: 700px;

}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: auto;
    background: none;
    border: none;
    color: var(--color-text-light, #fff);
    font-size: 2rem;
    cursor: pointer;
    z-index: 3;
}


.contact-modal-close {
    position: absolute;
    top: .1rem;
    left: auto;
    right: 1rem;
}


.tariff-selection-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(179, 148, 111, 0.15);
}


/* Вертикальная полоса слева */
.tariff-selection-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-accent-light), var(--color-accent));
}

.tariff-selection-content {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.tariff-selection-label {
    color: var(--color-accent-light);
    font-size: 1rem;
    font-weight: 500;
}

.tariff-selection-name {
    color: var(--color-text);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

/* Подчеркивание для названия тарифа
 .tariff-selection-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--color-accent), transparent);
    opacity: 0.7;
} */

.tariff-selection-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(179, 148, 111, 0.08);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    border: 1px solid transparent;
    margin-left: 1ch;
}

.tariff-selection-link:hover {
    color: var(--color-accent-light);
    background: rgba(179, 148, 111, 0.15);
    border-color: rgba(179, 148, 111, 0.2);
    border: 1px solid var(--color-accent);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .tariff-selection-inner {
        padding: 0.6rem 0.8rem;
    }

    .tariff-selection-label {
        font-size: 0.8rem;
    }

    .tariff-selection-name {
        font-size: 0.9rem;
        /* white-space: nowrap; */
    }

    .tariff-selection-link {
        font-size: 0.8rem;
        padding: 0.2rem 0.2rem;
        margin-left: 0.3rem;

    }

    .tariff-selection-link .link-icon {
        width: 14px;
        height: 14px;
    }

    .tariff-selection-content {
        gap: 0.3rem;
        flex-direction: column;
    }
}

/* Стили для уведомления о выборе тарифа */
.tariff-notification-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background-color: rgba(26, 26, 40, 0.95);
    border-left: 3px solid var(--color-accent);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(150%);
    transition: transform 0.4s ease;
    max-width: 350px;
}

.tariff-notification-wrapper.active {
    transform: translateX(0);
}

.tariff-notification-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent-light);
    margin-bottom: 0.5rem;
}

.tariff-notification-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

@media (max-width: 768px) {

    .tariff-notification-wrapper {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }

    .contact-modal-content {
        max-width: 90vw;
    }

    .contact-modal {
        padding: 10px 5px;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .contact-modal-content {
        padding: 0;
        min-width: unset;
        max-width: 95vw;
    }
}

.form-submission-consent-text a.consent-link:hover {
    color: var(--color-accent);
    /* Цвет ссылки при наведении */
    text-decoration: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .form-submission-consent-text {
        font-size: 0.7rem;
        padding: 0;
        /* Убираем боковые отступы, если форма и так узкая */
    }
}

/* Стили для текста согласия под кнопкой отправки */
.form-submission-consent-text {
    font-size: 0.75rem;
    /* Маленький шрифт */
    color: var(--color-text-muted);
    /* Приглушенный цвет */
    line-height: 1.5;
    /* Межстрочный интервал для читаемости */
    text-align: center;
    /* Центрируем текст */
    /* Отступ сверху от кнопки */
    margin-bottom: 0;
    /* Убираем нижний отступ, если он не нужен */
    padding: 0 0.5rem;
    /* Небольшие боковые отступы, чтобы текст не прилипал к краям формы на узких экранах */
}

.form-submission-consent-text a.consent-link {
    color: var(--color-accent-light);
    /* Цвет ссылки */
    text-decoration: underline;
    /* Подчеркивание для ясности */
    transition: color var(--transition-fast);
}

.form-submission-consent-text a.consent-link:hover {
    color: var(--color-accent);
    /* Цвет ссылки при наведении */
    text-decoration: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .form-submission-consent-text {
        font-size: 0.7rem;
        /* Еще немного уменьшаем шрифт на очень маленьких экранах */
        padding: 0;
        /* Убираем боковые отступы, если форма и так узкая */
    }
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.98) 0%, rgba(15, 15, 25, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(179, 148, 111, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    padding: 1.5rem;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 1;
}

.cookie-banner_hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__title {
    color: var(--color-accent-light);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-banner__description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cookie-banner__link {
    color: var(--color-accent-light);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-banner__link:hover {
    color: var(--color-accent);
}

.cookie-banner__buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Специальные стили для кнопки "Отказаться" с темными цветами */
.cookie-banner__decline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.875rem 1.75rem;
}

.cookie-banner__decline::before {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-banner__decline::after {
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-banner__decline:hover {
    color: rgba(255, 255, 255, 1);
}

.cookie-banner__decline:hover::before {
    background-color: rgba(255, 255, 255, 0.15);
}

.cookie-banner__decline:hover::after {
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem;
    }
    
    .cookie-banner__content {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .cookie-banner__buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-banner__buttons .btn,
    .cookie-banner__buttons .service-button {
        width: 100%;
    }
    
    .cookie-banner__title {
        font-size: 1rem;
    }
    
    .cookie-banner__description {
        font-size: 0.875rem;
    }
}


/* ====== 404 страница ====== */
.error-404-main {
    padding-top: 80px;
}

.error-404-section {
    padding: 5rem 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.error-404-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.error-404-code {
    font-size: clamp(7rem, 18vw, 12rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent, #d4b16a), var(--color-accent-light, #f1d28c));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
    user-select: none;
}

.error-404-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text, #fff);
    margin: 0 0 1rem;
}

.error-404-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted, #b5b5c3);
    line-height: 1.6;
    margin: 0 auto 2.5rem;
    max-width: 560px;
}

.error-404-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-404-btn {
    min-width: 240px;
}

.error-404-suggestions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.error-404-suggestions-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted, #b5b5c3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1.25rem;
}

.error-404-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.75rem 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-links a {
    color: var(--color-text, #fff);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.error-404-links a:hover {
    color: var(--color-accent, #d4b16a);
}

.error-404-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--color-accent, #d4b16a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.error-404-links a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 600px) {
    .error-404-section {
        padding: 3rem 0;
    }
    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .error-404-btn {
        width: 100%;
    }
}
