:root {
  --primary: #2979ff;
  --primary-bright: #5b9bff;
  --primary-deep: #0a2e6b;
  --accent: #00e5ff;
  --accent-deep: #00a8c0;

  --bg: #060912;
  --bg-alt: #0a0f1e;
  --bg-elevated: #0e1526;
  --bg-card: #101a30;
  --border: rgba(79, 143, 255, 0.18);
  --border-bright: rgba(79, 143, 255, 0.4);

  --text: #eef4ff;
  --text-muted: #93a8c9;
  --text-dim: #6b7fa1;
  --white: #ffffff;
  --green: #16a34a;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.55);

  --glow-sm: 0 0 0 1px var(--border-bright), 0 0 20px rgba(41, 121, 255, 0.15);
  --glow-md: 0 0 0 1px rgba(79, 143, 255, 0.5), 0 0 32px rgba(41, 121, 255, 0.32), 0 0 64px rgba(0, 229, 255, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 92px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(79, 143, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 143, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 85% -5%, rgba(0, 229, 255, 0.12), transparent 60%),
              radial-gradient(50% 45% at 5% 105%, rgba(41, 121, 255, 0.14), transparent 60%);
}

header, main, footer, .whatsapp {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  color: var(--text);
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  z-index: 2000;
  transition: top 200ms var(--ease-out);
}

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

/* Header */
header {
  background: rgba(6, 9, 18, 0.78);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-brand img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(41, 121, 255, 0.5));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--accent);
}

.menu {
  display: flex;
  gap: 6px;
  list-style: none;
}

.menu a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.menu a:hover {
  color: var(--text);
  background: var(--bg-elevated);
}

.menu a.active {
  color: var(--accent);
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent);
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(80% 120% at 12% -10%, rgba(41, 121, 255, 0.35) 0%, transparent 55%),
    radial-gradient(70% 90% at 95% 10%, rgba(0, 229, 255, 0.22) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  padding: 96px 0 108px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(79, 143, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 143, 255, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(85% 90% at 25% 15%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 7px 14px;
  border-radius: 8px;
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.15);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  flex: none;
}

.hero h1 {
  font-weight: 600;
  font-size: 44px;
  line-height: 1.13;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 18ch;
  color: var(--white);
}

.hero p {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 30px;
}

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

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 660px;
  margin-top: 27px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.hero-trust > div {
  padding: 0 16px;
  border-left: 1px solid var(--border);
}

.hero-trust > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 13.5px;
}

.hero-trust span {
  color: var(--text-dim);
  font-size: 11.5px;
}

.hero-solutions-map {
  position: relative;
  isolation: isolate;
  padding: 30px;
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(15, 27, 51, .92), rgba(6, 14, 29, .96));
  box-shadow: var(--glow-md), var(--shadow-md);
}

.hero-map-glow {
  position: absolute;
  z-index: -1;
  inset: 18% 25%;
  border-radius: 50%;
  background: rgba(0, 229, 255, .12);
  filter: blur(48px);
  animation: hero-map-breathe 5s ease-in-out infinite;
}

.hero-map-node {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: center;
  min-width: 0;
  padding: 19px;
  border: 1px solid rgba(79, 143, 255, .34);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(17, 36, 68, .95), rgba(10, 22, 43, .96));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.hero-map-software {
  width: 76%;
  margin: 0 auto;
}

.hero-map-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 229, 255, .32);
  border-radius: 12px;
  background: rgba(0, 229, 255, .07);
  color: var(--accent);
}

.hero-map-icon svg {
  width: 26px;
  height: 26px;
}

.hero-map-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero-map-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: hero-status-pulse 2.4s ease-in-out infinite;
}

.hero-map-node strong,
.hero-map-node small {
  display: block;
}

.hero-map-node strong {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 15px;
}

