/* Wild Watch Peru - Lightweight Theme
   File: /assets/css/styles.css
   Goal: fast loading, minimal, accessible, SEO-friendly structure
*/

:root{
  --bg:#0b1410;
  --text:#eaf2ec;
  --muted:#b7c4bb;

  --brand:#48c78e;
  --brand2:#2aa7ff;

  --border: rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
  --max: 1100px;
  --pad: 18px;

  color-scheme: dark;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height:1.55;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(72,199,142,.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(42,167,255,.14), transparent 55%),
    var(--bg);
}

img{ max-width:100%; height:auto; }
a{ color:inherit; text-decoration-color: rgba(72,199,142,.55); }
a:hover{ text-decoration-color: var(--brand); }

.container{ max-width:var(--max); margin:0 auto; padding:0 var(--pad); }

/* Accessibility */
.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:12px; top:12px; width:auto; height:auto;
  background:#000;
  border:1px solid var(--border);
  padding:10px;
  border-radius:10px;
  z-index:9999;
}

/* Header / Nav */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,20,16,.75);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:800;
  letter-spacing:.2px;
  text-decoration:none;
}

.brand-badge{
  width:34px;
  height:34px;
  border-radius:10px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: var(--shadow);
}

nav ul{
  display:flex;
  gap:14px;
  list-style:none;
  padding:0;
  margin:0;
  flex-wrap:wrap;
}

nav a{
  padding:8px 10px;
  border-radius:10px;
}

nav a[aria-current="page"]{
  background: rgba(255,255,255,.08);
  border:1px solid var(--border);
}

/* Layout sections */
.hero{ padding:52px 0 26px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:start;
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
}

.section{ padding:22px 0; }
.section h2{ margin:0 0 10px; font-size:1.35rem; }

/* Type */
.h1{
  font-size: clamp(28px, 4vw, 44px);
  line-height:1.12;
  margin:0 0 12px;
}

.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:1.05rem;
}

.muted{ color:var(--muted); }
.small{ font-size:.92rem; }

/* Pills + CTAs */
.pillrow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 22px;
}

.pill{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  padding:7px 10px;
  border-radius:999px;
  color:var(--muted);
  font-size:.92rem;
}

.cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:650;
  text-decoration:none;
  transition: transform .12s ease;
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: linear-gradient(135deg, rgba(72,199,142,.95), rgba(42,167,255,.90));
  border-color: transparent;
}

/* Cards / grids */
.card{
  background: rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-pad{ padding:16px; }

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

@media (max-width: 900px){
  .grid3{ grid-template-columns:1fr; }
}

.kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

@media (max-width: 900px){
  .kv{ grid-template-columns:1fr; }
}

/* Badges */
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(72,199,142,.10);
  border:1px solid rgba(72,199,142,.25);
  color:#d8ffe9;
}

/* Content formatting */
.prose h1, .prose h2, .prose h3{ line-height:1.2; }
.prose p, .prose ul, .prose ol{ color:var(--muted); }

hr{
  border:none;
  border-top:1px solid var(--border);
  margin:16px 0;
}

/* Tour meta chips */
.tour-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:8px;
}

.meta-chip{
  font-size:.88rem;
  color:var(--muted);
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.12);
}

/* Tabs (for tour detail pages) */
.tabs{ margin-top:14px; }

.tablist{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  border-bottom:1px solid var(--border);
  padding-bottom:10px;
}

.tabbtn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color:var(--text);
  padding:8px 10px;
  border-radius:12px;
  font-weight:650;
  cursor:pointer;
}

.tabbtn[aria-selected="true"]{
  background: rgba(72,199,142,.16);
  border-color: rgba(72,199,142,.35);
}

.tabpanel{ padding:14px 0 0; }
.tabpanel[hidden]{ display:none; }

/* Forms */
label{
  display:block;
  margin:10px 0 6px;
  color:var(--muted);
}

input, textarea, select{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color: var(--text);
}

textarea{ min-height:120px; }

.formrow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

@media (max-width: 900px){
  .formrow{ grid-template-columns:1fr; }
}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  margin-top:30px;
  padding:22px 0;
  color:var(--muted);
  font-size:.95rem;
}

.footer a{ color:var(--text); }