@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-variable.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --navy-950: #020916;
  --navy-900: #061326;
  --navy-850: #081a33;
  --navy-800: #0a1f3b;
  --blue-600: #155fff;
  --blue-500: #1b74ff;
  --cyan-400: #00c8ff;
  --cyan-300: #53e5ff;
  --teal-400: #18c7b8;
  --emerald-400: #33d196;
  --amber-400: #f2b24d;
  --violet-400: #8d7cff;
  --indigo-400: #5f74ff;
  --white: #ffffff;
  --ice: #f2f7ff;
  --muted: #aebbd0;
  --section-accent-start: var(--cyan-400);
  --section-accent-end: var(--blue-500);
  --line: rgba(132, 190, 255, 0.2);
  --line-strong: rgba(55, 159, 255, 0.48);
  --glass: rgba(4, 14, 31, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --header-height: 76px;
  --coin-bg: radial-gradient(circle at 50% 34%, #ffffff, #e6eff8 70%, #d4e1f0);
  --coin-ring: 0 0 0 1px rgba(150, 195, 255, 0.45);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--ice);
  background:
    radial-gradient(circle at 20% 0%, rgba(16, 103, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 78% 12%, rgba(0, 200, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, var(--navy-950), #06111f 52%, #f5f8fc 52%);
  overflow-x: hidden;
}

body::selection {
  color: var(--white);
  background: var(--blue-600);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 6px;
  background: #ffffff;
  color: #061326;
  font-size: 0.86rem;
  font-weight: 800;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

#nodeCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.82;
}

.site-header,
.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

main,
section {
  max-width: 100%;
  overflow: hidden;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(6, 19, 38, 0.95), rgba(2, 8, 18, 0.92));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-icon {
  display: block;
  width: 44px;
  height: 44px;
  padding: 5px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--coin-bg);
  box-shadow: 0 6px 16px rgba(2, 8, 20, 0.32), var(--coin-ring), 0 0 16px rgba(0, 150, 255, 0.1);
}

.brand-wordmark {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-wordmark strong {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-wordmark small {
  color: rgba(242, 247, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(245, 250, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.main-nav a:hover {
  color: var(--white);
  border-color: var(--cyan-400);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-action,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 12px 28px rgba(21, 95, 255, 0.28);
}

.button.ghost {
  color: var(--ice);
  border-color: rgba(240, 248, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.nav-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: 78svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  padding: calc(var(--header-height) + 34px) 24px 28px;
  overflow: hidden;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, 0.82) 0%, rgba(2, 8, 20, 0.5) 52%, rgba(2, 8, 20, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.22) 0%, rgba(2, 8, 20, 0.1) 48%, #07101f 100%);
}

.hero-media {
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 200, 255, 0.09), transparent 34%),
    linear-gradient(180deg, #020916 0%, #061326 58%, #07101f 100%);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-media::before {
  inset: -20%;
  background: radial-gradient(40% 45% at 72% 38%, rgba(0, 150, 255, 0.16), transparent 70%);
  opacity: 0.7;
  transform: rotate(-2deg);
}

.hero-media::after {
  content: none;
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) 360px;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-width: 0;
}

.hero-copy {
  max-width: 770px;
  min-width: 0;
}

.hero-mark {
  display: block;
  width: clamp(78px, 7.5vw, 110px);
  height: clamp(78px, 7.5vw, 110px);
  padding: 13px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--coin-bg);
  box-shadow: 0 16px 36px rgba(2, 8, 20, 0.42), var(--coin-ring), 0 0 28px rgba(0, 150, 255, 0.16);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.section-heading > span,
.client-copy > span {
  font-family: Montserrat, Inter, "Segoe UI", system-ui, sans-serif;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
  overflow-wrap: break-word;
}

.hero-copy p {
  width: min(680px, 100%);
  margin-bottom: 26px;
  color: rgba(242, 247, 255, 0.84);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.signal-panel {
  min-height: 176px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 24, 55, 0.74), rgba(4, 13, 31, 0.42)),
    linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.08), transparent);
  box-shadow: var(--shadow);
  padding: 26px;
  overflow: hidden;
}

.signal-grid {
  display: grid;
  gap: 16px;
}

.signal-grid div {
  display: grid;
  grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(120, 186, 255, 0.16);
}

.signal-grid div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.signal-grid strong {
  color: var(--white);
  font-size: 2rem;
  letter-spacing: 0;
}

.signal-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 24ch;
  margin-left: auto;
  text-align: right;
  text-wrap: pretty;
}

.scanline {
  height: 2px;
  margin-top: 24px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), var(--blue-500), transparent);
  animation: scanline 2.8s ease-in-out infinite;
}

