:root {
  --blue: #075fd8;
  --blue-dark: #082f75;
  --cyan: #08a6c2;
  --coral: #ff6252;
  --sun: #ffb84d;
  --green: #0d8b78;
  --ink: #10213b;
  --muted: #627188;
  --line: #d9e3ef;
  --soft: #f5f8fc;
  --soft-strong: #e8f1fb;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(20, 32, 51, 0.10);
  --shadow-soft: 0 10px 28px rgba(20, 32, 51, 0.08);
  --page-max: 1180px;
  --app-max: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3 { margin: 0 0 12px; line-height: 1.12; letter-spacing: 0; }
h1 { font-size: 48px; max-width: 760px; }
h2 { font-size: 30px; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 6vw;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
}

.site-nav, .hero-actions, .wizard-actions, .inline-form, .compact-form, .version-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav { flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--ink); font-weight: 700; font-size: 14px; }
.public-flash { padding: 0 6vw; }
.public-flash .alert { margin: 14px auto 0; max-width: var(--page-max); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(11, 94, 215, .22); }
.btn-primary:hover { color: var(--white); background: var(--blue-dark); }
.btn-secondary { border-color: var(--line); background: var(--soft); color: var(--ink); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: rgba(255,255,255,.86); }
.btn-danger { background: #be123c; color: var(--white); box-shadow: 0 10px 24px rgba(190, 18, 60, .18); }
.btn-danger:hover { background: #9f1239; color: var(--white); }
.btn-lg { min-height: 50px; padding: 13px 22px; font-size: 15px; }
.btn-small { min-height: 34px; padding: 7px 10px; font-size: 12px; }
.btn-block { width: 100%; }

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 88px 6vw 120px;
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid var(--line);
}

.hero-content { max-width: 780px; }
.hero p { max-width: 680px; font-size: 20px; color: #334155; }

.section {
  padding: 72px 6vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.soft-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid, .pricing-grid, .stats-grid, .refine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 22px; }
.refine-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.feature-card, .price-card, .stat-card, .panel, .auth-card, .option-card, .sample-itinerary > div, .lead-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card, .price-card, .stat-card { padding: 22px; }
.feature-card span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #e9f4ff;
  color: var(--blue);
  font-weight: 900;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 3px; background: var(--green); }

.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-grid span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.sample-itinerary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sample-itinerary > div { padding: 22px; }
.sample-itinerary strong { color: var(--blue); display: block; }
.sample-itinerary span { display: block; font-weight: 800; margin: 6px 0; }
.section-action { margin-top: 22px; }

.price-card.featured { border-color: var(--blue); box-shadow: 0 20px 42px rgba(11, 94, 215, .16); }
.price { font-size: 24px; font-weight: 900; color: var(--blue); }
.price-card ul { padding-left: 20px; color: var(--muted); }

.faq-list { display: grid; gap: 12px; max-width: 860px; }
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--white);
}
summary { cursor: pointer; font-weight: 800; }

