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

:root {
    /* ===== Основные цвета ===== */
    --primary-blue: #2563EB;
    --dark-blue: #1E40AF;
    --darker-blue: #1E3A8A;
    
    /* ===== Нейтральные цвета ===== */
    --dark-gray: #1F2937;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #f5f5f5;
    
    /* ===== Фоны ===== */
    --bg-hero: var(--primary-blue);
    --bg-header: var(--dark-gray);
    --bg-white: var(--white);
    --bg-gray: var(--gray);
    --bg-table-header: #C8D9FF;
    --bg-table-row: #F8F8F8;
    
    /* ===== Цвета текста ===== */
    --text-on-blue: var(--white);
    --text-on-white: var(--dark-gray);
    --text-color: var(--dark-gray);
    --text-secondary: #6c757d;
    --text-small-opacity: 0.9;
    
    /* ===== Типографика - Размеры шрифтов ===== */
    --font-size-h1: clamp(1.75rem, 4vw, 3rem); /* 28px - 48px */
    --font-size-h2: clamp(1.25rem, 3vw, 2rem); /* 24px - 32px */
    --font-size-h3: clamp(1.25rem, 2vw, 1.5rem); /* 20px - 24px */
    --font-size-body: 1rem; /* 16px */
    --font-size-body-large: 1.125rem; /* 18px */
    --font-size-small: 0.875rem; /* 14px */
    --font-size-cta: 1.125rem; /* 18px - 20px */

    
    /* ===== Типографика - Веса шрифтов ===== */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* ===== Типографика - Межстрочные интервалы ===== */
    --line-height-h1: 1.2;
    --line-height-h2: 1.4;
    --line-height-h3: 1.3;
    --line-height-body: 1.6;
    --line-height-default: 1.6;
    
    /* ===== Отступы - Базовые значения ===== */
    --spacing-base: 8px;
    --spacing-xs: calc(var(--spacing-base) * 1); /* 8px */
    --spacing-sm: calc(var(--spacing-base) * 2); /* 16px */
    --spacing-md: calc(var(--spacing-base) * 3); /* 24px */
    --spacing-lg: calc(var(--spacing-base) * 4); /* 32px */
    --spacing-xl: calc(var(--spacing-base) * 5); /* 40px */
    --spacing-2xl: calc(var(--spacing-base) * 6); /* 48px */
    --spacing-3xl: calc(var(--spacing-base) * 8); /* 64px */
    --spacing-4xl: calc(var(--spacing-base) * 10); /* 80px */
    --spacing-5xl: calc(var(--spacing-base) * 15); /* 120px */
    
    /* ===== Отступы - Специфические ===== */
    --padding-section: 80px 0; /* Между секциями */
    --padding-section-large: 120px 0;
    --padding-section-mobile: 50px 0;
    --padding-hero: 80px 0 120px;
    --padding-hero-mobile: 60px 0;
    --padding-header: 1rem 0;
    --padding-card: 2.5rem; /* 32px - 40px */
    --padding-card-mobile: 2rem;
    --padding-cta: 16px 48px;
    --padding-container: 0 20px;
    --padding-container-mobile: 0 15px;
    
    /* ===== Размеры компонентов ===== */
    --header-height: 60px; /* 60px - 80px */
    --header-height-large: 80px;
    --card-min-height: 200px;
    --card-width: 280px;
    --card-height: 180px;
    --cta-height: 56px; /* 56px - 64px */
    --cta-height-large: 64px;
    --cta-min-width: 280px;
    --cta-max-width: 320px;
    
    /* ===== Скругления ===== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-card: 12px;
    --radius-card-large: 16px;
    
    /* ===== Тени ===== */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-cta: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    
    /* ===== Эффекты и переходы ===== */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    --transform-hover-btn: translateY(-2px);
    --transform-hover-card: translateY(-4px);
    
    /* ===== Контейнер ===== */
    --container-max-width: 1200px;
    --container-max-width-large: 1400px;
    
    /* ===== Брейкпоинты ===== */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1024px;
    
    /* ===== Границы ===== */
    --border-color: #dee2e6;
    --border-radius: 5px;
    
    /* ===== Обратная совместимость (старые переменные) ===== */
    --primary-color: var(--primary-blue);
    --secondary-color: var(--text-secondary);
    --text-color: var(--text-on-white);
    --bg-white: var(--white);
    --shadow: var(--shadow-sm);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

.phone-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.phone-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

ul {
    list-style: none;
}

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

/* ===== Header ===== */
.header {
    background-color: var(--bg-header);
    padding: var(--padding-header);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
}

.logo__image {
    display: block;
    height: auto;
    max-height: 30px;
    width: auto;
}

.header__contacts {
    display: flex;
    gap: 2rem;
    color: var(--text-on-blue);
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-item__main {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    color: var(--text-on-blue);
}

.contact-item__sub {
    font-size: var(--font-size-small);
    color: var(--text-on-blue);
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* ===== Main Content ===== */
.main {
    min-height: calc(100vh - 200px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: var(--padding-hero);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231F2937" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero__left {
    color: var(--text-on-blue);
}

.hero__title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-h1);
    color: var(--text-on-blue);
}

.hero__subtitle {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
    line-height: var(--line-height-h2);
    color: var(--text-on-blue);
}

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

.hero__feature-cards {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
}

.hero-feature-card {
    background-color: var(--primary-blue);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 1;
    gap: 10px;
    width: 100%;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
}

.hero-feature-card__icon {
    width: 80px;
    height: 80px;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 1;
}

.hero-feature-card__icon svg {
    width: 100  ;
    height: 100%;
    color: var(--text-on-blue);
}

.hero-feature-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-feature-card__label {
    position: absolute;
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-on-blue);
    bottom: 4px;
}

.hero-feature-card__text {
    color: var(--text-on-blue);
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
    font-weight: var(--font-weight-medium);
    margin: 0;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 0.25rem;
}

.hero__description {
    color: var(--text-on-blue);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    margin: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn--primary {
    background-color: var(--primary-color);
    color: white;
}

.btn--primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--cta {
    background-color: var(--primary-blue);
    color: var(--text-on-blue);
    padding: var(--padding-cta);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-cta);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.btn--cta:hover {
    background-color: var(--darker-blue);
    transform: var(--transform-hover-btn);
    box-shadow: var(--shadow-cta);
}

/* ===== Sections ===== */
section {
    padding: var(--padding-section);
}

.section__title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-on-white);
}