.section {
  padding: clamp(48px, 5.5vw, 84px) 24px;
}

.services-preview {
  background: linear-gradient(180deg, #07101f, #f5f8fc 92%);
}

.services-preview {
  padding-top: clamp(40px, 4vw, 58px);
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
}

.section-heading.wide {
  display: grid;
  grid-template-columns: 0.75fr 1.15fr;
  column-gap: 64px;
  align-items: end;
}

.section-heading.wide span {
  grid-column: 1 / -1;
}

.section-heading.wide h2 {
  grid-column: 1;
}

.section-heading.wide p {
  grid-column: 2;
  align-self: end;
}

.section-heading > span,
.client-copy > span {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan-400);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.client-copy h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: #49627e;
  font-size: 1.02rem;
  line-height: 1.7;
}

.service-grid,
.portfolio-layout,
.process-rail,
.authority-grid,
.client-section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.service-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(8, 41, 82, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(6, 24, 52, 0.08);
  color: var(--navy-900);
}

.icon-frame {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(21, 95, 255, 0.18);
  border-radius: 8px;
  color: var(--blue-600);
  background: linear-gradient(135deg, rgba(21, 95, 255, 0.08), rgba(0, 200, 255, 0.08));
}

.icon-frame svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.showcase-card h3,
.process-rail h3 {
  margin-bottom: 12px;
  color: #081733;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
}

.service-card p,
.showcase-card p,
.process-rail p {
  margin: 0;
  color: #52647a;
  font-size: 0.96rem;
  line-height: 1.65;
}

.portfolio {
  color: var(--navy-900);
  background:
    radial-gradient(circle at 80% 8%, rgba(0, 200, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #f5f8fc, #ffffff);
}

.portfolio .section-heading span,
.process .section-heading span {
  color: var(--blue-600);
}

.portfolio .section-heading h2 {
  color: var(--navy-900);
}

.portfolio-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-auto-rows: minmax(206px, auto);
  gap: 16px;
}

.showcase-card {
  position: relative;
  min-height: 226px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: 0 22px 60px rgba(7, 24, 53, 0.16);
}

.showcase-card.large {
  grid-row: span 3;
  min-height: 650px;
}

.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.08), rgba(2, 8, 20, 0.2) 42%, rgba(2, 8, 20, 0.9)),
    linear-gradient(90deg, rgba(2, 8, 20, 0.72), transparent 66%);
}

