/* ── Reset & Tokens ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand blues extracted from ISANTO logo */
  --accent:      #8A4D63;
  --accent-bright: #00A0C8;
  --accent-deep: #005080;
  --accent-soft: rgba(0, 120, 180, 0.08);
  --accent-mid:  rgba(0, 120, 180, 0.15);
  --accent-glow: rgba(0, 160, 200, 0.25);

  /* Surface */
  --bg:          #ffffff;
  --bg2:         #f8f9fb;
  --bg3:         #f1f4f8;
  --text:        #0d1117;
  --text-muted:  #6a737d;
  --text-soft:   #94a3b8;
  --border:      #e2e8f0;
  --border-soft: rgba(226, 232, 240, 0.6);

  /* Typography */
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Geometry */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 4px 12px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md:  0 8px 24px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 48px rgba(0,0,0,.1), 0 8px 16px rgba(0,0,0,.05);
  --shadow-accent: 0 8px 24px rgba(0, 120, 180, 0.22);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ── HEADER ────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 6%;
  transition: background .3s var(--ease-out), padding .3s var(--ease-out),
              box-shadow .3s var(--ease-out), backdrop-filter .3s;
}

header.sticky {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 14px 6%;
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0,0,0,.04);
}

.logo-header {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
  letter-spacing: -0.1px;
}

nav a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .25s var(--ease-out);
}

nav a:hover { color: var(--text); }
nav a:hover::after { width: 100%; }

.nav-cta {
  font-size: 13px; font-weight: 700;
  padding: 9px 20px; border-radius: var(--radius-sm);
  background: var(--accent); color: #ffffff;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,120,180,.25);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: #b16c86;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
  color: #ffffff;
}

.menu-icon {
  display: none;
  font-size: 26px;
  color: var(--text);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}

.menu-icon:hover { background: var(--bg2); }

/* ── MOBILE NAV ────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}

.mobile-nav.open { display: flex; }

.mobile-nav nav {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  transition: color .2s;
}

.mobile-nav a:hover { color: var(--accent); }

.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 32px; color: var(--text-muted);
  padding: 6px; border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}

.mobile-close:hover { background: var(--bg2); color: var(--text); }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  background: var(--accent); color: #ffffff;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: -0.1px;
  transition: background .2s, transform .15s var(--ease-out), box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,120,180,.25);
}

.btn-primary:hover {
  background: #b16c86;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: #ffffff;
}

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

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s, transform .15s var(--ease-out);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #f8f8f8;
  transform: translateY(-1px);
}

/* ── SECTION LABEL ─────────────────────────────────────── */
.section-label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 2.5px; color: var(--accent); margin-bottom: 14px;
  font-weight: 500;
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  background: url('../img/Home.jpg') center/cover no-repeat;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 6% 60px;
  gap: 40px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,.96) 45%,
    rgba(255,255,255,.75) 70%,
    rgba(255,255,255,.2) 100%
  );
  z-index: 0;
}

.hero-left {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 1.5px; color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0,120,180,.15);
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-line-2 {
  display: block;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px; letter-spacing: -0.2px;
}

.hero-desc {
  font-size: 14.5px;
  color: #5a6472;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 32px;
}

.hero-social { display: flex; gap: 10px; }

.social-link {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); font-size: 18px;
  color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s, transform .15s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ── HERO 3D SCENE ─────────────────────────────────────── */
