/* ============================================================
   ReparaTech PRO — Sitio marketing (WEB REPARA)
   Sistema de diseño · clase mundial
   ============================================================ */

:root {
  /* Marca */
  --ink-950: #060e1a;
  --ink-900: #0a1628;
  --ink-800: #0c1a32;
  --ink-700: #122a52;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --cyan-400: #22d3ee;
  --green-400: #22c55e;

  /* Superficies claras */
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;

  /* Texto */
  --t-strong: #0f172a;
  --t-base: #334155;
  --t-soft: #64748b;
  --t-on-dark: #f8fafc;
  --t-on-dark-soft: rgba(248, 250, 252, 0.72);
  --t-on-dark-muted: rgba(248, 250, 252, 0.5);

  /* Radios y sombras */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 44px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.16);
  --shadow-dark: 0 40px 90px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(96, 165, 250, 0.25), 0 20px 60px rgba(37, 99, 235, 0.28);

  /* Layout */
  --wrap: min(1200px, calc(100% - 2.5rem));
  --wrap-narrow: min(960px, calc(100% - 2.5rem));
  --font: "Segoe UI", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--t-strong);
  background: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-narrow { width: var(--wrap-narrow); margin-inline: auto; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   Botones
   ============================================================ */
.btn {
  --btn-h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-h);
  padding: 0 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { --btn-h: 54px; padding-inline: 1.6rem; font-size: 1rem; }

.btn--pri {
  color: #fff;
  background: linear-gradient(180deg, #4b8af7 0%, var(--blue-600) 100%);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}
.btn--pri:hover { box-shadow: 0 18px 40px rgba(37, 99, 235, 0.5); }

.btn--ghost {
  color: var(--t-on-dark);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--white {
  color: var(--blue-600);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.btn--outline {
  color: var(--t-strong);
  background: #fff;
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: var(--blue-400); }

/* ============================================================
   Fondo global oscuro + textura
   ============================================================ */
.bg-fx { position: fixed; inset: 0; z-index: -2; background: linear-gradient(160deg, #060e1a 0%, #0a1628 30%, #0c1a32 60%, #102648 100%); }
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 12% 8%, rgba(63, 116, 240, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 45% at 90% 4%, rgba(34, 211, 238, 0.10), transparent 52%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 95% 60% at 50% 0%, black 8%, transparent 72%);
}

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(8, 17, 30, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hdr.is-scrolled { background: rgba(8, 17, 30, 0.92); border-bottom-color: rgba(255, 255, 255, 0.1); }
.hdr__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }
.brand__img { width: auto; height: 44px; max-width: min(260px, 50vw); object-fit: contain; object-position: left center; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4)); }

.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: 0.92rem; font-weight: 600; color: var(--t-on-dark-soft); position: relative; transition: color 0.15s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-400), var(--cyan-400)); transition: width 0.2s ease; }
.nav a:hover { color: var(--t-on-dark); }
.nav a:hover::after { width: 100%; }

.hdr__actions { display: flex; align-items: center; gap: 0.6rem; }

.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; background: rgba(255, 255, 255, 0.07); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin-inline: auto; background: #fff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 1.25rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(7, 16, 24, 0.97); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 0.75rem 0.5rem; font-weight: 600; color: var(--t-on-dark-soft); border-radius: 10px; }
.mobile-nav a:hover { color: var(--t-on-dark); background: rgba(255, 255, 255, 0.06); }
.mobile-nav__cta { margin-top: 0.4rem; text-align: center; color: #fff !important; background: linear-gradient(180deg, #4b8af7, var(--blue-600)) !important; }

@media (min-width: 980px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .brand__img { height: 50px; max-width: 320px; }
  .hide-desktop { display: none !important; }
}
@media (max-width: 979px) { .hide-mobile { display: none !important; } }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; color: var(--t-on-dark); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 1040px) { .hero__grid { grid-template-columns: 1.04fr 1fr; gap: 3.25rem; } }

.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-on-dark-soft); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.18);} 50% { box-shadow: 0 0 0 7px rgba(34,197,94,.05);} }