.showcase-card div {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.showcase-card h3 {
  color: var(--white);
}

.showcase-card p {
  max-width: 520px;
  color: rgba(242, 247, 255, 0.8);
}

.process {
  position: relative;
  padding-top: clamp(40px, 5vw, 70px);
  background:
    radial-gradient(circle at 16% 16%, rgba(40, 194, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 84% 0%, rgba(59, 130, 246, 0.12), transparent 22rem),
    linear-gradient(180deg, #07101f 0%, #081425 58%, #091728 100%);
}

.process .section-heading {
  margin-bottom: 36px;
  text-align: left;
}

.process .section-heading h2,
.process .section-heading p {
  margin-left: 0;
  margin-right: 0;
}

.process .section-heading h2 {
  max-width: 700px;
  color: var(--white);
}

.process .section-heading h2::after {
  margin-left: 0;
  margin-right: 0;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 16px;
}

.process-rail li {
  min-height: 100%;
  padding: 30px 24px 26px;
  border: 1px solid rgba(111, 166, 236, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 22, 45, 0.9), rgba(6, 15, 31, 0.94));
  box-shadow: 0 24px 54px rgba(1, 7, 18, 0.28);
  text-align: left;
}

.process-rail b {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-600);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.process-rail h3 {
  color: var(--white);
}

.process-rail p {
  color: rgba(219, 232, 246, 0.78);
}

.authority {
  color: var(--navy-900);
  background:
    radial-gradient(circle at 14% 12%, rgba(21, 95, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #f5f8fc, #ffffff);
}

.authority .section-heading span {
  color: var(--blue-600);
}

.authority .section-heading h2 {
  color: var(--navy-900);
}

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

.authority-grid article {
  min-height: 236px;
  padding: 26px;
  border: 1px solid rgba(21, 95, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(6, 24, 52, 0.08);
}

.authority-grid b {
  display: block;
  margin-bottom: 22px;
  color: var(--blue-600);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
}

.authority-grid h3 {
  margin-bottom: 12px;
  color: #081733;
  font-size: 1.1rem;
  line-height: 1.25;
}

.authority-grid p {
  margin: 0;
  color: #52647a;
  font-size: 0.95rem;
  line-height: 1.65;
}

.compliance-note {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  padding: 16px 18px;
  border-left: 3px solid rgba(21, 95, 255, 0.5);
  background: rgba(21, 95, 255, 0.05);
  color: #38506a;
  font-size: 0.93rem;
  line-height: 1.6;
}

.client-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  color: var(--navy-900);
}

.client-section.section,
.client-section {
  padding-top: 0;
}

.client-section {
  padding-bottom: clamp(70px, 9vw, 120px);
}

.client-copy h2 {
  color: var(--navy-900);
}

.client-copy p {
  margin: 24px 0 28px;
  max-width: 560px;
  color: #4a5c72;
  font-size: 1.02rem;
  line-height: 1.7;
}

.privacy-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(21, 95, 255, 0.16);
  border-radius: var(--radius);
  color: var(--navy-900);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 244, 255, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(0, 200, 255, 0.22), transparent 220px);
  box-shadow: 0 22px 60px rgba(7, 24, 53, 0.1);
}

.privacy-panel::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -72px;
  width: 190px;
  aspect-ratio: 1;
  border: 1px solid rgba(21, 95, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(21, 95, 255, 0.1), rgba(0, 200, 255, 0.06));
  opacity: 0.8;
  pointer-events: none;
}

.privacy-panel-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.privacy-symbol {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 7px;
  border-radius: 50%;
  background: var(--coin-bg);
  box-shadow: 0 8px 20px rgba(7, 24, 53, 0.18), var(--coin-ring);
}

.privacy-panel strong {
  display: block;
  margin-bottom: 5px;
  color: #081733;
  font-size: 1.02rem;
  font-weight: 800;
}

.privacy-panel span {
  color: #4a5c72;
  font-size: 0.94rem;
  line-height: 1.45;
}

.privacy-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.privacy-steps span {
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(21, 95, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.66);
  color: #143052;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.client-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(21, 95, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 70px rgba(7, 24, 53, 0.13);
}

.client-form label {
  display: grid;
  gap: 8px;
}

.trap-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.client-form .full {
  grid-column: 1 / -1;
}

.client-form span {
  color: #0b1a32;
  font-size: 0.82rem;
  font-weight: 800;
}

.client-form input,
.client-form select,
.client-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 37, 72, 0.16);
  border-radius: 6px;
  background: #fbfdff;
  color: #0b1a32;
  outline: 0;
  min-height: 46px;
  padding: 12px 13px;
  font-size: 0.94rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.client-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.client-form input:focus,
