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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    font-size: 18px;
}

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

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

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

.section {
    padding: 3rem 0;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
}

.header__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.header__menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
    border-radius: 2px;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header__nav {
    display: flex;
    gap: 2rem;
}

.header__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s;
    position: relative;
}

.header__link:hover {
    color: #d4af37;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s;
}

.header__link:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, #4a90e2 0%, #63b3ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 3rem 2rem;
}

.hero__content {
    max-width: 800px;
    width: 100%;
}

.hero__content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.hero__content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero--profile {
    min-height: auto;
    padding: 1rem 0;
}

.hero--profile > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.hero--profile .hero__image {
    flex: 0 0 45%;
    max-width: 500px;
}

.hero--profile .hero__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero--profile .hero__content {
    flex: 1;
    text-align: left;
}

.hero--profile .hero__content p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero--profile {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero--profile > div {
        flex-direction: column;
        text-align: center;
    }
    
    .hero--profile .hero__image {
        order: 2;
        flex: 1;
        max-width: 100%;
    }
    
    .hero--profile .hero__content {
        order: 1;
    }
    
    .hero--profile .hero__content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero--profile .hero__content p {
        font-size: 1rem;
    }
}

.hero__search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero__search input {
    flex: 1;
    padding: 1.25rem 2rem;
    border: none;
    font-size: 1rem;
    outline: none;
    color: #333;
}

.hero__search input::placeholder {
    color: #999;
}

.hero__search button {
    padding: 1.25rem 2rem;
    background: #d4af37;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__search button:hover {
    background: #c19d2f;
}

.hero__search button svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.carousel {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.carousel__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

.carousel__item {
    flex: 0 0 calc(25% - 1.125rem);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #e94b8f 0%, #d946ef 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.carousel__item:hover {
    box-shadow: 0 12px 40px rgba(233, 75, 143, 0.3);
}

.carousel__item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.carousel__item h3 {
    padding: 1.25rem 1rem;
    text-align: left;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
    background: #fff;
    margin: 0;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel__btn:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel__btn--prev {
    left: 1rem;
}

.carousel__btn--next {
    right: 1rem;
}

.text-block {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.text-block--reverse {
    flex-direction: row-reverse;
}

.text-block__image {
    flex: 1;
}

.text-block__image img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.text-block__content {
    flex: 1;
}

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

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.model-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #e94b8f 0%, #d946ef 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    text-decoration: none;
    color: inherit;
    display: block;
}

.model-card:hover {
    box-shadow: 0 12px 40px rgba(233, 75, 143, 0.3);
}

.model-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.model-card h3 {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.model-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
}

.model-info__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.model-info__icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e94b8f 0%, #d946ef 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.model-info__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.model-info__label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-info__value {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-content__block {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 16px;
    border-left: 4px solid;
    border-image: linear-gradient(135deg, #e94b8f 0%, #d946ef 100%) 1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-content__block:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(233, 75, 143, 0.15);
}

.about-content__icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e94b8f 0%, #d946ef 100%);
    border-radius: 12px;
}

.about-content__block p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}

.toc {
    border-bottom: 1px solid #eee;
}

.toc__list {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc__list li a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.2s ease;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

.toc__list li a:hover {
    color: #e94b8f;
    border-bottom-color: #e94b8f;
}

.models-list__intro {
    margin: 0 0 3rem;
    text-align: left;
}

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


.model-card__info {
    padding: 1rem;
}

.model-card__info h3 {
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.model-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 0.75rem;
}

.model-card__desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq__question {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1.5rem;
    margin: 0;
    color: #222;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
    padding-right: 3rem;
}

.faq__question::after {
    content: '▼';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    font-size: 0.875rem;
}

.faq__item.active .faq__question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq__question:hover {
    background: #f8f8f8;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq__item.active .faq__answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq__answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.footer {
    background: #222;
    color: #fff;
    padding: 3rem 2rem 1rem;
}

.footer__content {
    display: flex;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer__section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__section h3,
.footer__section h4 {
    margin-bottom: 0.5rem;
}

.footer__section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer__section a:hover {
    color: #fff;
}

.footer__section p {
    color: #ccc;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

@media (max-width: 768px) {
    p {
        font-size: 21px;
    }

    .section {
        padding: 1.5rem 0;
    }

    .header__menu-toggle {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 4rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        z-index: 100;
    }

    .header__nav.active {
        right: 0;
    }

    .header__link {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        font-size: 1.1rem;
    }

    .header__link::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 3rem 2rem;
    }

    .hero__content h1 {
        font-size: 1.75rem;
    }

    .hero__content p {
        font-size: 1rem;
    }

    .hero__search input {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero__search button {
        padding: 1rem 1.5rem;
    }

    .text-block {
        flex-direction: column;
        gap: 2rem;
    }

    .text-block--reverse {
        flex-direction: column;
    }

    .footer__content {
        flex-direction: column;
        gap: 2rem;
    }

    .carousel__track {
        gap: 1rem;
    }

    .carousel__item {
        flex: 0 0 100%;
    }

    .carousel__btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .carousel__btn--prev {
        left: 0.5rem;
    }

    .carousel__btn--next {
        right: 0.5rem;
    }

    .model-info {
        padding: 0;
        gap: 0.5rem;
        grid-template-columns: 1fr 1fr;
        background: transparent;
    }

    .model-info__item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .model-info__icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .model-info__label {
        font-size: 0.65rem;
    }

    .model-info__value {
        font-size: 0.85rem;
    }

    .about-content__block {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .about-content__icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .toc__list li a {
        font-size: 0.75rem;
        padding: 0.75rem 1rem;
    }
}
