/* ==========================================================================
   ANANTA BUSINESS SERVICES  |  absite.in
   style.css  —  design system + components
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --abs-crimson:      #C8202E;   /* primary accent, taken from the ABS mark */
  --abs-crimson-700:  #A4161F;
  --abs-crimson-900:  #7A1018;
  --abs-crimson-050:  #FDF2F2;

  /* Ink */
  --ink:              #0B0F1A;   /* headings */
  --ink-800:          #1B2233;
  --slate:            #4B5565;   /* body */
  --slate-400:        #7A8496;   /* captions */

  /* Surface */
  --paper:            #FFFFFF;
  --mist:             #F6F7F9;   /* soft grey sections */
  --mist-200:         #EDEFF3;
  --line:             #E4E7EC;
  --line-strong:      #D4D9E1;

  /* Signal — the "AI layer" blue. Used only inside data / flow visuals. */
  --signal:           #2B59FF;
  --signal-100:       #E8EDFF;

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.70vw, 1.90rem);
  --step-3:  clamp(1.85rem, 1.55rem + 1.30vw, 2.70rem);
  --step-4:  clamp(2.30rem, 1.75rem + 2.40vw, 3.90rem);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Depth — kept very light, borders do most of the work */
  --shadow-sm: 0 1px 2px rgba(11,15,26,.05);
  --shadow:    0 8px 24px -12px rgba(11,15,26,.16);
  --shadow-lg: 0 24px 60px -28px rgba(11,15,26,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 .6em;
  font-weight: 800;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); line-height: 1.25; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
a  { color: var(--abs-crimson); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--abs-crimson-700); }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { color: var(--ink-800); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
[id] { scroll-margin-top: 104px; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%; max-width: var(--container);
  margin-left: auto; margin-right: auto;            /* fallback */
  margin-inline: auto;
  padding-left: var(--gutter); padding-right: var(--gutter);   /* fallback */
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 840px; }

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--mist { background: var(--mist); }
.section--ink  { background: var(--ink); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink p, .section--ink li { color: #A9B2C3; }

.stack > * + * { margin-top: 18px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split--wide-left { grid-template-columns: 1.25fr .75fr; }

/* Section heading block */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head--center { margin-left: auto; margin-right: auto; margin-inline: auto; text-align: center; }
.sec-head p { font-size: var(--step-1); color: var(--slate); margin-bottom: 0; }

/* Eyebrow — a rule plus a label, not a pill badge */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--abs-crimson);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--abs-crimson); flex: none;
}
.sec-head--center .eyebrow { justify-content: center; }
.section--ink .eyebrow { color: #FF7A82; }
.section--ink .eyebrow::before { background: #FF7A82; }

.lead { font-size: var(--step-1); color: var(--slate); }
.muted { color: var(--slate-400); }
.small { font-size: var(--step--1); }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .96rem;
  padding: 15px 28px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--abs-crimson); color: #fff; box-shadow: 0 10px 24px -12px rgba(200,32,46,.75); }
.btn--primary:hover { background: var(--abs-crimson-700); color: #fff; box-shadow: 0 16px 30px -14px rgba(200,32,46,.85); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--paper); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); background: #F1F2F5; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { color: #fff; border-color: #fff; }

.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #178B45; color: #fff; }

.btn--sm { padding: 11px 20px; font-size: .87rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .93rem;
  color: var(--abs-crimson);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand svg { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  color: var(--ink); letter-spacing: -.02em;
}
.brand-tag { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-400); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav-links li { margin: 0; }
.nav-links > li > a {
  display: block; padding: 9px 13px; border-radius: 8px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: .93rem; color: var(--ink-800);
}
.nav-links > li > a:hover { background: var(--mist); color: var(--ink); }
.nav-links > li > a[aria-current="page"] { color: var(--abs-crimson); }
.nav-cta { flex: none; margin-left: 8px; }

/* Dropdown */
.has-sub { position: relative; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-800); font-family: var(--font-display); }
.sub a span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--slate-400); margin-top: 2px; }
.sub a:hover { background: var(--mist); color: var(--abs-crimson); }

/* Hamburger */
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.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); }

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 420px at 78% 18%, rgba(43,89,255,.07), transparent 62%),
    radial-gradient(620px 380px at 8% 6%, rgba(200,32,46,.055), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--abs-crimson); }