.client-form select:focus,
.client-form textarea:focus {
  border-color: rgba(21, 95, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(21, 95, 255, 0.12);
  background: var(--white);
}

.client-form button {
  width: 100%;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: #38506a;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #075c3d;
}

.form-status.is-error {
  color: #b42318;
}

.site-footer {
  padding: 44px max(24px, calc((100vw - 1180px) / 2)) 30px;
  color: rgba(242, 247, 255, 0.86);
  background: linear-gradient(135deg, #020914, #061a34);
  border-top: 1px solid rgba(132, 190, 255, 0.16);
}

.footer-cta {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid rgba(132, 190, 255, 0.14);
}

.footer-cta h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}

.footer-cta p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1rem;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-main {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 26px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-icon {
  width: 48px;
  height: 48px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 6px;
  color: var(--white);
}

.site-footer span {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-note {
  display: block;
  margin-top: 8px;
  color: rgba(242, 247, 255, 0.66);
  font-size: 0.78rem;
  line-height: 1.5;
}

.site-footer .brand-wordmark strong {
  margin-bottom: 0;
  font-size: 1.42rem;
}

.site-footer .brand-wordmark small {
  color: rgba(242, 247, 255, 0.72);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: rgba(242, 247, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--cyan-300), var(--blue-500));
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.6);
}

.signal-grid strong {
  font-size: 1.4rem;
}

.trust-strip {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  margin-top: -10px;
}

.trust-strip ul {
  width: min(1180px, 100%);
  margin: 0 auto;
  list-style: none;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(5, 24, 55, 0.92), rgba(4, 13, 31, 0.86));
  box-shadow: var(--shadow);
}

.trust-strip li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--cyan-400);
}

.trust-strip strong {
  color: var(--white);
  font-size: 0.98rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.founder-note {
  width: min(1180px, 100%);
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(21, 95, 255, 0.16);
  border-left: 3px solid var(--blue-500);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 244, 255, 0.74));
  box-shadow: 0 18px 46px rgba(6, 24, 52, 0.08);
}

.founder-note img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  padding: 12px;
  border-radius: 50%;
  background: var(--coin-bg);
  box-shadow: 0 8px 20px rgba(7, 24, 53, 0.16), var(--coin-ring);
}

.founder-note blockquote {
  margin: 0;
}

.founder-note blockquote p {
  margin: 0 0 12px;
  color: #1c2c44;
  font-size: 1.12rem;
  line-height: 1.6;
  font-style: italic;
}

.founder-note figcaption {
  color: var(--blue-600);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.faq {
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
  color: var(--navy-900);
}

.faq .section-heading span {
  color: var(--blue-600);
}

.faq .section-heading h2 {
  color: var(--navy-900);
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(21, 95, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(6, 24, 52, 0.05);
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 22px;
  position: relative;
  color: #081733;
  font-family: Montserrat, Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--blue-600);
  background: rgba(21, 95, 255, 0.1);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 200ms ease;
}

.faq-list details[open] summary::after {
  content: "\2212";
  transform: translateY(-50%) rotate(180deg);
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: -2px;
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: #4a5c72;
  font-size: 0.98rem;
  line-height: 1.7;
}

.form-intro {
  grid-column: 1 / -1;
  margin: 0;
  color: #081733;
  font-family: Montserrat, Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px 22px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, #1faa52, #25d366);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.34);
}

.wa-qr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(21, 95, 255, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(6, 24, 52, 0.08);
}

.wa-qr img {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.wa-qr span {
  max-width: 190px;
  color: #4a5c72;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.footer-info address {
  font-style: normal;
  margin: 8px 0;
}

.footer-whatsapp {
  display: inline-block;
  margin-top: 6px;
  color: var(--cyan-300);
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(83, 229, 255, 0.4);
}

.footer-whatsapp:hover {
  color: var(--white);
}

.footer-copy {
  display: block;
  margin-top: 10px;
  color: rgba(242, 247, 255, 0.5);
  font-size: 0.76rem;
}

.whatsapp-fab {
  position: fixed;
  z-index: 30;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #1faa52, #25d366);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.45);
}

.whatsapp-fab:focus-visible {
  outline: 3px solid var(--cyan-300);
  outline-offset: 3px;
}

/* === Proyectos reales === */
.project-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 16px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(8, 41, 82, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #ffffff, #f7fbfc 60%, #eef6fb);
  box-shadow: 0 18px 46px rgba(6, 24, 52, 0.08);
  color: var(--navy-900);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-card[data-accent="teal"] {
  --accent: #14b8a6;
}
.project-card[data-accent="indigo"] {
  --accent: #6366f1;
}
.project-card[data-accent="cyan"] {
  --accent: #06b6d4;
}
.project-card[data-accent="blue"] {
  --accent: #3b82f6;
}
.project-card[data-accent="green"] {
  --accent: #10b981;
}
.project-card[data-accent="amber"] {
  --accent: #f59e0b;
}
.project-card[data-accent="emerald"] {
  --accent: #22c55e;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, var(--blue-500)), transparent 82%);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent, var(--blue-500)) 45%, transparent);
  box-shadow: 0 28px 62px rgba(6, 24, 52, 0.16), 0 0 0 1px color-mix(in srgb, var(--accent, var(--blue-500)) 28%, transparent);
}

.project-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-family: Montserrat, Inter, "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--accent, var(--blue-600));
  background: color-mix(in srgb, var(--accent, var(--blue-500)) 12%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent, var(--blue-500)) 28%, transparent);
}

.project-tag {
  margin-top: 4px;
  color: var(--accent, var(--blue-600));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  color: #081733;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}

.project-card p {
  margin: 0;
  flex: 1;
  color: #52647a;
  font-size: 0.94rem;
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--accent, var(--blue-600));
  font-weight: 800;
  font-size: 0.9rem;
}

.project-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.project-card:hover .project-link svg {
  transform: translate(3px, -3px);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #7388a0;
  font-size: 0.82rem;
  font-weight: 700;
}

.project-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--blue-500));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--blue-500)) 18%, transparent);
}

