/* Testata della pagina demo: stessa grafica di agenzie_pubblicita, piu' bassa
   (selettore piu' specifico di blueprint.css, che impone min-height alle testate) */
body > section.hero-section.ad-hero.demo-hero {
    min-height: 0 !important;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

/* Titoli a tutta larghezza: blueprint.css li bilancia su righe uguali (text-wrap: balance) */
.demo-page h1,
.demo-page h2,
.demo-page h3 {
    text-wrap: wrap;
}

.demo-page .ad-chapter-title {
    font-size: clamp(1.5rem, 2vw, 1.9rem);
}

/* Foto piu' stretta: l'indice delle demo resta su una riga */
@media (min-width: 992px) {
    .demo-hero .ad-hero-index {
        width: 85%;
    }
}

/* Impaginazione della pagina prenotazioni. */
.demo-page {
    --booking-ink: #152e28;
    --booking-muted: #425850;
    --booking-paper: #f5f6f2;
    --booking-line: #ccd4cb;
    --booking-space: clamp(3.25rem, 8vw, 7rem);
}

.booking-button {
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: 0.85rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 650;
    min-height: 3rem;
    border-radius: 0.28rem;
    white-space: normal;
}

.booking-button-ink {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--booking-ink);
    --bs-btn-border-color: var(--booking-ink);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #26483e;
    --bs-btn-hover-border-color: #26483e;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #26483e;
    --bs-btn-active-border-color: #26483e;
}

.booking-management,
.booking-process,
.booking-contact {
    padding-block: var(--booking-space);
}

.booking-management {
    background: #fff;
}

.booking-section-title {
    color: var(--booking-ink);
    font-weight: 750;
    letter-spacing: -0.048em;
    text-wrap: balance;
}

.booking-body {
    color: var(--booking-muted);
    font-size: clamp(1rem, 1.45vw, 1.17rem);
}

.booking-features li {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    padding-block: 0.28rem;
    color: var(--bp-ink);
    font-weight: 550;
}

.booking-features li::before {
    content: '';
    flex: 0 0 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--bp-blue);
}

.booking-demos {
    margin-top: clamp(2.1rem, 5vw, 4rem);
    padding-top: clamp(1.7rem, 3vw, 2.5rem);
    border-top: 1px solid var(--bp-line);
}

.booking-demo-icon {
    color: var(--bp-blue);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1;
}

.booking-demo-title {
    color: var(--bp-ink);
    font-size: clamp(1.22rem, 1.65vw, 1.45rem);
}

.booking-demo-description {
    color: var(--bp-ink-soft);
}

.booking-demo-link {
    color: var(--bp-blue-dark);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: var(--bp-blue);
    text-underline-offset: 0.22em;
}

.booking-button:focus-visible {
    outline: 3px solid #729b6f;
    outline-offset: 4px;
}

.booking-process {
    background: var(--booking-paper);
}

.booking-progress {
    height: 3px;
    margin-bottom: 2rem;
    background: var(--booking-line);
}

.booking-progress span {
    display: block;
    height: 100%;
    background: #4f7965;
    transform-origin: left center;
}

.booking-step {
    padding-inline-start: 0;
}

.booking-step-icon {
    display: block;
    margin-bottom: 0.9rem;
    color: #35674f;
    font-size: 1.35rem;
    text-align: left;
}

.booking-step h3 {
    margin-bottom: 0.55rem;
    color: var(--booking-ink);
    font-size: 1.23rem;
}

.booking-step p {
    margin: 0;
    color: var(--booking-muted);
    font-size: 1rem;
}

.booking-contact {
    margin-bottom: 0;
    border-top: 1px solid #d7dbd4;
    background: #e9ebe6;
}

.booking-site-hero {
    min-height: 0;
    padding-block: clamp(3.5rem, 7.5vw, 6.5rem);
}

.booking-site-hero .booking-site-title {
    margin-bottom: 1.35rem;
    color: var(--bp-ink);
    font-size: clamp(2.55rem, 5.3vw, 4.8rem);
    line-height: 1.06;
    text-wrap: balance;
}

.booking-route-art {
    display: block;
    width: 100%;
    height: auto;
}

.booking-route-guides {
    fill: none;
    stroke: var(--bp-blue-dark);
    stroke-width: 1;
    stroke-opacity: 0.28;
    stroke-dasharray: 3 6;
}

.booking-route-points {
    fill: var(--bp-bg);
    stroke: var(--bp-blue);
    stroke-width: 1.75;
}

.booking-route-orbit {
    fill: none;
    stroke: var(--bp-blue);
    stroke-opacity: 0.34;
    stroke-width: 1.25;
    stroke-dasharray: 1 5;
    stroke-linecap: round;
}

.booking-route-trail {
    fill: none;
    stroke: var(--bp-blue);
    stroke-width: 3.5;
    stroke-linecap: round;
}

.booking-route-marker {
    fill: var(--bp-amber);
    stroke: var(--bp-bg);
    stroke-width: 2;
}

.booking-route-pulse {
    fill: none;
    stroke: var(--bp-blue);
    stroke-width: 2;
}

.booking-route-confirmation {
    fill: var(--bp-blue);
}

.booking-route-check {
    fill: none;
    stroke: var(--bp-bg);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.booking-overview-title {
    color: var(--bp-ink);
    font-weight: 750;
    letter-spacing: -0.048em;
    text-wrap: balance;
}

.booking-overview-copy {
    color: var(--bp-ink-soft);
    font-size: clamp(1.05rem, 1.56vw, 1.25rem);
    line-height: 1.65;
}
