@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600&family=Libre+Franklin:wght@400;500;600;700&display=swap');

:root {
  --forest: #214c35;
  --green: #33663f;
  --bark: #503626;
  --brown: #70472c;
  --sand: #dcc7a5;
  --paper: #fafbf8;
  --ink: #273c2c;
  --muted: #546b52;
  --line: #cbd4c3;
  --display: 'Bodoni Moda', 'Bodoni MT', 'Didot', Georgia, serif;
  --body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.75 var(--body);
  text-align: center;
}
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #9a6b38; outline-offset: 4px; }
h1, h2, h3 {
  font-family: var(--display);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.15;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin-inline: auto;
}
h1 { font-size: clamp(42px, 6.4vw, 82px); max-width: 930px; margin-block: 16px 26px; }
h2 { font-size: clamp(33px, 4vw, 49px); max-width: 900px; margin-block: 0 24px; }
h3 { font-size: 29px; margin-block: 0 18px; }
p { margin: 0 auto 20px; max-width: 72ch; }
.muted { color: var(--muted); }

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px 20px;
  background: white;
}
.brand {
  display: inline-block;
  font: 500 31px/1.2 var(--display);
  text-align: center;
  text-decoration: none;
}
.brand small { display: block; margin-top: 9px; font: 400 12px/1.5 var(--body); }
nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.site-header > nav a { padding: 5px 0; font-size: 14px; text-decoration: none; }
.btn, button, .header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--brown);
  color: white;
  font: 600 14px/1.5 var(--body);
  text-align: center;
  text-decoration: none;
}
.header-call { padding-inline: 27px; }
.btn:hover, .header-call:hover, button:hover { background: var(--bark); }
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 68px 6% 80px;
  overflow: hidden;
  background: var(--forest);
  color: white;
}
.hero > div { width: min(100%, 930px); margin-inline: auto; }
.hero p { max-width: 720px; color: #e5eee1; font-size: 17px; }
.hero-actions, .trip-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.hero .btn { margin: 0; }
.art { display: block; width: min(100%, 410px); height: auto; flex: 0 0 auto; margin-inline: auto; }
.strip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(900px, calc(100% - 36px));
  margin: -28px auto 0;
  padding: 30px 24px;
  border-radius: 10px;
  background: var(--sand);
}
.strip strong { display: inline-block; margin-top: 5px; font: 500 38px/1.3 var(--display); }
.strip a { font-weight: 600; font-size: 14px; }
.section { padding: 72px max(6%, calc((100vw - 1200px) / 2)); }
.section > p, .section-head, .booking, .airport-taxi > p { margin-inline: auto; }
.section-head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; margin-bottom: 32px; }
.section-head p { margin-bottom: 0; }
.section-head > label { width: min(440px, 100%); }
.search { display: block; width: 100%; margin-inline: auto; }
.airport-directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin: 38px auto 0; max-width: 1080px; }
.airport-directions article { min-width: 0; padding: 25px 12px 0; border-top: 1px solid var(--line); }
.airport-directions h3 { max-width: 420px; }
.airport-directions p { max-width: 52ch; }
.airport-directions .btn { max-width: 100%; }
.routes { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; max-width: 1200px; margin-inline: auto; }
.route {
  display: flex;
  flex: 0 1 calc((100% - 32px) / 3);
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}
.route:hover { background: #edf2e8; border-color: #7c9875; }
.route span { font-size: 12px; color: var(--muted); }
.route strong { font: 500 25px/1.35 var(--display); overflow-wrap: anywhere; }
.route b { font-size: 12px; font-weight: 600; color: var(--green); }
.split { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 35px; background: #e7eee3; }
.split > div { width: min(100%, 800px); margin-inline: auto; }
.linklist { max-width: 680px; }
.linklist a { display: block; padding: 17px 10px; border-bottom: 1px solid #bdccb5; text-decoration: none; }
.linklist p { margin-top: 24px; }
.linklist p a { display: inline-block; border: 0; padding: 7px 12px; }
.booking { max-width: 850px; }
.booking > p { max-width: 72ch; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 28px auto 0; }
label { display: block; min-width: 0; font-size: 13px; font-weight: 600; text-align: center; }
input, select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 8px auto 0;
  padding: 13px;
  border: 1px solid #b5c2ad;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  text-align: center;
}
input::placeholder, textarea::placeholder { color: #60715a; opacity: 1; }
input[type='date'], input[type='time'], select { text-align-last: center; }
input::-webkit-date-and-time-value { text-align: center; }
textarea { min-height: 115px; resize: vertical; }
.full { grid-column: 1 / -1; }
#result { margin-top: 25px; padding: 24px; background: #e7eee3; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.trip-share { margin-top: 18px; }
.crumb { padding: 22px 20px; font-size: 13px; text-align: center; }
.details { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; }
.details > div { width: min(100%, 800px); margin-inline: auto; }
.details h3 { margin-top: 32px; }
.farebox { width: min(100%, 590px); margin-inline: auto; padding: 32px 24px; background: var(--sand); border-radius: 10px; }
.farebox strong { display: inline-block; margin-bottom: 16px; font: 500 42px/1.2 var(--display); }
.farebox p:last-child { margin-bottom: 0; }
details { max-width: 850px; margin-inline: auto; padding: 22px 0; border-bottom: 1px solid var(--line); }
summary { list-style: none; font-size: 17px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; display: inline-block; margin-left: 12px; color: var(--brown); }
details[open] summary::after { content: '−'; }
details p { margin-top: 18px; margin-bottom: 0; }

footer { padding: 50px 6%; background: var(--bark); color: #f7f3eb; text-align: center; }
footer a { overflow-wrap: anywhere; }
.footer-top { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; max-width: 900px; margin-inline: auto; }
.footer-top .brand { color: white; }
.footer-top p { margin: 0; }
.footer-top > div { font-size: 13px; line-height: 1.9; }
.footer-contact { max-width: 1120px; margin-inline: auto; padding: 46px 0; }
.footer-contact h2, .network h2 { color: white; font-size: 39px; }
.footer-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.footer-actions > a, .footer-actions > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 104px;
  gap: 8px;
  padding: 20px 12px;
  border: 1px solid #dbc9b0;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font: 600 16px/1.5 var(--body);
  text-align: center;
}
.footer-actions span { max-width: 100%; font-size: 12px; font-weight: 400; overflow-wrap: anywhere; }
.footer-actions > a:hover, .footer-actions > button:hover { background: #e7eee3; }
.network { max-width: 1200px; margin-inline: auto; padding-top: 35px; border-top: 1px solid #ad9476; }
.network-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 38px 32px; margin-top: 38px; }
.network-group { flex: 1 1 300px; min-width: 0; max-width: 360px; }
.network-group h3 { font-size: 29px; color: #e4dbc8; }
.network-group nav { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
.network-group a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px 0; border-bottom: 1px solid #9b81655c; font-size: 14px; text-decoration: none; }
.network-group a span { font-size: 11px; color: #e1d6c7; overflow-wrap: anywhere; }
.network-group a:hover { text-decoration: underline; }
.footer-note { max-width: 900px; margin: 42px auto 0; padding-top: 25px; border-top: 1px solid #ad9476; font-size: 12px; }
.contact-dock { position: fixed; z-index: 20; bottom: calc(9px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; width: min(560px, calc(100% - 18px)); padding: 7px; border: 1px solid #b6c6ae; border-radius: 12px; background: var(--forest); box-shadow: 0 4px 20px #152b2630; }
.contact-dock a, .contact-dock button { min-width: 0; min-height: 46px; display: flex; align-items: center; justify-content: center; padding: 8px 5px; border: 1px solid #b7a284; border-radius: 6px; background: var(--brown); color: white; font: 600 13px/1.4 var(--body); text-decoration: none; text-align: center; }
.contact-dock a:nth-child(2) { background: var(--green); }
.contact-dock button { background: var(--paper); color: var(--forest); }

dialog { position: fixed; width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid #bccab5; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 15px 70px #152b2650; text-align: center; }
dialog::backdrop { background: #13231680; }
.chat-header { position: relative; padding: 18px 55px; background: var(--forest); color: white; }
.chat-header h2 { margin: 0; font-size: 30px; }
.chat-header button { position: absolute; top: 8px; right: 7px; min-width: 44px; min-height: 44px; padding: 0; background: transparent; color: white; font-size: 26px; }
.chat-intro { margin: 14px auto; padding: 0 18px; font-size: 12px; line-height: 1.6; }
#chat-messages { height: 155px; overflow: auto; padding: 10px 18px; background: #e7eee3; }
#chat-messages p { max-width: 94%; margin: 8px auto; padding: 9px 11px; border: 1px solid #bccab5; border-radius: 7px; background: white; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
#chat-messages p.visitor { background: #f1e6d8; }
#chat-messages small { display: block; font-size: 11px; font-weight: 600; }
#chat-form { display: block; margin-top: 0; padding: 14px 18px; }
#chat-form label { margin-bottom: 8px; font-size: 12px; }
#chat-form input, #chat-form textarea { min-height: 40px; margin-top: 4px; padding: 8px; }
#chat-form textarea { min-height: 68px; height: 68px; }
#chat-status { font-size: 12px; line-height: 1.5; }
.chat-form-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.chat-form-actions a { font-size: 12px; }
#chat-send { font-size: 13px; padding: 11px 16px; }
#chat-send:disabled { opacity: .6; }
#new-chat { display: flex; margin: 0 auto 16px; padding: 7px 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; }

@media (max-width: 900px) {
  .route { flex-basis: calc((100% - 16px) / 2); }
  .footer-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  body { font-size: 15px; }
  .site-header { padding: 24px 16px; gap: 18px; }
  .site-header > nav { gap: 12px 18px; }
  .site-header > nav a { font-size: 12px; }
  .brand { font-size: 29px; }
  .hero { gap: 28px; padding: 42px 5% 60px; }
  .hero p { font-size: 15px; }
  .art { width: min(100%, 310px); }
  .section { padding: 48px 5%; }
  .airport-directions { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .airport-directions article { padding-inline: 0; }
  form { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .strip { padding: 26px 18px; }
  .strip strong { font-size: 35px; }
  .route strong { font-size: 23px; }
  .network-groups { gap: 32px; }
  .network-group { flex-basis: 100%; max-width: 420px; }
  .footer-contact h2, .network h2 { font-size: 34px; }
  .contact-dock a, .contact-dock button { font-size: 11px; }
  .chat-header h2 { font-size: 27px; }
}
@media (max-width: 480px) {
  .route { flex-basis: 100%; min-height: 170px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: min(100%, 290px); }
  .footer-actions { gap: 9px; }
  .footer-actions > a, .footer-actions > button { padding: 16px 9px; font-size: 14px; }
  .footer-actions span { font-size: 11px; }
}
@media (max-height: 650px) {
  #chat-messages { height: 90px; }
  .chat-intro { margin-block: 8px; }
  #chat-form { padding: 8px 15px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