/* === Scroll reveal === */
html.reveal-ready .section-heading,
html.reveal-ready .hero-copy > *,
html.reveal-ready .signal-panel,
html.reveal-ready .trust-strip li,
html.reveal-ready .service-card,
html.reveal-ready .showcase-card,
html.reveal-ready .project-card,
html.reveal-ready .process-rail li,
html.reveal-ready .authority-grid article,
html.reveal-ready .founder-note,
html.reveal-ready .compliance-note,
html.reveal-ready .faq-list details,
html.reveal-ready .privacy-panel,
html.reveal-ready .contact-whatsapp,
html.reveal-ready .client-form {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.reveal-ready .is-visible {
  /* !important para ganar a selectores de ocultado más específicos
     (.process-rail li, .authority-grid article, .faq-list details, .trust-strip li). */
  opacity: 1 !important;
  transform: none !important;
}

html.reveal-ready .service-grid > :nth-child(2),
html.reveal-ready .authority-grid > :nth-child(2),
html.reveal-ready .trust-strip li:nth-child(2),
html.reveal-ready .process-rail > :nth-child(2),
html.reveal-ready .hero-copy > :nth-child(2) {
  transition-delay: 0.08s;
}

html.reveal-ready .service-grid > :nth-child(3),
html.reveal-ready .authority-grid > :nth-child(3),
html.reveal-ready .trust-strip li:nth-child(3),
html.reveal-ready .process-rail > :nth-child(3),
html.reveal-ready .hero-copy > :nth-child(3) {
  transition-delay: 0.16s;
}

html.reveal-ready .service-grid > :nth-child(4),
html.reveal-ready .authority-grid > :nth-child(4),
html.reveal-ready .trust-strip li:nth-child(4),
html.reveal-ready .process-rail > :nth-child(4),
html.reveal-ready .hero-copy > :nth-child(4) {
  transition-delay: 0.24s;
}

html.reveal-ready .hero-copy > :nth-child(5) {
  transition-delay: 0.32s;
}

html.reveal-ready .hero-copy > :nth-child(6) {
  transition-delay: 0.4s;
}

/* === Hover en tarjetas === */
.service-card,
.authority-grid article {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover,
.authority-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 95, 255, 0.42);
  box-shadow: 0 28px 60px rgba(6, 24, 52, 0.18), 0 0 0 1px rgba(0, 200, 255, 0.12);
}

.icon-frame {
  transition: transform 0.28s ease, background 0.28s ease;
}

.service-card:hover .icon-frame {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, rgba(21, 95, 255, 0.16), rgba(0, 200, 255, 0.16));
}

.showcase-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 74px rgba(7, 24, 53, 0.3);
}

.showcase-card img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.showcase-card:hover img {
  transform: scale(1.06);
}

.trust-strip li {
  transition: transform 0.25s ease, border-left-color 0.25s ease;
}

.trust-strip li:hover {
  transform: translateX(3px);
  border-left-color: var(--cyan-300);
}

