/* ============================================================
   CONTACT PAGE - PREMIUM BOOKING INTERFACE
   ============================================================ */

:root {
    --contact-accent: var(--color-accent);
    --contact-border: rgba(255, 255, 255, 0.15);
    --contact-bg: #000;
}

.page-contact {
    background: var(--contact-bg);
    color: #fff;
    overflow-x: hidden;
}

/* --- Hero Subtitle (page-specific bigger tagline) --- */
.editorial-hero-subtitle {
    margin-top: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.2vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
}

.editorial-hero-subtitle .serif-italic {
    color: var(--color-accent);
}

/* --- Hero Section --- */
.contact-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    clip-path: inset(0);
}

.contact-hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.contact-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: brightness(0.5);
    transform: scale(1.1); /* For parallax start */
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
}

.contact-hero-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    color: var(--contact-accent);
    margin-bottom: 2.5rem;
    display: block;
    font-weight: 700;
}

.contact-hero-title {
    margin: 0;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    font-family: var(--font-heading);
}

.title-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

/* --- Main Layout --- */
.contact-grid-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.container {
    width: min(92%, 1400px);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10vw;
    align-items: start;
    min-width: 0;
}

/* --- Form Side --- */
.contact-form-side h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1;
}

.contact-form-side h2 .serif-accent {
    color: var(--color-accent);
}

.booking-form {
    display: grid;
    gap: 2.4rem;
    min-width: 0;
    max-width: 100%;
}

.form-group {
    position: relative;
    min-width: 0;
}

/* Elevate the whole field when the forfait dropdown is open so the
   absolutely-positioned menu isn't covered by later form rows. */
.form-group:has(.jx-select.active) {
    z-index: 10000;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.9rem;
    font-weight: 600;
    transition: color 0.4s ease;
}

/* Libellé principal (ex. « Choisissez la date de votre événement ») */
.form-label--lead {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #fff;
    margin-bottom: 1.1rem;
}

.form-label--lead::before {
    content: '';
    width: 5px;
    height: 1.15em;
    border-radius: 3px;
    background: var(--color-accent);
    flex-shrink: 0;
}

.form-group:focus-within .form-label {
    color: var(--color-accent);
}

.form-group:focus-within .form-label--lead {
    color: #fff;
}

.form-group:focus-within .form-label--lead::before {
    box-shadow: 0 0 12px rgba(var(--color-accent-rgb), 0.7);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    min-width: 0;
    max-width: 100%;
}

/* Input wrapper holds the icon + field */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.input-wrap > .form-input {
    min-width: 0;
}

.input-icon {
    position: absolute;
    left: 1.5rem;
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
}

.form-group:focus-within .input-icon {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.form-input {
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    border-radius: 6px;
}

.input-wrap--textarea .form-input {
    padding-top: 1.4rem;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.4s ease;
}

.form-input:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px var(--color-accent), 0 20px 50px -20px rgba(248, 6, 16, 0.4);
}

/* Filled state — subtle accent border once the field has content */
.form-input.has-value {
    border-color: rgba(248, 6, 16, 0.45);
    box-shadow: inset 0 0 0 1px rgba(248, 6, 16, 0.12), 0 20px 50px -20px rgba(248, 6, 16, 0.2);
}

.form-input.has-value:hover {
    border-color: rgba(248, 6, 16, 0.6);
}

/* Inputs without an icon (e.g. inline calendars handled by wrapper) */
.input-wrap:not(.input-wrap--textarea) > .form-input {
    padding-left: 4rem;
}

/* ===========================================================
   JX SELECT — Forfait picker
   Clean, editorial dropdown. Dark theme, accent reveal.
   =========================================================== */
.jx-select {
    position: relative;
    width: 100%;
    z-index: 1;
}

.jx-select.active {
    position: relative;
    z-index: 2;
}

/* Backdrop dims the page while open.
   Sits BELOW the active select (998 < 9999). The active .jx-select
   establishes its own stacking context, so the menu inside it
   (z-index 1100) renders above this backdrop. */
