:root {
  color-scheme: light;
  --ink: #173b33;
  --pine: #123c34;
  --leaf: #205b4d;
  --honey: #f1cb82;
  --paper: #fbf8f1;
  --white: #fffdf8;
  --muted: #4b645c;
  --line: #dbded3;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 system-ui, sans-serif; }
[dir="rtl"] { --serif: system-ui, sans-serif; }
img { display: block; width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.09; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.04em; }
h3 { font-size: 1.8rem; }
[dir="rtl"] :is(h1,h2,h3) { letter-spacing: 0; line-height: 1.25; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.shell { width: min(100%, 1260px); padding-inline: clamp(18px, 5vw, 54px); margin-inline: auto; }
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 12px; z-index: 5; padding: 10px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 79px; }
.brand { white-space: nowrap; font-family: var(--serif); font-size: clamp(1.28rem, 3.5vw, 1.75rem); font-weight: 700; letter-spacing: -.035em; text-decoration: none; }
.brand span { font-weight: 400; }
.header-inner nav, .site-actions { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 26px); }
.header-inner nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.header-inner nav a:hover, .brand:hover { color: var(--leaf); text-decoration: underline; text-underline-offset: .2em; }
.management-link { color: var(--ink); font-weight: 700; white-space: nowrap; }
.management-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-actions select { min-width: 0; padding-block: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 7px; text-align: center; text-decoration: none; font-weight: 700; }
.primary { color: var(--white); background: var(--pine); }
.primary:hover { background: var(--leaf); }
.outline { background: transparent; color: inherit; border-color: currentColor; }
.outline:hover { background: #255c4e18; }
.full { width: 100%; }

.hero { position: relative; isolation: isolate; color: var(--white); background: #214b43; }
.hero-image { position: absolute; z-index: -2; height: 100%; object-fit: cover; object-position: 55% center; }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #0c2c25e9 1%, #102d26b5 43%, #113b324d 100%); }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, #0c2c25e9 1%, #102d26b5 43%, #113b324d 100%); }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr); align-items: center; gap: clamp(22px, 6vw, 78px); padding-block: clamp(32px, 7vw, 72px); }
.hero-copy h1 { max-width: 13ch; font-size: clamp(3rem, 7.2vw, 6.1rem); letter-spacing: -.052em; }
.hero-copy p:not(.place) { max-width: 46ch; margin-block-start: 20px; font-size: clamp(1rem, 2vw, 1.17rem); color: #fffdf6; }
.place { color: var(--honey); margin-block-end: 13px; font-weight: 710; }
.booking, dialog { color: var(--ink); background: var(--white); border-radius: 14px; }
.booking { display: grid; gap: 13px; padding: clamp(19px, 3vw, 28px); box-shadow: 0 12px 45px #06201d44; }
.booking h2 { font-size: clamp(1.65rem, 4vw, 2.05rem); }
.field label { display: block; margin-block-end: 4px; font-size: .93rem; font-weight: 670; }
.field input, .field select, .site-actions select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #9aafa3; border-radius: 7px; background-color: #fffdf8; color: var(--ink); }
.field select, .site-actions select { appearance: none; padding-inline-end: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 15px center, right 10px center; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] :is(.field select,.site-actions select) { background-position: left 10px center, left 15px center; }
[dir="rtl"] input:is([type="date"],[type="time"],[type="number"]) { direction: ltr; text-align: end; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trip-options { grid-template-columns: minmax(0, 1.35fr) minmax(104px, .65fr); }
.wide { grid-column: 1 / -1; }

.quote { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; background: #e9f0e8; border-radius: 7px; padding: 8px 12px; }
.quote strong { font-size: 1.26rem; white-space: nowrap; }
.quote span, .form-note { color: var(--muted); font-size: .9rem; }
.form-note { text-align: center; }

.routes { padding-block: clamp(42px, 7vw, 85px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px 25px; margin-block-end: 26px; }
.section-heading p { max-width: 47ch; color: var(--muted); }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.route-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.route-photo { height: clamp(156px, 17vw, 226px); object-fit: cover; }
.route-photo.airport { object-position: center 53%; }
.route-body { padding: 18px 17px 13px; }
.route-body h3 { margin-block-end: 13px; }
.route-action { display: flex; width: 100%; min-height: 49px; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; background: transparent; color: var(--ink); border: 0; border-block-start: 1px solid var(--line); text-align: start; }
.route-action:hover span { text-decoration: underline; text-underline-offset: .18em; }
.route-action strong { flex-shrink: 0; color: var(--leaf); white-space: nowrap; }
.route-action small { display: block; font-size: .9rem; color: var(--muted); }

.arrival { color: var(--white); background: var(--pine); }
.arrival-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(35px, 8vw, 112px); align-items: start; padding-block: clamp(37px, 6vw, 72px); }
.arrival-heading p { margin-block: 12px 20px; max-width: 42ch; }
.arrival .light { color: var(--honey); }
.arrival .light:hover { background: #ffffff20; }
.arrival-details > div { padding-block: 12px; border-block-end: 1px solid #a9c3b466; }
.arrival-details > div:first-child { padding-block-start: 0; }
.arrival-details dt { color: var(--honey); font-weight: 680; }
.arrival-details dd { margin-block-start: 3px; color: #fdfaf0; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 16px 40px; padding-block: 26px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.footer p, .credits { color: var(--muted); }
.credits summary { cursor: pointer; }
.credits ul { padding-inline-start: 18px; }

dialog { width: min(95%, 530px); max-height: 90dvh; padding: clamp(18px, 4vw, 26px); border: 1px solid var(--line); }
dialog::backdrop { background: #132a27b9; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.dialog-heading h2 { font-size: clamp(1.8rem, 4vw, 2.36rem); }
.dismiss { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); font-size: 1.55rem; }
.trip-summary { margin-block: 11px 17px; color: var(--muted); overflow-wrap: anywhere; }
.dialog-submit { margin-block: 15px 8px; }
.message-label { display: block; margin-bottom: 6px; font-weight: 680; }
#requestMessage { display: block; width: 100%; padding: 10px; border: 1px solid #9aafa3; border-radius: 7px; background: #fffdf8; color: var(--ink); resize: vertical; }
.message-help { color: var(--muted); font-size: .93rem; margin-block: 10px; }
.message-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#copyFeedback:empty { margin: 0; }
:focus-visible { outline: 3px solid #b7752b; outline-offset: 3px; }

@media (max-width: 850px) {
  .header-inner nav { display: none; }
  .hero-inner, .arrival-inner { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 16ch; }
  .hero::before, [dir="rtl"] .hero::before { background: linear-gradient(180deg, #11362eeb, #0c30248c); }
  .hero-image { object-position: center; }
  .booking { max-width: 580px; width: 100%; }
  .section-heading { flex-direction: column; align-items: start; }
}

@media (max-width: 650px) {
  .route-grid { grid-template-columns: 1fr; }
  .route-photo { height: clamp(165px, 43vw, 225px); }
}

@media (max-width: 445px) {
  .header-inner { min-height: 65px; gap: 8px; }
  .site-actions { gap: 6px; }
  .site-actions select { font-size: .87rem; min-height: 42px; }
  .header-inner .contact { padding-inline: 8px; font-size: .86rem; }
  .trip-options { grid-template-columns: minmax(0, 1.3fr) minmax(90px, .7fr); }
}

@media (max-width: 340px) {
  .header-inner .contact { display: none; }
  .fields { grid-template-columns: 1fr; }
}


#receipt { display: grid; gap: 12px; }
#receiptReference { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
#receiptFare:empty, #bookingError:empty { display: none; }
#bookingError { color: #9a2033; }
button:disabled { opacity: .6; cursor: wait; }
.request { padding-block: 14px; margin-block-end: 12px; border-block-end: 1px solid var(--line); }
.request p, .request form { margin-block-start: 6px; }
.request details, .contact-links { margin-block: 8px; }
.request summary { cursor: pointer; }
.customer-message textarea { display: block; width: min(100%, 680px); margin-block: 8px; padding: 8px; font: inherit; }
.full-booking { width: min(100%, 640px); margin-block-start: 17px; }
.phone-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px; }
#phoneHint { margin-top: 5px; text-align: start; }
