/* ============================================================
   NEXCOL — Software factory landing
   Design tokens + components
   ============================================================ */

:root {
  /* ---- Color (cool tech blues) ---- */
  --bg:            oklch(0.985 0.004 250);   /* cool near-white */
  --bg-2:          oklch(0.965 0.006 250);   /* faint panel */
  --surface:       oklch(1 0 0);
  --ink:           oklch(0.24 0.035 255);    /* deep cool navy */
  --ink-2:         oklch(0.44 0.03 255);     /* secondary text */
  --ink-3:         oklch(0.60 0.02 255);     /* muted / captions */
  --line:          oklch(0.90 0.01 255);     /* hairlines */
  --line-2:        oklch(0.83 0.012 255);

  /* accents — same chroma & lightness, varied hue */
  --accent:        oklch(0.58 0.15 252);     /* tech blue */
  --accent-2:      oklch(0.58 0.15 212);     /* cyan-blue */
  --accent-soft:   oklch(0.93 0.04 252);
  --accent-ink:    oklch(0.40 0.13 255);

  /* dark sections */
  --dark:          oklch(0.21 0.035 258);
  --dark-2:        oklch(0.26 0.038 258);
  --dark-line:     oklch(0.34 0.03 258);
  --on-dark:       oklch(0.97 0.006 255);
  --on-dark-2:     oklch(0.74 0.02 255);

  /* type */
  --f-display: "Sora", system-ui, sans-serif;
  --f-body:    "Hanken Grotesk", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px oklch(0.24 0.035 255 / 0.06), 0 2px 6px oklch(0.24 0.035 255 / 0.05);
  --shadow-md: 0 4px 14px oklch(0.24 0.035 255 / 0.08), 0 12px 34px oklch(0.24 0.035 255 / 0.08);
  --shadow-lg: 0 10px 30px oklch(0.24 0.035 255 / 0.10), 0 30px 70px oklch(0.24 0.035 255 / 0.12);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  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; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: #fff; }

/* ---- layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 140px); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.on-dark .eyebrow { color: var(--accent-2); }
.on-dark .eyebrow::before { background: var(--accent-2); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
.h-xl  { font-size: clamp(40px, 6.4vw, 78px); font-weight: 600; }
.h-lg  { font-size: clamp(32px, 4.6vw, 54px); }
.h-md  { font-size: clamp(24px, 3vw, 34px); }
.lead  { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); line-height: 1.5; max-width: 56ch; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .2s ease; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px oklch(0.58 0.15 252 / 0.30); }
.btn-primary:hover { background: oklch(0.53 0.155 252); transform: translateY(-2px); box-shadow: 0 10px 26px oklch(0.58 0.15 252 / 0.38); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { border: 1.5px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.on-dark .btn-ghost { border-color: var(--dark-line); color: var(--on-dark); }
.on-dark .btn-ghost:hover { border-color: var(--on-dark); background: oklch(1 0 0 / 0.04); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ---- logo ---- */
.logo { height: 26px; width: auto; }
.logo .cls-1 { fill: var(--ink); transition: fill .2s ease; }
.logo .cls-2 { fill: var(--accent); }
.on-dark .logo .cls-1, .logo--light .cls-1 { fill: var(--on-dark); }
.on-dark .logo .cls-2, .logo--light .cls-2 { fill: var(--accent-2); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.985 0.004 250 / 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  position: relative; padding: 6px 0; transition: color .18s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--accent); transition: width .22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .25s; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: .25s; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.open span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 74px 0 auto 0; z-index: 99;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--pad) 28px;
  display: grid; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .26s ease, opacity .26s ease;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 6px; font-family: var(--f-display); font-weight: 600; font-size: 19px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 138px; padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%);
  opacity: .55;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .05em;
  color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px 7px 11px; box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px oklch(0.58 0.15 212 / 0.18); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 38px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta .item .n { font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--ink); }
.hero-meta .item .l { font-size: 13.5px; color: var(--ink-3); }

/* hero visual — abstract build / pipeline card */
.hero-visual { position: relative; }
.code-card {
  background: var(--dark); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--dark-line);
}
.code-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--dark-line); }
.code-top .lights { display: flex; gap: 7px; }
.code-top .lights i { width: 11px; height: 11px; border-radius: 50%; display: block; background: var(--dark-line); }
.code-top .lights i:nth-child(1){ background: oklch(0.62 0.16 25);}
.code-top .lights i:nth-child(2){ background: oklch(0.78 0.13 80);}
.code-top .lights i:nth-child(3){ background: oklch(0.7 0.13 150);}
.code-top .file { font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-2); margin-left: 6px; }
.code-body { padding: 20px 22px 24px; font-family: var(--f-mono); font-size: 13px; line-height: 1.85; color: var(--on-dark-2); }
.code-body .ln { display: block; white-space: nowrap; opacity: 0; transform: translateY(6px); }
.code-body .k { color: var(--accent-2); }
.code-body .s { color: oklch(0.8 0.12 150); }
.code-body .c { color: oklch(0.6 0.02 255); }
.code-body .f { color: oklch(0.82 0.11 80); }
.code-body .indent { padding-left: 22px; }
.code-body .indent2 { padding-left: 44px; }

