/* ========================================
   Общие стили и переменные
   ======================================== */

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Типографика
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Кнопки
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px 0 rgba(99, 102, 241, 0.4);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

/* ========================================
   Навигация
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 100%;
}

.nav-brand {
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand svg {
    height: 40px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Переключатель языков */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
}

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

.lang-btn.active {
    color: var(--primary-color);
}

.lang-separator {
    color: var(--text-secondary);
    opacity: 0.3;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero секция
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero-background.jpg') center center / cover no-repeat;
    position: relative;
    padding-top: 80px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
    padding: 0 5%;
}

.hero-photo {
    display: none;
}

.hero-content {
    text-align: left;
    color: white;
    position: relative;
    z-index: 2;
    width: 48%;
    padding-left: 0;
    padding-right: 2rem;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.15s backwards;
    white-space: nowrap;
}

.hero-slogan {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 450px;
    line-height: 1.5;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.7s backwards;
}

.hero-buttons .btn {
    white-space: nowrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down {
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-down:hover {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Обо мне
   ======================================== */

.about {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    z-index: 10;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.about-photo img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15);
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-heading {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.about-column h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-column p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.advantage-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.advantage-list li strong {
    color: var(--text-primary);
}

/* ========================================
   Процесс работы
   ======================================== */

.process {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    z-index: 10;
}

.process-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.process-step {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Портфолио
   ======================================== */

.portfolio {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    z-index: 10;
}

/* Слайдер портфолио */
.portfolio-slider {
    position: relative;
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 60px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slide-content {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-content img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

/* Кнопки навигации */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

/* Индикаторы */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: #9ca3af;
}

.dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* ========================================
   Услуги
   ======================================== */

.services {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    min-height: 3.6rem; /* Висота для 2 рядків тексту - вирівнює всі карточки */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-price {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-includes {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-includes h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.service-includes ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-includes li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.service-includes i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* ========================================
   Контакты
   ======================================== */

.contact {
    padding: 100px 0;
    background: var(--bg-white);
    text-align: center;
    position: relative;
    z-index: 10;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.contact-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.contact-card:hover .contact-icon {
    background: white;
    color: var(--primary-color);
}

.contact-card:hover h3,
.contact-card:hover p {
    color: white;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.contact-icon i {
    font-size: 1.75rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

/* Соцсети в контактах */
.contact-socials {
    text-align: center;
    margin: 2rem auto 3rem;
    max-width: 700px;
}

.socials-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.socials-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.socials-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.socials-icons a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cta-button {
    margin-top: 3rem;
}

/* Форма обратной связи */
.contact-form-wrapper {
    max-width: 700px;
    margin: 4rem auto 0;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.btn-submit {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.form-message {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.form-success {
    background: #d1fae5;
    color: #065f46;
}

.form-success i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #10b981;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #065f46;
}

.form-success p {
    color: #047857;
}

.btn-service {
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
    display: block;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 3rem 0 2rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-socials a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ========================================
   Адаптивность
   ======================================== */

/* ========================================
   Модальное окно политики
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

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

.privacy-content h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-content a:hover {
    color: var(--secondary-color);
}

.privacy-date {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========================================
   Липкая кнопка Telegram
   ======================================== */

.telegram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0088cc 0%, #005f8f 100%);
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    white-space: nowrap;
}

.telegram-float i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.telegram-text {
    font-size: 15px;
    font-weight: 600;
    max-width: 0;
    opacity: 0;
    transition: all 0.4s ease;
    overflow: hidden;
}

.telegram-float:hover {
    background: linear-gradient(135deg, #00a0e6 0%, #0088cc 100%);
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.6);
    transform: translateY(-3px);
    padding-right: 25px;
}

.telegram-float:hover i {
    transform: scale(1.1) rotate(-10deg);
}

.telegram-float:hover .telegram-text {
    max-width: 200px;
    opacity: 1;
    margin-left: 5px;
}

/* Анімація появи при завантаженні */
@keyframes slideInRight {
    from {
        transform: translateX(150px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.telegram-float {
    animation: slideInRight 0.6s ease-out 0.5s both;
}

/* ========================================
   Адаптивность
   ======================================== */

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-slogan {
        font-size: 1.1rem;
    }
    
    .hero {
        background: url('../images/hero-mobile.jpg') center bottom / cover no-repeat;
        align-items: flex-start;
        padding-top: 100px;
    }
    
    .hero-container {
        flex-direction: column;
        padding: 0 20px;
        align-items: flex-start;
        min-height: auto;
    }
    
    .hero-photo {
        display: none;
    }
    
    .hero-content {
        text-align: left;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-slogan {
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        white-space: normal;
        text-align: center;
    }
    
    .hero-scroll {
        bottom: 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Telegram кнопка на мобільних */
    .telegram-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }
    
    .telegram-float i {
        font-size: 22px;
    }
    
    .telegram-text {
        font-size: 14px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-photo {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-grid,
    .process-steps,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Адаптивность слайдера */
    .portfolio-slider {
        padding: 0 50px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slide-caption h3 {
        font-size: 1.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .service-includes ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        white-space: normal;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 12px 32px;
        font-size: 1rem;
    }
    
    /* Мобильная адаптация слайдера */
    .portfolio-slider {
        padding: 0 35px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .slide-caption {
        padding: 1rem;
    }
    
    .slide-caption h3 {
        font-size: 1rem;
    }
    
    .slider-dots {
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 24px;
    }
}