.faq-list details {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-list details:hover {
  border-color: rgba(21, 95, 255, 0.32);
  box-shadow: 0 16px 40px rgba(6, 24, 52, 0.1);
}

.faq-list details[open] {
  border-color: rgba(21, 95, 255, 0.4);
}

/* === Botones con glow === */
.button.primary:hover,
.nav-action:hover {
  box-shadow: 0 16px 38px rgba(21, 95, 255, 0.42), 0 0 0 1px rgba(0, 200, 255, 0.3);
}

.button.ghost:hover {
  border-color: var(--cyan-400);
  background: rgba(0, 200, 255, 0.08);
}

/* === Acento de gradiente en los eyebrows === */
.section-heading > span,
.client-copy > span {
  display: inline-flex;
  align-items: center;
}

.section-heading > span::before,
.client-copy > span::before {
  content: "";
  width: 26px;
  height: 2px;
  margin-right: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
}

/* === Nav: sección activa === */
.main-nav a.is-active {
  color: var(--white);
  border-color: var(--cyan-400);
}

/* === Glow animado del hero === */
.hero-media::before {
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  0% {
    transform: rotate(-2deg) translate3d(0, 0, 0);
    opacity: 0.5;
  }
  100% {
    transform: rotate(-1.2deg) translate3d(-1.5%, -1.5%, 0);
    opacity: 0.72;
  }
}

@keyframes scanline {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0.42;
  }
  50% {
    transform: translateX(18%);
    opacity: 1;
  }
}

/* === Flow (inspirado en MedExp): aurora, gradientes, barrido === */
.hero-media {
  background:
    radial-gradient(58% 68% at 76% 22%, rgba(21, 95, 255, 0.3), transparent 70%),
    radial-gradient(52% 62% at 28% 82%, rgba(0, 150, 255, 0.16), transparent 72%),
    radial-gradient(46% 56% at 90% 88%, rgba(8, 168, 132, 0.12), transparent 72%),
    linear-gradient(180deg, #020916 0%, #061326 55%, #07101f 100%);
  background-color: #061326;
  animation: none;
}

@keyframes heroAurora {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
  }
  100% {
    background-position: 26% 18%, 72% 28%, 42% 72%, 0 0;
  }
}

/* Texto con gradiente animado en el titular */
.hero-grad {
  background: linear-gradient(100deg, var(--cyan-300), var(--blue-500) 45%, var(--cyan-300));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShimmer 7s linear infinite;
}

@keyframes gradShimmer {
  to {
    background-position: 220% center;
  }
}

/* Palabra rotativa animada del titular */
.rotator {
  display: inline-grid;
  min-width: 12ch;
  vertical-align: bottom;
  white-space: nowrap;
}

.rotator-word {
  grid-area: 1 / 1;
  background: linear-gradient(100deg, var(--cyan-300), var(--blue-500) 45%, var(--cyan-300));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.rotator-word.is-out {
  opacity: 0;
  transform: translateY(-0.3em);
}

/* Banda de números animados */
.stats-strip .stat-num {
  font-family: Montserrat, Inter, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
}

.stats-strip li {
  gap: 6px;
}

.stats-strip li span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Encabezados de sección centrados y consistentes */
.section-heading {
  text-align: center;
}

.section-heading.wide {
  display: block;
}

.section-heading h2,
.section-heading p {
  margin-left: auto;
  margin-right: auto;
}

.section-heading > span {
  justify-content: center;
}

/* Hero: emblema con órbitas giratorias y glow */
.hero-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(122px, 13vw, 168px);
  height: clamp(122px, 13vw, 168px);
  margin-bottom: 22px;
}

.hero-emblem .hero-mark {
  position: relative;
  z-index: 2;
  width: 68%;
  height: 68%;
  margin: 0;
}

.hero-emblem::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.32), transparent 70%);
  filter: blur(6px);
  z-index: 0;
  animation: emblemPulse 4s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  border: 1px dashed rgba(83, 229, 255, 0.35);
  animation: orbitSpin 18s linear infinite;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 12px var(--cyan-300);
  transform: translateX(-50%);
}

.hero-orbit-2 {
  inset: 15%;
  border-color: rgba(21, 95, 255, 0.32);
  animation-duration: 11s;
  animation-direction: reverse;
}

