/* ============================================
   SMART TRAVEL MX — Design System
   Palette: Midnight navy / warm cream / coral / teal
   Display: Fraunces · Body: Inter · Mono: JetBrains Mono
   ============================================ */

:root{
  --navy:        #000000;
  --navy-soft:   #111111;
  --cream:       #F7F3EA;
  --cream-deep:  #EFE8D8;
  --coral:       #F5D547;
  --coral-deep:  #D4B800;
  --teal:        #1FA8A3;
  --teal-deep:   #147672;
  --ink:         #181410;
  --ink-soft:    #5B5346;
  --line:        rgba(0,0,0,0.12);
  --line-light:  rgba(247,243,234,0.18);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1180px;
  --radius: 2px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}

::selection{background: var(--coral); color: var(--cream);}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}

/* ---------- Layout helpers ---------- */
.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-deep);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:'';
  width:24px; height:1px;
  background: var(--coral-deep);
  display:inline-block;
}
.eyebrow.on-dark{ color: var(--coral); }
.eyebrow.on-dark::before{ background: var(--coral); }

h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid currentColor;
  transition: all .25s ease;
  white-space:nowrap;
}
.btn-coral{
  background: var(--coral);
  border-color: var(--coral);
  color: #000000;
  font-weight: 700;
}
.btn-coral:hover{ background: var(--coral-deep); border-color:var(--coral-deep); transform: translateY(-2px); }
.btn-outline-dark{ color: var(--navy); }
.btn-outline-dark:hover{ background: var(--navy); color: var(--cream); }
.btn-outline-light{ color: var(--cream); }
.btn-outline-light:hover{ background: var(--cream); color: var(--navy); }

/* ============================================
   NAV
   ============================================ */
.site-nav{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}
.site-nav .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:140px;
}
.nav-logo img{ height: 120px; width:auto; }
.nav-links{
  display:flex;
  align-items:center;
  gap:38px;
}
.nav-links a{
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
  position:relative;
  padding: 6px 0;
  transition: opacity .2s ease;
}
.nav-links a:hover{ opacity:1; }
.nav-links a.active{ opacity:1; color: var(--coral); }
.nav-cta{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 22px;
  background: var(--coral);
  color: var(--cream) !important;
  opacity: 1 !important;
}
.nav-cta:hover{ background: var(--coral-deep); }
.nav-burger{ display:none; }

