/* =========================================================================
   ESS — Interior pages (About, Service, Contact, Join)
   Built on styles.css tokens. Adds editorial / immersive / full-width
   storytelling components for more varied compositions.
   ========================================================================= */

/* ---------- Page hero (full-bleed image) ---------- */
.phero { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; padding-block: 150px 84px; }
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,38,.88) 0%, rgba(6,20,38,.55) 52%, rgba(6,20,38,.15) 100%); }
.phero--center .phero__bg::after { background: linear-gradient(180deg, rgba(6,20,38,.68), rgba(6,20,38,.62)); }
.phero__inner { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.phero--center .phero__inner { max-width: 780px; margin-inline: auto; text-align: center; }
.phero .eyebrow { color: #8FC9FF; }
.phero--center .eyebrow { justify-content: center; }
.phero h1 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 3.7rem); margin-top: 16px; line-height: 1.07; letter-spacing: -0.02em; }
.phero p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-top: 18px; max-width: 560px; line-height: 1.6; }
.phero--center p { margin-inline: auto; }
.phero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.phero--center .phero__actions { justify-content: center; }
.phero__stats { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.phero__stats .n { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: #fff; line-height: 1; }
.phero__stats .l { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 7px; }

/* ---------- Immersive full-width image band ---------- */
.imgband { position: relative; min-height: clamp(380px, 56vh, 600px); display: flex; align-items: center; overflow: hidden; }
.imgband__bg { position: absolute; inset: 0; }
.imgband__bg img { width: 100%; height: 100%; object-fit: cover; }
.imgband__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,37,64,.5), rgba(10,37,64,.8)); }
.imgband--left .imgband__bg::after { background: linear-gradient(90deg, rgba(10,37,64,.9) 0%, rgba(10,37,64,.45) 60%, rgba(10,37,64,.05) 100%); }
.imgband__inner { position: relative; z-index: 2; color: #fff; text-align: center; max-width: 820px; margin-inline: auto; padding-block: 80px; }
.imgband--left .imgband__inner { text-align: left; margin-inline: 0; max-width: 600px; }
.imgband .eyebrow { color: #8FC9FF; justify-content: center; }
.imgband--left .eyebrow { justify-content: flex-start; }
.imgband h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3.1rem); margin-top: 14px; line-height: 1.12; }
.imgband__q { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; letter-spacing: -0.01em; }
.imgband p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.4vw, 1.18rem); margin-top: 18px; line-height: 1.65; }
.imgband__actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.imgband--left .imgband__actions { justify-content: flex-start; }

