/* ================================================
   SINTETIX DATA — SCROLL-DRIVEN LANDING PAGE
   Theme: Dark Command Center
   Fonts: Syne (display) + Outfit (body)
   ================================================ */

/* --- CSS VARIABLES --- */
:root {
  --bg:        #08152a;
  --navy:      #0A1F3D;
  --cyan:      #00E5FF;
  --purple:    #7C3AED;
  --green:     #39FF9E;
  --gray:      #64748B;
  --white:     #F8FAFC;
  --white-60:  rgba(248, 250, 252, 0.6);
  --white-40:  rgba(248, 250, 252, 0.4);

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Outfit', sans-serif;

  --surface:        #0F1F38;
  --surface-alt:    #13243F;
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-strong:  rgba(255, 255, 255, 0.12);
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ================================================
   LOADER
   ================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.loader-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white-60);
}

.loader-brand span {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.loader-track {
  width: 240px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

#loader-bar {
  height: 100%;
  width: 0%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  transition: width 0.08s linear;
}

#loader-percent {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(248, 250, 252, 0.3);
}

/* ================================================
   SITE HEADER
   ================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 2rem 3vw;
  /* Subtle gradient at top for legibility */
  background: linear-gradient(to bottom, rgba(4, 12, 24, 0.85) 0%, transparent 100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  gap: 0.5rem;
}

.logo-icon {
  height: 47px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 0.65rem 1.6rem;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* ================================================
   HERO STANDALONE (FIXED)
   ================================================ */
.hero-standalone {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 0 4vw 0 5vw;
  background: var(--bg);
  overflow: hidden;
}

/* Grid texture hidden — clean dark bg per reference */
.hero-grid {
  display: none;
}

/* Purple radial glow on right side */
.hero-standalone::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 65vw;
  height: 75vh;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.12) 0%, transparent 65%);
  transform: translateY(-50%);
  pointer-events: none;
}

/* Cyan radial glow on lower left — disabled to eliminate tonal mismatch */
.hero-standalone::before {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
}

.hero-left {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.hero-right {
  position: absolute;
  right: -5vw;
  top: -5vh;
  width: 85vw;
  height: 110vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-viz-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  display: block;
  opacity: 0.92;
}

/* Left edge gradient: dissolve image into dark background to protect text */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(8,21,42,0.85) 12%, rgba(8,21,42,0.5) 25%, rgba(8,21,42,0.15) 38%, transparent 50%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(8,21,42,0.3) 8%, transparent 18%);
  z-index: 1;
  pointer-events: none;
}

/* Bottom + right edge gradients: soft fade to match dark bg */
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(8,21,42,0.5) 12%, transparent 28%),
    linear-gradient(to left, rgba(8,21,42,0.3) 0%, transparent 5%);
  z-index: 1;
  pointer-events: none;
}

.hero-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
  opacity: 0;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.6vw, 6.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(24px);
}

.hero-heading em {
  font-style: normal;
  color: var(--cyan);
}

.hero-heading br {
  display: block;
  content: '';
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--white-60);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(18px);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
}

/* PRIMARY BUTTON */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--cyan);
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 229, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* GHOST BUTTON */
.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-40);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--white);
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.scroll-indicator span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.25);
}

.scroll-arrow {
  font-size: 0.9rem;
  color: var(--cyan);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ================================================
   REVEAL ON SCROLL (IntersectionObserver)
   ================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="slide-left"]  { transform: translateX(-48px); }
[data-reveal="slide-right"] { transform: translateX(48px); }
[data-reveal="scale-up"]    { transform: scale(0.94); }
[data-reveal="fade-up"]     { transform: translateY(24px); }

