@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --graphite:   #1e242c;
  --graphite-2: #252c36;
  --graphite-3: #2e3743;
  --blue:       #4a7bab;
  --blue-light: #7da2c9;
  --blue-dim:   #6390b8;
  --ink:        #1e242c;
  --muted:      #5c6a77;
  --line:       #e2e8ef;
  --paper:      #f7f9fc;
  --white:      #ffffff;
  --shadow:     0 4px 18px rgba(30, 36, 44, .08);
  --shadow-md:  0 12px 36px rgba(30, 36, 44, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  background-color: var(--white);
  font-weight: 400;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(30, 36, 44, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
  transition: box-shadow .35s ease, background-color .35s ease;
}

.site-header.is-scrolled {
  background: rgba(22, 27, 33, .99);
  border-bottom-color: rgba(255, 255, 255, .10);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  transition: transform .45s ease, background-color .45s ease;
}

.brand:hover .brand-mark { transform: rotate(-3deg) scale(1.04); }
.brand-mark svg { width: 22px; height: 22px; }

.brand small {
  display: block;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 400;
}

.nav-links a:not(.button):hover { color: var(--white); }

.site-header .button.primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.site-header .button.primary:hover {
  background: var(--blue-dim);
  box-shadow: 0 8px 24px rgba(74, 123, 171, .38);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dim);
  box-shadow: 0 8px 24px rgba(74, 123, 171, .32);
}

.button.secondary {
  color: var(--graphite);
  background: var(--white);
  border-color: rgba(30, 36, 44, .16);
}

.button.secondary:hover {
  border-color: rgba(74, 123, 171, .40);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
}

/* ══════════════════════════════════════
   HOME HERO (video + slider + form)
══════════════════════════════════════ */
.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.home-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(.75) contrast(1.04) brightness(.9);
  transform: scale(1.02);
  animation: subtleVideoScale 22s ease-in-out infinite alternate;
}

/* Overlay grafito — D variant */
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    105deg,
    rgba(24, 28, 34, .95) 0%,
    rgba(30, 36, 44, .88) 48%,
    rgba(30, 36, 44, .55) 100%
  );
  pointer-events: none;
}

/* Trama sutil */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 80px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 88%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 56px;
  padding: 64px 0 72px;
}

/* ── Slider ─────────────────────── */
.hero-slider {
  position: relative;
  min-height: 300px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.hero-slide .slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
}

.hero-slide .slide-kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-light);
}

.hero-slide h1 {
  margin: 0 0 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.022em;
  color: #f8fafc;
  max-width: 640px;
}

.hero-slide p {
  max-width: 480px;
  color: rgba(241, 245, 249, .78);
  font-size: 17px;
  line-height: 1.58;
  margin: 0 0 28px;
}

.hero-slide .slide-btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.hero-slide .slide-btn:hover {
  background: var(--blue-dim);
  box-shadow: 0 8px 24px rgba(74, 123, 171, .40);
  transform: translateY(-1px);
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(241, 245, 249, .25);
  transition: width .3s ease, background .3s ease;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--blue-light);
}

/* ── Hero form compact ──────────── */
.hero-form-compact {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
}

.hero-form-compact .form-head {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero-form-compact .form-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--graphite);
  letter-spacing: -.01em;
}

.hero-form-compact .form-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-form-compact .contact-form {
  padding: 18px 22px 22px;
  gap: 11px;
}

.hero-form-compact .field input,
.hero-form-compact .field select {
  min-height: 40px;
  font-size: 13px;
}

/* ══════════════════════════════════════
   PAGE HERO (páginas secundarias)
══════════════════════════════════════ */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 56px 0 64px;
  background: linear-gradient(135deg, var(--graphite) 0%, var(--graphite-2) 58%, var(--graphite-3) 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 80px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.page-hero .section-inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 920px; }

/* ══════════════════════════════════════
   GENERIC HERO (seguridad, contacto)
══════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center top;
  filter: blur(7px) saturate(.5) brightness(.7);
  transform: scale(1.06);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 28, 34, .94) 0%, rgba(30, 36, 44, .85) 55%, rgba(30, 36, 44, .5) 100%);
  z-index: 1;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
}

.hero-inner {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 54px;
  padding: 52px 0 64px;
}

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-light);
}

h1 {
  max-width: 780px;
  margin: 18px 0 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -.022em;
  font-weight: 600;
}

h1 em { font-style: normal; color: var(--blue-light); }

.hero-copy {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Botones en hero — override */
.hero .button.secondary,
.page-hero .button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, .30);
}

