*{box-sizing:border-box}
:root{
  --green:#0b5f20;
  --dark:#063817;
  --light:#f4f8f2;
  --gold:#d9a441;
  --text:#152018;
  --muted:#637067;
  --white:#fff;
  --shadow:0 18px 50px rgba(5,42,18,.15);
}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:#fff;
}
a{text-decoration:none;color:inherit}
.topbar{
  position:sticky;
  top:0;
  z-index:100;
  height:82px;
  padding:0 6%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(11,95,32,.12);
  backdrop-filter:blur(12px);
}
.brand img{
  width:76px;
  height:76px;
  object-fit:contain;
  display:block;
}
.nav{
  display:flex;
  align-items:center;
  gap:22px;
  font-weight:700;
  font-size:15px;
  color:#2d3c31;
}
.nav a:hover{color:var(--green)}
.nav-cta{
  background:var(--green);
  color:white!important;
  padding:11px 18px;
  border-radius:999px;
}
.menu-btn{
  display:none;
  border:0;
  background:var(--green);
  color:white;
  border-radius:10px;
  padding:10px 13px;
  font-size:22px;
}
.hero{
  position:relative;
  min-height:650px;
  padding:90px 6%;
  display:grid;
  grid-template-columns:1fr 360px;
  align-items:center;
  gap:42px;
  overflow:hidden;
  color:white;
  background:#063817;
}
.hero-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
}
.hero-mosaic{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:3px;
}
.mosaic-img{
  background-size:cover;
  background-position:center;
  filter:saturate(.7);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(6,56,23,.91) 0%,rgba(6,56,23,.75) 55%,rgba(6,56,23,.60) 100%),
    radial-gradient(circle at 80% 20%,rgba(217,164,65,.3),transparent 28%);
}
.hero-content,.hero-card{position:relative;z-index:2}
.label{
  margin:0 0 13px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px;
  font-weight:900;
}
.hero h1{
  max-width:780px;
  margin:0 0 20px;
  font-size:clamp(42px,6vw,78px);
  line-height:.98;
  letter-spacing:-.055em;
}
.hero p{
  max-width:720px;
  font-size:20px;
  line-height:1.65;
  color:rgba(255,255,255,.86);
}
.hero-actions{
  margin-top:32px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  font-weight:900;
}
.btn-primary{background:#29b957;color:white;box-shadow:0 18px 40px rgba(41,185,87,.25)}
.btn-light{border:1px solid rgba(255,255,255,.45);color:white}
.hero-card{
  align-self:end;
  background:
    linear-gradient(to top, rgba(5,30,13,.72) 0%, rgba(5,30,13,.35) 50%, rgba(5,30,13,.15) 100%),
    url('img/destinations/peru.jpg') center/cover no-repeat;
  color:white;
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}
.hero-card span{
  color:#ffe4a6;
  font-weight:900;
  font-size:13px;
  text-transform:uppercase;
}
.hero-card h3{font-size:28px;margin:12px 0;color:white}
.hero-card p{font-size:16px;color:rgba(255,255,255,.82);margin:0}
.quick-cards{
  width:min(1120px,88%);
  margin:-58px auto 0;
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.quick-cards article{
  background:white;
  border-radius:24px;
  padding:26px;
  box-shadow:var(--shadow);
  border:1px solid rgba(11,95,32,.08);
}
.quick-cards strong{font-size:20px;color:var(--green)}
.quick-cards p{color:var(--muted);line-height:1.55;margin-bottom:0}
.section{padding:92px 6%}
.section-title{
  max-width:760px;
  margin-bottom:36px;
}
.section-title h2,.quote-section h2,.terms-header h2{
  margin:0;
  font-size:clamp(32px,4vw,54px);
  line-height:1.05;
  letter-spacing:-.04em;
}
.section-title>p:last-child{color:var(--muted);line-height:1.7}
.destinations{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.destination-card{
  min-height:300px;
  padding:28px;
  border-radius:28px;
  color:white;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:linear-gradient(150deg,#0b5f20,#063817);
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
  background-size:cover;
  background-position:center;
}
.destination-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(5,30,13,.88) 0%, rgba(5,30,13,.50) 55%, rgba(5,30,13,.25) 100%);
}
.destination-card>*{position:relative;z-index:2}
.destination-card.large{
  grid-column:span 2;
}
/* Fondos por destino */
#peru{
  background-image:url('img/destinations/peru.jpg');
}
#colombia{
  background-image:url('img/destinations/colombia.jpg');
}
#bolivia{
  background-image:url('img/destinations/bolivia.jpg');
}
#ecuador{
  background-image:url('img/destinations/ecuador.jpg');
}
#panama{
  background-image:url('img/destinations/panama.jpg');
}
.destination-card span{color:#ffe4a6;font-weight:900}
.destination-card h3{font-size:25px;line-height:1.15;margin:12px 0}
.destination-card p{color:rgba(255,255,255,.82);line-height:1.5}
.destination-card a{
  margin-top:16px;
  width:max-content;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:white;
  font-weight:900;
}
.soft{background:var(--light)}
.packages{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.package{
  overflow:hidden;
  border-radius:28px;
  background:white;
  box-shadow:var(--shadow);
}
.package-top{
  height:210px;
  background:linear-gradient(135deg,#0b5f20,#d9a441);
  background-size:cover;
  background-position:center;
  position:relative;
}
.package-top::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(5,30,13,.18) 0%, rgba(5,30,13,.42) 100%);
  border-radius:0;
}
.peru-bg{
  background-image:url('img/packages/peru.jpg');
}
.colombia-bg{
  background-image:url('img/packages/colombia.jpg');
}
.bolivia-bg{
  background-image:url("img/packages/bolivia.jpg");
}
.package-body{padding:26px}
.package-body span{
  color:var(--green);
  background:var(--light);
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
}
.package-body h3{font-size:26px;margin:18px 0 8px}
.package-body p{color:var(--muted);line-height:1.6}
.package-body a{color:var(--green);font-weight:900}
.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.why-grid div{
  padding:26px;
  border-radius:24px;
  border:1px solid rgba(11,95,32,.12);
  background:white;
}
.why-icon{font-size:32px;margin-bottom:14px;line-height:1}
.why-grid h3{font-size:20px;margin:0 0 10px;color:var(--text)}
.why-grid p{color:var(--muted);line-height:1.7;font-size:15px}
.quote-section{
  padding:88px 6%;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:44px;
  align-items:center;
  color:white;
  background:linear-gradient(135deg,#063817,#0b5f20);
}
.quote-section>div>p:last-child{color:rgba(255,255,255,.82);font-size:17px;line-height:1.7}
form{
  background:white;
  padding:30px;
  border-radius:28px;
  display:grid;
  gap:14px;
  box-shadow:var(--shadow);
}
input,textarea{
  width:100%;
  border:1px solid #dfe7e2;
  border-radius:16px;
  padding:16px 18px;
  font-size:16px;
  font-family:inherit;
  box-sizing:border-box;
}
textarea{min-height:118px;resize:vertical}
form button{
  border:0;
  border-radius:16px;
  padding:16px 20px;
  background:var(--green);
  color:white;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
}
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:80;
  width:58px;height:58px;
  border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 30px rgba(37,211,102,.45);
  transition:transform .2s,box-shadow .2s;
}
.whatsapp-float:hover{transform:scale(1.08);box-shadow:0 12px 40px rgba(37,211,102,.55)}
/* ── Términos y condiciones ── */
.terms-section{
  padding:88px 6%;
  background:#f7f9f7;
}
.terms-header{
  max-width:700px;
  margin:0 0 52px;
}
.terms-header h2{font-size:38px;margin:12px 0 16px}
.terms-header p{color:var(--muted);font-size:17px;line-height:1.7}
.terms-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
  margin-bottom:44px;
}
.terms-block{
  background:white;
  border-radius:20px;
  padding:28px 32px;
  border:1px solid rgba(11,95,32,.09);
  box-shadow:0 2px 12px rgba(0,0,0,.04);
}
.terms-block h3{
  font-size:17px;
  color:var(--green);
  margin:0 0 12px;
  font-weight:800;
}
.terms-block p,.terms-block ul{
  color:var(--muted);
  line-height:1.75;
  font-size:15px;
  margin:0;
}
.terms-block ul{
  padding-left:18px;
  margin:10px 0;
}
.terms-block li{margin-bottom:6px}
.terms-footer-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  padding-top:28px;
  border-top:1px solid rgba(11,95,32,.12);
}
.terms-footer-note p{color:var(--muted);font-size:14px;margin:0}
.btn-terms{
  display:inline-block;
  padding:14px 26px;
  background:var(--green);
  color:white;
  border-radius:999px;
  font-weight:800;
  font-size:15px;
  white-space:nowrap;
}
/* ── Botón flotante Instagram ── */
.ig-float{
  position:fixed;
  right:22px;
  bottom:92px;
  z-index:80;
  width:52px;
  height:52px;
  border-radius:50%;
  background:linear-gradient(135deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 28px rgba(220,39,67,.4);
  transition:transform .2s,box-shadow .2s;
}
.ig-float:hover{
  transform:scale(1.08);
  box-shadow:0 12px 36px rgba(220,39,67,.5);
}
/* ── Footer mejorado ── */
footer{
  padding:40px 6%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  background:#051e0d;
  color:white;
}
.footer-left{display:flex;align-items:center;gap:16px}
.footer-left img{width:56px;height:56px;border-radius:50%;object-fit:cover}
.footer-left p{color:rgba(255,255,255,.72);font-size:14px;line-height:1.6;margin:0}
.footer-social{display:flex;gap:14px}
.footer-social a{
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.8);
  transition:background .2s;
}
.footer-social a:hover{background:rgba(255,255,255,.2)}
.footer-right{display:flex;flex-direction:column;gap:8px;text-align:right}
.footer-right a{color:rgba(255,255,255,.65);font-size:14px}
.footer-right a:hover{color:white}
/* ── Media queries ── */
@media(max-width:1050px){
  .hero{grid-template-columns:1fr;min-height:auto}
  .hero-card{max-width:420px}
  .quick-cards,.packages,.why-grid{grid-template-columns:1fr 1fr}
  .destinations{grid-template-columns:1fr 1fr}
  .quote-section{grid-template-columns:1fr}
  .terms-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:780px){
  .topbar{height:72px;padding:0 5%}
  .brand img{width:62px;height:62px}
  .menu-btn{display:block}
  .nav{
    display:none;
    position:absolute;
    top:72px;left:0;right:0;
    padding:18px 5%;
    background:white;
    flex-direction:column;
    align-items:flex-start;
    box-shadow:var(--shadow);
  }
  .nav.open{display:flex}
  .hero{padding:70px 5%;min-height:580px}
  .hero h1{font-size:36px}
  .hero-mosaic{grid-template-columns:repeat(3,1fr)}
  .hero-mosaic .mosaic-img:nth-child(4),
  .hero-mosaic .mosaic-img:nth-child(5){display:none}
  .quick-cards{margin:24px auto 0;grid-template-columns:1fr}
  .section{padding:60px 5%}
  .destinations,.packages,.why-grid{grid-template-columns:1fr}
  .destination-card.large{grid-column:auto}
  .quote-section{padding:60px 5%}
  .terms-section{padding:60px 5%}
  .terms-grid{grid-template-columns:1fr}
  .terms-footer-note{flex-direction:column;align-items:flex-start}
  .ig-float{right:18px;bottom:88px}
  .whatsapp-float{right:18px;bottom:24px}
  footer{flex-direction:column;align-items:flex-start;gap:20px}
  .footer-right{text-align:left}
}
