/* =========================================================
   JANET VIAJES — Design tokens
   ========================================================= */
:root{
  /* Brand */
  --pink:        #6cb3af;
  --pink-deep:   #6cb3af;
  --pink-soft:   #f6c3cf;
  --pink-wash:   #fdf1f3;

	
  --teal-deep:   #ea7791;
  --teal:        #ea7791;
  --teal-deep:   #6cb3af;
  --teal-pale:   #dcece9;

  --cream:       #edecdb;
  --cream-light: #f9f8f2;

  --ink:         #1f3634;
  --ink-soft:    #4c5a58;
  --ink-faint:   #8b9695;

  --white:       #ffffff;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Caveat', cursive;

  /* Rhythm */
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --container-w: 1180px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --ease: cubic-bezier(.22,.9,.32,1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 90px; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
input, select, textarea{ font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Type helpers
   ========================================================= */
.eyebrow{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin: 0 0 .9rem;
}
.eyebrow--light{ color: var(--teal-pale); }

.section-title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -.01em;
}
.section-title--light{ color: var(--cream); }

.script-accent{
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--pink);
  font-size: 1.18em;
  line-height: 1;
  display: inline-block;
  transform: rotate(-2deg) translateY(2px);
}

.section-head{ max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .95rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--primary{
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(211,93,120,.55);
}
.btn--primary:hover{ background: var(--pink-deep); transform: translateY(-2px); }

.btn--outline{
  background: transparent;
  color: var(--ink);
  border-color: rgba(31,54,52,.22);
}
.btn--outline:hover{ border-color: var(--teal); background: var(--teal-pale); transform: translateY(-2px); }

.btn--ghost{
  background: var(--teal);
  color: var(--white);
}
.btn--ghost:hover{ background: var(--teal-deep); }

.btn--sm{ padding: .6rem 1.15rem; font-size: .85rem; }
.btn--block{ width: 100%; }
.icon-wsp{ width: 18px; height: 18px; }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--pink);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding-block: 1.1rem;
}
.site-header.is-scrolled{
  background: var(--pink-deep);
  box-shadow: 0 6px 24px -12px rgba(31,54,52,.28);
  padding-block: .65rem;
}
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand{ display: inline-flex; }
.brand__stamp{
  height: 46px;
  width: auto;
  border-radius: 8px;
  transition: height .35s var(--ease);
}
.site-header.is-scrolled .brand__stamp{ height: 38px; }

.main-nav{ display: flex; gap: 2.1rem; }
.main-nav a{
  font-weight: 600;
  font-size: .93rem;
  color: #edecdb;
  position: relative;
  padding-block: .3rem;
}
.main-nav a::after{
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: #edecdb;
  transition: width .3s var(--ease);
}
.main-nav a:hover{ color: var(--white); }
.main-nav a:hover::after{ width: 100%; }

