/* ==========================================================================
   Concorde — identidad "Golden Line" (vista previa)
   Paleta del brand book: negro #000, dorado #B8912F, blanco.
   El rojo #D11317 solo vive en el sello "MIL Razones para Viajar".
   Se carga DESPUÉS de las hojas del sitio y solo en index_golden.html.
   ========================================================================== */
:root {
  --gl-black: #000000;
  --gl-ink: #0a0a0a;
  --gl-card: #121212;
  --gl-card-2: #181818;
  --gl-line: rgba(184, 145, 47, .38);
  --gl-gold: #B8912F;
  --gl-gold-hi: #D9B65C;
  --gl-gold-grad: linear-gradient(135deg, #8F6D1E 0%, #B8912F 38%, #E4C477 55%, #B8912F 72%, #8F6D1E 100%);
  --gl-text: #F4F4F4;
  --gl-muted: #A7A7A7;
  --gl-red: #D11317;
}

body.gl { background: var(--gl-black) !important; color: var(--gl-text); }

/* ---------- Encabezado ---------- */
body.gl .cs-site_header.cs-style1,
body.gl .cs-site_header.cs-style1.cs-white_bg,
body.gl .cs-main_header {
  background: rgba(0, 0, 0, .92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.gl .cs-site_header.cs-style1 { border-bottom: 1px solid var(--gl-line); }
body.gl .cs-site_branding img { filter: brightness(0) invert(1); }
body.gl .cs-nav_list > li > a { color: #fff !important; letter-spacing: .02em; }
body.gl .cs-nav_list > li > a:hover { color: var(--gl-gold-hi) !important; }
body.gl .cs-munu_toggle span,
body.gl .cs-munu_toggle span::before,
body.gl .cs-munu_toggle span::after { background-color: #fff !important; }
body.gl .cs-nav_list { background-color: transparent; }
@media (max-width: 1199px) {
  body.gl .cs-nav .cs-nav_list { background-color: #000 !important; border-top: 1px solid var(--gl-line); }
}

/* ---------- Portada ---------- */
body.gl .banner-hero {
  background-image:
    radial-gradient(ellipse 60% 55% at 62% 62%, rgba(184, 145, 47, .20) 0%, rgba(184, 145, 47, 0) 70%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(184, 145, 47, .14) 0%, rgba(0, 0, 0, 0) 60%) !important;
  background-color: #000 !important;
  display: grid !important;
  grid-template-columns: minmax(380px, 1fr) minmax(0, 1.3fr) minmax(0, .55fr);
  align-items: center;
  column-gap: 12px;
  min-height: 640px !important;
  padding: 36px max(4vw, 24px) 40px !important;
  overflow: hidden;
  position: relative;
}
body.gl .banner-hero::after { /* línea dorada del piso */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gl-gold) 25%, var(--gl-gold-hi) 50%, var(--gl-gold) 75%, transparent);
  opacity: .8;
}
body.gl .banner-hero .cs-hero_shapes,
body.gl .banner-hero .cs-hero_img { display: none !important; }
body.gl .banner-hero > .container { max-width: none !important; width: 100%; padding: 0; position: relative; z-index: 2; }
body.gl .banner-hero .carousel-container { height: 460px; }
body.gl .banner-hero .carousel-slide img { max-width: 100%; height: auto; display: block; margin: 0 auto !important; width: 100% !important;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
body.gl .banner-hero .carousel-slide { display: flex; align-items: center; justify-content: center; }

.gl-hero-copy { position: relative; z-index: 3; }
.gl-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 'Poppins', sans-serif; letter-spacing: .32em; color: var(--gl-gold-hi);
  text-transform: uppercase; margin-bottom: 22px;
}
.gl-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gl-gold); }
.gl-title {
  font-family: 'Poppins', sans-serif; font-weight: 800; color: #fff;
  font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px;
}
.gl-title .gl-gold-text {
  background: var(--gl-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Sello "MIL Razones para Viajar" — única excepción autorizada del rojo */
.gl-mil {
  display: inline-block; background: var(--gl-red); color: #fff; font-weight: 800;
  font-size: .5em; letter-spacing: .04em; padding: .18em .42em .12em; border-radius: .22em;
  vertical-align: .55em; margin-right: .18em;
}
.gl-lead { color: #CFCFCF; font: 400 17px/1.6 'Poppins', sans-serif; max-width: 440px; margin: 0 0 30px; }
.gl-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.gl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 'Poppins', sans-serif; letter-spacing: .02em;
  padding: 16px 28px; border-radius: 999px; cursor: pointer; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.gl-btn-gold { background: var(--gl-gold-grad); background-size: 180% 100%; color: #111 !important; border: 0;
  box-shadow: 0 10px 30px rgba(184, 145, 47, .28); }
.gl-btn-gold:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 34px rgba(184, 145, 47, .4); }
.gl-btn-ghost { background: transparent; color: #fff !important; border: 1px solid var(--gl-line); }
.gl-btn-ghost:hover { border-color: var(--gl-gold); color: var(--gl-gold-hi) !important; }
.gl-btn-ghost img { width: 26px; height: 26px; border-radius: 50%; }
.gl-hero-badges { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.gl-hero-badges span { color: var(--gl-muted); font: 500 13px/1.3 'Poppins', sans-serif; display: flex; align-items: center; gap: 8px; }
.gl-hero-badges span::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gl-gold); }

.gl-hero-conder {
  position: relative; z-index: 3; align-self: end; justify-self: start;
  width: 100%; max-width: 360px; height: auto; margin: 0 0 -46px -40px;
  mix-blend-mode: lighten; /* el fondo negro de la ilustración se funde con la portada */
}
@media (max-width: 1100px) {
  body.gl .banner-hero { grid-template-columns: 1fr 1.2fr; }
  .gl-hero-conder { display: none; }
}
@media (max-width: 767px) {
  body.gl .banner-hero { grid-template-columns: 1fr; padding: 24px 20px 28px !important; min-height: 0 !important; text-align: left; }
  body.gl .banner-hero .carousel-container { height: 230px !important; }
  .gl-title { font-size: 40px; }
  .gl-lead { font-size: 15px; margin-bottom: 22px; }
  .gl-btn { padding: 14px 22px; font-size: 14px; }
  .gl-hero-badges { gap: 14px; margin-top: 22px; }
}

/* ---------- Títulos de sección ---------- */
body.gl .cs-hero_title_modal { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
body.gl .cs-seciton_heading .cs-hero_title_modal::after,
body.gl section > .cs-hero_title_modal::after,
body.gl .gl-section-title::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0;
  background: var(--gl-gold-grad); border-radius: 3px;
}

/* ---------- Secciones: todo sobre negro ---------- */
body.gl section,
body.gl #news,
body.gl .cs-bg[data-src=""] { background-color: #000 !important; }
body.gl section[style*="background-color: black"] { background: #000 !important; }
body.gl .centered-section { background-color: #000 !important; }

/* ---------- Buscador "Compra tu tiquete" ---------- */
body.gl #news > .container > .container {
  background: linear-gradient(180deg, var(--gl-card-2), var(--gl-card));
  border: 1px solid var(--gl-line); border-radius: 22px;
  padding: 30px 24px 26px; max-width: 1080px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .04);
}
body.gl #news .form-group label { color: var(--gl-gold-hi) !important; font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
body.gl #news .form-select,
body.gl #news .form-control {
  background-color: #0b0b0b !important; color: #fff !important;
  border: 1px solid #2e2e2e !important; border-radius: 12px !important; min-height: 50px;
}
body.gl #news .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23B8912F' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important; }
body.gl #news .form-control::-webkit-calendar-picker-indicator { filter: invert(72%) sepia(40%) saturate(600%) hue-rotate(5deg); cursor: pointer; }
body.gl #news .form-select:focus,
body.gl #news .form-control:focus { border-color: var(--gl-gold) !important; box-shadow: 0 0 0 3px rgba(184, 145, 47, .22) !important; }
body.gl #news .form-select option { background: #111; color: #fff; }
body.gl .btn-concorde {
  background: var(--gl-gold-grad) !important; color: #111 !important; border: 0 !important;
  border-radius: 999px !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important;
  padding: 13px 34px !important; min-height: 50px; box-shadow: 0 8px 24px rgba(184, 145, 47, .25);
}
body.gl .btn-concorde:disabled { opacity: .45; filter: grayscale(.4); }
body.gl #searchSpinner p { color: var(--gl-muted); }
body.gl #searchSpinner .spinner-border { color: var(--gl-gold); }

/* Invitación a Cónder dentro del buscador */
.gl-conder-cta {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .07);
}
.gl-conder-cta img { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--gl-gold); background: #000; }
.gl-conder-cta p { margin: 0; color: #d6d6d6; font: 400 15px/1.4 'Poppins', sans-serif; text-align: left; }
.gl-conder-cta p strong { color: #fff; }

/* ---------- Tarjetas de los carruseles ---------- */
body.gl .cs-post.cs-style1 {
  background: linear-gradient(180deg, var(--gl-card-2), var(--gl-card)) !important;
  border: 1px solid var(--gl-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55) !important;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.gl .cs-post.cs-style1:hover { transform: translateY(-4px); border-color: var(--gl-gold);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .7), 0 0 0 1px rgba(184, 145, 47, .25) !important; }
body.gl .cs-hero_subtitle_card { color: #cfcfcf !important; font-family: 'Poppins', sans-serif !important; font-size: 15px !important; }
body.gl .cs-hero_subtitle_card strong,
body.gl .cs-hero_subtitle_card b { color: #fff !important; font-weight: 600; }
body.gl .spanbutton,
body.gl .spanbutton-option,
body.gl .spanbutton-option-dos {
  background: var(--gl-gold-grad) !important; color: #111 !important;
  font-family: 'Poppins', sans-serif !important; font-weight: 700 !important;
  font-size: 18px !important; letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 26px !important; border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(184, 145, 47, .22);
}
body.gl .cs-text_btn { color: #111 !important; }
body.gl .cs-hero_subtitle_card_shadows { box-shadow: 0 18px 40px rgba(0, 0, 0, .55) !important; }

/* Puntos de los carruseles: de rojo a dorado */
body.gl .cs-pagination.cs-style1 li { background-color: #3a3a3a !important; }
body.gl .cs-pagination.cs-style1 li.slick-active { background: var(--gl-gold-grad) !important; }

/* Banners con foto (PQRS, trabaja con nosotros): marco dorado */
body.gl .cs-post_thumb img,
body.gl .centered-section img { border-radius: 26px; }
body.gl .centered-section a img,
body.gl .cs-post_thumb.cs-modal_btn[data-modal="pqrs"] img { box-shadow: 0 0 0 1px var(--gl-line), 0 20px 50px rgba(0, 0, 0, .6); }

/* Plataformas autorizadas */
body.gl .cs-client, body.gl .cs-partner_logo { background: #fff; }

/* Botones rojos heredados -> dorado */
body.gl .custom, body.gl .custom-btn { background: var(--gl-gold-grad) !important; color: #111 !important; }
body.gl .cs-close_modal:hover { background-color: var(--gl-gold) !important; }
body.gl .cs-social_btns.cs-style2 a.cs-color1 { background-color: var(--gl-gold) !important; }

/* ---------- Pie de página ---------- */
body.gl .cs-footer { background: #000 !important; border-top: 1px solid var(--gl-line); position: relative; }
body.gl .cs-footer .cs-widget_title,
body.gl .cs-footer h2, body.gl .cs-footer h3 { color: var(--gl-gold-hi) !important; }
body.gl .cs-footer a:hover { color: var(--gl-gold-hi) !important; }

/* ---------- Chat: Cónder Digital ---------- */
body.gl #cc-fab {
  background: #000 url("../img/golden/conder-avatar.webp") center/cover no-repeat !important;
  border: 2px solid var(--gl-gold) !important;
  box-shadow: 0 0 0 4px rgba(184, 145, 47, .18), 0 10px 26px rgba(0, 0, 0, .55) !important;
  width: 66px !important; height: 66px !important;
}
body.gl #cc-fab:not(.open) .cc-fab-icon { opacity: 0; }
body.gl #cc-fab.open { background-image: none !important; }
body.gl #cc-fab.open .cc-fab-icon { color: var(--gl-gold-hi); }
body.gl .cc-header-avatar { background: #000 !important; border: 1px solid var(--gl-gold); padding: 0 !important; overflow: hidden; border-radius: 50% !important; }
body.gl .cc-header-avatar img { content: url("../img/golden/conder-avatar.webp"); filter: none !important; object-fit: cover !important; }
body.gl .cc-msg-avatar { background: #000 !important; padding: 0 !important; overflow: hidden; border-radius: 50% !important; border: 1px solid var(--gl-gold); }
body.gl .cc-msg-avatar img { content: url("../img/golden/conder-avatar.webp"); filter: none !important; height: 100%; object-fit: cover; }
body.gl .cc-btn-primary { background: var(--gl-gold-grad) !important; color: #111 !important; border: 0 !important; }
body.gl .cc-chip:hover { border-color: var(--gl-gold) !important; }
body.gl .cc-bus-selected { background: var(--gl-gold) !important; color: #111 !important; }

/* ---------- Ajustes v2 ---------- */
body.gl .spanbutton, body.gl .spanbutton-option, body.gl .spanbutton-option-dos { font-size: 16px !important; white-space: nowrap; max-width: 100%; }
body.gl .cs-hero_title_modal::after { content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0; background: var(--gl-gold-grad); border-radius: 3px; }
body.gl .banner-hero .cs-hero_title_modal::after, body.gl .modal .cs-hero_title_modal::after { display: none; }
body.gl img[src="menores.jpeg"] {
  display: block; width: min(1240px, 92vw) !important; max-width: 92vw !important; margin: 40px auto 20px;
  border-radius: 26px; box-shadow: 0 0 0 1px var(--gl-line), 0 24px 60px rgba(0, 0, 0, .6);
}
.gl-ctas .gl-btn { padding: 15px 24px; }

/* ---------- Celular: portada compacta (v3) ----------
   Regla del negocio: al cargar en el celular se debe ver "Compra tu tiquete".
   La portada queda en una línea de marca + el bus; el buscador sube a la primera pantalla. */
@media (max-width: 767px) {
  body.gl .banner-hero { padding: 14px 16px 6px !important; row-gap: 0; }
  body.gl .banner-hero .gl-eyebrow,
  body.gl .banner-hero .gl-lead,
  body.gl .banner-hero .gl-ctas,
  body.gl .banner-hero .gl-hero-badges { display: none !important; }
  body.gl .gl-title { font-size: 27px; line-height: 1.1; margin: 0; text-align: center; white-space: nowrap; }
  body.gl .gl-title br { display: none; }
  body.gl .gl-title .gl-mil { font-size: .62em; vertical-align: .22em; }
  body.gl .banner-hero .carousel-container { height: 175px !important; margin-top: 4px; }
  body.gl #news .cs-seciton_heading .cs-hero_title_modal { padding-top: 8px !important; font-size: 26px !important; margin-bottom: 0; }
  body.gl #news .cs-seciton_heading .cs-hero_title_modal::after { margin-top: 8px; }
  body.gl #news > .container > .container { margin-top: 14px !important; padding: 18px 16px 16px; }
  body.gl #news .form-group { margin-bottom: 12px; }
}
@media (max-width: 767px) {
  body.gl .banner-hero .carousel-container { height: 190px !important; }
  body.gl .banner-hero .carousel-slide img { height: 100% !important; width: auto !important; max-width: 100%; object-fit: contain; }
}

/* Carrusel del bus (v5): las 4 fotos tienen proporciones distintas; cada una se ajusta
   completa dentro del cuadro para que los íconos de servicios nunca se corten. */
body.gl .banner-hero .carousel-slide img {
  width: auto !important; height: auto !important;
  max-width: 100% !important; max-height: 100% !important;
  object-fit: contain; margin: 0 auto !important;
}

/* H1 (v6): "Pasajes de bus en Colombia · Golden Line" con el estilo de la línea superior.
   El sello MIL Razones para Viajar queda igual, como párrafo. */
h1.gl-eyebrow { font-size: 12px; line-height: 1.4; margin: 0 0 22px; font-weight: 600; }
@media (max-width: 767px) {
  body.gl .banner-hero h1.gl-eyebrow { display: flex !important; justify-content: center; font-size: 10px; letter-spacing: .22em; margin: 0 0 6px; }
  body.gl .banner-hero h1.gl-eyebrow::before { width: 18px; }
}
