/* ==========================================================================
   LogicAL Soluciones Integrales — Design tokens & base
   ========================================================================== */

:root {
  /* Brand palette (from brand guide) */
  --c-black: #0d0d0d;      /* Negro profundo */
  --c-graphite: #1a1a1a;   /* Gris grafito */
  --c-blue: #2563eb;       /* Azul principal */
  --c-blue-dark: #1d4ed8;
  --c-green: #10b981;      /* Verde acento */
  --c-white: #ffffff;

  --c-bg-dark: var(--c-black);
  --c-bg-dark-alt: var(--c-graphite);
  --c-bg-light: #f4f6f8;
  --c-bg-light-alt: #ffffff;

  --c-text-on-dark: #ffffff;
  --c-text-on-dark-muted: rgba(255, 255, 255, 0.68);
  --c-text-on-light: #17181a;
  --c-text-on-light-muted: rgba(23, 24, 26, 0.64);

  --c-border-dark: rgba(255, 255, 255, 0.1);
  --c-border-light: rgba(17, 24, 39, 0.08);

  --font-heading: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px -12px rgba(13, 13, 13, 0.35);
  --shadow-card: 0 1px 2px rgba(17, 24, 39, 0.06), 0 8px 24px -8px rgba(17, 24, 39, 0.12);

  --container-w: 1180px;
  --space-section: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-green);
  border-radius: 2px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 10px;
}
.section-heading p {
  margin-top: 14px;
  font-size: 1.05rem;
}
.section--light .section-heading p,
.section--light .eyebrow { color: var(--c-blue-dark); }
.section--light .section-heading p { color: var(--c-text-on-light-muted); }

.text-accent { color: var(--c-green); }
.text-blue { color: var(--c-blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-blue);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.55);
}
.btn--primary:hover { background: var(--c-blue-dark); box-shadow: 0 10px 28px -6px rgba(37, 99, 235, 0.6); }

.btn--ghost {
  background: transparent;
  color: var(--c-text-on-dark);
  border: 1px solid var(--c-border-dark);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }

.btn--whatsapp {
  background: var(--c-green);
  color: #06281d;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.55);
}
.btn--whatsapp:hover { background: #0da271; }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--c-border-dark);
  transition: background 0.3s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo { display: block; width: auto; height: 40px; }
.brand__logo--footer { height: 46px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text-on-dark-muted);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--c-text-on-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 168px 0 var(--space-section);
  background:
    radial-gradient(60% 60% at 78% 8%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(45% 45% at 8% 92%, rgba(16, 185, 129, 0.18), transparent 60%),
    var(--c-black);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  color: #fff;
}
.hero h1 .line-2 { color: var(--c-blue); display: block; }
.hero__lede {
  margin-top: 22px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
}
.hero__lede strong { color: var(--c-green); font-weight: 600; }
.hero__cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__copy-block {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  max-width: 54ch;
}
.hero__copy-block b { color: #fff; }

.hero__stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-card {
  text-align: center;
  padding: 18px 10px;
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}
.stat-card__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--c-green);
}
.stat-card span { font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }

.hero__panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-dark);
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.16), rgba(255, 255, 255, 0.02));
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.hero__panel-mark { width: auto; height: 46px; margin-bottom: 26px; }
.hero__panel h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.hero__panel p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.hero__panel-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.hero__panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.hero__panel-list li svg { flex: none; color: var(--c-green); }

/* ==========================================================================
   Generic sections
   ========================================================================== */
.section { padding: var(--space-section) 0; }
.section--light { background: var(--c-bg-light); color: var(--c-text-on-light); }
.section--light h2, .section--light h3, .section--light h4 { color: var(--c-text-on-light); }
.section--alt { background: var(--c-bg-dark-alt); }

/* Qué hacemos steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.step-card {
  padding: 26px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border-dark);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.4); background: rgba(37, 99, 235, 0.06); }
.step-card__num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-blue);
  letter-spacing: 0.08em;
}
.step-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.14);
  color: var(--c-blue);
  margin: 14px 0 16px;
}
.step-card h4 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); }

/* Quiénes somos / value props */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-grid p { margin-top: 16px; color: rgba(255, 255, 255, 0.7); }
.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.value-tags li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border-dark);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
}
.value-tags li svg { color: var(--c-green); flex: none; }