.hero-sub { font-size: var(--step-1); max-width: 34ch; margin-bottom: 20px; color: var(--ink-800); font-weight: 500; }
.hero-body { max-width: 52ch; margin-bottom: 32px; }

/* Page hero for inner pages */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: var(--mist); }
.page-hero h1 { max-width: 20ch; }
.page-hero p { max-width: 62ch; font-size: var(--step-1); margin-bottom: 0; }
.crumbs { font-size: .82rem; color: var(--slate-400); margin-bottom: 20px; }
.crumbs a { color: var(--slate); font-weight: 500; }
.crumbs span { margin: 0 8px; opacity: .5; }

/* Trust strip */
.trust-strip {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 44px;
}
.trust-item .num {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--ink);
  letter-spacing: -.03em; line-height: 1;
}
.trust-item .lbl { font-size: .82rem; color: var(--slate-400); margin-top: 6px; letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   7. SIGNATURE: THE FLOW RAIL
   The ABS mark is two crossing arrows. Direction is the brand idea, so the
   whole site is built around one motif: a rail that carries a business problem
   left to right until it becomes an outcome.
   -------------------------------------------------------------------------- */
.flow-visual {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(170deg, #fff, #FAFBFD);
  padding: 30px; box-shadow: var(--shadow);
}
.flow-visual svg { width: 100%; height: auto; }
.flow-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-strong);
  font-size: .78rem; color: var(--slate-400); letter-spacing: .04em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 600;
}

.rail { position: relative; padding-left: 34px; list-style: none; margin: 0; }
.rail::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.rail li { position: relative; margin-bottom: 26px; }
.rail li:last-child { margin-bottom: 0; }
.rail li::before {
  content: ""; position: absolute; left: -34px; top: 7px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; border: 2px solid var(--line-strong);
}
.rail li.is-on::before { border-color: var(--abs-crimson); background: var(--abs-crimson); box-shadow: 0 0 0 5px var(--abs-crimson-050); }

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3, .card h4 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .96rem; }
.card p:last-child { margin-bottom: 0; }
.card .link-arrow { margin-top: auto; padding-top: 18px; }

.card--flat { background: var(--mist); border-color: transparent; }
.card--flat:hover { border-color: var(--line); background: #fff; }

.card-ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center; background: var(--abs-crimson-050); color: var(--abs-crimson); flex: none;
}
.card-ico svg { width: 22px; height: 22px; }
.card-ico--signal { background: var(--signal-100); color: var(--signal); }

/* Problem / Solution / Benefit block used on the AI pages */
.psb { display: grid; gap: 14px; margin-top: 20px; }
.psb div { padding-left: 16px; border-left: 2px solid var(--line); }
.psb div.is-solution { border-left-color: var(--abs-crimson); }
.psb dt {
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 4px;
}
.psb dd { margin: 0; font-size: .95rem; color: var(--slate); }

/* Numbered step card — used only where order genuinely matters */
.step-card { position: relative; padding-top: 34px; }
.step-num {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
  color: var(--mist-200); line-height: 1; letter-spacing: -.04em;
}

/* Stat tiles */
.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-tiles div { background: #fff; padding: 26px 24px; }
.stat-tiles .num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--abs-crimson); letter-spacing: -.03em; }
.stat-tiles .lbl { font-size: .82rem; color: var(--slate-400); margin-top: 4px; }

/* --------------------------------------------------------------------------
   9. TIMELINE (company journey)
   -------------------------------------------------------------------------- */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: var(--line); }
.timeline-track { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 20px; }
.tl-item { position: relative; padding-top: 62px; }
.tl-item::before {
  content: ""; position: absolute; top: 19px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-strong); transition: all .3s var(--ease);
}
.tl-item.is-now::before { border-color: var(--abs-crimson); background: var(--abs-crimson); box-shadow: 0 0 0 6px var(--abs-crimson-050); }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; letter-spacing: -.02em; }
.tl-item.is-now .tl-year { color: var(--abs-crimson); }
.tl-item p { font-size: .88rem; color: var(--slate); margin: 0; }