.is-revealed[data-reveal] {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ================================================
   SCROLL SECTIONS (natural flow, reveal on enter)
   ================================================ */
.scroll-section {
  position: relative;
  width: 100%;
  min-height: 60vh;
  padding: 10rem 5vw;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.scroll-section:nth-of-type(even) {
  background: linear-gradient(180deg, var(--bg) 0%, #06101f 100%);
}

/* Two-column content sections (heading/text + demo space) */
.section-content {
  gap: 5vw;
}

.align-left .section-inner,
.align-right .section-inner {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.align-left {
  flex-direction: row;
  justify-content: flex-start;
}

.align-right {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

/* Demo slot (will hold the live UIs in commits 3-5) */
.section-demo {
  flex: 1 1 auto;
  min-height: 420px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Section label */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

/* Cyan accent word inside headings */
.text-accent {
  color: var(--cyan);
}

/* Section heading */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* Section body */
.section-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--white-60);
}

/* Services list */
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.svc-item {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.85);
  padding-left: 1.75rem;
  position: relative;
  transition: color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.svc-item::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-item:hover {
  color: var(--white);
  transform: translateX(4px);
}

.svc-item:hover::before {
  transform: translateX(3px);
}

/* ================================================
   STATS SECTION
   ================================================ */
.section-stats {
  padding: 7rem 8vw;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  min-height: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 2.2rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.88);
  max-width: 16ch;
  text-align: center;
  line-height: 1.5;
}

/* ================================================
   CLIENTES / TESTIMONIOS
   ================================================ */
.section-clientes {
  position: relative;
  width: 100%;
  padding: 8rem 5vw 7rem;
  border-top: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 229, 255, 0.04) 0%, transparent 70%),
    linear-gradient(180deg, #06101f 0%, var(--bg) 100%);
  overflow: hidden;
}

.clientes-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.clientes-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.clientes-head .section-label {
  display: inline-block;
}

.clientes-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 1rem 0 1.1rem;
}

.clientes-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white-60);
  max-width: 52ch;
  margin: 0 auto;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 2.5rem;
  padding-top: 50px; /* leave room for the logo plate that rises above the card */
}

/* Testimonial card — logo plate sits above, card below */
.cliente-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cliente-logo-wrap {
  position: absolute;
  left: 2rem;
  top: -50px;
  width: 180px;
  height: 100px;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow:
    0 16px 40px -12px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 229, 255, 0.22),
    0 0 28px rgba(0, 229, 255, 0.15);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.cliente-card:hover .cliente-logo-wrap {
  transform: translateY(-3px);
  box-shadow:
    0 22px 48px -12px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 229, 255, 0.4),
    0 0 40px rgba(0, 229, 255, 0.3);
}

.cliente-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.cliente-body {
  flex: 1;
  position: relative;
  padding: 4.2rem 2.2rem 1.8rem;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(15, 31, 56, 0.7) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
  overflow: hidden;
}

.cliente-card:hover .cliente-body {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.22);
  box-shadow: 0 24px 50px -20px rgba(0, 229, 255, 0.22);
}

/* Cyan gradient stripe at top of card for aesthetic */
.cliente-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 229, 255, 0.4) 30%,
    rgba(0, 229, 255, 0.4) 70%,
    transparent 100%);
}

/* Decorative double-quote mark */
.cliente-mark {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 34px;
  height: 34px;
  color: rgba(0, 229, 255, 0.2);
}

.cliente-quote {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.88);
  margin-bottom: 1.8rem;
}

.cliente-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
}

.cliente-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.cliente-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ================================================
   CTA + FORM SECTION
   ================================================ */
.section-cta {
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06) 0%, var(--bg) 60%);
  padding: 7rem 5vw;
  min-height: auto;
}

.cta-inner {
  max-width: 580px;
  width: 100%;
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-inner .section-label {
  margin-bottom: 1rem;
}

.cta-inner .section-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--white-60);
  margin-bottom: 2.25rem;
  max-width: 48ch;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(248, 250, 252, 0.28);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 229, 255, 0.6);
  background: rgba(0, 229, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.07);
}

.btn-submit {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--cyan);
  border: none;
  border-radius: 4px;
  padding: 1rem 1.6rem;
  margin-top: 0.6rem;
  cursor: pointer;
  width: 100%;
  letter-spacing: 0.02em;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 229, 255, 0.45);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Form success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(57, 255, 158, 0.15);
  border: 1.5px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--green);
}

