:root {
  --bg: #0b1220;
  --panel: #0f1333;
  --line: #1f2444;
  --fg: #ffffff;
  --muted: #9a9a9a;
  --brand: #f97316;
  --wa: #25d366;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.wrap {
  max-width: 980px;
  margin: auto;
  padding: 18px;
}

h1, h2, h3 {
  margin: 0 0 10px;
}

..nav {
  /* position: sticky;  <-- quitar */
  /* top: 0;            <-- quitar */
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { font-size: 20px; }

.nav a {
  color: var(--muted);
  margin-left: 14px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--fg);
}

.hero {
  padding: 72px 0;
  text-align: center;
  background: radial-gradient(1200px 400px at 50% 20%, #1b2744, transparent);
}

.hero h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.btn, .btn-outline {
  display: inline-block;
  padding: 12px 18px;
  margin: 10px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.btn {
  background: var(--brand);
  color: #fff;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-outline {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
}

.btn-outline:hover {
  border-color: var(--brand);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 20px auto;
  max-width: 800px;
}

.planes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.plan h4 {
  margin: 0 0 8px;
}

footer {
  text-align: center;
  border-top: 1px solid var(--line);
  padding: 20px;
  color: var(--muted);
}
.price { margin: 6px 0 10px; }
.price .was {
  text-decoration: line-through;
  color: #94a3b8;
  margin-right: 8px;
  font-weight: 600;
}
.price .now {
  font-size: 22px;
  font-weight: 800;
}
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.galeria img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.galeria {
  text-align: center;
  margin: 40px auto;
}

.galeria h2 {
  color: var(--fg);
  margin-bottom: 20px;
}

.galeria .fotos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.galeria .fotos img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
/* Clases en acción */
.accion .wrap {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* espacio entre texto y fotos */
}

.accion .texto {
  flex: 1; /* ocupa mitad izquierda */
}

.accion .fotos {
  flex: 1; /* ocupa mitad derecha */
  display: flex;
  flex-direction: column;
  gap: 10px; /* espacio entre fotos */
}

.accion img {
  max-width: 100%;
  border-radius: 8px;
}
/* Logo + nombre en el header */
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.nav .brand .logo {
  height: 100px; /* probá 40px si lo querés más grande */
  width: auto;
  display: block;
}

.nav .brand span {
  font-weight: 800;
  font-size: 40px;
  letter-spacing: .2px;
}
.nav.scrolled {
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
/* Aparición suave al scrollear */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
/* Efectos de hover y click en botones */
button, .btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .3s ease;
}

button:hover, .btn:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

button:active, .btn:active {
  filter: brightness(0.9);
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* Botones (usar tu color --brand) */
.btn, button {
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
  font-weight: 700;
}

/* Hover: más brillo + leve zoom + sombra */
.btn:hover, button:hover {
  filter: brightness(1.12);
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* Click: sensación de “presionado” */
.btn:active, button:active {
  filter: brightness(0.95);
  transform: scale(0.98);
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

/* Botón contorno */
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--fg);
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.btn-outline:active {
  transform: scale(0.98);
}

/* Accesibilidad focus */
.btn:focus-visible, .btn-outline:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
/* ---------- Instrumentos: tabs ---------- */
.instrument-tabs {
  display: flex; gap: 8px; margin: 12px 0 18px;
  flex-wrap: wrap;
}
.tab-btn {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.tab-btn:hover { transform: translateY(-1px); }
.tab-btn.active {
  background: var(--brand);
  color: #000;
  box-shadow: 0 0 0 2px var(--brand) inset;
}

/* Panel de cada instrumento */
.instrument-panel[hidden] { display: none; }

/* Ajustes de logo en header */
.logo-img { width: 36px; height: 36px; object-fit: contain; vertical-align: middle; margin-right: 8px; }
.logo span { vertical-align: middle; }

/* Cards populares */
.plan.popular { position: relative; }
.badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 12px; font-weight: 800;
  background: var(--brand); color: #000; padding: 4px 8px; border-radius: 14px;
}

/* Precios */
.price { font-size: 22px; font-weight: 800; margin: 8px 0; }
.price .old { text-decoration: line-through; opacity: .6; margin-right: 6px; }

/* Botón principal ajuste */
.btn {
  display: inline-block; padding: 10px 16px; border-radius: 12px;
  font-weight: 800; text-decoration: none; border: 1px solid var(--line);
  background: var(--brand); color: #000;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn-outline {
  display: inline-block; padding: 8px 14px; border-radius: 12px;
  font-weight: 800; text-decoration: none; border: 1px solid var(--line);
  background: transparent; color: var(--fg);
}
.btn-outline:hover { filter: brightness(1.1); }