:root {
  --color-primary: #2E6DA4;
  --color-accent-blue: #2563EB;
  --color-sky: #C9DFF2;
  --color-text: #222;
  --color-text-dark: #22303D;
  --color-text-muted: #5B6B78;
  --color-white: #fff;
  --color-border: #E2E5E9;

  /* Paleta chárter: azul marino elegante + dorado premium */
  --color-ch-black: #0B1F3A;
  --color-ch-charcoal: #142B4D;
  --color-ch-gold: #C9A24B;
  --color-ch-gold-light: #E4C878;
  --color-ch-cream: #F7F3EC;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #FDFCFA;
  color: var(--color-text);
}

a { color: var(--color-ch-gold); text-decoration: none; }

.ch-serif { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ---------- Header ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text-dark);
}

.logo-img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }

.logo-fallback {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-ch-gold-light), var(--color-ch-gold));
  color: var(--color-ch-black);
  box-shadow: 0 8px 22px rgba(201, 162, 75, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 162, 75, 0.45); }

.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 999px;
}
.btn-secondary:hover { background: var(--color-sky); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.ch-hero {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.6) 100%),
    url("../imagenes/vuelos-charter/charter.jpg") center / cover no-repeat;
  padding: 110px 6% 100px;
  text-align: center;
}

.ch-hero-inner { max-width: 780px; margin: 0 auto; }

.ch-eyebrow {
  display: inline-block;
  color: var(--color-ch-gold-light);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.4);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  margin-bottom: 26px;
}

.ch-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 22px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.95), 0 1px 6px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.6);
}

.ch-hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--color-ch-gold-light);
}

.ch-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 1);
}

/* ---------- Stats ---------- */
.ch-stats {
  background: var(--color-ch-black);
  border-top: 1px solid rgba(201, 162, 75, 0.2);
}

.ch-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ch-stat {
  text-align: center;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.ch-stat:last-child { border-right: none; }

.ch-stat span {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-ch-gold-light);
  margin-bottom: 6px;
}

.ch-stat small {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
.ch-section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 6%;
}

.ch-section-alt {
  max-width: none;
  background: var(--color-ch-cream);
  padding: 80px 6%;
}

.ch-section-alt > * { max-width: 1150px; margin-left: auto; margin-right: auto; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--color-ch-gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 700;
  color: var(--color-ch-black);
  line-height: 1.3;
}

/* ---------- Intro grid ---------- */
.ch-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.ch-intro-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--color-ch-black);
  margin: 10px 0 20px;
  line-height: 1.3;
}

.ch-intro-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.ch-intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ch-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--color-ch-cream);
  border-radius: 12px;
  border-left: 3px solid var(--color-ch-gold);
}

.ch-highlight-icon { font-size: 1.3rem; flex-shrink: 0; }

.ch-highlight h4 {
  font-size: 0.96rem;
  color: var(--color-ch-black);
  font-weight: 700;
  margin-bottom: 4px;
}

.ch-highlight p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ---------- Fleet ---------- */
.ch-fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ch-fleet-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ch-fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(11, 31, 58, 0.14);
}

.ch-fleet-featured {
  background: var(--color-ch-black);
  border-color: var(--color-ch-black);
  transform: scale(1.03);
}

.ch-fleet-featured:hover { transform: scale(1.03) translateY(-5px); }

.ch-fleet-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-ch-gold);
  background: rgba(201, 162, 75, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ch-fleet-featured .ch-fleet-tag {
  background: rgba(201, 162, 75, 0.2);
}

.ch-fleet-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ch-black);
  margin-bottom: 12px;
}

.ch-fleet-featured h4 { color: #fff; }

.ch-fleet-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.ch-fleet-featured p { color: rgba(255, 255, 255, 0.65); }

.ch-fleet-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-fleet-card li {
  font-size: 0.84rem;
  color: var(--color-text-dark);
  padding-left: 18px;
  position: relative;
}

.ch-fleet-featured li { color: rgba(255, 255, 255, 0.85); }

.ch-fleet-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-ch-gold);
}

/* ---------- Use cases ---------- */
.ch-usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ch-usecase {
  text-align: center;
  padding: 8px;
}

.ch-usecase-icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.ch-usecase h4 {
  font-size: 0.98rem;
  color: var(--color-ch-black);
  font-weight: 700;
  margin-bottom: 8px;
}

.ch-usecase p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- Process ---------- */
.ch-process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ch-process-step {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.08);
}

.ch-process-num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-ch-gold);
  margin-bottom: 12px;
}

.ch-process-step h4 {
  font-size: 0.96rem;
  color: var(--color-ch-black);
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ---------- Form section ---------- */
.ch-form-section {
  background: var(--color-ch-black);
  padding: 90px 6%;
}

.ch-form-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.ch-form-intro .section-eyebrow { color: var(--color-ch-gold-light); }

.ch-form-intro h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  font-weight: 700;
  margin: 10px 0 18px;
  line-height: 1.3;
}

.ch-form-intro p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 26px;
}