.hero-map-node small {
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.hero-map-connector {
  position: relative;
  width: 62%;
  height: 56px;
  margin: 0 auto;
  border-right: 1px solid rgba(0, 229, 255, .38);
  border-bottom: 1px solid rgba(0, 229, 255, .38);
  border-left: 1px solid rgba(0, 229, 255, .38);
  border-radius: 0 0 10px 10px;
}

.hero-map-connector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  border-left: 1px solid rgba(0, 229, 255, .38);
}

.hero-map-connector span {
  position: absolute;
  top: -3px;
  left: calc(50% - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: hero-data-flow 3s ease-in-out infinite;
}

.hero-map-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@keyframes hero-map-breathe {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes hero-status-pulse {
  0%, 100% { opacity: .5; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes hero-data-flow {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(52px); opacity: 0; }
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-bright);
  padding: 0;
  border-radius: 14px;
  box-shadow: var(--glow-md);
  font-family: var(--font-mono);
  overflow: hidden;
}

.hero-card .term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.hero-card .term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-dim);
}

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

.hero-card .term-label {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--text-dim);
}

.hero-card-body {
  padding: 22px 24px 26px;
}

.hero-card .card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--white);
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.hero-card li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(79, 143, 255, 0.4), 0 8px 24px rgba(41, 121, 255, 0.45);
}

.btn-primary:hover {
  background: var(--primary-bright);
  box-shadow: 0 0 0 1px rgba(91, 155, 255, 0.6), 0 10px 30px rgba(41, 121, 255, 0.6), 0 0 40px rgba(0, 229, 255, 0.2);
}

.btn-outline {
  border: 1.5px solid var(--border-bright);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  background: rgba(79, 143, 255, 0.1);
  border-color: var(--accent);
  color: var(--white);
}

.btn-outline-dark {
  border: 1.5px solid var(--border-bright);
  color: var(--text);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
}

.btn-solid-primary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-bright);
}

.btn-solid-primary:hover {
  background: var(--bg-card);
  border-color: var(--accent);
}

/* Sections */
section {
  padding: 92px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 46px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.section-title h2 {
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--white);
}

.section-title p {
  color: var(--text-muted);
  max-width: 660px;
  margin: auto;
  font-size: 15.5px;
}

.dark-section {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Card grid (index) */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: block;
  background: linear-gradient(155deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--glow-sm), var(--shadow-md);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(41, 121, 255, 0.1);
  border: 1px solid var(--border);
  font-size: 24px;
  margin-bottom: 18px;
}

.card h3 {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  font-size: 19px;
}

.card > p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 14.5px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 500;
  font-size: 13px;
}

.card:hover .card-cta {
  text-decoration: underline;
}

.equipment-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.equipment-card-image {
  display: block;
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  filter: saturate(.9) contrast(1.04);
  transition: transform .55s ease, filter .55s ease;
}

.equipment-card:hover .equipment-card-image {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.06);
}

.equipment-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 27px;
}

.equipment-card-body p {
  flex: 1;
  margin-bottom: 17px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.payment-options {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 25px 28px;
  border: 1px solid rgba(0, 229, 255, .3);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11, 30, 55, .96), rgba(7, 17, 34, .98));
  box-shadow: var(--glow-sm);
}

.payment-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  background: rgba(0, 229, 255, .08);
  color: var(--accent);
}

.payment-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.payment-copy h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 20px;
}

.payment-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.payment-cta {
  white-space: nowrap;
}

/* Visual software cards */
.software-card {
  padding: 0;
  overflow: hidden;
}

.software-card-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--border);
  filter: saturate(0.9) contrast(1.04);
  transition: transform 500ms var(--ease-out), filter 300ms var(--ease-out);
}

.software-card:hover .software-card-image {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.05);
}

.software-card-body {
  position: relative;
  padding: 25px 27px 27px;
}

.software-card-body > p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 14.5px;
}

