/* ═══════════════════════════════════════════════
   HOMESCHOOL VOYAGES — Design System
   Navy · Mint · Coral — The Voyaging House
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Navy */
  --accent:   #2B4A6B;
  --accent-d: #1E3550;
  --accent-l: #D0DDE8;
  /* Coral */
  --gold:     #E8806A;
  --gold-d:   #C9654F;
  --gold-l:   #FAE0DA;
  /* Mint */
  --mint:     #7CC9B8;
  --mint-d:   #5BADA0;
  --mint-l:   #D8F0EB;
  /* Neutrals */
  --bg:       #F5F7FA;
  --bg-d:     #E8EEF5;
  --charcoal: #1E2D3D;
  --mid:      #5A6A7A;
  --border:   #D0DCE8;
  --white:    #ffffff;
  --red:      #d94040;

  --font-head: 'Josefin Sans', system-ui, sans-serif;
  --font-body: 'Josefin Sans', system-ui, sans-serif;
  --radius:   12px;
  --radius-sm: 8px;
  --shadow:   0 2px 16px rgba(30,45,61,0.09);
  --shadow-lg: 0 8px 40px rgba(30,45,61,0.14);
  --max-w:    1100px;
  --nav-h:    68px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }
input, select, textarea { font-family: var(--font-body); }

/* ── Typography ────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--mid); line-height: 1.7; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ── Layout ────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
section.tight { padding: 48px 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ── Navigation ────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
}
.nav-logo-name em { font-style: normal; color: var(--gold); }
.nav-logo-sub {
  font-size: 0.62rem;
  color: var(--mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-d);
  border-color: var(--accent-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(43,74,107,0.3);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-d);
  border-color: var(--gold-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,133,58,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-l);
  transform: translateY(-1px);
}
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── Cards ──────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 28px; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1E3550 0%, #2B4A6B 55%, #7CC9B8 100%);
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,128,106,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '⚓';
  font-size: 0.85rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-style: italic;
}
.hero h1 em { font-style: normal; color: #F9C96B; }
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ship-orb {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.15), rgba(43,74,107,0.4));
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.ship-orb .orb-icon { font-size: 5rem; margin-bottom: 12px; }
.orb-logo { width: 110px; height: 110px; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(0.9); }
.ship-orb .orb-label {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}
.ship-orb .orb-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-top: 6px;
}
.wave-divider {
  width: 100%;
  line-height: 0;
}
.wave-divider svg { display: block; width: 100%; }

/* ── Email signup strip ─────────────────────────── */
.signup-strip {
  background: linear-gradient(135deg, #2B4A6B, #1E3550);
  padding: 64px 0;
}
.signup-strip h2 { color: var(--white); margin-bottom: 8px; }
.signup-strip p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.signup-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
}
.signup-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.95);
  color: var(--charcoal);
  outline: none;
}
.signup-form input:focus { box-shadow: 0 0 0 3px rgba(201,133,58,0.4); }
.signup-msg { margin-top: 12px; font-size: 0.9rem; }
.signup-msg.success { color: #7CE4A0; }
.signup-msg.error   { color: #F98080; }

/* ── Voyage cards ───────────────────────────────── */
.voyages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.voyage-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.voyage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.voyage-card-header {
  background: linear-gradient(135deg, #1E3550, #2B4A6B);
  padding: 28px 24px 20px;
  position: relative;
}
.voyage-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}
.voyage-card-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.25;
}
.voyage-card-dest {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
}
.voyage-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.voyage-card-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.voyage-card-days {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--mid);
  font-weight: 500;
  margin-bottom: 16px;
}
.voyage-starting {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}
.voyage-starting .from { font-size: 0.8rem; color: var(--mid); }
.voyage-starting .price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
}
.voyage-starting .per { font-size: 0.8rem; color: var(--mid); }
.voyage-card-actions { display: flex; gap: 10px; margin-top: auto; }

/* ── Pricing table ──────────────────────────────── */
.pricing-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pricing-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
}
.pricing-tab.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-l);
}
.pricing-tab:hover:not(.active) { border-color: var(--accent); color: var(--accent); }
.pricing-panel { display: none; }
.pricing-panel.active { display: block; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.price-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.price-box .occ { font-size: 0.75rem; color: var(--mid); font-weight: 500; margin-bottom: 4px; }
.price-box .amount {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}
.price-box .per-person { font-size: 0.7rem; color: var(--mid); }

/* ── Value props ────────────────────────────────── */
.prop-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.prop-card { padding: 32px; text-align: center; }
.prop-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* ── Section header ─────────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header p { max-width: 540px; margin: 12px auto 0; }

/* ── FAQ ────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg); }
.faq-chevron {
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--mid);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Forms ──────────────────────────────────────── */
.form-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}
.form-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-d);
}
.form-section-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.form-section-header h3 { font-size: 1.25rem; margin: 0; }
.form-section-header p { margin: 0; font-size: 0.85rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-row.three { grid-template-columns: repeat(3, 1fr); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}
label .req { color: var(--red); margin-left: 2px; }
.note { font-size: 0.78rem; color: var(--mid); margin-top: 2px; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,74,107,0.12);
}
textarea { resize: vertical; min-height: 100px; }
select { cursor: pointer; }
.radio-group, .check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-opt, .check-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.radio-opt:hover, .check-opt:hover { border-color: var(--accent); background: var(--bg); }
.radio-opt input, .check-opt input { margin-top: 2px; accent-color: var(--accent); }
.radio-opt .opt-label, .check-opt .opt-label {
  display: flex;
  flex-direction: column;
}
.radio-opt .opt-title, .check-opt .opt-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.radio-opt .opt-desc, .check-opt .opt-desc {
  font-size: 0.8rem;
  color: var(--mid);
}