/* ===== Services Section ===== */
.services {
    background-color: var(--bg-gray);
    padding: var(--padding-section);
}

.services__content {
    display: grid;
    grid-template-columns: 3fr 3fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

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

.services__text {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services__title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-h1);
}

.services__description {
    font-size: var(--font-size-h3);
    color: var(--text-on-white);
    line-height: var(--line-height-h3);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 0.5rem;
    border: 1px solid var(--black);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 1;
    justify-content: center;
    min-height: 150px;
    cursor: pointer;
    transition: var(--transition);
}

.service-card:hover {
    transform: var(--transform-hover-card);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    width: 80px;
    height: 80px;
    color: var(--black);
    flex-shrink: 0;
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--black);
}

.service-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card__text {
    color: var(--black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-normal);
    margin: 0;
    line-height: 1.4;
}

.services__hint {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0.7;
    width: 100%;
}

/* ===== Pricing Section ===== */
.pricing {
    background-color: var(--bg-white);
    padding: var(--padding-section);
}

.pricing__section {
    margin-bottom: 4rem;
}

.pricing__section:last-child {
    margin-bottom: 0;
}

.pricing__section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    margin-bottom: 2rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
}

.pricing-table thead {
    background-color: var(--bg-table-header);
}

.pricing-table th {
    padding: 1rem;
    text-align: left;
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    text-transform: uppercase;
    font-size: var(--font-size-small);
}

.pricing-table tbody tr:nth-child(even) {
    background-color: var(--bg-table-row);
}

.pricing-table tbody tr:nth-child(odd) {
    background-color: var(--bg-white);
}

.pricing-table td {
    padding: 1rem;
    color: var(--text-on-white);
    font-size: var(--font-size-body);
}

/* ===== How-to Section ===== */
.how-to {
    background-color: var(--bg-white);
    padding: var(--padding-section);
    background-color: var(--bg-gray);
}

.how-to__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.how-to-card {
    background-color: var(--bg-white);
    padding: var(--padding-card);
    border-radius: var(--radius-card-large);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.how-to-card__title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    margin-bottom: 1rem;
}

.how-to-card__text {
    font-size: var(--font-size-body);
    color: var(--text-on-white);
    line-height: var(--line-height-body);
    margin: 0;
}

/* ===== Map Section ===== */
.map {
    position: relative;
    padding: var(--padding-section);
    overflow: hidden;
}

.map__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231F2937" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.map .container {
    position: relative;
    z-index: 1;
}

.map-title-wrapper {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.map-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-blue);
    margin-bottom: 1rem;
}

.map-subtitle {
    font-size: var(--font-size-body);
    color: var(--text-on-blue);
    line-height: var(--line-height-body);
    margin: 0;
}

.map__iframe-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.map__iframe {
    width: 100%;
    height: 600px;
    border: none;
    margin-top: -100px;
    pointer-events: none;
}