.pill-float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 13px; box-shadow: var(--shadow-md); padding: 12px 15px;
  display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 600;
}
.pill-float .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.pill-float .ico svg { width: 18px; height: 18px; }
.pill-float small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-3); }
.pill-1 { top: -22px; right: -16px; animation: floaty 6s ease-in-out infinite; }
.pill-2 { bottom: -24px; left: -26px; animation: floaty 6s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* ============================================================
   MARQUEE / credibility
   ============================================================ */
.cred { border-block: 1px solid var(--line); background: var(--bg-2); }
.cred-inner { padding-block: 30px; display: flex; align-items: center; gap: 38px; flex-wrap: wrap; justify-content: space-between; }
.cred-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); flex: 0 0 auto; }
.cred-logos { display: flex; align-items: center; gap: clamp(22px, 4vw, 52px); flex-wrap: wrap; }
.cred-logos .clogo { font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--ink-3); letter-spacing: -0.02em; opacity: .8; transition: color .2s, opacity .2s; }
.cred-logos .clogo:hover { color: var(--ink); opacity: 1; }

/* logos de clientes (imágenes blancas → gris monocromo, color al hover) */
.cred-logos--img { gap: clamp(36px, 5vw, 70px); }
.cred-logos--img .clogo-img {
  height: 68px; width: auto; object-fit: cover;
  filter: brightness(0); opacity: .62;
  transition: opacity .2s ease;
}
.cred-logos--img .clogo-img:hover { opacity: .9; }
@media (max-width: 940px) {
  .cred-logos--img .clogo-img { height: 58px; }
}
@media (max-width: 660px) {
  .cred-logos--img { gap: 30px 42px; }
  .cred-logos--img .clogo-img { height: 50px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head .lead { margin-top: 18px; }

.svc-layout { display: grid; grid-template-columns: 0.84fr 1.16fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-tabs { display: grid; gap: 10px; position: sticky; top: 96px; }
.svc-tab {
  text-align: left; display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc-tab .num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); padding-top: 3px; }
.svc-tab .tt { font-family: var(--f-display); font-weight: 600; font-size: 18.5px; }
.svc-tab .dd { font-size: 14px; color: var(--ink-3); margin-top: 3px; }
.svc-tab:hover { border-color: var(--line-2); transform: translateX(3px); }
.svc-tab.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.svc-tab.active .tt { color: var(--accent-ink); }

.svc-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-md); min-height: 420px;
}
.svc-content { display: none; }
.svc-content.active { display: block; animation: fadeUp .45s ease both; }
.svc-content .ico-lg { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 24px; }
.svc-content .ico-lg svg { width: 28px; height: 28px; }
.svc-content h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.svc-content p.d { color: var(--ink-2); max-width: 54ch; margin-bottom: 26px; }
.svc-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-bottom: 30px; }
.svc-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.svc-feats .chk { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-top: 2px; }
.svc-feats .chk svg { width: 12px; height: 12px; }
.svc-stack { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.svc-stack .tag { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; padding: 6px 11px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: translateY(0);} }

/* ============================================================
   PROCESS (dark)
   ============================================================ */
.process { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.process .hero-grid-bg {
  background-image:
    linear-gradient(to right, var(--dark-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--dark-line) 1px, transparent 1px);
  opacity: .4;
}
.process h2, .process .h-lg { color: var(--on-dark); }
.process .lead { color: var(--on-dark-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px; position: relative; z-index: 1; }
.step { padding: 30px 26px 34px; border-radius: var(--radius); position: relative; transition: background .25s; }
.step:hover { background: var(--dark-2); }
.step .sn { font-family: var(--f-mono); font-size: 13px; color: var(--accent-2); margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
.step .sn::after { content: ""; height: 1px; flex: 1; background: var(--dark-line); }
.step h3 { color: var(--on-dark); font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--on-dark-2); line-height: 1.55; }

/* ============================================================
   WHY / value cards
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.why-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px 34px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.why-card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 22px; }
.why-card .ico svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 21px; margin-bottom: 10px; }
.why-card p { font-size: 15px; color: var(--ink-2); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; padding-top: 50px; border-top: 1px solid var(--line); }
.metric .n { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 5vw, 54px); color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.metric .n .suf { color: var(--accent); }
.metric .l { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }

/* ============================================================
   CTA / Contact
   ============================================================ */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info .h-lg { margin-bottom: 20px; }
.contact-points { display: grid; gap: 18px; margin-top: 36px; }
.contact-points li { display: flex; gap: 15px; align-items: flex-start; }
.contact-points .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-ink); }
.contact-points .ico svg { width: 20px; height: 20px; }
.contact-points b { font-family: var(--f-display); font-size: 16px; display: block; }
.contact-points span { font-size: 14.5px; color: var(--ink-2); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; font-family: var(--f-display); margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: 11px;
  font: inherit; font-size: 15px; background: var(--bg); color: var(--ink); transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px oklch(0.58 0.15 252 / 0.13); }
