/* =====================================================================
   24x7 Travel Service — landing page
   Recreación en HTML/CSS del diseño original (tema Bridge / WPBakery)
   Paleta y tipografía tomadas del sitio WordPress anterior.
   ===================================================================== */

:root {
  --gold: #a99e03;
  --gold-dark: #8f8600;
  --dark: #242424;
  --dark-2: #1c1c1c;
  --heading: #303030;
  --text: #222222;
  --grey: #f5f5f5;
  --white: #ffffff;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --container: 1100px;
  --header-h: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 27px;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
p { margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  margin: 0;
}
h2 { font-size: 30px; line-height: 34px; letter-spacing: -1.45px; }
h3 { font-size: 18px; line-height: 24px; letter-spacing: -0.9px; }
h5 { font-size: 16px; line-height: 24px; letter-spacing: -0.4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Botones (qbutton) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  line-height: 44px;
  height: 44px;
  padding: 0 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn--small { font-size: 11px; height: 27px; line-height: 25px; padding: 0 14px; }
.btn--hero  { font-size: 12px; height: 59px; line-height: 57px; padding: 0 44px; margin-top: 26px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background .3s, box-shadow .3s, height .3s;
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 40px;
}
.header__logo { display: block; height: 78px; flex: 0 0 auto; }
.header__logo img { height: 100%; width: auto; }
.header__logo-dark { display: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.nav a {
  display: block;
  padding: 0 16px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  line-height: var(--header-h);
  color: var(--white);
  transition: color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--gold); }

.header__contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  color: var(--white);
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 31px;
  border-right: 1px solid rgba(255,255,255,.3);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: inherit;
}
.header__phone svg { width: 14px; height: 14px; fill: currentColor; }
.header__social { display: flex; gap: 22px; margin-left: 24px; }
.header__social a { color: inherit; display: block; line-height: 0; }
.header__social svg { width: 13px; height: 13px; fill: currentColor; transition: fill .2s; }
.header__social a:hover svg { fill: var(--gold); }

/* Header al hacer scroll: fondo blanco, logo a color y menú dorado */
.header.is-scrolled {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
  height: 80px;
}
.header.is-scrolled .header__logo { height: 62px; }
.header.is-scrolled .header__logo-light { display: none; }
.header.is-scrolled .header__logo-dark  { display: block; }
.header.is-scrolled .nav a { line-height: 80px; color: var(--gold); }
.header.is-scrolled .nav a:hover, .header.is-scrolled .nav a.is-active { color: var(--heading); }
.header.is-scrolled .header__contact { color: var(--heading); }
.header.is-scrolled .header__phone { border-right-color: rgba(0,0,0,.15); }

.header__burger {
  display: none;
  width: 30px; height: 24px;
  padding: 0; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.header__burger span { display: block; height: 3px; background: currentColor; border-radius: 2px; }

/* ---------- Hero / slider ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--dark);
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.hero__slide::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.18);
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__content {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform .9s ease .3s, opacity .9s ease .3s;
}
.hero__slide.is-active .hero__content { transform: none; opacity: 1; }
.hero__slide--center .hero__content { text-align: center; }
.hero__slide--bottom { align-items: flex-end; }
.hero__slide--bottom .hero__content { padding-bottom: 15vh; }
.hero__title {
  font-family: var(--font-head);
  font-size: 73px;
  line-height: 73px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.hero__arrow {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  width: 60px; height: 60px;
  border: 0; background: none; color: var(--white);
  opacity: .35; cursor: pointer;
  transition: opacity .2s;
}
.hero__arrow:hover { opacity: 1; }
.hero__arrow svg { width: 40px; height: 40px; }
.hero__arrow--prev { left: 15px; }
.hero__arrow--next { right: 15px; }

.hero__dots {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.hero__dots li {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer; transition: background .2s;
}
.hero__dots li.is-active, .hero__dots li:hover { background: var(--white); }

/* ---------- Secciones genéricas ---------- */
.section { text-align: center; }
.section--title { padding: 36px 0 35px; }
.section--title-lg { padding: 64px 0 66px; }
.section__lead { margin-top: 12px; }

/* ---------- Ofertas destacadas (4 tarjetas uniformes) ---------- */
.section--ofertas { padding-bottom: 35px; }
.ofertas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.oferta {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--dark);
}
.oferta img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.oferta:hover img { transform: scale(1.06); }
.oferta__text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.05) 100%);
  color: var(--white);
}
.oferta__text em {
  font-style: normal; font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.85);
}
.oferta__text strong {
  font-family: var(--font-head); font-size: 26px; line-height: 30px;
  font-weight: 700; letter-spacing: -0.8px; text-transform: uppercase;
  margin: 4px 0 14px;
}
.oferta:hover .btn--small { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ---------- Destinos (3 columnas) ---------- */
.section--destinos { padding-bottom: 35px; }
.destinos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}
.destino img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.destino h3 { margin-top: 35px; }
.destino p { margin-top: 12px; min-height: 54px; }
.destino .btn { margin-top: 32px; }

/* ---------- Contadores ---------- */
.section--counters {
  position: relative;
  padding: 90px 0 60px;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.section--counters::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(20,20,20,.55);
}
.section--counters .container { position: relative; }
.section--counters h2, .section--counters h3 { color: var(--white); }
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 99px;
}
.counter__num {
  display: block;
  font-family: var(--font-head);
  font-size: 130px;
  line-height: 130px;
  font-weight: 700;
  letter-spacing: -6.3px;
}
.counter h3 { margin-top: 14px; }
.counter p { margin-top: 13px; }

