/* BejaBikeStore — public site. Mobile first; everything self-hosted (CSP: 'self' only). */

@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
         url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Sampled from the logo: the yellow (median of its yellow pixels) and its near-black. */
    --ink: #231F20;
    --ink-2: #2E2A2B;
    --ink-3: #4A4546;
    --yellow: #F7D319;
    --yellow-soft: #FFF5C2;
    --white: #FFFFFF;
    --paper: #F6F5F2;
    --line: #DEDAD3;
    --muted: #5C5657;
    --on-dark: #F2F0EC;
    --on-dark-muted: #C8C2BF;
    --ok: #1D7A3A;
    --ok-soft: #E3F4E8;
    --error: #B3261E;
    --error-soft: #FBE9E7;
    --radius: 12px;
    --gutter: 16px;
    --max: 72rem;
    --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bar-height: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    padding-bottom: var(--bar-height);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 4px; }

h1, h2, h3 {
    font-stretch: 85%;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 44rem; }
.narrow-wide { max-width: 56rem; }
.section { padding: 3rem 0; }
.container.section { padding: 2.5rem var(--gutter); }
.section.alt { background: var(--paper); }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.dark a:not(.button) { color: var(--white); }
.lead { font-size: 1.15rem; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.hint { font-size: 0.875rem; color: var(--muted); margin: 0.4rem 0 0; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin: 0 0 0.35rem; }
.plain-text { white-space: pre-line; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--yellow); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; }

.demo-ribbon { background: var(--yellow); color: var(--ink); text-align: center; font-weight: 700; font-size: 0.875rem; padding: 0.35rem var(--gutter); }

/* --- Header ------------------------------------------------------------------------------- */

.site-header { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 20; }
.header-bar {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand tools" "nav nav";
    align-items: center;
    gap: 0.5rem 1rem;
    padding-top: 0.5rem;
}
.brand { grid-area: brand; display: inline-flex; }
.brand img { height: 44px; width: auto; border-radius: 6px; }
.header-tools { grid-area: tools; display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; min-width: 0; }
.main-nav {
    grid-area: nav;
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 0.25rem;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
    flex: 0 0 auto;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-stretch: 90%;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
    padding: 0.6rem 0.7rem;
    border-bottom: 3px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--on-dark-muted); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--yellow); color: var(--yellow); }

.open-pill {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.8rem; font-weight: 600; line-height: 1.2;
    color: var(--on-dark); text-decoration: none;
    border: 1px solid var(--ink-3); border-radius: 999px; padding: 0.35rem 0.7rem;
    min-width: 0;
}
.open-pill .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #E0645C; flex: 0 0 auto; }
.open-pill.is-open .dot { background: #5BD17D; }
.lang-switch { display: flex; gap: 0.15rem; flex: 0 0 auto; }
.lang {
    color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: 0.8rem;
    padding: 0.4rem 0.45rem; border-radius: 6px;
}
a.lang:hover { background: var(--ink-2); }
.lang.current { color: var(--ink); background: var(--yellow); }

@media (max-width: 30rem) {
    .open-pill { font-size: 0.72rem; padding: 0.3rem 0.55rem; }
}

@media (min-width: 64rem) {
    .header-bar { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav tools"; padding: 0.6rem var(--gutter); }
    .main-nav { margin: 0; padding: 0; justify-content: center; overflow: visible; }
    .brand img { height: 52px; }
}

/* --- Hero & page heads --------------------------------------------------------------------- */

.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(35, 31, 32, 0.92) 0%, rgba(35, 31, 32, 0.75) 55%, rgba(35, 31, 32, 0.35) 100%);
}
.hero-inner { padding-top: 4rem; padding-bottom: 4rem; min-height: min(70vh, 34rem); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(2.3rem, 8vw, 4.6rem); max-width: 14ch; }
.hero .accent, .page-head .accent { color: var(--yellow); display: block; }
.hero .lead { max-width: 38rem; color: var(--on-dark); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.8rem; color: var(--yellow); margin-bottom: 0.75rem; }
.eyebrow.dark { color: var(--muted); }

.page-head {
    background: var(--ink); color: var(--white); padding: 2.5rem 0 2rem; position: relative;
    border-bottom: 6px solid var(--yellow);
}
.page-head h1 { margin-bottom: 0.4rem; }
.page-head .lead { color: var(--on-dark); max-width: 44rem; margin-bottom: 0.5rem; }
.page-head .actions { margin-top: 1rem; }

