/* ═══════════════════════════════════════════════════════
   INDEX.CSS — Mayan Routes
   COLORES: edita variables en :root
   IMÁGENES: busca los comentarios 👇
═══════════════════════════════════════════════════════ */

:root {
  --color-dark:        #111410;
  --color-surface:     #131c21;
  --color-green-deep:  rgba(34,50,58,.36);
  --color-green-mid:   #1b4d2e;
  --color-gold:        #42b78c;
  --color-gold-light:  #c0bc32;
  --color-text:        #c8cfc2;
  --color-muted:       #7a8a70;
  --color-white:       #ffffff;
  --font-title: 'Barlow Condensed', sans-serif;
  --font-serif:  'Barlow Condensed', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); background: var(--color-dark); color: var(--color-text); overflow-x: hidden; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }


/* ══════════════════════════════════════════════════════
   NAVEGACIÓN
══════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 48px;
  background: linear-gradient(to bottom, rgba(0,0,0,.65), transparent);
}
.nav-logo {
  height: 40px; width: auto;
  border: 2px solid var(--color-gold);
  border-radius: 8px;
  padding: 4px 8px;
}
.nav-links { display: flex; gap: 32px; justify-content: center; }
.nav-links a {
  font-size: .88rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(255,255,255,.85); transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-gold); }
.nav-links a.active { border-bottom: 1px solid var(--color-gold); padding-bottom: 2px; }
.nav-lang { font-size: .8rem; color: rgba(255,255,255,.7); justify-self: end; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; justify-self: end;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-gold); border-radius: 2px; }

@media (max-width: 600px) {
  nav {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    padding: 14px 24px 14px; background: rgba(0,0,0,.95);
    min-height: 68px;
  }
  .nav-logo {
    position: absolute; left: 50%; transform: translateX(-50%);
    height: 34px; top: 12px;
  }
  .nav-toggle { display: flex; align-self: center; }
  .nav-lang {
    display: none;
    width: 100%;
    text-align: center;
    font-size: .9rem;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(66,183,140,.1);
    color: rgba(255,255,255,.7);
  }
  .nav-lang a { color: rgba(255,255,255,.7); }
  .nav-lang strong { color: var(--color-gold); }
  .nav-links {
    display: none; flex-direction: column; align-items: center;
    gap: 20px; width: 100%; padding: 24px 0 16px;
    border-top: 1px solid rgba(66,183,140,.2); margin-top: 0;
    background: rgba(0,0,0,.95);
  }
  .nav-links.open { display: flex; }
  .nav-links.open + .nav-lang { display: block; }
  .nav-links a { font-size: 1rem; }
}




/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
/* 👇 Cambia la imagen aquí */
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.72) 60%, var(--color-dark) 100%),
    url('imgs/Fondo_calltoaction.jpg') center / cover no-repeat;
  animation: zoomBg 18s ease-in-out infinite alternate;
}
@keyframes zoomBg { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero-content { position: relative; z-index: 1; padding: 0 24px; animation: fadeUp .8s ease both; }
.hero-eyebrow { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 16px; }
.hero-title { font-family: var(--font-title); font-size: clamp(5rem, 12vw, 10rem); line-height: .92; color: var(--color-white); }
.hero-title span { color: var(--color-gold); }
.hero-subtitle { margin-top: 16px; font-size: clamp(.9rem, 1.6vw, 1.2rem); font-weight: 300; color: rgba(255,255,255,.75); }
.hero-btn {
  display: inline-block; margin-top: 32px;
  background: var(--color-gold); color: var(--color-dark);
  font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 40px; transition: background .25s, transform .2s;
}
.hero-btn:hover { background: var(--color-gold-light); transform: translateY(-2px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }


/* ══════════════════════════════════════════════════════
   SECCIONES COMUNES
══════════════════════════════════════════════════════ */
section { padding: 96px 48px; }
.label { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 10px; }
.section-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--color-white); line-height: 1.15; margin-bottom: 48px; }


/* ══════════════════════════════════════════════════════
   TOURS — GRID HOME
══════════════════════════════════════════════════════ */
#tours { background: var(--color-surface); text-align: center; }
.tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; text-align: left; }

.tour-card {
  background: var(--color-green-deep); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.5); }

