/**
 * Tiba SIDAS — LOCKED brand theme
 * --------------------------------
 * This is the permanent visual identity. Extend pages with these tokens;
 * do not invent new primary colors, fonts, or radii on feature work.
 *
 * Brand: deep navy + gold (logo) + teal (trust/compliance)
 * Type: Outfit (display EN) · Source Sans 3 (UI EN) · IBM Plex Sans Arabic (AR)
 * Feel: enterprise consulting — calm, confident, durable
 */

:root {
  /* Core identity — do not rotate casually */
  --tiba-navy: #0b1220;
  --tiba-navy-2: #121a2b;
  --tiba-navy-3: #1a2438;
  --tiba-gold: #c4a35a;
  --tiba-gold-soft: rgba(196, 163, 90, 0.14);
  --tiba-teal: #1b6b63;
  --tiba-teal-soft: rgba(27, 107, 99, 0.12);
  --tiba-paper: #f3f5f8;
  --tiba-paper-2: #e8ecf2;
  --tiba-white: #ffffff;
  --tiba-ink: #0b1220;
  --tiba-ink-soft: #2a3448;
  --tiba-muted: #5c677a;
  --tiba-line: #d5dbe6;

  /* Mapped to existing site variables */
  --ink: var(--tiba-ink);
  --muted: var(--tiba-muted);
  --line: var(--tiba-line);
  --brand: var(--tiba-gold);
  --brand-deep: #a8873f;
  --brand-soft: var(--tiba-gold-soft);
  --accent: var(--tiba-teal);
  --accent-warm: #9a3412;
  --hero-bg: var(--tiba-navy);
  --surface: var(--tiba-white);
  --surface-alt: var(--tiba-paper);
  --glow: rgba(196, 163, 90, 0.28);
  --focus-ring: 0 0 0 3px rgba(196, 163, 90, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 4px 16px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 16px 40px rgba(11, 18, 32, 0.1);
  --shadow-lg: 0 28px 64px rgba(11, 18, 32, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-h: 76px;
  --font-display: 'Outfit', 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
  --font-body: 'Source Sans 3', 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
  --container: 1180px;
}

html[data-theme='dark'] {
  --ink: #e9eef7;
  --muted: #9aa6b8;
  --line: #2a3548;
  --hero-bg: var(--tiba-navy);
  --surface: var(--tiba-navy-2);
  --surface-alt: #0e1522;
  --brand: var(--tiba-gold);
  --brand-deep: #d4b56a;
  --brand-soft: var(--tiba-gold-soft);
  --glow: rgba(196, 163, 90, 0.32);
  color-scheme: dark;
}

/* Typography lock */
body.site-brand {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.site-brand h1,
body.site-brand h2,
body.site-brand h3,
body.site-brand .logo-text strong,
body.site-brand .brand-wordmark {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

/* Arabic: dedicated stack — never force Latin display fonts on RTL */
html[lang='ar'],
html[dir='rtl'] {
  --font-display: var(--font-arabic);
  --font-body: var(--font-arabic);
}

html[lang='ar'] body.site-brand,
html[dir='rtl'] body.site-brand {
  font-family: var(--font-arabic);
  line-height: 1.75;
  letter-spacing: 0;
  word-spacing: 0.02em;
}

html[lang='ar'] body.site-brand h1,
html[lang='ar'] body.site-brand h2,
html[lang='ar'] body.site-brand h3,
html[lang='ar'] body.site-brand h4,
html[lang='ar'] body.site-brand .logo-text strong,
html[lang='ar'] body.site-brand .logo-text small,
html[lang='ar'] body.site-brand .brand-wordmark,
html[lang='ar'] body.site-brand .hero-title-main,
html[lang='ar'] body.site-brand .hero-title-accent,
html[lang='ar'] body.site-brand .hero-lead,
html[lang='ar'] body.site-brand .section-label,
html[lang='ar'] body.site-brand .btn,
html[lang='ar'] body.site-brand .main-nav a,
html[lang='ar'] body.site-brand .header-signin,
html[lang='ar'] body.site-brand .header-cta-primary,
html[lang='ar'] body.site-brand .capability-row,
html[lang='ar'] body.site-brand .manifesto__title,
html[lang='ar'] body.site-brand .founder-quote,
html[lang='ar'] body.site-brand input,
html[lang='ar'] body.site-brand textarea,
html[lang='ar'] body.site-brand button,
html[dir='rtl'] body.site-brand h1,
html[dir='rtl'] body.site-brand h2,
html[dir='rtl'] body.site-brand h3,
html[dir='rtl'] body.site-brand .brand-wordmark,
html[dir='rtl'] body.site-brand .btn,
html[dir='rtl'] body.site-brand .main-nav a {
  font-family: var(--font-arabic) !important;
  letter-spacing: 0;
}

html[lang='ar'] body.site-brand h1,
html[dir='rtl'] body.site-brand h1 {
  line-height: 1.35;
  font-weight: 700;
}

html[lang='ar'] body.site-brand h2,
html[dir='rtl'] body.site-brand h2 {
  line-height: 1.4;
  font-weight: 700;
}

html[lang='ar'] body.site-brand .hero-lead,
html[lang='ar'] body.site-brand p,
html[dir='rtl'] body.site-brand .hero-lead,
html[dir='rtl'] body.site-brand p {
  line-height: 1.8;
}

html[lang='ar'] body.site-brand .section-label,
html[dir='rtl'] body.site-brand .section-label {
  letter-spacing: 0.04em;
}

body.site-brand .container {
  max-width: var(--container);
}

/* Header — consulting firm calm */
body.site-brand .main-header {
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 163, 90, 0.18);
}

body.site-brand .main-header .logo-text strong,
body.site-brand .main-nav a,
body.site-brand .header-signin,
body.site-brand .lang-btn,
body.site-brand .theme-btn {
  color: #e9eef7;
}

body.site-brand .logo-text small {
  color: rgba(233, 238, 247, 0.55);
}

body.site-brand .main-nav a:hover {
  color: var(--tiba-gold);
}

body.site-brand .header-cta-primary {
  background: var(--tiba-gold);
  color: var(--tiba-navy);
  border: none;
  font-weight: 700;
}

body.site-brand .header-cta-primary:hover {
  background: #d4b56a;
}

body.site-brand .btn-primary {
  background: var(--tiba-gold);
  border-color: var(--tiba-gold);
  color: var(--tiba-navy);
  font-weight: 700;
  box-shadow: none;
}

body.site-brand .btn-primary:hover {
  background: #d4b56a;
  border-color: #d4b56a;
}

body.site-brand .btn-outline {
  background: transparent;
  border: 2px solid rgba(233, 238, 247, 0.55);
  color: #f4f1ea;
  -webkit-text-fill-color: #f4f1ea;
}

body.site-brand .btn-outline:hover {
  background: rgba(196, 163, 90, 0.14);
  border-color: var(--tiba-gold);
  color: #f4f1ea;
  -webkit-text-fill-color: #f4f1ea;
}

/* Outline on light surfaces: dark text, not ghost-white */
body.site-brand .visual-story .btn-outline,
body.site-brand .challenge .btn-outline,
body.site-brand .capabilities .btn-outline,
body.site-brand .sectors .btn-outline,
body.site-brand .outcomes .btn-outline,
body.site-brand .trust-band .btn-outline,
body.site-brand section.alt .btn-outline,
body.site-brand .section.alt .btn-outline,
body.site-brand .pricing-grid .btn-outline,
body.site-brand .price-card .btn-outline {
  background: transparent;
  border-color: rgba(11, 18, 32, 0.28);
  color: var(--tiba-navy);
  -webkit-text-fill-color: var(--tiba-navy);
}

body.site-brand .visual-story .btn-outline:hover,
body.site-brand .challenge .btn-outline:hover,
body.site-brand .capabilities .btn-outline:hover,
body.site-brand .sectors .btn-outline:hover,
body.site-brand .outcomes .btn-outline:hover,
body.site-brand .trust-band .btn-outline:hover,
body.site-brand section.alt .btn-outline:hover,
body.site-brand .section.alt .btn-outline:hover,
body.site-brand .pricing-grid .btn-outline:hover,
body.site-brand .price-card .btn-outline:hover {
  border-color: var(--tiba-gold);
  color: var(--brand-deep);
  -webkit-text-fill-color: var(--brand-deep);
  background: var(--tiba-gold-soft);
}

html[data-theme='dark'] body.site-brand .visual-story .btn-outline,
html[data-theme='dark'] body.site-brand .challenge .btn-outline,
html[data-theme='dark'] body.site-brand .capabilities .btn-outline,
html[data-theme='dark'] body.site-brand .sectors .btn-outline,
html[data-theme='dark'] body.site-brand .outcomes .btn-outline,
html[data-theme='dark'] body.site-brand .trust-band .btn-outline,
html[data-theme='dark'] body.site-brand section.alt .btn-outline,
html[data-theme='dark'] body.site-brand .section.alt .btn-outline,
html[data-theme='dark'] body.site-brand .price-card .btn-outline {
  border-color: rgba(233, 238, 247, 0.35);
  color: #e9eef7;
  -webkit-text-fill-color: #e9eef7;
}

/* ===== Enterprise home ===== */
.hero--enterprise {
  position: relative;
  min-height: min(94vh, 920px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 120px) 0 clamp(64px, 8vw, 100px);
  overflow: hidden;
  background: var(--tiba-navy);
  color: #e9eef7;
}

.hero--enterprise .hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-enterprise-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 20%, rgba(196, 163, 90, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(27, 107, 99, 0.18) 0%, transparent 55%),
    linear-gradient(160deg, #070b14 0%, #0b1220 45%, #121a2b 100%);
}

.hero-enterprise-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(196, 163, 90, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 163, 90, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, #000 15%, transparent 100%);
}

.hero-enterprise-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.brand-wordmark {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--tiba-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero--enterprise h1 {
  margin: 0;
  font-size: clamp(2.55rem, 5.8vw, 4.1rem);
  line-height: 1.05;
  font-weight: 800;
  color: #f4f1ea;
}

.hero--enterprise h1 .line-2 {
  display: block;
  margin-top: 0.08em;
  color: #d4b56a;
  font-size: 0.78em;
  font-weight: 700;
}

.hero--enterprise .hero-lead {
  margin: 22px 0 0;
  max-width: 36rem;
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
  line-height: 1.6;
  color: rgba(233, 238, 247, 0.78);
}

.hero-actions-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(233, 238, 247, 0.12);
  font-size: 0.92rem;
  color: rgba(233, 238, 247, 0.55);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tiba-gold);
  opacity: 0.85;
}

/* Hero product stage */
.enterprise-stage {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196, 163, 90, 0.22);
  background:
    linear-gradient(165deg, rgba(196, 163, 90, 0.08), transparent 40%),
    #121a2b;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: stage-in 0.9s var(--ease-out) both;
}

@keyframes stage-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.enterprise-stage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(233, 238, 247, 0.08);
  font-size: 0.8rem;
  color: rgba(233, 238, 247, 0.55);
}

