/* Базовые стили и переменные */
:root {
    --neutral-gray: #8890a0;
    --cool-gray: #6b7985;
    --coral-red: #ff5757;
    --deep-blue: #223da3;
    --pure-white: #ffffff;
    --light-gray: #f8fafc;
    --dark-text: #1f2937;
    --medium-text: #4b5563;
    --light-text: #abb0ba;
    --coral-gradient: linear-gradient(135deg, #ff5757, #ff4444);
    --blue-gradient: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    --neutral-gradient: linear-gradient(135deg, #8892a0, #6b7985);
    --shadow: 0 0 8px #3331;
    --shadow-hover: 0 8px 30px rgba(107, 121, 133, 0.15);
    --coral-shadow: 0 4px 20px rgba(255, 87, 87, 0.2);
    --blue-shadow: 0 4px 20px rgba(30, 58, 138, 0.2);
    --border-radius: 12px;
    --border-radius-large: 24px;
    --transition: all .2s ease-in-out;
    --line-width: 2px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", system-ui;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    -webkit-text-stroke: 0.01em transparent;
    scrollbar-color: #ddd transparent;
    line-height: 1.226;
    -webkit-overflow-scrolling: touch;
}

/* Скрываем скроллбар для WebKit браузеров */
body::-webkit-scrollbar {
    display: none;
}

/* Улучшенная четкость текста для различных элементов */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga", "kern";
    -webkit-font-feature-settings: "liga", "kern";
}

p,
span,
div,
a,
li {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Мягкий скролл для всех прокручиваемых элементов */
* {
    scroll-behavior: smooth;
}

/* Дополнительные стили для кастомного скроллбара с мягкими переходами */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff5757, #ff4444);
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff4444, #ff3333);
    transform: scale(1.1);
}

/* Плавность прокрутки для Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #ff5757 rgba(255, 255, 255, 0.1);
}

/* Улучшенные переходы для скролла на touch устройствах */
@media (hover: none) and (pointer: coarse) {
    * {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    html,
    body {
        scroll-snap-type: y proximity;
        -webkit-overflow-scrolling: touch;
    }

    .module {
        scroll-snap-align: start;
    }
}

body {
    background-color: #7d889e;
    color: #333;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /* Дополнительная четкость для всего текста */
    text-rendering: optimizeLegibility;
    -webkit-font-feature-settings: "liga", "kern";
    font-feature-settings: "liga", "kern";
    /* Мягкий скролл на мобильных */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Добавляем морскую тематику с SVG декорациями */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 60px 60px, 80px 80px, 120px 120px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px;
}

/* Модульная система компонентов */
.module {
    background: var(--pure-white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: var(--line-width) solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--line-width);
    background: var(--coral-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.module:hover::before {
    transform: scaleX(1);
}

.module:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Header */
.header {
    background: #fff2;
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: none;
    opacity: 0;
    transform: translateY(-20px) scale(0.85);
    pointer-events: none;
    visibility: hidden;
}

.header.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    visibility: visible;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
}

.header.visible .header-content {
    animation: slideInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.telegram-link {
    color: rgba(255, 255, 255, 0.6);
}

.telegram-link:hover {
    color: #ff5757;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
    letter-spacing: -0.02em;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.logo-link:hover .logo-text {
    color: var(--coral-red);
}

/* Замена эмодзи на SVG иконку осьминога */
.logo::after {
    content: '🐙';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 1.2rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-list a:hover {
    color: var(--coral-red);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: var(--line-width);
    background: var(--coral-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-button {
    background: var(--coral-gradient);
    color: var(--pure-white);
    border: none;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--coral-shadow);
    border: var(--line-width) solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--coral-shadow), 0 8px 25px rgba(255, 87, 87, 0.3);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.burger-menu span {
    width: 24px;
    height: var(--line-width);
    background: var(--coral-red);
    border-radius: 2px;
    transition: var(--transition);
}

.burger-menu:hover span {
    background: var(--deep-blue);
}

.burger-menu span {
    width: 24px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--pure-white);
    z-index: 999;
    transition: var(--transition);
    padding: 2rem;
    border-right: 4px solid var(--coral-red);
    box-shadow: var(--shadow-hover);
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
    padding-top: 4rem;
}

.mobile-nav li {
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(107, 121, 133, 0.1);
    padding-bottom: 0.5rem;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 1.3rem;
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav a:hover {
    color: var(--coral-red);
    transform: translateX(10px);
}

.mobile-phone {
    margin: 2rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, var(--coral-red), #ff4444);
    border-radius: var(--border-radius);
    text-align: center;
}

.mobile-phone a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.mobile-social {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: var(--neutral-gradient);
    color: var(--pure-white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
    border: var(--line-width) solid transparent;
}

.mobile-social a:hover {
    background: var(--coral-gradient);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--coral-shadow);
}

/* Hero Section - Морская тематика с осьминогом */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--neutral-gray);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3a8a80 0%, #4e7ec380 100%);
}

/* Волны в стиле line art */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C150,20 350,100 600,60 C850,20 1050,100 1200,60 L1200,120 L0,120 Z' fill='%231e3a8a' fill-opacity='0.1'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    z-index: 1;
    animation: wave 8s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(-100px) scaleY(0.8);
    }
}

.floating-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* морские элементы */
.leaf {
    position: absolute;
    font-size: 4rem;
    opacity: 0.3;
    animation: floatOcean 8s ease-in-out infinite;
}

.leaf-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    rotate: -10deg;
}

.leaf-2 {
    top: 33%;
    right: 12%;
    animation-delay: 3s;
    rotate: 10deg;
}

.leaf-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 6s;
}


.leaf-4 {
    top: 70%;
    right: 25%;
    animation-delay: 2s;
    rotate: 10deg;
}

@keyframes floatOcean {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-30px) rotate(2deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-15px) rotate(-2deg);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-45px) rotate(1deg);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 1.5rem 0;
    color: var(--pure-white);
    text-wrap: balance;
    letter-spacing: -0.02em;
    text-shadow: 0 0 6px #0001;
}

