/* Mexico destination page — shares the Vero Tierra design system */
.mexico-hero{min-height:680px;min-height:82svh;position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;background:var(--navy);color:#fff;padding:200px 0 24px}
.mexico-hero-image,.mexico-hero-shade{position:absolute;inset:0}
.mexico-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%;transform:scale(1.01)}
.mexico-hero-shade{background:linear-gradient(90deg,rgba(3,54,88,.88) 0%,rgba(3,54,88,.58) 55%,rgba(3,54,88,.18) 100%),linear-gradient(0deg,rgba(3,24,39,.78),rgba(3,54,88,.08) 72%)}
.mexico-hero-content{position:relative;z-index:1;padding-bottom:58px}
.mexico-hero h1{font:900 clamp(42px,4.5vw,62px)/.94 'Archivo',sans-serif;letter-spacing:-.065em;text-transform:uppercase;max-width:1050px;margin:0}
.mexico-hero h1 span{color:var(--blue)}
.mexico-hero-deck{font-size:clamp(17px,1.5vw,21px);line-height:1.65;max-width:620px;color:rgba(255,255,255,.86);margin:24px 0 24px}
.mexico-hero-content .button{min-width:270px}
.mexico-hero-foot{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.38);padding-top:17px;display:flex;justify-content:space-between;gap:20px;color:rgba(255,255,255,.85);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.mexico-hero-foot a{color:white;text-decoration:none}
.mexico-hero-foot a .arrow-icon{margin-left:10px}
.mexico-intro{padding:120px 0 125px}
.mexico-intro-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:9vw;align-items:start}
.mexico-intro-heading h2,.mexico-section-heading h2,.mexico-journey-heading h2,.mexico-final-inner h2{font:900 clamp(48px,6vw,78px)/.94 'Archivo',sans-serif;letter-spacing:-.065em;margin:0}
.mexico-intro-heading h2 em,.mexico-section-heading h2 em,.mexico-journey-heading h2 em,.mexico-final-inner h2 em{font-style:normal;color:#278fbd}
.mexico-intro-copy{padding-top:34px;color:var(--muted);font-size:16px;line-height:1.85}
.mexico-intro-copy p{margin:0 0 18px}
.mexico-intro-copy .mexico-lead{font-size:clamp(19px,1.8vw,24px);line-height:1.6;color:var(--ink)}
.mexico-possibilities{padding:118px 0 124px}
.mexico-section-heading{display:grid;grid-template-columns:1.1fr .7fr;gap:8vw;align-items:end;margin-bottom:58px}
.mexico-section-heading>p{color:rgba(255,255,255,.7);font-size:15px;line-height:1.8;max-width:440px;margin:0 0 4px}
.mexico-section-heading h2 em{color:var(--blue)}
.mexico-interest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.mexico-interest-card{border:1px solid rgba(255,255,255,.2);padding:0;min-height:390px;display:flex;flex-direction:column;overflow:hidden;background:rgba(255,255,255,.025)}
.mexico-interest-card>img{display:block;width:100%;height:260px;object-fit:cover}
.interest-copy{padding:24px 28px 26px;display:flex;flex-direction:column;flex:1}
.mexico-interest-card h3{font:800 clamp(25px,2.5vw,34px)/1.05 'Archivo',sans-serif;letter-spacing:-.045em;margin:24px 0 14px}
.mexico-interest-card p{font-size:14px;line-height:1.8;color:rgba(255,255,255,.7);margin:0 0 24px}
.interest-note{margin-top:auto;padding-top:15px;border-top:1px solid rgba(255,255,255,.2);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}
.mexico-journey{padding:120px 0 125px}
.mexico-journey-grid{display:grid;grid-template-columns:1fr 1fr;gap:9vw;align-items:start}
.mexico-journey-content{padding-top:8px}
.mexico-journey-content>.mexico-lead{font-size:clamp(19px,1.8vw,23px);line-height:1.6;color:var(--ink);margin:0 0 36px}
.mexico-steps{border-top:1px solid rgba(8,24,39,.2)}
.mexico-steps article{display:grid;grid-template-columns:52px 1fr;gap:15px;padding:22px 0;border-bottom:1px solid rgba(8,24,39,.2)}
.mexico-steps article>span{font-size:11px;font-weight:800;letter-spacing:.1em;color:#bd6c27;padding-top:4px}
.mexico-steps h3{font:800 21px/1.1 'Archivo',sans-serif;margin:0 0 8px;letter-spacing:-.035em}
.mexico-steps p{font-size:14px;line-height:1.7;color:#526879;margin:0;max-width:520px}
.mexico-final-cta{padding:112px 0 120px;text-align:center}
.mexico-final-inner{max-width:950px}
.mexico-final-inner .eyebrow{margin-bottom:24px}
.mexico-final-inner h2{font-size:clamp(52px,7vw,90px);color:white}
.mexico-final-inner h2 em{color:var(--blue)}
.mexico-final-inner>p:not(.eyebrow){color:rgba(255,255,255,.7);font-size:17px;line-height:1.7;margin:24px auto 28px}
.mexico-final-inner .button{margin:auto}
@media(max-width:900px){
  .mexico-interest-card>img{height:280px}
  .mexico-hero{min-height:650px;min-height:78svh;padding-top:160px}
  .mexico-hero-content{padding-bottom:48px}
  .mexico-intro,.mexico-possibilities,.mexico-journey{padding:88px 0}
  .mexico-intro-grid,.mexico-journey-grid{grid-template-columns:1fr;gap:30px}
  .mexico-intro-copy{padding-top:0;max-width:700px}
  .mexico-section-heading{grid-template-columns:1fr;gap:22px;margin-bottom:38px}
  .mexico-interest-grid{grid-template-columns:1fr}
  .mexico-interest-card{min-height:0}
  .mexico-interest-card h3{margin-top:24px}
  .mexico-journey-content{padding-top:0}
}
@media(max-width:600px){
  .mexico-hero{min-height:620px;min-height:82svh;padding-top:126px}
  .mexico-hero-content{padding-bottom:42px}
  .mexico-hero-image img{object-position:52% center}
  .mexico-hero h1{font-size:clamp(40px,10.5vw,54px);line-height:.96}
  .mexico-hero-deck{font-size:16px;margin:24px 0}
  .mexico-hero-foot{font-size:9px;letter-spacing:.07em;align-items:flex-start}
  .mexico-hero-foot span{max-width:65%}
  .mexico-intro,.mexico-possibilities,.mexico-journey{padding:72px 0}
  .mexico-intro-heading h2,.mexico-section-heading h2,.mexico-journey-heading h2{font-size:clamp(44px,12vw,60px)}
  .mexico-final-cta{padding:82px 0}
  .mexico-final-inner h2{font-size:clamp(46px,12vw,66px)}
  .mexico-hero-content .button{width:100%;max-width:340px}
}


/* Mexico experience cards: reuse the home page's full-bleed destination-card treatment. */
.mexico-interest-card.destination-card{
  position:relative;
  display:block;
  min-height:590px;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:5px;
  background:var(--navy);
  color:#fff;
}
.mexico-interest-card.destination-card>img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
.mexico-interest-card.destination-card:hover>img{transform:scale(1.045)}
.mexico-interest-card.destination-card .interest-copy.destination-content{
  position:absolute;
  z-index:1;
  left:30px;
  right:30px;
  bottom:32px;
  display:flex;
  flex-direction:column;
  padding:0;
}
.mexico-interest-card.destination-card h3{
  font:800 clamp(30px,3.2vw,44px)/.98 'Archivo',sans-serif;
  letter-spacing:-.05em;
  text-transform:uppercase;
  color:#fff;
  margin:16px 0;
}
.mexico-interest-card.destination-card p{
  color:rgba(255,255,255,.82);
  font-size:14px;
  line-height:1.7;
  max-width:340px;
  margin:0;
}
.mexico-interest-card.destination-card .card-link{
  display:inline-flex;
  gap:24px;
  margin-top:26px;
  padding-top:13px;
  border-top:1px solid rgba(255,255,255,.4);
  width:100%;
  justify-content:space-between;
  text-decoration:none;
  text-transform:uppercase;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  color:#fff;
}
.mexico-interest-card.destination-card .card-link .arrow-icon{width:.8em;height:.8em}
@media(max-width:900px){
  .mexico-interest-card.destination-card{min-height:540px}
  .mexico-interest-card.destination-card .interest-copy.destination-content{left:24px;right:24px;bottom:26px}
}
@media(max-width:560px){
  .mexico-interest-card.destination-card{min-height:500px}
}


/* Mexico destination introduction image, placed directly beneath the headline. */
.mexico-intro-photo{
  display:block;
  width:100%;
  aspect-ratio: 1.18 / 1;
  object-fit:cover;
  object-position:center 48%;
  margin-top:34px;
  border-radius:3px;
}
.mexico-intro-copy{padding-top:34px}
.mexico-intro-copy p{margin-bottom:22px}
@media(max-width:900px){
  .mexico-intro-photo{aspect-ratio: 1.35 / 1; margin-top:26px}
  .mexico-intro-copy{padding-top:0}
}


/* Dark CTA beneath the Mexico destination introduction. */
.mexico-intro-cta{
  margin-top: 10px;
  background: var(--navy);
  color: #fff;
}
.mexico-intro-cta:hover{
  background: #17364e;
}
.mexico-intro-copy .mexico-intro-cta{
  display: inline-flex;
  width: auto;
  max-width: 100%;
}
@media(max-width:600px){
  .mexico-intro-copy .mexico-intro-cta{
    width: 100%;
  }
}


/* Generic dark CTA beneath the reusable destination journey headline. */
.mexico-journey-cta{
  margin-top: 28px;
  background: var(--navy);
  color: #fff;
  min-width: 270px;
}
.mexico-journey-cta:hover{
  background: #17364e;
}
.mexico-journey-cta span{font-size:20px}
@media(max-width:900px){
  .mexico-journey-cta{margin-top:22px}
}
@media(max-width:560px){
  .mexico-journey-cta{width:100%}
}


/* Supplied Sacred Valley photo between the reusable journey headline and CTA. */
.mexico-journey-photo{
  display:block;
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  object-position:center;
  margin-top:28px;
  border-radius:3px;
}
.mexico-journey-heading .mexico-journey-cta{
  margin-top:24px;
}
@media(max-width:900px){
  .mexico-journey-photo{margin-top:22px;aspect-ratio: 16 / 10}
}


/* Journey CTA sits beneath the copy and three steps in the right column. */
.mexico-journey-content > .mexico-journey-cta{
  margin-top:28px;
}
@media(max-width:560px){
  .mexico-journey-content > .mexico-journey-cta{width:100%}
}


/* Remove the final step divider directly above the journey CTA. */
.mexico-steps article:last-child{
  border-bottom:0;
}


/* Peru hero: favor the cloud cover and mountain peaks over the foreground railing. */
.peru-page .mexico-hero-image img{object-position:center 20%}
@media(max-width:600px){
  .peru-page .mexico-hero-image img{object-position:52% 30%}
}


/* Keep destination heroes consistently full-height across Peru, Guatemala and Mexico. */
@media (min-width: 601px) {
  .destination-page .mexico-hero {
    min-height: 100svh;
  }
}


/* Mexico hero: bring El Castillo's upper temple into view and reduce the foreground. */
.mexico-page .mexico-hero-image img {
  object-position: center 5%;
}
@media (max-width: 600px) {
  .mexico-page .mexico-hero-image img {
    object-position: center 10%;
  }
}


/* Consistent, platform-safe inline arrows */
.arrow-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:.78em;height:.78em;line-height:1;vertical-align:-.06em;margin-left:.45em;color:currentColor;}
.arrow-icon svg{display:block;width:100%;height:100%;overflow:visible;}
.arrow-icon path{fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;}
.nav-cta .arrow-icon,.button .arrow-icon,.card-link .arrow-icon,.tier-link .arrow-icon{width:.78em;height:.78em;}
.mexico-hero-foot .arrow-icon{width:.78em;height:.78em;margin-left:10px;}
.process-item>.arrow-icon{width:.78em;height:.78em;margin:4px 0 0 auto;color:#278dbd;}


/* Vero Tierra arrow refinement: match adjacent label height and tighten spacing. */
.arrow-icon {
  width: 1em;
  height: 1em;
  margin-left: -9px;
  vertical-align: -0.12em;
}
.nav-cta .arrow-icon,
.button .arrow-icon,
.card-link .arrow-icon,
.tier-link .arrow-icon,
.text-link .arrow-icon,
.mexico-hero-foot .arrow-icon {
  width: 1em;
  height: 1em;
  margin-left: -9px;
}


/* Your pace, your journey CTA: match the compact blue header button on every destination page. */
.mexico-journey-cta,
.mexico-journey-content > .mexico-journey-cta {
  display: inline-flex;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 5px;
  background: var(--blue);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  gap: 18px;
  justify-content: flex-start;
}
.mexico-journey-cta:hover {
  background: var(--blue);
  color: var(--navy);
}
.mexico-journey-cta .arrow-icon {
  width: 1em;
  height: 1em;
  margin-left: -9px;
}
.mexico-journey-cta span:not(.arrow-icon) {
  font-size: inherit;
}
@media (max-width: 560px) {
  .mexico-journey-content > .mexico-journey-cta {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }
}


/* Restore the original navy CTA color in the Your Pace, Your Journey module. */
.mexico-journey-content .mexico-journey-cta,
.mexico-journey-heading .mexico-journey-cta {
  background: var(--navy) !important;
  color: #fff !important;
}
.mexico-journey-content .mexico-journey-cta:hover,
.mexico-journey-heading .mexico-journey-cta:hover {
  background: #17364e !important;
  color: #fff !important;
}
