/* =========================================================
   Oráculo Transparente — Website styles
   Brand palette: Ink #0A0E1A · Signal #3B82F6 · Mist #F4F6FA
   Type: Inter Tight (display) · Inter (body) · JetBrains Mono
   ========================================================= */

:root {
  --ink: #0A0E1A;
  --ink-2: #121829;
  --ink-3: #1b2238;
  --signal: #3B82F6;
  --signal-soft: rgba(59, 130, 246, 0.14);
  --mist: #F4F6FA;
  --hairline: #E2E6EE;
  --slate: #6B7280;
  --verify: #10B981;
  --alert: #F59E0B;
  --white: #ffffff;

  --text: #0A0E1A;
  --text-soft: #4b5263;
  --bg: #ffffff;

  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --space: clamp(64px, 9vw, 120px);

  --font-display: "Inter Tight", "Segoe UI", -apple-system, system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --shadow-sm: 0 1px 2px rgba(10, 14, 26, .04), 0 4px 16px rgba(10, 14, 26, .05);
  --shadow-md: 0 8px 30px rgba(10, 14, 26, .08);
  --shadow-lg: 0 24px 70px rgba(10, 14, 26, .14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  letter-spacing: -0.01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--signal); color: #fff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59, 130, 246, .45); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.section .btn-ghost { border-color: var(--hairline); color: var(--text); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 26, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
  transition: background .3s ease, border-color .3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand-mark { color: #fff; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 300; letter-spacing: -0.02em; }
.brand-name strong { font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.78); transition: color .2s; }
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta {
  padding: 9px 18px; border-radius: 999px; background: var(--signal); color: #fff;
  box-shadow: 0 6px 18px rgba(59,130,246,.4);
}
.site-nav .nav-cta:hover { transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; background: var(--ink-2);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a { padding: 16px 20px; color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.05); }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 90% at 80% -10%, #1b2546 0%, rgba(27,37,70,0) 55%),
    radial-gradient(90% 80% at 0% 0%, #141b32 0%, rgba(20,27,50,0) 50%),
    var(--ink);
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(80px, 11vw, 150px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 35%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 35%, transparent 80%);
}
.hero-glow {
  position: absolute; width: 620px; height: 620px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(59,130,246,.30), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #8aa6e0; margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(42px, 7vw, 76px); font-weight: 800; letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-title .accent {
  background: linear-gradient(100deg, #60a5fa, #3B82F6 60%, #93c5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(17px, 2.2vw, 20px); color: rgba(255,255,255,.74); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* floating brand orb */
.hero-orb {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 320px; height: 320px; pointer-events: none;
}
.orb-ring, .orb-ring--2 {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
}
.orb-ring--2 { inset: -34px; border-color: rgba(59,130,246,.25); animation: spin 26s linear infinite; }
.orb-core {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; border-radius: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle at 35% 30%, #93c5fd, var(--signal));
  box-shadow: 0 0 50px rgba(59,130,246,.7);
  animation: pulse 4s ease-in-out infinite;
}
.orb-line { position: absolute; top: 50%; width: 28px; height: 2px; background: rgba(255,255,255,.6); border-radius: 2px; }
.orb-line--l { left: -42px; }
.orb-line--r { right: -42px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 1; } 50% { transform: translate(-50%,-50%) scale(1.12); opacity: .85; } }

/* ---------- Stats ---------- */
.stats { background: var(--ink-2); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 38px 0; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.04em; }
.stat-suffix { font-family: var(--font-display); font-size: clamp(24px,4vw,34px); font-weight: 700; color: var(--signal); }
.stat-label { display: block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.6); letter-spacing: .01em; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { max-width: 640px; margin: 0 auto clamp(44px, 6vw, 64px); text-align: center; }
.section-kicker {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 14px;
}
.section-title { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--text-soft); }
.section--dark .section-sub { color: rgba(255,255,255,.66); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 42px); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(140% 80% at 100% 0%, var(--signal-soft), transparent 60%); opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfd9ee; }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--signal-soft); color: var(--signal); margin-bottom: 22px;
}
.service-card h3 { font-size: 25px; margin-bottom: 12px; }
.service-card > p { color: var(--text-soft); margin-bottom: 22px; }
.service-list { display: grid; gap: 12px; }
.service-list li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--text); }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--signal-soft);
  box-shadow: inset 0 0 0 2px var(--signal);
}
.service-list li::after {
  content: ""; position: absolute; left: 6px; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: var(--signal);
}

/* ---------- Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-index {
  font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--signal);
  display: inline-block; margin-bottom: 16px; padding: 4px 10px; border-radius: 8px; background: var(--signal-soft);
}
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--text-soft); }

/* ---------- Timeline / Process ---------- */
.timeline {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px;
  background: linear-gradient(to right, var(--hairline), var(--signal), var(--hairline));
}
.timeline-step { position: relative; }
.timeline-dot {
  position: relative; z-index: 1; display: block; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 2px solid var(--signal); margin-bottom: 22px;
}
.timeline-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--signal); }
.timeline-num { font-family: var(--font-mono); font-size: 13px; color: var(--slate); letter-spacing: .05em; }
.timeline-body h3 { font-size: 21px; margin: 6px 0 8px; }
.timeline-body p { font-size: 15px; color: var(--text-soft); }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-copy .section-title { text-align: left; }
.about-copy .section-kicker { text-align: left; }
.about-copy p { color: rgba(255,255,255,.72); margin-bottom: 18px; }
.about-copy strong { color: #fff; }
.about-points { display: grid; gap: 12px; margin-top: 26px; }
.about-points li { position: relative; padding-left: 30px; color: rgba(255,255,255,.85); }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--signal-soft); box-shadow: inset 0 0 0 2px var(--signal);
}
.about-points li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 6px; height: 3px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }

.about-card {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 46px); text-align: center; box-shadow: var(--shadow-lg);
}
.about-symbol { position: relative; width: 130px; height: 130px; margin: 0 auto 28px; }
.about-symbol .orb-ring { border-color: rgba(255,255,255,.7); }
.about-symbol .orb-core { width: 34px; height: 34px; }
.about-symbol .orb-line { width: 18px; }
.about-symbol .orb-line--l { left: -26px; }
.about-symbol .orb-line--r { right: -26px; }
.about-card blockquote { font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.about-card-sub { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.55); }

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px); box-shadow: var(--shadow-md);
}
.contact-copy .section-kicker, .contact-copy .section-title, .contact-copy .section-sub { text-align: left; }
.contact-copy .section-title { font-size: clamp(28px, 3.4vw, 38px); }
.contact-meta { display: grid; gap: 14px; margin-top: 28px; }
.contact-link { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; transition: color .2s; }
.contact-link svg { color: var(--signal); flex: none; }
.contact-link:hover { color: var(--signal); }

.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  border: 1px solid var(--hairline); border-radius: 11px; padding: 12px 14px; background: var(--mist);
  color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--signal); background: #fff; box-shadow: 0 0 0 4px var(--signal-soft);
}
.field textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--slate); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: 64px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-tag { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 22px 0 30px; font-size: 13.5px; color: rgba(255,255,255,.45);
}
.footer-fine { font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-orb { display: none; }
  .hero-inner { max-width: 100%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(to bottom, var(--signal), var(--hairline)); }
  .timeline-step { padding-left: 44px; padding-bottom: 30px; }
  .timeline-dot { position: absolute; left: 0; top: 2px; margin: 0; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