.software-card .icon {
  position: absolute;
  right: 22px;
  top: -27px;
  margin: 0;
  background: rgba(6, 9, 18, 0.92);
  border-color: rgba(0, 229, 255, 0.38);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.software-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.software-card-featured .software-card-image {
  height: 100%;
  min-height: 310px;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.software-card-featured .software-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}

.software-card-featured .icon {
  position: static;
  margin-bottom: 18px;
}

@media (max-width: 700px) {
  .software-card-featured {
    grid-template-columns: 1fr;
  }

  .software-card-featured .software-card-image {
    height: 230px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .software-card-featured .software-card-body {
    padding: 25px 27px 27px;
  }

  .software-card-featured .icon {
    position: absolute;
    margin: 0;
  }
}

/* Tech tags (mono pills) */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.28);
  padding: 5px 11px;
  border-radius: 6px;
}

/* Feature grid replacement (was border-left "feature" boxes) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 12px 13px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.feature-item .glyph {
  flex: none;
  color: var(--accent);
}

/* Why / list grid (index dark section) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-item {
  background: linear-gradient(155deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 14px;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
  display: block;
}

.why-item:hover {
  border-color: var(--border-bright);
  box-shadow: var(--glow-sm);
  transform: translateY(-3px);
}

.why-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 8px;
  color: var(--white);
}

.why-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Contact */
.contact-box {
  background: linear-gradient(155deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  padding: 32px 36px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.contact-info h3 {
  font-weight: 600;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 15px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 14.5px;
}

.contact-info strong {
  color: var(--text);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-actions .btn {
  justify-content: center;
}

/* Footer */
footer {
  background: #030509;
  color: var(--text-dim);
  padding: 26px 0;
  text-align: center;
  font-size: 13.5px;
  border-top: 1px solid var(--border);
}

.footer-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-dim);
}

.footer-meta a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}

.footer-meta a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-meta .footer-sep {
  color: var(--border);
}

.whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 24px rgba(22, 163, 74, 0.25);
  z-index: 999;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 32px rgba(22, 163, 74, 0.35);
}

.whatsapp:active {
  transform: scale(0.96);
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

  .menu {
    display: none;
  }

  .hero h1 {
    font-size: 34px;
    max-width: none;
  }

  section {
    padding: 68px 0;
  }
}

@media (max-width: 600px) {
  .grid,
  .why-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ===== Subpages: quick-menu, service blocks, stack strip, cta ===== */

.quick-menu {
  background: rgba(6, 9, 18, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 76px;
  z-index: 900;
}

.quick-menu .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.quick-menu a {
  font-family: var(--font-mono);
  background: var(--bg-elevated);
  color: var(--accent);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid var(--border);
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out), border-color 180ms var(--ease-out);
}

.quick-menu a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(41, 121, 255, 0.4);
}

.subpage-hero {
  background:
    radial-gradient(70% 120% at 85% -10%, rgba(0, 229, 255, 0.22) 0%, transparent 55%),
    radial-gradient(70% 100% at 10% 100%, rgba(41, 121, 255, 0.28) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  padding: 76px 0 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.subpage-hero .hero-grid-pattern {
  mask-image: radial-gradient(70% 100% at 70% 0%, #000 0%, transparent 75%);
}

.subpage-hero h1 {
  position: relative;
  font-weight: 600;
  font-size: 38px;
  margin-bottom: 16px;
  color: var(--white);
}

.subpage-hero p {
  position: relative;
  max-width: 800px;
  margin: auto;
  font-size: 17px;
  color: var(--text-muted);
}

.breadcrumb {
  position: relative;
  font-size: 13.5px;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.service {
  background: linear-gradient(155deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  align-items: center;
  scroll-margin-top: 150px;
  transition: box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}

.service:hover {
  border-color: var(--border-bright);
  box-shadow: var(--glow-sm), var(--shadow-md);
}

.service.flip {
  grid-template-columns: 1.25fr 0.75fr;
}

.service.flip .graphic {
  order: 2;
}

.graphic {
  position: relative;
  background: radial-gradient(120% 140% at 30% 20%, rgba(41, 121, 255, 0.14), transparent 60%), var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-box {
  text-align: center;
}

.graphic-icon {
  font-size: 56px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 18px rgba(41, 121, 255, 0.45));
}

.graphic-title {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
}

.service-visual {
  min-height: 300px;
  padding: 0;
  overflow: hidden;
  align-self: stretch;
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(2, 6, 15, 0.88) 100%);
  pointer-events: none;
}

.service-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 600ms var(--ease-out), filter 300ms var(--ease-out);
}

.service:hover .service-visual img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.06);
}

.service-visual-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 6px 10px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 6px;
  background: rgba(6, 9, 18, 0.78);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12.5px;
  backdrop-filter: blur(8px);
}

