/* almyridataxi.gr
 *
 * Colours taken from the place rather than from "Mediterranean": the deep
 * teal-green of the water off Almyrida, the turquoise where it runs over sand,
 * lime-washed wall white, the pale grey-beige of the rock, and bougainvillea —
 * the one saturated colour in that landscape in August, so the one saturated
 * colour on the page. It marks the primary action and nothing else.
 */

:root {
  --deep:       #0E6B70;   /* water at depth */
  --shallow:    #4FB3AC;   /* water over sand */
  --wash:       #FBFAF7;   /* lime-washed wall */
  --stone:      #E5DFD4;   /* dry rock */
  --ink:        #14302E;   /* wet stone in shade — green-black, not blue */
  --ink-soft:   #4E6A67;
  --flower:     #C0326B;   /* bougainvillea */
  --flower-dark:#A22757;

  --shadow: 0 1px 2px rgba(20,48,46,.06), 0 8px 24px rgba(20,48,46,.08);
  --shadow-lift: 0 2px 4px rgba(20,48,46,.08), 0 18px 44px rgba(20,48,46,.16);
  --r: 14px;
}

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

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

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Bricolage Grotesque for display: a grotesque with deliberately uneven
 * proportions and a wide optical range. Loaded with swap so a slow hotel
 * connection never blocks the form behind a font. */
h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

a { color: var(--deep); }
img { max-width: 100%; display: block; }

.wrap { width: min(1140px, 92vw); margin-inline: auto; }

/* ---- header ---- */
.top {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1rem 0; flex-wrap: wrap;
}
.logo {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em;
  color: var(--ink); text-decoration: none; line-height: 1.1;
}
.logo span { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft); }
.top nav { margin-left: auto; display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { color: var(--deep); }
.lang { display: flex; gap: .35rem; }
.lang a {
  padding: .2rem .5rem; border-radius: 6px; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--wash); }
.call {
  background: var(--ink); color: var(--wash) !important; padding: .6rem 1rem;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
}

/* ---- hero: the form is the page ---- */
.hero { position: relative; padding: 1rem 0 3rem; }
.hero-photo {
  position: absolute; inset: 0 0 28% 0; z-index: 0; overflow: hidden;
  border-radius: 0 0 var(--r) var(--r);
  background: linear-gradient(160deg, var(--deep), #0a4f53 60%, #08383b);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,56,59,.55), rgba(8,56,59,.15) 45%, rgba(251,250,247,0));
}
.hero .wrap { position: relative; z-index: 1; }
.hero-words { color: var(--wash); padding: 2.5rem 0 1.75rem; max-width: 30ch; }
.hero-words h1 { color: var(--wash); text-wrap: balance; }
.hero-words p { font-size: 1.15rem; opacity: .92; margin: 0; }

/* ---- the booking card ---- */
.card {
  background: var(--wash); border-radius: var(--r); box-shadow: var(--shadow-lift);
  padding: 1.5rem; border: 1px solid var(--stone);
}
.field { margin-bottom: 1rem; }
.field > label {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .35rem;
}
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--stone); border-radius: 10px;
  background: #fff; min-height: 52px;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--shallow); outline-offset: 2px; border-color: var(--deep);
}
.row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.row-3 { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .row, .row-3 { grid-template-columns: 1fr; } }

.pins { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.pin {
  border: 1.5px solid var(--stone); background: #fff; border-radius: 999px;
  padding: .4rem .8rem; font: inherit; font-size: .85rem; font-weight: 600;
  cursor: pointer; color: var(--ink-soft);
}
.pin:hover { border-color: var(--deep); color: var(--deep); }

/* ---- the signature: a fare as a band on a scale ----
 * This business genuinely cannot name an exact price before the office has
 * looked, so the page says that in the shape of the thing rather than in a
 * disclaimer underneath it. */
.band { margin: 1.25rem 0; padding: 1.25rem; background: #fff;
  border: 1.5px solid var(--stone); border-radius: 12px; }
.band[hidden] { display: none; }
.band-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .9rem;
}
.band-scale {
  position: relative; height: 8px; border-radius: 999px; margin: 0 0 .5rem;
  background: linear-gradient(90deg, var(--stone), var(--shallow) 22%, var(--shallow) 78%, var(--stone));
}
.band-scale::before, .band-scale::after {
  content: ""; position: absolute; top: -6px; width: 3px; height: 20px;
  background: var(--deep); border-radius: 2px;
}
.band-scale::before { left: 20%; }
.band-scale::after { right: 20%; }
.band-ends {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em;
}
.band-note { font-size: .92rem; color: var(--ink-soft); margin: .5rem 0 0; }
.band-cars { font-weight: 600; color: var(--ink); }

/* ---- buttons ---- */
.actions { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; margin-top: 1.25rem; }
@media (max-width: 640px) { .actions { grid-template-columns: 1fr; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 58px; padding: 0 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-book { background: var(--flower); color: #fff; box-shadow: 0 6px 20px rgba(192,50,107,.28); }
.btn-book:hover { background: var(--flower-dark); transform: translateY(-1px); }
.btn-ask { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ask:hover { background: var(--ink); color: var(--wash); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---- plain facts, not "features" ---- */
.facts { padding: 3.5rem 0; }
.facts-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .facts-grid { grid-template-columns: 1fr; } }
.fact h3 { margin-bottom: .3rem; }
.fact p { margin: 0; color: var(--ink-soft); }
.fact::before {
  content: ""; display: block; width: 34px; height: 3px; border-radius: 2px;
  background: var(--shallow); margin-bottom: .9rem;
}

/* ---- who we are ---- */
.who-section { background: var(--stone); padding: 3.5rem 0; margin-top: 1rem; }
.who-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr 1fr; align-items: center; }
@media (max-width: 800px) { .who-grid { grid-template-columns: 1fr; } }
.who-grid img { border-radius: var(--r); box-shadow: var(--shadow); }
.placeholder {
  background: repeating-linear-gradient(45deg, #d6cfc2, #d6cfc2 12px, #cfc7b8 12px, #cfc7b8 24px);
  border-radius: var(--r); min-height: 300px;
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  color: var(--ink-soft); font-size: .9rem; font-weight: 600;
}

/* ---- footer ---- */
.foot { background: var(--ink); color: #b9cdca; padding: 3rem 0 2rem; margin-top: 3rem; }
.foot a { color: var(--wash); }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h3 { color: var(--wash); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .4rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1.25rem;
  font-size: .85rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---- messages ---- */
.errors {
  background: #fdeaef; border-left: 4px solid var(--flower); color: #7d1f43;
  padding: .9rem 1.1rem; border-radius: 8px; margin-bottom: 1.25rem;
}
.errors ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.hint { font-size: .9rem; color: var(--ink-soft); margin: .35rem 0 0; }
.hp { position: absolute; left: -9999px; }

/* ---- inner pages ---- */
.page { padding: 3rem 0; max-width: 68ch; }
.page p { color: var(--ink-soft); }

/* ---- map preview ---- */
#route-map { height: 220px; border-radius: 12px; margin-top: 1rem; border: 1.5px solid var(--stone); }
#route-map[hidden] { display: none; }

.detail-fields[hidden] { display: none; }