.site-header__actions{ display: flex; align-items: center; gap: .9rem; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: #edecdb;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  padding-top: clamp(8.5rem, 16vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--pink-wash) 0%, var(--cream-light) 55%);
  overflow: hidden;
}
.hero__bg{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__dots{ position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.hero__text{
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero__actions{ display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__visual{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.hero__plane-deco{
  position: absolute;
  width: min(430px, 85%);
  top: 50%; left: 50%;
  transform: translate(-46%, -54%) rotate(18deg);
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}
.hero__photo{
  position: relative;
  z-index: 1;
  width: min(360px, 82%);
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px -18px rgba(31,54,52,.4);
  border: 6px solid var(--white);
  aspect-ratio: 4 / 5;
}
.hero__photo img{
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__logo-chip{
  position: absolute;
  z-index: 2;
  width: min(190px, 42%);
  right: 4%;
  bottom: -6%;
  border-radius: var(--radius-sm);
  transform: rotate(5deg);
  box-shadow: 0 20px 40px -14px rgba(211,93,120,.55), 0 6px 16px -6px rgba(31,54,52,.3);
  border: 4px solid var(--white);
}
.hero__badge{
  position: absolute;
  z-index: 2;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  font-size: .82rem;
  padding: .65rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 12px 24px -10px rgba(31,54,52,.28);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero__badge::before{
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-deep);
}
.hero__badge--1{ top: 2%; right: 6%; transform: rotate(-3deg); }
.hero__badge--2{ bottom: 6%; left: -6%; transform: rotate(2deg); }

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy{ padding-block: var(--section-pad); background: var(--cream-light); }
.philosophy__grid{
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.philosophy__text{
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 1.3rem;
}
.philosophy__text + .philosophy__text{ margin-top: 1rem; }

.philosophy__cards{ display: grid; gap: 1.2rem; }
.mv-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 4px solid var(--teal);
  box-shadow: 0 20px 40px -28px rgba(31,54,52,.35);
}
.mv-card--alt{ border-left-color: var(--pink); }
.mv-card__label{
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--teal-deep);
  margin-bottom: .6rem;
}
.mv-card--alt .mv-card__label{ color: var(--pink-deep); }
.mv-card p{ color: var(--ink-soft); line-height: 1.6; font-size: .98rem; }

/* =========================================================
   SERVICES
   ========================================================= */
.services{ padding-block: var(--section-pad); background: var(--white); }
.services__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.service-card{
  background: var(--cream-light);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: 0 26px 50px -24px rgba(31,54,52,.3);
}
.service-card__icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.service-card__icon svg{ width: 26px; height: 26px; }
.service-card:nth-child(2n) .service-card__icon{ background: var(--pink-soft); color: var(--pink-deep); }
.service-card h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  margin-bottom: .6rem;
  line-height: 1.3;
}
.service-card p{ color: var(--ink-soft); line-height: 1.6; font-size: .96rem; }

/* =========================================================
   PHOTO BAND
   ========================================================= */
.photo-band{
  position: relative;
  height: clamp(280px, 38vw, 420px);
  overflow: hidden;
}
.photo-band__img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-band__scrim{
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(31,54,52,.72) 0%, rgba(31,54,52,.35) 45%, rgba(31,54,52,.1) 75%);
}
.photo-band__caption{
  position: relative;
  z-index: 1;
  max-width: 30ch;
  margin-inline: auto;      /* nuevo */
  text-align: center;       /* nuevo */
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;  /* nuevo */
}

/* =========================================================
   CARRUSEL DE DESTINOS
   ========================================================= */
.carousel{
  position: relative;
  z-index: 2;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  background: var(--cream-light);
}
.carousel__viewport{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel__track{
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform .6s var(--ease);
}
.carousel__slide{
  flex: 0 0 100%;
  aspect-ratio: 16 / 7;
}
.carousel__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(31,54,52,.32);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  z-index: 2;
}
.carousel__arrow:hover{ background: var(--pink); color: var(--white); }
.carousel__arrow svg{ width: 20px; height: 20px; }
.carousel__arrow--prev{ left: clamp(.5rem, 2vw, 1.25rem); }
.carousel__arrow--next{ right: clamp(.5rem, 2vw, 1.25rem); }

.carousel__dots{
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.4rem;
}
.carousel__dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(31,54,52,.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.carousel__dot.is-active{
  background: var(--pink);
  transform: scale(1.3);
}

@media (max-width: 720px){
  .carousel__slide{ aspect-ratio: 4 / 5; }
  .carousel__arrow{ width: 40px; height: 40px; }
  .carousel__arrow svg{ width: 18px; height: 18px; }
}

/* =========================================================
   WHY
   ========================================================= */
.why{
  padding-block: var(--section-pad);
  background: var(--ink);
  color: var(--cream);
  position: relative;
}
.why__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
.why-item__num{
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(237,236,219,.35);
  color: var(--teal-pale);
  margin-bottom: 1.4rem;
}
.why-item__num svg{ width: 22px; height: 22px; }
.why-item h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: .7rem;
  color: var(--white);
}
.why-item p{ color: rgba(237,236,219,.75); line-height: 1.65; font-size: .97rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact{ padding-block: var(--section-pad); background: var(--cream-light); }
.contact__grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__text{ color: var(--ink-soft); line-height: 1.6; margin-top: 1.2rem; font-size: 1.02rem; max-width: 40ch; }

.contact-info{ margin-top: 2.4rem; display: grid; gap: 1.2rem; }
.contact-info li{
  display: flex; flex-direction: column; gap: .2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(31,54,52,.1);
}
.contact-info__label{ font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
.contact-info a{ font-weight: 600; font-size: 1.02rem; }
.contact-info a:hover{ color: var(--pink-deep); }

.contact-form{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 30px 60px -30px rgba(31,54,52,.35);
}
.form-row{ margin-bottom: 1.3rem; }
.form-row--split{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-row label{
  display: block;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .5rem;
  color: var(--ink);
}
.form-row input, .form-row select, .form-row textarea{
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(31,54,52,.15);
  background: var(--cream-light);
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.form-note{ min-height: 1.4em; margin-top: 1rem; font-size: .9rem; font-weight: 600; color: var(--teal-deep); }
.form-note.is-error{ color: var(--pink-deep); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--ink); color: var(--cream); }
.site-footer__grid{
  padding-block: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: 2.5rem;
}
.site-footer__logo{ height: 40px; width: auto; margin-bottom: 1rem; }
.site-footer__brand p{ color: rgba(237,236,219,.65); font-size: .95rem; line-height: 1.5; max-width: 26ch; }
.site-footer__nav{ display: flex; flex-direction: column; gap: .9rem; }
.site-footer__nav a{ color: rgba(237,236,219,.8); font-weight: 600; font-size: .95rem; }
.site-footer__nav a:hover{ color: var(--pink-soft); }
.site-footer__contact{ display: flex; flex-direction: column; gap: .9rem; }
.site-footer__contact a, .site-footer__contact span{ color: rgba(237,236,219,.8); font-size: .95rem; }
.site-footer__contact a:hover{ color: var(--pink-soft); }
.site-footer__bottom{ border-top: 1px solid rgba(237,236,219,.15); padding-block: 1.4rem; }
.site-footer__bottom p{ font-size: .82rem; color: rgba(237,236,219,.55); }

/* =========================================================
   WhatsApp float button
   ========================================================= */
.wsp-float{
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px -12px rgba(74,147,142,.6);
  z-index: 90;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.wsp-float svg{ width: 28px; height: 28px; }
.wsp-float:hover{ background: var(--teal-deep); transform: scale(1.08); }

/* =========================================================
   Flight rail — signature decorative thread that winds the
   full width of the page, left to right, as it goes down.
   ========================================================= */
body{ position: relative; }
.flight-rail{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
.flight-rail__svg{ width: 100%; height: 100%; display: block; }
.flight-rail__path{
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.25;
  stroke-dasharray: 1 13;
  stroke-linecap: round;
  opacity: .5;
}
.flight-rail__plane{
  position: absolute;
  top: 0; left: 0;
  width: clamp(26px, 4vw, 42px);
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(31,54,52,.35));
  will-change: top, left, transform;
}

/* Keep readable content sitting above the decorative thread */
.hero__content,
.hero__visual,
.section-head,
.philosophy__intro,
.mv-card,
.service-card,
.why-item,
.contact__intro,
.contact-form,
.photo-band,
.site-footer{
  position: relative;
  z-index: 2;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ order: -1; min-height: 280px; }
  .philosophy__grid{ grid-template-columns: 1fr; }
  .contact__grid{ grid-template-columns: 1fr; }
  .services__grid{ grid-template-columns: 1fr 1fr; }
  .why__grid{ grid-template-columns: 1fr; gap: 2.6rem; }
  .site-footer__grid{ grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px){
  .main-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 2rem 2.2rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 99;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav a{ color: var(--cream); font-size: 1.15rem; }
  .main-nav a::after{ display: none; }
  .nav-toggle{ display: flex; }
  .site-header__actions .btn--ghost{ display: none; }

  .services__grid{ grid-template-columns: 1fr; }
  .form-row--split{ grid-template-columns: 1fr; }
  .hero__badge{ font-size: .74rem; padding: .5rem .9rem; }
  .hero__badge--1{ right: 2%; }
  .hero__badge--2{ left: 2%; }
}

@media (max-width: 720px){
  .flight-rail{ z-index: 3; }
}

@media (max-width: 480px){
  .hero__photo{ width: 74%; }
  .hero__plane-deco{ width: min(360px, 92%); }
  .hero__logo-chip{ width: min(150px, 44%); }
  .hero__actions{ flex-direction: column; align-items: stretch; }
}