/* --------------------------------------------------------------------------
   10. FILTERS + PORTFOLIO
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-display); font-weight: 600; font-size: .87rem;
  padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: var(--slate); cursor: pointer; transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.work-card { overflow: hidden; padding: 0; }
.work-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--mist); }
.work-thumb svg { width: 100%; height: 100%; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 100px;
  background: var(--mist); color: var(--slate); border: 1px solid var(--line);
}
.tag--accent { background: var(--abs-crimson-050); color: var(--abs-crimson); border-color: #F6D9DB; }
.is-hidden { display: none !important; }

/* --------------------------------------------------------------------------
   11. CASE STUDY
   -------------------------------------------------------------------------- */
.case { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; background: #fff; }
.case-head { padding: 36px 40px; border-bottom: 1px solid var(--line); }
.case-ba { display: grid; grid-template-columns: 1fr 1fr; }
.case-ba > div { padding: 34px 40px; }
.case-ba > div:first-child { border-right: 1px solid var(--line); background: var(--mist); }
.case-ba h4 {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-400);
  margin-bottom: 18px; font-weight: 700;
}
.case-ba ul { list-style: none; padding: 0; margin: 0; }
.case-ba li { position: relative; padding-left: 22px; font-size: .93rem; margin-bottom: 11px; }
.case-ba li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--slate-400); }
.case-ba > div:last-child li::before { background: var(--abs-crimson); width: 10px; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.case-results div { padding: 28px 40px; text-align: center; border-right: 1px solid var(--line); }
.case-results div:last-child { border-right: 0; }
.case-results .num { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--abs-crimson); letter-spacing: -.03em; }
.case-results .lbl { font-size: .8rem; color: var(--slate-400); margin-top: 4px; }
.case-foot { padding: 20px 40px; background: var(--ink); color: #A9B2C3; font-size: .9rem; }

/* --------------------------------------------------------------------------
   12. ACCORDION
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  background: none; border: 0; padding: 26px 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--ink);
  line-height: 1.3;
}
.acc-btn:hover { color: var(--abs-crimson); }
.acc-sign { flex: none; width: 26px; height: 26px; position: relative; margin-top: 4px; }
.acc-sign::before, .acc-sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--abs-crimson);
  transform: translate(-50%,-50%); transition: transform .25s var(--ease);
}
.acc-sign::before { width: 15px; height: 2px; }
.acc-sign::after  { width: 2px; height: 15px; }
.acc-btn[aria-expanded="true"] .acc-sign::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc-panel { overflow: hidden; transition: height .3s var(--ease); }
.js-on .acc-panel { height: 0; }
.acc-panel-inner { padding-bottom: 28px; max-width: 78ch; }

/* --------------------------------------------------------------------------
   13. FORMS
   -------------------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field label, .fieldset-legend {
  display: block; font-family: var(--font-display); font-weight: 650; font-size: .87rem;
  color: var(--ink-800); margin-bottom: 8px;
}
.field .req { color: var(--abs-crimson); }
.field .hint { font-size: .8rem; color: var(--slate-400); font-weight: 400; margin-top: 6px; font-family: var(--font-body); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date],
input[type=time], input[type=number], input[type=file], select, textarea {
  width: 100%; font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--abs-crimson); box-shadow: 0 0 0 4px var(--abs-crimson-050); outline: none;
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--abs-crimson); background: var(--abs-crimson-050); }
.err { display: none; font-size: .82rem; color: var(--abs-crimson-700); margin-top: 6px; font-weight: 500; }
.err.is-shown { display: block; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.choice {
  display: flex; align-items: flex-start; gap: 11px; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
  font-size: .9rem; transition: all .18s var(--ease); background: #fff;
}
.choice:hover { border-color: var(--ink); }
.choice input { margin: 3px 0 0; accent-color: var(--abs-crimson); flex: none; width: auto; }
.choice:has(input:checked) { border-color: var(--abs-crimson); background: var(--abs-crimson-050); }

.steps-bar { display: flex; gap: 6px; margin-bottom: 34px; list-style: none; padding: 0; }
.steps-bar li { flex: 1; margin: 0; }
.steps-bar .bar { height: 4px; border-radius: 3px; background: var(--mist-200); margin-bottom: 10px; transition: background .3s var(--ease); }
.steps-bar li.is-done .bar, .steps-bar li.is-active .bar { background: var(--abs-crimson); }
.steps-bar .name { font-size: .78rem; font-family: var(--font-display); font-weight: 650; color: var(--slate-400); }
.steps-bar li.is-active .name { color: var(--ink); }
.js-on .form-step { display: none; }
.js-on .form-step.is-active { display: block; animation: fadeUp .35s var(--ease); }
.form-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-note { font-size: .82rem; color: var(--slate-400); margin-top: 20px; }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success.is-shown { display: block; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--abs-crimson-050); color: var(--abs-crimson); display: grid; place-items: center; margin: 0 auto 24px; }
.success-mark svg { width: 30px; height: 30px; }

/* --------------------------------------------------------------------------
   14. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 82% 0%, rgba(200,32,46,.30), transparent 62%),
              radial-gradient(560px 320px at 8% 100%, rgba(43,89,255,.22), transparent 62%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; max-width: 17ch; }
.cta-band p { color: #A9B2C3; max-width: 56ch; font-size: var(--step-1); }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: #070A12; color: #8C95A8; padding: 76px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 20px; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: #8C95A8; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: #6C7689; }
.footer-brand p { margin-top: 20px; max-width: 34ch; color: #8C95A8; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid #1E2432;
  display: grid; place-items: center; color: #8C95A8;
}
.social a:hover { background: var(--abs-crimson); border-color: var(--abs-crimson); color: #fff; }
.social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid #161B27; padding: 24px 0; display: flex; flex-wrap: wrap;
  gap: 16px; justify-content: space-between; font-size: .84rem;
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1FA855; color: #fff; padding: 13px 20px 13px 16px; border-radius: 100px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  box-shadow: 0 14px 34px -12px rgba(31,168,85,.75);
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.wa-float:hover { background: #178B45; color: #fff; transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; flex: none; }

/* --------------------------------------------------------------------------
   17. MOTION
   -------------------------------------------------------------------------- */
/* Gated behind .js-on so a blocked script never leaves the page blank. */
.js-on [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-on [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes pulseNode { 0%,100% { r: 5; opacity: .95; } 50% { r: 7.5; opacity: .55; } }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.flow-line { stroke-dasharray: 340; stroke-dashoffset: 340; animation: dash 2.6s var(--ease) forwards; }
.flow-node { animation: pulseNode 3.2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js-on [data-reveal] { opacity: 1; transform: none; }
  .flow-line { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   18. LONG FORM ARTICLE
   -------------------------------------------------------------------------- */
.article-body { font-size: 1.06rem; line-height: 1.78; }
.article-body > p { margin-bottom: 1.35em; }
.article-body .lead {
  font-size: var(--step-1); color: var(--ink-800); font-weight: 500;
  padding-bottom: 1.4em; margin-bottom: 1.6em; border-bottom: 1px solid var(--line);
}
.article-body h2 { margin-bottom: .7em; }
.article-body ul { margin: 0 0 1.5em; padding-left: 0; list-style: none; }
.article-body ul li { position: relative; padding-left: 26px; margin-bottom: .8em; }
.article-body ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 12px; height: 2px; background: var(--abs-crimson);
}
.article-body strong { color: var(--ink); font-weight: 650; }

/* Card headings that are links */
.card h3 a, .card h4 a { color: var(--ink); }
.card h3 a:hover, .card h4 a:hover { color: var(--abs-crimson); }
a.card { text-decoration: none; }
a.card h4 { color: var(--ink); }
a.card:hover h4 { color: var(--abs-crimson); }