.success-text {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
}

/* ================================================
   MOCKUP WINDOW (shared for all live demos)
   ================================================ */
.mockup-window {
  position: relative;
  width: 100%;
  max-width: 640px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.6),
    0 24px 60px -20px rgba(0, 229, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Subtle ambient glow around the whole window */
.mockup-window::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(0, 229, 255, 0.4) 0%,
    rgba(0, 229, 255, 0.05) 30%,
    transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.mockup-title {
  margin-left: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
  flex-shrink: 0;
}

.mockup-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: mockupPulse 1.6s ease-in-out infinite;
}

@keyframes mockupPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}

.mockup-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

/* ================================================
   KPI GRID (Demo 1 — Dashboard)
   ================================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.kpi-card {
  position: relative;
  padding: 1.05rem 1.15rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.5s ease, background 0.5s ease,
              box-shadow 0.5s ease, transform 0.5s ease;
  color: var(--white);
}

.kpi-card.is-highlight {
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.05);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.15),
    0 12px 32px -12px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.kpi-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: 0.55rem;
}

.kpi-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}

.kpi-prefix,
.kpi-suffix {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-60);
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.35s ease;
}

/* Flash effect when value updates */
.kpi-value.is-flash {
  color: var(--cyan);
}

.kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.kpi-delta svg {
  width: 9px;
  height: 9px;
}

.kpi-delta-up   { color: var(--green); }
.kpi-delta-down { color: #ff5f7a; }

.kpi-spark {
  display: block;
  width: 100%;
  height: 26px;
  margin-top: 0.2rem;
  color: var(--white-40);
  transition: color 0.5s ease;
}

.kpi-card.is-highlight .kpi-spark {
  color: var(--cyan);
}

.kpi-card.is-highlight .kpi-spark path {
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.8));
}

/* ================================================
   ETL PIPELINE (Demo 2)
   ================================================ */
.pipeline-stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 5 / 4;
  display: grid;
  grid-template-columns: 140px 1fr 80px 110px;
  align-items: center;
  padding: 1.5rem 1rem;
  background:
    radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

/* Dot grid texture background */
.pipeline-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 18px 18px;
  pointer-events: none;
}

.pipe-col {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
  height: 100%;
  justify-content: space-around;
}

.pipe-col-out {
  align-items: flex-end;
}

.pipe-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pipe-node-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-60);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: color 0.4s ease, border-color 0.4s ease,
              box-shadow 0.4s ease, transform 0.4s ease;
  position: relative;
}

.pipe-node-icon svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}

.pipe-node-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white-60);
  text-align: center;
  line-height: 1.3;
}

/* Pulse when data "arrives" at a source */
.pipe-source .pipe-node-icon {
  animation: pipePulse 3.2s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes pipePulse {
  0%, 40%, 100% {
    color: var(--white-60);
    border-color: var(--border-subtle);
    box-shadow: none;
    transform: scale(1);
  }
  10%, 20% {
    color: var(--cyan);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow:
      0 0 0 4px rgba(0, 229, 255, 0.08),
      0 0 24px rgba(0, 229, 255, 0.4);
    transform: scale(1.04);
  }
}

/* SVG connector lines */
.pipe-connectors {
  position: absolute;
  top: 1.5rem;
  left: 140px;
  width: calc(100% - 140px - 80px - 110px);
  height: calc(100% - 3rem);
  z-index: 1;
  pointer-events: none;
}

.pipe-out-connector {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.pipe-line {
  fill: none;
  stroke: url(#pipeGradient);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
  animation: pipeFlow 2s linear infinite;
  opacity: 0.6;
}

/* Use a simple stroke since we don't have a gradient def (plain cyan) */
.pipe-line {
  stroke: rgba(0, 229, 255, 0.35);
}

@keyframes pipeFlow {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -20; }
}

.pipe-line-1 { animation-delay: 0s; }
.pipe-line-2 { animation-delay: 0.3s; }
.pipe-line-3 { animation-delay: 0.6s; }
.pipe-line-4 { animation-delay: 0.9s; }
.pipe-line-out {
  stroke: rgba(0, 229, 255, 0.55);
  stroke-width: 1.8;
  animation-duration: 1.5s;
}

/* Center hub */
.pipe-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  z-index: 3;
  width: 100%;
}

.pipe-hub-ring {
  position: absolute;
  top: calc(50% - 0.65rem);
  left: 50%;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.35);
  transform: translate(-50%, -50%);
  animation: hubRing 3s ease-out infinite;
  pointer-events: none;
}