.service-content h2 {
  font-weight: 600;
  font-size: 27px;
  margin-bottom: 12px;
  color: var(--white);
}

/* Promoción de la aplicación móvil de facturación */
.facturapp-promo {
  margin: 34px 0 46px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(15, 30, 57, .97), rgba(6, 15, 30, .99));
  box-shadow: var(--glow-sm), var(--shadow-md);
}

.facturapp-promo-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) 1.22fr;
  min-height: 620px;
}

.facturapp-poster {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background: #e9f0fa;
}

.facturapp-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset -28px 0 45px rgba(4, 12, 26, .14);
  pointer-events: none;
}

.facturapp-poster img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center top;
}

.facturapp-content {
  align-self: center;
  padding: clamp(32px, 5vw, 58px);
}

.facturapp-content h2 {
  max-width: 660px;
  margin: 16px 0 14px;
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 43px);
  line-height: 1.08;
}

.facturapp-content > p {
  max-width: 680px;
  color: var(--text-muted);
  line-height: 1.7;
}

.facturapp-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0;
}

.facturapp-benefits > div {
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(10, 25, 49, .72);
}

.facturapp-benefits strong,
.facturapp-benefits span {
  display: block;
}

.facturapp-benefits strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 13.5px;
}

.facturapp-benefits span {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.facturapp-cta {
  margin-top: 2px;
}

.facturapp-content .facturapp-note {
  margin: 13px 0 0;
  color: var(--text-dim);
  font-size: 11.5px;
}

.facturapp-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid var(--border);
  background: rgba(2, 8, 18, .56);
}

.facturapp-videos article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #030812;
}

.facturapp-videos article > span {
  display: block;
  padding: 10px 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.facturapp-videos video {
  display: block;
  width: 100%;
  max-height: 540px;
  background: #000;
}

@media (max-width: 900px) {
  .facturapp-promo-grid {
    grid-template-columns: 1fr;
  }

  .facturapp-poster {
    max-height: 720px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .facturapp-poster img {
    min-height: 0;
    height: auto;
  }
}

@media (max-width: 600px) {
  .facturapp-content {
    padding: 28px 22px;
  }

  .facturapp-benefits,
  .facturapp-videos {
    grid-template-columns: 1fr;
  }

  .facturapp-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.service-content > p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

.ideal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  margin: 16px 0;
}

.ideal-box strong {
  color: var(--accent);
}

.stack-strip {
  background: linear-gradient(135deg, var(--primary-deep), var(--bg-alt));
  border: 1px solid var(--border-bright);
  color: var(--white);
  padding: 30px 0;
  margin: 12px 0 34px;
  border-radius: 18px;
}

.stack-strip .container {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.stack-strip .stack-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  white-space: nowrap;
}

.cta {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  color: var(--white);
  text-align: center;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.cta h2 {
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 14px;
  color: var(--white);
}

.cta p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 28px;
}

.cta .btn + .btn {
  margin-left: 10px;
}

@media (max-width: 900px) {
  .service,
  .service.flip {
    grid-template-columns: 1fr;
  }

  .service.flip .graphic {
    order: 0;
  }

  .quick-menu {
    position: static;
  }
}

@media (max-width: 600px) {
  .cta .btn {
    display: block;
    width: 100%;
    justify-content: center;
    margin: 8px 0 0;
  }

  .cta .btn + .btn {
    margin-left: 0;
  }
}

/* ===== Lead capture modal (WhatsApp) ===== */
.lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 9, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2000;
}

.lead-overlay[hidden] {
  display: none;
}

.lead-dialog {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glow-md), var(--shadow-lg);
}