.hero .button.secondary:hover,
.page-hero .button.secondary:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
}

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
section { padding: 64px 0; }

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 2px;
}

h2 {
  margin: 10px 0 0;
  color: var(--graphite);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 600;
}

h2 em { font-style: normal; color: var(--blue); }

.section-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

/* ══════════════════════════════════════
   CONTACT FORM HORIZONTAL (banner)
══════════════════════════════════════ */
.contact-section-inner {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.contact-form-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: 12px;
  align-items: end;
  width: 100%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  padding: 20px 24px;
}

.contact-form-horizontal .field { display: grid; gap: 6px; }

.contact-form-horizontal .field label {
  color: rgba(255, 255, 255, .60);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-form-horizontal .field input,
.contact-form-horizontal .field select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, .09);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-form-horizontal .field input::placeholder { color: rgba(255, 255, 255, .35); }

.contact-form-horizontal .field select option {
  background: var(--graphite-2);
  color: var(--white);
}

.contact-form-horizontal .field input:focus,
.contact-form-horizontal .field select:focus {
  border-color: rgba(125, 162, 201, .70);
  box-shadow: 0 0 0 3px rgba(74, 123, 171, .18);
}

.contact-form-horizontal .form-submit {
  height: 44px;
  white-space: nowrap;
  align-self: end;
  margin-top: 22px;
}

.contact-form-horizontal .form-status {
  grid-column: 1 / -1;
  font-size: 13px;
  min-height: 0;
}

.contact-footnote {
  color: rgba(255, 255, 255, .42);
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-footnote a {
  color: rgba(255, 255, 255, .60);
  transition: color .2s ease;
}

.contact-footnote a:hover { color: var(--white); }

/* ══════════════════════════════════════
   FORMS (general)
══════════════════════════════════════ */
.hero-form {
  width: min(100%, 530px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.form-head {
  height: auto;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--graphite);
  background: var(--white);
}

.form-head h2 {
  margin: 0;
  color: var(--graphite);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.01em;
}

.form-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px 24px 24px;
}

.field-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field { display: grid; gap: 6px; }

.field label {
  color: var(--graphite);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d0d7e0;
  border-radius: 8px;
  color: var(--graphite);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 10px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74, 123, 171, .14);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit { width: 100%; border: 0; cursor: pointer; }

.form-submit:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.form-status.is-success { color: #1a6e46; }
.form-status.is-error   { color: #92202e; }

/* ══════════════════════════════════════
   TRUST ITEMS
══════════════════════════════════════ */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 670px;
  margin-top: 46px;
}

.trust-row-centered { margin-top: 0; width: 100%; max-width: 700px; }

.trust-item {
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  transition: transform .45s ease, border-color .3s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 162, 201, .45);
  background: rgba(255, 255, 255, .10);
}

.trust-item strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.18;
}

.trust-item span {
  display: block;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  margin-top: 6px;
}

/* ══════════════════════════════════════
   CARDS (risk, service, step, feature)
══════════════════════════════════════ */
.risk-card,
.service-card,
.step-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.risk-card:hover,
.service-card:not(.highlight):hover,
.step-card:hover,
.feature-card:hover {
  background: var(--paper);
  border-color: rgba(74, 123, 171, .40);
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .07);
}

.risk-card { min-height: 140px; padding: 24px; }

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #e8f0f7;
  margin-bottom: 18px;
  transition: transform .35s ease, background-color .35s ease;
}

.risk-card:hover .icon,
.service-card:hover .icon,
.step-card:hover .icon,
.feature-card:hover .icon {
  transform: translateY(-2px) scale(1.04);
  background: #dce8f2;
}

.icon svg { width: 22px; height: 22px; }

.risk-card h3,
.service-card h3,
.step-card h3,
.feature-card h3 {
  margin: 0;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 600;
}

.risk-card p,
.service-card p,
.step-card p,
.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ══════════════════════════════════════
   GRID LAYOUTS
