/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-50: #f0fdf4;
    --primary-100: #dcfce7;
    --primary-200: #bbf7d0;
    --primary-300: #86efac;
    --primary-400: #4ade80;
    --primary-500: #22c55e;
    --primary-600: #16a34a;
    --primary-700: #15803d;
    --primary-800: #166534;
    --primary-900: #14532d;
    
    --bg-primary: #fafdf9;
    --bg-secondary: #f0f7ed;
    --bg-card: #ffffff;
    --text-primary: #1a3c2e;
    --text-secondary: #4a7c5f;
    --text-muted: #7a9c89;
    --accent: #22c55e;
    --accent-hover: #16a34a;
    --gradient: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    --gradient-subtle: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    --shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
    --shadow-lg: 0 20px 50px rgba(34, 197, 94, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

.botanic-theme {
    background: var(--bg-primary);
    color: var(--text-primary);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-100);
    opacity: 0.3;
    animation: floatShape 20s infinite linear;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(15px) rotate(240deg);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader__content {
    text-align: center;
}

.leaf-loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 50% 0 50% 50%;
    transform-origin: center;
}

.leaf-1 {
    top: 0;
    left: 25px;
    animation: leafFloat 2s ease-in-out infinite;
}

.leaf-2 {
    top: 25px;
    right: 0;
    animation: leafFloat 2s ease-in-out infinite -0.5s;
}

.leaf-3 {
    bottom: 0;
    left: 25px;
    animation: leafFloat 2s ease-in-out infinite -1s;
}

@keyframes leafFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(10deg);
    }
}

.preloader__text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(250, 253, 249, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    z-index: 1002;
}

.header__logo:hover {
    transform: scale(1.05);
    color: var(--primary-700);
}

/* Navigation */
.nav {
    display: flex;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav__link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--accent);
}

.nav__link:hover::after {
    width: 100%;
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1002;
}

/* Mobile Toggle */
.header__mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1002;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.header__mobile-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--accent);
}

.header__mobile-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
}

.header__mobile-toggle.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--accent);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero__floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: var(--primary-200);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatElement 15s infinite ease-in-out;
}

.el-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.el-2 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 5%;
    animation-delay: -5s;
}

.el-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero__badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero__title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero__title-line.accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 2rem 0;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero__features {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero__image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.frame-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-300);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.hero__img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-dots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary-400);
    border-radius: 50%;
    animation: scrollDot 2s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes scrollDot {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
}

.btn--primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn--outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.btn--small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn--whatsapp {
    background: #25D366;
    color: white;
}

.btn--telegram {
    background: #0088cc;
    color: white;
}

/* About Section */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__content {
    position: relative;
}

.about__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(34, 197, 94, 0.1);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.stat-card__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-card__label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about__principles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.principle {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(34, 197, 94, 0.1);
    transition: var(--transition);
}

.principle:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.principle__number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-300);
    line-height: 1;
}

.principle__content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.principle__content p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(34, 197, 94, 0.1));
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Services Section */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(34, 197, 94, 0.1);
    box-shadow: var(--shadow);
}

.service-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.service-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.service-card__badge {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card__description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.service-card__features i {
    color: var(--accent);
    font-size: 0.9rem;
}

.service-card__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card__action {
    text-align: center;
}

/* Portfolio Section */
.portfolio__filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.portfolio__filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.portfolio__filter-btn.active,
.portfolio__filter-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    justify-content: start;
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: 0.3s ease;
}

.portfolio-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(74, 222, 128, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 2rem;
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__content {
    text-align: center;
    color: white;
}

.portfolio-item__content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-item__content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.portfolio-item__content i {
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials-swiper {
    padding: 2rem 0 4rem;
    position: relative;
}

.testimonial-slide {
    padding: 1rem;
    height: auto;
}

.testimonial {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(34, 197, 94, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial__avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent);
}

.avatar-decoration {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-300);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.testimonial__rating {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}

.testimonial__text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    color: var(--text-secondary);
}

.testimonial__author {
    font-weight: 600;
    color: var(--accent);
    font-size: 1.1rem;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--accent);
    background: var(--bg-card);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: var(--transition);
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    opacity: 0.5;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
    transform: scale(1.2);
}

/* Contacts Section */
.contacts__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(34, 197, 94, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-item__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.2rem;
}

.contact-item__content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item__content p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.contacts__messengers {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.contacts__social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.contacts__map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.1);
    box-shadow: var(--shadow);
}

.map-container {
    position: relative;
    height: 100%;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
    position: relative;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.map-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(34, 197, 94, 0.05) 100%);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer__text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__col h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer__col ul {
    list-style: none;
}

.footer__col li {
    margin-bottom: 0.75rem;
}

.footer__col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--accent);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    color: var(--text-muted);
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__legal a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero__container,
    .about__container,
    .contacts__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1001;
        padding: 2rem;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav__list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .nav__link {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
    }
    
    .header__mobile-toggle {
        display: flex;
    }
    
    .header__actions {
        gap: 1rem;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-card.featured {
        transform: scale(1);
    }
    
    .service-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card__number {
        font-size: 2rem;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contacts__messengers {
        flex-direction: column;
    }
    
    .contacts__container {
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    /* Swiper adjustments */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .testimonials-swiper {
        padding: 1rem 0 3rem;
    }
    
    .testimonial {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .header__logo {
        font-size: 1.3rem;
    }
    
    .hero__container {
        gap: 2rem;
        text-align: center;
    }
    
    .hero__title-line {
        font-size: 2.2rem;
    }
    
    .hero__description {
        font-size: 1.1rem;
        margin: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card,
    .testimonial,
    .contact-item {
        padding: 1.5rem;
    }
    
    .about-image-wrapper {
        margin-top: 2rem;
    }
    
    .experience-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem;
    }
    
    .experience-badge span {
        font-size: 1.2rem;
    }
    
    .principle {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .principle__number {
        font-size: 1.5rem;
    }
    
    .portfolio__filter {
        gap: 0.5rem;
    }
    
    .portfolio__filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer__content {
        gap: 2rem;
    }
    
    .footer__logo {
        font-size: 1.5rem;
    }
    
    .hero__scroll-indicator {
        bottom: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}