/* RamCabz website v2 -- design system (lane B0, 13 Oct 2026)
   Source of values: D.md section (1) of RAMCABZWEB (inspiration only, values re-created).
   Brand colours: #ED5B0E orange, #141514 dark (context.md:72, marketing-tracker.md:35; logo PNG pixel = #EC580C).
   Font: Lexend (SIL OFL 1.1), self-hosted in assets/fonts, licence in assets/fonts/OFL.txt. No CDN, no external requests.
   Contrast (calculated from hex, see B0.md): white on #141514 18.0:1; #ED5B0E on #141514 5.3:1; #141514 on #ED5B0E 5.3:1;
   white on #ED5B0E 3.4:1 (NEVER small text, so orange buttons use dark text). */

@font-face { font-family: "Lexend"; src: url("../assets/fonts/Lexend-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../assets/fonts/Lexend-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../assets/fonts/Lexend-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../assets/fonts/Lexend-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --orange: #ED5B0E;
  --orange-ink: #B23E07;          /* orange for TEXT on light bands (5.1:1 on #F5F5F5) */
  --dark: #141514;
  --dark-2: #1C1D1B;              /* layered panels */
  --dark-3: #0D0D0D;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, .78);
  --line: rgba(255, 255, 255, .12);
  --field-border: #8C8D8B;
  --ink: #141514;
  --ink-muted: #3F403E;
  --radius: 16px;
  --radius-btn: 10px;
  --container: 1120px;
  --gap: 32px;
  --section-y: 72px;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
  --bar-h: 80px;                  /* phone bottom bar (measured ~76 px with the two [CONFIRM] markers) */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--dark); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.375rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible, .on-light :focus-visible { outline-color: var(--ink); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--orange); color: var(--dark); padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 900px) { body { font-size: 17px; } }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-y) 0; }
