body.home-page {
    margin: 0;
    color: #f7efe6;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 127, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(126, 73, 58, 0.24), transparent 30%),
        linear-gradient(180deg, #0e0b0b 0%, #201516 55%, #0c0909 100%);
}

* {
    box-sizing: border-box;
}

main {
    display: block;
}

img {
    max-width: 100%;
}

.hero-section,
.models-section,
.steps-section,
.info-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.eyebrow {
    margin: 0 0 14px;
    color: #d7b186;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-section h1,
.section-heading h2 {
    margin: 0;
    line-height: 0.96;
}

.hero-section h1 {
    font-size: clamp(2.8rem, 5.4vw, 5.8rem);
    max-width: 12ch;
}

.hero-copy,
.section-heading p,
.model-card__summary,
.step-card p,
.info-panel p {
    color: #eadccc;
    font-size: 1rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 15px 22px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--solid {
    color: #140e0d;
    background: linear-gradient(135deg, #d8b287, #b6814d);
}

.button--ghost {
    color: #f7efe6;
    border: 1px solid rgba(215, 177, 134, 0.34);
}

.button--text {
    padding: 0;
    color: #f6c78f;
}

.button--card {
    flex: 1 1 0;
    padding: 12px 18px;
    color: #140e0d;
    background: linear-gradient(135deg, #d8b287, #b6814d);
    text-align: center;
    border: 0;
    cursor: pointer;
}

.button--card-secondary {
    color: #f7efe6;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(215, 177, 134, 0.22);
}

.hero-section__media img {
    display: block;
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-heading--light {
    max-width: 640px;
}

.model-grid,
.steps-grid,
.info-section {
    display: grid;
    gap: 22px;
}

.model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-card,
.step-card,
.info-panel {
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 127, 0.15);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.model-card {
    display: flex;
    flex-direction: column;
}

.model-card__link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
    border: 0;
    width: 100%;
    padding: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.model-card__link:hover .model-card__image img {
    transform: scale(1.03);
}

.model-card__image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.model-card__image {
    position: relative;
}

.model-card__status {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.model-card__status--available {
    background: rgba(27, 121, 68, 0.88);
    color: #effff5;
}

.model-card__status--dubai {
    background: rgba(190, 138, 52, 0.9);
    color: #140e0d;
}

.model-card__status--default {
    background: rgba(30, 24, 24, 0.78);
    color: #f7efe6;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.model-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.model-card__id {
    margin: 0 0 8px;
    color: #d7b186;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
}

.model-card__top h3 {
    margin: 0 0 16px;
    font-size: 1.5rem;
}

.model-card__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.model-card__meta li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.model-card__meta span {
    color: #cda97b;
}

.model-card__summary {
    margin-bottom: 0;
}

.model-card__actions {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
}

.model-card__write {
    width: 100%;
}

.model-modal[hidden] {
    display: none;
}

.model-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
}

.model-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 2, 4, 0.72);
    backdrop-filter: blur(6px);
}

.model-modal__dialog {
    position: relative;
    width: min(92vw, 760px);
    max-height: 94vh;
    margin: 3vh auto;
    background: #221f26;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.model-modal__scroll {
    max-height: 94vh;
    overflow-y: auto;
    padding: 26px 24px 24px;
}

.model-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #e85050;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.model-modal__header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 22px;
    padding-right: 28px;
}

.model-modal__header h2 {
    margin: 0;
    font-size: 2rem;
    color: #ffffff;
}

.model-modal__status {
    color: #8891a7;
    font-size: 1.4rem;
}

.model-modal__gallery-block {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) 180px;
    gap: 16px;
    align-items: start;
}

.model-modal__main-photo-wrap {
    position: relative;
    min-width: 0;
}

.model-modal__main-photo img {
    width: 100%;
    height: min(62vh, 520px);
    object-fit: cover;
    display: block;
    background: #161419;
}

.model-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 10, 12, 0.55);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    font-size: 1.7rem;
}

.model-modal__nav--prev {
    left: 12px;
}

.model-modal__nav--next {
    right: 12px;
}

.model-modal__side {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-self: stretch;
    max-height: min(62vh, 520px);
    overflow: hidden;
}

.model-modal__thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    grid-auto-rows: 120px;
    max-height: min(62vh, 520px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 2px;
}

.model-modal__thumbs::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.model-modal__thumb {
    width: 100%;
    height: 120px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #2b2531;
    color: #fff;
    position: relative;
}

.model-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.model-modal__thumb.is-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

.model-modal__count {
    margin-top: 10px;
    color: #ffffff;
    font-size: 1rem;
}

.model-modal__meta-line,
.model-modal__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    color: #ffffff;
}

.model-modal__meta-line {
    margin-bottom: 8px;
    display: grid;
    gap: 8px;
}

.model-modal__meta-line span {
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.42;
}

.model-modal__section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.model-modal__section--info {
    margin-top: 0;
    padding: 18px 20px;
    border: 0;
    background: rgba(255, 255, 255, 0.04);
}

