/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --bg-dark: #0a0a0c;
    --bg-light: #f7f6f2;
    --text-dark: #e8e8e8;
    --text-muted: #a0a0a0;
    --text-light: #121212;
    --text-light-muted: #555555;
    --accent: #d4a373;
    --accent-medical: #3a6b7e;
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Inter", sans-serif;
    --container-w: 1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 112.5%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
.section-label {
    font-family: var(--font-heading);
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.text-accent {
    color: var(--accent);
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.light-section {
    background-color: var(--bg-light);
    color: var(--text-light);
}

.light-section p {
    color: var(--text-light-muted);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--text-dark);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--text-dark);
    background: rgba(255, 255, 255, 0.05);
}

.btn-block {
    width: 100%;
}

.btn-motion .icon-arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-motion:hover .icon-arrow {
    transform: translateX(6px);
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#site-header.scrolled {
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

#site-header.scrolled.light-mode {
    background: rgba(247, 246, 242, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

#site-header.scrolled .header-inner {
    padding: 1rem 1.5rem;
}

.brand-logo img {
    display: grid;
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

#site-header.light-mode .brand-logo img {
    filter: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

#site-header.light-mode .logo-text {
    color: var(--text-light);
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    color: var(--text-dark);
    font-size: 1.0625rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.8;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

#site-header.light-mode .desktop-nav a {
    color: var(--text-light);
}

.desktop-nav a:hover {
    color: var(--accent);
    opacity: 1;
}

.mobile-call-icon {
    display: none;
    background: var(--text-dark);
    color: var(--bg-dark);
    padding: 0.6rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.mobile-call-icon:active {
    transform: scale(0.95);
}

#site-header.light-mode .mobile-call-icon {
    background: var(--bg-dark);
    color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(3rem + 70px);
    overflow: hidden;
}

.hero-container {
    margin: 1.5rem auto;
    max-width: var(--container-w);
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 1.5rem;
}

.hero-content {
    max-width: 560px;
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.hero-badge-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-badge-sub {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 90%;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    will-change: transform;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, var(--bg-dark) 0%, transparent 40%),
        linear-gradient(to top, rgba(10, 10, 12, 0.6) 0%, transparent 50%);
}

/* ============================================================
   SERVICE SECTIONS
   ============================================================ */
.service-section {
    padding: 4rem 0;
    scroll-margin-top: 80px;
}

.grid-asymmetric {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
}

.grid-asymmetric.reverse {
    grid-template-columns: 7fr 5fr;
}

.service-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    overflow: hidden;
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1025px) {
    #vsl .service-visual img {
        object-position: right center;
    }
}

.vsl-visual {
    overflow: visible;
}