.section--panel { background: var(--dark-2); }
.section--light { background: var(--light); color: var(--ink); --muted: var(--ink-muted); --line: rgba(20, 21, 20, .14); color-scheme: light; }
.section--light .eyebrow { color: var(--orange-ink); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.125rem; color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.muted { color: var(--muted); }
@media (max-width: 700px) { :root { --section-y: 48px; --gap: 20px; } .section-head { margin-bottom: 28px; } }

/* [CONFIRM] markers: always visible, never hidden */
.confirm { display: inline; padding: 0 .3em; border: 1px dashed currentColor; border-radius: 4px; font-size: .88em; font-weight: 500; background: rgba(237, 91, 14, .16); color: #FFB48A; white-space: normal; }
.section--light .confirm { color: var(--orange-ink); background: rgba(237, 91, 14, .10); }
.btn .confirm { color: inherit; background: rgba(20, 21, 20, .12); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius-btn); font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.btn-primary { background: var(--orange); color: var(--dark); }
.btn-primary:hover { background: #FF6F26; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .7); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.section--light .btn-outline { color: var(--ink); border-color: var(--ink); }
.section--light .btn-outline:hover { background: rgba(20, 21, 20, .08); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--orange); text-decoration: none; }
.btn-link::after { content: ""; width: 28px; height: 28px; border-radius: 8px; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141514' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s ease; }
.btn-link:hover::after { transform: translateX(4px); }
.section--light .btn-link { color: var(--orange-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Top info bar (desktop only) */
.topbar { background: var(--dark-3); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.topbar .container { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; justify-content: space-between; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 899px) { .topbar { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.is-solid, .nav-is-open .site-header { background: var(--dark-2); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 148px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-call { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 2px solid rgba(255, 255, 255, .5); border-radius: var(--radius-btn); background: transparent; color: var(--text); cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -7px; }
.menu-toggle .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
.header-actions .btn-wa span, .header-actions .btn-book { display: none; }

/* Navigation: full-screen menu on phones, inline on desktop */
.nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; padding: 24px 20px calc(var(--bar-h) + 24px); background: var(--dark); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav ul { display: grid; gap: 4px; }
.nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.nav a[aria-current] { color: var(--orange); }
.nav .nav-extra { margin-top: 20px; display: grid; gap: 12px; }
.nav .nav-extra a.btn { display: flex; padding: 12px 22px; border: 2px solid transparent; font-size: 1rem; }
.nav .nav-extra a.btn-outline { border-color: rgba(255, 255, 255, .7); }
.nav-is-open { overflow: hidden; }

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .brand img { width: 168px; }
  .menu-toggle { display: none; }
  .nav { position: static; inset: auto; padding: 0; background: transparent; overflow: visible; visibility: visible; opacity: 1; transform: none; flex: 1; }
  .nav ul { display: flex; justify-content: center; gap: 4px 6px; }
  .nav a { padding: 10px 12px; border: 0; border-radius: 8px; font-size: .9375rem; font-weight: 500; }
  .nav a:hover { background: rgba(255, 255, 255, .08); }
  .nav .nav-extra { display: none; }
  .header-actions .btn-wa span, .header-actions .btn-book { display: inline; }
  .header-actions .btn-wa { padding: 8px 16px; }
}
@media (min-width: 1180px) { .header-actions .btn-call { display: inline-flex; } }
@media (max-width: 899px) { .header-actions .btn-wa { width: 48px; padding: 0; } }

/* Phone bottom bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--dark-2); border-top: 1px solid var(--line); }
.mobile-bar .btn { min-height: 48px; padding: 6px 10px; font-size: .9375rem; flex-direction: column; gap: 0; }
.mobile-bar .btn .confirm { font-size: .6875rem; line-height: 1.1; }
body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* Hero */
.hero { position: relative; isolation: isolate; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 40px) 0 56px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 21, 20, .86) 0%, rgba(20, 21, 20, .8) 55%, rgba(20, 21, 20, .96) 100%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-copy .sub { max-width: 560px; font-size: 1.125rem; color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 24px 0 0; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141514' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero .btn-row { margin-top: 28px; }
@media (min-width: 960px) {
  .hero { padding: calc(var(--header-h) + 64px) 0 96px; }
  .hero::before { background: linear-gradient(90deg, rgba(20, 21, 20, .94) 0%, rgba(20, 21, 20, .78) 55%, rgba(20, 21, 20, .5) 100%); }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* Forms */
.card-booking { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(20, 21, 20, .9); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.card-booking h2 { font-size: 1.5rem; margin-bottom: 16px; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; overflow-x: auto; }
.tabs [role="tab"] { flex: 1 0 auto; min-height: 44px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--dark); font-weight: 600; }
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--field-border); border-radius: 8px; background: var(--dark-2); color: var(--text); font: inherit; font-size: 1rem; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .55); }
.section--light .field input, .section--light .field select, .section--light .field textarea { background: var(--white); color: var(--ink); border-color: #6B6C6A; }
.section--light .field input::placeholder, .section--light .field textarea::placeholder { color: #595A58; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
[hidden] { display: none !important; }
.form-note { margin: 4px 0 0; font-size: .875rem; color: var(--muted); }
.form-status { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--field-border); border-left: 4px solid var(--orange); border-radius: 8px; background: var(--dark-2); font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status pre { margin: 10px 0 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .875rem; color: var(--muted); }
.section--light .form-status { background: var(--white); color: var(--ink); border-color: #6B6C6A; border-left-color: var(--orange-ink); }
.section--light .form-status pre { color: var(--ink-muted); }
.link-quiet { display: inline-block; margin-top: 12px; min-height: 24px; font-size: .9375rem; color: var(--text); }

/* Grids and cards */
.grid { display: grid; gap: var(--gap); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-5 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--dark-2); }
.section--light .card { background: var(--white); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.feature { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.icon-tile { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--orange); color: var(--dark); }
.icon-tile .icon { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 6px; font-size: 1.1875rem; }
.feature p { margin: 0; color: var(--muted); }

.service-card { position: relative; display: block; min-height: 300px; border-radius: var(--radius); overflow: hidden; isolation: isolate; text-decoration: none; background: var(--dark-2); border: 1px solid var(--line); transition: transform .2s ease; }
.service-card:hover { transform: translateY(-4px); }
.service-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 21, 20, .1) 0%, rgba(20, 21, 20, .9) 100%); }
.service-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.service-card h3 { margin-bottom: 6px; color: var(--white); }
.service-card p { margin: 0 0 10px; color: rgba(255, 255, 255, .88); font-size: .9375rem; }
.service-card .go { font-size: .9375rem; font-weight: 600; color: var(--orange); }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split--flip > :first-child { order: 2; } }
.split figure { margin: 0; }
.split figure img { width: 100%; border-radius: var(--radius); }
figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }

.checklist { display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141514' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--dark-2); font-weight: 500; font-size: .9375rem; }
.section--light .chips li { background: var(--white); }

.stats { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--dark-2); }
.stat strong { display: block; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.1; color: var(--orange); }
.stat > span { display: block; margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.stat strong .confirm { display: inline-block; font-size: 1rem; font-weight: 500; line-height: 1.4; color: #FFB48A; }

.cta-band { padding: 56px 0; background: var(--orange); color: var(--dark); }
.cta-band h2 { margin-bottom: 12px; }
.cta-band .confirm { color: var(--dark); background: rgba(20, 21, 20, .12); }
.cta-band .btn-primary { background: var(--dark); color: var(--white); }
.cta-band .btn-outline { color: var(--dark); border-color: var(--dark); }

/* Inner page helpers (builders): page hero + readable text */
.page-hero { position: relative; isolation: isolate; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 48px) 0 56px; background: var(--dark-2); overflow: hidden; }
.page-hero .hero-img { opacity: .5; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 21, 20, .92), rgba(20, 21, 20, .6)); }
.page-hero .sub { max-width: 640px; font-size: 1.125rem; color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.icon-list { display: grid; gap: 14px; }

/* Footer */
.site-footer { background: var(--dark-3); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; } }
.site-footer h2 { margin-bottom: 14px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer li a { display: inline-block; padding: 4px 0; }
.site-footer a:hover { text-decoration: underline; }
.footer-logo { width: 160px; margin-bottom: 14px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer-bottom p { margin: 0 0 8px; }
address { font-style: normal; }

/* Motion: header colour change on scroll and a small hover lift only. No hide-until-scroll effects (they leave blank gaps
   in screenshots, print and slow connections). All motion is off under prefers-reduced-motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .service-card:hover { transform: none; }
}
@media print { .site-header, .topbar, .mobile-bar, .nav { display: none; } body { background: #fff; color: #000; } }

/* Form errors and thank-you panel (lane B, 13 Oct 2026) */
.field-error { margin: 0; font-size: .875rem; font-weight: 500; color: #FFB59A; }
.section--light .field-error { color: #A32E00; }
.field [aria-invalid="true"] { border-color: #FF8A5C; border-width: 2px; }
.section--light .field [aria-invalid="true"] { border-color: #A32E00; }
.thanks-title { margin: 0 0 6px; font-size: 1.125rem; font-weight: 700; }
.form-status .thanks p { margin: 0 0 10px; }
.form-status .thanks .btn-row { margin-top: 12px; }
.form-status:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
