:root {
  --navy: #0B1626;
  --gold: #D4A72C;
  --gold-text: #8A6514;
  --gold-hover: #F2C94C;
  --blue: #1E5BC6;
  --red: #C8102E;
  --cream: #FBF7EE;
  --sand: #F5EEDC;
  --text: #1F2933;
  --muted: #5B6573;
  --on-dark-muted: #B8C2CF;
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, Arial, sans-serif;
  --font-script: "Great Vibes", cursive;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(11, 22, 38, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1.0625rem/1.6 var(--font-body); color: var(--text); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: .04em; line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.label { font: 700 .95rem var(--font-label); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-text); margin: 0 0 .5rem; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; gap: .5rem; font: 700 1.05rem var(--font-label); text-transform: uppercase; letter-spacing: .1em; padding: .85rem 1.5rem; border-radius: var(--radius); text-decoration: none; border: 2px solid var(--gold); background: var(--gold); color: var(--navy); transition: background .2s; }
.btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn.ghost { background: transparent; color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.dark-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn svg { width: 20px; height: 20px; }

/* header */
header.site { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(212,167,44,.4); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.brand img { height: 44px; width: auto; border-radius: 6px; }
.brand span { font: 600 1.05rem var(--font-display); letter-spacing: .08em; line-height: 1.1; }
.brand small { display: block; font: 600 .7rem var(--font-label); letter-spacing: .2em; color: var(--gold); }
nav.main { display: none; gap: 1.5rem; }
nav.main a { font: 600 1rem var(--font-label); text-transform: uppercase; letter-spacing: .12em; color: #fff; text-decoration: none; }
nav.main a:hover { color: var(--gold); }
header .btn { padding: .5rem 1rem; font-size: .95rem; }
@media (min-width: 860px) { nav.main { display: flex; } }
@media (max-width: 520px) { .brand span { display: none; } }

/* hero */
.hero { background: var(--navy); color: #fff; padding: clamp(2.5rem, 7vw, 5rem) 0; }
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.hero h1 { color: #fff; }
.hero p.sub { color: var(--on-dark-muted); font-size: 1.2rem; max-width: 34em; }
.script { font: 400 clamp(2rem, 5vw, 3rem)/1.1 var(--font-script); color: var(--gold); margin: 0 0 1rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.4); border: 2px solid var(--gold); }
.hero figure img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 85%; width: 100%; object-view-box: inset(20% 0 0 0); }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }

/* next trip */
.trip { background: var(--navy); color: #fff; border-top: 6px solid transparent; border-image: repeating-linear-gradient(135deg, var(--red) 0 14px, #fff 14px 28px) 6; }
.trip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.trip p { margin: 0; }
.badge { display: inline-block; background: var(--red); color: #fff; font: 700 .85rem var(--font-label); letter-spacing: .12em; text-transform: uppercase; padding: .2rem .7rem; border-radius: 4px; margin-right: .6rem; }

section.block { padding: clamp(3rem, 7vw, 5rem) 0; }
.alt { background: var(--sand); }
.about { display: grid; gap: 2rem; align-items: center; }
.about img { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 320px; }
@media (min-width: 760px) { .about { grid-template-columns: 1fr auto; } }
.divider { height: 1px; background: var(--gold); width: 80px; margin: 0 0 1.2rem; }

/* services */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 2rem; }
.card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.ico { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold); display: grid; place-items: center; margin-bottom: 1rem; color: var(--gold); }
.ico svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more { margin-top: 1.5rem; font-weight: 600; }

/* route */
.route { list-style: none; margin: 2rem 0 0; padding: 0 0 0 28px; border-left: 3px solid var(--blue); max-width: 520px; }
.route li { position: relative; padding: .35rem 0 .35rem 1rem; font: 600 1.15rem var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.route li::before { content: ""; position: absolute; left: -38px; top: .65rem; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid var(--cream); box-shadow: 0 0 0 1px var(--red); }
.route-wrap { display: grid; gap: 2rem; }
.route-wrap img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 860px) { .route-wrap { grid-template-columns: 1fr 1fr; align-items: start; } }

/* contact */
.contact { background: var(--navy); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact p { color: var(--on-dark-muted); max-width: 36em; margin-inline: auto; }
.contact .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 1.5rem 0; }
.contact .label { color: var(--gold); }

footer.site { background: #060d17; color: var(--on-dark-muted); padding: 2rem 0; font-size: .95rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
footer.site .script { font-size: 1.8rem; margin: 0; }
footer a { color: var(--gold); }

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

/* icons: Phosphor Icons (MIT), drawn as a mask so they take the gold text colour */
.ico i { width: 36px; height: 36px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i-horse { --i: url(assets/icons/horse.svg); }
.i-paw-print { --i: url(assets/icons/paw-print.svg); }
.i-farm { --i: url(assets/icons/farm.svg); }
.i-engine { --i: url(assets/icons/engine.svg); }
.i-motorcycle { --i: url(assets/icons/motorcycle.svg); }
.i-grains { --i: url(assets/icons/grains.svg); }
.i-truck-trailer { --i: url(assets/icons/truck-trailer.svg); }
.i-phone { --i: url(assets/icons/phone.svg); }
.i-whatsapp-logo { --i: url(assets/icons/whatsapp-logo.svg); }
.i-map-pin { --i: url(assets/icons/map-pin.svg); }
.i-calendar { --i: url(assets/icons/calendar.svg); }
.i-shield-check { --i: url(assets/icons/shield-check.svg); }
.btn i { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; flex: none; }

/* routes board */
.routes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 2rem; align-items: start; }
.rcard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-top: 6px solid var(--navy); }
.rhead { padding: 1.25rem 1.5rem 1rem; background: var(--navy); color: #fff; }
.rhead h3 { color: #fff; margin: 0 0 .4rem; }
.rmeta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; color: var(--on-dark-muted); font-weight: 600; }
.rmeta .when { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold); font: 700 1.1rem var(--font-label); letter-spacing: .08em; text-transform: uppercase; }
.rmeta .when i { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.pill { display: inline-block; padding: .1rem .7rem; border-radius: 99px; font: 700 .85rem var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.pill.Open { background: #1d7a46; }
.pill.Full { background: var(--red); }
.rbody { padding: 1.25rem 1.5rem 1.5rem; }
.rbody .note { margin: 0 0 1rem; color: var(--muted); }
.rcard .route { margin-top: .5rem; }
.rcard .route .d { color: var(--muted); font: 600 .95rem var(--font-body); text-transform: none; letter-spacing: 0; margin-left: .5rem; }
.empty { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }

/* compact hero, board button, estimate tool */
.hero.compact { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.hero.compact h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.hero.compact .script { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .4rem; }
.hero.compact figure img { aspect-ratio: 16 / 7; }
.sm-btn { padding: .55rem 1.1rem; font-size: .95rem; margin-top: 1.25rem; }
.planner { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, 3vw, 1.75rem); margin-top: 1.5rem; max-width: 820px; }
.pgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.planner label { display: block; font: 700 .9rem var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .25rem; }
.planner select, .planner input { width: 100%; padding: .7rem .75rem; font: inherit; border: 1px solid #c9c2ae; border-radius: 8px; background: #fff; color: var(--text); }
.result { margin: 1.25rem 0; padding: 1rem 1.25rem; background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.result p { margin: 0; color: var(--muted); }
.result dl { margin: 0; }
.result dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dashed #d9cfae; }
.result dt, .result dd { margin: 0; }
.result .tot { font-size: 1.3rem; font-weight: 700; border-bottom: 0; border-top: 2px solid var(--navy); margin-top: .4rem; padding-top: .6rem; color: var(--navy); }
.result .fine { font-size: .875rem; margin-top: .75rem; }
.btn.off { opacity: .45; pointer-events: none; }