.hero-orbit-2::before {
  background: var(--blue-500);
  box-shadow: 0 0 10px var(--blue-500);
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes emblemPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

/* Acento de gradiente bajo los títulos centrados */
.section-heading h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
}

/* Proceso: números más protagonistas */
.process-rail b {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--cyan-400), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tarjetas de proyecto: brillo que cruza + acento al hover */
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 42%, rgba(255, 255, 255, 0.45) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.project-card:hover::after {
  transform: translateX(130%);
}

.project-card:hover::before {
  height: 4px;
  box-shadow: 0 0 16px var(--accent, var(--blue-500));
}

/* Servicios: íconos con glow que respira */
.icon-frame {
  animation: iconGlow 3.6s ease-in-out infinite;
}

.service-card:nth-child(2) .icon-frame {
  animation-delay: 0.6s;
}

.service-card:nth-child(3) .icon-frame {
  animation-delay: 1.2s;
}

.service-card:nth-child(4) .icon-frame {
  animation-delay: 1.8s;
}

@keyframes iconGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 150, 255, 0);
  }
  50% {
    box-shadow: 0 0 16px 0 rgba(0, 150, 255, 0.28);
  }
}

.service-card:hover .icon-frame {
  animation: none;
}

/* Banda de tecnologías */
.tech-strip {
  background: linear-gradient(135deg, #061326, #0a1f3b);
}

.tech-list {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-list li {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.05);
  color: var(--ice);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.tech-list li:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-400);
  background: rgba(0, 200, 255, 0.12);
}

/* Chips de industrias (con ícono) */
.industry-list {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.industry-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.05);
  color: var(--ice);
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.industry-list li:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-400);
  background: rgba(0, 200, 255, 0.12);
}

.ind-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(21, 95, 255, 0.2), rgba(0, 200, 255, 0.2));
  color: var(--cyan-300);
}

.ind-ico svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tarjetas con tinte de gradiente (no planas) */
.service-card,
.authority-grid article {
  background: linear-gradient(150deg, #ffffff, #f7fbfc 55%, #eef6fb);
}

/* CTA con barrido de luz */
.button.primary,
.nav-action {
  position: relative;
  overflow: hidden;
}

.button.primary::after,
.nav-action::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%);
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.4) 50%, transparent 68%);
  pointer-events: none;
}

.button.primary:hover::after,
.nav-action:hover::after {
  animation: ctaSweep 0.85s ease;
}

@keyframes ctaSweep {
  to {
    transform: translateX(130%);
  }
}