.pipe-hub-ring-2 {
  animation-delay: 1.5s;
}

@keyframes hubRing {
  0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

.pipe-hub-core {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #0a2a4d 0%, #061830 70%);
  border: 1.5px solid rgba(0, 229, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.1),
    0 0 32px rgba(0, 229, 255, 0.35),
    inset 0 0 20px rgba(0, 229, 255, 0.1);
  animation: hubCore 2.6s ease-in-out infinite;
}

@keyframes hubCore {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.1), 0 0 32px rgba(0, 229, 255, 0.35), inset 0 0 20px rgba(0, 229, 255, 0.1); }
  50%      { box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2), 0 0 48px rgba(0, 229, 255, 0.55), inset 0 0 28px rgba(0, 229, 255, 0.2); }
}

.pipe-hub-logo {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.5));
}

.pipe-hub-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

/* Output node — steady cyan */
.pipe-output .pipe-node-icon {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.06);
  box-shadow:
    0 0 0 3px rgba(0, 229, 255, 0.06),
    0 0 20px rgba(0, 229, 255, 0.25);
}

.pipe-output .pipe-node-label {
  color: var(--white);
}

/* ================================================
   LAPTOP MOCKUP (Demo 3 — Dashboard carousel)
   ================================================ */
.laptop-mockup {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55))
          drop-shadow(0 0 40px rgba(0, 229, 255, 0.12));
}

.laptop-screen {
  position: relative;
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1420 100%);
  border-radius: 14px 14px 4px 4px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

.laptop-bezel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 14px;
  margin-bottom: 8px;
}

.laptop-camera {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #05080f;
  box-shadow: inset 0 0 2px rgba(0, 229, 255, 0.25);
}

.laptop-display {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a1020;
  border-radius: 3px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.laptop-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.laptop-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 4.5s ease-out;
  pointer-events: none;
}

