:root {
    --el-width: 640px;
    --el-pink: #e54f69;
    --el-deep-pink: #b21c34;
    --el-soft-pink: #fff0f3;
    --el-form-height: 116px;
}

* { box-sizing: border-box; }
html {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: #f2eeee;
    color: #181818;
    font-family: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.el-page {
    width: 100%;
    max-width: var(--el-width);
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
}
.el-section,
.el-section__visual {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}
.el-section img { width: 100%; }

.el-quick {
    position: fixed;
    z-index: 80;
    right: max(12px, calc((100vw - var(--el-width)) / 2 + 12px));
    bottom: calc(var(--el-form-height) + 16px + env(safe-area-inset-bottom));
    display: grid;
    gap: 8px;
}
.el-quick__item {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 13px;
    box-shadow: 0 7px 18px rgba(80, 15, 31, .28);
}
.el-quick__item img { width: 100%; height: 100%; object-fit: cover; }
.el-fixed-spacer {
    width: 100%;
    max-width: var(--el-width);
    height: calc(var(--el-form-height) + env(safe-area-inset-bottom));
    margin: 0 auto;
    background: #f2eeee;
}

.el-db-fixed {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: var(--el-width);
    min-height: var(--el-form-height);
    margin: 0 auto;
    padding: 10px 14px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .32);
    background: rgba(177, 28, 52, .96);
    box-shadow: 0 -8px 24px rgba(84, 10, 28, .24);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.el-db-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.el-db-form input[type="text"],
.el-db-form input[type="tel"] {
    min-width: 0;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 16px;
}
.el-honeypot { position: absolute !important; left: -9999px !important; }
.el-db-form__submit {
    width: 100%;
    height: 34px;
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: var(--el-deep-pink);
    font-weight: 800;
    cursor: pointer;
}
.el-db-form__submit:disabled { opacity: .62; }
.el-db-form__privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 24px;
    color: #ffe8ed;
    font-size: 12px;
}
.el-db-form__privacy input { width: 15px; height: 15px; margin: 0; accent-color: #fff; }
.el-db-form__privacy button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.el-db-form__message { min-height: 0; margin: 0; color: #fff; font-size: 12px; text-align: center; }
.el-db-form__message.is-error { margin-top: 4px; color: #fff4c8; }

.el-modal[hidden] { display: none; }
.el-modal {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}
.el-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(54, 8, 19, .76);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.el-modal__panel,
.el-consult-modal__panel {
    position: relative;
    width: 100%;
    max-width: 390px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #ffd3dc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(76, 8, 24, .36);
}
.el-modal__panel h2,
.el-consult-modal__panel h2 { margin: 0 0 14px; color: #54101f; font-size: 21px; line-height: 1.35; }
.el-modal__panel dl {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 9px 12px;
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.55;
}
.el-modal__panel dt { font-weight: 800; }
.el-modal__panel dd { margin: 0; }
.el-modal__panel > button,
.el-consult-modal__panel > button {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: var(--el-pink);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.el-consult-modal__panel { text-align: center; }
.el-consult-modal__eyebrow { margin: 0 0 8px; color: var(--el-pink); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.el-consult-modal__panel > p:not(.el-consult-modal__eyebrow) { margin: 0 0 20px; color: #765c63; }
.el-consult-modal__panel > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.el-consult-modal__timer {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
}
.el-consult-modal__particles { position: absolute; inset: 0; pointer-events: none; }
.el-consult-modal__particles i {
    position: absolute;
    width: 8px;
    height: 8px;
    opacity: 0;
    border-radius: 50%;
    background: var(--el-pink);
}

@media (max-width: 640px) {
    :root { --el-form-height: 120px; }
    .el-quick { right: 10px; }
    .el-quick__item { width: 46px; height: 46px; }
    .el-db-fixed { padding-right: 12px; padding-left: 12px; }
}

@media (max-width: 360px) {
    .el-db-form__privacy { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