.enterprise-stage__live {
  color: #7dd3c0;
  font-weight: 600;
}

.enterprise-stage__body {
  padding: 20px 18px 22px;
}

.ai-emp-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #f4f1ea;
  letter-spacing: -0.02em;
}

.ai-emp-role {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(233, 238, 247, 0.72);
}

.founder-quote {
  margin: 0 0 18px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--tiba-gold);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.015em;
}

html[dir='rtl'] .founder-quote {
  padding: 0 18px 0 0;
  border-left: 0;
  border-right: 3px solid var(--tiba-gold);
}

.enterprise-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.enterprise-kpi {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(233, 238, 247, 0.08);
}

.enterprise-kpi strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: var(--tiba-gold);
  line-height: 1.1;
}

.enterprise-kpi span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(233, 238, 247, 0.55);
}

.enterprise-modules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.enterprise-modules li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.45);
  border: 1px solid rgba(233, 238, 247, 0.06);
}

.enterprise-modules strong {
  font-size: 0.95rem;
  color: #f4f1ea;
}

.enterprise-modules span {
  font-size: 0.8rem;
  color: rgba(233, 238, 247, 0.5);
}

/* Challenge / solution — product-company narrative */
.challenge {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--surface);
}

.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}

.challenge-col {
  padding: 28px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.challenge-col--before {
  background: var(--surface-alt);
}

.challenge-col--after {
  background:
    linear-gradient(165deg, rgba(196, 163, 90, 0.1), transparent 55%),
    var(--surface);
  border-color: rgba(196, 163, 90, 0.35);
}

.challenge-col h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.challenge-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.challenge-col li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.challenge-col li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.challenge-col--after li::before {
  background: var(--tiba-gold);
}

.challenge-col--after li {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 800px) {
  .challenge-grid {
    grid-template-columns: 1fr;
  }
}

/* Manifesto */
.manifesto {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--tiba-navy-2);
  color: #e9eef7;
  text-align: center;
}

