/* ============================================================
   MERCATITEK — Estilos principales
   Tema: oscuro moderno con acentos violeta y cian
   ============================================================ */

:root {
  --bg: #0a0a14;
  --bg-soft: #0f0f1e;
  --bg-card: #14142a;
  --bg-card-hover: #181833;
  --border: rgba(139, 92, 246, 0.16);
  --border-strong: rgba(139, 92, 246, 0.35);

  --text: #f2f2fa;
  --text-muted: #a3a3c2;
  --text-dim: #6f6f92;

  --violet: #8b5cf6;
  --violet-light: #a78bfa;
  --cyan: #22d3ee;
  --pink: #e879f9;

  --grad: linear-gradient(120deg, var(--violet) 0%, var(--cyan) 100%);
  --grad-text: linear-gradient(120deg, var(--violet-light) 0%, var(--cyan) 100%);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1140px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5); }

.btn-ghost {
  background: rgba(139, 92, 246, 0.08);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(139, 92, 246, 0.16); transform: translateY(-2px); }

.btn-accent {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.25);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(139, 92, 246, 0.5); }

.btn-ai-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* ---------- Encabezados de sección ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 12px 0 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-2 { background: linear-gradient(120deg, var(--cyan), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo { display: block; height: 40px; width: auto; max-width: 100%; }
.brand-logo-footer { height: 30px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(139, 92, 246, 0.1); }

.nav-cta { padding: 10px 18px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.glow-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 65%); top: -120px; right: -80px; }
.glow-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 65%); bottom: -160px; left: -120px; }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
}

.hero-content { position: relative; text-align: center; max-width: 820px; margin-inline: auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet-light);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.3rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats li {
  flex: 1;
  min-width: 150px;
  max-width: 210px;
  background: rgba(20, 20, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  backdrop-filter: blur(8px);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- Tarjetas de servicios ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--violet-light);
  margin-bottom: 20px;
  transition: background 0.22s ease, color 0.22s ease;
}
.service-card:hover .card-icon { background: var(--grad); color: #fff; }

.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.94rem; }

.service-card-featured {
  border-color: rgba(34, 211, 238, 0.35);
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.07), var(--bg-card) 45%);
}
.card-tag {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04121a;
  background: var(--cyan);
  border-radius: 999px;
  padding: 4px 12px;
}
.card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
}
.card-link:hover { text-decoration: underline; }

/* ---------- Nosotros ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 12px 0 18px; }
.about-text > p { color: var(--text-muted); margin-bottom: 22px; }

.about-list { display: grid; gap: 12px; margin-bottom: 30px; }
.about-list li { color: var(--text); font-size: 0.98rem; display: flex; gap: 10px; align-items: flex-start; }

.about-visual { position: relative; }

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.visual-top {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(139, 92, 246, 0.08);
  border-bottom: 1px solid var(--border);
}
.visual-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-dim); }
.visual-dot:nth-child(1) { background: #f87171; }
.visual-dot:nth-child(2) { background: #fbbf24; }
.visual-dot:nth-child(3) { background: #34d399; }

.visual-body { padding: 28px; display: grid; gap: 24px; }
.metric-label { display: block; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.metric-bar {
  height: 10px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.metric-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
  animation: grow-bar 1.4s ease forwards;
  transform-origin: left;
}
@keyframes grow-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Sección App (MercatIA) ---------- */
.app-section {
  background: radial-gradient(ellipse at 20% 10%, rgba(139, 92, 246, 0.12), transparent 55%),
              radial-gradient(ellipse at 90% 90%, rgba(34, 211, 238, 0.1), transparent 50%);
  overflow: hidden;
}
.app-glow { position: absolute; inset: 0; pointer-events: none; }

.app-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.badge-app {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  margin-bottom: 20px;
}
.app-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 18px; }
.app-text > p { color: var(--text-muted); margin-bottom: 24px; max-width: 520px; }

.app-features { display: grid; gap: 12px; margin-bottom: 32px; }
.app-features li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--text); }
.app-features svg { color: var(--cyan); flex-shrink: 0; }

.app-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.app-note { font-size: 0.85rem; color: var(--text-dim); }

/* Tarjeta mockup del chat */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--shadow-glow);
  overflow: hidden;
}
.app-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(139, 92, 246, 0.1);
  border-bottom: 1px solid var(--border);
}
.app-card-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--violet-light);
}
.app-card-logo span { color: var(--cyan); }
.app-card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.app-card-status i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

/* Cuerpo del mockup del análisis (Business X-Ray) */
.xray-body { padding: 22px 20px; display: grid; gap: 18px; }

.xray-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}
.xray-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.88rem;
  color: var(--text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.xray-url svg { color: var(--cyan); flex-shrink: 0; }

.xray-progress { display: grid; gap: 8px; }
.xray-progress-bar {
  height: 8px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.xray-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
  animation: grow-bar 1.2s ease forwards;
  transform-origin: left;
}
.xray-progress-label { font-size: 0.78rem; color: var(--text-dim); }

.xray-steps { display: grid; gap: 10px; }
.xray-steps li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.xray-steps li em { font-style: normal; color: var(--cyan); }
.xray-steps li.done { color: var(--text); }
.xray-steps li.active { color: var(--text); }
.xray-steps svg { color: #34d399; flex-shrink: 0; }
.step-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.xray-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.25);
  border-top-color: var(--cyan);
  animation: xray-spin 0.8s linear infinite;
}
@keyframes xray-spin { to { transform: rotate(360deg); } }
.xray-pending { color: var(--text-dim); font-size: 0.9rem; }

.xray-pdf {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(34, 211, 238, 0.07);
  border: 1px dashed rgba(34, 211, 238, 0.4);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--cyan);
}
.xray-pdf svg { flex-shrink: 0; }

.app-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  flex-shrink: 0;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 12px 0 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }

.contact-details { display: grid; gap: 18px; margin-bottom: 32px; }
.contact-details li { display: flex; align-items: center; gap: 14px; }
.contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--violet-light);
}
.contact-details strong { display: block; font-size: 0.8rem; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-details a { font-size: 0.98rem; color: var(--text); transition: color 0.18s ease; }
.contact-details a:hover { color: var(--cyan); }

.contact-socials { display: flex; align-items: center; gap: 10px; }
.contact-socials > span { font-size: 0.9rem; color: var(--text-muted); margin-right: 4px; }
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.18s ease;
}
.contact-socials a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-2px); }

/* Formulario */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}
.form-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3a3c2' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-field textarea { resize: vertical; min-height: 110px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-field input.invalid,
.form-field textarea.invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-note { font-size: 0.82rem; color: var(--text-dim); text-align: center; }
.form-note.success { color: #34d399; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; margin-top: 14px; max-width: 320px; }
.footer-nav h4, .footer-app h4 { font-size: 0.95rem; margin-bottom: 14px; color: var(--text); }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.18s ease; }
.footer-nav a:hover { color: var(--cyan); }
.footer-app p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 14px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .metric-bar span, .xray-progress-bar span, .xray-spinner, .btn-ai-dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .app-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-card { max-width: 480px; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .brand-logo { height: 32px; }
  .brand-logo-footer { height: 28px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(320px, 85vw);
    height: calc(100vh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 24px 20px;
    background: rgba(15, 15, 30, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .nav-link { font-size: 1.05rem; padding: 12px 14px; }
  .nav-cta { margin-top: 12px; text-align: center; }

  .cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats li { max-width: none; }
}
