/* ===== ROUTESMITH REDESIGN — BRIGHT & CONVERSION-FOCUSED ===== */

:root {
  --bg: #FAFBFC;
  --bg-alt: #F1F5F9;
  --surface: #FFFFFF;
  --primary: #0891B2;
  --primary-dark: #0E7490;
  --accent: #F97316;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

/* ===== HERO ===== */
.hero {
  padding: 8rem 0 5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.2);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-secondary:hover {
  color: var(--text);
}

.hero-social-proof {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-avatars {
  display: flex;
}

.hero-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
}

.hero-avatars span:first-child { margin-left: 0; }

.hero-social-proof-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-social-proof-text strong {
  color: var(--text);
}

/* ===== 3-STEP EXPLAINER ===== */
.steps {
  padding: 6rem 0;
  background: var(--bg);
}

.steps-header {
  text-align: center;
  margin-bottom: 4rem;
}

.steps-header .section-subtitle {
  margin: 0 auto;
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16.33%;
  right: 16.33%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
  z-index: 0;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== SAMPLE ITINERARY ===== */
.itinerary {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.itinerary-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.itinerary-header .section-subtitle {
  margin: 0 auto;
}

.itinerary-preview {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.itinerary-preview-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 1.5rem 2rem;
}

.itinerary-preview-header .trip-dest {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.itinerary-preview-header .trip-meta {
  font-size: 0.85rem;
  opacity: 0.85;
  display: flex;
  gap: 1.25rem;
}

.itinerary-preview-header .trip-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.itinerary-days {
  padding: 1.5rem 2rem;
}

.day-block {
  margin-bottom: 1.75rem;
}

.day-block:last-child { margin-bottom: 0; }

.day-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.day-badge {
  background: rgba(8, 145, 178, 0.1);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.day-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.day-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--border);
  margin-left: 0.25rem;
}

.day-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
}

.day-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.day-item-text {
  line-height: 1.5;
}

.day-item-time {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
}

.itinerary-preview-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}

.itinerary-budget {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.itinerary-budget strong {
  color: var(--text);
  font-weight: 700;
}

.itinerary-view-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease;
}

.itinerary-view-cta:hover { gap: 0.5rem; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 6rem 0;
  background: var(--bg);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== CTA BAND ===== */
.cta-band {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--text);
  color: rgba(255,255,255,0.6);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand span { color: var(--primary); }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 7rem 0 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stats-bar {
    gap: 2rem;
  }

  .itinerary-preview-header .trip-meta {
    flex-direction: column;
    gap: 0.4rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ===== PLAN FORM SECTION ===== */
.plan-section {
  padding: 6rem 0 5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.plan-header {
  text-align: center;
  margin-bottom: 3rem;
}

.plan-header .section-subtitle {
  margin: 0 auto;
}

.plan-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2.75rem;
  box-shadow: var(--shadow-lg);
}

/* Form layout */
.trip-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-row-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Inputs and selects */
.trip-form input[type="text"],
.trip-form input[type="email"],
.trip-form input[type="date"],
.trip-form select,
.trip-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.trip-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.trip-form input[type="text"]::placeholder,
.trip-form input[type="email"]::placeholder,
.trip-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.trip-form input[type="text"]:focus,
.trip-form input[type="email"]:focus,
.trip-form input[type="date"]:focus,
.trip-form select:focus,
.trip-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.trip-form textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

/* Chip multi-select */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
  outline: none;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(8, 145, 178, 0.06);
}

.chip-selected {
  background: rgba(8, 145, 178, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.chip-selected:hover {
  background: rgba(8, 145, 178, 0.15);
}

/* Submit button */
.btn-plan-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
  width: 100%;
  margin-top: 0.5rem;
}

.btn-plan-submit:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.btn-plan-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-label {
  display: inline;
}

.btn-loading {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Confirmation message */
.form-confirmation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #059669;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-confirmation svg {
  flex-shrink: 0;
}

/* Error message */
.form-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== RESPONSIVE FORM ===== */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-row-three {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .plan-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .plan-section {
    padding: 4rem 0 3rem;
  }

  .form-row-three {
    grid-template-columns: 1fr;
  }

  .chip-grid {
    gap: 0.5rem;
  }

  .chip {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .plan-card {
    padding: 1.5rem 1.25rem;
  }
}