.manifesto__eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tiba-gold);
}

.manifesto__title {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 700;
}

.manifesto__lead {
  margin: 20px auto 0;
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(233, 238, 247, 0.72);
}

/* Capability rows */
.capabilities {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--tiba-paper);
}

html[data-theme='dark'] .capabilities {
  background: var(--surface-alt);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-intro .section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tiba-teal);
}

.section-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.15;
}

.section-intro p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
}

.capability-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.capability-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: start;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.capability-row:hover {
  background: rgba(196, 163, 90, 0.05);
}

.capability-row__index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tiba-gold);
  letter-spacing: 0.08em;
}

.capability-row h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.capability-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 42rem;
}

.capability-row__link {
  font-weight: 700;
  color: var(--tiba-ink);
  white-space: nowrap;
  align-self: center;
}

html[data-theme='dark'] .capability-row__link {
  color: var(--tiba-gold);
}

.capability-row__link:hover {
  color: var(--tiba-teal);
}

/* Platform identity band */
.identity-band {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--tiba-navy);
  color: #e9eef7;
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.identity-grid .section-label {
  color: var(--tiba-gold);
}

.identity-grid h2 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: #f4f1ea;
}

.identity-grid > div > p {
  margin: 0 0 18px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(233, 238, 247, 0.75);
}