.about-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  background: linear-gradient(155deg, rgba(16, 185, 129, 0.14), rgba(37, 99, 235, 0.08));
  border: 1px solid var(--c-border-dark);
}
.about-card__quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.4;
}
.about-card__quote .text-blue { display: block; }
.about-card__sig { margin-top: 20px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* Misión / Visión / Valores */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mvv-card {
  background: var(--c-bg-light-alt);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.mvv-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.mvv-card--mission .mvv-card__icon { background: rgba(37, 99, 235, 0.12); color: var(--c-blue); }
.mvv-card--vision .mvv-card__icon { background: rgba(16, 185, 129, 0.12); color: var(--c-green); }
.mvv-card--values .mvv-card__icon { background: rgba(13, 13, 13, 0.06); color: var(--c-graphite); }
.mvv-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.mvv-card p { color: var(--c-text-on-light-muted); font-size: 0.95rem; }
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-top: 4px;
}
.values-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--c-text-on-light);
}
.values-list svg { color: var(--c-green); flex: none; }

/* Planes */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.plan-card {
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--c-border-dark);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card--featured {
  border-color: var(--c-blue);
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.16), rgba(255, 255, 255, 0.03));
  position: relative;
}
.plan-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--c-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.plan-card__name { font-size: 1.1rem; color: #fff; }
.plan-card__desc { margin-top: 8px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); min-height: 40px; }
.plan-card__price {
  margin-top: 22px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-green);
}
.plan-card__price small { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; color: rgba(255, 255, 255, 0.5); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.plan-card__features { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-card__features li { display: flex; gap: 10px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); }
.plan-card__features svg { flex: none; margin-top: 3px; color: var(--c-green); }

/* Cotizar / form */
.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.quote-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.quote-info p { margin-top: 16px; color: rgba(255, 255, 255, 0.7); }
.quote-info__list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote-info__list li { display: flex; gap: 12px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); }
.quote-info__list svg { color: var(--c-blue); flex: none; margin-top: 2px; }

.quote-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: #fff;
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: rgba(37, 99, 235, 0.08);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { margin-top: 14px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); text-align: center; }

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
  align-items: center;
  gap: 10px;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.form-status--error { background: rgba(239, 68, 68, 0.14); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--c-black);
  border-top: 1px solid var(--c-border-dark);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-border-dark);
}
.footer-brand p { margin-top: 14px; color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; max-width: 34ch; }
.footer-col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom small { color: rgba(255, 255, 255, 0.4); font-size: 0.8rem; }
.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-tagline span:nth-child(2) { color: var(--c-blue); }
.footer-tagline span:nth-child(3) { color: var(--c-green); }

/* ==========================================================================
   Floating chat widget
   ========================================================================== */
.chat-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.6);
  z-index: 700;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.chat-fab:hover { transform: scale(1.06); background: var(--c-blue-dark); }
.chat-fab .icon-close { display: none; }
.chat-fab.is-open .icon-chat { display: none; }
.chat-fab.is-open .icon-close { display: block; }
.chat-fab__dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-green);
  border: 2px solid var(--c-black);
}

.chat-panel {
  position: fixed;
  right: 26px;
  bottom: 100px;
  width: 360px;
  max-width: calc(100vw - 40px);
  height: 480px;
  max-height: calc(100vh - 150px);
  background: var(--c-graphite);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 699;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.chat-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.25), rgba(16, 185, 129, 0.12));
  border-bottom: 1px solid var(--c-border-dark);
}
.chat-panel__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.chat-panel__title { font-size: 0.9rem; font-weight: 600; color: #fff; }
.chat-panel__status { font-size: 0.72rem; color: var(--c-green); display: flex; align-items: center; gap: 6px; }
.chat-panel__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-green); }

.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.chat-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--c-blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg--typing { display: flex; gap: 4px; align-items: center; padding: 14px; }
.chat-msg--typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: typing-bounce 1.1s infinite ease-in-out;
}
.chat-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-panel__form {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--c-border-dark);
}
.chat-panel__form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  color: #fff;
  font-size: 0.88rem;
}
.chat-panel__form input:focus { outline: none; border-color: var(--c-blue); }
.chat-panel__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background 0.2s var(--ease);
}
.chat-panel__send:hover { background: var(--c-blue-dark); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .header-actions .btn--ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 140px; }
  .hero__stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .chat-panel { right: 14px; left: 14px; width: auto; bottom: 96px; }
  .chat-fab { right: 18px; bottom: 18px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 76px 0 0 0;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(10px);
  z-index: 400;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--c-border-dark);
}
.mobile-nav .btn { margin-top: 28px; width: 100%; }