.laptop-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* Subtle screen overlay — blue sheen + top-left glare for "real" glass feel */
.laptop-display::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 22%,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(165deg, rgba(0, 229, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

.laptop-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
  padding: 5px 10px;
  background: rgba(8, 21, 42, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.laptop-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.4s ease, width 0.4s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.laptop-dot.is-active {
  background: var(--cyan);
  width: 16px;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

/* Laptop base */
.laptop-base {
  position: relative;
  width: 115%;
  margin-left: -7.5%;
  height: 14px;
  background: linear-gradient(180deg, #232838 0%, #12151e 100%);
  border-radius: 0 0 10px 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  height: 5px;
  background: #05080f;
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* ================================================
   PROBLEMA SECTION — extra decorative touches
   Layout inherits from .scroll-section.align-left
   ================================================ */
.section-problema {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 229, 255, 0.04) 0%, transparent 70%),
    var(--bg);
}

/* Decorative oversized "01" label */
.section-problema::before {
  content: '01';
  position: absolute;
  top: 4rem;
  right: 3vw;
  font-family: var(--font-display);
  font-size: clamp(10rem, 18vw, 20rem);
  font-weight: 800;
  line-height: 0.8;
  color: rgba(0, 229, 255, 0.025);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { font-size: 0.78rem; padding: 0.55rem 1rem; }
  .scroll-indicator { display: none; }

  /* Hero: animated gradient bg */
  .hero-standalone {
    height: auto;
    min-height: 100svh;
    background:
      radial-gradient(ellipse 90% 55% at 50% 110%, rgba(0, 212, 255, 0.18) 0%, transparent 70%),
      radial-gradient(ellipse 70% 70% at 85% 15%, rgba(124, 58, 237, 0.14) 0%, transparent 65%),
      radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0, 212, 255, 0.07) 0%, transparent 60%),
      #08152a;
    background-size: 200% 200%;
    animation: heroGradientDrift 14s ease-in-out infinite;
  }

  @keyframes heroGradientDrift {
    0%, 100% { background-position: 30% 30%; }
    33%      { background-position: 70% 60%; }
    66%      { background-position: 40% 80%; }
  }

  /* Floating particles container */
  .hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
  }

  .hero-trading-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .trading-arrow-line {
    animation: tradingDraw 14s ease-in-out infinite;
    animation-delay: var(--ta-delay);
  }

  .trading-arrow-head {
    animation: tradingHeadDraw 14s ease-in-out infinite;
    animation-delay: var(--ta-delay);
  }

  @keyframes tradingDraw {
    0%        { stroke-dashoffset: var(--ta-dashlen); opacity: 0; }
    5%        { opacity: 0.6; }
    50%       { stroke-dashoffset: 0; opacity: 0.6; }
    70%       { stroke-dashoffset: 0; opacity: 0.6; }
    90%       { opacity: 0; }
    100%      { stroke-dashoffset: var(--ta-dashlen); opacity: 0; }
  }

  @keyframes tradingHeadDraw {
    0%, 40%   { stroke-dashoffset: var(--ta-head-dashlen); opacity: 0; }
    55%       { stroke-dashoffset: 0; opacity: 0.7; }
    70%       { stroke-dashoffset: 0; opacity: 0.7; }
    90%       { opacity: 0; }
    100%      { stroke-dashoffset: var(--ta-head-dashlen); opacity: 0; }
  }

  .hero-inner {
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
  }

  .hero-left {
    flex: 0 0 auto;
    width: 100%;
  }

  .hero-right { display: none; }

  .hero-heading {
    font-size: clamp(1.8rem, 8vw, 2.9rem);
  }

  /* Scroll sections: stack vertically on mobile */
  .scroll-section {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 5vw 4rem;
    gap: 2.5rem;
  }

  .align-left .section-inner,
  .align-right .section-inner {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .section-demo {
    min-height: 320px;
    width: 100%;
  }

  /* GSAP handles section child animations — no CSS transitions needed */

  /* SVG arrow bullets for service items */
  .svc-item { padding-left: 2rem; }
  .svc-item::before { display: none; }
  .svc-arrow {
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
  }
  .svc-arrow path {
    stroke: var(--cyan);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    transition: stroke-dashoffset 1.8s ease;
  }
  .mobile-visible .svc-arrow path {
    stroke-dashoffset: 0;
  }


  /* CTA button shimmer */
  .btn-primary {
    position: relative;
    overflow: hidden;
  }
  .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.18),
      transparent
    );
    animation: btnShimmer 3.5s ease-in-out infinite;
  }

  @keyframes btnShimmer {
    0%, 100% { left: -100%; }
    50%      { left: 150%; }
  }

  /* Glow pulse on CTA */
  .btn-primary {
    animation: ctaGlow 3s ease-in-out infinite;
  }
  @keyframes ctaGlow {
    0%, 100% { box-shadow: 0 0 12px rgba(0, 212, 255, 0.25), 0 0 30px rgba(0, 212, 255, 0.08); }
    50%      { box-shadow: 0 0 20px rgba(0, 212, 255, 0.45), 0 0 50px rgba(0, 212, 255, 0.15); }
  }

  /* Tilt-ready service items */
  .svc-item {
    will-change: transform;
    transition: transform 0.15s ease-out;
  }

  .align-left, .align-right {
    padding: 5rem 5vw 4rem;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .section-stats {
    padding: 5rem 6vw 4rem;
  }

  /* Clientes — stack vertically */
  .section-clientes {
    padding: 5rem 5vw;
  }
  .clientes-head {
    margin-bottom: 3.5rem;
  }
  .clientes-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 50px;
  }
  .cliente-logo-wrap {
    left: 1.2rem;
    width: 150px;
    height: 84px;
    padding: 12px 18px;
  }
  .cliente-body {
    padding: 3.8rem 1.5rem 1.5rem;
  }
  .cliente-quote {
    font-size: 0.95rem;
  }

  .section-cta {
    padding: 5rem 5vw 4rem;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .cta-inner { max-width: 90vw; padding: 0; }

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

  .section-heading {
    font-size: clamp(1.4rem, 4.8vw, 2rem);
  }

  /* Mockup window — scale down on mobile */
  .mockup-window { max-width: 100%; }
  .mockup-title { font-size: 0.66rem; }
  .kpi-value { font-size: 1.2rem; }
  .mockup-body { padding: 1rem; }

  /* Pipeline — shrink grid columns */
  .pipeline-stage {
    grid-template-columns: 90px 1fr 50px 80px;
    padding: 1rem 0.5rem;
  }
  .pipe-node-icon { width: 38px; height: 38px; border-radius: 9px; }
  .pipe-node-icon svg { width: 22px; height: 22px; }
  .pipe-node-label { font-size: 0.58rem; }
  .pipe-hub-core { width: 52px; height: 52px; }
  .pipe-hub-logo { width: 30px; }
  .pipe-hub-ring { width: 62px; height: 62px; }
  .pipe-hub-label { font-size: 0.52rem; }
  .pipe-connectors { left: 90px; width: calc(100% - 90px - 50px - 80px); }

  /* Laptop mockup — shrink + tighten bezels */
  .laptop-screen { padding: 14px 14px 16px; border-radius: 10px 10px 3px 3px; }
  .laptop-bezel { height: 10px; margin-bottom: 5px; }
  .laptop-camera { width: 4px; height: 4px; }

}