.model-modal__top-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: start;
}

.model-modal__summary-card,
.model-modal__body-card {
    min-height: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.model-modal__body-card h3 {
    margin: 0 0 12px;
}

.model-modal__section h3 {
    margin: 0 0 12px;
    color: #d6b185;
    font-size: 1.1rem;
}

.model-modal__section p {
    margin: 0;
    color: #ffffff;
    line-height: 1.65;
    font-size: 1rem;
}

.model-modal__prices {
    display: grid;
    gap: 10px;
}

.model-modal__facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.model-modal__fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
}

.model-modal__fact-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(214, 177, 133, 0.14);
    color: #f2d5af;
    font-size: 1rem;
    flex: 0 0 auto;
}

.model-modal__fact-copy {
    display: grid;
    gap: 2px;
}

.model-modal__fact-label {
    color: #bca48a;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-modal__fact-value {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.model-modal__price {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.model-modal__price.is-hidden {
    display: none;
}

.model-modal__more {
    margin-top: 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #f7efe6;
    padding: 12px 16px;
    cursor: pointer;
}

.model-modal__footer {
    margin-top: 24px;
}

.model-modal__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    width: 100%;
    border: 0;
    background: linear-gradient(180deg, #d93b3b, #b91c1c);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 320;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.contact-modal__dialog {
    position: relative;
    width: min(92vw, 420px);
    margin: 22vh auto 0;
    background: #221f26;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #e85050;
    font-size: 2rem;
    cursor: pointer;
}

.contact-modal__dialog h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.35rem;
}

.contact-modal__actions {
    display: grid;
    gap: 10px;
}

.contact-modal__actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-modal__actions a:nth-child(1) {
    background: linear-gradient(180deg, #33a8ff, #1b84d9);
    border-color: rgba(91, 185, 255, 0.4);
    color: #ffffff;
}

.contact-modal__actions a:nth-child(2) {
    background: linear-gradient(180deg, #2fd46f, #1ca855);
    border-color: rgba(79, 227, 135, 0.35);
    color: #ffffff;
}

.contact-modal__actions a:nth-child(3) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(215, 177, 134, 0.18);
}

.contact-modal__actions a:hover {
    filter: brightness(1.04);
}

body.modal-open {
    overflow: hidden;
}

.home-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.home-pagination__item,
.home-pagination__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #f7efe6;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(215, 177, 134, 0.16);
}

.home-pagination__item.is-active {
    color: #140e0d;
    background: linear-gradient(135deg, #d8b287, #b6814d);
}

.steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
    padding: 24px;
}

.step-card span {
    display: inline-flex;
    margin-bottom: 24px;
    color: #d7b186;
    font-size: 1.8rem;
    font-weight: 700;
}

.step-card h3,
.info-panel h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.info-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 12px;
}

.info-panel {
    padding: 28px;
}

@media (max-width: 1024px) {
    .hero-section,
    .steps-grid,
    .info-section {
        grid-template-columns: 1fr 1fr;
    }

    .model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section h1 {
        max-width: 100%;
    }
}

@media (max-width: 820px) {
    .hero-section,
    .steps-grid,
    .info-section {
        grid-template-columns: 1fr;
    }

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

    .home-pagination {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .home-pagination::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .home-pagination__item,
    .home-pagination__nav {
        min-width: 42px;
        padding: 10px 14px;
        flex: 0 0 auto;
    }

    .hero-section {
        min-height: auto;
        padding-top: 28px;
        gap: 24px;
    }

    .hero-section__media {
        order: -1;
    }

    .hero-section__media img {
        min-height: 340px;
    }

    .model-card__image img {
        height: 320px;
    }

    .model-card__actions {
        padding: 0 18px 18px;
    }

    .model-modal__dialog {
        width: min(96vw, 760px);
        max-height: 97vh;
        margin: 1.5vh auto;
    }

    .model-modal__scroll {
        max-height: 97vh;
        padding: 20px 16px 18px;
    }

    .model-modal__header h2 {
        font-size: 1.6rem;
    }

    .model-modal__main-photo img {
        max-height: 320px;
        height: 320px;
    }

    .model-modal__gallery-block {
        grid-template-columns: 1fr;
    }

    .model-modal__thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 92px;
        max-height: 300px;
    }

    .model-modal__thumb {
        height: 92px;
    }

    .model-modal__facts {
        grid-template-columns: 1fr;
    }

    .model-modal__meta-line {
        gap: 8px;
    }

    .model-modal__top-grid {
        grid-template-columns: 1fr;
    }

    .model-modal__count {
        font-size: 0.95rem;
    }

    .model-modal__summary-card,
    .model-modal__body-card {
        padding: 14px;
    }
}

@media (min-width: 1280px) {
    .hero-section,
    .models-section,
    .steps-section,
    .info-section {
        max-width: 1280px;
    }

    .model-card__image img {
        height: 420px;
    }
}