.jx-select-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    pointer-events: none;
}

.form-group:has(.jx-select.active) .jx-select-backdrop,
.jx-select.active ~ .jx-select-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* --- Trigger --- */
.jx-select__trigger {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    min-height: 66px;
    transition: background 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.jx-select__trigger:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.jx-select__trigger:focus-visible {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(248, 6, 16, 0.35);
}

.jx-select.active .jx-select__trigger {
    border-color: var(--color-accent);
    box-shadow: 0 24px 60px -30px rgba(248, 6, 16, 0.45);
}

/* Trigger label (uppercase section tag) */
.jx-select__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    white-space: nowrap;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.jx-select__value {
    flex: 1 1 auto;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.32);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

/* Selected value with price: name + price laid out on one line */
.jx-select__value.has-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.jx-select__value-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jx-select__value-price {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--color-accent);
    font-weight: 600;
}

.jx-select[data-state="filled"] .jx-select__value {
    color: #fff;
    font-weight: 600;
}

.jx-select[data-state="filled"] .jx-select__value-price {
    color: var(--color-accent);
}

/* Forfait choisi — le trigger passe en accent plein : le client voit
   immédiatement quelle formule il a sélectionnée. */
.jx-select[data-state="filled"] .jx-select__trigger {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 12px 28px -10px rgba(248, 6, 16, 0.55);
}

.jx-select[data-state="filled"] .jx-select__label {
    color: #fff;
    opacity: 0.8;
}

.jx-select[data-state="filled"] .jx-select__value {
    color: #000;
}

.jx-select[data-state="filled"] .jx-select__value-price {
    color: rgba(0, 0, 0, 0.82);
}

.jx-select[data-state="filled"] .jx-select__chevron {
    color: rgba(0, 0, 0, 0.7);
}

/* Chevron */
.jx-select__chevron {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.55);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), color 0.4s ease;
}

.jx-select.active .jx-select__chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
}

/* --- Options menu --- */
.jx-select__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0.5rem;
    list-style: none;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.35s cubic-bezier(0.19, 1, 0.22, 1),
                visibility 0.35s,
                transform 0.4s cubic-bezier(0.22, 1.2, 0.36, 1);
    pointer-events: none;
    max-height: 60vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.jx-select.active .jx-select__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* --- Option --- */
.jx-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 4px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: background 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease,
                opacity 0.4s ease,
                transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.jx-select.active .jx-option {
    opacity: 1;
    transform: translateY(0);
}

.jx-option:last-child {
    margin-bottom: 0;
}

/* Stagger reveal */
.jx-select.active .jx-option:nth-child(1) { transition-delay: 0.04s; }
.jx-select.active .jx-option:nth-child(2) { transition-delay: 0.08s; }
.jx-select.active .jx-option:nth-child(3) { transition-delay: 0.12s; }
.jx-select.active .jx-option:nth-child(4) { transition-delay: 0.16s; }
.jx-select.active .jx-option:nth-child(5) { transition-delay: 0.20s; }

.jx-option:hover,
.jx-option.is-active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.jx-option[aria-selected="true"] {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 10px 24px -12px rgba(248, 6, 16, 0.65);
}