/* --- Buttons ------------------------------------------------------------------------------- */

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0.75rem; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    min-height: 44px; padding: 0.65rem 1.25rem;
    font: inherit; font-weight: 800; font-stretch: 90%; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem;
    border-radius: 999px; border: 2px solid var(--ink); cursor: pointer; text-decoration: none;
    background: var(--white); color: var(--ink);
}
.button.primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.button.primary:hover { background: #FFE04D; border-color: #FFE04D; }
.button.secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: var(--white); }
.button.ghost { background: transparent; border-color: var(--line); color: var(--ink); text-transform: none; font-weight: 600; }
.button.ghost-light { background: transparent; border-color: var(--white); color: var(--white); }
.button.ghost-light:hover { background: var(--white); color: var(--ink); }
.button.danger { background: var(--error); border-color: var(--error); color: var(--white); }
.button.big { min-height: 52px; padding: 0.8rem 1.75rem; font-size: 1.05rem; }
.button[disabled] { opacity: 0.55; cursor: not-allowed; }
.cta-row { margin: 1.5rem 0; }

/* --- Layout blocks -------------------------------------------------------------------------- */

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }

.values { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.values li { background: var(--ink); color: var(--yellow); font-weight: 800; text-transform: uppercase; font-stretch: 85%; letter-spacing: 0.05em; padding: 0.35rem 0.8rem; border-radius: 6px; }

.brands-panel { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; }
.brand-logos { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.brand-logos a { display: block; background: var(--white); border-radius: 8px; padding: 0.75rem; }

.ssc-media img { border-radius: var(--radius); }
.stack-media img { border-radius: var(--radius); }

.tiles { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
    display: block; text-decoration: none; padding: 1.4rem; border-radius: var(--radius);
    background: var(--paper); border-left: 6px solid var(--yellow); min-height: 44px;
}
.tile:hover { background: var(--ink); color: var(--white); }
.tile h3 { margin-bottom: 0.35rem; text-transform: uppercase; }
.tile p { margin: 0; }

.checks { list-style: none; padding: 0; margin: 1rem 0; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: 0.4rem; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 0.35em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23231F20' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.checks.inline { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.facts-grid { display: grid; gap: 0.25rem 1.5rem; }
@media (min-width: 48rem) { .facts-grid { grid-template-columns: 1fr 1fr; } }

.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 64rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.contact-summary { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .contact-summary { grid-template-columns: 1fr 1fr; } }
.map-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
address { font-style: normal; margin-bottom: 1rem; }

/* --- Cards ---------------------------------------------------------------------------------- */

.cards { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, 1fr); } .used-grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 1.1rem 1.2rem 1.25rem; }
.card-media { position: relative; display: block; background: var(--paper); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; color: var(--muted); margin: 0 0 0.25rem; }
.card-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.no-photo {
    display: block; width: 100%; height: 100%; min-height: 8rem;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'%3E%3Cg fill='none' stroke='%23B9B3AE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='27' r='10'/%3E%3Ccircle cx='50' cy='27' r='10'/%3E%3Cpath d='M14 27l10-15h16l10 15M24 12l8 15 8-15M32 27H14'/%3E%3C/g%3E%3C/svg%3E") center / 40% no-repeat;
}
.no-photo.large { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.price { font-size: 1.1rem; margin: 0.25rem 0 0.75rem; display: flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; align-items: baseline; }
.price strong { font-weight: 800; }
.price.big { font-size: 1.8rem; }
.price-was { color: var(--muted); font-size: 0.9em; }
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: var(--paper); border: 1px solid var(--line); }
.badge-reserved { background: var(--ink); color: var(--yellow); border-color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; }
.card-media .badge-reserved { position: absolute; top: 0.6rem; left: 0.6rem; }
.used-card.is-reserved .card-media img { opacity: 0.8; }

.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.filter a {
    min-height: 44px; display: inline-flex; align-items: center; padding: 0.4rem 1rem; border-radius: 999px;
    border: 2px solid var(--ink); text-decoration: none; font-weight: 700;
}
.filter a[aria-current="page"] { background: var(--ink); color: var(--yellow); }

.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.item-layout { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .item-layout { grid-template-columns: 1.3fr 1fr; align-items: start; } .item-info { position: sticky; top: 6rem; } }
.item-info h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); text-transform: none; }
.slides { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.5rem; border-radius: var(--radius); }
.slides li { scroll-snap-align: start; background: var(--paper); }
.slides img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }

