/* ── CNY Travel · style.css ──────────────────────────────────────────────
   Palette
   Navy deep    #0B2E4E   hero bg, footer
   Ocean mid    #1565A3   accents, links
   Sky bright   #4DA6D6   hover states
   Gold warm    #C8973A   eyebrow labels, highlights
   Cream        #F7F8FA   page bg
   ──────────────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a1a2e;
  background: #f7f8fa;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: #0b2e4e;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

em { font-style: italic; color: #4da6d6; }

a { color: #1565a3; text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8973a;
  margin-bottom: 0.4rem;
}

/* ── LAYOUT SHELLS ──────────────────────────────────────────────────── */
.section { padding: 4rem 1.5rem; }
.section-inner { max-width: 860px; margin: 0 auto; }
.section-sub { color: #4a5568; margin-bottom: 2rem; max-width: 600px; }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(150deg, #0b2e4e 0%, #1565a3 70%, #1a7ec5 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.hero-inner { max-width: 680px; margin: 0 auto; position: relative; }

.brand { margin-bottom: 2rem; }
.brand-name {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: 0.01em;
}
.plane-icon { width: 20px; height: 20px; stroke: #4da6d6; }
.brand-affil {
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.65;
  margin-top: 3px;
  text-transform: uppercase;
}
.brand-affil strong { opacity: 1; color: #fff; }

.hero h1 { color: #fff; margin: 0.5rem 0 1rem; }
.hero h1 em { color: #7dd3fc; font-style: italic; }

.hero-sub {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 12px; opacity: 0.75;
}
.hero-trust span::before { content: ''; }

.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #0b2e4e;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 12px 26px; border-radius: 8px; border: none;
  cursor: pointer; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); text-decoration: none; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 11px 24px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.45);
  cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.form-section .btn-outline { color: #1565a3; border-color: #1565a3; }
.form-section .btn-outline:hover { background: #e8f4fd; }

.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px;
  background: #0b2e4e; color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 600;
  border: none; border-radius: 8px; cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.15s, transform 0.1s;
}
.btn-submit:hover { background: #1565a3; }
.btn-submit:active { transform: scale(0.99); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── DEALS SECTION ───────────────────────────────────────────────────── */
.deals-section { background: #f7f8fa; }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  margin: 1.5rem 0 1rem;
}

.promo-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.promo-card:hover {
  border-color: #1565a3;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21,101,163,0.12);
  text-decoration: none;
}
.promo-card-img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  display: block; background: #e2e8f0;
}
.promo-card-img-placeholder {
  width: 100%; aspect-ratio: 3/2;
  background: linear-gradient(135deg, #1565a3 0%, #4da6d6 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.promo-card-body { padding: 14px 16px; }
.promo-card-title { font-weight: 600; font-size: 14px; color: #0b2e4e; margin-bottom: 4px; }
.promo-card-sub { font-size: 12px; color: #718096; }
.promo-card-cta {
  display: flex; align-items: center; gap: 4px;
  margin-top: 10px; font-size: 12px;
  font-weight: 600; color: #1565a3;
}

.promo-empty { color: #718096; font-size: 15px; padding: 1rem 0; }
.promo-footnote { font-size: 13px; color: #718096; font-style: italic; }

/* ── CONTACT OPTIONS ─────────────────────────────────────────────────── */
.contact-section { background: #fff; padding-bottom: 2rem; }
.contact-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin: 1.5rem 0;
}
.contact-opt {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 20px 16px;
  background: #f7f8fa; border: 1px solid #e2e8f0; border-radius: 12px;
  text-decoration: none; color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.contact-opt:hover { border-color: #1565a3; background: #e8f4fd; text-decoration: none; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #e8f4fd;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; stroke: #1565a3; }
.contact-label { font-weight: 600; font-size: 14px; color: #0b2e4e; }
.contact-val { font-size: 12px; color: #718096; text-align: center; word-break: break-all; }

.divider-or {
  display: flex; align-items: center; gap: 12px;
  color: #a0aec0; font-size: 13px; margin-top: 1.5rem;
}
.divider-or::before, .divider-or::after {
  content: ''; flex: 1; height: 1px; background: #e2e8f0;
}

/* ── FORM ────────────────────────────────────────────────────────────── */
.form-section { background: #f7f8fa; }
.form-inner { max-width: 680px; }

fieldset {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  background: #fff;
}
legend {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  color: #0b2e4e;
  padding: 0 6px;
  letter-spacing: 0.02em;
}

.field { margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

label {
  display: block;
  font-size: 13px; font-weight: 500;
  color: #4a5568;
  margin-bottom: 5px;
}
.req { color: #e53e3e; }

input[type=text],
input[type=email],
input[type=tel],
input[type=date],
select,
textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a202c;
  background: #fff;
  border: 1px solid #cbd5e0;
  border-radius: 7px;
  padding: 9px 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1565a3;
  box-shadow: 0 0 0 3px rgba(21,101,163,0.12);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23718096' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 36px;
  cursor: pointer;
}
textarea { resize: vertical; min-height: 90px; }

.field-hint { font-size: 11px; color: #a0aec0; margin-top: 5px; }

.date-sub { margin-top: 1rem; }
.hidden { display: none !important; }

/* Radio + checkbox stacks */
.radio-stack { display: flex; flex-direction: column; gap: 8px; }
.radio-opt {
  display: flex; align-items: center; gap: 10px;
  background: #f7f8fa; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 10px 14px; cursor: pointer;
  font-size: 14px; font-weight: 400; color: #2d3748;
  transition: border-color 0.12s, background 0.12s;
}
.radio-opt:hover { border-color: #1565a3; background: #e8f4fd; }
.radio-opt input[type=radio] { accent-color: #1565a3; width: 16px; height: 16px; flex-shrink: 0; }

/* Pill selectors */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: #f7f8fa; color: #2d3748;
  border: 1px solid #cbd5e0; border-radius: 99px;
  padding: 7px 16px; font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all 0.12s;
}
.pill:hover { border-color: #1565a3; color: #1565a3; background: #e8f4fd; }
.pill.selected { background: #1565a3; color: #fff; border-color: #1565a3; }

/* Checkbox grid */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
}
.check-opt {
  display: flex; align-items: center; gap: 9px;
  background: #f7f8fa; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 9px 12px; cursor: pointer;
  font-size: 13px; font-weight: 400; color: #2d3748;
  transition: border-color 0.12s;
}
.check-opt:hover { border-color: #1565a3; background: #e8f4fd; }
.check-opt input[type=checkbox] { accent-color: #1565a3; width: 15px; height: 15px; flex-shrink: 0; }

/* Consent row */
.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 1rem;
  font-size: 12px; color: #718096; line-height: 1.5;
}
.consent-row input[type=checkbox] { margin-top: 2px; accent-color: #1565a3; flex-shrink: 0; }

/* Form states */
.form-error {
  color: #c53030; background: #fff5f5; border: 1px solid #fed7d7;
  border-radius: 8px; padding: 10px 14px;
  font-size: 13px; margin-top: 1rem;
  display: none;
}
.form-error.visible { display: block; }

.form-success {
  text-align: center; padding: 3rem 1rem;
}
.success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: #c6f6d5; color: #276749;
  font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-success p { color: #4a5568; }
.success-direct { margin-top: 1rem; font-size: 14px; }

/* ── PROMO PAGE ──────────────────────────────────────────────────────── */
.promo-page { background: #f7f8fa; }

.promo-header {
  background: #0b2e4e; padding: 14px 1.5rem;
  position: sticky; top: 0; z-index: 10;
}
.promo-header-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.back-link {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.8); font-size: 13px;
  text-decoration: none; transition: color 0.15s;
}
.back-link:hover { color: #fff; text-decoration: none; }
.brand-sm {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500;
}

.promo-main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 1rem; }
.promo-content { text-align: center; }
.promo-flyer-img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: block; margin: 0 auto;
}
.promo-flyer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: #0b2e4e; margin: 1.5rem 0 0.5rem;
  text-transform: capitalize;
}
.promo-loading { color: #718096; padding: 3rem 0; }

.promo-cta-bar {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin: 1.5rem 0;
}
.promo-cta-text { font-size: 15px; color: #4a5568; }


/* ── INTELETRAVEL LOGO ───────────────────────────────────────────────── */
.inteletravel-logo {
  height: 22px;
  width: auto;
  opacity: 0.85;
  display: block;
  margin-top: 4px;
  filter: brightness(0) invert(1);  /* makes it white to match the hero */
}
.inteletravel-logo-sm {
  height: 16px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}
/* ── FOOTER ──────────────────────────────────────────────────────────── */
.site-footer {
  background: #0b2e4e; color: rgba(255,255,255,0.7);
  padding: 2.5rem 1.5rem;
}
.footer-inner { max-width: 860px; margin: 0 auto; }
.footer-brand {
  display: flex; flex-direction: column;
  margin-bottom: 1rem;
  font-size: 14px;
}
.footer-brand strong { color: #fff; font-size: 16px; margin-bottom: 2px; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  font-size: 13px; margin-bottom: 1.25rem;
}
.footer-links a { color: #7dd3fc; }
.footer-links a:hover { color: #fff; }
.footer-legal { font-size: 11px; opacity: 0.5; line-height: 1.6; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-opts { grid-template-columns: 1fr 1fr; }
  .promo-cta-bar { flex-direction: column; text-align: center; }
  .btn-submit { font-size: 15px; }
  fieldset { padding: 1rem; }
}
@media (max-width: 400px) {
  .contact-opts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
