@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Fraunces:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* ==========================================================================
   MENWORLD TRAVEL — global.css  (subpáginas) — mismo sistema que index
   ========================================================================== */

:root {
  --navy:       #0B2D5E;
  --navy-d:     #071E40;
  --navy-l:     #153F78;
  --orange:     #FF7421;
  --ora-d:      #D95E10;
  --ora-l:      #FF9255;
  --white:      #FFFFFF;
  --off:        #F8F7F3;
  --gray:       #6B7280;
  --border:     #E5E7EB;
  --f-ui:       'Plus Jakarta Sans', system-ui, sans-serif;
  --f-dis:      'Fraunces', Georgia, serif;
  --ease:       cubic-bezier(.25,.46,.45,.94);
  --spring:     cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 99px; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-ui);
  font-size: 16px;
  color: var(--navy-d);
  background: var(--off);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; padding: 0; margin: 0; }

/* ── HEADER SUBPÁGINAS — igual que index al hacer scroll ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy-d);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 52px);
  height: clamp(64px, 8vw, 88px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}

.site-header a img {
  height: clamp(46px, 6.5vw, 80px);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transition: transform .3s var(--spring);
}
.site-header a:hover img { transform: scale(1.04); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
}
.site-nav a {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.site-nav a i { color: var(--orange); font-size: 13px; }
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta {
  padding: 8px 18px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.site-nav .nav-cta i { color: var(--white) !important; }
.site-nav .nav-cta:hover { background: var(--ora-d); transform: translateY(-1px); }

/* ── HERO BANNER SUBPÁGINAS ── */
.page-hero {
  width: 100%;
  min-height: clamp(220px, 38vh, 420px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(7,30,64,.6) 0%,
    rgba(7,30,64,.45) 50%,
    rgba(7,30,64,.75) 100%);
}

.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px,5vw,60px);
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(255,116,33,.15);
  border: 1px solid rgba(255,116,33,.3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.page-hero h2 {
  font-family: var(--f-dis);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.page-hero h2 em { font-style: italic; color: var(--orange); }

.page-hero h3 {
  font-family: var(--f-ui);
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 10px;
  font-weight: 400;
}

/* ── CONTENIDO PÁGINAS ── */
.page-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(40px, 6vh, 80px) clamp(20px, 8vw, 120px);
  width: 100%;
  max-width: 1100px;
  margin: clamp(32px,5vh,60px) auto;
  background: var(--white);
  border-radius: 16px;
}

.section-title {
  font-family: var(--f-dis);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 10px;
  margin-bottom: 28px;
  width: 100%;
}

.page-content p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--navy-d);
  width: 100%;
  max-width: 820px;
  margin-bottom: 1.2rem;
  opacity: .75;
}

/* ── GALERÍA DESTINOS ── */
.img-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 48px;
}

.img { position: relative; overflow: hidden; border-radius: 12px; }

.img h3 {
  font-family: var(--f-dis);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 8px;
}

.img img {
  width: 100%;
  height: clamp(160px, 25vw, 280px);
  object-fit: cover;
  transition: transform .5s var(--ease);
  border-radius: 10px;
}
.img:hover img { transform: scale(1.04); }

/* ── TARJETAS SERVICIOS (vuelos/cruceros) ── */
.img-card-container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto 28px;
}

.img-card {
  position: relative;
  width: 100%;
  height: clamp(300px, 55vh, 600px);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

.img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,30,64,.88) 0%, rgba(7,30,64,.15) 60%, transparent 100%);
  transition: opacity .4s;
}

.img-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: clamp(24px, 3vw, 48px);
  transform: translateY(20px);
  opacity: 0;
  transition: all .5s var(--ease);
}

.img-card:hover .img-card__content { transform: translateY(0); opacity: 1; }

.img-card__content h2 {
  font-family: var(--f-dis);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.img-card__content a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--f-ui);
  font-size: 14px;
  font-weight: 600;
  border-radius: 99px;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(255,116,33,.35);
}
.img-card__content a:hover { background: var(--ora-d); transform: translateY(-2px); }

/* ── MAPA ── */
.map-embed {
  display: block;
  width: 80%;
  max-width: 900px;
  height: clamp(300px, 50vh, 500px);
  margin: 32px auto;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

/* ── SECCIÓN CON FONDO ── */
.bg-section {
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: clamp(40px,6vh,80px) 0;
}
.bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,30,64,.6);
}
.bg-section > * { position: relative; z-index: 1; }
.bg-section h2 {
  font-family: var(--f-dis);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  text-align: center;
  padding: 0 20px 20px;
}

/* ── VÍDEOS ── */
.video-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.video-section > div h3 {
  font-family: var(--f-dis);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 10px;
}
.video-section video { width: 100%; border-radius: 12px; }

/* ── BOTÓN SCROLL UP ── */
.scroll-top-btn {
  display: none;
  position: fixed;
  bottom: 96px; right: 24px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  line-height: 44px;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(11,45,94,.3);
}
.scroll-top-btn:hover { background: var(--navy-l); transform: translateY(-3px); }
.scroll-top-btn.active { display: block; }

/* WA flotante */
.wa-float {
  position: fixed; bottom: 28px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--white);
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  transition: transform .25s var(--spring), box-shadow .25s;
}
.wa-float:hover { transform: scale(1.12) translateY(-3px); }