.final-cta {
  margin: 72px 6vw;
  padding: 42px;
  border-radius: 8px;
  background: var(--blue-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.final-cta h2 { color: var(--white); margin: 0; }

.demo-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.demo-document { margin-top: 34px; }

.commercial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 36px;
  align-items: center;
  padding: 72px 6vw;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

.commercial-hero p { max-width: 680px; font-size: 19px; color: #334155; }

.lead-card {
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.lead-card label {
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
}

.lead-card input,
.lead-card textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 6vw;
  border-top: 1px solid var(--line);
  background: var(--soft);
}
.site-footer nav { display: flex; gap: 18px; }

.auth-page, .legal-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 60px 6vw;
  background: var(--soft);
}
.legal-page { display: block; max-width: 900px; margin: 0 auto; background: var(--white); }
.auth-card { width: min(460px, 100%); padding: 30px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.legal-page h2 {
  margin-top: 30px;
  font-size: 22px;
}

.legal-page ul {
  color: #334155;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-page li {
  margin-bottom: 8px;
}

.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 800; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-width: 16px;
  accent-color: var(--blue);
}
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-divider { height: 1px; background: var(--line); margin: 6px 0; }

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-weight: 700;
}
.alert-error { border-color: #fecaca; background: #fff1f2; color: #9f1239; }
.alert-success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }

.app-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; background: var(--soft); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  background: #0f203f;
  color: var(--white);
}
.sidebar .brand { color: var(--white); }
.sidebar-brand { margin-bottom: 26px; }
.side-nav { display: grid; gap: 8px; }
.side-nav a {
  color: #dbeafe;
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 800;
}
.side-nav a:hover { background: rgba(255,255,255,.10); color: var(--white); }
.app-main { padding: 22px; min-width: 0; }
.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}
.page-heading h1, .itinerary-toolbar h1 { font-size: 34px; }
.panel { padding: 22px; margin-bottom: 22px; box-shadow: none; }
.narrow-panel { max-width: 720px; }
.danger-panel { border-color: #fecdd3; background: #fff7f8; }
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.stat-card span { display: block; color: var(--muted); font-weight: 800; font-size: 13px; }
.stat-card strong { font-size: 28px; color: var(--blue-dark); }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.table-subtitle { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

.status-badge {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  background: var(--soft);
}
.status-completed, .status-active { background: #dcfce7; color: #166534; }
.status-processing, .status-pending { background: #dbeafe; color: #1d4ed8; }
.status-failed, .status-blocked { background: #ffe4e6; color: #be123c; }

.admin-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.mini-metrics div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.mini-metrics span,
.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-metrics strong { font-size: 24px; color: var(--blue-dark); }

.usage-bars { display: grid; gap: 8px; }
.usage-bar-row {
  display: grid;
  grid-template-columns: 58px minmax(80px, 1fr) 120px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.usage-bar-row i {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: var(--blue);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.detail-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.compact-two-col { gap: 18px; }

.backup-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.alert-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.empty-state {
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.wizard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}
.wizard-progress { height: 8px; background: var(--soft); border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
.wizard-progress span { display: block; height: 100%; background: var(--blue); transition: width .2s ease; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.option-grid, .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  cursor: pointer;
  box-shadow: none;
}
.checkbox-grid label {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
  font-weight: 700;
}
.wizard-actions { justify-content: space-between; margin-top: 24px; }
.review-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.review-box div, .review-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}
.review-box strong, .review-list dt { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 900; }
.review-box span, .review-list dd { margin: 0; font-weight: 800; }

.job-screen {
  min-height: 62vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 16px;
}
.loader-ring {
  width: 62px;
  height: 62px;
  border: 6px solid #dbeafe;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress-track {
  width: min(520px, 100%);
  height: 10px;
  border-radius: 8px;
  background: #dbeafe;
  overflow: hidden;
}
.progress-track span { display: block; height: 100%; background: var(--green); transition: width .25s ease; }

.itinerary-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.version-row { justify-content: space-between; flex-wrap: wrap; }
.version-chip {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
}
.version-chip.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.itinerary-document {
  max-width: 980px;
  margin: 0 auto 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.itinerary-document h2 { margin-top: 28px; color: var(--blue-dark); }
.itinerary-document h3, .itinerary-document h4 { margin-top: 22px; }
.itinerary-document p { color: #263244; }
.itinerary-document ul, .itinerary-document ol { color: #263244; }
.itinerary-table th { background: var(--soft); }

.upgrade-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.upgrade-panel h2 { margin-bottom: 6px; }
.upgrade-panel p { margin: 0; }

.export-page {
  padding: 34px 6vw 64px;
}

.export-toolbar {
  max-width: 980px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.export-document {
  box-shadow: var(--shadow-soft);
}

.print-cover {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--line);
}

.print-cover span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}
.notice-box {
  margin-top: 26px;
  padding: 14px;
  border-left: 4px solid var(--coral);
  background: #fff7ed;
  border-radius: 8px;
  font-weight: 800;
}
.itinerary-preview { max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }

.inline-form { margin-bottom: 18px; flex-wrap: wrap; }
.inline-form input { max-width: 280px; }
.compact-form { align-items: center; flex-wrap: wrap; }
.compact-form select { min-width: 130px; padding: 7px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.toggle input { width: auto; }

/* Professional visual layer */
.site-header {
  padding: 14px 6vw;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 1px 0 rgba(215, 224, 236, .78), 0 12px 32px rgba(20, 32, 51, .04);
}

.brand { letter-spacing: 0; }

.brand-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 9px 18px rgba(7, 91, 199, .22);
}

.site-nav a {
  padding: 8px 4px;
  color: #26364d;
}

.site-nav .btn-primary,
.site-nav .btn-primary:hover {
  color: var(--white);
}

.btn {
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0c74d6);
  box-shadow: 0 12px 26px rgba(7, 91, 199, .24);
}

.btn-secondary {
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.btn-outline {
  border-color: rgba(7, 91, 199, .34);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(20, 32, 51, .06);
}

.pro-hero {
  min-height: 82vh;
  padding: 76px 6vw 96px;
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  align-items: center;
  gap: 44px;
}

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

.hero h1 {
  font-size: clamp(42px, 5.2vw, 70px);
  max-width: 850px;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  color: #334155;
  font-size: clamp(18px, 1.7vw, 22px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid rgba(7, 91, 199, .18);
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 900;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 28px;
}

.hero-proof div {
  padding: 13px 14px;
  border: 1px solid rgba(215,224,236,.88);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--blue-dark);
  font-size: 13px;
}

.hero-proof span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-preview {
  width: min(100%, 430px);
  justify-self: end;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 28px 70px rgba(20, 32, 51, .16);
  backdrop-filter: blur(14px);
}

.preview-header,
.preview-route,
.preview-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.preview-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-header strong {
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
}

.preview-route {
  padding: 18px 4px;
  color: var(--blue-dark);
  font-weight: 900;
}

.preview-route i {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  position: relative;
}

.preview-route i::before,
.preview-route i::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.preview-route i::before { left: 0; }
.preview-route i::after { right: 0; }

.preview-day {
  margin-top: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.preview-day.active {
  border-color: rgba(7, 91, 199, .35);
  background: linear-gradient(135deg, #f5faff, #ffffff);
}

.preview-day strong {
  color: var(--blue);
  font-size: 13px;
  white-space: nowrap;
}

.preview-day span {
  color: #42526a;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.preview-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  color: #0f5f55;
  background: #e7faf5;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 82px 6vw;
}

.section-heading h2,
.page-heading h1,
.panel-header h2 {
  color: #162238;
}

.soft-band {
  background: linear-gradient(180deg, #f6f9fd 0%, #edf4fb 100%);
}

.feature-card,
.price-card,
.stat-card,
.panel,
.auth-card,
.sample-itinerary > div {
  border-color: rgba(215,224,236,.86);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.price-card,
.sample-itinerary > div {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:hover,
.price-card:hover,
.sample-itinerary > div:hover {
  transform: translateY(-3px);
  border-color: rgba(7,91,199,.24);
  box-shadow: var(--shadow);
}

.feature-card span {
  width: auto;
  min-width: 38px;
  padding: 0 9px;
  background: linear-gradient(135deg, #e8f3ff, #f0fbff);
}

.trip-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trip-type-grid span,
.trip-type-grid a {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #203047;
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.trip-type-grid span::before,
.trip-type-grid a::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(242,106,79,.12);
}

.sample-itinerary > div {
  position: relative;
  overflow: hidden;
}

.sample-itinerary > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--coral));
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.price-card.featured {
  border-color: rgba(7,91,199,.55);
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.price-card h3 {
  color: #142033;
}

.price {
  margin-bottom: 14px;
}

.final-cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 58%, var(--cyan));
  box-shadow: 0 24px 55px rgba(7, 91, 199, .20);
}

.auth-page {
  background:
    linear-gradient(135deg, rgba(7,91,199,.08), rgba(7,151,180,.05)),
    var(--soft);
}

.auth-card {
  padding: 34px;
  box-shadow: 0 24px 62px rgba(20, 32, 51, .12);
}

.auth-card h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.auth-card.center p {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(7, 91, 199, .14);
  border-color: rgba(7, 91, 199, .62);
  box-shadow: 0 0 0 1px rgba(7,91,199,.10);
}

.app-shell {
  background:
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.sidebar {
  background: linear-gradient(180deg, #0b1d38 0%, #102a4e 62%, #073b8e 100%);
  box-shadow: 18px 0 42px rgba(20, 32, 51, .12);
}

.side-nav a {
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.side-nav a:hover {
  border-color: rgba(255,255,255,.12);
}

.app-main {
  padding: 28px;
}

.app-topbar {
  padding: 16px 18px;
  border-color: rgba(215,224,236,.90);
  box-shadow: var(--shadow-soft);
}

.page-heading {
  padding: 8px 2px;
}

.page-heading h1,
.itinerary-toolbar h1 {
  font-size: clamp(30px, 3vw, 42px);
}

.panel {
  padding: 24px;
  border-color: rgba(215,224,236,.90);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 86px;
  height: 86px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7,91,199,.10), rgba(7,151,180,.08));
  transform: rotate(14deg);
}

.stat-card strong {
  position: relative;
  z-index: 1;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  background: #f8fbff;
  color: #66758a;
}

td {
  background: #ffffff;
}

tbody tr:hover td {
  background: #f8fbff;
}

.wizard {
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.wizard-progress {
  height: 10px;
  background: #e5eef8;
}

.wizard-progress span {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.option-card,
.checkbox-grid label {
  min-height: 56px;
  border-color: rgba(215,224,236,.90);
  background: #ffffff;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.option-card:hover,
.checkbox-grid label:hover {
  border-color: rgba(7,91,199,.35);
  background: #f8fbff;
}

.option-card:has(input:checked),
.checkbox-grid label:has(input:checked) {
  border-color: rgba(7,91,199,.58);
  background: #eef7ff;
  box-shadow: 0 10px 24px rgba(7, 91, 199, .10);
}

.review-box div,
.review-list div {
  background: #f8fbff;
}

.itinerary-document {
  box-shadow: 0 18px 48px rgba(20, 32, 51, .08);
}

.notice-box {
  border-left-color: var(--coral);
  background: #fff4ef;
}

/* Layout refinement layer */
.site-header,
.site-footer {
  padding-left: max(24px, calc((100vw - var(--page-max)) / 2));
  padding-right: max(24px, calc((100vw - var(--page-max)) / 2));
}

.section,
.pro-hero {
  padding-left: max(24px, calc((100vw - var(--page-max)) / 2));
  padding-right: max(24px, calc((100vw - var(--page-max)) / 2));
}

.hero-inner {
  max-width: var(--page-max);
  margin-inline: auto;
}

.section-heading {
  margin-inline: auto;
  text-align: center;
}

.feature-grid,
.pricing-grid,
.sample-itinerary,
.trip-type-grid,
.two-col,
.faq-list {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
}

.final-cta {
  width: min(calc(100% - 48px), var(--page-max));
  margin: 72px auto;
}

.site-footer p {
  margin-bottom: 0;
}

.app-main {
  width: 100%;
  max-width: var(--app-max);
  margin-inline: auto;
}

.sidebar {
  padding: 24px 20px;
}

.sidebar-brand {
  padding: 3px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.side-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-nav a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .38;
}

.side-nav a.is-active {
  color: #ffffff;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  box-shadow: inset 3px 0 0 rgba(255,255,255,.82);
}

.side-nav a.is-active::before {
  opacity: 1;
}

.app-topbar {
  min-height: 68px;
}

.panel > h2:first-child {
  margin-bottom: 16px;
}

.table-scroll {
  border: 1px solid rgba(215,224,236,.90);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(20, 32, 51, .04);
}

.table-scroll table {
  min-width: 760px;
}

th:first-child,
td:first-child {
  padding-left: 16px;
}

th:last-child,
td:last-child {
  padding-right: 16px;
}

tbody td strong {
  color: #17243a;
}

.wizard {
  max-width: 1060px;
  margin: 0 auto 24px;
}

.wizard-step h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.wizard-step h2::before {
  content: "Etapa " attr(data-step);
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.option-card span {
  flex: 1;
  font-weight: 800;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form label {
  color: #26364d;
}

.review-box div,
.review-list div {
  min-height: 72px;
}

.itinerary-toolbar,
.version-row,
.refine-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.refine-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.itinerary-document {
  line-height: 1.65;
}

.cookie-banner {
  position: fixed;
  left: max(18px, calc((100vw - var(--page-max)) / 2));
  right: max(18px, calc((100vw - var(--page-max)) / 2));
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(215,224,236,.95);
  border-radius: 8px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 60px rgba(20, 32, 51, .18);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.cookie-banner p {
  margin-bottom: 7px;
  font-size: 14px;
}

.cookie-banner a {
  font-size: 13px;
  font-weight: 800;
}

.cookie-banner span {
  color: var(--muted);
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

/* Brand attraction layer */
body {
  background:
    radial-gradient(circle at 8% 0%, rgba(8, 166, 194, .10), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(255, 184, 77, .16), transparent 28%),
    #ffffff;
}

.brand-lockup {
  min-width: max-content;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-text strong {
  color: inherit;
  font-size: 15px;
  letter-spacing: .02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sidebar .brand-text small {
  color: #a8effa;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  color: transparent;
  background:
    linear-gradient(135deg, #ffffff 0 42%, transparent 42%),
    linear-gradient(135deg, var(--blue), #078ed7);
}

.brand-mark::before {
  content: "";
  position: absolute;
  right: 5px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 3px rgba(255,184,77,.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 6px;
  bottom: 8px;
  height: 8px;
  border: 2px solid #ffffff;
  border-top: 0;
  border-left: 0;
  transform: skewX(-26deg);
}

.brand-mark span {
  position: absolute;
  left: 7px;
  bottom: 8px;
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
  box-shadow: 0 5px 0 rgba(255,255,255,.75);
}

.admin-mark {
  background: linear-gradient(135deg, #17243a, var(--blue));
}

.site-header {
  min-height: 72px;
  border-bottom-color: rgba(217, 227, 239, .78);
}

.site-nav {
  gap: 16px;
}

.site-nav a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #263a56;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .18s ease, transform .18s ease;
}

.site-nav a:not(.btn):hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  letter-spacing: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #075fd8 0%, #0879dc 58%, #08a6c2 100%);
  box-shadow: 0 14px 30px rgba(7, 95, 216, .24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #082f75 0%, #075fd8 58%, #078ed7 100%);
}

.btn-outline {
  color: var(--blue-dark);
}

.pro-hero {
  position: relative;
  min-height: 760px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 86% 15%, rgba(255, 184, 77, .22), transparent 28%),
    radial-gradient(circle at 64% 48%, rgba(8, 166, 194, .13), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.pro-hero::before,
.pro-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.pro-hero::before {
  left: 0;
  right: 0;
  bottom: -1px;
  height: 84px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0), #ffffff 78%),
    repeating-linear-gradient(135deg, rgba(8,166,194,.16) 0 2px, transparent 2px 18px);
  opacity: .76;
}

.pro-hero::after {
  left: max(24px, calc((100vw - var(--page-max)) / 2));
  bottom: 56px;
  width: 210px;
  height: 22px;
  border-radius: 50%;
  background: rgba(8, 166, 194, .14);
  filter: blur(.2px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  gap: 28px;
}

.hero h1 span {
  color: var(--coral);
}

.hero-content {
  padding-top: 16px;
  max-width: 610px;
}

.hero h1 {
  max-width: 610px;
  font-size: clamp(42px, 4.65vw, 64px);
}

.hero p {
  max-width: 510px;
}

.destination-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.destination-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(8, 166, 194, .20);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  color: #173150;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(16, 33, 59, .05);
}

.destination-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 98, 82, .12);
}

.hero-proof {
  margin-top: 26px;
}

.hero-proof div {
  border-color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.90);
}

.hero-card {
  position: relative;
  border-color: rgba(255,255,255,.96);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90)),
    linear-gradient(135deg, rgba(8,166,194,.08), rgba(255,184,77,.10));
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(760px, 56vw);
  min-height: 560px;
  margin: 0;
}

.hero-visual img {
  position: absolute;
  right: -230px;
  top: 12px;
  width: min(900px, 64vw);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 28px 44px rgba(16, 33, 59, .13));
}

.hero-visual .hero-card {
  position: absolute;
  left: 132px;
  bottom: 34px;
  width: min(390px, 78%);
  padding: 15px;
  box-shadow: 0 24px 54px rgba(16, 33, 59, .18);
}

.hero-visual .hero-card::before {
  display: none;
}

.hero-visual .preview-day {
  padding: 10px 11px;
}

.hero-visual .preview-note {
  margin-top: 10px;
  padding: 10px;
}

.hero-card::before {
  content: "";
  position: absolute;
  right: 18px;
  top: -18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0 48%, rgba(255,184,77,.18) 50% 100%);
  box-shadow: 0 16px 35px rgba(255, 184, 77, .24);
}

.preview-header {
  align-items: flex-start;
}

.preview-header span {
  display: block;
  margin-bottom: 4px;
}

.preview-header strong {
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
}

.preview-header em {
  padding: 7px 10px;
  border-radius: 8px;
  color: #0f766e;
  background: #dff8f1;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.preview-progress {
  height: 9px;
  margin: 0 0 16px;
  border-radius: 99px;
  background: #e8f1fb;
  overflow: hidden;
}

.preview-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
}

.brand-signals {
  width: min(calc(100% - 48px), var(--page-max));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(217, 227, 239, .92);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 24px 55px rgba(16, 33, 59, .10);
  overflow: hidden;
}

.brand-signals div {
  padding: 19px;
  background: rgba(255,255,255,.98);
}

.brand-signals strong,
.brand-signals span {
  display: block;
}

.brand-signals strong {
  color: var(--ink);
  font-size: 14px;
}

.brand-signals span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.journey-grid {
  position: relative;
}

.journey-grid::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 41px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--coral));
}

.journey-grid .feature-card {
  position: relative;
  z-index: 1;
}

.journey-grid .feature-card span {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(7, 95, 216, .18);
}

.check-list li::before {
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.trip-type-grid span,
.trip-type-grid a {
  border-color: rgba(217, 227, 239, .86);
}

.trip-type-grid span:hover,
.trip-type-grid a:hover {
  border-color: rgba(8, 166, 194, .34);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.price-card.featured::before {
  content: "Mais escolhido";
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 8px;
  color: #0f766e;
  background: #dff8f1;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid rgba(217, 227, 239, .92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(245,250,255,.94)),
    radial-gradient(circle at 92% 10%, rgba(255,184,77,.22), transparent 32%),
    radial-gradient(circle at 8% 90%, rgba(8,166,194,.12), transparent 36%);
  box-shadow: 0 22px 54px rgba(16, 33, 59, .09);
  overflow: hidden;
}

.dashboard-hero h1 {
  max-width: 780px;
  font-size: clamp(31px, 3.2vw, 48px);
}

.dashboard-hero p {
  max-width: 650px;
  color: #334155;
  font-size: 17px;
}

.dashboard-next-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(7, 95, 216, .16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.dashboard-next-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dashboard-next-card strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.12;
}

.dashboard-next-card p {
  margin-top: 10px;
  font-size: 14px;
}

.dashboard-next-card i {
  align-self: end;
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 18px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7,95,216,.92), rgba(8,166,194,.90)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.28) 22px 24px);
}

.dashboard-next-card i::before,
.dashboard-next-card i::after {
  content: "";
  position: absolute;
  bottom: 40px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255,98,82,.16);
}

.dashboard-next-card i::before {
  left: 34px;
}

.dashboard-next-card i::after {
  right: 42px;
}

.dashboard-heading {
  margin-bottom: 12px;
}

.dashboard-heading h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.stats-grid .stat-card {
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.stats-grid .stat-card span {
  color: #5d6f87;
}

.stats-grid .stat-card strong {
  color: var(--blue-dark);
}

.upgrade-panel {
  border-color: rgba(255, 98, 82, .24);
  background:
    linear-gradient(135deg, rgba(255,244,239,.98), rgba(255,255,255,.98)),
    radial-gradient(circle at 100% 0%, rgba(255,184,77,.20), transparent 32%);
}

.auth-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff 0 40%, transparent 40%),
    linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 30px rgba(7, 95, 216, .20);
}

.auth-card.center::before {
  margin-left: auto;
  margin-right: auto;
}

.wizard {
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.wizard-step > p {
  max-width: 680px;
}

.option-card input,
.checkbox-grid input {
  transform: translateY(1px);
}

@media (max-width: 1000px) {
  h1 { font-size: 38px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-preview { justify-self: start; width: min(100%, 520px); }
  .hero-visual {
    justify-self: center;
    width: min(100%, 720px);
    min-height: 470px;
  }
  .hero-visual img {
    right: 50%;
    top: 0;
    width: min(820px, 118vw);
    transform: translateX(50%);
  }
  .hero-visual .hero-card {
    left: 24px;
    bottom: 12px;
  }
  .commercial-hero { grid-template-columns: 1fr; }
  .pricing-grid, .feature-grid, .sample-itinerary, .stats-grid, .refine-grid, .trip-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-hero { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .side-nav { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}

@media (max-width: 720px) {
  .site-header, .site-footer, .final-cta, .app-topbar, .page-heading, .panel-header, .itinerary-toolbar, .upgrade-panel, .demo-hero, .export-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .site-header { gap: 10px; }
  .brand-lockup { width: 100%; }
  .site-nav { justify-content: flex-start; }
  .site-nav a:nth-child(1),
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) { display: none; }
  .site-nav {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    width: 100%;
    gap: 10px;
  }
  .site-nav a:nth-child(4) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
  }
  .site-nav a:nth-child(5) { min-height: 42px; }
  .hero { min-height: auto; padding: 34px 6vw 44px; background-position: center; }
  .pro-hero { min-height: auto; }
  .pro-hero::after { display: none; }
  .hero h1 {
    font-size: clamp(38px, 10.8vw, 48px);
    line-height: 1.04;
  }
  .hero-proof { display: none; }
  .hero-preview,
  .hero-visual { display: none; }
  .destination-row span { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .brand-signals {
    width: min(calc(100% - 24px), var(--page-max));
    margin-top: -18px;
    grid-template-columns: 1fr;
  }
  .brand-signals div { padding: 16px; }
  .journey-grid::before { display: none; }
  .dashboard-hero { padding: 22px; }
  .dashboard-hero .hero-actions { align-items: stretch; }
  .trust-row { gap: 6px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .hero p { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .feature-grid, .pricing-grid, .stats-grid, .sample-itinerary, .two-col, .form-grid, .option-grid, .checkbox-grid, .review-box, .refine-grid, .trip-type-grid, .admin-actions-grid, .mini-metrics, .detail-grid {
    grid-template-columns: 1fr;
  }
  .usage-bar-row { grid-template-columns: 50px minmax(80px, 1fr); }
  .usage-bar-row strong { grid-column: 2; }
  .backup-reminder { align-items: stretch; flex-direction: column; }
  .side-nav { grid-template-columns: 1fr 1fr; }
  .app-main { padding: 14px; }
  .itinerary-document { padding: 20px; }
  .table-scroll table { min-width: 680px; }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media print {
  body { background: var(--white); }
  .no-print, .sidebar, .app-topbar, .site-header, .site-footer, .cookie-banner, .panel:not(.printable) { display: none !important; }
  .app-shell { display: block; }
  .app-main { padding: 0; }
  .itinerary-document {
    max-width: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  a { color: inherit; }
}
