/* ============================================================
   818 Business Solutions — Interior page styles
   Loads alongside 818-home.css (design-system tokens + shared
   nav/footer/glass-cta/cursor). Dark-first, gold accent, Amiri.
   ============================================================ */

.ipage-wrap { position: relative; background: #05080F; color: #EBE7D8; font-family: var(--font-body); overflow: clip; }

/* ---- shared type helpers ---- */
.eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #C6A877; }
.i-h2 { margin: 0 0 24px; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.14; color: #EBE7D8; text-wrap: balance; }
.i-h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.25; color: #EBE7D8; }
.i-lead { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: rgba(235,231,216,0.72); text-wrap: pretty; }
.i-body { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: rgba(235,231,216,0.6); text-wrap: pretty; }
.i-inner { max-width: 1240px; margin: 0 auto; }

/* ---- page hero (compact banner) ---- */
.ihero { position: relative; padding: 72px 6vw 88px; overflow: hidden; border-bottom: 1px solid rgba(235,231,216,0.08); background:
    radial-gradient(120% 90% at 82% 0%, rgba(18,44,72,0.55) 0%, rgba(5,8,15,0) 60%),
    linear-gradient(180deg, #0b1320 0%, #05080F 100%); }
.ihero-ghost { position: absolute; top: 20px; right: -1vw; margin: 0; font-family: var(--font-display); font-size: clamp(120px, 20vw, 300px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(235,231,216,0.05); user-select: none; pointer-events: none; white-space: nowrap; }
.ihero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; }
.ihero h1 { margin: 14px 0 22px; font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.06; letter-spacing: -0.01em; color: #EBE7D8; text-wrap: balance; background: linear-gradient(180deg, #ffffff 0%, #faf7f1 60%, rgba(247,243,236,0.78) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ihero .i-lead { max-width: 620px; }
.breadcrumb { font-size: 13px; letter-spacing: 0.04em; color: rgba(235,231,216,0.5); }
.breadcrumb a { color: rgba(235,231,216,0.5); text-decoration: none; }
.breadcrumb a:hover { color: #C6A877; }

/* ---- generic section ---- */
.isection { position: relative; padding: 104px 6vw; }
.isection--panel { background: #0E1929; border-top: 1px solid rgba(235,231,216,0.06); border-bottom: 1px solid rgba(235,231,216,0.06); }
.isection--tight { padding: 72px 6vw; }

/* ---- two-column intro ---- */
.grid-2c { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.grid-2c--even { grid-template-columns: 1fr 1fr; align-items: center; }

/* ---- vision / mission cards ---- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { position: relative; padding: 40px 36px; background: linear-gradient(160deg, #0E1929 0%, #05080F 100%); border: 1px solid rgba(198,168,119,0.22); border-radius: 10px; }
.vm-card::before { content: ""; position: absolute; left: 36px; top: 0; width: 44px; height: 2px; background: var(--gradient-gold, linear-gradient(120deg,#B8956A,#D6BD95,#C6A877,#A07F56)); }

/* ---- values grid ---- */
.val-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: rgba(235,231,216,0.08); border: 1px solid rgba(235,231,216,0.08); border-radius: 10px; overflow: hidden; }
.val-item { padding: 34px 30px; background: #05080F; transition: background 0.4s ease; }
.val-item:hover { background: #0b1320; }
.val-num { font-family: var(--font-display); font-size: 22px; color: rgba(198,168,119,0.85); }
.val-item h3 { margin: 14px 0 10px; font-family: var(--font-display); font-weight: 500; font-size: 21px; color: #EBE7D8; }
.val-item p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(235,231,216,0.55); }

/* ---- 818 launch framework steps ---- */
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 130px 1fr; gap: 36px; align-items: baseline; padding: 36px 8px; border-top: 1px solid rgba(235,231,216,0.1); transition: background 0.4s ease, padding-left 0.4s ease; }
.step:last-child { border-bottom: 1px solid rgba(235,231,216,0.1); }
.step:hover { background: linear-gradient(90deg, rgba(18,44,72,0.4), rgba(18,44,72,0)); padding-left: 20px; }
.step-num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(198,168,119,0.55); }
.step h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: 24px; color: #EBE7D8; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(235,231,216,0.6); max-width: 640px; }

/* ---- differentiator statement ---- */
.diff-quote { max-width: 900px; margin: 0 auto; text-align: center; }
.diff-quote p { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.35; color: #EBE7D8; text-wrap: balance; }
.diff-quote .accent { color: #C6A877; font-style: italic; }

/* ---- who-we-serve two cards ---- */
.serve2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.serve-card { padding: 44px 40px; background: #0E1929; border: 1px solid rgba(235,231,216,0.1); border-radius: 10px; transition: border-color 0.35s, transform 0.35s; }
.serve-card:hover { border-color: rgba(198,168,119,0.5); transform: translateY(-3px); }
.serve-card .cap { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(198,168,119,0.85); }

/* ---- industries tags ---- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: rgba(235,231,216,0.72); background: #0E1929; border: 1px solid rgba(235,231,216,0.12); border-radius: 999px; transition: border-color 0.3s, color 0.3s; }
.tag:hover { border-color: rgba(198,168,119,0.6); color: #EBE7D8; }
.tag::before { content: ""; width: 5px; height: 5px; border: 1px solid rgba(198,168,119,0.8); transform: rotate(45deg); }

/* ---- solutions list (detailed services) ---- */
.sol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.sol-card { display: flex; flex-direction: column; padding: 34px 30px; background: #0E1929; border: 1px solid rgba(235,231,216,0.1); border-radius: 10px; transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s; }
.sol-card:hover { border-color: rgba(198,168,119,0.5); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.45); }
.sol-icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(198,168,119,0.35); border-radius: 10px; color: #C6A877; margin-bottom: 26px; }
.sol-card .num { font-family: var(--font-display); font-size: 18px; color: rgba(235,231,216,0.28); }
.sol-sub { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(235,231,216,0.1); font-size: 13px; line-height: 1.8; color: rgba(98,109,118,1); }

/* ---- stat / region row ---- */
.stat-row { display: flex; flex-wrap: wrap; gap: 56px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 60px); line-height: 1; color: #EBE7D8; }
.stat span { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(198,168,119,0.85); }

/* ---- CTA band ---- */
.cta-band { position: relative; padding: 84px 6vw; text-align: center; background: linear-gradient(180deg, #0E1929 0%, #05080F 100%); border-top: 2px solid transparent; border-image: linear-gradient(90deg, rgba(198,168,119,0.1), #C6A877 50%, rgba(198,168,119,0.1)) 1; }
.cta-band h2 { margin: 0 auto 28px; max-width: 620px; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; color: #EBE7D8; text-wrap: balance; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 30px 28px; background: #0E1929; border: 1px solid rgba(235,231,216,0.1); border-radius: 10px; transition: border-color 0.3s; }
.contact-card:hover { border-color: rgba(198,168,119,0.5); }
.contact-card .ci { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(198,168,119,0.35); border-radius: 999px; color: #C6A877; }
.contact-card .lab { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(198,168,119,0.85); margin: 0 0 6px; }
.contact-card a, .contact-card p { color: rgba(235,231,216,0.75); text-decoration: none; margin: 0; font-size: 15px; line-height: 1.5; }
.contact-card a:hover { color: #C6A877; }

/* ---- reveal (interior; JS from 818-home.js observes [data-reveal]) ---- */

/* ---- clients logo wall ---- */
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(235,231,216,0.08); border: 1px solid rgba(235,231,216,0.08); border-radius: 10px; overflow: hidden; }
.logo-cell { display: grid; place-items: center; padding: 46px 30px; background: #05080F; min-height: 150px; transition: background 0.4s ease; }
.logo-cell:hover { background: #0b1320; }
.logo-cell img { max-width: 74%; max-height: 68px; object-fit: contain; opacity: 0.92; transition: opacity 0.3s; }
.logo-cell:hover img { opacity: 1; }

/* ---- why-clients points ---- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }
.why-point { padding: 28px 28px; border-left: 1px solid rgba(198,168,119,0.35); }
.why-point .n { font-family: var(--font-display); font-size: 20px; color: rgba(198,168,119,0.85); }
.why-point h3 { margin: 12px 0 8px; font-family: var(--font-display); font-weight: 500; font-size: 20px; color: #EBE7D8; }
.why-point p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(235,231,216,0.55); }

/* ---- testimonials ---- */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px,1fr)); gap: 24px; }
.tst-card { display: flex; flex-direction: column; justify-content: space-between; padding: 36px 32px; background: #0E1929; border: 1px solid rgba(235,231,216,0.1); border-radius: 10px; }
.tst-card .q { font-family: var(--font-display); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.42; color: #EBE7D8; margin: 0 0 26px; }
.tst-card .q::before { content: "\201C"; color: rgba(198,168,119,0.7); font-size: 40px; line-height: 0; vertical-align: -14px; margin-right: 6px; }
.tst-card .who b { display: block; font-size: 15px; color: #EBE7D8; font-weight: 600; }
.tst-card .who span { font-size: 13px; color: rgba(235,231,216,0.5); }

/* ---- map ---- */
.map-frame { position: relative; width: 100%; height: 440px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(198,168,119,0.24); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.05) brightness(0.9); }

/* ---- whatsapp cta ---- */
.wa-cta { display: inline-flex; align-items: center; gap: 12px; padding: 15px 30px; border-radius: 999px; background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.45); color: #EBE7D8; text-decoration: none; font-weight: 600; font-size: 14px; transition: background 0.3s, border-color 0.3s; }
.wa-cta:hover { background: rgba(37,211,102,0.2); border-color: rgba(37,211,102,0.7); color: #fff; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .grid-2c, .grid-2c--even, .vm-grid, .serve2, .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .logo-wall { grid-template-columns: repeat(2, 1fr) !important; }
  .map-frame { height: 320px !important; }
  .isection { padding: 76px 24px !important; }
  .ihero { padding: 56px 24px 64px !important; }
  .step { grid-template-columns: 84px 1fr !important; gap: 18px !important; }
  .step-num { font-size: 40px !important; }
  .stat-row { gap: 36px !important; }
  .ihero-ghost { font-size: 84px !important; }
}
