:root {
    --gold: #f4b400;
    --gold-dark: #c99200;
    --surface: #ffffff;
    --surface-soft: #f9fafb;
    --border: #e2e8f0;
    --text: #171717;
    --muted: #6b7280;
    --danger: #dc2626;
    --success: #15803d;
    --warning: #b45309;
    --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: #f3f4f6;
}

.public-page,
.install-page {
    background: #f3f4f6;
}

.eks-shell,
.install-shell {
    padding: 48px 18px 24px;
}

.eks-container,
.install-card {
    max-width: 1100px;
    margin: 0 auto;
}

.eks-header-fancy {
    text-align: center;
    padding: 18px 0 28px;
}

.eks-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px 46px;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.eks-logo-wrap img {
    display: block;
    width: min(235px, 100%);
    height: auto;
    margin: 0 auto;
}

.eks-header-fancy h1,
.install-card h1 {
    margin: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(44px, 7vw, 74px);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.eks-badge,
.install-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    border-radius: 14px;
    background: var(--gold);
    color: #fff;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eks-featured-copy {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    justify-items: center;
}

.eks-featured-copy strong {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(21px, 2.8vw, 30px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.eks-featured-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: #6b7280;
}

.eks-featured-date-chip svg {
    width: 13px;
    height: 13px;
    color: #d66630;
    flex: 0 0 auto;
}

.eks-featured-date-value {
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.announcement-poster {
    margin: 0 auto 16px;
    width: min(100%, 330px);
    padding: 10px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.announcement-poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.eks-feedback-stack {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.eks-alert {
    padding: 16px 18px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.eks-alert ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.eks-alert-success {
    border-color: rgba(21, 128, 61, 0.16);
    background: rgba(21, 128, 61, 0.08);
}

.eks-alert-danger {
    border-color: rgba(220, 38, 38, 0.16);
    background: rgba(220, 38, 38, 0.08);
}

.eks-alert-warning {
    border-color: rgba(180, 83, 9, 0.16);
    background: rgba(180, 83, 9, 0.08);
}

.receipt-card,
.eks-main-card,
.install-card {
    background: #fff;
    border-radius: 25px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.receipt-card {
    padding: 22px;
}

.receipt-card h2 {
    margin: 6px 0;
    font-size: 24px;
}

.receipt-card p,
.receipt-card span,
.install-card p {
    margin: 0;
    color: var(--muted);
}

.receipt-kicker {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eks-main-card,
.install-card {
    padding: 38px 40px;
}

.eks-grid-inputs,
.summary-grid,
.form-grid {
    display: grid;
    gap: 15px;
}

.eks-input-group label,
.form-field span {
    display: block;
    margin-bottom: 8px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #4b5563;
    font-size: 20px;
    font-weight: 700;
}

.eks-input-group select,
.form-field input {
    width: 100%;
    min-height: 62px;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 18px;
    background: #fff;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eks-input-group select:focus,
.form-field input:focus {
    border-color: rgba(244, 180, 0, 0.9);
    box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.12);
}

.eks-salon-section {
    margin-top: 24px;
}

.eks-divider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.eks-divider::before {
    content: '';
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.14) 18%, rgba(15, 23, 42, 0.14) 82%, transparent 100%);
}

.eks-divider span {
    position: relative;
    z-index: 1;
    padding: 0 14px;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eks-modern-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.room-card {
    width: 100%;
    padding: 20px;
    border: 2px solid transparent;
    border-radius: 18px;
    background: #f9fafb;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.room-card.is-full,
.room-card:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.room-card.is-full:hover,
.room-card:disabled:hover {
    transform: none;
    border-color: transparent;
    background: #f3f4f6;
    box-shadow: none;
}

.room-card__top {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.room-card__title {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: #1a1a1a;
}

.room-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(244, 180, 0, 0.12);
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.room-card__badge.is-full {
    background: rgba(220, 38, 38, 0.12);
    color: var(--danger);
}

.room-card__meta {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.room-card__bottom {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    color: #374151;
    font-size: 13px;
}

.room-card__bottom strong {
    font-size: 14px;
}

.application-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    overflow-y: auto;
    background: #fff;
}

.application-modal.is-open {
    display: block;
}

.application-modal__header {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 3px solid var(--gold);
}

.title-main {
    font-size: 18px;
    font-weight: 900;
}

.title-sub {
    margin-top: 4px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-premium-change,
.btn-simple-close,
.btn-submit {
    border: none;
    cursor: pointer;
    font: inherit;
}

.btn-premium-change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.btn-simple-close {
    padding: 5px;
    background: transparent;
    color: #444;
    font-size: 32px;
    line-height: 1;
}

.btn-simple-close:hover {
    color: var(--danger);
}

.application-modal__body {
    max-width: 1040px;
    margin: 0 auto;
    padding: 28px 18px 36px;
}

.modal-feedback-stack {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.summary-card {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.summary-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.summary-card strong {
    font-size: 16px;
}

.application-form {
    margin-top: 18px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.form-field {
    display: block;
}

.field-wide {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.form-actions p {
    margin: 0;
    max-width: 520px;
    color: var(--muted);
    font-size: 14px;
}

.btn-submit {
    min-width: 220px;
    padding: 15px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 32px rgba(244, 180, 0, 0.24);
}

.btn-submit:disabled {
    opacity: 0.72;
    cursor: wait;
    box-shadow: none;
}

.site-footer {
    padding: 90px 20px 34px;
    text-align: center;
}

.site-footer a {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #4b5563;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.install-shell {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.install-card {
    width: min(100%, 520px);
}

.install-form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

@media (min-width: 600px) {
    .eks-grid-inputs,
    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

}

@media (min-width: 760px) {
    .eks-grid-inputs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

@media (max-width: 639px) {
    .eks-shell,
    .install-shell {
        padding-top: 26px;
    }

    .eks-main-card,
    .install-card,
    .application-form {
        padding: 20px;
        border-radius: 22px;
    }

    .eks-modern-cards {
        grid-template-columns: 1fr;
    }

    .application-modal__header,
    .form-actions,
    .header-right-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit,
    .btn-premium-change {
        width: 100%;
    }

    .eks-header-fancy h1,
    .install-card h1 {
        font-size: 48px;
    }

    .eks-input-group label,
    .form-field span {
        font-size: 18px;
    }

    .eks-featured-copy span {
        font-size: 14px;
    }

    .eks-input-group select,
    .form-field input {
        font-size: 16px;
    }
}
