/* TEC PERU EDUCA — Brochure tech / institucional */
:root {
  --navy: #0b2a4a;
  --navy-deep: #040e18;
  --navy-mid: #123552;
  --cyan: #2ec5ff;
  --orange: #f05a28;
  --orange-soft: #ff7a4d;
  --ink: #0e1a28;
  --muted: #6a7c90;
  --line: rgba(11, 42, 74, 0.14);
  --paper: #eef3f8;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.06);
  --display: "Sora", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-pointer {
  cursor: none;
}
body.has-pointer a,
body.has-pointer button {
  cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0.04em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.shell {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Custom cursor */
.fx-cursor,
.fx-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  mix-blend-mode: difference;
}
.fx-cursor {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.12s var(--ease), opacity 0.2s ease;
}
.fx-cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transition: transform 0.25s var(--ease), width 0.25s ease, height 0.25s ease, margin 0.25s ease, opacity 0.2s ease;
}
.fx-cursor.is-on,
.fx-cursor-ring.is-on { opacity: 1; }
.fx-cursor-ring.is-hot {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--orange-soft);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.45rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, #ff6a3d 55%, var(--orange) 100%);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 14px 34px rgba(240, 90, 40, 0.35);
  animation: btnGlow 4s ease-in-out infinite;
}
.btn--primary:hover { transform: translateY(-3px) scale(1.02); }
.btn__pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 3.2s ease-in-out infinite;
}
.btn--ghost {
  border: 1px solid rgba(46, 197, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(46, 197, 255, 0.12);
  border-color: rgba(46, 197, 255, 0.7);
  box-shadow: 0 0 24px rgba(46, 197, 255, 0.2);
}
.btn--ghost-dark {
  border: 1px solid rgba(11, 42, 74, 0.18);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}
.btn--ghost-dark:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 8px 24px rgba(11, 42, 74, 0.08);
}

@keyframes btnGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 20s var(--ease) forwards;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 70% 20%, rgba(46, 197, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 35% at 15% 80%, rgba(240, 90, 40, 0.22), transparent 55%),
    linear-gradient(115deg, rgba(4, 14, 24, 0.94) 0%, rgba(11, 42, 74, 0.78) 48%, rgba(4, 14, 24, 0.55) 100%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 197, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 197, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
}
.hero__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.015) 3px,
    rgba(255, 255, 255, 0.015) 4px
  );
  pointer-events: none;
  opacity: 0.5;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 0 4.5rem;
  padding-left: max(1.25rem, calc((100% - 1140px) / 2));
  padding-right: 1.25rem;
  animation: heroRise 1s var(--ease) both;
}
.tech-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(46, 197, 255, 0.28);
  border-radius: 999px;
  background: rgba(4, 14, 24, 0.45);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}
.tech-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #33d17a;
  box-shadow: 0 0 10px #33d17a;
  animation: pulseDot 1.6s ease-in-out infinite;
}
.tech-status__sep { opacity: 0.4; }
.hero__logo {
  width: min(250px, 68vw);
  height: auto;
  margin-bottom: 1.2rem;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(46, 197, 255, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.28);
}
.hero__product {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.code-br { color: var(--orange-soft); }
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 15ch;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero__lead {
  margin: 1.05rem 0 0;
  max-width: 40ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}
.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__metrics div {
  display: grid;
  gap: 0.15rem;
  min-width: 4.5rem;
}
.hero__metrics strong {
  font-family: var(--display);
  font-size: 1.45rem;
  color: #fff;
}
.hero__metrics span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__scroll {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero__scroll i {
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.65); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

/* Sections */
.section { position: relative; padding: clamp(4.2rem, 8vw, 6.8rem) 0; }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--light { color: #fff; }
.section-head--light .section-lead { color: rgba(255, 255, 255, 0.74); }
.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange);
}
.eyebrow--light { color: var(--orange-soft); }
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-head--light h2 { color: #fff; }
.section-lead {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Solution */
.solution {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(46, 197, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(240, 90, 40, 0.07), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.solution__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.solution__item {
  position: relative;
  padding: 1.45rem 1.25rem 1.55rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.25s ease, box-shadow 0.35s ease;
}
.solution__item:hover {
  border-color: rgba(46, 197, 255, 0.45);
  box-shadow: 0 18px 40px rgba(11, 42, 74, 0.1), 0 0 0 1px rgba(46, 197, 255, 0.12);
  transform: translateY(-4px);
}
.tech-panel__edge {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--orange), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.solution__item:hover .tech-panel__edge { opacity: 1; }
.solution__num {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.85rem;
}
.solution__item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--navy);
}
.solution__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Portals */
.portals {
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}
.portals__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}
.portals__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portals__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(46, 197, 255, 0.2), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(240, 90, 40, 0.18), transparent 40%),
    linear-gradient(rgba(4, 14, 24, 0.55), rgba(4, 14, 24, 0.85));
}
.portals .shell { position: relative; z-index: 1; }