@media (max-width: 880px){
  .nav-links{
    position: fixed;
    top: 78px; left:0; right:0; bottom:0;
    background: var(--navy);
    flex-direction: column;
    justify-content:flex-start;
    padding: 40px 32px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-burger{
    display:block;
    width: 26px; height: 18px;
    position:relative;
  }
  .nav-burger span{
    position:absolute; left:0; right:0; height:2px;
    background: var(--cream);
    transition: all .25s ease;
  }
  .nav-burger span:nth-child(1){ top:0; }
  .nav-burger span:nth-child(2){ top:8px; }
  .nav-burger span:nth-child(3){ top:16px; }
  .nav-burger.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .nav-burger.open span:nth-child(2){ opacity:0; }
  .nav-burger.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
}

/* ============================================
   HERO (route-map signature)
   ============================================ */
.hero{
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  color: var(--cream);
  display:flex;
  align-items:center;
  overflow:hidden;
  padding-top: 140px;
}
.hero-bg-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(247,243,234,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,243,234,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  pointer-events:none;
}
.hero-route{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  opacity: 1;
  pointer-events: none;
}
.hero-route path{
  fill:none;
}
.hero-route circle, .hero-route text{
  /* colores definidos inline en el SVG */
}
@keyframes pulse{
  0%,100%{ r:5; opacity:0.9; }
  50%{ r:8; opacity:0.4; }
}

.hero-content{
  position: relative;
  z-index: 5;
  max-width: 760px;
}
.hero-title{
  font-size: clamp(46px, 7vw, 92px);
  margin: 22px 0 26px;
}
.hero-title em{
  font-style: italic;
  color: var(--coral);
}
.hero-sub{
  font-size: 19px;
  color: rgba(247,243,234,0.78);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-actions{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats{
  display:flex;
  gap: 48px;
  flex-wrap:wrap;
  border-top: 1px solid var(--line-light);
  padding-top: 28px;
}
.hero-stat .num{
  font-family: var(--serif);
  font-size: 34px;
  color: var(--coral);
  line-height:1;
}
.hero-stat .lbl{
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.6);
  margin-top: 8px;
}

.scroll-cue{
  position:absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center;
  gap:8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform:uppercase;
  color: rgba(247,243,234,0.45);
  z-index:5;
}
.scroll-cue .line{
  width:1px; height:36px;
  background: linear-gradient(rgba(247,243,234,0.5), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown{
  0%{ transform: scaleY(0); transform-origin: top; }
  50%{ transform: scaleY(1); transform-origin: top; }
  51%{ transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 640px){
  .hero-stats{ gap: 28px; }
}

/* ============================================
   SECTION GENERIC
   ============================================ */
section{ position:relative; }
.section-pad{ padding: 120px 0; }
.section-pad-sm{ padding: 80px 0; }
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.section-head h2{
  font-size: clamp(32px, 4vw, 50px);
  margin-top: 16px;
  max-width: 600px;
}
.section-head p{
  max-width: 360px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ============================================
   PACKAGE CARDS (stamp motif)
   ============================================ */
.pkg-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pkg-card{
  background: var(--cream);
  padding: 48px;
  position:relative;
  transition: background .3s ease;
  display:flex;
  flex-direction:column;
  min-height: 420px;
}
.pkg-card:hover{ background: var(--cream-deep); }
.pkg-stamp{
  position:absolute;
  top: 40px; right: 40px;
  width: 64px; height:64px;
  border: 1.5px dashed var(--ink-soft);
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform:uppercase;
  text-align:center;
  color: var(--ink-soft);
  opacity: 0.55;
  transform: rotate(8deg);
}
.pkg-route{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.pkg-card h3{
  font-size: 32px;
  margin-bottom: 14px;
  max-width: 80%;
}
.pkg-card .pkg-desc{
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 420px;
  margin-bottom: 28px;
  flex-grow:1;
}
.pkg-meta{
  display:flex;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap:wrap;
}
.pkg-meta div{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  display:flex;
  align-items:center;
  gap:7px;
}
.pkg-meta strong{
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
}
.pkg-link{
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral-deep);
  display:inline-flex;
  align-items:center;
  gap: 8px;
  width:fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, gap .2s ease;
}
.pkg-link:hover{ border-color: var(--coral-deep); gap: 13px; }

@media (max-width: 880px){
  .pkg-grid{ grid-template-columns: 1fr; }
}

/* ============================================
   WHY US / FEATURES
   ============================================ */
.feature-band{
  background: var(--navy);
  color: var(--cream);
}
.feature-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.feature-item{
  background: var(--navy);
  padding: 44px 32px;
}
.feature-item .fnum{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--coral);
  margin-bottom: 24px;
  display:block;
}
.feature-item h4{
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--cream);
}
.feature-item p{
  font-size: 14px;
  color: rgba(247,243,234,0.62);
}
@media (max-width: 880px){
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .feature-grid{ grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  background: var(--navy);
  color: var(--cream);
  padding: 90px 0 36px;
  border-top: 1px solid var(--line-light);
}
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.footer-logo img{ height: 112px; margin-bottom: 20px; }
.footer-top p{
  color: rgba(247,243,234,0.6);
  font-size: 14px;
  max-width: 280px;
}
.footer-col h5{
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}
.footer-col a, .footer-col li{
  display:block;
  font-size: 14px;
  color: rgba(247,243,234,0.72);
  margin-bottom: 12px;
  transition: color .2s ease;
}
.footer-col a:hover{ color: var(--coral); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(247,243,234,0.4);
  letter-spacing: 0.04em;
}
@media (max-width: 880px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ============================================
   PAGE HEADER (interior pages)
   ============================================ */
.page-header{
  background: var(--navy);
  color: var(--cream);
  padding: 200px 0 90px;
  position:relative;
  overflow:hidden;
}
.page-header h1{
  font-size: clamp(40px, 6vw, 68px);
  margin-top: 18px;
  max-width: 700px;
}
.page-header p{
  margin-top: 20px;
  max-width: 540px;
  color: rgba(247,243,234,0.7);
  font-size: 16.5px;
}

/* fade-up reveal */
.reveal{
  opacity:0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
}

/* ============================================
   PACKAGE CARD IMAGES
   ============================================ */
.pkg-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 28px;
  filter: brightness(0.92);
  transition: filter .3s ease, transform .3s ease;
  overflow: hidden;
}
.pkg-card:hover .pkg-card-img { filter: brightness(1); }

.pkg-card-hero {
  width: calc(100% + 96px);
  margin: -48px -48px 32px -48px;
  height: 200px;
  display: block;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  transition: opacity .3s, transform .3s;
}
.pkg-card:hover .pkg-card-hero { opacity: 0.9; transform: scale(1.02); }