══════════════════════════════════════ */
.problem-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.risk-panel {
  padding: 32px;
  border-radius: 10px;
  color: var(--white);
  background: var(--graphite);
  min-height: 100%;
}

.risk-panel h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
}

.risk-panel p {
  color: #8fa6be;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.risk-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.package { background: var(--paper); }
.package-layout { display: block; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card { min-height: 230px; padding: 26px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 300px;
  padding: 30px;
  text-align: center;
}

.feature-card .feature-icon { margin-left: auto; margin-right: auto; }

.feature-image-card {
  padding: 0;
  overflow: hidden;
  background: var(--graphite);
}

.feature-image-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: saturate(.82) contrast(1.02);
  transition: transform .7s ease, filter .7s ease;
}

.feature-image-card:hover img {
  transform: scale(1.04);
  filter: saturate(.95) contrast(1.04);
}

.feature-number {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 88px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--blue);
  background: #e8f0f7;
  transition: transform .35s ease, background-color .35s ease;
}

.feature-icon svg { width: 23px; height: 23px; }
.feature-card:hover .feature-icon { transform: translateY(-2px) scale(1.04); background: #dce8f2; }

.service-card.highlight {
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), var(--graphite-2));
  border-color: rgba(255, 255, 255, .1);
}

.service-card.highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .14);
}

.service-card.highlight h3,
.service-card.highlight p { color: var(--white); }
.service-card.highlight p { color: #92aec6; }

/* ══════════════════════════════════════
   SIDE CTA
══════════════════════════════════════ */
.side-cta {
  position: sticky;
  top: 96px;
  padding: 28px;
  border-radius: 10px;
  color: var(--white);
  background: var(--graphite);
  box-shadow: var(--shadow-md);
}

.side-cta h3 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 600; }

.side-cta p {
  color: #8fa6be;
  margin: 14px 0 20px;
  font-size: 16px;
  line-height: 1.5;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: #e0eaf4;
  font-size: 14px;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 99px;
  background: var(--blue);
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .18);
}

/* ══════════════════════════════════════
   STEPS
══════════════════════════════════════ */
.steps { background: var(--white); }

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card { min-height: 230px; padding: 24px; text-align: center; }

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--graphite);
  font-weight: 600;
  font-size: 14px;
}

/* ══════════════════════════════════════
   AUDIENCE
══════════════════════════════════════ */
.audience {
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.audience::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/3182812/pexels-photo-3182812.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  filter: blur(6px) saturate(.5) brightness(.7);
  transform: scale(1.06);
  z-index: 0;
}

.audience::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(24, 28, 34, .92) 0%,
    rgba(30, 36, 44, .78) 100%
  );
  z-index: 1;
}

.audience .section-inner { position: relative; z-index: 2; }
.audience h2 { color: var(--white); }
.audience .section-lead { color: rgba(255, 255, 255, .80); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.audience-card {
  min-height: 150px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  text-align: center;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.audience-card:hover {
  background: rgba(74, 123, 171, .18);
  border-color: rgba(125, 162, 201, .50);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .30);
}

.audience-card b {
  display: block;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
}

.audience-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  line-height: 1.48;
}

/* ══════════════════════════════════════
   FINAL CTA BOX
══════════════════════════════════════ */
.final-cta { padding: 78px 0; background: var(--paper); }

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 40px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), var(--graphite-2));
  box-shadow: var(--shadow-md);
}

.cta-box h2 { color: var(--white); margin: 0; font-size: clamp(28px, 3.6vw, 42px); }
.cta-box p { max-width: 680px; margin: 12px 0 0; color: #8fa6be; }

/* ══════════════════════════════════════
   SPLIT SECTION
══════════════════════════════════════ */
.split-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.split-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.52;
}

.split-copy p { margin: 0; }

/* ══════════════════════════════════════
   SERVICE LIST
══════════════════════════════════════ */
.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.service-row > span { color: var(--blue); font-size: 17px; font-weight: 500; }

.service-badge {
  width: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}

.service-num-icon {
  width: 64px;
  height: 64px;
  color: var(--blue);
  transition: transform .35s ease, color .25s ease;
  flex-shrink: 0;
}

.service-row:hover .service-num-icon {
  transform: translateY(-3px) scale(1.06);
  color: var(--blue-light);
}

.service-row h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); }

.service-row p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
}