.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.hero-3d-scene {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient glow */
.scene-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 160, 200, 0.14) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Orbital rings */
.scene-rings {
  position: absolute; inset: 0;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: rgba(0, 120, 180, 0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin-ring linear infinite;
}

.ring-1 {
  width: 340px; height: 340px;
  border-width: 1px;
  animation-duration: 18s;
  border-color: rgba(0, 120, 180, 0.14);
}

.ring-2 {
  width: 280px; height: 280px;
  border-width: 1px;
  animation-duration: 12s;
  animation-direction: reverse;
  border-color: rgba(0, 160, 200, 0.1);
}

.ring-3 {
  width: 380px; height: 380px;
  border-width: 1px;
  animation-duration: 25s;
  border-color: rgba(0, 80, 140, 0.08);
}

@keyframes spin-ring {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Logo 3D card */
.logo-3d-wrap {
  position: relative;
  z-index: 2;
  animation: float-card 5s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
  33%  { transform: translateY(-12px) rotateX(-1deg) rotateY(3deg); }
  66%  { transform: translateY(-6px) rotateX(3deg) rotateY(-1deg); }
}

.logo-3d-shadow {
  position: absolute;
  bottom: -24px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 20px;
  background: radial-gradient(ellipse, rgba(0,100,160,.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-shadow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-shadow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .6; }
  33%  { transform: translateX(-50%) scale(.85); opacity: .35; }
  66%  { transform: translateX(-50%) scale(.92); opacity: .45; }
}

.logo-3d-card {
  width: 220px;
  padding: 32px 28px 24px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow:
    0 2px 0 rgba(255,255,255,.9) inset,
    0 -1px 0 rgba(0,0,0,.04) inset,
    var(--shadow-lg),
    0 0 0 1px rgba(0,120,180,.08);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.logo-3d-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.logo-3d-img {
  width: 140px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,120,180,.2));
}

.logo-3d-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}

.logo-3d-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 500;
}

/* Shine overlay */
.logo-3d-shine {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.5) 0%,
    rgba(255,255,255,.1) 40%,
    transparent 60%
  );
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  animation: shine-move 6s ease-in-out infinite;
}

@keyframes shine-move {
  0%, 100% { opacity: .6; transform: translateX(0) translateY(0); }
  50% { opacity: .9; transform: translateX(-8px) translateY(-8px); }
}

/* Floating nodes */
.node {
  position: absolute;
  width: 52px; height: 52px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,120,180,.08);
  display: flex; align-items: center; justify-content: center;
  animation: float-node ease-in-out infinite;
}

.node-icon {
  width: 26px; height: 26px;
  object-fit: contain;
}

.node-1 {
  top: 5%; right: -15%;
  animation-duration: 4.5s;
  animation-delay: 0s;
}

.node-2 {
  bottom: 12%; right: -20%;
  animation-duration: 5.5s;
  animation-delay: -1.5s;
}

.node-3 {
  top: 40%; left: -18%;
  animation-duration: 5s;
  animation-delay: -3s;
}

@keyframes float-node {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ══════════════════════════════════════════════════════════
   MARQUEE STRIP (between hero and features)
   ══════════════════════════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 36px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee-item span { color: #1E6A78; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FEATURES ──────────────────────────────────────────── */
.features {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-item {
  padding: 52px 44px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: background .25s;
}

.feature-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 16%; height: 68%; width: 1px;
  background: var(--border);
}

.feature-item:hover { background: #f0f3f8; }

.feature-num {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--accent); letter-spacing: 2px; font-weight: 500;
}

.feature-icon { width: 38px; height: 38px; }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }

.feature-item h3 {
  font-size: 16px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.25;
  color: var(--text);
}

.feature-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

/* ── ABOUT ─────────────────────────────────────────────── */
.about {
  padding: 100px 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.about-visual { position: relative; }

.about-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f4ff 100%);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  position: relative;
}

.about-img-wrap img {
  width: 60%; object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,120,180,.15));
  position: relative; z-index: 1;
}

.about-img-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(0,160,200,.06) 0%, transparent 60%);
  pointer-events: none;
}

.about-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--accent); color: #ffffff;
  padding: 16px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-accent);
  display: flex; flex-direction: column; gap: 2px;
}

.badge-num {
  font-family: var(--mono); font-size: 26px;
  font-weight: 500; line-height: 1;
  color: #ffffff;
}

.badge-text {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 18px; color: var(--text);
}

.about-text > p {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 36px;
}

.about-stats { display: flex; gap: 36px; margin-bottom: 36px; }

.stat-item { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-size: 26px; font-weight: 800;
  color: var(--text); letter-spacing: -1px;
  line-height: 1;
}

.stat-num span { color: var(--accent); }

.stat-label {
  font-size: 11.5px; color: var(--text-soft);
  font-family: var(--mono); letter-spacing: .5px;
}

