/* Page Models Styles */

/* Hero */
.models-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--color-white);
    text-align: center;
    overflow-x: hidden;
    width: 100%;
}

.models-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.models-hero__subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
}

/* Models List */
.models-list {
    padding: 70px 0;
    overflow-x: hidden;
    width: 100%;
}

/* Model Card - Horizontal */
.model-card {
    display: flex;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: box-shadow var(--transition), border-color var(--transition);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.model-card:last-child {
    margin-bottom: 0;
}

.model-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}

.model-card__image {
    position: relative;
    width: 45%;
    min-height: 320px;
    flex-shrink: 0;
    min-width: 0;
}

.model-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eee;
}

.model-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
}

.model-card__badge--new {
    background: #10b981;
}

.model-card__content {
    flex: 1;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.model-card__header {
    margin-bottom: 16px;
}

.model-card__brand {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.model-card__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}

.model-card__category {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.model-card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 24px;
}

.model-card__specs {
    display: flex;
    gap: 32px;
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.model-card__spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    box-sizing: border-box;
}

.model-card__spec-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.model-card__spec-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
}

.model-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.model-card__price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.model-card__price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* Features Section */
.models-features {
    padding: 90px 0;
    background: #f8f8f8;
    overflow-x: hidden;
    width: 100%;
}

.models-features__title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
}

/* Feature Block */
.feature-block {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.feature-block:last-child {
    margin-bottom: 0;
}

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

.feature-block__image {
    width: 50%;
    flex-shrink: 0;
    min-width: 0;
    max-width: 100%;
}

.feature-block__image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    background: #ddd;
}

.feature-block__content {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.feature-block__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 16px;
    margin-bottom: 24px;
}

.feature-block__title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.feature-block__text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 24px;
}

.feature-block__list {
    list-style: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.feature-block__list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: var(--color-text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-block__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Form Section */
.models-form {
    padding: 90px 0;
    overflow-x: hidden;
    width: 100%;
}

.models-form__wrapper {
    display: flex;
    gap: 60px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 50px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.models-form__info {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.models-form__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.models-form__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 32px;
}

.models-form__benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.models-form__benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.models-form__benefit svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.models-form__form {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    box-sizing: border-box;
}

.models-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.models-form__field--full {
    grid-column: 1 / -1;
}

.models-form__field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-dark);
}

.models-form__field input,
.models-form__field select,
.models-form__field textarea {
    padding: 14px 16px;
    font-size: 0.9375rem;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    background: #f9f9f9;
    transition: border-color var(--transition), background var(--transition);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.models-form__field input:focus,
.models-form__field select:focus,
.models-form__field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

.models-form__field select {
    cursor: pointer;
}

.models-form__field textarea {
    resize: vertical;
    min-height: 80px;
}

.models-form__footer {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.models-form__footer .btn--lg {
    width: 100%;
    padding: 18px 32px;
    justify-content: center;
}

.models-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--color-text-light);
    cursor: pointer;
}

.models-form__consent input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.models-form__checkmark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-white);
    position: relative;
    transition: all var(--transition);
}

.models-form__consent input:checked + .models-form__checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.models-form__checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.models-form__consent input:checked + .models-form__checkmark::after {
    opacity: 1;
}