/* ══════════════════════════════════════
   CONTACT PAGE LAYOUT
══════════════════════════════════════ */
.contact-page-hero { padding-bottom: 110px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, .85fr);
  gap: 54px;
  align-items: center;
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  max-width: 520px;
}

.contact-mini-grid > div {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  transition: transform .35s ease, border-color .3s ease, background-color .3s ease;
}

.contact-mini-grid > div:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 162, 201, .45);
  background: rgba(255, 255, 255, .11);
}

.mini-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
}

.mini-icon svg { width: 20px; height: 20px; }

.contact-mini-grid b,
.contact-mini-grid small { display: block; }

.contact-mini-grid b { color: var(--white); font-size: 16px; font-weight: 500; }

.contact-mini-grid small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

/* ══════════════════════════════════════
   VISUAL BREAK
══════════════════════════════════════ */
.visual-break {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.visual-grid-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.visual-grid-reverse img { order: 2; }

.visual-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  filter: saturate(.88) contrast(1.02);
}

.visual-grid p { margin: 16px 0 0; color: var(--muted); font-size: 19px; line-height: 1.44; }

/* ══════════════════════════════════════
   LEGAL
══════════════════════════════════════ */
.legal-hero { padding-bottom: 76px; }
.legal-layout { display: grid; justify-items: center; }

.legal-content {
  width: min(100%, 860px);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 32px 0 12px;
  color: var(--graphite);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-content p { margin: 0 0 18px; }
.legal-content ul { margin: 0 0 20px; padding-left: 22px; }

.legal-content a {
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 3px;
}

/* ══════════════════════════════════════
   TAG
══════════════════════════════════════ */
.tag {
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--graphite);
  background: #e8f0f7;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ══════════════════════════════════════
   FLOATING BADGE
══════════════════════════════════════ */
.floating-badge {
  position: absolute;
  right: 0;
  bottom: 50px;
  max-width: 250px;
  padding: 18px;
  border-radius: 10px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
}

.floating-badge b { display: block; font-size: 15px; font-weight: 500; }
.floating-badge span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  padding: 64px 0 0;
  color: #8fa6be;
  background: var(--graphite);
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 14px;
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
  padding-bottom: 44px;
}

.footer-brand .brand { color: var(--white); }
.footer-brand .brand small { color: rgba(255, 255, 255, .50); }

.footer-brand p {
  max-width: 380px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  line-height: 1.55;
}

.footer-column { display: grid; gap: 10px; }

.footer-column h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.footer-column a {
  color: rgba(255, 255, 255, .65);
  line-height: 1.35;
  transition: color .22s ease, transform .22s ease;
}

.footer-column a:hover {
  color: var(--blue-light);
  transform: translateX(2px);
}

.footer-address {
  color: rgba(255, 255, 255, .50);
  font-style: normal;
  font-size: 13px;
}

.footer-bottom {
  width: min(1160px, calc(100% - 40px));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .45);
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ══════════════════════════════════════
   BRAND WORD
══════════════════════════════════════ */
.brand-word {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  transition: color .25s ease;
}

.brand-word small {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin: 0;
}

.brand:hover .brand-word { color: rgba(255, 255, 255, .85); }

.footer-brand .brand-word { color: var(--white); }
.footer-brand .brand-word small { color: var(--blue-light); }

/* ══════════════════════════════════════
   CLIENTS BANNER
══════════════════════════════════════ */
.clients {
  background: var(--graphite);
  padding: 56px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.clients-title {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.clients-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 38px;
  margin-top: 34px;
}

.client-logo {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  transition: transform .28s ease, box-shadow .28s ease;
}

.client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
  transition: filter .3s ease, opacity .3s ease;
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .36);
}

.client-logo:hover img { filter: none; opacity: 1; }

/* ══════════════════════════════════════
   DUAL CARDS (index — dos mundos)
══════════════════════════════════════ */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.dual-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}

.dual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(30, 36, 44, .12);
}

.dual-card-media {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.dual-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dual-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 36, 44, .04), rgba(30, 36, 44, .32));
}

.dual-card-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(30, 36, 44, .78);
  border: 1px solid rgba(125, 162, 201, .45);
}

.dual-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 28px;
  flex: 1;
}

.dual-card-body h3 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--graphite);
}

.dual-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.dual-card-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}