.glass-frame {
  border: 1px solid rgba(46, 197, 255, 0.22);
  border-radius: 20px;
  background: rgba(8, 24, 40, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.portals__layout {
  display: grid;
  grid-template-columns: minmax(210px, 270px) 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.portals__chrome {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}
.portals__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}
.portals__chrome span:nth-child(2) { background: #febc2e; }
.portals__chrome span:nth-child(3) { background: #28c840; }
.portals__chrome em {
  margin-left: 0.75rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}
.portals__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.75rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.portals__tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  padding: 0.9rem 0.95rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.portals__tab i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.7rem;
  color: var(--cyan);
  opacity: 0.7;
}
.portals__tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}
.portals__tab.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(240, 90, 40, 0.22), rgba(46, 197, 255, 0.08));
  border-color: rgba(240, 90, 40, 0.4);
  box-shadow: 0 0 24px rgba(240, 90, 40, 0.12);
}
.portals__panels { padding: 1.4rem 1.5rem 1.6rem; }
.portals__panel { animation: panelIn 0.45s var(--ease); }
.portals__panel[hidden] { display: none; }
.portals__panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.55rem;
}
.portals__panel > p {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.74);
  max-width: 44ch;
}
.portals__panel ul { display: grid; gap: 0.6rem; }
.portals__panel li {
  position: relative;
  padding: 0.65rem 0.75rem 0.65rem 1.35rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.portals__panel li:hover {
  background: rgba(46, 197, 255, 0.08);
  border-color: rgba(46, 197, 255, 0.25);
}
.portals__panel li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.2rem;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(240, 90, 40, 0.7);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Modules */
.modules {
  background:
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.modules__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.chip {
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.chip:hover {
  border-color: rgba(46, 197, 255, 0.5);
  transform: translateY(-1px);
}
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 42, 74, 0.2);
}
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.module {
  position: relative;
  background: #fff;
  padding: 1.35rem 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease, opacity 0.35s ease;
}
.module::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 197, 255, 0.12), transparent 70%);
  transition: transform 0.4s var(--ease);
}
.module:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 42, 74, 0.28);
  box-shadow: 0 16px 36px rgba(11, 42, 74, 0.1);
}
.module:hover::after { transform: scale(1.4); }
.module.is-hidden {
  display: none !important;
}
.module__tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(46, 197, 255, 0.1);
  border: 1px solid rgba(46, 197, 255, 0.2);
}
.module h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--navy);
}
.module p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Value */
.value {
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(46, 197, 255, 0.07), transparent 55%),
    var(--paper);
}
.value__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 54rem;
}
.value__list li {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 1.2rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.value__list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(11, 42, 74, 0.08);
}
.value__list strong {
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--navy);
}
.value__list span {
  color: var(--muted);
  font-size: 0.96rem;
}

/* CTA */
.cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(240, 90, 40, 0.1), transparent 55%),
    linear-gradient(180deg, #fff, #f5f8fc);
}
.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}
.btn--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 14px 34px rgba(18, 140, 126, 0.35);
  gap: 0.55rem;
}
.btn--whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4);
  filter: brightness(1.05);
}
.btn--whatsapp-outline {
  background: rgba(37, 211, 102, 0.1);
  color: #0b6b4f;
  border: 1px solid rgba(37, 211, 102, 0.45);
  gap: 0.55rem;
}
.btn--whatsapp-outline:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25d366;
  transform: translateY(-2px);
}

/* Lead form */
.lead-form {
  position: relative;
  margin-top: 1.75rem;
  text-align: left;
}
.lead-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.lead-field {
  display: grid;
  gap: 0.35rem;
}
.lead-field--full { grid-column: 1 / -1; }
.lead-field span {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.75;
}
.lead-field input,
.lead-field textarea {
  width: 100%;
  border: 1px solid rgba(11, 42, 74, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lead-field input:focus,
.lead-field textarea:focus {
  outline: none;
  border-color: rgba(37, 211, 102, 0.65);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}
.lead-field input.is-invalid,
.lead-field textarea.is-invalid {
  border-color: #e24b4b;
  box-shadow: 0 0 0 3px rgba(226, 75, 75, 0.12);
}
.lead-form__error {
  margin: 0.75rem 0 0;
  color: #c62828;
  font-size: 0.88rem;
  font-weight: 600;
}
.cta__mail {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta__box {
  position: relative;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
  padding: 2.5rem 1.75rem 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(11, 42, 74, 0.12);
}
.cta__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(46, 197, 255, 0.16), transparent 60%);
  pointer-events: none;
}
.cta__logo {
  position: relative;
  width: 180px;
  height: auto;
  margin: 0 auto 1.4rem;
}
.cta__box h2 {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--navy);
  line-height: 1.2;
}
.cta__box > p {
  position: relative;
  margin: 1rem 0 0;
  color: var(--muted);
}
.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.7rem;
}
.cta__legal {
  position: relative;
  margin-top: 1.45rem !important;
  font-family: var(--mono);
  font-size: 0.75rem !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 1.5rem 0;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer img {
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.site-footer p { margin: 0; font-size: 0.85rem; }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .solution__grid { grid-template-columns: 1fr 1fr; }
  .modules__grid { grid-template-columns: 1fr 1fr; }
  .portals__layout { grid-template-columns: 1fr; }
  .portals__tabs {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 720px) {
  body.has-pointer { cursor: auto; }
  .fx-cursor, .fx-cursor-ring { display: none; }
  .hero__content { margin-bottom: 3.5rem; }
  .hero__title { max-width: none; }
  .solution__grid,
  .modules__grid,
  .value__list { grid-template-columns: 1fr; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero__metrics { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