.ch-form-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: 12px;
}

.ch-form-contact span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.ch-form-contact a {
  font-weight: 600;
  color: var(--color-ch-gold-light);
  font-size: 0.94rem;
}

.ch-form {
  background: var(--color-ch-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.ch-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ch-form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.ch-form-field input,
.ch-form-field textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 11px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  outline: none;
  transition: border-color 0.15s ease;
  resize: vertical;
}

.ch-form-field select {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 11px 40px 11px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.04);
  outline: none;
  transition: border-color 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23C9A24B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.ch-form-field select option {
  background: var(--color-ch-charcoal);
  color: #fff;
}

.ch-form-field input::placeholder,
.ch-form-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }

.ch-form-field input:focus,
.ch-form-field textarea:focus,
.ch-form-field select:focus { border-color: var(--color-ch-gold); }

.ch-form-submit { align-self: flex-start; margin-top: 6px; }

.ch-form-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ch-gold-light);
  min-height: 1.2em;
}

.ch-form-status.is-error {
  color: #F87171;
}

/* ---------- Footer ---------- */
.ch-footer {
  text-align: center;
  padding: 30px 6%;
  background: #071429;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.ch-footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ch-footer-links a { color: rgba(255, 255, 255, 0.72); }
.ch-footer-links a:hover { color: var(--color-ch-gold-light); text-decoration: underline; }
.ch-footer-links span { color: rgba(255, 255, 255, 0.28); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ch-intro-grid { grid-template-columns: 1fr; }
  .ch-fleet-grid { grid-template-columns: 1fr; }
  .ch-fleet-featured { transform: none; }
  .ch-fleet-featured:hover { transform: translateY(-5px); }
  .ch-usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .ch-process-row { grid-template-columns: repeat(2, 1fr); }
  .ch-form-wrapper { grid-template-columns: 1fr; }
  .ch-stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .ch-stat:nth-child(2) { border-right: none; }
}

@media (max-width: 640px) {
  .navbar { padding: 12px 5%; }
  .ch-hero { padding: 80px 6% 70px; }
  .ch-usecases-grid { grid-template-columns: 1fr; }
  .ch-process-row { grid-template-columns: 1fr; }
  .ch-form-row { grid-template-columns: 1fr; }
  .ch-form { padding: 24px 20px; }
  .ch-stats-inner { grid-template-columns: 1fr; }
  .ch-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
  .ch-stat:last-child { border-bottom: none; }
}

/* =============================================================================
   Responsive — refuerzo para todos los dispositivos
   (móviles muy pequeños, tablets, laptops, monitores grandes y TV)
   ============================================================================= */

/* Red de seguridad global: nunca permitir scroll horizontal ni imágenes
   que se desborden del contenedor. */
html, body {
  width: 100%;
  overflow-x: hidden;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

/* --- Tablets (768px–980px): paso intermedio de 2 columnas en la flota
   para no saltar de 3 a 1 columna de golpe --- */
@media (min-width: 768px) and (max-width: 980px) {
  .ch-fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .ch-fleet-featured { grid-column: 1 / -1; transform: none; }
  .ch-fleet-featured:hover { transform: translateY(-5px); }
}

/* --- Tablets en general: un poco más de aire en navbar y secciones,
   ya que 980px es el único quiebre entre móvil y escritorio --- */
@media (min-width: 641px) and (max-width: 980px) {
  .navbar { padding: 14px 5%; }
  .ch-hero { padding: 90px 6% 80px; }
  .ch-section, .ch-section-alt { padding: 64px 6%; }
}

/* --- Móviles muy pequeños (320px–374px) --- */
@media (max-width: 374px) {
  .navbar { padding: 10px 4%; gap: 10px; }
  .nav-brand { font-size: 1rem; }
  .btn { padding: 10px 18px; font-size: 0.8rem; }
  .ch-hero { padding: 64px 5% 56px; }
  .ch-hero p { font-size: 0.92rem; }
  .ch-form { padding: 20px 16px; }
  .ch-highlight { padding: 14px 16px; }
}

/* --- Móviles en horizontal (poca altura) --- */
@media (max-height: 480px) and (orientation: landscape) {
  .ch-hero { padding: 40px 6% 36px; }
}

/* --- Monitores grandes y televisores (1600px en adelante) --- */
@media (min-width: 1600px) {
  html { font-size: 17px; }
  .navbar { padding: 18px 4%; }
  .ch-hero { padding: 140px 6% 120px; }
  .ch-hero-inner { max-width: 920px; }
  .ch-section, .ch-form-wrapper, .ch-stats-inner { max-width: 1360px; }
  .ch-section-alt > * { max-width: 1360px; }
}

/* --- Televisores 4K / pantallas ultra anchas (2200px en adelante) --- */
@media (min-width: 2200px) {
  html { font-size: 19px; }
  .ch-hero-inner { max-width: 1080px; }
  .ch-section, .ch-form-wrapper, .ch-stats-inner { max-width: 1560px; }
  .ch-section-alt > * { max-width: 1560px; }
}