.dual-card-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.dual-card-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--blue);
  transform: translateY(-1px);
}

.dual-card-cta {
  margin-top: auto;
  padding-top: 10px;
  color: var(--blue);
  font-weight: 500;
  font-size: 14px;
}

.dual-card-cta:hover { color: var(--graphite); }

.dual-card.dark {
  background: var(--graphite);
  border-color: rgba(125, 162, 201, .22);
  color: #e0eaf4;
}

.dual-card.dark .dual-card-body h3 { color: #fff; }
.dual-card.dark .dual-card-body p { color: rgba(224, 234, 244, .76); }
.dual-card.dark .dual-card-list { color: rgba(224, 234, 244, .90); }
.dual-card.dark .dual-card-list li::before { background: var(--blue-light); }
.dual-card.dark .dual-card-cta { color: var(--blue-light); }
.dual-card.dark .dual-card-cta:hover { color: #fff; }

/* ══════════════════════════════════════
   SCREENSHOT SECTIONS
══════════════════════════════════════ */
.dashboard-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dashboard-section.dark {
  background: var(--graphite);
  border-top-color: rgba(255, 255, 255, .09);
  border-bottom-color: rgba(255, 255, 255, .09);
}

.dashboard-section.dark .section-kicker { color: var(--blue-light); }
.dashboard-section.dark h2 { color: var(--white); }
.dashboard-section.dark .section-lead { color: #8fa6be; }
.dashboard-section.dark p { color: #8fa6be; }

.screenshot-hero {
  margin-top: 36px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(30, 36, 44, .20);
  border: 1px solid rgba(30, 36, 44, .10);
  position: relative;
}

.screenshot-hero img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
  transition: transform .8s ease;
}

.screenshot-hero:hover img { transform: scale(1.01); filter: saturate(1) contrast(1.03); }

.browser-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(30, 36, 44, .18);
  border: 1px solid rgba(30, 36, 44, .12);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #e4e8ed;
  border-bottom: 1px solid rgba(30, 36, 44, .09);
}

.browser-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.browser-bar .dot:nth-child(1) { background: #ff5f57; }
.browser-bar .dot:nth-child(2) { background: #febc2e; }
.browser-bar .dot:nth-child(3) { background: #28c840; }

.browser-bar .url-bar {
  flex: 1;
  margin: 0 12px;
  height: 22px;
  background: rgba(255, 255, 255, .88);
  border-radius: 4px;
  border: 1px solid rgba(30, 36, 44, .09);
}

.browser-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s ease;
}

.browser-frame:hover img { transform: scale(1.015); }

.screenshot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.screenshot-pair .browser-frame img { aspect-ratio: 16 / 9; }

.screenshot-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.screenshot-split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.screenshot-split.reverse .screenshot-split-img { order: -1; }

.screenshot-split-text h2 { margin-top: 10px; }

.screenshot-split-text p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.screenshot-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.screenshot-trio .browser-frame img { aspect-ratio: 4 / 3; }

.screenshot-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.screenshot-caption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.wazuh-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(4, 197, 254, .10), 0 12px 32px rgba(30, 36, 44, .28);
  border: 1px solid rgba(74, 123, 171, .22);
}

.wazuh-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0f1a2e;
  border-bottom: 1px solid rgba(74, 123, 171, .18);
}

.wazuh-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.wazuh-bar .dot:nth-child(1) { background: #ff5f57; }
.wazuh-bar .dot:nth-child(2) { background: #febc2e; }
.wazuh-bar .dot:nth-child(3) { background: #28c840; }

.wazuh-bar .url-bar {
  flex: 1;
  margin: 0 12px;
  height: 22px;
  background: rgba(74, 123, 171, .10);
  border-radius: 4px;
  border: 1px solid rgba(74, 123, 171, .20);
}

.wazuh-frame img { width: 100%; display: block; object-fit: cover; transition: transform .8s ease; }
.wazuh-frame:hover img { transform: scale(1.015); }

.wazuh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.wazuh-grid .wazuh-frame img { aspect-ratio: 16 / 9; }
.wazuh-card { display: grid; gap: 12px; }

.wazuh-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wazuh-card-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(74, 123, 171, .20);
}

.wazuh-card p { margin: 0; color: #8fa6be; font-size: 14px; line-height: 1.5; }

/* ══════════════════════════════════════
   SERVICE ROW WITH IMAGE
══════════════════════════════════════ */
.service-row-with-img {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.service-row-with-img.flip { grid-template-columns: 380px 1fr; }
.service-row-with-img.flip .srv-img { order: -1; }

.srv-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.srv-img img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }

.sec-mockup-outer {
  background: #0d1117;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .50), 0 0 0 1px rgba(255, 255, 255, .05);
}

.photo-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-card img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }

/* ══════════════════════════════════════
   WA FLOAT BUTTON
══════════════════════════════════════ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 99px;
  background: #25d366;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(30, 36, 44, .28);
  transition: transform .22s ease, box-shadow .22s ease;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(30, 36, 44, .34);
}

.wa-float svg { width: 26px; height: 26px; flex: none; }

/* ══════════════════════════════════════
   ANIMATIONS & SCROLL REVEAL
══════════════════════════════════════ */
@keyframes subtleVideoScale {
  from { transform: scale(1.02); }
  to   { transform: scale(1.07); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

html.js .reveal-up,
html.js .reveal-left,
html.js .reveal-right {
  opacity: 0;
  transition: opacity 0.60s cubic-bezier(.22, 1, .36, 1),
              transform 0.60s cubic-bezier(.22, 1, .36, 1);
}

html.js .reveal-up    { transform: translateY(24px); }
html.js .reveal-left  { transform: translateX(-28px); }
html.js .reveal-right { transform: translateX(28px); }

html.js .reveal-up.visible,
html.js .reveal-left.visible,
html.js .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js .reveal.visible { opacity: 1; transform: translateY(0); }

html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

html.js .reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.mockup-float { animation: float 5.5s ease-in-out infinite; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .menu-toggle { display: grid; }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease;
  }

  .site-header.is-menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--ink);
  }

  .nav-links a:hover { background: var(--paper); }

  .nav-links .button {
    margin-top: 8px;
    width: 100%;
  }

  .nav-links .button.primary { color: var(--white); }

  .hero-inner,
  .home-hero-inner,
  .problem-grid,
  .package-layout,
  .cta-box,
  .split-layout,
  .contact-layout,
  .visual-grid,
  .visual-grid-reverse {
    grid-template-columns: 1fr;
  }

  .visual-grid-reverse img { order: 0; }

  .hero-inner { min-height: auto; padding-top: 56px; }
  .home-hero-inner { min-height: auto; padding-top: 56px; }
  .side-cta { position: static; }

  .step-grid,
  .audience-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-pair,
  .screenshot-trio,
  .wazuh-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-split,
  .screenshot-split.reverse { grid-template-columns: 1fr; }
  .screenshot-split.reverse .screenshot-split-img { order: 0; }
}

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

@media (max-width: 640px) {
  .nav { width: min(100% - 28px, 1160px); min-height: 60px; }

  .brand-word { font-size: 18px; letter-spacing: .15em; }
  .brand-word small { display: none; }

  .hero-inner,
  .home-hero-inner,
  .section-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, 1160px);
  }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .hero-copy,
  .section-lead { font-size: 16px; }

  .trust-row,
  .risk-list,
  .service-grid,
  .step-grid,
  .audience-grid,
  .feature-grid,
  .hero-form {
    width: 100%;
  }

  .trust-row,
  .risk-list,
  .service-grid,
  .step-grid,
  .audience-grid,
  .feature-grid,
  .field-group {
    grid-template-columns: 1fr;
  }

  .contact-form-horizontal { grid-template-columns: 1fr; }
  .contact-form-horizontal .form-submit { margin-top: 4px; width: 100%; }

  .feature-number { margin-bottom: 52px; }

  .service-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }

  .service-badge {
    width: auto;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .contact-mini-grid { grid-template-columns: 1fr; }
  .legal-content { padding: 24px; }

  section { padding: 44px 0; }
  .cta-box { padding: 28px; }
  .button { width: 100%; }

  .clients-strip { gap: 20px; }
  .client-logo { width: 88px; height: 88px; }

  .wa-float span { display: none; }
  .wa-float { padding: 0 13px; }

  .service-row-with-img,
  .service-row-with-img.flip { grid-template-columns: 1fr; }
  .service-row-with-img.flip .srv-img { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
