/* Wild Colombia Travel — colores del logo: azul, amarillo, rojo */
:root {
  --navy: #14306b; --navy-2: #0c1f48; --yellow: #f7c515; --red: #d62839;
  --sand: #fbf7ef; --ink: #1b2233; --muted: #5b6475; --line: #e7e0d2; --white: #fff;
  --radius: 18px; --shadow: 0 10px 30px rgba(12, 31, 72, .12);
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy-2); }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 600; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
section.wrap { padding: 64px 0 8px; }
.small { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--red); margin: 0 0 .6em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--white); padding: 8px 12px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.2em; border-radius: 999px;
  background: var(--yellow); color: var(--navy-2); font: 600 1rem var(--sans); text-decoration: none; border: 2px solid var(--yellow);
  cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.big { padding: .95em 1.6em; font-size: 1.05rem; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 16px; background: rgba(251, 247, 239, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.1rem var(--serif); color: var(--navy-2); }
.brand b { color: var(--red); font-weight: 600; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2px; background: var(--navy-2); position: relative; content: ""; }
.burger span::before { position: absolute; top: -7px; } .burger span::after { position: absolute; top: 7px; }
.top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sand); border-bottom: 1px solid var(--line);
  flex-direction: column; padding: 8px 16px 20px; box-shadow: var(--shadow); }
.top.open nav { display: flex; }
.top nav a { padding: 12px 4px; text-decoration: none; font-weight: 600; color: var(--navy-2); border-bottom: 1px solid var(--line); }
.top nav a.btn { margin-top: 14px; border-bottom: 0; }
@media (min-width: 1120px) {
  .top { padding: 12px 32px; }
  .burger { display: none; }
  .top nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 22px; padding: 0; background: none; border: 0; box-shadow: none; }
  .top nav a { border: 0; font-size: .95rem; white-space: nowrap; }
  .top nav a:not(.btn) { padding: 0; }
  .top nav a:not(.btn):hover { color: var(--red); }
  .top nav a.btn { margin: 0; }
}

/* Hero */
.hero { position: relative; min-height: 82svh; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; overflow: hidden; }
.hero.small { min-height: 56svh; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,31,72,.25) 0%, rgba(12,31,72,.45) 40%, rgba(8,20,48,.9) 100%); }
.hero .wrap { padding: 120px 0 56px; }
.hero h1 { color: var(--white); max-width: 15ch; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--yellow); }
.hero .eyebrow { color: var(--yellow); }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 56ch; opacity: .95; }
.hero .btn.ghost { color: var(--white); }
.trust { margin-top: 1.6em; font-size: .85rem; opacity: .85; }

/* Tarjetas */
.cards { display: grid; gap: 14px; margin-top: 28px; }
/* móvil: carrusel horizontal con snap en vez de 4 tarjetas apiladas */
@media (max-width: 599px) {
  .cards { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -16px; padding: 0 16px 8px; scroll-padding-inline: 16px; }
  .card { scroll-snap-align: start; }
}
@media (min-width: 600px) { .cards { gap: 18px; grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; }
.card > div { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card p { color: var(--muted); font-size: .95rem; margin: 0 0 1em; flex: 1; }
.more { font-weight: 600; color: var(--red); font-size: .95rem; }

/* Banda y "por qué" */
.band { background: var(--navy-2); color: #dfe6f5; margin-top: 72px; padding: 64px 0; }
.band h2, .band h3 { color: var(--white); }
.band .eyebrow { color: var(--yellow); }
.why { display: grid; gap: 22px 32px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why > div { border-top: 3px solid var(--yellow); padding-top: 14px; }
.why p { margin: 0; }

/* Texto */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.2em; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230c1f48' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Galería */
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: var(--white); font: 600 1.1rem var(--serif);
  background: linear-gradient(transparent, rgba(8,20,48,.85)); }

/* Split + pasos */
.split { display: grid; gap: 32px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.steps { padding-left: 1.2em; } .steps li { margin-bottom: .7em; } .steps li::marker { color: var(--red); font-weight: 700; }

/* CTA final */
.cta { background: var(--yellow); margin-top: 72px; padding: 64px 0; text-align: center; }
.cta h2 { color: var(--navy-2); }
.cta p { max-width: 54ch; margin-inline: auto; }
.cta .actions { justify-content: center; }
.cta .btn { background: var(--navy-2); color: var(--white); border-color: var(--navy-2); }
.cta .btn.ghost { background: transparent; color: var(--navy-2); }

/* Equipo */
.team { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.team figure { margin: 0; width: min(300px, 70vw); text-align: center; }
.team img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; border: 6px solid var(--white); box-shadow: var(--shadow); }
.team figcaption { margin-top: 12px; color: var(--muted); } .team b { display: block; font: 600 1.2rem var(--serif); color: var(--navy-2); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--white); border-radius: 14px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.5rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px; margin: 0 0 1em; color: var(--muted); }

/* Reserva */
.book { display: grid; gap: 28px; }
@media (min-width: 900px) { .book { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.plan, .contact { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 1px 0 var(--line); }
.plan label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.plan input, .plan select, .plan textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfc6b4; border-radius: 10px;
  font: 400 1rem var(--sans); background: var(--sand); color: var(--ink); }
.plan input:focus, .plan select:focus, .plan textarea:focus { outline: 3px solid rgba(247,197,21,.6); border-color: var(--navy); }
.row { display: grid; gap: 0 14px; grid-template-columns: 2fr 1fr; }
.plan .btn.ghost { color: var(--navy-2); }
.contact .line { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact .line b { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }

/* Pie */
.foot { background: var(--navy-2); color: #b9c4dc; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.cta + .foot { margin-top: 0; }
main > section:last-child:not(.cta) { padding-bottom: 72px; }
.foot .cols { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.foot h3 { color: var(--white); font-size: 1rem; font-family: var(--sans); }
.foot a { display: block; color: #dfe6f5; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.foot a:hover { color: var(--yellow); }
.foot .small { color: #8e9bb8; margin-top: 28px; } .foot .small a { display: inline; }
.foot img { background: var(--white); border-radius: 50%; margin-bottom: 10px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Selector de idioma (EN/ES) */
.lang { margin-left: auto; font: 600 .85rem var(--sans); letter-spacing: .08em; color: var(--navy-2); text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 999px; padding: .35em .8em; }
.lang:hover { border-color: var(--navy); }
@media (min-width: 1120px) { .top nav { margin-left: auto; order: 1; } .lang { order: 2; margin-left: 0; } }
.brand span { white-space: nowrap; }
@media (max-width: 400px) { .top { gap: 10px; } .brand { font-size: 1rem; gap: 8px; } .brand img { width: 40px; height: 40px; } }