/* ── SERVICIOS ─────────────────────────────────────────── */
.services {
  padding: 100px 6%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 48px;
}

.services-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1;
  color: var(--text);
}

.services-header-right {
  font-size: 13.5px; color: var(--text-muted);
  max-width: 240px; text-align: right; line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .22s, transform .22s var(--ease-out), box-shadow .22s;
  cursor: pointer;
}

.service-card:hover {
  border-color: #8A4D63;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover .svc-arrow {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(4px);
}

.svc-num {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 1.5px; color: var(--text-soft); margin-bottom: 26px;
}

.svc-tag {
  position: absolute; top: 18px; right: 18px;
  background: rgba(0,120,180,.1); color: var(--accent-deep);
  font-size: 9.5px; font-family: var(--mono);
  padding: 4px 10px; border-radius: 99px; letter-spacing: .5px;
  font-weight: 500;
}

.service-icon {
  width: 50px; height: 50px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}

.service-icon img { width: 26px; height: 26px; object-fit: contain; }

.si-1 { background: #e4f4fc; }
.si-2 { background: #e4f0e4; }
.si-3 { background: #eeedfe; }
.si-4 { background: #fef2e4; }
.si-5 { background: #fce8f0; }

.service-card h3 {
  font-size: 17px; font-weight: 700; margin-bottom: 10px;
  letter-spacing: -0.4px; color: var(--text);
}

.service-card p {
  font-size: 13.5px; color: var(--text-muted);
  line-height: 1.7; flex: 1; margin-bottom: 28px;
}

.service-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; color: var(--text);
  font-family: var(--mono); letter-spacing: .5px;
  transition: color .2s;
}

.service-card:hover .service-link { color: var(--accent); }

.svc-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: transform .2s var(--ease-out), color .2s, border-color .2s, background .2s;
}

/* ── CARACTERÍSTICAS ───────────────────────────────────── */
.caracteristicas {
  padding: 100px 6%;
  border-top: 1px solid var(--border);
}

.carac-header { margin-bottom: 48px; }

.carac-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -1px; margin-top: 8px;
  color: var(--text);
}

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

.carac-card {
  padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: border-color .22s, transform .22s var(--ease-out), box-shadow .22s;
}

.carac-card:hover {
  border-color: rgba(0,120,180,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.carac-card.c1 { background: rgba(0,160,220,.05); }
.carac-card.c2 { background: rgba(0,80,160,.04); }
.carac-card.c3 { background: rgba(0,120,200,.03); }

.carac-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(0,120,180,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.carac-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.carac-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ── TESTIMONIOS ───────────────────────────────────────── */
.testimonios {
  padding: 100px 6%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.testi-header {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}

.testi-header .section-label {
  display: inline-block;
  width: 100%;
}

.testi-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 14px;
  color: var(--text);
}

.testi-desc {
  font-size: 14.5px; color: var(--text-muted);
  line-height: 1.75;
}

/* ── TESTIMONIOS · CARRUSEL ────────────────────────────── */
.testi-carousel {
  position: relative;
}

.testi-viewport {
  overflow: hidden;
}

.testi-track {
  display: flex;
  gap: 16px;
  transition: transform .5s var(--ease-out);
  will-change: transform;
}

.testi-track .testi-card {
  flex: 0 0 calc((100% - 2 * 16px) / 3);
  min-width: 0;
}

.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-xs);
  transition: border-color .22s, transform .22s var(--ease-out), box-shadow .22s;
}

.testi-card:hover {
  border-color: rgba(0,120,180,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-stars {
  font-size: 18px; letter-spacing: 4px; line-height: 1;
  color: #FFB400;
}

.testi-text {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.75; flex: 1;
}

.testi-author {
  font-size: 11.5px; font-weight: 600;
  color: var(--text-soft);
  font-family: var(--mono); letter-spacing: .5px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

/* ── CONTROLES DEL CARRUSEL ────────────────────────────── */
.testi-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; margin-top: 36px;
}

.testi-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--text-muted); flex-shrink: 0;
  transition: transform .2s var(--ease-out), color .2s, border-color .2s, background .2s;
}

.testi-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.testi-arrow:active { transform: scale(.92); }

.testi-dots {
  display: flex; align-items: center; gap: 8px;
}

.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease-out);
}

.testi-dot:hover { background: var(--accent-glow); }

.testi-dot.active {
  background: var(--accent);
  transform: scale(1.35);
}

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: #080d12;
  padding: 32px 6%;
  display: flex; align-items: center;
  justify-content: space-between;
  border-top: 1px solid #16202a;
  flex-wrap: wrap; gap: 16px;
}