.models-form__consent a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    .models-form__wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .models-form__form {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .models-hero {
        padding: 50px 0;
        overflow-x: hidden;
    }

    .models-hero__title {
        font-size: 2rem;
    }

    .models-list {
        padding: 50px 0;
        overflow-x: hidden;
    }

    .model-card {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .model-card__image {
        width: 100%;
        min-height: 280px;
        min-width: 0;
    }

    .model-card__content {
        padding: 28px;
        width: 100%;
        min-width: 0;
    }

    .model-card__title {
        font-size: 1.5rem;
    }

    .model-card__specs {
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }

    .models-features {
        padding: 70px 0;
        overflow-x: hidden;
    }

    .models-features__title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .feature-block {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
        width: 100%;
        max-width: 100%;
    }

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

    .feature-block__image {
        width: 100%;
        min-width: 0;
    }

    .feature-block__image img {
        height: 280px;
    }

    .feature-block__title {
        font-size: 1.5rem;
    }

    .models-form {
        padding: 70px 0;
        overflow-x: hidden;
    }

    .models-form__wrapper {
        padding: 36px;
        width: 100%;
        max-width: 100%;
    }

    .models-form__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .models-hero {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .models-hero__title {
        font-size: 1.75rem;
    }

    .models-hero__subtitle {
        font-size: 1rem;
    }

    .model-card {
        width: 100%;
        max-width: 100%;
    }

    .model-card__content {
        padding: 24px;
        width: 100%;
        min-width: 0;
    }

    .model-card__title {
        font-size: 1.375rem;
    }

    .model-card__specs {
        width: 100%;
        max-width: 100%;
        gap: 24px;
    }

    .model-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .model-card__footer .btn {
        width: 100%;
        justify-content: center;
    }

    .feature-block {
        width: 100%;
        max-width: 100%;
    }

    .models-form {
        overflow-x: hidden;
    }

    .models-form__wrapper {
        padding: 28px;
        width: 100%;
        max-width: 100%;
    }

    .models-form__form {
        grid-template-columns: 1fr;
        max-width: 100%;
        width: 100%;
    }

    .models-form__field input,
    .models-form__field select,
    .models-form__field textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .models-hero {
        padding: 32px 0;
        overflow-x: hidden;
    }

    .models-hero__title {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .models-hero__subtitle {
        font-size: 0.9375rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .models-list {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .model-card {
        margin-bottom: 24px;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }

    .model-card__image {
        min-height: 200px;
        width: 100%;
        min-width: 0;
    }

    .model-card__badge {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.6875rem;
    }

    .model-card__content {
        padding: 20px 16px;
        width: 100%;
        min-width: 0;
    }

    .model-card__title {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .model-card__desc {
        font-size: 0.875rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .model-card__specs {
        gap: 12px;
        flex-wrap: wrap;
        padding: 16px 0;
        width: 100%;
    }

    .model-card__spec {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }

    .model-card__spec-label {
        font-size: 0.6875rem;
    }

    .model-card__spec-value {
        font-size: 1rem;
        word-wrap: break-word;
    }

    .model-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .model-card__price-value {
        font-size: 1.25rem;
    }

    .model-card__footer .btn {
        width: 100%;
        justify-content: center;
    }

    .models-features,
    .models-form {
        padding: 50px 0;
        overflow-x: hidden;
    }

    .models-features__title {
        font-size: 1.5rem;
        margin-bottom: 32px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .feature-block {
        gap: 24px;
        margin-bottom: 40px;
        width: 100%;
        flex-direction: column;
    }

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

    .feature-block__image {
        width: 100%;
        min-width: 0;
    }

    .feature-block__image img {
        height: 220px;
        width: 100%;
    }

    .feature-block__content {
        width: 100%;
        min-width: 0;
    }

    .feature-block__icon {
        width: 52px;
        height: 52px;
    }

    .feature-block__icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-block__title {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .feature-block__text {
        font-size: 0.9375rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .feature-block__list li {
        font-size: 0.875rem;
        padding-left: 24px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .models-form__wrapper {
        padding: 24px 16px;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 32px;
    }

    .models-form__info {
        width: 100%;
        min-width: 0;
    }

    .models-form__title {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .models-form__text {
        font-size: 0.9375rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .models-form__form {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .models-form__field {
        width: 100%;
        max-width: 100%;
    }

    .models-form__field input,
    .models-form__field select,
    .models-form__field textarea {
        max-width: 100%;
        padding: 12px 14px;
        font-size: 0.875rem;
        width: 100%;
        box-sizing: border-box;
    }

    .models-form__consent {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .model-card__specs {
        flex-direction: column;
        gap: 12px;
    }

    .model-card__spec {
        flex: 1 1 100%;
        width: 100%;
    }

    .feature-block__icon {
        width: 48px;
        height: 48px;
    }

    .feature-block__icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-block__title {
        font-size: 1.125rem;
    }

    .feature-block__image img {
        height: 200px;
    }

    .models-form__wrapper {
        padding: 20px 14px;
    }
}

@media (max-width: 320px) {
    .model-card__content {
        padding: 18px 14px;
    }

    .model-card__badge {
        padding: 5px 10px;
        font-size: 0.625rem;
    }

    .model-card__specs {
        gap: 10px;
        padding: 14px 0;
    }

    .feature-block__image img {
        height: 180px;
    }

    .models-form__wrapper {
        padding: 18px 12px;
    }
}