.vsl-visual img {
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.vsl-visual .accent-block {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 70%;
    height: 60%;
    background: var(--accent-medical);
    border-radius: 8px;
    opacity: 0.15;
    z-index: 1;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.light-section .feature-list li {
    color: var(--text-light);
}

.feature-list li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.light-section .feature-list li svg {
    color: var(--accent-medical);
}

/* ============================================================
   FREQUENT ROUTES (TRAJETS)
   ============================================================ */
.frequent-routes {
    margin: 2rem 0;
}

.frequent-routes h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.frequent-routes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
}

.frequent-routes p {
    margin: 0;
    font-size: 1rem;
}

.light-section .frequent-routes h3 {
    color: var(--text-light);
}

.light-section .frequent-routes ul,
.light-section .frequent-routes p {
    color: var(--text-light-muted);
}

.dark-section .frequent-routes h3 {
    color: var(--text-dark);
}

.dark-section .frequent-routes ul,
.dark-section .frequent-routes p {
    color: var(--text-muted);
}

/* ============================================================
   RESERVATION SECTION
   ============================================================ */
.reservation-section {
    padding: 8rem 0;
    scroll-margin-top: 80px;
    background-color: #121418;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.reservation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateX(5px);
}

.icon-circle {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.contact-card:hover .icon-circle {
    background: var(--accent);
    color: var(--bg-dark);
}

.card-details {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Reservation form */
.reservation-form-container {
    position: relative;
    background: var(--bg-light);
    padding: 3.5rem;
    border-radius: 16px;
    color: var(--text-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow-x: hidden;
}

.form-title {
    font-size: 2rem;
    color: var(--bg-dark);
    margin-bottom: 2rem;
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.booking-form label:not(.radio-card) {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light-muted);
    margin-bottom: 0.5rem;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    border-top: 1px solid #f0f0f0;
}

.autocomplete-item:first-child {
    border-top: none;
}

.autocomplete-item:hover {
    background: #f7f6f2;
}

.booking-form input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    height: 3.5rem;
    line-height: 1.6;
}

.booking-form select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.1rem 2.5rem 1.1rem 1.1rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.booking-form select:focus {
    outline: none;
    border-color: var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(10, 10, 12, 0.05);
}

.booking-form input[type="text"],
.booking-form input[type="date"],
.booking-form input[type="tel"],
.booking-form input[type="number"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.1rem;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Number input: hide native spinners, reserve space for custom buttons */
.booking-form input[type="number"] {
    padding-right: 5.3rem;
    -moz-appearance: textfield;
}

.booking-form input[type="number"]::-webkit-inner-spin-button,
.booking-form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.number-input-wrap {
    position: relative;
}

.number-spinners {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.2rem;
}

.spinner-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    color: #555;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s;
    flex-shrink: 0;
}

.spinner-btn>span {
    transform: translateY(-0.05rem) translateX(-0.03rem);
}

.spinner-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.3);
}

.booking-form input:focus {
    outline: none;
    border-color: var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(10, 10, 12, 0.05);
}

.form-row,
.type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row>.form-group,
.type-selector>.form-group {
    min-width: 0;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.radio-card {
    position: relative;
    cursor: pointer;
    display: flex;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    text-align: center;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.radio-card input:checked+.radio-content {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

.reservation-form-container .btn-primary {
    background: var(--bg-dark);
    color: #fff;
    margin-top: 1.5rem;
    padding: 1.25rem;
    font-size: 1.125rem;
}

.reservation-form-container .btn-primary:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-light);
    border: 1px solid #dcdcdc;
    width: 100%;
    padding: 1rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-dark:hover {
    border-color: var(--bg-dark);
    background: rgba(10, 10, 12, 0.05);
}

.payment-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
    margin-bottom: 1.25rem;
}

.pay-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pay-logo-img {
    height: 24px;
    width: auto;
    display: block;
}

.pay-logo-img--card {
    height: 38px;
}

.pay-labeled {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.pay-icon-img {
    height: 38px;
    width: 38px;
    display: block;
    flex-shrink: 0;
}

.pay-chip-label {
    font-size: 0.73rem;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.payment-note {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light-muted);
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.tarif-disclaimer {
    font-size: 0.78rem;
    color: var(--text-light-muted);
    font-style: italic;
    text-align: center;
    line-height: 1.4;
    margin: 0.5rem 0 1rem;
}

/* override margin on estimate button */
#estimate-btn {
    margin-bottom: 0;
}

.estimate-result {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #b5813a;
    margin: 0.9rem 0 0.25rem;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    background: rgba(212, 163, 115, 0.12);
}

.estimate-result--error {
    color: #b94a48;
    background: rgba(185, 74, 72, 0.08);
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

.form-feedback--success {
    background: rgba(60, 150, 80, 0.1);
    color: #2d7a3a;
}

.form-feedback--error {
    background: rgba(185, 74, 72, 0.08);
    color: #b94a48;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #08090a;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 80%;
    margin-top: 1.5rem;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-accessibility {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: #555;
}

.footer-accessibility a {
    color: #777;
    text-decoration: underline;
}

.vsl-prescription-hint {
    font-size: 0.8rem;
    color: var(--accent-medical);
    background: rgba(58, 107, 126, 0.08);
    border-left: 3px solid var(--accent-medical);
    padding: 0.6rem 0.9rem;
    border-radius: 0 6px 6px 0;
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {

    .grid-asymmetric,
    .grid-asymmetric.reverse,
    .reservation-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .grid-asymmetric.reverse .service-text {
        order: 2;
    }

    .grid-asymmetric.reverse .service-visual {
        order: 1;
    }

    .service-visual {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero {
        min-height: auto;
        align-items: flex-start;
        padding-top: 0;
    }

    .hero-container {
        padding-top: calc(50vh + 2rem);
        padding-bottom: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        display: block;
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 50vh;
    }

    .hero-visual img {
        object-position: center top;
    }

    .visual-overlay {
        background: linear-gradient(to top, var(--bg-dark) 0%, transparent 55%);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-call-icon {
        display: flex;
    }

    .service-section {
        padding: 2.5rem 0;
    }

    .service-visual {
        aspect-ratio: 3 / 2 !important;
        height: auto !important;
        border-radius: 12px;
    }

    .vsl-visual .accent-block {
        width: 100%;
        height: 100%;
        bottom: -1rem;
        left: -1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .reservation-form-container {
        padding: 2.5rem 1.5rem;
    }

    .card-title {
        font-size: 1.05rem;
    }

    .card-desc {
        font-size: 0.8rem;
    }

    .type-selector {
        margin-bottom: 0.75rem;
    }

    .radio-content {
        padding: 0.75rem;
    }
}

/* ============================================================
   RGPD CONSENT CHECKBOXES
   ============================================================ */
.rgpd-consents {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--text-light-muted);
    line-height: 1.45;
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1.5px solid #aaa;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.consent-label input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.consent-label a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.is-hidden {
    display: none !important;
}

/* ============================================================
   LEGAL MODALS
   ============================================================ */
dialog.legal-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    max-width: min(760px, 95vw);
    max-height: 85vh;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    background: #fff;
}

dialog.legal-modal::backdrop {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.modal-inner {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 12px 12px 0 0;
    z-index: 1;
}

.modal-header h2 {
    font-size: 1.25rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-body {
    overflow-y: auto;
    padding: 1.75rem 2rem 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-light);
    margin: 1.5rem 0 0.4rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p,
.modal-body ul {
    color: #444;
    margin-bottom: 0.5rem;
}

.modal-body ul {
    padding-left: 1.25rem;
}

.modal-body ul li {
    margin-bottom: 0.3rem;
}

.modal-body a {
    color: #3a6b7e;
    text-decoration: underline;
}

/* ============================================================
   TIME PICKER
   ============================================================ */

/* Trigger button */
.time-trigger {
    width: 100%;
    height: 3.5rem;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light-muted);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.time-trigger.has-value {
    color: var(--text-light);
}

.time-trigger:focus {
    outline: none;
    border-color: var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(10, 10, 12, 0.05);
}

.time-trigger svg {
    flex-shrink: 0;
    opacity: 0.45;
}

/* Modal shell */
dialog.time-picker-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 16px;
    width: min(340px, 95vw);
    background: #fff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    z-index: 1001;
}

dialog.time-picker-modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
    dialog.time-picker-modal {
        inset: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: min(340px, 92vw);
        border-radius: 20px 20px 0 0;
        animation: tpSlideUpCenter 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

@keyframes tpSlideUpCenter {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Modal inner layout */
.time-picker-inner {
    display: flex;
    flex-direction: column;
}

.time-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.time-picker-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.time-picker-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s;
}

.time-picker-close:hover {
    color: var(--text-light);
}

/* Wheel body */
.time-picker-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem;
}

.time-picker-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    padding: 0 0.5rem;
    line-height: 1;
}

/* Wheel column */
.wheel-wrap {
    position: relative;
    width: 80px;
    height: 156px;
    /* 3 × 52px */
    overflow: hidden;
}

.wheel-scroll {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    touch-action: pan-y;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 52px 0;
    /* (156 - 52) / 2 — centers first and last items */
}

.wheel-scroll::-webkit-scrollbar {
    display: none;
}

.wheel-item {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-light);
    scroll-snap-align: center;
    user-select: none;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.06s, transform 0.06s;
}

/* Gradient overlays */
.wheel-gradient-top,
.wheel-gradient-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 52px;
    pointer-events: none;
    z-index: 2;
}

.wheel-gradient-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.wheel-gradient-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Selection highlight bar — top: 52px = center of 156px container minus half item height */
.wheel-selection {
    position: absolute;
    top: 52px;
    left: 4px;
    right: 4px;
    height: 52px;
    border: 1.5px solid rgba(10, 10, 12, 0.12);
    border-radius: 6px;
    background: rgba(212, 163, 115, 0.08);
    pointer-events: none;
    z-index: 1;
}

/* Confirm button */
.time-picker-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.time-picker-confirm-btn {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.time-picker-confirm-btn:hover {
    background: var(--accent);
    color: var(--bg-dark);
}