/* ---------- Franja gris ---------- */
.section--strip { background: var(--grey); padding: 21px 0; }
.section--strip p { text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Portafolio (4 columnas, texto al pasar el mouse) ---------- */
.section--portfolio { padding-bottom: 60px; }
.portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.portfolio__item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--dark);
}
.portfolio__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.portfolio__item:hover img { transform: scale(1.06); }
.portfolio__text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 16px;
  background: rgba(10,10,10,.4);
  opacity: 0;
  transition: opacity .35s ease;
}
.portfolio__item:hover .portfolio__text { opacity: 1; }
.portfolio__text strong {
  font-family: var(--font-head);
  font-size: 18px; line-height: 22px;
  font-weight: 700; letter-spacing: -0.2px;
  text-transform: uppercase; color: var(--white);
}
.portfolio__text em {
  font-style: normal; font-size: 13px;
  color: var(--white); margin-top: 6px;
}

/* ---------- Bloques 50/50 (q_elements_holder) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 533px;
}
.split--grey { background: var(--grey); }
.split__image { background-size: cover; background-position: center; min-height: 320px; }
.split__text {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 15% 13% 14%;
}
.split__inner { max-width: 520px; }
.split__inner p { margin: 49px 0 50px; }

/* ---------- Contacto ---------- */
.section--contacto { padding: 70px 0 80px; }
.contacto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
}
.contacto__card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 36px 20px;
  border: 1px solid #e6e6e6;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.contacto__card:hover { border-color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.06); transform: translateY(-3px); }
.contacto__card svg { width: 38px; height: 38px; fill: var(--gold); }
.contacto__card strong { font-family: var(--font-head); font-size: 15px; text-transform: uppercase; color: var(--heading); }
.contacto__card span { font-weight: 400; }

/* ---------- Footer ---------- */
.footer { color: var(--white); }
.footer__top { background: var(--dark-2); padding: 56px 0 55px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.3fr;
  gap: 40px;
  align-items: center;
}
.footer__logo { width: 227px; }
.footer__col--about p { color: var(--white); }
.footer__col--contact h5 {
  color: var(--white);
  display: flex; align-items: center; gap: 10px;
  text-transform: none;
}
.footer__col--contact h5 + h5 { margin-top: 12px; }
.footer__col--contact img { width: auto; height: 14px; }
.footer__bottom { background: var(--dark); padding: 22px 0 28px; text-align: center; font-size: 13px; }
.footer__bottom p { color: #bbbbbb; }
.footer__bottom a { color: #999900; font-weight: 600; }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1200px) {
  .header__inner { padding: 0 24px; gap: 20px; }
  .nav a { padding: 0 10px; font-size: 14px; }
  .header__phone { font-size: 14px; padding-right: 18px; }
  .header__social { gap: 14px; margin-left: 14px; }
  .hero__title { font-size: 58px; line-height: 58px; }
  .portfolio { grid-template-columns: repeat(3, 1fr); }
  .ofertas { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .header__social { display: none; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .counter__num { font-size: 100px; line-height: 100px; letter-spacing: -4px; }
}

@media (max-width: 900px) {
  :root { --header-h: 80px; }
  .header { background: var(--dark); }
  .header__inner { padding: 0 20px; }
  .header__burger { display: flex; color: var(--white); order: -1; }
  .header__logo { height: 60px; margin: 0 auto; }
  .header__logo-light { display: block; }
  .header__contact { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 320px; }
  .nav ul { flex-direction: column; padding: 8px 0 16px; }
  .nav a { line-height: 48px; padding: 0 24px; border-top: 1px solid rgba(255,255,255,.08); }
  .header.is-scrolled { height: 80px; background: var(--dark); }
  .header.is-scrolled .header__logo { height: 60px; }
  .header.is-scrolled .header__logo-light { display: block; }
  .header.is-scrolled .header__logo-dark { display: none; }
  .header.is-scrolled .nav a { line-height: 48px; color: var(--white); }
  .header.is-scrolled .nav a:hover, .header.is-scrolled .nav a.is-active { color: var(--gold); }

  .hero { height: 80vh; min-height: 480px; }
  .hero__content { padding: 0 24px; text-align: center; }
  .hero__title { font-size: 44px; line-height: 46px; }
  .hero__arrow { display: none; }

  .destinos { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__image { order: -1; min-height: 300px; }
  .split__text { padding: 60px 24px; }
  .split__inner p { margin: 28px 0 32px; }
  .contacto { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .footer__logo { margin: 0 auto; }
  .footer__col--contact h5 { justify-content: center; }
}

@media (max-width: 600px) {
  h2 { font-size: 24px; line-height: 30px; letter-spacing: -1px; }
  .hero__title { font-size: 34px; line-height: 38px; }
  .btn--hero { height: 48px; line-height: 46px; padding: 0 30px; }
  .ofertas { grid-template-columns: 1fr; gap: 16px; }
  .destinos { grid-template-columns: 1fr; }
  .portfolio { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .counters { grid-template-columns: 1fr; margin-top: 50px; }
  .counter__num { font-size: 80px; line-height: 80px; }
  .section--title-lg { padding: 40px 0; }
}