.identity-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.identity-points li {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(233, 238, 247, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.identity-visual {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196, 163, 90, 0.25);
  padding: 28px 24px;
  background:
    linear-gradient(145deg, rgba(27, 107, 99, 0.18), transparent 50%),
    #121a2b;
}

.identity-visual__title {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tiba-gold);
}

.identity-flow {
  display: grid;
  gap: 10px;
}

.identity-flow span {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid rgba(233, 238, 247, 0.08);
  font-weight: 600;
  text-align: center;
}

.identity-flow span.is-core {
  background: rgba(196, 163, 90, 0.14);
  border-color: rgba(196, 163, 90, 0.35);
  color: #f4f1ea;
}

.identity-flow .arrow {
  text-align: center;
  color: rgba(233, 238, 247, 0.35);
  font-size: 1.1rem;
  padding: 0;
  border: none;
  background: none;
}

/* Sectors */
.sectors {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--surface);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sector-card {
  padding: 28px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out);
}

.sector-card:hover {
  border-color: rgba(196, 163, 90, 0.5);
  transform: translateY(-2px);
}

.sector-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.sector-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

/* Outcomes */
.outcomes {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--tiba-paper);
}

html[data-theme='dark'] .outcomes {
  background: var(--surface-alt);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.outcome-item {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.outcome-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.outcome-item span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Offer */
.offer-enterprise {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--tiba-navy-2);
  color: #e9eef7;
}

.offer-enterprise .section-label {
  color: var(--tiba-gold);
}

.offer-enterprise h2 {
  color: #f4f1ea;
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.offer-enterprise .section-intro p {
  color: rgba(233, 238, 247, 0.72);
}

.offer-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.offer-detail article {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(233, 238, 247, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.offer-detail h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--tiba-gold);
}

.offer-detail p {
  margin: 0;
  color: rgba(233, 238, 247, 0.7);
  line-height: 1.5;
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Trust / about */
.trust-band {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.trust-grid h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.trust-grid p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.trust-creds {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.trust-creds li {
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--tiba-gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.trust-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(196, 163, 90, 0.08), transparent 50%),
    var(--surface);
  text-align: center;
}

.trust-card__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tiba-navy);
  color: var(--tiba-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.trust-card h3 {
  margin: 0 0 4px;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Convert */
.convert-band--enterprise {
  background: linear-gradient(125deg, #0b1220 0%, #151d2e 55%, #1b6b63 160%);
  color: #e9eef7;
}

.convert-band--enterprise h2 {
  color: #f4f1ea;
}

.convert-band--enterprise p {
  color: rgba(233, 238, 247, 0.75);
}

/* Contact polish */
body.site-brand .contact {
  background: var(--tiba-navy);
}

body.site-brand .contact-head h2 {
  color: #f4f1ea;
}

body.site-brand .contact-lead {
  color: rgba(233, 238, 247, 0.7);
}

body.site-brand .contact-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(233, 238, 247, 0.1);
}

/* Footer enterprise */
body.site-brand footer {
  background: #070b14;
  border-top: 1px solid rgba(196, 163, 90, 0.15);
  padding: 40px 0 32px;
}

.footer-enterprise {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-enterprise strong {
  display: block;
  margin-bottom: 8px;
  color: var(--tiba-gold);
  font-family: var(--font-display);
}

.footer-enterprise p,
.footer-enterprise a {
  color: rgba(233, 238, 247, 0.65);
  line-height: 1.7;
}

.footer-enterprise a:hover {
  color: var(--tiba-gold);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(233, 238, 247, 0.08);
  font-size: 0.85rem;
  color: rgba(233, 238, 247, 0.45);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-enterprise-layout,
  .identity-grid,
  .trust-grid,
  .footer-enterprise {
    grid-template-columns: 1fr;
  }

  .capability-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .capability-row__link {
    justify-self: start;
  }

  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-detail {
    grid-template-columns: 1fr;
  }

  .hero--enterprise {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .sector-grid,
  .outcome-grid,
  .enterprise-kpis {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .enterprise-stage {
    animation: none;
  }
}

/* ===== Photography + motion (product-company polish) ===== */
.hero--photo {
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: hero-ken 22s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-photo-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.78) 42%, rgba(7, 11, 20, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.35) 0%, rgba(7, 11, 20, 0.75) 100%);
}

.hero--photo .hero-enterprise-grid {
  z-index: 2;
  opacity: 0.18;
}

.hero--photo .hero-enterprise-layout {
  z-index: 3;
}

@keyframes hero-ken {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.hero-copy--animate > * {
  animation: rise-in 0.85s var(--ease-out) both;
}
.hero-copy--animate > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy--animate > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy--animate > *:nth-child(3) { animation-delay: 0.22s; }
.hero-copy--animate > *:nth-child(4) { animation-delay: 0.3s; }
.hero-copy--animate > *:nth-child(5) { animation-delay: 0.38s; }

.enterprise-stage--animate {
  animation: rise-in 0.95s var(--ease-out) 0.28s both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.visual-story {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--surface);
}

.visual-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.visual-story__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.visual-story__media img {
  display: block;
  width: 100%;
  height: min(460px, 58vw);
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.visual-story__media:hover img {
  transform: scale(1.04);
}

.visual-story__copy .section-label {
  color: var(--tiba-teal);
}

.visual-story__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.15;
}

.visual-story__copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.challenge-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.challenge-media img {
  display: block;
  width: 100%;
  height: min(520px, 70vh);
  object-fit: cover;
}

.sector-card--photo {
  overflow: hidden;
  padding: 0 0 22px;
}

.sector-card__img {
  margin: 0 0 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.sector-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.sector-card--photo:hover .sector-card__img img {
  transform: scale(1.05);
}

.sector-card--photo h3,
.sector-card--photo p,
.sector-card--photo .suite-card-link {
  padding-inline: 22px;
}

.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.is-stagger-visible .reveal-child {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .visual-story__grid,
  .challenge-layout {
    grid-template-columns: 1fr;
  }

  .challenge-media {
    position: static;
  }

  .challenge-media img,
  .visual-story__media img {
    height: min(300px, 55vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .hero-copy--animate > *,
  .enterprise-stage--animate,
  .visual-story__media img,
  .sector-card__img img,
  .reveal-child {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== Subpages aligned to homepage ===== */
body.site-brand.subpage .topbar,
body.site-brand.subpage .utility-bar {
  display: none !important;
}

body.site-brand .page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 88px);
  background: var(--tiba-navy);
  color: #e9eef7;
}

body.site-brand .page-hero--photo .page-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

body.site-brand .page-hero--photo .page-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.72) 55%, rgba(7, 11, 20, 0.55) 100%);
}

body.site-brand .page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

body.site-brand .page-hero .kicker,
body.site-brand .page-hero .section-label {
  color: var(--tiba-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.site-brand .page-hero h1 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  color: #f4f1ea;
  letter-spacing: -0.02em;
}

body.site-brand .page-hero-lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(233, 238, 247, 0.78);
}

body.site-brand .page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

body.site-brand.subpage .section {
  padding: clamp(56px, 8vw, 96px) 0;
}

body.site-brand.subpage .convert-band {
  background: linear-gradient(125deg, #0b1220 0%, #151d2e 55%, #1b6b63 160%);
}

body.site-brand.subpage .price-card,
body.site-brand.subpage .card,
body.site-brand.subpage .offer-step,
body.site-brand.subpage .industry-card,
body.site-brand.subpage .founder-card,
body.site-brand.subpage .outcome-card,
body.site-brand.subpage .faq-item {
  border-radius: var(--radius-md);
  border-color: var(--line);
}

body.site-brand.subpage .price-card--featured {
  border-color: rgba(196, 163, 90, 0.5);
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.2);
}

body.site-brand.subpage .btn-primary {
  background: var(--tiba-gold);
  border-color: var(--tiba-gold);
  color: var(--tiba-navy);
}

body.site-brand.subpage footer {
  background: #070b14;
  border-top: 1px solid rgba(196, 163, 90, 0.15);
  padding: 40px 0 32px;
}

body.site-brand.subpage .footer-inner,
body.site-brand.subpage .footer-tagline,
body.site-brand.subpage .footer-meta,
body.site-brand.subpage .footer-meta a {
  color: rgba(233, 238, 247, 0.65);
}

body.site-brand.subpage .footer-meta a:hover {
  color: var(--tiba-gold);
}

.sector-hero-media {
  margin: 0 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.sector-hero-media img {
  display: block;
  width: 100%;
  height: min(360px, 48vw);
  object-fit: cover;
}
