/* ==========================================================================
   LumuDev — estilos
   ========================================================================== */

:root {
  /* Colores */
  --bg: #070a10;
  --panel: #0d1420;
  --panel-2: #0b121c;
  --band-from: #0b1725;
  --band-to: #0a111b;
  --border: #1b2b40;
  --border-band: #1c3045;
  --border-soft: #ffffff12;
  --text: #edf5ff;
  --text-2: #9aabc0;
  --text-3: #8ea2b9;
  --text-list: #d6e2ef;
  --text-nav: #c3d0df;
  --accent: #13bfff;
  --link: #5cc8ff;
  --link-hover: #a8e4ff;
  --check: #5fe0a8;
  --primary: #0a66d8;
  --primary-hover: #0957b8;
  --primary-border: #2a86f0;
  --secondary: #101b2a;
  --secondary-hover: #15243a;
  --secondary-border: #2a3c52;
  --tag-text: #8fe2ff;
  --danger: #ff9b9b;
  --input-bg: #0b121c;

  /* Medidas */
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(56px, 8vw, 96px);
  --radius-card: 16px;
  --radius-btn: 8px;

  --font: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  /* Al saltar a #servicios, #proceso, etc., que el menú fijo no tape el título */
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 78% 0%, #0b2440 0, rgba(7, 10, 16, 0) 34%), var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* Botones
   ========================================================================== */

.btn {
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  border: 1px solid;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

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

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

.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary-border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  border-color: #3a5270;
  color: var(--text);
}

/* Encabezado
   ========================================================================== */

/* Menú fijo arriba mientras se navega */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(7, 10, 16, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.brand-name span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  font-size: 15px;
}

.nav-link {
  color: var(--text-nav);
  text-decoration: none;
  padding: 10px 0;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.nav-cta {
  min-height: 46px;
  padding: 0 16px;
}

.nav-toggle {
  display: none;
}

/* Menú hamburguesa (solo con JS y en pantallas chicas) */
@media (max-width: 640px) {
  .js .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--secondary-border);
    border-radius: var(--radius-btn);
    background: var(--secondary);
    color: var(--text);
    cursor: pointer;
  }

  .js .nav-toggle .icon-close,
  .js .nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
  }

  .js .nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }

  .js .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 6px;
    font-size: 16px;
  }

  .js .nav-toggle[aria-expanded="true"] + .nav {
    display: flex;
  }

  .js .nav-link {
    padding: 12px 0;
    border-top: 1px solid var(--border);
  }

  .js .nav-cta {
    margin-top: 12px;
    min-height: 48px;
  }
}

/* Hero
   ========================================================================== */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
  padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 80px);
}

.hero-copy {
  flex: 1 1 460px;
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  border: 1px solid #164a6a;
  background: #0a2031;
  color: var(--tag-text);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28d9ff;
}

.hero-title {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 22px 0 20px;
  font-weight: 800;
}

/* El degradé de texto se usa solo acá */
.gradient-text {
  background: linear-gradient(100deg, #ffffff 5%, #8bdfff 50%, #2a9bff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: #a9b9cc;
  font-size: 18px;
  max-width: 560px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .btn {
  min-height: 52px;
  flex: 1 1 auto;
  max-width: 326px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
}

.facts dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  font-weight: 700;
}

.facts dd {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--text);
}

.hero-media {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-frame {
  width: 100%;
  max-width: 480px;
  border: 1px solid #1c3b59;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 38%, #0d3a66 0, rgba(8, 13, 22, 0) 58%),
    linear-gradient(145deg, #0f1c2d, #080d16);
  box-shadow: 0 28px 80px #00000099;
  padding: 28px;
}

.hero-frame img {
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

/* Secciones
   ========================================================================== */

.section > .container {
  padding-block: var(--section-pad);
}

/* Dos secciones seguidas sin banda: no duplicar el espacio entre ellas */
.section:not(.section--band) + .section:not(.section--band) > .container {
  padding-top: 0;
}

.section--band {
  border-top: 1px solid var(--border-band);
  border-bottom: 1px solid var(--border-band);
  background: linear-gradient(100deg, var(--band-from), var(--band-to));
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
}

.section-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 12px 0;
  font-weight: 800;
}

.section-text {
  color: var(--text-2);
  margin: 0;
}

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

/* Servicios
   ========================================================================== */

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #0e1724, #090e16);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c2a40;
  border: 1px solid #12496a;
  color: var(--accent);
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 700;
}

.card-text {
  color: var(--text-2);
  margin: 0 0 18px;
  font-size: 15px;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--text-list);
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background: var(--check);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-more {
  margin: 28px 0 0;
  color: var(--text-2);
}

.section-more a {
  font-weight: 700;
}

/* Trabajos
   ========================================================================== */

.work {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--panel-2);
  overflow: hidden;
}