/* Header reacciona al scroll */
.site-header {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(135deg, rgba(4, 16, 38, 0.96), rgba(2, 8, 18, 0.9));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

@media (max-width: 980px) {
  :root {
    --header-height: 132px;
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    margin: 0;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand action"
      "nav nav";
    gap: 10px 12px;
    padding: 10px 16px 12px;
    overflow: hidden;
  }

  .brand {
    grid-area: brand;
    flex: 0 1 auto;
    min-width: auto;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .brand-wordmark strong {
    font-size: 1.24rem;
  }

  .brand-wordmark small {
    font-size: 0.62rem;
  }

  .hero-mark {
    width: clamp(78px, 7.5vw, 110px);
    height: clamp(78px, 7.5vw, 110px);
  }

  .main-nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .main-nav a {
    padding: 10px 8px;
    border: 1px solid rgba(132, 190, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    text-align: center;
  }

  .nav-action {
    grid-area: action;
    flex: 0 0 auto;
    width: auto;
    min-width: 132px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 84svh;
    padding: calc(var(--header-height) + 48px) 18px 40px;
  }

  .hero-content,
  .section-heading.wide,
  .client-section {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .hero-copy,
  .hero-copy p,
  .hero-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 6vw, 2.8rem);
    line-height: 1.06;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy p {
    font-size: 0.98rem;
  }

  .signal-panel {
    width: min(100%, 560px);
  }

  .section-heading.wide span,
  .section-heading.wide h2,
  .section-heading.wide p {
    grid-column: auto;
  }

  .service-grid,
  .authority-grid,
  .process-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-layout {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .showcase-card.large {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .process-rail {
    gap: 12px;
  }

  .process-rail li {
    padding: 24px;
    border: 1px solid rgba(111, 166, 236, 0.16);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(10, 22, 45, 0.9), rgba(6, 15, 31, 0.94));
  }

  .process .section-heading {
    text-align: center;
  }

  .process .section-heading h2,
  .process .section-heading p {
    margin-left: auto;
    margin-right: auto;
  }

  .process .section-heading h2::after {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .hero {
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 24px;
  }

  .hero-mark {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(2.2rem, 4.15vw, 3.55rem);
  }

  .hero-copy p {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .signal-panel {
    min-height: 176px;
    padding: 22px;
  }

  .services-preview {
    padding-top: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 248px;
  }

  .site-header {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand brand"
      "services work"
      "process faq"
      "contact action";
    padding: 10px 14px 12px;
    gap: 8px 10px;
    overflow: hidden;
  }

  .brand {
    width: 100%;
    min-width: 0;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-wordmark strong {
    font-size: 1.18rem;
  }

  .brand-wordmark small {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .hero-mark {
    width: 74px;
    height: 74px;
  }

  .main-nav {
    display: contents;
  }

  .main-nav a:nth-child(1) {
    grid-area: services;
  }

  .main-nav a:nth-child(2) {
    grid-area: work;
  }

  .main-nav a:nth-child(3) {
    grid-area: process;
  }

  .main-nav a:nth-child(4) {
    grid-area: faq;
  }

  .main-nav a:nth-child(5) {
    grid-area: contact;
  }

  .main-nav a {
    font-size: 0.74rem;
  }

  .nav-action {
    display: inline-flex;
    grid-area: action;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    padding-inline: 14px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 84svh;
    padding-top: calc(var(--header-height) + 26px);
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 26px;
  }

  .hero-content,
  .hero-copy,
  .hero-copy p,
  .hero-actions,
  .section-heading,
  .section-heading p,
  .client-copy,
  .client-copy p {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(2, 8, 20, 0.85), rgba(2, 8, 20, 0.46) 42%, #07101f 100%),
      linear-gradient(90deg, rgba(2, 8, 20, 0.55), rgba(2, 8, 20, 0.2));
  }

  h1 {
    font-size: clamp(1.84rem, 6.9vw, 2.1rem);
    line-height: 1.06;
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .rotator {
    display: inline-grid;
    min-width: 0;
    margin: 0;
    vertical-align: baseline;
  }

  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-media::after {
    right: -330px;
    width: 560px;
    opacity: 0.12;
  }

  .button {
    width: 100%;
  }

  .signal-panel {
    display: none;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading h2,
  .client-copy h2 {
    font-size: clamp(1.65rem, 8.5vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .service-grid,
  .authority-grid,
  .process-rail,
  .client-form {
    grid-template-columns: 1fr;
  }

  .privacy-panel {
    padding: 20px;
  }

  .privacy-panel-top,
  .privacy-steps {
    grid-template-columns: 1fr;
  }

  .privacy-panel-top {
    gap: 12px;
  }

  .showcase-card,
  .showcase-card.large {
    min-height: 0;
  }

  .showcase-card {
    aspect-ratio: 1 / 1;
  }

  .showcase-card.large {
    aspect-ratio: 16 / 11;
  }

  .showcase-card div {
    padding: 22px;
  }

  .client-form .full {
    grid-column: auto;
  }

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

@media (max-width: 980px) {
  .trust-strip ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-note {
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 22px;
  }

  .founder-note img {
    width: 64px;
    height: 64px;
  }

  .founder-note blockquote p {
    font-size: 1.02rem;
  }
}

@media (max-width: 640px) {
  .hero-points {
    gap: 8px 18px;
  }

  .trust-strip {
    padding: 0 18px;
  }

  .trust-strip ul {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .founder-note {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .founder-note img {
    margin-bottom: 4px;
  }

  .contact-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .faq-list summary {
    font-size: 0.98rem;
    padding-right: 48px;
  }

  .whatsapp-fab {
    width: 52px;
    height: 52px;
  }

  .whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  #nodeCanvas {
    display: none;
  }
}
