/* ==========================================================================
   Taxi Agadir Marrakech — site stylesheet
   Mobile-first, no framework dependency.
   ========================================================================== */

:root{
  --ink: #16191d;
  --ink-soft: #5b6169;
  --white: #ffffff;
  --charcoal: #15181c;
  --charcoal-soft: #21262c;
  --sand: #f7f5f1;
  --sand-dark: #ece7dd;
  --primary: #b1502f;
  --primary-dark: #8c3d22;
  --primary-light: #c96a45;
  --accent: #0e6e6b;
  --accent-dark: #0a4e4c;
  --gold: #c9a24a;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --border: #e5e1d8;
  --shadow-sm: 0 2px 8px rgba(20,24,28,.06);
  --shadow-md: 0 10px 28px rgba(20,24,28,.10);
  --shadow-lg: 0 24px 56px rgba(20,24,28,.16);
  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 16px;
  --container: 1180px;
  --font-head: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', 'Open Sans', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ overflow-x: hidden; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
img, select, input, textarea{ max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
p{ margin: 0 0 1em; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---- Buttons ---- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-whatsapp{ background: var(--whatsapp); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover{ background: var(--whatsapp-dark); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 18px; font-size: 14px; }

/* ---- Skip link ---- */
.skip-link{
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container{
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px;
}
.brand{ display: flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.brand-mark{
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--charcoal); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px; font-family: var(--font-head); flex-shrink: 0;
}
.brand-text{ line-height: 1.1; }
.brand-text strong{ display: block; font-size: 15.5px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.brand-text span{ display: block; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-top: 2px; }

.main-nav ul{ display: flex; gap: 26px; align-items: center; }
.main-nav a{ display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.is-active{ color: var(--primary); border-color: var(--primary); }

.header-cta{ display: flex; align-items: center; gap: 14px; }

/* Destinations dropdown (CSS-only, no JS needed) */
.nav-dropdown{ position: relative; }
.nav-dropdown-menu{
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; min-width: 220px;
  opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li + li{ margin-top: 2px; }
.nav-dropdown-menu a{
  display: block; padding: 9px 12px; border-radius: var(--radius-sm); border-bottom: none;
  font-size: 14px; white-space: nowrap; color: var(--ink-soft);
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.is-active{ background: var(--sand); color: var(--primary); }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--ink); }

@media (max-width: 900px){
  .main-nav{
    position: fixed; inset: 76px 0 0 0; background: var(--white);
    transform: translateX(100%); transition: transform .25s ease;
    padding: 24px 20px; overflow-y: auto; z-index: 400;
  }
  .main-nav ul{ flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav a{ display: block; width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  body.nav-open .main-nav{ transform: translateX(0); }
  .nav-toggle{ display: flex; }
  .header-cta .btn{ display: none; }
  .nav-dropdown-menu{
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: 4px 0 4px 14px; margin-top: 0; min-width: 0;
    background: transparent; border-left: 2px solid var(--border);
  }
  .nav-dropdown-menu a{ padding: 10px 4px; }
}

/* ==========================================================================
   Hero + booking widget
   ========================================================================== */
.hero{
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0 84px;
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 500px at 15% 0%, rgba(177,80,47,.28), transparent 60%);
}
.hero .container{ position: relative; z-index: 1; }
.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  min-width: 0;
}
.hero-grid > *{ min-width: 0; }
@media (min-width: 960px){
  .hero-grid{ grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
}

.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
}
.hero h1{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 50px);
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 em{ font-style: italic; font-weight: 500; color: var(--gold); }
.hero-lead{ font-size: 17px; color: rgba(255,255,255,.72); max-width: 52ch; margin-bottom: 28px; }

.hero-trust{ display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; }
.hero-trust li{ display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.92); }
.hero-trust svg{ color: var(--gold); flex-shrink: 0; }

.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; }

/* Booking card */
.booking-card{
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 22px;
}
.booking-card h2{
  font-size: 19px;
  display: flex; align-items: center; gap: 10px;
}
.booking-card h2 .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 4px rgba(37,211,102,.18); }
.booking-sub{ font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }

.form-row{ display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; min-width: 0; }
.form-row.two{ grid-template-columns: 1fr; }
@media (min-width: 480px){
  .form-row.two{ grid-template-columns: 1fr 1fr; }
}
.form-row > *{ min-width: 0; }

.field label{ display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--sand);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--primary); background: var(--white);
}
.field.has-error input, .field.has-error select{ border-color: #d33; }
.field-error{ font-size: 12px; color: #d33; margin-top: 4px; min-height: 14px; }

.swap-row{ position: relative; }
.swap-btn{
  position: absolute; right: -6px; top: 34px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--sand-dark); border: none; color: var(--accent);
  display: none; align-items: center; justify-content: center; cursor: pointer;
}
@media (min-width: 480px){ .swap-btn{ display: none; } }

.booking-form-actions{ margin-top: 6px; display: flex; flex-direction: column; gap: 10px; }
.booking-note{ font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 4px; }
.form-msg{ font-size: 13.5px; border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 10px; display: none; }
.form-msg.is-visible{ display: block; }
.form-msg.success{ background: #e6f6ec; color: #1f7a3d; }
.form-msg.error{ background: #fdeaea; color: #b02a2a; }

/* ==========================================================================
   Section basics
   ========================================================================== */
.section{ padding: 72px 0; }
.section-alt{ background: var(--sand); }
.section-head{ max-width: 640px; margin: 0 auto 44px; text-align: center; }
.eyebrow{
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.section-head h2{ font-size: clamp(24px, 3vw, 32px); }
.section-head p{ color: var(--ink-soft); font-size: 16px; }

/* ---- Routes / keyword cards ---- */
.route-grid{ display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px){ .route-grid{ grid-template-columns: repeat(2, 1fr); } }
.route-card{
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.route-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.route-card .route-icon{
  width: 48px; height: 48px; border-radius: 12px; background: var(--sand);
  display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 16px;
}
.route-card h3{ font-size: 19px; margin-bottom: 8px; }
.route-card p{ color: var(--ink-soft); font-size: 14.5px; margin-bottom: 16px; }
.route-card .route-price{ font-weight: 700; color: var(--accent); font-size: 14px; margin-bottom: 14px; }
.route-card a.btn{ padding: 10px 20px; font-size: 13.5px; }

/* ---- Fleet / vehicles ---- */
.fleet-grid{ display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px){ .fleet-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .fleet-grid{ grid-template-columns: repeat(4, 1fr); } }
.fleet-card{ background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.fleet-card img{ width: 100%; height: 150px; object-fit: contain; background: var(--sand); padding: 14px; }
.fleet-card .fleet-body{ padding: 18px; }
.fleet-card h3{ font-size: 17px; margin-bottom: 6px; }
.fleet-card p{ font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }

/* ---- Pricing table ---- */
.pricing-wrap{ overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
table.pricing{ width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
table.pricing th{ background: var(--accent-dark); color: #fff; text-align: left; padding: 14px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
table.pricing td{ padding: 14px 16px; border-top: 1px solid var(--border); font-size: 14.5px; }
table.pricing tbody tr:nth-child(even){ background: var(--sand); }
table.pricing td.price{ font-weight: 700; color: var(--primary); white-space: nowrap; }
table.pricing td.cta a{ font-size: 13px; padding: 8px 16px; }

/* ---- Values / why us ---- */
.values-grid{ display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px){ .values-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .values-grid{ grid-template-columns: repeat(3, 1fr); } }
.value-item{ display: flex; gap: 14px; padding: 6px 0; }
.value-item .check{
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-item h4{ font-size: 15.5px; margin-bottom: 2px; }
.value-item p{ font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---- Steps ---- */
.steps{ display: grid; grid-template-columns: 1fr; gap: 24px; counter-reset: step; }
@media (min-width: 720px){ .steps{ grid-template-columns: repeat(3, 1fr); } }
.step{ text-align: center; padding: 0 12px; }
.step .step-num{
  counter-increment: step; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 14px; font-size: 18px;
}
.step h4{ font-size: 16px; margin-bottom: 6px; }
.step p{ font-size: 13.5px; color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq{ max-width: 760px; margin: 0 auto; }
.faq-item{ border-bottom: 1px solid var(--border); }
.faq-item summary{
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{ content: "+"; font-size: 22px; color: var(--primary); flex-shrink: 0; }
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{ padding-bottom: 18px; color: var(--ink-soft); font-size: 14.5px; }

/* ---- CTA band ---- */
.cta-band{
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; border-radius: var(--radius-lg); padding: 40px 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h3{ color: #fff; font-size: 22px; margin-bottom: 4px; }
.cta-band p{ color: rgba(255,255,255,.85); margin: 0; }
.cta-band .btn-outline{ border-color: rgba(255,255,255,.6); }

/* ---- Breadcrumb ---- */
.breadcrumb{ font-size: 13px; color: var(--ink-soft); padding: 16px 0; }
.breadcrumb a{ color: var(--accent); font-weight: 600; }
.breadcrumb span{ margin: 0 6px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: #14201c; color: rgba(255,255,255,.78); padding: 60px 0 0; }
.footer-grid{ display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
@media (min-width: 780px){ .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-grid h4{ color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.footer-grid p, .footer-grid li{ font-size: 14px; margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--gold); }
.footer-brand{ display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-social{ display: flex; gap: 10px; margin-top: 14px; }
.footer-social a{
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover{ background: var(--primary); }
.footer-partners{ border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; }
.footer-partners h4{ color: rgba(255,255,255,.55); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; margin-bottom: 12px; }
.footer-partners-list{ display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.footer-partners-list li{ font-size: 13px; margin: 0; }
.footer-partners-list a{ color: rgba(255,255,255,.6); }
.footer-partners-list a:hover{ color: var(--gold); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.6);
}
.footer-bottom a{ color: rgba(255,255,255,.8); }

/* ---- Floating WhatsApp button ---- */
.wa-float{
  position: fixed; right: 20px; bottom: 20px; z-index: 600;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  animation: pulse 2.4s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5), var(--shadow-lg); }
  70%{ box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow-lg); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow-lg); }
}

/* ---- Map ---- */
.map-frame{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.map-frame iframe{ width: 100%; height: 420px; border: 0; display: block; }
