/* ============================================================
   IT ADVISORY (Services) — page-specific styles
   Figma node 2374:15443. Built on the AI Enablement / Cybersecurity /
   ERP pattern, scoped to .ita-page with the .ita-* prefix. Shared atoms
   (tokens, buttons, breadcrumb, .intone-scrollband) from the DS.
   Fully fluid — no fixed max-width cap (supports all device sizes).
   ============================================================ */

.ita-page {
  --gutter: clamp(20px, 4vw, 50px);
  --gold: var(--ds-gold, #f6b43f);
  --navy: var(--ds-navy, #1e2e4c);
  --ink:  var(--ds-dark-900, #141414);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--t-bg);
  overflow-x: clip;
}

@media (scripting: enabled) {
  .ita-page .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s var(--ease-out); }
}
.ita-page .reveal.in { opacity: 1; transform: none; }

.ita-page a:focus-visible,
.ita-btn:focus-visible,
.ita-cta__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Inline-link highlight removed 2026-07-13: the page-wide `a` rule
   (gold background + underline + forced color) was styling buttons,
   breadcrumb links and links over dark bands as if they were inline
   hyperlinks. Links now inherit their component styles. */

/* ── shared atoms ── */
.ita-kicker { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.1vw, 16px); font-weight: 500; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em; color: var(--t-text-muted, #5b6472); margin: 0 0 clamp(18px, 2.2vw, 32px); }
.ita-h2 { font-family: var(--ds-font-heading); font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.16; text-transform: uppercase; color: var(--t-text); margin: 0 0 clamp(28px, 3.5vw, 48px); max-width: 26ch; }
.ita-h2--italic { font-style: italic; max-width: none; }
.ita-lead { font-family: var(--ds-font-heading); font-size: clamp(16px, 1.6vw, 20px); font-weight: 400; line-height: 1.4; color: var(--t-text); margin: 0 0 clamp(28px, 3.5vw, 48px); max-width: 90ch; }
.ita-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 2px solid var(--ink); padding: 16px 32px; font-family: var(--ds-font-heading); font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; line-height: normal; text-transform: uppercase; text-decoration: none; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.ita-btn:hover { background: var(--gold); border-color: var(--gold); color: #141414; }

.ita-split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: start; margin-bottom: clamp(32px, 4.5vw, 64px); }
.ita-split-head__label { font-family: var(--ds-font-heading); font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.15; text-transform: uppercase; color: var(--t-text); margin: 0; }
.ita-split-head__lead { font-family: var(--ds-font-heading); font-size: clamp(16px, 1.6vw, 18px); font-weight: 600; line-height: 1.3; color: var(--t-text); margin: 0; justify-self: end; text-align: right; max-width: 40ch; }


/* ════ 1. HERO ════ */
.ita-hero { background: var(--t-bg); padding: clamp(80px, 12vw, 100px) var(--gutter) clamp(40px, 5vw, 72px); }
.ita-hero__inner { margin: 0 auto; }
.ita-hero__rule { display: block; height: 1px; margin-bottom: clamp(28px, 4vw, 56px); }
.ita-hero .ita-kicker { margin-bottom: clamp(18px, 2vw, 28px); }
.ita-hero__title { font-family: var(--ds-font-heading); font-size: clamp(38px, 6.4vw, 88px); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; margin: 0; max-width: 20ch; color: var(--t-text); }
.ita-hero__title.is-clip-text {  filter: brightness(0.65);background-color: var(--t-text); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; background-position: center top; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ita-hero__band { margin: clamp(32px, 5vw, 60px) auto 0; height: clamp(150px, 20vw, 280px); background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: fixed; }


/* ════ 2. INTRO + WHAT YOU GET ════ */
.ita-intro { background: var(--t-surface); padding: clamp(40px, 5vw, 72px) var(--gutter); }
.ita-intro__inner { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.ita-intro__head { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); padding-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--t-border-strong, #d3dae4); }
.ita-intro__lead { font-family: var(--ds-font-heading); font-size: clamp(17px, 1.7vw, 22px); font-weight: 400; line-height: 1.45; color: var(--t-text); margin: 0; max-width: 95ch; }
.ita-intro__media { overflow: hidden; aspect-ratio: 1280 / 436; }
.ita-intro__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ita-gets__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.ita-get-card {
  background: var(--t-bg); padding: clamp(24px, 2vw, 40px) clamp(18px, 1.4vw, 24px);
  min-height: clamp(320px, 32vw, 460px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.ita-get-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow, 0 18px 48px rgba(9,16,29,0.12)); }
.ita-get-card__title { font-family: var(--ds-font-heading); font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; text-transform: uppercase; line-height: 1.2; color: var(--t-text); margin: 0 0 16px; }
.ita-get-card__body { font-family: var(--ds-font-heading); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.45; color: var(--t-text-muted, #5b6472); margin: 0; }


/* ════ 3. WHY MODERN ENTERPRISES CHOOSE INTONE (gold-bar cards) ════ */
.ita-why { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.ita-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.ita-why__grid .ita-why-card { transition: transform 0.3s ease, border-left-width 0.3s ease !important; }
.ita-why-card { background: var(--t-surface); border-left: 6px solid var(--gold); padding: clamp(22px, 2vw, 32px); min-height: clamp(150px, 16vw, 220px); transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-left-width 0.3s ease; }
.ita-why-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow, 0 18px 48px rgba(9,16,29,0.12)); border-left-width: 12px; }
.ita-why-card__title { font-family: var(--ds-font-heading); font-size: clamp(17px, 1.7vw, 20px); font-weight: 700; line-height: 1.25; color: var(--t-text); margin: 0 0 12px; }
.ita-why-card__body { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.35vw, 15px); line-height: 1.45; color: var(--t-text-muted, #5b6472); margin: 0; }


/* ════ 4. THE EXECUTION GAP + COMPARISON TABLE ════ */
.ita-gap { background: var(--t-surface); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.ita-gap__inner { border-top: 1px solid var(--t-text); padding-top: clamp(20px, 2.4vw, 32px); }
.ita-gap__media { overflow: hidden; aspect-ratio: 1280 / 436; margin-bottom: clamp(32px, 4vw, 56px); }
.ita-gap__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ita-compare { background: var(--t-bg); display: grid; grid-template-columns: 1fr 1fr; }
.ita-compare__col { padding: clamp(28px, 3vw, 48px); }
.ita-compare__col:first-child { border-right: 1px solid var(--t-border, rgba(9,16,29,0.12)); }
.ita-compare__title { font-family: var(--ds-font-heading); font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; line-height: 1.2; text-transform: uppercase; color: var(--t-text); margin: 0 0 clamp(20px, 2.4vw, 32px); padding-bottom: clamp(14px, 1.6vw, 20px); border-bottom: 1px solid var(--t-border-strong, #d3dae4); }
.ita-compare__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ita-compare__list li { padding: 14px 0; border-bottom: 1px solid var(--t-border, rgba(9,16,29,0.08)); font-family: var(--ds-font-heading); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.4; color: var(--t-text-muted, #5b6472); }
.ita-compare__list li:last-child { border-bottom: 0; }
.ita-compare__list li strong { color: var(--t-text); font-weight: 700; }


/* ════ 6. CORE OFFERINGS (expandable gold-bar cards) ════ */
.ita-offerings { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.ita-offerings__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: start; }
.ita-offerings__grid article{ transition: transform 0.3s ease, border-left-width 0.3s ease !important;}
.ita-offer-card {
  display: flex; flex-direction: column;
  background: var(--t-surface); border-left: 6px solid var(--gold);
  padding: clamp(22px, 2vw, 32px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-left-width 0.3s ease;
}
.ita-offer-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow, 0 18px 48px rgba(9,16,29,0.12)); border-left-width: 12px; }
.ita-offer-card__title { font-family: var(--ds-font-heading); font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; line-height: 1.3; color: var(--t-text); margin: 0 0 12px; }
.ita-offer-card__body { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.35vw, 15px); line-height: 1.45; color: var(--t-text-muted, #5b6472); margin: 0 0 16px; }
/* expandable region — reference: .iae-svc-card__more (page-ai-enablement.css) */
.ita-offer-card__more {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s ease, margin 0.4s ease;
}
.ita-offer-card.is-rm-open .ita-offer-card__more { max-height: 420px; opacity: 1; margin-bottom: 20px; }
.ita-offer-card__more-label { font-family: var(--ds-font-heading); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-text); margin: 0 0 8px; }
.ita-offer-card__more-text { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.35vw, 15px); line-height: 1.45; color: var(--t-text-muted, #5b6472); margin: 0 0 16px; }
.ita-offer-card__more-text:last-child { margin-bottom: 0; }
/* toggle button — reference: .iae-svc-card__btn */
.ita-offer-card__btn {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--ds-font-heading);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--t-text);
}
.ita-offer-card__btn .ita-caret {
  width: auto; height: 0.85em;
  filter: var(--ita-caret-filter, invert(1));
  transition: transform 0.3s ease;
}
.ita-offer-card.is-rm-open .ita-offer-card__btn .ita-caret { transform: rotate(90deg); }
/* the caret SVG is white; invert to dark in light theme, keep white in dark */
.ita-page { --ita-caret-filter: invert(1); }
[data-theme="dark"] .ita-page { --ita-caret-filter: none; }


/* ════ 7. HOW WE DELIVER (stepper) ════ */
.ita-process { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.ita-process__head { margin-bottom: clamp(20px, 3vw, 36px); }
.ita-process__head .ita-h2 { font-size: clamp(32px, 5vw, 60px); margin-bottom: clamp(16px, 2vw, 24px); }
.ita-process__intro { font-family: var(--ds-font-heading); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.4; color: var(--t-text); margin: 0 0 clamp(40px, 5vw, 72px); max-width: 80ch; }
.ita-steps { list-style: none; margin: 0 0 clamp(32px, 4vw, 56px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.5vw, 24px); position: relative; }
.ita-steps::before { content: ""; position: absolute; top: clamp(24px, 3vw, 32px); left: 10%; right: 10%; height: 1px; background: var(--gold); }
.ita-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ita-step__num { width: clamp(48px, 6vw, 64px); height: clamp(48px, 6vw, 64px); display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); background: var(--t-bg); font-family: var(--ds-font-heading); font-size: clamp(16px, 1.8vw, 22px); font-weight: 700; color: var(--t-text); position: relative; z-index: 1; margin-bottom: clamp(16px, 2vw, 28px); }
.ita-step__title { font-family: var(--ds-font-heading); font-size: clamp(16px, 1.8vw, 22px); font-weight: 700; text-transform: uppercase; color: var(--t-text); margin-bottom: 10px; }
.ita-step__desc { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.3vw, 16px); line-height: 1.4; color: var(--t-text-muted, #5b6472); max-width: 24ch; }
.ita-process__note { font-family: var(--ds-font-heading); font-size: clamp(14px, 1.4vw, 17px); line-height: 1.5; color: var(--t-text-muted, #5b6472); margin: 0; max-width: 100ch; }
.ita-process__note span { font-weight: 700; color: var(--t-text); }


/* ════ 8. THE INTONE ADVANTAGE (metrics table) ════ */
.ita-advantage { background: var(--t-surface); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.ita-table { display: flex; flex-direction: column; }
.ita-table__row { display: grid; grid-template-columns: minmax(160px, 26%) 1fr; gap: clamp(16px, 2vw, 32px); padding: clamp(14px, 1.6vw, 20px) clamp(16px, 1.8vw, 24px); border-bottom: 1px solid var(--gold); }
.ita-table__row--head { border-bottom: 1px solid var(--gold); border-top: none; }
.ita-table__row--head span { font-family: var(--ds-font-heading); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
[data-theme="dark"] .ita-table__row--head span { color: var(--gold); }
.ita-table__row:not(.ita-table__row--head) { background: var(--t-bg); }
.ita-table__row:not(.ita-table__row--head) span { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.35vw, 15px); line-height: 1.4; color: var(--t-text-muted, #5b6472); }
.ita-table__metric { font-weight: 700 !important; color: var(--t-text) !important; }


/* ════ 9. CTA ════ */
.ita-cta { background: var(--t-bg); }
.ita-cta__panel { padding: clamp(48px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; }
.ita-cta__title { font-family: var(--ds-font-heading); font-size: clamp(28px, 4.6vw, 56px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; text-transform: uppercase; color: var(--t-text); margin: 0 0 clamp(24px, 3vw, 40px); max-width: 24ch; }
.ita-cta__title.is-clip-text { background-color: var(--t-text); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; background-position: center; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ita-cta__sub { font-family: var(--ds-font-heading); font-size: clamp(15px, 1.5vw, 20px); font-weight: 400; line-height: 1.5; color: var(--t-text); margin: 0 0 clamp(28px, 3vw, 40px); max-width: 80ch; }
.ita-cta__btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 clamp(28px, 3vw, 44px); background: var(--ink); color: #fff; font-family: var(--ds-font-heading); font-size: clamp(16px, 1.5vw, 24px); font-weight: 600; text-transform: uppercase; text-decoration: none; transition: background 0.25s ease, color 0.25s ease; }
.ita-cta__btn:hover { background: var(--gold); color: #141414; }
.ita-cta__band { height: clamp(160px, 22vw, 300px); background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: fixed; }


/* ════ DARK MODE ════ */
[data-theme="dark"] .ita-btn { background: #f4f6f9; color: #141414; border-color: #f4f6f9; }
[data-theme="dark"] .ita-btn:hover { background: var(--gold); border-color: var(--gold); color: #141414; }
[data-theme="dark"] .ita-cta__btn { background: #f4f6f9; color: #141414; }
[data-theme="dark"] .ita-cta__btn:hover { background: var(--gold); color: #141414; }


/* ════ RESPONSIVE ════ */
@media (hover: none), (max-width: 1024px) {
  .ita-hero__title.is-clip-text, .ita-hero__band,
  .ita-cta__title.is-clip-text, .ita-cta__band { background-attachment: scroll; }
}
@media (max-width: 1024px) {
  .ita-gets__grid { grid-template-columns: repeat(3, 1fr); }
  .ita-why__grid { grid-template-columns: repeat(2, 1fr); }
  .ita-offerings__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  /* Increase top padding to clear fixed header (~64px) + absolute breadcrumb (~48px). */
  .ita-hero { padding-top: clamp(110px, 20vw, 130px); }
  .ita-hero__title.is-clip-text { background-image: none !important; background-color: transparent; -webkit-background-clip: unset; background-clip: unset; -webkit-text-fill-color: var(--t-text); color: var(--t-text); }
  .ita-split-head { grid-template-columns: 1fr; }
  .ita-split-head__lead { justify-self: start; text-align: left; }
  .ita-gets__grid { grid-template-columns: repeat(2, 1fr); }
  .ita-get-card { min-height: 0; }
  .ita-why__grid { grid-template-columns: 1fr; }
  .ita-why-card { min-height: 0; }
  .ita-compare { grid-template-columns: 1fr; }
  .ita-compare__col:first-child { border-right: 0; border-bottom: 1px solid var(--t-border, rgba(9,16,29,0.12)); }
  .ita-offerings__grid { grid-template-columns: 1fr; }
  .ita-offer-card { min-height: 0; }
  .ita-steps { grid-template-columns: 1fr; gap: 28px; }
  .ita-steps::before { display: none; }
  .ita-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
  .ita-step__num { margin-bottom: 0; flex: 0 0 auto; }
  .ita-step__desc { max-width: none; }
  .ita-table__row { grid-template-columns: 1fr; gap: 6px; }
  .ita-table__row--head span:last-child { display: none; }
}
@media (max-width: 560px) {
  .ita-gets__grid { grid-template-columns: 1fr; }
  .ita-cta__title.is-clip-text { background-image: none !important; background-color: transparent; -webkit-background-clip: unset; background-clip: unset; -webkit-text-fill-color: var(--t-text); color: var(--t-text); }
}
@media (prefers-reduced-motion: reduce) {
  .ita-page .reveal { opacity: 1; transform: none; transition: none; }
  .ita-hero__title.is-clip-text, .ita-hero__band, .ita-cta__title.is-clip-text, .ita-cta__band { background-attachment: scroll; }
  .ita-page *, .ita-page *::before { transition: none !important; }
}

.ita-midcta { background: var(--t-bg); padding: clamp(28px, 3.5vw, 44px) var(--gutter); }
.ita-midcta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(16px, 2vw, 28px); }
.ita-midcta__text { font-family: var(--ds-font-heading); font-size: clamp(17px, 2.4vw, 38px); font-weight: 600; line-height: 1.3; max-width: 46ch; margin: 0; color: var(--t-text); }
@media (max-width: 860px) { .ita-midcta__inner { flex-direction: column; align-items: flex-start; } }
