/* =========================================================
   MoovMe — Global Stylesheet
   Palette: Navy #0F2847 · Mustard #E8A94E · Cream #F4F1E9
   Type: Fraunces (display) + Inter (body) — distinctive, trustworthy
   ========================================================= */

:root {
  --navy-900: #0A1D36;
  --navy-800: #0F2847;
  --navy-700: #1A3A5F;
  --navy-600: #2A4E7A;
  --navy-200: #A8B5C7;
  --navy-100: #D6DDE8;

  --mustard-500: #E8A94E;
  --mustard-600: #C68A32;
  --mustard-700: #B8841F;
  --mustard-100: #FAEBD1;

  --cream: #F4F1E9;
  --cream-dark: #EAE5D4;
  --white: #FFFFFF;

  --text-primary: #0F2847;
  --text-secondary: #4A5568;
  --text-tertiary: #8A96A8;
  --text-on-dark: #E8EEF5;
  --text-muted-dark: #A8B5C7;

  --border: rgba(15, 40, 71, 0.1);
  --border-strong: rgba(15, 40, 71, 0.2);
  --border-dark: rgba(255, 255, 255, 0.08);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(15, 40, 71, 0.06), 0 1px 2px rgba(15, 40, 71, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 40, 71, 0.08), 0 2px 4px rgba(15, 40, 71, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 40, 71, 0.12), 0 4px 8px rgba(15, 40, 71, 0.06);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard-700);
  margin-bottom: 12px;
}

.text-accent { color: var(--mustard-500); }
.text-muted { color: var(--text-secondary); }

/* ==========================================================
   LAYOUT
   ========================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
}

/* ==========================================================
   NAVIGATION
   ========================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-800);
  border-bottom: 1px solid var(--border-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-accent { color: var(--mustard-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--mustard-500); }

.nav-cta {
  background: var(--mustard-500);
  color: var(--navy-800) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--mustard-600); color: var(--navy-900) !important; }

.nav-toggle {
  display: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 16px; font-size: 13px; }
}

/* ==========================================================
   HERO
   ========================================================== */

.hero {
  background: var(--navy-800);
  color: var(--text-on-dark);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232, 169, 78, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(232, 169, 78, 0.05), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 169, 78, 0.12);
  border: 1px solid rgba(232, 169, 78, 0.3);
  color: var(--mustard-500);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted-dark);
  max-width: 640px;
  margin: 0 auto 1rem;
}

.hero-audiences {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  font-style: italic;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.15s;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--mustard-500);
  color: var(--navy-800);
  box-shadow: 0 4px 20px rgba(232, 169, 78, 0.35);
}
.btn-primary:hover { background: var(--mustard-600); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232, 169, 78, 0.45); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.05); }

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

/* ==========================================================
   TRUST BAR
   ========================================================== */

.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-800);
}

.trust-item svg { color: var(--mustard-600); flex-shrink: 0; }

@media (max-width: 768px) {
  .trust-items { gap: 1.25rem; }
  .trust-item { font-size: 12px; }
}

/* ==========================================================
   CARDS & GRIDS
   ========================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card-link:hover {
  border-color: var(--mustard-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card h3 { margin: 0.75rem 0 0.5rem; font-family: var(--font-display); }
.card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

.card-arrow {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s;
}
.card-link:hover .card-arrow { gap: 10px; color: var(--mustard-700); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================
   SECTION HEADERS
   ========================================================== */

.section-head {
  max-width: 700px;
  margin-bottom: 3rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-secondary); font-size: 1.05rem; margin-top: 1rem; }

.section-cream { background: var(--cream); }
.section-navy { background: var(--navy-800); color: var(--text-on-dark); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--mustard-500); }

/* ==========================================================
   FLAG + COUNTRY CHIP (SVG, cross-platform)
   ========================================================== */

.flag {
  width: 40px;
  height: 28px;
  border-radius: 3px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.flag-sm { width: 28px; height: 20px; }
.flag-lg { width: 56px; height: 40px; }

.country-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-on-dark);
  font-weight: 500;
}

.country-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.countries-grouped {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.country-group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted-dark);
  margin-bottom: 12px;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================
   PROCESS STEPS
   ========================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step {
  position: relative;
  padding: 1.5rem;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--mustard-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ==========================================================
   FEATURE CARDS (Why MoovMe)
   ========================================================== */

.feature {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--mustard-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--mustard-100);
  color: var(--mustard-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.feature p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ==========================================================
   WHAT WE SHIP GRID
   ========================================================== */

.ship-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ship-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: border-color 0.15s, transform 0.15s;
}

.ship-item:hover {
  border-color: var(--mustard-500);
  transform: translateY(-2px);
}

.ship-item svg {
  margin: 0 auto 8px;
  color: var(--navy-800);
}

.ship-item span {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
  display: block;
}

@media (max-width: 800px) { .ship-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .ship-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================
   TESTIMONIALS
   ========================================================== */

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--mustard-500);
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

.author-name { font-weight: 600; font-size: 14px; color: var(--navy-800); }
.author-route { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.trust-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-strong);
  flex-wrap: wrap;
}

.trust-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy-800);
  display: block;
  line-height: 1;
}

.trust-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

/* ==========================================================
   PORTS / ROUTING TABLE
   ========================================================== */

.ports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.port-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.port-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.port-group h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.port-group-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.port-list {
  list-style: none;
  padding: 0;
}

.port-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.port-list li:last-child { border-bottom: none; }

.port-name { font-weight: 600; color: var(--navy-800); }
.port-detail { font-size: 12px; color: var(--text-secondary); text-align: right; }

@media (max-width: 800px) { .ports-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   FORM
   ========================================================== */

.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-wrap p.form-lead {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--text-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mustard-500);
  box-shadow: 0 0 0 3px rgba(232, 169, 78, 0.2);
}

.field textarea { resize: vertical; min-height: 90px; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--mustard-500);
  color: var(--navy-800);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.15s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--mustard-600); }

.form-note {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 1rem;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; gap: 0; } .field-row .field { margin-bottom: 1.25rem; } }

/* ==========================================================
   FAQ
   ========================================================== */

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--mustard-600);
  font-weight: 400;
  transition: transform 0.2s;
}

details[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
  padding-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================
   STICKY WHATSAPP BUTTON (MOBILE)
   ========================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.15s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
  background: var(--navy-900);
  color: var(--text-muted-dark);
  padding: 3rem 0 1.5rem;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer h4 {
  color: var(--mustard-500);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted-dark);
  margin-top: 1rem;
  line-height: 1.65;
  max-width: 320px;
  font-size: 13px;
}

.footer-license {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--text-muted-dark);
  opacity: 0.7;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }
.footer a { color: var(--text-muted-dark); transition: color 0.15s; }
.footer a:hover { color: var(--mustard-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12px;
  color: var(--text-muted-dark);
  opacity: 0.8;
}

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================
   LANGUAGE TOGGLE (bilingual pages)
   ========================================================== */

.lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-toggle button {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted-dark);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle button.active {
  background: var(--mustard-500);
  color: var(--navy-800);
}

.lang-toggle .flag { width: 18px; height: 12px; }

/* Hide non-active language content */
[data-lang-group] [data-lang]:not(.lang-active) { display: none; }

/* ==========================================================
   UTILITIES
   ========================================================== */

.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