/* --- Rental --------------------------------------------------------------------------------- */

.category { margin: 2.5rem 0; }
.category-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; border-bottom: 4px solid var(--ink); margin-bottom: 1.25rem; }
.category-head h2 { margin-bottom: 0.4rem; text-transform: uppercase; }
.deposit { font-weight: 700; margin: 0 0 0.4rem; }
.model-list { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .model-list { grid-template-columns: repeat(2, 1fr); } }
.tour-card { margin-bottom: 1.25rem; }
@media (min-width: 48rem) { .tour-card { flex-direction: row; } .tour-card .card-media { flex: 0 0 42%; aspect-ratio: auto; } }
.tour-summary { margin-bottom: 1.5rem; border-left: 6px solid var(--yellow); }
.bands { border-collapse: collapse; width: 100%; margin: 0.5rem 0 1rem; font-size: 0.95rem; }
.bands th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 0.3rem 0; border-bottom: 1px solid var(--line); }
.bands td { padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.week-price { margin: -0.5rem 0 1rem; font-weight: 600; }
.week-breakdown { display: block; font-size: 0.85rem; color: var(--muted); }
.sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.sizes .label { font-weight: 700; margin-right: 0.25rem; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2rem; padding: 0.15rem 0.5rem; border: 2px solid var(--ink); border-radius: 6px; font-weight: 700; font-size: 0.85rem; }

/* --- Forms ---------------------------------------------------------------------------------- */

.group { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem 1.2rem; margin: 0 0 1.25rem; }
.group legend { font-weight: 800; font-stretch: 90%; text-transform: uppercase; letter-spacing: 0.04em; padding: 0 0.4rem; }
.row { display: grid; gap: 0.75rem; }
@media (min-width: 44rem) {
    .row { grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; }
    /* Top-aligned, so a hint under one field does not lift its input above its neighbours'; auto-fit
       so three fields share the whole width instead of leaving an empty fourth column. */
    .row.wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); align-items: start; }
}
.line { margin-bottom: 0.75rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.9rem; }
.field > span:first-child { font-weight: 700; font-size: 0.95rem; }
.field.grow { flex: 1 1 auto; }
.field.qty { max-width: 8rem; }
.field.qty-wide { max-width: 16rem; }
input, select, textarea {
    font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
    border: 2px solid var(--ink-3); border-radius: 8px; padding: 0.6rem 0.7rem; min-height: 44px; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 1px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.5rem 0 0.9rem; }