.map__iframe-wrapper iframe {
    pointer-events: auto;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--black);
    color: var(--text-on-blue);
    padding: 3rem 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer__left,
.footer__right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__phone,
.footer__email,
.footer__address,
.footer__copyright {
    color: var(--text-on-blue);
    font-size: var(--font-size-body);
}

.footer__copyright {
    opacity: 0.8;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .header__content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .header__contacts {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        flex-wrap: wrap;
    }

    .contact-item__main {
        font-size: 0.75rem;
    }

    .contact-item__sub {
        font-size: 0.7rem;
    }

    .logo__image {
        max-height: 32px;
    }

    .hero {
        padding: var(--padding-hero-mobile);
        min-height: auto;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero-feature-card {
        padding: 0.75rem;
    }

    .hero-feature-card__icon {
        width: 60px;
        height: 60px;
        max-width: 100%;
        max-height: 100%;
    }

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

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

    .how-to__cards {
        grid-template-columns: 1fr;
    }

    .map__iframe-wrapper {
        height: 400px;
    }

    .map__iframe {
        height: 500px;
        margin-top: -100px;
    }

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

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

@media (max-width: 600px) {
    .hero-feature-card {
        padding: 0.5rem;
    }

    .hero-feature-card__icon {
        width: 50px;
        height: 50px;
        max-width: 100%;
        max-height: 100%;
    }

    .hero-feature-card__text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .map__iframe-wrapper {
        height: 300px;
    }

    .map__iframe {
        height: 400px;
        margin-top: -100px;
    }

    .hero {
        padding: 60px 0;
    }

    .header__content {
        gap: 0.75rem;
    }

    .header__contacts {
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .contact-item__main {
        font-size: 0.7rem;
    }

    .contact-item__sub {
        font-size: 0.65rem;
    }

    .logo__image {
        max-height: 28px;
    }
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow-y: auto;
}

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

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2001;
}

.modal__content {
    position: relative;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    margin: 2rem auto;
    z-index: 2002;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    padding: 2rem;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal__title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    margin: 0;
}

.modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-on-white);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.modal__close:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

/* ===== Order Form ===== */
.order-form__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.order-form__left,
.order-form__right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-form__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-form__section-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    color: var(--text-on-white);
    margin-bottom: 0.5rem;
}

.order-form__label {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    color: var(--text-on-white);
    margin-bottom: 0.25rem;
}

.required-marker {
    color: #ef4444;
    font-weight: var(--font-weight-bold);
}

.order-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.order-form__field:has(.order-form__icon) {
    flex-direction: row;
    align-items: center;
}

.order-form__icon {
    font-size: 1.25rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-form__input,
.order-form__select,
.order-form__textarea {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-body);
    font-family: inherit;
    color: var(--text-on-white);
    background-color: var(--bg-white);
    transition: var(--transition);
}

.order-form__input:focus,
.order-form__select:focus,
.order-form__textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.order-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231F2937' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.order-form__textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.order-form__radios {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-form__radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: var(--font-size-body);
    color: var(--text-on-white);
}

.order-form__radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.order-form__radio-label span {
    user-select: none;
}

/* Скрытие honeypot поля для защиты от спама */
#website {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* ===== Toggle Switch ===== */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-switch__input {
    display: none;
}

.toggle-switch__label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch__slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 26px;
    transition: var(--transition);
}

.toggle-switch__slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch__input:checked + .toggle-switch__label .toggle-switch__slider {
    background-color: var(--primary-blue);
}

.toggle-switch__input:checked + .toggle-switch__label .toggle-switch__slider:before {
    transform: translateX(24px);
}

.toggle-switch__text {
    font-size: var(--font-size-body);
    color: var(--text-on-white);
}

/* ===== Order Form Image ===== */
.order-form__image {
    margin-top: 1rem;
}

.order-form__img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

/* ===== Order Form Actions ===== */
.order-form__actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn--cancel {
    background-color: #dc3545;
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn--cancel:hover {
    background-color: #c82333;
    transform: var(--transform-hover-btn);
}

.btn--create {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn--create:hover {
    background-color: var(--darker-blue);
    transform: var(--transform-hover-btn);
    box-shadow: var(--shadow-md);
}

/* ===== Modal Responsive ===== */
@media (max-width: 1024px) {
    .order-form__container {
        grid-template-columns: 1fr;
    }

    .modal__content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .modal__content {
        width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        padding: 1rem;
    }

    .order-form__actions {
        flex-direction: column;
    }

    .btn--cancel,
    .btn--create {
        width: 100%;
        justify-content: center;
    }
}