/* ---------- Premium feature band (Meet The Team) ---------- */
.imgband--feature { min-height: clamp(580px, 80vh, 780px); }
.imgband--feature .imgband__bg::after { background: linear-gradient(180deg, rgba(6,20,38,.84) 0%, rgba(6,20,38,.52) 44%, rgba(7,22,42,.93) 100%); }
.imgband--feature .imgband__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 48% at 50% 50%, rgba(0,0,0,.30), transparent 70%); }
.imgband--feature .imgband__inner { max-width: 900px; padding-block: 104px; }
.imgband--feature .eyebrow { color: #8FC9FF; letter-spacing: .16em; }
.imgband__title { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -0.022em; margin-top: 16px; text-shadow: 0 2px 34px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.45); }
.imgband--feature p { font-size: clamp(1.08rem, 1.5vw, 1.28rem); max-width: 690px; margin-inline: auto; color: rgba(255,255,255,.9); text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.imgband__tags { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.imgband__tags span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: #eaf4ff; padding: 9px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--pill); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.imgband__tags span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8FC9FF; box-shadow: 0 0 8px rgba(143,201,255,.9); }

/* ---------- Editorial split (large image, generous) ---------- */
.edit { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.edit--reverse .edit__media { order: 2; }
.edit__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; position: relative; }
.edit__media img { width: 100%; height: 100%; object-fit: cover; }
.edit__media .float-stat { position: absolute; left: -20px; bottom: -22px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 22px; }
.edit__media .float-stat .n { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--navy); line-height: 1; }
.edit__media .float-stat .l { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.edit__body .h2 { margin-top: 18px; }
.edit__body .lead { margin-top: 18px; }
.edit__body p + p { margin-top: 14px; }

/* ---------- Stat band (navy) ---------- */
.statbar { background: linear-gradient(180deg, #0A2540 0%, #0E3463 58%, #134A85 100%); color: #fff; position: relative; }
.statbar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, rgba(143,201,255,.12), transparent 60%); pointer-events: none; }
.statbar .container { position: relative; z-index: 1; }
.statbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.statbar__item .n { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3vw, 2.8rem); color: #fff; line-height: 1; }
.statbar__item .l { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-top: 10px; }

/* ---------- Editorial timeline (Our Journey) ---------- */
.tl { max-width: 860px; margin: 48px auto 0; }
.tl__item { display: flex; gap: 26px; padding-bottom: 36px; position: relative; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: -4px; width: 2px; background: linear-gradient(var(--blue), rgba(0,85,212,.1)); }
.tl__node { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: center; z-index: 1; box-shadow: 0 8px 20px rgba(10,37,64,.18); }
.tl__body { padding-top: 6px; }
.tl__body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.tl__body p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Process steps (big editorial numbers) ---------- */
.pstep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pstep { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.pstep:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.pstep__n { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--azure); }
.pstep:hover .pstep__n { color: var(--blue); }
.pstep h3 { font-size: 1.12rem; margin: 12px 0 8px; }
.pstep p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Service feature blocks (icon + heading + checklist) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.svc--reverse .svc__media { order: 2; }
.svc__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__ic { width: 60px; height: 60px; border-radius: 16px; background: var(--azure); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.svc__ic .ic { width: 30px; height: 30px; }

/* ---------- Coverage grid ---------- */
.cov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cov-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.cov-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.cov-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.cov-card h3 .ic { color: var(--blue); width: 19px; height: 19px; flex: none; }
.cov-card a, .cov-card span.line { display: block; color: var(--ink-soft); font-size: 14.5px; margin-top: 9px; }
.cov-card a:hover { color: var(--blue); }

/* ---------- Contact form ---------- */
.contact-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 42px); box-shadow: var(--shadow-sm); }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,85,212,.14); }
.cform .btn { width: 100%; margin-top: 8px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__ic { flex: none; width: 50px; height: 50px; border-radius: 13px; background: var(--azure); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.contact-info__ic .ic { width: 24px; height: 24px; }
.contact-info__item b { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.contact-info__item a, .contact-info__item span { color: var(--ink-soft); font-size: 15px; }
.contact-info__item a:hover { color: var(--blue); }

/* ---------- Map / location ---------- */
.map-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21/9; background: linear-gradient(135deg, #dfeaf6, #eef6fc); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.map-band img { width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: relative; z-index: 2; text-align: center; color: var(--navy); }
.map-pin .ic { width: 46px; height: 46px; color: var(--blue); }

/* ---------- Jobs ---------- */
.jobs { display: flex; flex-direction: column; gap: 16px; max-width: 880px; margin-inline: auto; }
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 24px; transition: border-color .25s ease, box-shadow .25s ease; flex-wrap: wrap; }
.job:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.job__title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.job__meta { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.job__tag { background: var(--azure); color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: var(--pill); }
.job .btn { flex: none; }

/* ---------- FAQ accordion (shares main.js with .pp-faq__*) ---------- */
.pp-faq { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin-inline: auto; }
.pp-faq__item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .2s ease; }

/* ---- Premium glass cards ---- */
.pstep, .cov-card, .cform, .job, .pp-faq__item { background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(206,219,236,.7); box-shadow: 0 18px 40px rgba(10,42,90,.10), inset 0 1px 0 rgba(255,255,255,.7); }
.pp-faq__item.is-open { border-color: var(--blue); }
.pp-faq__q { width: 100%; background: none; border: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--navy); }
.pp-faq__q .ic { flex: none; width: 22px; height: 22px; color: var(--blue); transition: transform .3s ease; }
.pp-faq__item.is-open .pp-faq__q .ic { transform: rotate(180deg); }
.pp-faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.pp-faq__a-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* ---------- Values / culture cards reuse .card from styles.css ---------- */
.icon-list { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-list .ic-c { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--azure); color: var(--blue); display: flex; align-items: center; justify-content: center; }

/* Glass icon tiles — blue-grey shading */
.svc__ic, .contact-info__ic, .icon-list .ic-c { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(206,215,229,.62) 100%); -webkit-backdrop-filter: blur(10px) saturate(125%); backdrop-filter: blur(10px) saturate(125%); border: 1px solid rgba(255,255,255,.78); box-shadow: 0 10px 22px rgba(20,40,70,.12), inset 0 1px 0 rgba(255,255,255,.8); }
.icon-list .ic-c .ic { width: 22px; height: 22px; }
.icon-list b { display: block; color: var(--navy); font-size: 15.5px; }
.icon-list span.d { color: var(--ink-soft); font-size: 14px; }

/* ---------- Legal / content pages ---------- */
.legal-hero { background: linear-gradient(155deg, #0A2540 0%, #06142a 100%); color: #fff; padding: 150px 0 70px; position: relative; }
.legal-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(143,201,255,.4), transparent); }
.legal-hero .eyebrow { color: #8FC9FF; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.05rem); margin-top: 14px; letter-spacing: -0.02em; line-height: 1.08; }
.legal-hero p { color: rgba(255,255,255,.72); margin-top: 12px; font-size: 1.05rem; }
.legal { max-width: 860px; margin-inline: auto; }
.legal__lead { font-size: 17px; color: var(--ink); line-height: 1.7; margin-bottom: 26px; }
.legal h2 { font-size: 1.45rem; color: var(--navy); margin: 40px 0 16px; letter-spacing: -0.01em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--ink-soft); font-size: 16px; line-height: 1.78; margin-bottom: 18px; }
.legal ul, .legal ol { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.legal li { position: relative; color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin-bottom: 12px; padding-left: 30px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.legal a { color: var(--blue); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal__note { margin-top: 30px; padding: 22px 26px; background: var(--azure-soft, #F0F7FF); border: 1px solid var(--line-soft); border-left: 3px solid var(--blue); border-radius: var(--radius); }
.legal__note p { margin: 0; font-size: 15px; }
.legal__meta { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.lang-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.lang-tab { appearance: none; background: none; border: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 12px 20px; border-radius: 9px 9px 0 0; position: relative; transition: color .2s ease, background .2s ease; }
.lang-tab:hover { color: var(--navy); background: var(--bg); }
.lang-tab.is-active { color: var(--blue); }
.lang-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); border-radius: 3px 3px 0 0; }
.lang-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lang-panel { animation: langfade .35s ease; }
.lang-panel[hidden] { display: none; }
@keyframes langfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .edit, .svc, .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .edit--reverse .edit__media, .svc--reverse .svc__media { order: 0; }
  .pstep-grid, .cov-grid { grid-template-columns: repeat(2, 1fr); }
  .statbar__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 640px) {
  .phero { min-height: auto; padding-block: 130px 64px; }
  .imgband__inner { padding-block: 64px; }
  .imgband--feature { min-height: auto; }
  .imgband--feature .imgband__inner { padding-block: 80px; }
  .pstep-grid, .cov-grid, .cform__grid, .statbar__grid { grid-template-columns: 1fr; }
  .edit__media .float-stat { position: relative; left: 0; bottom: 0; margin-top: 16px; display: inline-block; }
  .job { flex-direction: column; align-items: flex-start; }
  .phero__stats { gap: 26px; }
}
