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

:root {
  --orange:       #E8500A;
  --orange-dark:  #C44008;
  --orange-light: #FFF3EE;
  --orange-mid:   rgba(232,80,10,0.12);
  --dark:         #1A1208;
  --gray:         #6B7280;
  --gray-light:   #F3F4F6;
  --border:       #E5E7EB;
  --white:        #FFFFFF;
  --success:      #15803D;
  --success-bg:   #DCFCE7;
  --error:        #B91C1C;
  --error-bg:     #FEE2E2;
  --warning-bg:   #FFFBEB;
  --warning-border:#FDE68A;
  --warning-text: #78350F;
}

html, body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--orange);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1.5px solid var(--orange);
  transition: background 0.2s;
}

.nav-cart:hover { background: var(--orange-light); }

.nav-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 18px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.5px;
}

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

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  color: white;
  background: var(--orange);
  padding: 8px 18px;
  border-radius: 8px;
  margin-left: 8px;
  transition: background 0.2s;
}

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

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.2s;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  gap: 4px;
}

.nav-mobile-menu.open { display: flex; }

.mobile-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  padding: 10px 0;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 900;
  color: var(--orange);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-link {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-link:hover { color: var(--orange); }

/* ── CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION ── */
.section {
  padding: 64px 24px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 40px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  transition: background 0.2s, opacity 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: white;
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover { background: var(--orange-light); }

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-dark:hover { background: #2d1f0e; }

.btn-full { width: 100%; }

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
}

/* ── FORM ELEMENTS ── */
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.field-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  background: white;
  transition: border-color 0.2s;
}

.field-inner:focus-within { border-color: var(--orange); }

.field-inner input,
.field-inner select,
.field-inner textarea {
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  background: transparent;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.field-inner input::placeholder { color: #9CA3AF; }

.field-inner svg {
  width: 16px;
  height: 16px;
  color: var(--gray);
  flex-shrink: 0;
}

.field-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 3px;
}

/* ── ALERTS ── */
.alert {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.alert-error {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid #FECACA;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #BBF7D0;
}

.alert-warning {
  background: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
}

/* ── CARD ── */
.card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(232,80,10,0.08);
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-adult   { background: #EFF6FF; color: #1D4ED8; }
.badge-child   { background: #F0FDF4; color: #15803D; }
.badge-infant  { background: #FFF7ED; color: #C2410C; }
.badge-hotel   { background: var(--orange-light); color: var(--orange); }
.badge-flight  { background: #F0F9FF; color: #0369A1; }
.badge-paid    { background: var(--success-bg); color: var(--success); }
.badge-pending { background: #FEF9C3; color: #854D0E; }
.badge-failed  { background: var(--error-bg); color: var(--error); }

/* ── TRAVELER COUNTER ── */
.traveler-box {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.traveler-box:focus-within { border-color: var(--orange); }

.traveler-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.traveler-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.traveler-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.traveler-sublabel {
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
}

.counter {
  display: flex;
  align-items: center;
  gap: 14px;
}

.counter-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  line-height: 1;
}

.counter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.counter-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  min-width: 20px;
  text-align: center;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(160deg, #1A1208 0%, #2D1F0E 60%, #3D2510 100%);
  padding: 52px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,80,10,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  position: relative;
  margin-bottom: 10px;
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

/* ── STEP INDICATOR ── */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 32px auto;
  max-width: 600px;
  padding: 0 24px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-item.done:not(:last-child)::after { background: var(--orange); }

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  position: relative;
  z-index: 1;
}

.step-item.active .step-num {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.step-item.done .step-num {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  white-space: nowrap;
}

.step-item.active .step-label { color: var(--orange); }
.step-item.done .step-label { color: var(--orange); }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }

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

  .section { padding: 48px 16px; }

  .steps-indicator { gap: 0; }
  .step-label { display: none; }
}

@media (max-width: 480px) {
  .container, .container-sm { padding: 0 16px; }
}