/* ============================================================
   OutsourceZen AI — interior page chrome
   Builds on styles.css (tokens, buttons, nav, footer)
   ============================================================ */

/* Skip-to-content link (accessibility — visible on focus) */
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 300; background: var(--orange); color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 0 0 10px 10px; text-decoration: none; transition: top 160ms ease; }
.skip-link:focus { top: 0; outline: 3px solid #fff; }

/* Visible keyboard focus indicators (WCAG 2.1 AA) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Interior nav: solid white from the top */
.nav.solid { background: #fff; box-shadow: 0 1px 0 rgba(16,24,40,.06); padding: 14px 0; }
.nav.solid.lifted { box-shadow: 0 1px 0 rgba(16,24,40,.08), var(--shadow-sm); }
body.interior { padding-top: 74px; }

/* ---------- Page hero / banner ---------- */
.page-hero {
  background:
    radial-gradient(900px 480px at 88% -20%, rgba(244,123,32,.20), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 70px 0 78px; position: relative; overflow: hidden;
}
.page-hero::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(160deg,#000 30%,transparent 85%); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: #ffb979; }
.page-hero .eyebrow::before { background: #ffb979; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 700; margin: 16px 0 18px; max-width: 760px; }
.page-hero p { font-size: 19px; color: rgba(255,255,255,.82); max-width: 600px; text-wrap: pretty; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ---------- Generic content sections ---------- */
.section { padding: var(--s8) 0; }
.section.tight { padding: var(--s7) 0; }
.section.gray { background: var(--bg); }
.section.navy { background: var(--navy); color: rgba(255,255,255,.82); }

/* Mission pull-quote band */
.mission-band { background: var(--navy); color: #fff; padding: var(--s8) 0; text-align: center; position: relative; overflow: hidden; }
.mission-band::before { content:"\201C"; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-size: 220px; color: rgba(244,123,32,.16); line-height: 1; }
.mission-band .container { position: relative; max-width: 940px; }
.mission-band p { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.3; color: #fff; }
.mission-band p .hl { color: var(--orange); }
.mission-band .attrib { margin-top: 28px; color: rgba(255,255,255,.6); font-family: var(--body); font-size: 16px; }

/* Two-column split (vision etc.) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(28px,3.6vw,38px); font-weight: 600; margin-bottom: 18px; }
.split p { color: #5b6577; font-size: 17px; margin-bottom: 16px; }
.split-visual { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.split-visual image-slot { width: 100%; height: 100%; display: block; }

/* ---------- Value cards (6) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); }
.value-card { background: #fff; border: 1px solid var(--gray); border-radius: var(--radius); padding: 30px; transition: transform var(--ease), box-shadow var(--ease); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-card .v-ico { width: 52px; height: 52px; border-radius: 13px; background: rgba(244,123,32,.1); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.value-card .v-ico svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.value-card p { color: #5b6577; font-size: 15px; }

/* ---------- Team cards ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); }
.team-card { background: #fff; border: 1px solid var(--gray); border-radius: var(--radius); overflow: hidden; text-align: center; transition: transform var(--ease), box-shadow var(--ease); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 1/1; background: var(--bg); }
.team-photo image-slot { width: 100%; height: 100%; display: block; }
.team-body { padding: 22px; }
.team-body h3 { font-size: 19px; font-weight: 600; }
.team-body .role { color: var(--blue); font-family: var(--display); font-weight: 600; font-size: 14px; margin: 4px 0 14px; }
.team-body .li { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg); color: var(--navy); }
.team-body .li:hover { background: var(--navy); color: #fff; }
.team-body .li svg { width: 18px; height: 18px; }

/* ---------- Timeline ---------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content:""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--gray); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -34px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--orange); }
.tl-item.gray-bg .tl-dot { background: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.tl-year { font-family: var(--display); font-weight: 700; color: var(--orange); font-size: 15px; letter-spacing: .04em; }
.tl-item h3 { font-size: 21px; font-weight: 600; margin: 4px 0 8px; }
.tl-item p { color: #5b6577; font-size: 16px; }

/* ---------- Alternating service blocks ---------- */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; padding: var(--s6) 0; }
.svc-block + .svc-block { border-top: 1px solid var(--gray); }
.svc-block.reverse .svc-block-media { order: 2; }
.svc-block-media { border-radius: 22px; aspect-ratio: 5/4; background: linear-gradient(150deg, var(--cool), #dceaf6); display: grid; place-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.svc-block-media .big-ico { width: 96px; height: 96px; color: var(--blue); }
.svc-block-media .big-ico svg { width: 100%; height: 100%; }
/* Service media panel as an uploadable photo */
.svc-block-media { overflow: hidden; }
.svc-block-media image-slot.svc-photo { width: 100%; height: 100%; display: block; }
.svc-block-media image-slot.svc-photo::part(frame) { background: transparent; }
.svc-block.warm .svc-block-media { background: linear-gradient(150deg, var(--warm), #ffe2c4); }
.svc-block.warm .big-ico { color: var(--orange); }
.svc-block-body .big-ico { width: 60px; height: 60px; border-radius: 15px; background: rgba(244,123,32,.1); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.svc-block-body .big-ico svg { width: 30px; height: 30px; }
.svc-block-body h2 { font-size: clamp(26px,3.4vw,34px); font-weight: 600; margin-bottom: 14px; }
.svc-block-body > p { color: #5b6577; font-size: 17px; margin-bottom: 22px; }
.benefit-list { list-style: none; margin-bottom: 26px; display: flex; flex-direction: column; gap: 12px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.benefit-list li svg { width: 22px; height: 22px; color: var(--success); flex: none; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--navy), var(--navy-2)); color: #fff; padding: var(--s7) 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px,3.6vw,40px); font-weight: 700; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 18px; margin-bottom: 30px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Why-Filipino 8-card grid (employer landing) ---------- */
.attr-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s3); }
.attr-card { background: #fff; border: 1px solid var(--gray); border-radius: var(--radius); padding: 26px; transition: transform var(--ease), box-shadow var(--ease); }
.attr-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.attr-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(244,123,32,.1); color: var(--orange); display: grid; place-items: center; margin-bottom: 16px; }
.attr-ico svg { width: 24px; height: 24px; }
.attr-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.attr-card p { color: #5b6577; font-size: 14px; line-height: 1.55; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .value-grid, .team-grid { grid-template-columns: repeat(2,1fr); }
  .attr-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  body.interior { padding-top: 66px; }
  .split, .svc-block { grid-template-columns: 1fr; gap: var(--s4); }
  .split.reverse > :first-child, .svc-block.reverse .svc-block-media { order: 0; }
  .value-grid, .team-grid, .attr-grid { grid-template-columns: 1fr; }
  .section { padding: var(--s7) 0; }
}
