/* ──────────────────────────────────────────────────────────────────
   Binding Minds — Inner pages styles (subpages, forms, jobs)
   Loaded AFTER styles.css. Mirrors Figma sub-page chrome.
   ────────────────────────────────────────────────────────────────── */

/* Sub-page hero band (About, Contact, Industries, Jobs etc.) */
.page-hero {
  position: relative;
  padding: 110px 24px 60px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__dotted {
  position: absolute; left: 50%; top: 60px;
  width: min(1234px, 90vw); height: 700px;
  transform: translateX(-50%);
  background: url(../images/dotted-map.png) center / contain no-repeat;
  opacity: .35; pointer-events: none; z-index: -1;
}
.page-hero__halo-l, .page-hero__halo-r {
  position: absolute; width: 670px; height: 670px;
  border-radius: 50%; opacity: .55; z-index: -1; filter: blur(1px);
}
.page-hero__halo-l { left: -120px; top: 120px; background: var(--brand-soft-1); opacity: .45; }
.page-hero__halo-r { right: -120px; top: 120px; background: #e3e3e3;            opacity: .45; }
.page-hero h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(34px, 5vw, 55px); line-height: 1.1; margin: 0;
}
.page-hero__crumbs {
  margin-top: 14px; font-family: var(--f-body); font-size: 16px; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.page-hero__crumbs a { color: var(--ink); text-decoration: none; }
.page-hero__crumbs a:hover { color: var(--brand-primary); }
.page-hero__crumbs svg { width: 18px; height: 18px; opacity: .6; }
.page-hero__lead {
  max-width: 760px; margin: 18px auto 0;
  font-family: var(--f-body); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7;
  color: var(--ink-soft);
}

/* White rounded container that holds the page body (Figma pattern) */
.page-card {
  position: relative; z-index: 1;
  max-width: 1700px; margin: 0 auto;
  background: #fff; border: 1px solid #eee;
  box-shadow: 0 4px 150px rgb(208,208,208);
  border-radius: var(--radius-card-xl);
  padding: 64px clamp(24px, 5vw, 80px);
}
.page-card + .page-card { margin-top: 32px; }

/* Long-form paragraphs */
.prose p { font-family: var(--f-body); font-size: 16px; line-height: 2; color: var(--ink-soft); margin: 0 0 18px; }
.prose ul { font-family: var(--f-body); font-size: 16px; line-height: 1.8; color: var(--ink-soft); padding-left: 1.4em; margin: 0 0 18px; }
.prose ul li { margin-bottom: 8px; }
.prose h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); margin: 28px 0 16px; }
.prose h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); margin: 22px 0 12px; }
.prose strong { color: var(--ink); }

/* Forms (Contact, Login, Register, Refer) */
.form-card {
  max-width: 720px; margin: 0 auto;
  background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-card); border: 1px solid var(--rule);
}
.form-grid { display: grid; gap: 18px; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid--2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--f-body); font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  appearance: none; -webkit-appearance: none;
  font-family: var(--f-body); font-size: 15px; color: var(--ink);
  background: #f8fafc; border: 1.5px solid var(--rule);
  padding: 14px 16px; border-radius: 14px;
  transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30,144,179,.12);
}
.field--inline { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; }
.form-card button[type="submit"] {
  width: 100%; justify-content: center; margin-top: 6px;
}
.form-alt {
  text-align: center; margin-top: 18px;
  font-family: var(--f-body); font-size: 14px; color: var(--ink-soft);
}
.form-alt a { color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.form-alt a:hover { text-decoration: underline; }

/* Contact info card grid */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info { display: grid; gap: 16px; }
.contact-tile {
  background: var(--brand-soft-2); border-radius: 22px; padding: 22px;
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
}
.contact-tile__icon {
  width: 56px; height: 56px; border-radius: 16px; background: #fff;
  display: grid; place-items: center; color: var(--brand-primary);
  box-shadow: var(--shadow-card);
}
.contact-tile h3 { font-family: var(--f-body); font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.contact-tile p  { font-family: var(--f-body); font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.contact-tile a  { color: var(--ink); text-decoration: none; }
.contact-tile a:hover { color: var(--brand-primary); }

/* Auth split layout */
.auth-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch;
}
@media (max-width: 900px) { .auth-split { grid-template-columns: 1fr; } }
.auth-poster {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #143C55 100%);
  border-radius: 32px; padding: 48px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 480px; position: relative; overflow: hidden;
}
.auth-poster::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.auth-poster::after {
  content: ""; position: absolute; left: -100px; bottom: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.auth-poster h2 {
  font-family: var(--f-display); font-weight: 700; font-size: 38px;
  line-height: 1.15; margin: 0 0 18px; position: relative; z-index: 1;
}
.auth-poster p {
  font-family: var(--f-body); font-size: 16px; line-height: 1.7;
  opacity: .9; position: relative; z-index: 1; margin: 0;
}
.auth-poster__benefits {
  list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px;
  position: relative; z-index: 1;
}
.auth-poster__benefits li {
  display: flex; gap: 12px; align-items: flex-start;
  font-family: var(--f-body); font-size: 15px; opacity: .95;
}
.auth-poster__benefits svg { flex: 0 0 22px; margin-top: 2px; }

/* ───── Industry page sections ────────────────────────────── */

.section-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--brand-soft-2); color: var(--brand-primary);
  font-family: var(--f-body); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
}

.split-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .split-feature { grid-template-columns: 1fr; gap: 28px; } }
.split-feature img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-card); }
.split-feature h2 { font-family: var(--f-display); font-size: clamp(26px, 3vw, 36px); margin: 0 0 16px; }
.split-feature p  { font-family: var(--f-body); font-size: 16px; line-height: 1.9; color: var(--ink-soft); }

