/* ============================================================
   Explorer Taxi — design system
   Brand: deep marine #0B3954, gold #C9A961, ivory #F7F4EE
   ============================================================ */

:root {
  --marine: #0B3954;
  --marine-light: #1B5A7A;
  --marine-deeper: #082A3F;
  --gold: #C9A961;
  --gold-soft: #DBC189;
  --gold-deep: #A88742;
  --ivory: #F7F4EE;
  --ivory-warm: #EFEAE0;
  --white: #FFFFFF;
  --slate: #3D4A57;
  --slate-soft: #5F6B78;
  --slate-line: #E4E0D6;
  --green: #2D7A4F;
  --red: #B53A2C;

  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11, 57, 84, 0.06), 0 1px 1px rgba(11, 57, 84, 0.04);
  --shadow: 0 4px 12px rgba(11, 57, 84, 0.08), 0 2px 4px rgba(11, 57, 84, 0.04);
  --shadow-lg: 0 16px 40px rgba(11, 57, 84, 0.12), 0 4px 12px rgba(11, 57, 84, 0.06);

  --container: 1200px;
  --container-narrow: 920px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--slate);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--marine);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { margin: 0; text-wrap: pretty; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
  body { font-size: 16px; }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 16px;
  display: inline-block;
}

.lead {
  font-size: 1.15rem;
  color: var(--slate-soft);
  line-height: 1.55;
  max-width: 60ch;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .lead { margin: 16px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: var(--marine-deeper);
}
.btn-primary:hover { background: var(--gold-deep); color: var(--white); }

.btn-marine {
  background: var(--marine);
  color: var(--white);
}
.btn-marine:hover { background: var(--marine-deeper); }

.btn-outline {
  background: transparent;
  color: var(--marine);
  border-color: var(--marine);
}
.btn-outline:hover { background: var(--marine); color: var(--white); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 224, 214, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--marine);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--marine);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.logo span:last-child small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-top: -4px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  margin-right: 16px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--marine); background: rgba(11, 57, 84, 0.06); }
.nav a.active { color: var(--marine); }
.nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--gold);
  margin-top: 4px;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--marine);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
  position: relative;
}
.lang-toggle::before {
  content: "🌐";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.6;
}
.lang-toggle button {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-soft);
  border-radius: 999px;
  letter-spacing: 0.08em;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle button:hover { color: var(--marine); }
.lang-toggle button.active {
  background: var(--marine);
  color: var(--white);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.menu-btn svg { stroke: var(--marine); }

@media (max-width: 980px) {
  .nav, .header-actions .btn-marine { display: none; }
  .menu-btn { display: flex; }
  .lang-toggle::before { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 100;
  padding: 28px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu nav a {
  padding: 14px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--marine);
  border-bottom: 1px solid var(--slate-line);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--marine);
  color: var(--white);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.18), transparent 70%);
  pointer-events: none;
}
.hero h1 { color: var(--white); font-weight: 400; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 300;
}
.hero .lead { color: rgba(247, 244, 238, 0.82); font-size: 1.2rem; max-width: 56ch; }
.hero .eyebrow { color: var(--gold); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(247, 244, 238, 0.15);
  font-size: 14px;
  color: rgba(247, 244, 238, 0.75);
}
.hero-meta strong { color: var(--gold); font-weight: 600; }