/* Numeric tag */
.jx-option__tag {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.jx-option:hover .jx-option__tag,
.jx-option[aria-selected="true"] .jx-option__tag {
    background: rgba(248, 6, 16, 0.14);
    border-color: rgba(248, 6, 16, 0.45);
    color: var(--color-accent);
}

/* Content block */
.jx-option__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.jx-option__name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.jx-option__name {
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jx-option__price {
    flex: 0 0 auto;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.jx-option:hover .jx-option__price,
.jx-option[aria-selected="true"] .jx-option__price {
    color: #fff;
}

.jx-option__desc {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.3;
}

.jx-option:hover .jx-option__desc,
.jx-option[aria-selected="true"] .jx-option__desc {
    color: rgba(255, 255, 255, 0.7);
}

/* Check indicator — visible only when selected */
.jx-option__check {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1.4, 0.36, 1);
}

.jx-option[aria-selected="true"] .jx-option__check {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Option sélectionnée — contenu en noir sur l'accent plein (lisibilité) */
.jx-option[aria-selected="true"] .jx-option__name {
    color: #000;
}

.jx-option[aria-selected="true"] .jx-option__price {
    color: rgba(0, 0, 0, 0.82);
}

.jx-option[aria-selected="true"] .jx-option__desc {
    color: rgba(0, 0, 0, 0.62);
}

.jx-option[aria-selected="true"] .jx-option__tag {
    background: rgba(0, 0, 0, 0.16);
    border-color: rgba(0, 0, 0, 0.28);
    color: #000;
}

.jx-option[aria-selected="true"] .jx-option__check {
    color: #000;
}

.jx-option:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}

.jx-select input[type="hidden"] {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .jx-select__trigger {
        gap: 0.75rem;
        padding: 1rem 1.1rem;
        min-height: 58px;
    }
    .jx-select__label {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
        padding-right: 0.6rem;
    }
    .jx-option {
        padding: 0.85rem 0.9rem;
        gap: 0.8rem;
    }
    .jx-option__tag {
        min-width: 32px;
        height: 32px;
    }
}

textarea.form-input {
    min-height: 140px;
    resize: none;
    padding-top: 1.4rem;
    line-height: 1.6;
}

/* ===========================================================
   JX CALENDAR — Inline date picker widget (contact page)
   =========================================================== */
.form-group--calendar {
    margin-top: 0;
}

.jx-calendar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1.35rem 1.35rem 1.15rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.jx-calendar[data-state="filled"] {
    border-color: rgba(248, 6, 16, 0.45);
    box-shadow: 0 24px 60px -34px rgba(248, 6, 16, 0.55);
}

.jx-calendar__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.jx-calendar__heading {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.55rem;
}

.jx-calendar__live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jx-calendar__month {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.jx-calendar__year {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}

.jx-calendar__nav {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.jx-calendar__nav i {
    width: 18px;
    height: 18px;
}

.jx-calendar__nav:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.jx-calendar__nav:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.jx-calendar__selection {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.95rem 1.1rem;
    margin-bottom: 1.15rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.jx-calendar__selection-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.jx-calendar[data-state="filled"] .jx-calendar__selection-label {
    color: var(--color-accent);
}

.jx-calendar__selection-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.3;
    transition: color 0.35s ease;
}

.jx-calendar[data-state="filled"] .jx-calendar__selection-value {
    color: #fff;
}

.jx-calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
    margin-bottom: 0.55rem;
    padding: 0 0.15rem;
}

.jx-calendar__weekdays span {
    text-align: center;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.32);
    font-weight: 600;
}

.jx-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.jx-calendar__day {
    position: relative;
    aspect-ratio: 1;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* kill iOS grey tap flash */
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.jx-calendar__day:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.jx-calendar__day.is-today:not(.is-selected) {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.jx-calendar__day.is-selected {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #000;
    font-weight: 700;
    box-shadow: 0 12px 28px -10px rgba(248, 6, 16, 0.75);
}

/* The :hover/:active rules have higher specificity than .is-selected, so a
   day chosen by click (pointer still on it, sticky hover on touch, :active
   during tap, lingering :focus on mobile) lost its accent fill. Cover every
   state and keep the accent + the small hover lift. */
.jx-calendar__day.is-selected:hover:not(:disabled),
.jx-calendar__day.is-selected:active,
.jx-calendar__day.is-selected:focus {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #000;
    box-shadow: 0 12px 28px -10px rgba(248, 6, 16, 0.75);
    transform: translateY(-1px);
}

.jx-calendar__day.is-past,
.jx-calendar__day.is-outside {
    opacity: 0.3;
    cursor: not-allowed;
}

.jx-calendar__day:disabled {
    pointer-events: none;
}

.jx-calendar__day:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===========================================================
   JX TIME — Inline hour picker
   Matches the inline calendar visual language.
   =========================================================== */
.jx-time {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1.35rem 1.35rem 1.15rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.jx-time[data-state="filled"] {
    border-color: rgba(248, 6, 16, 0.45);
    box-shadow: 0 24px 60px -34px rgba(248, 6, 16, 0.55);
}

.jx-time__toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}

.jx-time__heading {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.jx-time__title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.jx-time__sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
}

.jx-time__live {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.jx-time__presets {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.jx-time__preset {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.jx-time__preset:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.jx-time__preset.is-active {
    background: rgba(248, 6, 16, 0.14);
    border-color: rgba(248, 6, 16, 0.5);
    color: var(--color-accent);
}

.jx-time__preset:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.jx-time__selection {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.95rem 1.1rem;
    margin-bottom: 1.15rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.jx-time__selection-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.jx-time[data-state="filled"] .jx-time__selection-label {
    color: var(--color-accent);
}

.jx-time__selection-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.3;
    transition: color 0.35s ease;
}

.jx-time[data-state="filled"] .jx-time__selection-value {
    color: #fff;
}

.jx-time__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.jx-time__grid::-webkit-scrollbar {
    width: 6px;
}
.jx-time__grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.jx-time__slot {
    border: 1px solid transparent;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.88);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.75rem 0.6rem;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.jx-time__slot:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.jx-time__slot.is-selected {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #000;
    font-weight: 700;
    box-shadow: 0 12px 28px -10px rgba(248, 6, 16, 0.75);
    transform: none;
}

.jx-time__slot:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.form-group--time {
    max-width: 520px;
}

.form-submit-wrapper {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.form-submit-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    max-width: 280px;
    line-height: 1.5;
}

.btn-submit {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 1.5rem 4rem;
    border-radius: 100px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-submit:hover {
    background: #fff;
    color: #000;
}

.btn-submit i {
    width: 18px;
    height: 18px;
}

/* --- Loading Spinner --- */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-submit.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-submit.is-success {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* --- Field Error State --- */
.form-group--has-error .form-input,
.form-group--has-error .jx-select__trigger,
.form-group--has-error .jx-calendar,
.form-group--has-error .jx-time {
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 1px var(--color-accent), 0 0 20px rgba(248, 6, 16, 0.15) !important;
}

.form-input.has-error {
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 1px var(--color-accent), 0 0 20px rgba(248, 6, 16, 0.15) !important;
}

.form-error-msg {
    display: block;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    color: var(--color-accent);
    background: rgba(248, 6, 16, 0.08);
    border-left: 2px solid var(--color-accent);
    border-radius: 0 4px 4px 0;
    letter-spacing: 0.02em;
    animation: shakeIn 0.4s ease;
}

@keyframes shakeIn {
    0%   { transform: translateX(-8px); opacity: 0; }
    25%  { transform: translateX(4px); }
    50%  { transform: translateX(-2px); }
    100% { transform: translateX(0); opacity: 1; }
}

/* --- Validation Popup Modal --- */
.form-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-popup-overlay.is-visible {
    opacity: 1;
}

.form-popup {
    background: #111;
    border: 1px solid rgba(248, 6, 16, 0.3);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(248, 6, 16, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.form-popup-overlay.is-visible .form-popup {
    transform: scale(1) translateY(0);
}

.form-popup__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-popup__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(248, 6, 16, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.form-popup__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

.form-popup__body {
    padding: 1.5rem 1.75rem;
}

.form-popup__msg {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.form-popup__field {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(248, 6, 16, 0.06);
    border: 1px solid rgba(248, 6, 16, 0.15);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-popup__field-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.35);
}

.form-popup__field-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
}

.form-popup__footer {
    padding: 1rem 1.75rem 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.form-popup__btn {
    background: var(--color-accent);
    color: #000;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.form-popup__btn:hover {
    background: #ff1a1a;
    transform: scale(1.03);
}

@media (max-width: 480px) {
    .form-popup {
        max-width: none;
        margin: 0 0.5rem;
    }
    .form-popup__header,
    .form-popup__body,
    .form-popup__footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* --- Success Overlay --- */
.form-popup-overlay--success {
    background: rgba(0, 0, 0, 0.85);
}

.form-popup--success {
    border-color: rgba(34, 197, 94, 0.3);
    max-width: 480px;
    text-align: center;
}

.form-popup__header--success {
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: none;
}

.form-popup__check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    border: 2px solid rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    margin-bottom: 1.25rem;
    animation: popIn 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes popIn {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.form-popup__title--success {
    color: #fff;
    font-size: 1.3rem;
}

.form-popup--success .form-popup__body {
    padding: 1rem 2rem;
    text-align: center;
}

.form-popup--success .form-popup__msg {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
}

.form-popup__details {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-popup__detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.form-popup__detail-item svg {
    color: #22c55e;
    flex-shrink: 0;
}

.form-popup__footer--success {
    justify-content: center;
    padding-top: 0.5rem;
}

.form-popup__btn--success {
    background: #22c55e;
    padding: 0.85rem 3rem;
    font-size: 0.85rem;
}

.form-popup__btn--success:hover {
    background: #16a34a;
}

/* --- Toast Notification --- */
.form-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 420px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
}

.form-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.form-toast--success {
    border-color: rgba(34, 197, 94, 0.3);
}

.form-toast--error {
    border-color: rgba(248, 6, 16, 0.3);
}

.form-toast__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-toast--success .form-toast__icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.form-toast--error .form-toast__icon {
    background: rgba(248, 6, 16, 0.15);
    color: var(--color-accent);
}

.form-toast__icon i {
    width: 20px;
    height: 20px;
}

.form-toast__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.form-toast__title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-toast--success .form-toast__title { color: #22c55e; }
.form-toast--error .form-toast__title { color: var(--color-accent); }

.form-toast__msg {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.form-toast__close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.form-toast__close:hover {
    color: #fff;
}

.form-toast__close i {
    width: 16px;
    height: 16px;
}

.form-toast--rate-limit {
    border-color: rgba(251, 191, 36, 0.35);
    background: #1a1510;
}
.form-toast--rate-limit .form-toast__icon {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}
.form-toast--rate-limit .form-toast__title { color: #fbbf24; }
.rate-limit-countdown {
    font-weight: 700;
    color: #fbbf24;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    .form-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

/* --- Address Autocomplete --- */
.input-wrap--address {
    position: relative;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    margin-top: 4px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    max-height: 280px;
    overflow-y: auto;
}

.address-suggestions[hidden] {
    display: none;
}

.address-suggestions__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.address-suggestions__item:last-child {
    border-bottom: none;
}

.address-suggestions__item:hover,
.address-suggestions__item.is-active {
    background: rgba(248, 6, 16, 0.08);
}

.address-suggestions__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-suggestions__icon svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.address-suggestions__text {
    min-width: 0;
}

.address-suggestions__name {
    font-size: 0.88rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.address-suggestions__detail {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.address-suggestions__loading {
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.address-suggestions__loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

.address-suggestions__empty {
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-style: italic;
}

.form-group--address .form-input {
    padding-right: 2.5rem;
}

/* --- Info Side --- */
.contact-info-side {
    position: sticky;
    top: 15rem;
}

.info-block {
    margin-bottom: 5rem;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
}

.info-content {
    font-size: 1.8rem;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.info-content a {
    color: inherit;
    text-decoration: none;
    background: linear-gradient(to right, #fff, #fff) no-repeat 0 100%;
    background-size: 0 1px;
    transition: background-size 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.info-content a:hover {
    background-size: 100% 1px;
}

.info-subtext {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.social-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.social-link:hover {
    opacity: 1;
}

/* --- Visual Accent --- */
.contact-visual-accent {
    margin-top: 6rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--contact-border);
}

.contact-visual-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* --- Responsiveness --- */
/* --- Custom Flatpickr 'Noir' Theme Overrides --- */
.flatpickr-calendar {
    background: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    font-family: inherit !important;
    backdrop-filter: blur(20px);
    z-index: 999999 !important; /* High, but lower than cursor */
    cursor: none !important;
}

.flatpickr-calendar *, 
.flatpickr-day, 
.flatpickr-months, 
.flatpickr-weekday {
    cursor: none !important;
}

/* Ensure Kursor is always on top */
.cursor-wrapper {
    z-index: 1000000000 !important;
}

.flatpickr-day.selected {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #000 !important;
    font-weight: 700 !important;
}

.flatpickr-day:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.flatpickr-months .flatpickr-month {
    color: #fff !important;
    fill: #fff !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700 !important;
}

.flatpickr-weekday {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

.flatpickr-day.today {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.flatpickr-day {
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.flatpickr-calendar.arrowTop:after {
    border-bottom-color: #0a0a0a !important;
}

/* Time Picker Styling */
.flatpickr-time {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 10px 0 !important;
    background: #0a0a0a !important;
    border-radius: 0 0 12px 12px !important;
}

.flatpickr-time input {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

.flatpickr-time .flatpickr-time-separator {
    color: var(--color-accent) !important;
    font-weight: 700 !important;
}

.flatpickr-time .flatpickr-am-pm {
    color: rgba(255, 255, 255, 0.6) !important;
}

.numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--color-accent) !important;
}

.numInputWrapper span.arrowDown:after {
    border-top-color: var(--color-accent) !important;
}

.flatpickr-time input:hover, 
.flatpickr-time input:focus {
    background: rgba(255, 255, 255, 0.05) !important;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 8rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 2.4rem; /* Same as .booking-form: uniform vertical rhythm when rows stack */
    }
    .contact-info-side {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 12rem;
    }
    .info-content {
        font-size: 1.4rem;
    }
    .editorial-hero-subtitle {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-top: 2rem;
    }
    .input-icon {
        left: 1.1rem;
        width: 16px;
        height: 16px;
    }
    .form-input {
        padding-left: 3.25rem;
        padding-right: 1.2rem;
    }
    .jx-select__trigger {
        gap: 0.75rem;
        padding: 1rem 1.1rem;
        min-height: 58px;
    }
    .jx-select__label {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
        padding-right: 0.6rem;
    }
    .jx-option {
        padding: 0.85rem 0.9rem;
        gap: 0.8rem;
    }
    .jx-option__tag {
        min-width: 32px;
        height: 32px;
    }
    .booking-form {
        gap: 2rem;
    }
    .form-row {
        gap: 2rem; /* Match .booking-form so every stacked field keeps the same spacing */
    }
    .jx-calendar {
        padding: 1rem 0.85rem 0.85rem;
    }
    .jx-calendar__day {
        min-height: 38px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    .jx-calendar__nav {
        width: 36px;
        height: 36px;
    }
    .jx-calendar__selection-value {
        font-size: 0.95rem;
    }
    .jx-time {
        padding: 1rem 0.85rem 0.85rem;
    }
    .jx-time__slot {
        padding: 0.7rem 0.6rem;
        font-size: 0.85rem;
    }
    .jx-time__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .jx-time__preset {
        padding: 0.45rem 0.8rem;
        font-size: 0.62rem;
    }
    .form-submit-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .editorial-hero-subtitle {
        font-size: clamp(1.2rem, 7vw, 1.6rem);
    }
    .contact-form-side h2 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2.5rem;
    }
    .contact-hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    .jx-select__trigger {
        min-height: 52px;
        padding: 0.85rem 0.9rem;
        gap: 0.6rem;
    }
    .jx-select__label {
        font-size: 0.58rem;
        letter-spacing: 0.15em;
        padding-right: 0.5rem;
    }
    .jx-select__value {
        font-size: 0.9rem;
    }
    .form-input {
        font-size: 0.95rem;
        padding-left: 2.8rem;
        padding-right: 1rem;
    }
    .input-icon {
        left: 0.9rem;
        width: 14px;
        height: 14px;
    }
    .form-label {
        font-size: 0.65rem;
    }
    .form-label--lead {
        font-size: 1rem;
    }
    .jx-opt__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }
    .jx-opt__body {
        padding: 0 1rem 1rem;
        flex-wrap: wrap;
    }
    .jx-opt__price {
        margin-left: 0;
    }
    .jx-opt__step {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .estimate-box {
        padding: 1.2rem 1.3rem;
    }
    .estimate-box__total-value {
        font-size: 1.3rem;
    }
    .contact-info-side {
        margin-top: 3rem;
    }
    .info-content {
        font-size: 1.1rem;
    }
}

/* —— Détails & Options — formulaire de contact —— */
.form-group--options {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.jx-opt {
    border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: border-color 0.35s ease, background 0.35s ease;
}

.jx-opt[data-state="yes"] {
    border-color: rgba(var(--color-accent-rgb), 0.45);
    background: rgba(var(--color-accent-rgb), 0.05);
}

.jx-opt__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
}

.jx-opt__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.jx-opt__name {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.jx-opt__unit {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.jx-toggle {
    display: inline-flex;
    flex-shrink: 0;
    padding: 3px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.jx-toggle__btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.45rem 1.05rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jx-toggle__btn.is-active {
    background: var(--color-accent);
    color: #000;
}

.jx-opt__body {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0 1.25rem 1.25rem;
}

.jx-opt__body[hidden],
.jx-opt__total[hidden] {
    display: none;
}

.jx-opt__stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.04);
}

.jx-opt__step {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.jx-opt__step:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #000;
}

.jx-opt__count {
    min-width: 2.2rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.jx-opt__price {
    margin-left: auto;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
    font-variant-numeric: tabular-nums;
}

.jx-opt__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: var(--color-accent);
    color: #000;
}

.jx-opt__total-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.jx-opt__total-value {
    font-size: 1.35rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
    .jx-opt__head {
        padding: 0.9rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .jx-opt__body {
        flex-wrap: wrap;
        padding: 0 1rem 1rem;
        gap: 0.9rem;
    }

    .jx-opt__price {
        margin-left: 0;
    }
}

/* —— Récapitulatif estimé —— */
.estimate-box {
    position: relative;
    margin-top: 2.5rem;
    padding: 0;
    border: 1px solid rgba(var(--color-accent-rgb), 0.25);
    border-radius: 14px;
    background: #0e0e0e;
    overflow: hidden;
}

.estimate-box::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--color-accent);
    z-index: 1;
}

.estimate-box[hidden] {
    display: none;
}

.estimate-box__head {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.estimate-box__kicker {
    display: inline-block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.3rem;
}

.estimate-box__title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}

.estimate-box__rows {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
}

.estimate-box__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.estimate-box__row:last-child {
    border-bottom: none;
}

.estimate-box__row-name {
    color: #999;
    font-size: 0.9rem;
}

.estimate-box__row-amount {
    font-weight: 700;
    color: var(--color-accent);
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
    white-space: nowrap;
}

.estimate-box__empty {
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
    padding: 0.9rem 0;
}

.estimate-box__divider {
    display: none;
}

.estimate-box__total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: var(--color-accent);
    border-radius: 0 0 13px 13px;
}

.estimate-box__total-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 700;
}

.estimate-box__total-value {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 900;
    color: #000;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.estimate-box__note {
    margin: 0;
    padding: 0.85rem 1.5rem 1rem;
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
}