.capabilities {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 32px 0;
}
@media (max-width: 900px) { .capabilities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .capabilities { grid-template-columns: 1fr; } }
.cap-tile {
  background: #fff; border: 1px solid var(--rule); border-radius: 22px;
  padding: 24px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.cap-tile:hover { transform: translateY(-4px); border-color: var(--brand-primary); box-shadow: 0 12px 32px rgba(30,144,179,.12); }
.cap-tile__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-soft-2); color: var(--brand-primary);
  display: grid; place-items: center; margin-bottom: 14px;
}
.cap-tile h3 { font-family: var(--f-body); font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.cap-tile p  { font-family: var(--f-body); font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

.checklist { display: grid; gap: 12px; margin: 16px 0; padding: 0; list-style: none; }
.checklist li {
  display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start;
  font-family: var(--f-body); font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.checklist li::before {
  content: ""; display: block; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%; background: var(--brand-soft-2);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231E90B3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

/* Industry "process" steps */
.process { display: grid; gap: 22px; }
.process-step {
  display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: start;
  padding: 22px; background: #fff;
  border-radius: 20px; box-shadow: var(--shadow-card); border: 1px solid var(--rule);
}
.process-step__num {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--brand-primary); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: 26px;
  display: grid; place-items: center;
}
.process-step h3 { font-family: var(--f-body); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.process-step p  { font-family: var(--f-body); font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--rule); border-radius: 18px; background: #fff;
  overflow: hidden; transition: box-shadow .2s, border-color .2s;
}
.faq__item[open] { box-shadow: var(--shadow-card); border-color: var(--brand-primary); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: 16px;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 24px; height: 24px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item .faq__body {
  padding: 0 22px 22px; font-family: var(--f-body); font-size: 15px;
  color: var(--ink-soft); line-height: 1.7;
}

/* ───── Jobs page ─────────────────────────────────────────── */

.jobs-shell { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .jobs-shell { grid-template-columns: 1fr; } }

.jobs-filters {
  background: #fff; border: 1px solid var(--rule); border-radius: 22px; padding: 22px;
  position: sticky; top: 96px;
}
@media (max-width: 900px) { .jobs-filters { position: static; } }
.jobs-filters h3 {
  font-family: var(--f-body); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
  margin: 18px 0 10px;
}
.jobs-filters h3:first-child { margin-top: 0; }
.jobs-filter-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.jobs-filter-list li label {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px; cursor: pointer;
  font-family: var(--f-body); font-size: 14px; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.jobs-filter-list li label:hover { background: var(--brand-soft-2); color: var(--brand-primary); }
.jobs-filter-list input { accent-color: var(--brand-primary); }
.jobs-search {
  position: relative; margin-bottom: 12px;
}
.jobs-search input {
  width: 100%; padding: 12px 14px 12px 42px; border-radius: 12px;
  border: 1.5px solid var(--rule); background: #f8fafc;
  font-family: var(--f-body); font-size: 14px;
}
.jobs-search input:focus { outline: 0; border-color: var(--brand-primary); background: #fff; }
.jobs-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-mute); }

.jobs-list { display: grid; gap: 14px; }
.job-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.job-card:hover { transform: translateY(-2px); border-color: var(--brand-primary); box-shadow: 0 10px 30px rgba(30,144,179,.1); }
.job-card__title { font-family: var(--f-display); font-weight: 700; font-size: 20px; margin: 0 0 8px; }
.job-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-family: var(--f-body); font-size: 13px; color: var(--ink-mute); margin-bottom: 8px;
}
.job-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-card__summary { font-family: var(--f-body); font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 6px 0 10px; }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tag { background: var(--brand-soft-2); color: var(--brand-primary); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.job-card__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.job-card__salary { font-family: var(--f-body); font-weight: 700; font-size: 16px; color: var(--brand-primary); }
.job-card__bookmark {
  width: 38px; height: 38px; border-radius: 50%;
  background: #f4f4f5; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-mute);
  transition: background .15s, color .15s;
}
.job-card__bookmark:hover, .job-card__bookmark.is-on { background: var(--brand-soft-2); color: var(--brand-primary); }
.job-card__apply {
  background: var(--brand-primary); color: #fff;
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  font-family: var(--f-body); font-weight: 700; font-size: 14px;
}
.job-card__apply:hover { background: #1a7d9c; }
.jobs-empty {
  background: #fff; border: 1.5px dashed var(--rule-2); border-radius: 20px;
  padding: 48px; text-align: center; color: var(--ink-mute);
}

/* Industry job-page sections */
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit {
  background: #fff; border-radius: 22px; padding: 24px; text-align: center;
  border: 1px solid var(--rule);
  transition: transform .2s, box-shadow .2s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.benefit__icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 14px;
  background: var(--brand-soft-2); color: var(--brand-primary);
  display: grid; place-items: center;
}
.benefit h3 { font-family: var(--f-body); font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.benefit p  { font-family: var(--f-body); font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ───── Calendar (Select-Calendar) ───────────────────────── */

.cal-shell { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .cal-shell { grid-template-columns: 1fr; } }
.cal {
  background: #fff; border-radius: 24px; padding: 28px;
  border: 1px solid var(--rule); box-shadow: var(--shadow-card);
}
.cal__head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}
.cal__head h3 { font-family: var(--f-display); font-weight: 700; font-size: 20px; margin: 0; }
.cal__nav { display: flex; gap: 8px; }
.cal__nav button {
  width: 36px; height: 36px; border-radius: 10px;
  background: #f4f4f5; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-soft);
}
.cal__nav button:hover { background: var(--brand-soft-2); color: var(--brand-primary); }
.cal__dows {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  margin-bottom: 8px;
}
.cal__dows span {
  text-align: center; font-family: var(--f-body); font-weight: 700;
  font-size: 12px; color: var(--ink-mute); padding: 8px 0;
}
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1/1; border-radius: 12px; background: transparent;
  border: 0; cursor: pointer;
  font-family: var(--f-body); font-weight: 500; font-size: 14px;
  display: grid; place-items: center;
  transition: background .15s, color .15s;
  color: var(--ink);
}
.cal-day:hover:not(:disabled) { background: var(--brand-soft-2); color: var(--brand-primary); }
.cal-day--muted   { color: var(--rule-2); }
.cal-day--today   { box-shadow: inset 0 0 0 1.5px var(--brand-primary); color: var(--brand-primary); }
.cal-day--selected { background: var(--brand-primary); color: #fff; }
.cal-day:disabled { color: var(--rule-2); cursor: not-allowed; }

.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.slot {
  background: #fff; border: 1.5px solid var(--rule); border-radius: 12px;
  padding: 12px; font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; text-align: center;
  transition: border-color .15s, color .15s;
}
.slot:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.slot.is-selected { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* Services overview grid (services.html) */
.services-overview {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
@media (max-width: 1100px) { .services-overview { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .services-overview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .services-overview { grid-template-columns: 1fr; } }
.service-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--rule); border-radius: 24px;
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: 0 18px 50px rgba(30,144,179,.14);
  border-color: var(--brand-primary);
}
.service-card__num {
  font-family: var(--f-quote); font-weight: 800; font-size: 48px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .6;
}
.service-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 22px; margin: 14px 0 8px; }
.service-card p  { font-family: var(--f-body); font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 16px; }
.service-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-body); font-weight: 700; font-size: 14px; color: var(--brand-primary);
}

/* Mobile padding tweaks for sub-pages */
@media (max-width: 900px) {
  .page-hero { padding: 24px 16px 32px; }
  .page-hero__halo-l, .page-hero__halo-r { display: none; }
  .page-card { padding: 36px 20px; border-radius: 32px; margin: 0 12px; }
}