/* ── FOOTER SUBPÁGINAS — idéntico al del index ── */
footer {
  background: var(--navy-d);
  padding: clamp(48px,8vh,80px) 0 0;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.waves { position: absolute; top: -100px; left: 0; width: 100%; height: 100px; pointer-events: none; }
.wave {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100px;
  background-size: 1000px 100px;
}
/* IDs de olas — compatibles con index (wv) y subpáginas (wave1-4) */
.wave#wave1,.wave#wv1 { z-index:4; opacity:1;   animation: wv1 4s linear infinite; }
.wave#wave2,.wave#wv2 { z-index:3; opacity:.4;  animation: wv2 4s linear infinite; }
.wave#wave3,.wave#wv3 { z-index:4; opacity:.15; animation: wv1 3s linear infinite; }
.wave#wave4,.wave#wv4 { z-index:4; opacity:.6;  animation: wv2 3s linear infinite; }
@keyframes wv1 { from { background-position-x: 1000px; } to { background-position-x: 0; } }
@keyframes wv2 { from { background-position-x: 0; } to { background-position-x: 1000px; } }

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(24px,4vw,56px);
  padding: 0 0 clamp(40px,6vh,60px);
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}


.ft-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-header a img { height: 52px; }
  .img-container { grid-template-columns: 1fr 1fr; }
  .img img { height: clamp(130px, 30vw, 220px); }
  .map-embed { width: 95%; height: 40vh; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-logo { grid-column: 1/-1; }
  .ft-contact-box { grid-column: 1/-1; }
}
@media (max-width: 480px) {
  .site-header { padding: 0 14px; }
  .site-header a img { height: 44px; }
  .site-nav a span { display: none; }
  .img-container { grid-template-columns: 1fr; }
  .img img { height: 220px; }
  .map-embed { width: 100%; border-radius: 10px; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bottom { flex-direction: column; text-align: center; }
  .ft-bottom-links { justify-content: center; }
}

/* ── FOOTER COMPACTO — idéntico al del index ── */
footer {
  background: var(--navy-d);
  padding: clamp(40px,6vh,60px) 0 0;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.waves { position: absolute; top: -100px; left: 0; width: 100%; height: 100px; pointer-events: none; }
.wave {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100px;
  background-size: 1000px 100px;
}
.wave#wave1,.wave#wv1 { z-index:4; opacity:1;   animation: wv1 4s linear infinite; }
.wave#wave2,.wave#wv2 { z-index:3; opacity:.4;  animation: wv2 4s linear infinite; }
.wave#wave3,.wave#wv3 { z-index:4; opacity:.15; animation: wv1 3s linear infinite; }
.wave#wave4,.wave#wv4 { z-index:4; opacity:.6;  animation: wv2 3s linear infinite; }
@keyframes wv1 { from { background-position-x: 1000px; } to { background-position-x: 0; } }
@keyframes wv2 { from { background-position-x: 0; } to { background-position-x: 1000px; } }

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(16px,2.5vw,40px);
  padding: clamp(28px,4vh,44px) clamp(20px,5vw,60px) clamp(28px,4vh,44px);
}

.ft-logo img { height: clamp(44px,5vw,62px); margin-bottom: 12px; }
.ft-desc { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.35); max-width: 220px; margin-bottom: 16px; }
.ft-social { display: flex; gap: 7px; }
.ft-social a {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.4); transition: all .2s;
}
.ft-social a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.ft-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.ft-col li { margin-bottom: 7px; }
.ft-col li a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .2s; }
.ft-col li a:hover { color: var(--white); }

.ft-contact-box {
  background: rgba(255,116,33,.1); border: 1px solid rgba(255,116,33,.2);
  border-radius: 12px; padding: 16px;
}
.ft-contact-box h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.ft-contact-box p { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.65; margin-bottom: 2px; }
.ft-contact-box p strong { color: rgba(255,255,255,.75); }
.ft-link { color: rgba(255,255,255,.45); transition: color .2s; }
.ft-link:hover { color: var(--white); }
.ft-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 8px 14px; border-radius: 99px;
  background: var(--orange); color: var(--white);
  font-size: 12px; font-weight: 600; transition: all .2s;
}
.ft-cta-btn:hover { background: var(--ora-d); transform: translateY(-2px); }

.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 12px clamp(20px,5vw,60px);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.ft-bottom p { font-size: 11px; color: rgba(255,255,255,.2); }
.ft-bottom-links { display: flex; gap: 14px; }
.ft-bottom-links a { font-size: 11px; color: rgba(255,255,255,.2); transition: color .2s; }
.ft-bottom-links a:hover { color: rgba(255,255,255,.55); }

/* ── BOTÓN CTA NAV (Contacto) en subpáginas ── */
.site-nav .nav-cta {
  padding: 8px 18px; border-radius: 99px;
  background: var(--orange); color: var(--white) !important;
  font-weight: 600; transition: background .2s, transform .2s;
}
.site-nav .nav-cta i { color: var(--white) !important; }
.site-nav .nav-cta:hover {
  background: var(--ora-d);
  transform: translateY(-1px);
}
/* Los demás iconos de nav son blancos en base */
.site-nav a i { color: rgba(255,116,33,.9); transition: color .2s; }
.site-nav a:hover i { color: var(--orange); }

/* ── SCROLLBAR global subpáginas ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-d); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--ora-d); }

/* ── RESPONSIVE FOOTER ── */
@media (max-width: 768px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ft-logo { grid-column: 1/-1; }
  .ft-contact-box { grid-column: 1/-1; }
}
@media (max-width: 480px) {
  .ft-grid { grid-template-columns: 1fr; gap: 12px; }
  .ft-bottom { flex-direction: column; text-align: center; }
  .ft-bottom-links { justify-content: center; }
  .site-nav a span { display: none; }
}