@media (prefers-reduced-motion: no-preference) {
  .lead-dialog {
    animation: leadDialogIn 320ms var(--ease-out);
  }
}

@keyframes leadDialogIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lead-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--primary-deep), #030814);
  border-bottom: 1px solid var(--border);
  color: var(--white);
  padding: 22px 52px 22px 22px;
}

.lead-avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 0 20px rgba(41, 121, 255, 0.5);
}

.lead-header-text .eyebrow-small {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 2px;
}

.lead-header-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: var(--white);
}

.lead-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.lead-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.lead-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 160ms var(--ease-out);
}

.lead-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lead-close:active {
  transform: scale(0.92);
}

.lead-body {
  padding: 24px 22px 22px;
}

.lead-greeting {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 8px;
  color: var(--white);
}

.lead-body > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.lead-field {
  margin-bottom: 16px;
}

.lead-field label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 6px;
}

.lead-field input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-elevated);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.lead-field input::placeholder {
  color: var(--text-dim);
}

.lead-field input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.lead-phone-row {
  display: flex;
  gap: 8px;
}

.lead-phone-prefix {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
}

.lead-phone-row input {
  flex: 1;
}

.lead-turnstile {
  margin: 4px 0 18px;
  min-height: 65px;
}

.lead-error {
  display: none;
  background: rgba(159, 28, 28, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  margin-bottom: 14px;
}

.lead-error.is-visible {
  display: block;
}

.lead-submit {
  width: 100%;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  padding: 14px 22px;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}

.lead-submit:hover:not(:disabled) {
  background: #128a3e;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.45);
}

.lead-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .lead-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  .lead-dialog {
    max-width: none;
  }
}

/* ===== Inline contact form (Contáctanos section) ===== */
.contact-box {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.contact-actions {
  flex-direction: row;
  flex-wrap: wrap;
}

.contact-actions .btn {
  flex: 1 1 auto;
}

.contact-form-card {
  background: linear-gradient(155deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 36px;
  margin-top: 22px;
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 22px;
  margin-bottom: 6px;
}

.contact-form-card > p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-field select,
.lead-field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-elevated);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.lead-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2393a8c9'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.293l3.71-4.06a.75.75 0 111.11 1.012l-4.25 4.65a.75.75 0 01-1.11 0l-4.25-4.65a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.lead-field select option {
  background: var(--bg-elevated);
  color: var(--text);
}

.lead-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.lead-field select:focus-visible,
.lead-field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.form-success {
  display: none;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #86efac;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  margin-bottom: 14px;
}

.form-success.is-visible {
  display: block;
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }
}

/* ===== New homepage sections: soluciones, pillars, seguridad, stack, experiencia, liderazgo ===== */

.hero-tech-line {
  margin-top: -6px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  max-width: 52ch;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.solution-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 20px 12px;
  background: linear-gradient(155deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.solution-tile:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  box-shadow: var(--glow-sm);
}

.solution-tile .tile-icon {
  font-size: 26px;
}

.solution-tile span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.pillar-card {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
}

.pillar-card:nth-child(n + 4) {
  grid-column: span 3;
}

.pillar-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--border);
  filter: saturate(0.88) contrast(1.05);
  transition: transform 500ms var(--ease-out), filter 300ms var(--ease-out);
}