.work-media {
  box-sizing: content-box;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #0e1826 0 12px, #0b141f 12px 24px);
  border-bottom: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-body {
  padding: 22px 24px 26px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tag-text);
  background: #0c2a3d;
  border: 1px solid #17455f;
  padding: 3px 9px;
  border-radius: 5px;
}

.work-title {
  font-size: 19px;
  margin: 14px 0 6px;
  font-weight: 700;
}

.work-text {
  color: var(--text-2);
  margin: 0;
  font-size: 15px;
}

.testimonial {
  margin: 18px 0 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #0e1724, #090e16);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}

.testimonial blockquote {
  margin: 0;
  flex: 1 1 420px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
}

.testimonial figcaption {
  flex: 0 1 auto;
  color: var(--text-2);
  font-size: 15px;
}

.testimonial strong {
  display: block;
  color: var(--text);
}

/* Proceso
   ========================================================================== */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.step {
  padding: 26px;
  border-top: 2px solid var(--accent);
  background: #0a131e;
  border-radius: 0 0 14px 14px;
}

.step-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.step-title {
  font-size: 19px;
  margin: 10px 0 6px;
  font-weight: 700;
}

.step-text {
  color: var(--text-2);
  margin: 0;
  font-size: 15px;
}

/* Contacto
   ========================================================================== */

.cta {
  padding: clamp(26px, 4.5vw, 52px);
  border: 1px solid #17466a;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 90% 0%, #0b5c9344, rgba(9, 16, 26, 0) 55%),
    linear-gradient(135deg, #0d1a29, #09101a);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}

.cta-copy {
  flex: 1 1 380px;
  min-width: 0;
}

.cta-title {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 10px 0;
  font-weight: 800;
}

.cta-actions {
  flex: 1 1 280px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-main {
  display: flex;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
}

/* Botones: variantes
   ========================================================================== */

.btn-ancho {
  width: 100%;
  min-height: 50px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Mensajes
   ========================================================================== */

.mensajes {
  padding-top: 24px;
}

.alerta {
  margin: 0 0 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--panel);
  color: var(--text);
  font-size: 15px;
}

.alerta--error {
  border-color: #6b2a30;
  background: #2a1215;
  color: #ffc4c4;
}

.alerta--success {
  border-color: #1f6b4c;
  background: #0f2a20;
  color: #b4f3d6;
}

.vacio {
  padding: clamp(28px, 5vw, 48px);
  border: 1px dashed var(--secondary-border);
  border-radius: var(--radius-card);
  text-align: center;
  color: var(--text-2);
}

.vacio p {
  margin: 0 0 20px;
}

/* Tienda
   ========================================================================== */

.producto {
  position: relative;
  transition: border-color 0.15s;
}

.producto:hover {
  border-color: var(--secondary-border);
}

.producto:has(.producto-link:focus-visible) {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.producto-link {
  color: var(--text);
  text-decoration: none;
}

.producto-link:hover {
  color: var(--text);
}

/* Toda la tarjeta es clickeable */
.producto-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.producto-link:focus-visible {
  outline: none;
}

.producto-precio {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.work-media .producto-sin-imagen,
.producto-media .producto-sin-imagen {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  opacity: 0.5;
}

.producto-media .producto-sin-imagen {
  width: 96px;
  height: 96px;
}

.volver {
  margin: 0 0 24px;
  font-size: 15px;
}

.producto-detalle {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .producto-detalle {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

.producto-media {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #0e1826 0 12px, #0b141f 12px 24px);
}

.producto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producto-info .section-title {
  margin: 14px 0 10px;
}

.producto-info .facts {
  margin-top: 28px;
}

.compra {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #0e1724, #090e16);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compra-precio {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.compra-nota {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}

.producto-descripcion {
  margin-top: 48px;
  max-width: 720px;
  color: var(--text-2);
}

.producto-descripcion h2 {
  color: var(--text);
}

/* auto-fill: las tarjetas mantienen su ancho aunque haya pocos plugins */
.grid--productos {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

/* Mis compras
   ========================================================================== */

.cuenta-head {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cuenta-head .btn {
  min-height: 44px;
}

.pedidos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pedido {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-2);
}

.pedido .estado {
  justify-self: end;
}

@media (max-width: 640px) {
  .pedido {
    grid-template-columns: minmax(0, 1fr);
  }

  .pedido .estado {
    justify-self: start;
  }

  .pedido-accion .btn {
    width: 100%;
    min-height: 48px;
  }
}

.pedido-accion .btn {
  min-height: 44px;
}

@media (min-width: 641px) {
  .pedido:has(.pedido-accion) {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}

.pedido-titulo {
  margin: 0;
  font-size: 18px;
}

.pedido-titulo a {
  color: var(--text);
  text-decoration: none;
}

.pedido-titulo a:hover {
  text-decoration: underline;
}

.pedido-meta {
  margin: 4px 0 0;
  color: var(--text-3);
  font-size: 14px;
}

.estado {
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.estado--pendiente {
  color: #ffd98a;
  background: #2a2210;
  border-color: #5c4a1c;
}

.estado--pagado {
  color: #b4f3d6;
  background: #0f2a20;
  border-color: #1f6b4c;
}

.estado--entregado {
  color: var(--tag-text);
  background: #0c2a3d;
  border-color: #17455f;
}

/* Cuentas y formularios
   ========================================================================== */

.auth {
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #0e1724, #090e16);
}

.auth .section-title {
  margin-top: 0;
  font-size: clamp(28px, 3vw, 36px);
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.campo label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.campo input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--secondary-border);
  border-radius: var(--radius-btn);
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
}

.campo input:focus {
  border-color: var(--accent);
}

.campo--error input {
  border-color: var(--danger);
}

.campo-ayuda {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 13px;
}

.campo-ayuda ul {
  margin: 0;
  padding-left: 18px;
}

.campo-error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 14px;
}

.auth-links {
  margin: 16px 0 0;
  color: var(--text-2);
  font-size: 15px;
  text-align: center;
}

.auth-alt {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.auth-alt p {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 15px;
}

/* Pie
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  color: var(--text-3);
  font-size: 14px;
}

.footer-inner strong {
  color: #dce9f8;
  letter-spacing: 0.06em;
}

.footer-inner p {
  margin: 0;
}

/* Página de pedido
   ========================================================================== */

.pedido-pagina {
  max-width: 640px;
}

.pedido-pagina .section-head {
  margin-bottom: 24px;
}

.compra-titulo {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.compra-ars {
  margin-top: -6px;
}

.pasos-pago {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text-list);
}

.pasos-pago .compra-nota {
  display: block;
  margin-top: 6px;
}

.txid {
  display: block;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--secondary-border);
  border-radius: var(--radius-btn);
  background: var(--input-bg);
  color: var(--text);
  font-size: 14px;
  overflow-wrap: anywhere;
  user-select: all;
}

.estado--revision {
  color: #ffd98a;
  background: #2a2210;
  border-color: #5c4a1c;
}

.estado--cancelado {
  color: var(--text-2);
  background: var(--panel);
  border-color: var(--secondary-border);
}

.pedido-meta a {
  color: inherit;
}

/* Mi cuenta
   ========================================================================== */

.cuenta-head {
  margin-bottom: 24px;
}

.cuenta-nav {
  display: flex;
  gap: 8px;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--border);
}

.cuenta-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--text-2);
  font-weight: 600;
  text-decoration: none;
}

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

.cuenta-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.cuenta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 860px) {
  .cuenta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.panel {
  padding: clamp(22px, 3.5vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #0e1724, #090e16);
}

.formulario--sin-margen {
  margin-top: 0;
}

.campo select {
  width: 100%;
  min-height: 48px;
  padding: 10px 40px 10px 14px;
  border: 1px solid var(--secondary-border);
  border-radius: var(--radius-btn);
  background: var(--input-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aabc0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  color: var(--text);
  font: inherit;
  appearance: none;
}

.campo select:focus {
  border-color: var(--accent);
}

.campo--error select {
  border-color: var(--danger);
}

.campo input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.campo input::placeholder {
  color: var(--text-3);
}

.vacio .btn {
  min-height: 48px;
}

/* Con un mensaje arriba, la sección no necesita tanto espacio superior */
.mensajes + .section > .container {
  padding-top: 32px;
}

/* Licencias de Ssemu
   ========================================================================== */

.formulario--compra {
  margin-top: 4px;
  gap: 12px;
}

.formulario--compra .campo + .btn {
  margin-top: 6px;
}

.licencias-compradas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.licencias-compradas li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--input-bg);
  font-size: 15px;
}

.licencias-compradas .btn {
  min-height: 44px;
  padding: 0 16px;
}

.compra-otra {
  margin-top: 8px;
  font-size: 17px;
}

code {
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

/* Modo prueba (COMPRAS_DE_PRUEBA)
   ========================================================================== */

.aviso-prueba {
  margin: 0;
  padding: 8px 16px;
  background: #2a2210;
  border-bottom: 1px solid #5c4a1c;
  color: #ffd98a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.btn-prueba {
  background: #2a2210;
  border-color: #8a6d24;
  color: #ffd98a;
}

.btn-prueba:hover {
  background: #3a2f14;
  color: #ffd98a;
}
