:root {
  --verde:    #1a3c34;
  --verde2:   #2d5a4e;
  --oro:      #c9960c;
  --oro2:     #f0b429;
  --crema:    #f9f5f0;
  --blanco:   #ffffff;
  --texto:    #1a1a1a;
  --muted:    #6b7280;
  --borde:    #e5e7eb;
  --radio:    10px;
  --sombra:   0 2px 12px rgba(0,0,0,.10);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--texto); background: var(--blanco); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(26,60,52,.97); backdrop-filter: blur(8px); padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--blanco); }
.nav-logo span { font-size: .95rem; font-weight: 700; line-height: 1.2; }
.nav-logo small { display: block; font-size: .7rem; font-weight: 400; opacity: .8; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.85); padding: 6px 14px; border-radius: 6px; font-size: .9rem; transition: background .2s; }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.15); color: #fff; }
.nav-wa { background: #25d366; color: #fff !important; border-radius: 20px; padding: 7px 16px !important; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.nav-wa:hover { background: #1ebe5d !important; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.hero { min-height: 92vh; background: linear-gradient(160deg, rgba(10,30,20,.65) 0%, rgba(10,30,20,.35) 55%, rgba(0,0,0,.15) 100%), url('/img/hero-machupicchu.jpg') center/cover no-repeat; display: flex; align-items: center; padding: 100px 24px 60px; margin-top: 64px; }
.hero-content { max-width: 640px; }
.hero-badge { display: inline-block; background: var(--oro); color: var(--verde); font-weight: 700; font-size: .8rem; padding: 4px 14px; border-radius: 20px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .5px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-primary { background: var(--oro); color: var(--verde); }
.btn-outline  { background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-green    { background: var(--verde); color: #fff; }
.stats { background: var(--verde); padding: 32px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--oro2); }
.stat-lbl { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: 2px; }
.section { padding: 70px 24px; }
.section-alt { background: var(--crema); }
.container { max-width: 1180px; margin: 0 auto; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--verde); margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 1rem; margin-bottom: 40px; }
.filtros { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filtro-btn { padding: 9px 20px; border-radius: 20px; border: 2px solid var(--borde); background: var(--blanco); font-size: .9rem; cursor: pointer; transition: all .2s; font-weight: 500; }
.filtro-btn:hover, .filtro-btn.active { background: var(--verde); border-color: var(--verde); color: var(--blanco); }
.tours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tour-card { background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.tour-img { position: relative; height: 210px; overflow: hidden; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tour-card:hover .tour-img img { transform: scale(1.05); }
.tour-badge { position: absolute; top: 12px; left: 12px; background: var(--oro); color: var(--verde); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 12px; text-transform: uppercase; }
.tour-badge.paquete  { background: var(--verde); color: #fff; }
.tour-badge.aventura { background: #ef4444; color: #fff; }
.tour-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.tour-title { font-size: 1rem; font-weight: 700; color: var(--verde); margin-bottom: 8px; line-height: 1.3; }
.tour-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.tour-meta span { display: flex; align-items: center; gap: 4px; }
.tour-desc { font-size: .88rem; color: var(--muted); margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.tour-precio { display: flex; flex-direction: column; }
.tour-precio .desde { font-size: .72rem; color: var(--muted); }
.tour-precio .precio { font-size: 1.4rem; font-weight: 800; color: var(--verde); }
.tour-precio .oferta { font-size: .8rem; color: #ef4444; font-weight: 600; }
.tour-precio s { color: var(--muted); font-size: .85rem; }
.btn-ver { background: var(--verde); color: #fff; padding: 9px 18px; border-radius: 7px; font-size: .88rem; font-weight: 600; cursor: pointer; border: none; transition: background .2s; white-space: nowrap; }
.btn-ver:hover { background: var(--verde2); }
.loading { text-align: center; padding: 60px; color: var(--muted); }
.spinner { width: 40px; height: 40px; border: 3px solid var(--borde); border-top-color: var(--verde); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 60px; color: var(--muted); }
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cat-card { border-radius: var(--radio); overflow: hidden; position: relative; height: 220px; cursor: pointer; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-card:hover img { transform: scale(1.07); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,60,52,.85) 0%, rgba(26,60,52,.2) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.cat-overlay h3 { color: #fff; font-size: 1.2rem; font-weight: 700; }
.cat-overlay span { color: rgba(255,255,255,.8); font-size: .85rem; }
.porq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.porq-item { text-align: center; padding: 30px 20px; }
.porq-icon { font-size: 2.4rem; margin-bottom: 14px; }
.porq-item h4 { font-weight: 700; color: var(--verde); margin-bottom: 8px; }
.porq-item p { font-size: .9rem; color: var(--muted); }
.cta-wa { background: var(--verde); padding: 60px 24px; text-align: center; }
.cta-wa h2 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.cta-wa p { color: rgba(255,255,255,.85); margin-bottom: 28px; font-size: 1rem; }
.btn-wa-big { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 16px 36px; border-radius: 40px; font-size: 1.1rem; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.btn-wa-big:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.65); overflow-y: auto; padding: 20px; }
.overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.modal { background: var(--blanco); border-radius: 14px; max-width: 760px; width: 100%; margin: 20px auto; overflow: hidden; }
.modal-img { height: 280px; overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 28px; }
.modal-body h2 { color: var(--verde); font-size: 1.4rem; margin-bottom: 6px; }
.modal-precio { font-size: 1.8rem; font-weight: 800; color: var(--verde); margin-bottom: 20px; }
.modal-precio small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.modal-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--borde); margin-bottom: 20px; }
.modal-tab { padding: 8px 18px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.modal-tab.active { color: var(--verde); border-bottom-color: var(--verde); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.incluye-list { list-style: none; }
.incluye-list li { padding: 6px 0; border-bottom: 1px solid var(--borde); font-size: .9rem; display: flex; gap: 8px; }
.incluye-list li::before { content: "chk"; color: #16a34a; font-weight: 700; flex-shrink: 0; }
.excluye-list li::before { content: "x"; color: #ef4444; font-weight: 700; flex-shrink: 0; }
.modal-form { display: grid; gap: 14px; margin-top: 4px; }
.modal-form input, .modal-form select, .modal-form textarea { width: 100%; padding: 11px 14px; border: 2px solid var(--borde); border-radius: 8px; font-size: .95rem; font-family: inherit; transition: border-color .2s; }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { outline: none; border-color: var(--verde); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-close { float: right; background: rgba(0,0,0,.1); border: none; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.footer { background: var(--verde); color: rgba(255,255,255,.8); padding: 48px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer a { color: rgba(255,255,255,.75); display: block; margin-bottom: 7px; font-size: .9rem; transition: color .2s; }
.footer a:hover { color: var(--oro2); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; text-align: center; font-size: .82rem; }
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 150; background: #25d366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37,211,102,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); }
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--verde); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { min-height: 80vh; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body { padding: 18px; }
}
