/* ============================================================
   BASE.CSS — Melos Tours
   Variables, Reset, Tipografía
   Desarrollado por Kódex Studio · Cali 2025
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Merriweather:ital,wght@0,700;1,700&display=swap');

/* ── TOKENS ── */
:root {
  /* Colores principales */
  --azul:        #0B2D6E;
  --azul-medio:  #1565C0;
  --azul-claro:  #2196F3;
  --verde:       #4CAF50;
  --verde-vivo:  #00C853;
  --verde-wa:    #25D366;
  --lima:        #C6F135;
  --amarillo:    #FFD600;
  --blanco:      #FFFFFF;
  --negro:       #0A0F1E;

  /* Grises */
  --gris-f:      #F4F6FB;
  --gris-b:      #E8EDF5;
  --gris-t:      #5C6B8A;

  /* Radios */
  --radio:       16px;
  --radio-lg:    24px;
  --radio-xl:    32px;

  /* Sombras */
  --shadow-sm:   0 2px 12px rgba(11,45,110,.08);
  --shadow-md:   0 8px 32px rgba(11,45,110,.14);
  --shadow-lg:   0 20px 60px rgba(11,45,110,.20);

  /* Tipografía */
  --font-sans:   'Montserrat', sans-serif;
  --font-serif:  'Merriweather', Georgia, serif;

  /* Transición global */
  --transition:  0.3s cubic-bezier(.4,0,.2,1);

  /* Espaciado de sección */
  --section-pad: 96px clamp(16px, 4vw, 48px);
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--azul);
  background: var(--blanco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── TIPOGRAFÍA BASE ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.5px;
  color: var(--azul);
}

p { line-height: 1.7; }

/* ── UTILIDADES GLOBALES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: var(--section-pad);
}

.section-bg-gris   { background: var(--gris-f); }
.section-bg-azul   { background: var(--azul); }
.section-bg-negro  { background: var(--negro); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── SECTION HEADER ── */
.section-header        { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--verde);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-header.centered .section-eyebrow {
  justify-content: center;
}
.section-header.centered .section-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--verde);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--azul);
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--azul-claro);
}

.section-desc {
  font-size: 16px;
  color: var(--gris-t);
  line-height: 1.7;
  max-width: 560px;
  font-weight: 400;
}

/* ── KEYFRAMES GLOBALES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,.55); }
  50%       { box-shadow: 0 6px 48px rgba(37,211,102,.85), 0 0 0 12px rgba(37,211,102,.1); }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gris-f); }
::-webkit-scrollbar-thumb { background: var(--azul-claro); border-radius: 3px; }