/* Pricing hint box */
.pricing-hint {
  background: var(--accent-l);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 16px;
  display: none;
}
.pricing-hint.visible { display: block; }
.pricing-hint-title { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-d); margin-bottom: 10px; }
.pricing-hint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pricing-hint-cell { text-align: center; }
.pricing-hint-cell .occ { font-size: 0.72rem; color: var(--mid); }
.pricing-hint-cell .amt { font-weight: 700; color: var(--accent-d); font-size: 0.95rem; }

/* Form steps */
.form-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  max-width: 600px;
}
.form-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.form-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 2px;
  background: var(--border);
}
.form-step.done::after, .form-step.active::after { background: var(--accent-l); }
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mid);
  margin-bottom: 6px;
  z-index: 1;
  transition: all 0.2s;
}
.form-step.active .step-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.form-step.done .step-dot {
  border-color: var(--accent);
  background: var(--accent-l);
  color: var(--accent);
}
.step-label { font-size: 0.72rem; color: var(--mid); text-align: center; }
.form-step.active .step-label { color: var(--accent); font-weight: 600; }

.step-panel { display: none; }
.step-panel.active { display: block; }
.step-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }

/* Success screen */
.success-screen {
  display: none;
  text-align: center;
  padding: 64px 32px;
}
.success-screen.visible { display: block; }
.success-icon { font-size: 4rem; margin-bottom: 20px; }
.success-screen h2 { margin-bottom: 12px; }
.success-screen p { max-width: 480px; margin: 0 auto 28px; }

/* ── Admin ──────────────────────────────────────── */
.admin-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.admin-tab {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.admin-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-bar select, .filter-bar input {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  background: var(--white);
}
.count-badge {
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th {
  background: var(--bg);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bg-d);
  vertical-align: top;
}
.data-table tr:hover td { background: var(--bg); }

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 600;
}
.status-new      { background: #FEF3C7; color: #92400E; }
.status-contacted { background: var(--accent-l); color: var(--accent-d); }
.status-booked   { background: #D1FAE5; color: #065F46; }
.status-closed   { background: var(--bg-d); color: var(--mid); }

.detail-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
}
.detail-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-l); }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30,45,61,0.6);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-body { padding: 28px; }
.modal-close {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--mid);
}
.field-group { margin-bottom: 20px; }
.field-group dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid);
  margin-bottom: 4px;
}
.field-group dd { color: var(--charcoal); font-size: 0.9rem; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }

/* Login screen */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.login-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
  text-align: center;
}
.login-card h2 { margin-bottom: 8px; }
.login-card p { margin-bottom: 28px; }
.login-card input { margin-bottom: 16px; }
.login-error { color: var(--red); font-size: 0.85rem; margin-top: 8px; }

/* ── Footer ─────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo img { width: 36px; height: 36px; object-fit: contain; }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.footer-logo-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
}
.footer-logo-name em { font-style: normal; color: var(--gold); }
.footer-logo-sub {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ── CTA Strip ──────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--gold), #a86a2a);
  padding: 72px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.82); margin-bottom: 28px; }

/* ── Alerts ─────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ── Voyage card split layout ───────────────────── */
.voyage-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.voyage-card-left {
  background: linear-gradient(135deg, #1E3550, #2B4A6B);
  padding: 36px 32px;
  color: white;
}
.voyage-card-right {
  padding: 36px 32px;
  background: white;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  nav { position: relative; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 16px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links .btn { width: 100%; justify-content: center; }

  /* Hero */
  .hero { padding-top: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }

  /* Sections */
  section { padding: 48px 0; }
  section.tight { padding: 36px 0; }
  .container { padding: 0 16px; }

  /* Grids */
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 16px; }

  /* Voyage cards */
  .voyage-card-split { grid-template-columns: 1fr; }
  .voyage-card-left { padding: 28px 24px; }
  .voyage-card-right { padding: 24px; }
  .voyage-card-actions { flex-direction: column; }
  .voyage-card-actions .btn { justify-content: center; }

  /* Pricing */
  .pricing-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .pricing-tab { white-space: nowrap; flex-shrink: 0; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .price-box { padding: 12px 8px; }
  .price-box .amount { font-size: 1.2rem; }

  /* Forms */
  .form-section { padding: 20px 16px; }
  .form-section-header { gap: 12px; margin-bottom: 20px; }
  .form-row, .form-row.three { grid-template-columns: 1fr; gap: 16px; }
  .form-steps { gap: 0; margin-bottom: 28px; }
  .step-label { display: none; }
  .step-dot { width: 28px; height: 28px; font-size: 0.72rem; }
  .radio-opt, .check-opt { padding: 12px 14px; }
  .step-actions { flex-direction: column; gap: 12px; }
  .step-actions .btn { justify-content: center; width: 100%; }
  .step-actions > span { display: none; }
  .pricing-hint-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }

  /* Email signup */
  .signup-form { flex-direction: column; }
  .signup-form input { border-radius: var(--radius-sm); }

  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: 0.95rem; }
  .faq-answer { padding: 0 18px 16px; }

  /* CTA strip */
  .cta-strip .btn { display: block; margin: 0 auto; text-align: center; }

  /* Admin */
  .filter-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .admin-tabs { overflow-x: auto; }
  .admin-tab { white-space: nowrap; flex-shrink: 0; padding: 12px 16px; }
  .data-table { font-size: 0.75rem; }
  .data-table th, .data-table td { padding: 8px 8px; }
  .modal-body { padding: 20px 16px; }
  .modal-header { padding: 18px 16px; }
  .field-row { grid-template-columns: 1fr !important; gap: 12px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }

  /* Login card */
  .login-card { padding: 36px 24px; }
}