.field.invalid input, .field.invalid textarea { border-color: oklch(0.6 0.2 25); }
.field .err { font-size: 12.5px; color: oklch(0.55 0.2 25); margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; animation: fadeUp .4s ease both; }
.form-success .badge { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.form-success .badge svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--ink-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--on-dark-2); padding-block: clamp(54px, 7vw, 80px) 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--dark-line); }
.footer .logo { height: 24px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 34ch; color: var(--on-dark-2); }
.footer-col h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; color: var(--on-dark-2); transition: color .18s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--dark-line); display: grid; place-items: center; color: var(--on-dark-2); transition: .2s; }
.footer-social a:hover { color: var(--on-dark); border-color: var(--on-dark-2); background: var(--dark-2); }
.footer-social svg { width: 17px; height: 17px; }

/* ============================================================
   OBRIA — sección producto
   ============================================================ */
.obria-section {
  background: #1B2C4B;
  color: #EEF2F8;
  overflow: hidden;
  position: relative;
}
.obria-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, #E08A38 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at -10% 80%, #E08A38 0%, transparent 55%);
  opacity: 0.06;
  pointer-events: none;
}
.obria-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.obria-copy { position: relative; z-index: 1; }
.obria-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E08A38;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.obria-badge svg { width: 12px; height: 12px; }
.obria-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #EEF2F8;
  margin-bottom: 18px;
}
.obria-copy h2 em {
  font-style: normal;
  color: #E08A38;
}
.obria-copy .obria-lead {
  font-size: clamp(17px, 2vw, 19px);
  color: #a8b8cc;
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 32px;
}
.obria-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 36px;
}
.obria-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: #c5d1e0;
  line-height: 1.4;
}
.obria-feat .chk-o {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: #E08A38;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.obria-feat .chk-o svg { width: 11px; height: 11px; stroke: #fff; }
.obria-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-obria {
  background: #E08A38;
  color: #fff;
  box-shadow: 0 6px 20px rgba(224,138,56,0.35);
}
.btn-obria:hover {
  background: #cc7a30;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224,138,56,0.45);
}
.btn-obria:hover svg { transform: translateX(3px); }
.btn-obria-ghost {
  border: 1.5px solid rgba(238,242,248,0.25);
  color: #EEF2F8;
}
.btn-obria-ghost:hover {
  border-color: #EEF2F8;
  background: rgba(238,242,248,0.06);
  transform: translateY(-2px);
}

/* visual: browser mock + screenshot tabs */
.obria-visual { position: relative; z-index: 1; }
.obria-browser {
  background: #101A2E;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(224,138,56,0.15);
  overflow: hidden;
}
.obria-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}
.obria-browser-dots { display: flex; gap: 6px; }
.obria-browser-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: block;
}
.obria-browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.obria-screens { position: relative; aspect-ratio: 39/20; }
.obria-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.obria-screen.active { opacity: 1; }
.obria-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  
  display: block;
}
.obria-screen-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow-x: auto;
  scrollbar-width: none;
}
.obria-screen-tabs::-webkit-scrollbar { display: none; }
.obria-tab {
  flex-shrink: 0;
  font-size: 11.5px;
  font-family: var(--f-mono);
  color: rgba(255,255,255,0.35);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.obria-tab.active, .obria-tab:hover {
  color: #E08A38;
  border-color: rgba(224,138,56,0.4);
  background: rgba(224,138,56,0.08);
}

/* responsive */
@media (max-width: 940px) {
  .obria-inner { grid-template-columns: 1fr; }
  .obria-visual { order: -1; }
}
@media (max-width: 660px) {
  .obria-features { grid-template-columns: 1fr; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill-1, .pill-2 { animation: none; }
  html { scroll-behavior: auto; }
  .code-body .ln { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 10px; max-width: 460px; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-tabs { position: static; grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 660px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .svc-tabs { grid-template-columns: 1fr; }
  .svc-feats { grid-template-columns: 1fr; }
  .steps, .why-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cred-inner { justify-content: flex-start; }
  .pill-float { display: none; }
}