.check input { width: 1.4rem; height: 1.4rem; min-height: 0; flex: 0 0 auto; margin-top: 0.15rem; accent-color: var(--ink); }
.field-error { display: block; color: var(--error); font-weight: 600; font-size: 0.9rem; margin: 0.25rem 0 0; }
.stacked { max-width: 40rem; }
.status { font-weight: 600; }
.quote-actions { margin: 0 0 1rem; }
.quote-panel { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 0 0 1.25rem; background: var(--paper); }
.quote-panel[aria-busy="true"] { opacity: 0.6; }
.table-scroll { overflow-x: auto; }
.quote { width: 100%; border-collapse: collapse; }
.quote th, .quote td { padding: 0.45rem 0.3rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.quote .num { text-align: right; white-space: nowrap; }
.quote tfoot th { text-align: right; font-weight: 600; }
.quote .total th, .quote .total td { font-weight: 800; font-size: 1.1rem; border-bottom: 3px solid var(--ink); }

.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .contact-layout { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-info { display: grid; gap: 1rem; }
.contact-info h2 { font-size: 1.2rem; text-transform: uppercase; }
.contact-form-wrap { background: var(--paper); border-radius: var(--radius); padding: 1.5rem 1.25rem; scroll-margin-top: 7rem; }

/* --- Booking UX (2026-10-31): calendar, size, reassurance, trust, WhatsApp ---------------------- */

.has-calendar .date-inputs { display: none; }
.calendar { margin: 0 0 1rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.cal-status { flex: 1 1 auto; text-align: center; font-weight: 700; margin: 0; }
.cal-nav { min-width: 44px; min-height: 44px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cal-nav[disabled] { opacity: 0.35; cursor: not-allowed; }
.cal-months { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-month { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-caption { font-weight: 800; text-transform: capitalize; padding: 0.25rem 0 0.5rem; }
.cal-month th { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 0.2rem 0; text-align: center; }
.cal-month td { padding: 2px; text-align: center; }
.cal-day {
    width: 100%; min-height: 44px; padding: 0.25rem 0; border: 2px solid transparent; border-radius: 8px;
    background: var(--white); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
}
.cal-day:hover { border-color: var(--ink-3); }
.cal-day:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
.cal-day[aria-disabled="true"] { cursor: not-allowed; color: var(--muted); font-weight: 400; }
.cal-day[aria-disabled="true"]:hover { border-color: transparent; }
.cal-day.is-out { color: #A9A3A0; }
.cal-day.is-closed { text-decoration: line-through; background: var(--paper); }
.cal-day.is-soldout { background: var(--error-soft); color: var(--error); }
.cal-day.in-range { background: var(--yellow-soft); }
.cal-day.is-start, .cal-day.is-end { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.cal-mark { display: block; font-size: 0.6rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.8rem; color: var(--muted); margin: 0.5rem 0 0; }
.cal-key::before { content: ""; display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 3px; margin-right: 0.35rem; vertical-align: -0.1rem; }
.cal-key-closed::before { background: var(--paper); border: 1px solid var(--line); }
.cal-key-soldout::before { background: var(--error-soft); border: 1px solid var(--error); }
.hint-list { font-size: 0.875rem; color: var(--muted); margin: 0.4rem 0 0; padding-left: 1.2rem; }
.hint-list li { margin-bottom: 0.2rem; }
.strong-hint { font-weight: 700; color: var(--ink); margin: 0 0 0.75rem; }
.height-row { display: grid; gap: 0.25rem 1rem; align-items: end; }
@media (min-width: 44rem) { .height-row { grid-template-columns: 12rem 1fr; } .height-row .hint { margin-bottom: 1.2rem; } }
.height-field { margin-bottom: 0.25rem; }
.size-advice { background: var(--ok-soft); border-left: 5px solid var(--ok); border-radius: 8px; padding: 0.5rem 0.8rem; margin: 0 0 0.9rem; font-weight: 600; }
.quote-problem p { margin: 0 0 0.4rem; }
.quote-problem p + p { color: var(--ink); font-weight: 400; }
.return-free { font-weight: 700; background: var(--ok-soft); border-radius: 8px; padding: 0.4rem 0.7rem; display: inline-block; }
.respond-by { font-size: 1.1rem; }
.submit-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }
.reassure { font-weight: 700; margin: 0.9rem 0 0.5rem; }
.button.whatsapp { background: #1E7F45; border-color: #1E7F45; color: var(--white); text-transform: none; }
.button.whatsapp:hover { background: #16663A; border-color: #16663A; }
.trust-strip { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; font-size: 0.9rem; }
.trust-strip li::before { content: "✓ "; font-weight: 800; color: var(--ok); }
.page-head .trust-strip li::before { color: var(--yellow); }
.page-head .trust-strip a { color: var(--white); }
.chip-note { font-weight: 400; margin-left: 0.3rem; font-size: 0.8rem; }
.ideal-for { font-size: 0.95rem; }
.ideal-for .label { font-weight: 700; margin-right: 0.25rem; }
.badge-deal { background: var(--yellow); border-color: var(--yellow); color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }

/* --- Routes (Percursos) ---------------------------------------------------------------------- */

.route-facts { list-style: none; padding: 0; margin: 0.5rem 0 0.9rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.route-facts .label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.difficulty-easy { color: var(--ok); }
.difficulty-hard { color: var(--error); }
.route-layout { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .route-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } .route-aside { position: sticky; top: 6rem; } }
.route-title { font-size: clamp(1.6rem, 4vw, 2.4rem); text-transform: none; }
.route-figure { margin: 1rem 0; }
.route-map, .route-profile { display: block; width: 100%; height: auto; background: var(--paper); border-radius: var(--radius); }
.route-line { stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.route-line-halo { stroke: var(--white); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.route-start { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.route-end { fill: var(--ink); stroke: var(--white); stroke-width: 3; }
.profile-axis { stroke: var(--line); stroke-width: 1; }
.profile-area { fill: var(--yellow-soft); }
.profile-line { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.profile-label { fill: var(--muted); font-size: 13px; font-family: var(--font); }

/* --- Status and notices ---------------------------------------------------------------------- */

.badge.status-confirmed, .badge.status-pickedup { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.badge.status-declined, .badge.status-cancelled, .badge.status-expired, .badge.status-noshow { background: var(--error-soft); border-color: var(--error); color: var(--error); }
.badge.status-requested, .badge.status-awaitingapproval { background: var(--yellow-soft); border-color: #B59A00; }
.status-line .badge { font-size: 1rem; padding: 0.35rem 0.9rem; }
.notice { background: var(--yellow-soft); border-left: 5px solid var(--yellow); border-radius: 8px; padding: 0.8rem 1rem; margin: 0 0 1.25rem; }
.notice p:last-child { margin-bottom: 0; }
.notice.error { background: var(--error-soft); border-left-color: var(--error); }
.notice.ok { background: var(--ok-soft); border-left-color: var(--ok); }
.notice.warn { background: var(--yellow-soft); border-left-color: #B59A00; }
.reference { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--paper); padding: 0.1rem 0.4rem; border-radius: 6px; }
.copy-row { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.copy-row input { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9rem; }
@media (min-width: 40rem) { .copy-row { flex-direction: row; } }
.action-form { margin: 1.5rem 0; }
.cancel-form { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.pairs { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0 0 1rem; }
.pairs dt { font-weight: 700; }
.pairs dd { margin: 0; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0 0 0.5rem; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

/* --- Long-form text --------------------------------------------------------------------------- */

.prose { max-width: 48rem; }
.prose h2 { margin-top: 2.2rem; padding-top: 0.6rem; border-top: 4px solid var(--yellow); }
.prose h3 { margin-top: 1.6rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
.prose th { background: var(--ink); color: var(--white); }
.prose blockquote { margin: 1rem 0; padding: 0.6rem 1rem; border-left: 5px solid var(--yellow); background: var(--paper); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35rem; }
.content-figure { margin: 0.5rem 0 1.25rem; max-width: 22rem; }
.content-figure img { border-radius: var(--radius); }
@media (min-width: 48rem) { .content-figure { float: right; margin: 0.25rem 0 1rem 1.5rem; width: 40%; } .prose h2 { clear: both; } }

/* --- Footer ------------------------------------------------------------------------------------ */

.site-footer { background: var(--ink); color: var(--on-dark); padding: 3rem 0 1.5rem; margin-top: 3rem; border-top: 6px solid var(--yellow); }
.site-footer a { color: var(--white); }
.site-footer .muted { color: var(--on-dark-muted); }
.site-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); margin-bottom: 0.8rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 0.8fr; } }
.footer-legal { border-top: 1px solid var(--ink-3); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: var(--on-dark-muted); }
.site-main + .site-footer { margin-top: 0; }

/* --- Mobile action bar ------------------------------------------------------------------------- */

.action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--ink); border-top: 1px solid var(--ink-3);
    padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
    min-height: 56px; color: var(--white); text-decoration: none; font-size: 0.75rem; font-weight: 700;
}
.action-bar a.primary { background: var(--yellow); color: var(--ink); }
.icon { width: 1.3rem; height: 1.3rem; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon-phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.icon-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7.2L4 7.3V17h16V7.3z'/%3E%3C/svg%3E"); }
.icon-map { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7zm0 4.5A2.5 2.5 0 1 0 12 11.5 2.5 2.5 0 0 0 12 6.5z'/%3E%3C/svg%3E"); }
.icon-bike { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='16' r='3.5'/%3E%3Ccircle cx='18.5' cy='16' r='3.5'/%3E%3Cpath d='M5.5 16 9 9h6l3.5 7M9 9l3 7 3-7M8 6h3'/%3E%3C/g%3E%3C/svg%3E"); }

@media (max-width: 63.99rem) {
    :root { --bar-height: 56px; }
}
@media (min-width: 64rem) {
    .action-bar { display: none; }
}

/* --- Touch and motion -------------------------------------------------------------------------- */

@media (pointer: coarse) {
    a.lang, .main-nav a { min-height: 44px; display: inline-flex; align-items: center; }
    .plain li a, .site-footer a { display: inline-block; padding: 0.35rem 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
