/* Voyagr — Premium travel marketplace */
:root {
  --bg: #FAF7F0;
  --bg-alt: #F0EBE0;
  --fg: #1A1A18;
  --fg-muted: #6B6860;
  --accent: #1B4332;
  --accent-light: #2D6A4F;
  --gold: #C4974A;
  --card-bg: #FFFFFF;
  --border: #E0D9CC;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: linear-gradient(160deg, #FAF7F0 0%, #EDE7D8 60%, #C9D9CA 100%);
  padding: 80px 80px 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196,151,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* Trip card stack */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 420px;
}

.trip-card-stack { position: relative; width: 280px; }

.trip-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  width: 260px;
}

.trip-card-1 { bottom: 0; left: 0; z-index: 3; }
.trip-card-2 { bottom: 50px; right: -20px; z-index: 2; transform: rotate(2deg); }
.trip-card-3 { bottom: 100px; left: -30px; z-index: 1; transform: rotate(-2deg); }

.card-tag {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.card-meta { font-size: 12px; color: var(--fg-muted); margin-bottom: 4px; }
.card-agent { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; }

/* ── MANIFESTO ── */
.manifesto {
  background: var(--accent);
  color: var(--bg);
  padding: 100px 80px;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.manifesto-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 28px;
  font-style: italic;
}

.manifesto-body {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(250,247,240,0.75);
  max-width: 620px;
  margin-bottom: 20px;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid rgba(250,247,240,0.15);
}

.stat-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-label { font-size: 13px; color: rgba(250,247,240,0.65); line-height: 1.5; }

/* ── FEATURES ── */
.features {
  padding: 100px 80px;
  background: var(--bg);
}

.features-header { margin-bottom: 64px; }

.features-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.features-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.2;
  max-width: 560px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.feature-icon {
  color: var(--gold);
  margin-bottom: 16px;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── PROCESS ── */
.process {
  padding: 100px 80px;
  background: var(--bg-alt);
}

.process-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.process-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 64px;
  max-width: 500px;
}

.process-steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:first-child { border-top: 1px solid var(--border); }

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  padding-top: 4px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ── OBJECTIONS ── */
.objections {
  padding: 100px 80px;
  background: var(--bg);
}

.objections-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 56px;
}

.objections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
}

.objection-q {
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.4;
}

.objection-a {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 80px;
  background: linear-gradient(180deg, var(--bg) 0%, #E8EFE5 100%);
  text-align: center;
}

.closing-quote blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto 48px;
}

.closing-text {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  padding: 48px 80px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-left: 16px;
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ── SITE NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background: rgba(250,247,240,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--accent); }

.nav-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--card-bg);
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-btn:hover { background: var(--accent-light); }

/* ── AGENT LIST ── */
.agent-list-page {
  min-height: 100vh;
  padding: 120px 80px 80px;
  background: var(--bg);
}

.agent-list-header { margin-bottom: 48px; }

.agent-list-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.agent-list-sub {
  font-size: 16px;
  color: var(--fg-muted);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.agent-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
}

.agent-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.agent-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

.agent-card-name {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.agent-card-meta {
  font-size: 12px;
  color: var(--fg-muted);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.verified-badge svg { color: var(--gold); }

.agent-card-bio {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.agent-tag {
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-alt);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.agent-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-muted);
}

.response-badge {
  color: var(--accent-light);
  font-weight: 600;
}

.no-agents {
  text-align: center;
  padding: 80px 0;
  color: var(--fg-muted);
}

.no-agents p { font-size: 18px; margin-bottom: 16px; }

.btn-primary {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--card-bg);
  background: var(--accent);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--accent-light); color: var(--card-bg); }

/* ── AGENT PROFILE ── */
.agent-profile-page {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 80px;
}

.profile-header {
  background: linear-gradient(160deg, #FAF7F0 0%, #EDE7D8 60%, #C9D9CA 100%);
  padding: 80px 80px 60px;
}

.profile-header-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
}

.profile-info { flex: 1; }

.profile-name {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.profile-meta {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.profile-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-bio {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 680px;
  margin-bottom: 28px;
}

.profile-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.profile-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
}

.reviews-section h2,
.inquiry-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.review-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.review-trip {
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}

.review-rating {
  display: flex;
  gap: 3px;
}

.star { color: var(--gold); font-size: 14px; }

.review-traveler {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.review-date {
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 8px;
  opacity: 0.7;
}

.no-reviews {
  font-size: 14px;
  color: var(--fg-muted);
  font-style: italic;
  padding: 20px 0;
}

/* Inquiry form */
.inquiry-section {
  position: sticky;
  top: 100px;
}

.inquiry-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.form-group { margin-bottom: 16px; }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-light);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--card-bg);
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--accent-light); }

.form-success {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #2E7D32;
}

.form-error {
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #C62828;
}

/* Registered banner */
.registered-banner {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 24px;
  font-size: 15px;
  color: #2E7D32;
  font-weight: 500;
}

/* ── AGENT REGISTRATION ── */
.agent-register-page {
  min-height: 100vh;
  background: var(--bg);
  padding: 120px 80px 80px;
}

.register-inner {
  max-width: 640px;
  margin: 0 auto;
}

.register-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.register-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

.register-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.register-form h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 40px;
    min-height: auto;
  }
  .hero-visual { display: none; }
  .manifesto, .features, .process, .objections, .closing { padding: 80px 40px; }
  .features-grid, .objections-grid { grid-template-columns: 1fr; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .hero, .manifesto, .features, .process, .objections, .closing, .footer {
    padding: 60px 24px;
  }
  .hero-headline { font-size: 36px; }
  .step { grid-template-columns: 56px 1fr; gap: 20px; }
  .step-number { font-size: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}