.pillar-card:hover .pillar-image {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.06);
}

.pillar-card-body {
  padding: 22px 24px 24px;
}

.pillar-card-body p {
  margin-bottom: 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.security-card {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  display: grid;
  grid-template-columns: minmax(190px, 42%) 1fr;
  min-height: 190px;
}

.security-card-image {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-right: 1px solid var(--border);
  filter: saturate(.88) contrast(1.05);
  transition: transform .55s ease, filter .55s ease;
}

.security-card:hover .security-card-image {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.07);
}

.security-card-body {
  padding: 24px;
  align-self: center;
}

.security-card-body p {
  margin-bottom: 0;
}

.security-detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  min-height: 410px;
  align-self: stretch;
}

.security-detail-gallery figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.security-detail-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
  transition: transform .55s ease, filter .55s ease;
}

.security-detail-gallery figure:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.07);
}

.security-detail-gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 9px;
  padding: 4px 8px;
  border: 1px solid rgba(0, 229, 255, .28);
  border-radius: 5px;
  background: rgba(6, 9, 18, .82);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  backdrop-filter: blur(7px);
}

.cyber-credentials {
  display: grid;
  grid-template-columns: minmax(260px, 32%) 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(15, 27, 51, .96), rgba(8, 16, 32, .98));
  box-shadow: var(--shadow-sm);
}

.cyber-profile {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.cyber-profile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(3, 8, 18, .94) 100%);
}

.cyber-profile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.cyber-profile-caption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.cyber-profile-caption span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cyber-profile-caption strong {
  display: block;
  margin: 5px 0 2px;
  color: var(--white);
  font-size: 23px;
}

.cyber-profile-caption p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.cyber-credentials-content {
  padding: 36px 38px;
}

.cyber-credentials-content h3 {
  max-width: 720px;
  margin: 15px 0 10px;
  color: var(--white);
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.18;
}

.credentials-intro {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.credential-bio {
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
  padding-left: 17px;
  border-left: 2px solid rgba(0, 229, 255, .42);
}

.credential-bio p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.credential-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.credential-group {
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 22, 43, .72);
}

.credential-group-wide {
  grid-column: 1 / -1;
}

.credential-group h4 {
  margin-bottom: 9px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.credential-group ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-group li,
.credential-group p {
  position: relative;
  margin: 0;
  padding-left: 17px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.55;
}

.credential-group li::before,
.credential-group p::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.credential-specialties {
  margin-top: 22px;
}

.credential-specialties h4 {
  margin-bottom: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.linkedin-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.linkedin-profile-link:hover {
  color: var(--accent);
}

.cred-line {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 999px;
  padding: 10px 20px;
  display: inline-flex;
  margin: 0 auto;
}

.cred-line-wrap {
  text-align: center;
}

.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.stack-cloud .tech-tag {
  font-size: 13.5px;
  padding: 8px 16px;
}

.tech-carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.tech-carousel-viewport {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.tech-carousel-track {
  display: flex;
  transition: transform 900ms cubic-bezier(.22, .75, .2, 1);
  will-change: transform;
}

.tech-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 510px;
  overflow: hidden;
}

.tech-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 8, 18, .95) 0%, rgba(3, 8, 18, .79) 42%, rgba(3, 8, 18, .18) 78%), linear-gradient(0deg, rgba(3, 8, 18, .72), transparent 45%);
}

.tech-slide img {
  display: block;
  width: 100%;
  height: 510px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}

.tech-slide-overlay {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 6vw, 74px);
  top: 50%;
  width: min(570px, 72%);
  transform: translateY(-50%);
}

.tech-slide-index {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.tech-slide h3 {
  margin-bottom: 13px;
  color: var(--white);
  font-size: clamp(27px, 3.5vw, 42px);
  line-height: 1.08;
}

.tech-slide p {
  max-width: 530px;
  margin-bottom: 23px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.65;
}

.tech-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tech-slide-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(0, 229, 255, .38);
  border-radius: 7px;
  background: rgba(3, 14, 28, .76);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  backdrop-filter: blur(7px);
}