@media (max-width: 480px) {
  .hero-heading {
    font-size: clamp(1.8rem, 9.6vw, 2.6rem);
  }
  .stat-number {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

/* ================================================
   SOBRE NOSOTROS (STATIC SECTION — OUTSIDE GSAP)
   ================================================ */
.section-about {
  position: relative;
  z-index: 10;
  background: #060e1a;
  padding: 7rem 5vw 6rem;
  overflow: hidden;
}

/* Subtle top border glow */
.section-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.25), transparent);
}

/* Faint radial glow behind founders */
.section-about::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.about-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-inner .section-label {
  margin-bottom: 1.25rem;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 2rem;
}

.about-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(248, 250, 252, 0.65);
  max-width: 680px;
  margin-bottom: 3.5rem;
}

/* --- Founders Grid --- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.founder-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow:
    0 24px 60px -20px rgba(0, 229, 255, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.founder-card:focus-within {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.founder-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a1428;
}

/* Subtle color treatment */
.founder-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(0, 229, 255, 0.08) 0%, transparent 60%);
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}

/* Gradient fade at bottom of photo */
.founder-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(8, 21, 42, 1) 0%, rgba(8, 21, 42, 0.6) 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.4) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.6s ease;
}

.founder-card:hover .founder-photo {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.1);
}

