html {
  scroll-behavior: smooth;
}

/* style.css */
:root {
  --bg: #0b1220;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.58);

  --primary: #4f7cff;
  --primary-2: #77a2ff;

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-lg: 22px;

  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(79, 124, 255, 0.18), transparent 55%),
    radial-gradient(900px 600px at 90% 20%, rgba(119, 162, 255, 0.12), transparent 55%), var(--bg);
  color: var(--text);
  line-height: 1.5;
}
body {
  background: linear-gradient(135deg, #0b1220 0%, #0f1c3a 50%, #0b1220 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
  cursor: pointer;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #071021;
  border-color: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-lg {
  padding: 12px 16px;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #071021;
  background: linear-gradient(135deg, rgba(79, 124, 255, 1), rgba(119, 162, 255, 1));
  box-shadow: 0 10px 24px rgba(79, 124, 255, 0.25);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-weight: 800;
  font-size: 15px;
}

.brand-tagline {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted-2);
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  width: 44px;
  height: 40px;
  display: none; /* se enciende en mobile */
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 2px;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}
.nav-toggle span:nth-child(2) {
  transform: translateY(0px);
}
.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

/* Estado abierto: X */
.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}
.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 15px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--muted);
  max-width: 58ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-left: 4px;
}

.hero-points li::before {
  content: '✓';
  font-weight: 900;
  color: rgba(119, 162, 255, 0.95);
  margin-top: 1px;
}

.trust-row {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;

  max-width: 760px; /* controla el ancho del grupo */
  margin-left: auto;
  margin-right: auto;
}

.trust-card {
  min-height: 72px;

  display: flex;
  align-items: center; /* centra vertical */
  justify-content: center; /* centra horizontal */
  text-align: center;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px 16px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.trust-kpi {
  display: block;
  font-weight: 800;
  letter-spacing: -0.3px;
  font-size: 16px;
}

.trust-label {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.8);
  max-width: 22ch;
}

.fineprint {
  margin: 50px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 255);
}

/* Hero Visual */
.hero-visual {
  display: grid;
  place-items: center;
}

.visual-card {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 16px 10px;
}

.pill {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.visual-body {
  padding: 10px 16px 0px;
}

.visual-title {
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.visual-item {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
}

.v-label {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
}

.v-value {
  display: block;
  margin-top: 4px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.visual-footer {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.note {
  margin-left: auto;
}

.hero-glow {
  position: absolute;
  inset: auto 0 -120px 0;
  height: 200px;
  background: radial-gradient(600px 140px at 40% 0%, rgba(79, 124, 255, 0.2), transparent 70%);
  pointer-events: none;
}

/* Estilos cotizador */
.custom-select {
  position: relative;
  margin-top: 6px;
}

.select-trigger {
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
  color: white;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.select-options {
  position: absolute;
  width: 100%;
  background: #071021;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-top: 6px;
  display: none;
  overflow: hidden;
  z-index: 50;
}

.select-option {
  padding: 10px;
  cursor: pointer;
}

.select-option:hover {
  background: rgba(79, 124, 255, 0.3);
}

.uses-box {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.pill {
  cursor: pointer;
  transition: 0.2s;
}

.pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #071021;
}

.order-btn {
  margin-top: 14px;
}

.total-box {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(79, 124, 255, 0.15);
  border: 1px solid rgba(79, 124, 255, 0.35);
  font-weight: 700;
  text-align: center;
}

/* Footer */
.site-footer {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 18, 0.45);
}

.footer-inner {
  padding: 34px 0 24px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.05fr;
  gap: 22px;
}

.brand-footer .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.86);
}

.footer-desc {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 46ch;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-list a:hover {
  text-decoration: underline;
}

.muted {
  color: rgba(255, 255, 255, 0.6);
}

.footer-mini {
  margin-top: 14px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.mini-value {
  font-weight: 700;
  letter-spacing: -0.2px;
}

.footer-cta {
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.footer-bottom {
  padding: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .nav,
  .header-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .trust-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto; /* brand | actions | toggle */
    gap: 10px;
    padding: 12px 0;
  }

  .nav {
    display: none; /* oculto hasta abrir menú */
  }

  .header-actions {
    display: flex;
    flex-direction: row; /* lado a lado */
    gap: 8px;
    align-items: center;
  }

  .header-actions .btn {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* al abrir menú solo se muestra NAV, no acciones */
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0 14px;
    grid-column: 1 / -1; /* baja a la siguiente fila */
  }

  .site-header.is-open .header-actions {
    display: none;
  }

  .site-header.is-open .nav-toggle {
    margin-left: 90%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-text {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* opcional: en móviles muy chicos, esconde tagline para que no estorbe */
@media (max-width: 360px) {
  .brand-tagline {
    display: none;
  }
}
html {
  scroll-behavior: smooth;
}
/* =========================
   Productos – separación
   ========================= */

.products {
  padding: 0px 0 10px;

  background: rgba(11, 18, 32, 0.85);
}
.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 8px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 52ch;
}

/* Lista vertical de productos */
.products-grid {
  display: grid;
  gap: 28px;
}

/* Línea divisoria elegante */
.product-card {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Quitar línea al último */
.product-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Texto */
.product-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.product-desc {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 10px;
}

.product-features {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.product-features li {
  margin-bottom: 6px;
}

/* Etiqueta */
.product-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}
/* ====== SECCIÓN PRODUCTOS ====== */

.productos {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.producto-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.producto-img {
  height: 220px;
  overflow: hidden;
}

.producto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.producto-card:hover img {
  transform: scale(1.08);
}

.producto-info {
  padding: 5px;
}

.producto-info h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.producto-info p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 15px;
}

.producto-tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #071021;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .productos-grid {
    grid-template-columns: 1fr;
  }
}