.highlight {
    background: var(--coral-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--coral-gradient);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #e1eefe50;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: var(--line-width) solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff2, transparent);
    transition: var(--transition);
}

.benefit:hover::before {
    left: 100%;
}

.benefit:hover {
    transform: translateY(-4px);
    scale: 1.02;
    box-shadow: var(--shadow-hover);
}

.benefit i {
    color: #3364a3;
    font-size: 2.2rem;
    min-width: 40px;
}

.benefit span {
    font-weight: 500;
    font-size: 1rem;
    user-select: none;
}

.hero-cta {
    background: var(--coral-gradient);
    color: var(--pure-white);
    border: none;
    padding: 24px 48px;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--coral-shadow);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    border: var(--line-width) solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 100;
    text-shadow: 0 0 6px #0001;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--coral-shadow), 0 12px 30px rgba(255, 87, 87, 0.4);
}

.hero-cta i {
    animation: bounce 2s infinite;
    font-size: 1.1rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin: 2rem 0 4rem;
    position: relative;
}


.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.35rem;
    color: #1f2937;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-wrap: balance;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--light-gray);
    position: relative;
}

/* Добавляем декоративные волны */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C300,20 900,100 1200,60 L1200,0 L0,0 Z' fill='%238892a0'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.price,
.see-all {
    font-weight: 500;
    user-select: none;
}

.service-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    font-size: 1.2rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    color: #ff4e4e;
}

.service-icon {
    font-size: 10rem;
    color: var(--coral-red);
    transition: var(--transition);
    position: absolute;
    right: -60px;
    bottom: -30px;
    rotate: 15deg;
    user-select: none;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    filter: saturate(1.2);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: 0 0 6px #fff1;
    position: relative;
    z-index: 1;
}

.discount {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--coral-gradient);
    color: var(--pure-white);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--coral-shadow);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.individual-care {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: #1f2937;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: none;
    cursor: default;
}

.care-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 6px #0001;
    margin-bottom: 1rem;
}