/* Corner index badge */
.founder-index {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 3px;
  background: rgba(8, 21, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.founder-info {
  padding: 1.5rem 1.75rem 1.75rem;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.founder-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.founder-bio {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.55);
}

/* --- About CTA --- */
.about-cta {
  text-align: center;
  padding-top: 1rem;
}

.about-cta .btn-primary {
  font-size: 0.92rem;
  padding: 1rem 2.4rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .section-about {
    padding: 5rem 6vw 4rem;
  }

  .about-heading {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Square-ish aspect on mobile so faces stay centered
     and photos don't look over-stretched */
  .founder-photo-wrap {
    aspect-ratio: 1 / 1;
  }

  .founder-photo {
    object-position: center 25%;
  }

  .founder-info {
    padding: 1.25rem 1.25rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-body {
    font-size: 0.95rem;
  }

  .about-cta .btn-primary {
    font-size: 0.82rem;
    padding: 0.85rem 1.6rem;
  }
}

/* ================================================
   SEGURIDAD & CONFIDENCIALIDAD
   ================================================ */
.section-seguridad {
  position: relative;
  width: 100%;
  padding: 7rem 5vw 8rem;
  border-top: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(0, 229, 255, 0.04) 0%, transparent 70%),
    #06101f;
  overflow: hidden;
}

.seguridad-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.seguridad-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.seguridad-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 1rem 0 1rem;
}

.seguridad-sub {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--white-60);
}

.seguridad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
}

.seguridad-card {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.025) 0%, rgba(15, 31, 56, 0.6) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.seguridad-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.28);
  box-shadow: 0 20px 40px -16px rgba(0, 229, 255, 0.2);
}

.seguridad-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.seguridad-icon svg {
  width: 24px;
  height: 24px;
}

.seguridad-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.seguridad-body {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--white-60);
}

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

@media (max-width: 560px) {
  .section-seguridad {
    padding: 5rem 5vw 5rem;
  }
  .seguridad-head {
    margin-bottom: 2.5rem;
  }
  .seguridad-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   FORM CONSENT CHECKBOX
   ================================================ */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.35rem 0.1rem 0.5rem;
  cursor: pointer;
  user-select: none;
  text-align: left;
}

.form-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-consent-mark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.form-consent-mark::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-consent input:checked ~ .form-consent-mark {
  background: var(--cyan);
  border-color: var(--cyan);
}

.form-consent input:checked ~ .form-consent-mark::after {
  transform: rotate(45deg) scale(1);
}

.form-consent input:focus-visible ~ .form-consent-mark {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.form-consent-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--white-60);
}

.form-consent-text a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
  transition: border-color 0.2s ease;
}

.form-consent-text a:hover {
  border-bottom-color: var(--cyan);
}

/* ================================================
   SITE FOOTER
   ================================================ */
.site-footer {
  position: relative;
  width: 100%;
  background: #040b16;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 5vw 0;
  color: var(--white-60);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
  gap: 3rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.footer-logo .logo-icon {
  height: 36px;
}

.footer-logo .logo-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--white-60);
  max-width: 32ch;
}

.footer-rfc {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white-40);
  text-transform: uppercase;
  padding-top: 0.5rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--white-60);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

.footer-col a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--white-40);
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 4rem 5vw 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    font-size: 0.7rem;
    padding: 1.25rem 0 1.5rem;
  }
}

/* ================================================
   LEGAL PAGES (Aviso, Términos, Cookies)
   ================================================ */
.legal-body {
  background: var(--bg);
  min-height: 100vh;
}

.legal-header {
  position: relative;
  background: rgba(4, 12, 24, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-page {
  position: relative;
  padding: 8rem 5vw 6rem;
  min-height: 60vh;
}

.legal-inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white-60);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.legal-back:hover {
  color: var(--cyan);
  transform: translateX(-3px);
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0.75rem 0 0.75rem;
}

.legal-updated {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-page section {
  margin-bottom: 2.75rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.legal-page h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
  margin: 1.5rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(248, 250, 252, 0.82);
}

.legal-page p {
  margin-bottom: 1rem;
}

.legal-page ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-page ul li {
  position: relative;
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: -1.1rem;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.8;
}

.legal-page strong {
  color: var(--white);
  font-weight: 600;
}

.legal-page a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.3);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.legal-page a:hover {
  border-bottom-color: var(--cyan);
}

.legal-page a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.legal-inner .section-label {
  display: inline-block;
}

@media (max-width: 560px) {
  .legal-page {
    padding: 6rem 5vw 4rem;
  }
  .legal-page p,
  .legal-page li {
    font-size: 0.92rem;
  }
}
