*, *::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);
}

  body {
    font-family: 'Syne', sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.7;
  }

  /* ── 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;
  background: transparent;
}

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;
  text-decoration: none;
}

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);
}

  /* ── HERO ── */
  .hero {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 52px 24px;
    text-align: center;
  }
  .hero-badge {
    display: inline-block;
    background: #D7D9DD;
    color: black;
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-weight: 500;
  }
  .hero h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
  }
  .hero p {
    font-size: 15px;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
  }
  .hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .meta-item {
    font-size: 12px;
    font-family: 'DM Mono', monospace;
    color: var(--muted);
    display: flex; align-items: center; gap: 6px;
  }
  .meta-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  /* ── CONTENIDO ── */
  .content {
    max-width: 760px;
    margin: 0 auto;
    padding: 52px 24px 80px;
  }

  /* Índice */
  .toc {
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 48px;
  }
  .toc-title {
    font-size: 12px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 12px;
  }
  .toc ol {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .toc a {
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
  }
  .toc a:hover { color: var(--accent); }

  /* Secciones */
  .section {
    margin-bottom: 44px;
    scroll-margin-top: 24px;
  }
  .section-number {
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    color: var(--accent);
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 6px;
  }
  .section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
  }
  .section p {
    font-size: 14.5px;
    color: #333;
    margin-bottom: 12px;
  }
  .section p:last-child { margin-bottom: 0; }

  /* Lista estilizada */
  .styled-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
  }
  .styled-list li {
    font-size: 14.5px;
    color: #333;
    padding-left: 20px;
    position: relative;
  }
  .styled-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }

  /* Card destacada */
  .highlight-card {
    background: rgba(39,224,176,.06);
    border: 1px solid rgba(39,224,176,.25);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 16px 0;
    font-size: 14px;
    color: #1a1a1a;
  }
  .highlight-card strong { font-weight: 700; }

  /* Divider */
  .divider {
    height: 1px;
    background: var(--border);
    margin: 44px 0;
  }

  /* Contacto card */
  .contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 16px;
  }
  .contact-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 14px;
  }
  .contact-row:last-child { margin-bottom: 0; }
  .contact-label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    min-width: 100px;
    padding-top: 2px;
    letter-spacing: 0.5px;
  }
  .contact-value { color: var(--text); font-weight: 600; }

  /* Footer */
  footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 28px 24px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
  }
  footer a { color: var(--accent); text-decoration: none; }

  @media (max-width: 600px) {
    .hero h1 { font-size: 24px; }
    .hero-meta { gap: 14px; }
    .content { padding: 36px 16px 60px; }
  }