/* ---------- Image placeholder ---------- */
.img-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(11, 57, 84, 0.04) 0,
      rgba(11, 57, 84, 0.04) 10px,
      rgba(11, 57, 84, 0.07) 10px,
      rgba(11, 57, 84, 0.07) 20px
    ),
    var(--ivory-warm);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.img-ph[data-dark="true"] {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.04) 0,
      rgba(255,255,255,0.04) 10px,
      rgba(255,255,255,0.08) 10px,
      rgba(255,255,255,0.08) 20px
    ),
    var(--marine-light);
  border-color: rgba(255,255,255,0.1);
}
.img-ph .ph-label {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-soft);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--slate-line);
}
.img-ph[data-dark="true"] .ph-label {
  background: var(--marine-deeper);
  color: var(--gold-soft);
  border-color: rgba(255,255,255,0.15);
}
.img-ph[data-ratio="square"] { aspect-ratio: 1 / 1; }
.img-ph[data-ratio="wide"] { aspect-ratio: 16 / 9; }
.img-ph[data-ratio="hero"] { aspect-ratio: 5 / 6; }
.img-ph[data-ratio="portrait"] { aspect-ratio: 3 / 4; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(201, 169, 97, 0.4); }
.card-dark {
  background: var(--marine);
  color: var(--ivory);
  border: 1px solid var(--marine-light);
}
.card-dark h3, .card-dark h4 { color: var(--white); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--marine);
  line-height: 1;
}
.stat .num em { color: var(--gold-deep); font-style: normal; }
.stat .lbl {
  font-size: 14px;
  color: var(--slate-soft);
  margin-top: 8px;
  line-height: 1.4;
}
.stats-dark .stat .num { color: var(--gold); }
.stats-dark .stat .lbl { color: rgba(247, 244, 238, 0.7); }

/* ---------- FAQ ---------- */
.faq-item {
  border-top: 1px solid var(--slate-line);
}
.faq-item:last-child { border-bottom: 1px solid var(--slate-line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--marine);
  gap: 24px;
}
.faq-q .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--marine);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease;
  font-size: 14px;
  line-height: 1;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--marine); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-a > div {
  overflow: hidden;
  color: var(--slate-soft);
  line-height: 1.65;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > div { padding-bottom: 28px; padding-right: 52px; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.field .hint { font-size: 12px; color: var(--slate-soft); }
.field .err { font-size: 12px; color: var(--red); display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }

.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--slate-line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--marine);
  box-shadow: 0 0 0 4px rgba(11, 57, 84, 0.08);
}
.field textarea { min-height: 120px; resize: vertical; }

.checks { display: flex; flex-direction: column; gap: 10px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}
.check input { width: 18px; height: 18px; accent-color: var(--marine); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--marine-deeper);
  color: rgba(247, 244, 238, 0.75);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 56px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(247, 244, 238, 0.7); font-size: 14.5px; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--gold); }
.site-footer .logo { color: var(--white); }
.site-footer .logo span:last-child small { color: rgba(247, 244, 238, 0.5); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(247, 244, 238, 0.5);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 540px) and (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

.center { text-align: center; }
.muted { color: var(--slate-soft); }
.gold { color: var(--gold-deep); }
.divider { height: 1px; background: var(--slate-line); margin: 56px 0; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 57, 84, 0.06);
  color: var(--marine);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tag-gold { background: rgba(201, 169, 97, 0.15); color: var(--gold-deep); }
.tag-green { background: rgba(45, 122, 79, 0.12); color: var(--green); }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }

/* ---------- Page hero ---------- */
.page-hero {
  background: var(--marine);
  color: var(--white);
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(201, 169, 97, 0.12), transparent 70%);
}
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.page-hero .lead { color: rgba(247, 244, 238, 0.8); margin: 0 auto; font-size: 1.15rem; }
.page-hero .breadcrumb {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.page-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ---------- Booking ribbon (inline form on hero) ---------- */
.booking-ribbon {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.7);
}
.booking-ribbon .field {
  padding: 12px 16px;
  border-radius: var(--radius);
  gap: 4px;
}
.booking-ribbon .field:hover { background: var(--ivory); }
.booking-ribbon .field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-soft);
}
.booking-ribbon .field input, .booking-ribbon .field select {
  border: none;
  padding: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--marine);
}
.booking-ribbon .field input:focus, .booking-ribbon .field select:focus { box-shadow: none; }
.booking-ribbon button {
  padding: 0 28px;
  border-radius: var(--radius);
}
@media (max-width: 880px) {
  .booking-ribbon { grid-template-columns: 1fr 1fr; }
  .booking-ribbon button { grid-column: 1 / -1; padding: 14px; }
}

/* ---------- Bilingual visibility ---------- */
/* Only hide spans-of-translation, NOT the lang-toggle buttons themselves */
html[data-lang="en"] span[data-lang="fr"],
html[data-lang="fr"] span[data-lang="en"] { display: none !important; }