.care-content p {
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-secondary {
    background: #223da3;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    scale: 1.04;
    filter: brightness(.96);
    background: #ff4f4e;
}

.care-image,
.placeholder-image {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: var(--border-radius);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
}

/* Atmosphere Section */
.atmosphere {
    padding: 6rem 0;
    background: #f7d4d4;
}

.atmosphere-content {
    gap: 1rem;
    display: flex;
    flex-direction: column-reverse;
}

.atmosphere-features {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: default;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Nail Design Search Gallery */
.nail-design-search-section {
    margin: 0 auto;
    margin-bottom: 3rem;
    max-width: 800px;
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.search-header p {
    color: var(--medium-text);
    font-size: 1rem;
}

.search-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.search-input {
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    color: var(--medium-text);
    border: none;
    background-color: #fff;
    border-radius: var(--border-radius);
    font-size: 1.35rem;
    transition: var(--transition);
    outline: none;
}

.search-input:focus,
.search-input:hover {
    background-color: #f3f3f3;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-text);
    font-size: 1.1rem;
    pointer-events: none;
    transition: var(--transition);
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
    justify-content: center;
}

.tag-label {
    color: var(--medium-text);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.tag-btn {
    padding: 0.5rem 1rem;
    background: #fff;
    color: var(--medium-text);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    flex: 1;
}

.tag-btn:hover {
    background: #f3f3f3;
}

.nail-gallery-container {
    margin-top: 2rem;
}

.nail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.nail-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: #f3f4f6;
}

.nail-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.nail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.nail-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.nail-image:hover .image-overlay {
    transform: translateY(0);
}

.author-info small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10001;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-info {
    padding: 1rem;
    background: white;
}

.modal-info p {
    color: var(--medium-text);
    margin: 0;
}

/* Responsive Design for Nail Gallery */
@media (max-width: 768px) {
    .nail-design-search-section {
        margin-bottom: 2rem;
    }

    .search-header h3 {
        font-size: 1.5rem;
    }

    .nail-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .popular-tags {
        justify-content: flex-start;
    }

    .tag-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

.atmosphere-gallery {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-main {
    position: relative;
    height: 300px;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
}

.gallery-image.active {
    opacity: 1;
}

.gallery-image .placeholder-image {
    height: 100%;
    border-radius: 0;
    background: #f3f3f3;
}

.gallery-thumbs {
    display: flex;
    padding: 0.6rem;
    gap: 0.6rem;
}

.thumb {
    width: 80px;
    height: 80px;
    background: #f3f3f3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
}

.thumb.active,
.thumb:hover {
    filter: brightness(.96);
}

.thumb:hover {
    transform: scale(1.05);
}

/* Why Choose Us Section */
.why-choose {
    padding: 6rem 0;
    background: white;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reason {
    text-align: center;
    padding: 2rem;
    background: #f3f3f3;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: default;
}

.reason:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-hover);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reason h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.reason p {
    color: var(--light-text);
}

/* Masters Section */
.masters {
    padding: 6rem 0;
    background: #7e899d;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.master-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.master-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.master-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-photo {
    font-size: 4rem;
    color: white;
}

.master-info {
    padding: 1.5rem;
}

.master-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.master-experience,
.master-specialty {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.master-info p {
    color: var(--light-text);
    margin: 1rem 0;
    line-height: 1.6;
}

.btn-master {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-master:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: white;
}

.reviews-carousel {
    position: relative;
    margin-bottom: 2rem;
}

.review-card {
    background: #f3f3f3;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: none;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.review-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stars {
    color: var(--gold-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--dark-text);
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reviewer-info .name {
    font-weight: 600;
    color: var(--dark-text);
}

.reviewer-info .platform {
    font-size: 0.9rem;
    color: var(--light-text);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.prev-btn,
.next-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--light-green);
    transform: scale(1.1);
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f3f3f3;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    filter: brightness(.9);
    transform: scale(1.04);
}

.ratings {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.rating-logo {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.rating-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text);
}

.rating-platform {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Promotions Section */
.promotions {
    padding: 6rem 0;
    background: #7e899d;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.promo-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.promo-card.highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
}

.promo-card.highlight .promo-icon {
    color: white;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.promo-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.promo-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.promo-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.promo-code {
    background: rgba(45, 90, 39, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-green);
}

.promo-card.highlight .promo-code {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.promo-cta {
    text-align: center;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: white;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    color: #ff5151;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 200px;
    background: #f3f3f3;
    user-select: none;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.placeholder-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

/* Education Section */
.education {
    padding: 6rem 0;
    background: #1f2937;
}

.education div,
.education h2 {
    color: #fff !important;
    text-shadow: 0 0 6px #fff1;
}

.education p,
.education h3 {
    text-shadow: 0 0 6px #0001;
    color: #fff9 !important;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.education-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.education-info p {
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.course-features {
    margin-bottom: 2rem;
}

.course-features .feature {
    background: none;
    box-shadow: none;
    padding: 0.5rem 0;
    color: var(--primary-green);
    font-weight: 500;
}

.education-image .placeholder-image {
    height: 250px;
}

/* Contacts Section */
.contacts {
    padding: 6rem 0;
    background: white;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: #f3f3f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--light-text);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.quick-contacts {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.quick-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.quick-contact.whatsapp {
    background: #25d366;
    color: white;
}

.quick-contact.telegram {
    background: #0088cc;
    color: white;
}

.quick-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.booking-form {
    background: #f3f3f3;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.booking-form h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-text);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: var(--line-width) solid var(--neutral-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--pure-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--coral-red);
    box-shadow: 0 0 0 3px rgba(255, 87, 87, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Карточки */
.card {
    background: var(--pure-white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: var(--line-width) solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--coral-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--coral-red);
}

/* Дополнительные стили кнопок */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: var(--line-width) solid transparent;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--coral-gradient);
    color: var(--pure-white);
    box-shadow: var(--coral-shadow);
}

.btn-outline {
    background: transparent;
    color: var(--coral-red);
    border-color: var(--coral-red);
}

.btn-outline:hover {
    background: var(--coral-red);
    color: var(--pure-white);
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary:hover {
    box-shadow: var(--coral-shadow), 0 8px 25px rgba(255, 87, 87, 0.3);
}

/* Дополнительные стили для JavaScript эффектов */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Ленивая загрузка изображений */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Стили для reveal анимаций */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Счетчики */
.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral-red);
    display: block;
    line-height: 1;
}

/* Sticky навигация */
.header {
    transition: transform 0.3s ease;
}

/* Улучшенные стили форм */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group.focused .form-label {
    transform: translateY(-20px);
    font-size: 0.875rem;
    color: var(--coral-red);
}

.form-label {
    position: absolute;
    top: 12px;
    left: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--pure-white);
    padding: 0 4px;
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    transform: translateY(-20px);
    font-size: 0.875rem;
    color: var(--coral-red);
}

.error-message {
    display: flex;
    align-items: center;
    gap: 4px;
    animation: slideInUp 0.3s ease;
}

.error-message::before {
    content: '⚠️';
    font-size: 0.875rem;
}

/* Улучшенные анимации загрузки */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Прогресс бар */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(107, 121, 133, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--coral-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Модальные окна с анимацией */
.modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: scale(0.7);
    display: none;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    display: block;
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* Улучшенные уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    background: var(--pure-white);
    border-left: 4px solid var(--coral-red);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: #10b981;
}

.notification.warning {
    border-left-color: #f59e0b;
}

.notification.error {
    border-left-color: var(--coral-red);
}

/* Панель breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.breadcrumb-item {
    color: var(--medium-text);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item:hover {
    color: var(--coral-red);
}

.breadcrumb-item.active {
    color: var(--dark-text);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--light-text);
}

/* Аккордеон */
.accordion-item {
    border: 1px solid rgba(107, 121, 133, 0.2);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(255, 87, 87, 0.05);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-body {
    padding: 1.5rem;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Tabs */
.tabs {
    border-bottom: 1px solid rgba(107, 121, 133, 0.2);
    margin-bottom: 2rem;
}

.tab-nav {
    display: flex;
    gap: 2rem;
}

.tab-button {
    padding: 1rem 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--medium-text);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-button.active {
    color: var(--coral-red);
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral-red);
    transition: width 0.3s ease;
}

.tab-button.active::after {
    width: 100%;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--pure-white);
    padding: 120px 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C300,20 900,100 1200,60 L1200,0 L0,0 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    animation: slideInUp 0.6s ease;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-section .logo {
    margin-bottom: 1.5rem;
}

.footer-section .logo-text {
    color: var(--pure-white);
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-section h4 {
    color: var(--pure-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;

}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--coral-gradient);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--coral-red);
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral-red);
    transition: var(--transition);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: var(--coral-gradient);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--coral-shadow);
    border-color: var(--pure-white);
}

.social-icons a:nth-child(1):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a:nth-child(2):hover {
    background: linear-gradient(45deg, #0088cc, #229ED9);
}

.social-icons a:nth-child(3):hover {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-bottom p:first-child {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-btn {
    background: var(--coral-gradient);
    color: var(--pure-white);
    border: none;
    padding: 16px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--coral-shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--coral-shadow), 0 12px 30px rgba(255, 87, 87, 0.4);
}

.floating-btn i {
    font-size: 1.1rem;
}

/* Декоративные элементы в footer */
.footer::after {
    content: '🐙';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 3rem;
    opacity: 0.1;
    pointer-events: none;
    animation: floatOctopus 6s ease-in-out infinite;
}

/* Адаптивность для footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section .logo-text {
        font-size: 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }

    .floating-btn {
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    .floating-cta {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .footer::before {
        height: 60px;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }

    .footer-section:first-child {
        text-align: center;
    }

    .floating-btn {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
    }

    .floating-btn span {
        display: none;
    }
}