.tech-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.tech-carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.tech-carousel-arrow:hover,
.tech-carousel-arrow:focus-visible {
  border-color: var(--accent);
  background: rgba(0, 229, 255, .1);
  color: var(--accent);
}

.tech-carousel-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tech-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--text-dim);
  cursor: pointer;
  transition: width 250ms ease, background 250ms ease;
}

.tech-carousel-dots button.is-active {
  width: 30px;
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .tech-carousel-track {
    transition: none;
  }

  .hero-map-glow,
  .hero-map-status i,
  .hero-map-connector span {
    animation: none;
  }
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.experience-card {
  background: linear-gradient(155deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}

.experience-card .icon {
  margin-bottom: 16px;
}

.experience-card h3 {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  font-size: 17px;
}

.experience-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.leader-box {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(155deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.leader-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-avatar {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 20px;
  background: radial-gradient(120% 140% at 30% 20%, var(--primary-bright), var(--primary-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  color: var(--white);
  box-shadow: var(--glow-md);
  border: 1px solid var(--border-bright);
}

.leader-content .leader-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.leader-content h3 {
  font-weight: 600;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 6px;
}

.leader-content .leader-title {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.leader-content p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.leader-content .leader-skills-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 18px 0 10px;
}

/* Infraestructura: fotografías compartidas entre inicio y página de detalle */
.infrastructure-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.infra-card {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.infra-card:nth-child(n + 4) {
  grid-column: span 3;
}

.infra-card-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  filter: saturate(.88) contrast(1.04);
  transition: transform .55s ease, filter .55s ease;
}

.infra-card:hover .infra-card-image {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.06);
}

.infra-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.infra-card-body p {
  flex: 1;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillars-grid,
  .infrastructure-grid,
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-card,
  .pillar-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .infra-card,
  .infra-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .security-card {
    grid-template-columns: 1fr;
  }

  .security-card-image {
    height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .cyber-credentials {
    grid-template-columns: 1fr;
  }

  .cyber-profile {
    min-height: 440px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .cyber-profile img {
    min-height: 440px;
    max-height: 560px;
  }

  .payment-options {
    grid-template-columns: auto 1fr;
  }

  .payment-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }

  .leader-box {
    grid-template-columns: 1fr;
    padding: 28px;
    text-align: center;
  }

  .leader-photo {
    margin-bottom: 8px;
  }
}

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

  .pillars-grid,
  .infrastructure-grid,
  .security-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .security-detail-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .cyber-credentials-content {
    padding: 26px 22px;
  }

  .credential-groups {
    grid-template-columns: 1fr;
  }

  .credential-group-wide {
    grid-column: auto;
  }

  .tech-slide,
  .tech-slide img {
    min-height: 520px;
    height: 520px;
  }

  .tech-slide::after {
    background: linear-gradient(0deg, rgba(3, 8, 18, .97) 2%, rgba(3, 8, 18, .8) 58%, rgba(3, 8, 18, .2) 100%);
  }

  .tech-slide-overlay {
    top: auto;
    right: 24px;
    bottom: 30px;
    left: 24px;
    width: auto;
    transform: none;
  }

  .payment-options {
    grid-template-columns: 1fr;
    padding: 23px 21px;
    text-align: center;
  }

  .payment-icon {
    margin: 0 auto;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero-trust > div,
  .hero-trust > div:first-child {
    padding: 0 0 0 14px;
    border-left: 1px solid var(--border);
  }

  .hero-solutions-map {
    padding: 20px;
  }

  .hero-map-software {
    width: 100%;
  }

  .hero-map-connector {
    width: 50%;
    height: 36px;
  }

  .hero-map-lower {
    grid-template-columns: 1fr;
  }
}