.hero__title { margin: 1.3rem 0 1.1rem; font-size: clamp(2.4rem, 5.8vw, 4.3rem); font-weight: 900; line-height: 1.04; letter-spacing: -0.035em; }
.hero__title .grad { background: linear-gradient(100deg, var(--blue-300) 0%, var(--blue-400) 45%, var(--cyan-400) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 0 0 1.9rem; max-width: 35rem; font-size: clamp(1.05rem, 2.1vw, 1.22rem); color: var(--t-on-dark-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.2rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 0; padding: 1.4rem 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hero__stats li { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__stats strong { font-size: 1.5rem; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.hero__stats span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-on-dark-muted); }

/* ============================================================
   Mockup dashboard (HTML/CSS, nítido y on-brand)
   ============================================================ */
.hero__visual { position: relative; }
.hero__visual::after { content: ""; position: absolute; inset: -12% -8% -18% -8%; z-index: -1; background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.3), transparent 68%); filter: blur(20px); }

.mock {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0e1a30 0%, #0a1426 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-8deg) rotateX(2deg);
  transform-origin: center;
  transition: transform 0.5s ease;
}
.hero__visual:hover .mock { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }

.mock__bar { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.95rem; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.mock__dots i:nth-child(1) { background: #f87171; }
.mock__dots i:nth-child(2) { background: #fbbf24; }
.mock__dots i:nth-child(3) { background: #34d399; }
.mock__tab { font-size: 0.7rem; font-weight: 700; color: var(--t-on-dark-soft); padding: 0.28rem 0.7rem; border-radius: 7px; background: rgba(255, 255, 255, 0.06); }
.mock__brand { margin-left: auto; font-size: 0.72rem; font-weight: 800; color: var(--blue-300); letter-spacing: 0.02em; }

.mock__body { display: grid; grid-template-columns: 116px 1fr; min-height: 360px; }
.mock__side { padding: 0.9rem 0.7rem; border-right: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; gap: 0.35rem; }
.mock__navitem { display: flex; align-items: center; gap: 0.5rem; padding: 0.42rem 0.55rem; border-radius: 8px; font-size: 0.7rem; font-weight: 600; color: var(--t-on-dark-muted); }
.mock__navitem .icon { width: 14px; height: 14px; color: var(--blue-300); }
.mock__navitem.is-active { background: linear-gradient(90deg, rgba(59,130,246,.22), rgba(59,130,246,.05)); color: #fff; }
.mock__navitem.is-active .icon { color: var(--blue-400); }

.mock__main { padding: 0.95rem; display: flex; flex-direction: column; gap: 0.8rem; }
.mock__head { display: flex; align-items: center; justify-content: space-between; }
.mock__title { font-size: 0.92rem; font-weight: 800; color: #fff; }
.mock__chip { font-size: 0.62rem; font-weight: 800; padding: 0.25rem 0.55rem; border-radius: 7px; color: #fff; background: linear-gradient(180deg, #4b8af7, var(--blue-600)); }

.mock__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
.mock__col { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 12px; padding: 0.55rem; display: flex; flex-direction: column; gap: 0.45rem; }
.mock__col-h { display: flex; align-items: center; justify-content: space-between; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--t-on-dark-muted); }
.mock__col-h b { color: var(--blue-300); }
.mock__card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: 9px; padding: 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.mock__card-top { display: flex; align-items: center; gap: 0.4rem; }
.mock__avatar { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #1e3a8a, #0ea5e9); flex-shrink: 0; }
.mock__line { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.mock__line.w70 { width: 70%; } .mock__line.w50 { width: 50%; } .mock__line.w90 { width: 90%; } .mock__line.w40 { width: 40%; }
.mock__tagbudget { font-size: 0.6rem; font-weight: 800; color: var(--blue-300); }
.mock__tag-ok { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.58rem; font-weight: 800; color: #bbf7d0; background: rgba(34, 197, 94, 0.16); border: 1px solid rgba(34, 197, 94, 0.3); border-radius: 6px; padding: 0.18rem 0.4rem; align-self: flex-start; }
.mock__tag-ok .icon { width: 11px; height: 11px; color: var(--green-400); }

/* Toast flotante sobre el mockup */
.mock-toast {
  position: absolute; right: -14px; bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 0.85rem; border-radius: 14px;
  background: rgba(8, 17, 30, 0.92); border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  animation: floaty 4s ease-in-out infinite;
}
.mock-toast__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(34, 197, 94, 0.18); color: var(--green-400); }
.mock-toast__ico .icon { width: 18px; height: 18px; }
.mock-toast__t { font-size: 0.72rem; font-weight: 800; color: #fff; }
.mock-toast__s { font-size: 0.62rem; color: var(--t-on-dark-muted); }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }

@media (max-width: 560px) {
  .mock { transform: none; }
  .hero__visual:hover .mock { transform: none; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .mock__cols { grid-template-columns: 1fr; }
  .mock__col:nth-child(3) { display: none; }
  .mock-toast { right: 8px; }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust { padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.8rem 2rem; }
.trust__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-on-dark-muted); }
.trust__item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 700; color: var(--t-on-dark-soft); }
.trust__item .icon { width: 18px; height: 18px; color: var(--blue-400); }

/* ============================================================
   Bloques claros
   ============================================================ */
.block { position: relative; background: var(--white); }
.block--light { background: var(--white); }
.block--slate { background: var(--slate-50); }
.block__top { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.head { max-width: 44rem; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); text-align: center; }
.head--left { margin-inline: 0; text-align: left; }
.kick { display: inline-block; margin-bottom: 0.8rem; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); }
.h2 { margin: 0 0 0.85rem; font-size: clamp(1.9rem, 4vw, 2.85rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.025em; color: var(--t-strong); }
.lead { margin: 0; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--t-base); }

/* Problema */
.problem-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }
.problem-card { padding: 1.5rem 1.35rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.problem-card__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 13px; background: linear-gradient(180deg, #fef2f2, #fee2e2); color: #dc2626; }
.problem-card__ico .icon { width: 22px; height: 22px; }
.problem-card h3 { margin: 0; font-size: 1.02rem; font-weight: 800; color: var(--t-strong); line-height: 1.3; }

/* Proceso (flujo) */
.flow { display: grid; gap: 1.1rem; counter-reset: step; }
@media (min-width: 920px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow__step { position: relative; padding: 1.6rem 1.35rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.flow__num { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 1rem; border-radius: 11px; background: linear-gradient(180deg, #4b8af7, var(--blue-600)); color: #fff; font-weight: 900; font-size: 0.95rem; box-shadow: 0 8px 18px rgba(37,99,235,.3); }
.flow__step h3 { margin: 0 0 0.4rem; font-size: 1.08rem; font-weight: 800; color: var(--t-strong); }
.flow__step p { margin: 0; font-size: 0.94rem; color: var(--t-base); }
@media (min-width: 920px) {
  .flow__step:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: -0.7rem; width: 1.4rem; height: 2px; background: linear-gradient(90deg, var(--blue-400), transparent); }
}

/* Features */
.features { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.feature {
  position: relative; padding: 1.7rem 1.5rem; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 15px; background: linear-gradient(180deg, #eff6ff, #dbeafe); color: var(--blue-600); }
.feature__ico .icon { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 0.55rem; font-size: 1.18rem; font-weight: 800; color: var(--t-strong); }
.feature p { margin: 0; font-size: 0.96rem; color: var(--t-base); }

/* Sectores */
.sectors { display: grid; gap: 1.25rem; }
@media (min-width: 920px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
.sector { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--slate-200); background: #0a1628; }
.sector__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.sector:hover .sector__media img { transform: scale(1.06); }
.sector__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6, 14, 26, 0.92) 100%); }
.sector__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.4rem 1.4rem; color: #fff; z-index: 2; }
.sector__tag { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 0.55rem; padding: 0.25rem 0.6rem; border-radius: 7px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(59, 130, 246, 0.25); border: 1px solid rgba(96, 165, 250, 0.4); color: var(--blue-300); }
.sector__tag .icon { width: 13px; height: 13px; }
.sector h3 { margin: 0 0 0.3rem; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.01em; }
.sector p { margin: 0; font-size: 0.9rem; color: var(--t-on-dark-soft); }

/* Banda seguridad (oscura) */
.security { position: relative; padding: clamp(2.5rem, 5vw, 3.5rem); border-radius: var(--r-xl); background: linear-gradient(135deg, #0a1628 0%, #122a52 55%, #1e3a8a 100%); color: var(--t-on-dark); overflow: hidden; box-shadow: var(--shadow-lg); }
.security::before { content: ""; position: absolute; inset: 0; opacity: 0.5; background: radial-gradient(ellipse 50% 60% at 85% 20%, rgba(34, 211, 238, 0.18), transparent 60%); }
.security__grid { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .security__grid { grid-template-columns: 1fr auto; gap: 3rem; } }
.security .kick { color: var(--blue-300); }
.security .h2 { color: #fff; }
.security .lead { color: var(--t-on-dark-soft); }
.security__list { margin: 1.3rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.security__list li { display: flex; align-items: center; gap: 0.65rem; font-weight: 600; color: var(--t-on-dark-soft); }
.security__list .icon { width: 20px; height: 20px; color: var(--green-400); flex-shrink: 0; }
.security__badge { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; min-width: 220px; padding: 1.8rem 1.5rem; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); text-align: center; backdrop-filter: blur(8px); }
.security__badge-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(180deg, rgba(34,211,238,.2), rgba(37,99,235,.2)); color: var(--cyan-400); }
.security__badge-ico .icon { width: 32px; height: 32px; }
.security__badge b { font-size: 1.05rem; font-weight: 900; }
.security__badge span { font-size: 0.8rem; color: var(--t-on-dark-muted); }

/* CTA final */
.cta { position: relative; text-align: center; padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--r-xl); background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #0ea5e9 100%); color: #fff; overflow: hidden; box-shadow: 0 35px 80px rgba(37, 99, 235, 0.4); }
.cta::before { content: ""; position: absolute; inset: 0; opacity: 0.4; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black, transparent 70%); }
.cta__inner { position: relative; }
.cta h2 { margin: 0 0 0.85rem; font-size: clamp(1.95rem, 4.2vw, 3.1rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.08; }
.cta p { margin: 0 auto 1.8rem; max-width: 34rem; font-size: 1.12rem; color: rgba(255, 255, 255, 0.9); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }

/* Footer */
.footer { padding: 2.5rem 0 2.8rem; border-top: 1px solid var(--slate-200); background: #fff; }
.footer__inner { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; text-align: center; }
@media (min-width: 760px) { .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer__logo { width: auto; height: 34px; opacity: 0.92; }
.footer__copy { margin: 0; font-size: 0.86rem; color: var(--t-soft); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; }
.footer__links a { font-size: 0.88rem; font-weight: 700; color: var(--blue-600); }
.footer__links a:hover { color: var(--blue-500); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mock { transform: none !important; }
}
