/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn--primary {
    background: linear-gradient(135deg, #FFB6C1 0%, #ff8a65 100%);
    color: white;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn--secondary {
    background: transparent;
    color: #FFB6C1;
    border: 2px solid #FFB6C1;
}

.btn--secondary:hover {
    background: #FFB6C1;
    color: white;
}

.btn--large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav__logo h1 {
    color: #FFB6C1;
    font-size: 1.8rem;
    margin: 0;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #FFB6C1;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero__features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    text-align: center;
}

.feature__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FFB6C1;
}

.feature__text {
    font-size: 0.9rem;
    color: #666;
}

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

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #FFB6C1 0%, #ff8a65 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.hero__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

/* Section Styles */
.section__title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section__subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about__text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #FFB6C1;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-size: 0.9rem;
}

/* About Gallery */
.about__gallery {
    margin-top: 2rem;
}

.about__gallery-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.about__gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about__gallery-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #FFB6C1 0%, #ff8a65 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.about__gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.about__gallery-item:hover img {
    transform: scale(1.05);
}

.about__image img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    margin: 0 auto;
    display: block;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: white;
}

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

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

.gallery__item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery__placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #FFB6C1 0%, #ff8a65 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.gallery__item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

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

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

.service {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service p {
    color: #666;
    line-height: 1.6;
    margin-bottom: auto;
    flex-grow: 1;
}

.service__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFB6C1;
    background: linear-gradient(135deg, #FFB6C1 0%, #ff8a65 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1.5rem;
}

.services__cta {
    text-align: center;
}

/* Method Section */
.method {
    padding: 80px 0;
    background: white;
}

.method__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.method__text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.method__list {
    list-style: none;
}

.method__list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.method__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FFB6C1;
    font-weight: bold;
}

.method__placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 auto;
}

.method__image img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    margin: 0 auto;
    display: block;
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background: #f8f9fa;
}

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

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

.contact {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contacts__info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact__item {
    text-align: center;
}

.contact__item strong {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact__item a {
    color: #FFB6C1;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact__item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__content h3 {
    color: #FFB6C1;
    margin-bottom: 0.5rem;
}

.footer__content p {
    color: #ccc;
    margin: 0;
}

.footer__phone {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer__phone:hover {
    color: #FFB6C1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__features {
        justify-content: center;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .about__container,
    .method__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about__gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contacts__info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer__container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero__placeholder,
    .about__placeholder,
    .method__placeholder {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .hero__features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn--large {
        width: 100%;
        max-width: 300px;
    }
}

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

.hero__content,
.about__content,
.service,
.contact {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FFB6C1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #fff;
}

.team__container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.team__member {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team__member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team__photo {
    width: 100%;
    aspect-ratio: 3 / 4; /* ✅ вместо фиксированной высоты */
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 16px 16px 0 0; /* добавим плавный верх */
    background-color: #f8f9fa; /* на случай, если нет изображения */
}

.team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ обрезает фото по контейнеру */
    object-position: center;
    transition: transform 0.3s ease;
}

.team__photo:hover img {
    transform: scale(1.05);
}

.team__info {
    padding: 1.2rem 1.5rem 1.5rem;
}

.team__name {
    font-size: 1.25rem;
    color: #333;
    margin-top: 0.5rem;
}

.team__position {
    font-size: 1rem;
    color: #FFB6C1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team__bio {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 📱 Мобильная адаптация */
@media (max-width: 480px) {
    .team {
        padding: 60px 0;
    }

    .team__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }

    .team__member {
        width: 100%;
        max-width: 350px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .team__photo {
        width: 100%;
        aspect-ratio: 3 / 4; /* ✅ фиксирует пропорции и адаптируется */
        overflow: hidden;
        border-radius: 16px;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f9fa;
    }

    .team__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* ✅ не деформируется */
        object-position: center;
        border-radius: 16px;
        transition: transform 0.3s ease;
    }

    .team__info {
        padding: 1rem;
    }

    .team__name {
        font-size: 1.1rem;
        margin-top: 0.75rem;
    }

    .team__position {
        font-size: 0.9rem;
        color: #FFB6C1;
    }

    .team__bio {
        font-size: 0.85rem;
        line-height: 1.4;
        color: #666;
    }
}

.mobile-menu-btn {
    display: none !important;
}