/* Imagen y título son links */
.tour-card-link { display: block; color: inherit; text-decoration: none; }
.tour-card img { width: 100%; height: 210px; object-fit: cover; transition: transform .5s; }
.tour-card:hover img { transform: scale(1.06); }
.tour-body { padding: 20px 22px 26px; }
.tour-tag  { display: none; }
.tour-body h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--color-gold-light); margin-bottom: 8px; line-height: 1.3; transition: color .2s; }
.tour-card:hover h3 { color: var(--color-gold); }
.tour-body p { font-size: .82rem; font-weight: 300; color: var(--color-muted); line-height: 1.65; }


/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
#about {
  background:
    linear-gradient(135deg, rgba(10, 32, 21, 0.75), rgba(13,48,32,.75), rgba(7,26,16,.75)),
    url('imgs/fondo_parallax.jpg') center / cover no-repeat fixed;
}
.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-logo { display: flex; justify-content: center; }
.about-logo img { width: 500px; height: auto; object-fit: contain; border-radius: 50%; }
.about-text .section-title { margin-bottom: 20px; }
.about-text > p { font-size: .97rem; font-weight: 300; line-height: 1.85; max-width: 520px; }
.pillars { display: flex; gap: 24px; margin-top: 36px; }
.pillar { flex: 1; border-top: 2px solid var(--color-gold); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.pillar strong { font-family: var(--font-title); font-size: 2.2rem; color: var(--color-gold); line-height: 1; }
.pillar span   { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }


/* ══════════════════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════════════════ */
#testimonios { background: var(--color-dark); text-align: center; }
.testimonios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; text-align: left; }
.testimonio-card {
  background: var(--color-surface); border: 1px solid rgba(66,183,140,.15);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px; transition: transform .3s, border-color .3s;
}
.testimonio-card:hover { transform: translateY(-4px); border-color: var(--color-gold); }
.testimonio-texto { font-size: .95rem; font-weight: 300; line-height: 1.75; color: var(--color-text); font-style: italic; }
.testimonio-autor { display: flex; flex-direction: column; gap: 2px; }
.testimonio-autor strong { font-size: .9rem; color: var(--color-gold-light); }
.testimonio-autor span  { font-size: .75rem; color: var(--color-muted); letter-spacing: .06em; }
.testimonio-estrellas   { color: var(--color-gold); font-size: 1rem; letter-spacing: .1em; }
@media (max-width: 900px) { .testimonios-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonios-grid { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════════════
   CONTACTO / REDES (Home)
══════════════════════════════════════════════════════ */
#contacto { background: var(--color-surface); text-align: center; }
.redes-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 900px; margin: 0 auto; }
.red-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--color-dark); border: 1px solid rgba(66,183,140,.15);
  border-radius: var(--radius); padding: 32px 28px; width: 155px; color: var(--color-text);
  transition: transform .3s, border-color .3s, color .3s;
}
.red-card:hover { transform: translateY(-6px); border-color: var(--color-gold); color: var(--color-gold-light); }
.red-card svg { width: 36px; height: 36px; stroke: currentColor; }
.red-nombre { font-family: var(--font-title); font-size: 1.1rem; letter-spacing: .1em; }
.red-handle { font-size: .75rem; color: var(--color-muted); letter-spacing: .06em; }
.red-card--whatsapp:hover { border-color: #25d366; color: #25d366; }


/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(66,183,140,.15);
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { height: 48px; width: auto; border: 2px solid var(--color-gold); border-radius: 8px; padding: 4px 8px; }

/* Iconos redes pequeños en footer */
.footer-redes { display: flex; gap: 12px; align-items: center; }
.footer-red {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(66,183,140,.25); border-radius: 50%;
  color: var(--color-muted);
  transition: border-color .2s, color .2s, transform .2s;
}
.footer-red:hover { border-color: var(--color-gold); color: var(--color-gold); transform: translateY(-2px); }
.footer-red svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }
.footer-red--wa:hover { border-color: #25d366; color: #25d366; }

.footer-copy { font-size: .75rem; color: var(--color-muted); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE GLOBAL
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  section { padding: 72px 24px; }
  .tours-grid  { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .about-text > p { max-width: 100%; }
  .pillars { justify-content: center; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .tours-grid { grid-template-columns: 1fr; }
  .about-logo img { width: 260px; }
}