.footer-logo-img {
  height: 28px; width: auto;
  opacity: .75;
  filter: brightness(0) invert(1);
}

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-links a {
  font-size: 12.5px; color: #485566;
  transition: color .2s;
}

.footer-links a:hover { color: #F8F8F8 }

.footer-copy {
  font-size: 11.5px; color: #3a4555;
  font-family: var(--mono);
}

/* ── ANIMACIONES ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; }

.fade-up.visible {
  animation: fadeUp .65s var(--ease-out) both;
}

/* Stagger delays for grid children */
.features-grid .feature-item.visible:nth-child(1) { animation-delay: 0s; }
.features-grid .feature-item.visible:nth-child(2) { animation-delay: .1s; }
.features-grid .feature-item.visible:nth-child(3) { animation-delay: .2s; }
.services-grid .service-card.visible:nth-child(1) { animation-delay: 0s; }
.services-grid .service-card.visible:nth-child(2) { animation-delay: .08s; }
.services-grid .service-card.visible:nth-child(3) { animation-delay: .16s; }
.services-grid .service-card.visible:nth-child(4) { animation-delay: .24s; }
.services-grid .service-card.visible:nth-child(5) { animation-delay: .32s; }
.carac-grid .carac-card.visible:nth-child(1) { animation-delay: 0s; }
.carac-grid .carac-card.visible:nth-child(2) { animation-delay: .1s; }
.carac-grid .carac-card.visible:nth-child(3) { animation-delay: .2s; }

/* ── RESPONSIVE TABLET ─────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { max-width: 100%; }
}

@media (max-width: 1024px) {
  nav { display: none; }
  .menu-icon { display: block; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 16px; bottom: -12px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .services-header-right { text-align: left; max-width: 100%; }
  .carac-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .testi-track .testi-card { flex: 0 0 calc((100% - 16px) / 2); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item:not(:last-child)::after { display: none; }
  .feature-item:not(:last-child) { border-bottom: 1px solid var(--border); }
}

/* ── RESPONSIVE MÓVIL ──────────────────────────────────── */
@media (max-width: 600px) {
  header { padding: 14px 4%; }

  .hero {
    padding: 90px 4% 60px;
    min-height: 100svh;
  }

  .hero h1 { font-size: 2.6rem; letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; }
  .hero-desc { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  .feature-item { padding: 32px 20px; }

  .about { padding: 64px 4%; }
  .about-img-wrap { aspect-ratio: 4/3; }
  .about-badge { right: 8px; bottom: -8px; padding: 12px 16px; }
  .badge-num { font-size: 20px; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .stat-num { font-size: 22px; }

  .services { padding: 64px 4%; }
  .service-card { padding: 26px; }

  .caracteristicas { padding: 64px 4%; }
  .carac-grid { grid-template-columns: 1fr; }

  .testimonios { padding: 64px 4%; }
  .testi-track .testi-card { flex: 0 0 100%; }
  .testi-card { padding: 28px; }
  .testi-header { margin-bottom: 36px; }
  .testi-controls { gap: 16px; margin-top: 28px; }

  footer { flex-direction: column; text-align: center; padding: 28px 4%; gap: 20px; }
  .footer-links { justify-content: center; gap: 14px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.1rem; }
  .service-card { padding: 20px; }
  .feature-item { padding: 24px 16px; }
}

/* ── PREFERS REDUCED MOTION ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; }
  .logo-3d-wrap { animation: none; }
  .logo-3d-shadow { animation: none; }
  .scene-glow { animation: none; }
  .logo-3d-shine { animation: none; }
  .node { animation: none; }
  .hero-badge-dot { animation: none; }
  .fade-up.visible { animation: none; opacity: 1; }
}