:root {
    --primary-color: #ff006e;
    --light-shade: #ffe6f2;
    --dark-shade: #b8004f;
    --text-color: #333333;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #dddddd;
    --dark-gray: #555555;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-shade);
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.441rem;
}

h2 {
    font-size: 1.953rem;
}

h3 {
    font-size: 1.563rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 15px;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.Button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.Button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.Button--secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.Button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.Button--large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.Button--full {
    width: 100%;
}

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__title {
    font-size: 2.1rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section__title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.section__text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand img {
    max-height: 60px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--dark-shade);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--dark-shade);
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    top: 8px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-nav {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--dark-shade);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .nav-link {
        display: inline-block;
        padding: 10px 20px;
        font-size: 18px;
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

.hero {
    padding: 100px 0;
    background-color: var(--light-shade);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero__content {
    flex: 1;
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 25px;
}

.hero__text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero__image {
    flex: 1;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.services__item {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease;
}

.services__item:hover {
    transform: translateY(-10px);
}

.services__image {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.services__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.services__text {
    color: var(--text-color);
}

.about-brief {
    padding: 100px 0;
    background-color: var(--light-shade);
}

.about-brief .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-brief__content {
    flex: 1;
}

.about-brief__image {
    flex: 1;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-brief__text {
    margin-bottom: 20px;
}

.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonials__item {
    background-color: var(--light-shade);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    position: relative;
}

.testimonials__text {
    margin-bottom: 30px;
    font-style: italic;
}

.testimonials__author {
    display: flex;
    flex-direction: column;
}

.testimonials__name {
    margin-bottom: 5px;
}

.testimonials__position {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.cta {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.cta__wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta__text {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta .Button {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta .Button:hover {
    background-color: transparent;
    color: var(--white);
}

.contact {
    padding: 100px 0;
    background-color: var(--light-shade);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__item {
    padding: 20px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.contact__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact__text {
    color: var(--text-color);
}

.contact__form {
    background-color: var(--white);
    padding: 30px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-shade);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer {
    padding: 80px 0 30px;
    background-color: var(--dark-shade);
    color: var(--white);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer__logo {
    max-width: 350px;
}

.footer__logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer__text {
    color: var(--light-shade);
    line-height: 1.8;
}

.footer__links {
    display: flex;
    gap: 50px;
}

.footer__title {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer__nav {
    list-style: none;
}

.footer__item {
    margin-bottom: 15px;
}

.footer__link {
    color: var(--light-shade);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    color: var(--light-shade);
    font-size: 0.9rem;
}

@media screen and (max-width: 991px) {
    .hero .container,
    .about-brief .container {
        flex-direction: column;
    }

    .hero__content,
    .hero__image,
    .about-brief__content,
    .about-brief__image {
        flex: auto;
        width: 100%;
    }

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

    .footer__top {
        flex-direction: column;
        gap: 50px;
    }

    .footer__logo {
        max-width: 100%;
        text-align: center;
    }

    .footer__links {
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .section__title {
        font-size: 1.8rem;
    }

    .hero,
    .services,
    .about-brief,
    .testimonials,
    .cta,
    .contact {
        padding: 70px 0;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .footer__links {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
}

@media screen and (max-width: 576px) {
    .section__title {
        font-size: 1.6rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .services__item,
    .testimonials__item {
        padding: 20px;
    }

    .contact__form {
        padding: 20px;
    }
}

/* Дополнительные стили для страницы About */
.page-header {
    background-color: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 80px;
}

.page-header__title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header__text {
    color: var(--white);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-section,
.mission-section,
.philosophy-section {
    padding: 80px 0;
}

.about-section__wrapper,
.mission-section__wrapper,
.philosophy-section__wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-section__content,
.mission-section__content,
.philosophy-section__content {
    flex: 1;
}

.about-section__image,
.mission-section__image,
.philosophy-section__image {
    flex: 1;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-section__text,
.mission-section__text,
.philosophy-section__text {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-section {
    background-color: var(--white);
}

.mission-section {
    background-color: var(--light-shade);
}

.philosophy-section {
    background-color: var(--white);
}

.team-section {
    padding: 100px 0;
    background-color: var(--light-shade);
}

.team-section__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-section__member {
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease;
}

.team-section__member:hover {
    transform: translateY(-10px);
}

.team-section__image {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 200px;
}

.team-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-section__name {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-section__position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-section__description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Дополнительные стили для страницы Thank You */
.thankyou {
    padding: 100px 0;
    background-color: var(--light-shade);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thankyou__wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--white);
    padding: 50px;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.thankyou__icon {
    margin-bottom: 30px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 5;
    stroke: var(--white);
    stroke-miterlimit: 10;
    box-shadow: 0 0 0 var(--primary-color);
    background-color: var(--primary-color);
    position: relative;
    margin: 0 auto;
}

.checkmark:before {
    content: '';
    width: 30px;
    height: 60px;
    border-right: 5px solid var(--white);
    border-top: 5px solid var(--white);
    position: absolute;
    top: 10px;
    left: 28px;
    transform: scaleX(-1) rotate(135deg);
    transform-origin: left top;
}

.thankyou__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.thankyou__text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.thankyou__contact {
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--light-shade);
    border-radius: var(--border-radius);
    display: inline-block;
}

.thankyou__contact strong {
    color: var(--primary-color);
}

.thankyou__buttons {
    margin-top: 40px;
}

.related-services {
    padding: 100px 0;
    background-color: var(--white);
}

.related-services__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-services__item {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.related-services__item:hover {
    transform: translateY(-10px);
}

.related-services__image {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 200px;
}

.related-services__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-services__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.related-services__text {
    margin-bottom: 20px;
}

@media screen and (max-width: 991px) {
    .about-section__wrapper,
    .mission-section__wrapper,
    .philosophy-section__wrapper {
        flex-direction: column;
    }

    .about-section__content,
    .about-section__image,
    .mission-section__content,
    .mission-section__image,
    .philosophy-section__content,
    .philosophy-section__image {
        flex: auto;
        width: 100%;
    }

    .mission-section__image {
        order: 2;
    }

    .mission-section__content {
        order: 1;
    }
}

@media screen and (max-width: 767px) {
    .page-header {
        padding: 60px 0;
        margin-bottom: 60px;
    }

    .page-header__title {
        font-size: 2.5rem;
    }

    .about-section,
    .mission-section,
    .philosophy-section,
    .team-section,
    .thankyou,
    .related-services {
        padding: 70px 0;
    }

    .thankyou__wrapper {
        padding: 30px;
    }

    .thankyou__title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .page-header__title {
        font-size: 2rem;
    }

    .page-header__text {
        font-size: 1.1rem;
    }

    .team-section__member,
    .related-services__item {
        padding: 20px;
    }
}