/* ─────────────  PAGES.CSS  ─────────────
 * Styles for Industries (.in-*), Careers (.cr-*), Career detail (.cd-*),
 * and Contact (.ct-*) templates. Loaded only on those templates.
 *
 * Shared building blocks:
 *   .pg-hero — navy hero used by Industries + Careers
 */

/* Shared hero for Industries + Careers */
.pg-hero {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  /* No margin-bottom — next section's padding-top defines the gap. */
  margin-bottom: 0;
  /* 520px — shared inner-page banner height (matches About .hero and
     Service/Industry .sv-hero). */
  height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.pg-hero .container { position: relative; z-index: 2; }
.pg-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}
.pg-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 22px;
}
.pg-hero-copy h1 {
  color: var(--white);
  font-weight: 300;
  font-size: 64px;
  line-height: 1.08;
  margin: 0 0 22px;
}
.pg-hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin: 0 0 36px;
  max-width: 540px;
}
.pg-hero-cta { font-size: 16px; }
.pg-hero-visual { position: relative; height: 380px; }
.pg-hero-orb {
  position: absolute;
  top: 50%;
  right: 4%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #D7EAE5 0%, #329C8A 70%);
  transform: translateY(-50%);
  opacity: .9;
}
.pg-hero-orb-2 {
  width: 130px;
  height: 130px;
  right: 32%;
  top: 22%;
  transform: none;
  opacity: .35;
}

/* Reusable section header (matches .sec-head from styles.css) */

/* ─────────────  INDUSTRIES  ───────────── */
.in-grid-section { padding: 120px 0; }
.in-head { margin-bottom: 56px; }
.in-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.in-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 36px;
  /* Same cursor on every industry box (linked or not) — no pointer anywhere. */
  cursor: default;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
/* No hover effect on industry cards — linked cards (.in-card--link) stay
   clickable but get no lift/shadow on hover, matching the non-linked cards. */
a.in-card,
a.in-card:hover,
a.in-card:focus {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* Text inside the box shows the text (I-beam) cursor; the box stays default. */
.in-card-title,
.in-card-lead,
.in-card-tags li {
  cursor: text;
}
/* Card icon — same inline-SVG set + style as the home page "Industries we
   serve" cards (.lp-industry-icon): primary-coloured, 72px, 24px gap below. */
.in-card-icon {
  color: var(--primary);
  margin: 0 0 24px;
}
.in-card-icon svg { width: 72px; height: 72px; }
.in-card-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 14px;
  line-height: 1.2;
}
.in-card-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 24px;
}
.in-card-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.in-card-tags li {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--soft);
  padding: 7px 14px;
  border-radius: 999px;
}

.in-approach { padding: 120px 0; background: var(--soft-cool); }
.in-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.in-approach-item {
  background: var(--white);
  padding: 36px 32px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.in-approach-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: .14em;
  margin-bottom: 16px;
}
.in-approach-item h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 12px;
}
.in-approach-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

/* ─────────────  CAREERS  ───────────── */
.cr-values { padding: 120px 0; }
.cr-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.cr-value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
}
.cr-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(6, 214, 160, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.cr-value-icon svg { width: 26px; height: 26px; }
.cr-value h3 {
  font-size: 19px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 10px;
}
.cr-value p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

.cr-roles { padding: 120px 0; background: var(--soft); }
.cr-roles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 56px;
}
.cr-role {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 36px;
  color: inherit;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.cr-role:has(.cr-role-cta:hover) {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(12, 21, 89, 0.10);
}
.cr-role-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.cr-role-team { color: var(--secondary); }
.cr-role-divider { color: var(--line); }
.cr-role-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 10px;
}
.cr-role-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 14px;
  max-width: 720px;
}
.cr-role-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: .04em;
  text-decoration: none;
}
/* Arrow hidden by default; reveals (slides in) only when "View details" itself
   is hovered/focused — not the rest of the card. */
.cr-role-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease;
}
.cr-role-cta:hover .cr-role-arrow,
.cr-role-cta:focus-visible .cr-role-arrow {
  opacity: 1;
  transform: translateX(0);
}

.cr-process { padding: 120px 0; }
.cr-process-steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: cr-step;
}
.cr-process-steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
}
.cr-step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: .14em;
  margin-bottom: 16px;
}
.cr-process-steps h3 {
  font-size: 19px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 8px;
}
.cr-process-steps p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

/* ─────────────  CAREER DETAIL  ───────────── */
.cd-hero {
  background: var(--primary);
  color: var(--white);
  margin-bottom: 0;
  /* Fixed-height inner-page banner — matches .pg-hero / .sv-hero / About .hero
     (520px), with content vertically centered. */
  padding: 0;
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cd-hero { overflow: hidden; }
.cd-hero-back {
  display: inline-block;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 24px;
}
.cd-hero-back:hover { color: var(--secondary); }
.cd-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 14px;
}
.cd-hero-title {
  color: var(--white);
  font-size: 56px;
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 30px;
  max-width: 1100px;
}
.cd-hero-meta {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 0 56px;
}
.cd-hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cd-meta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.cd-meta-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}
.cd-hero-cta { margin-top: 8px; }

.cd-body { padding: 120px 0; }
.cd-body-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}
.cd-body-main { min-width: 0; }
.cd-section { margin-bottom: 56px; }
.cd-section:last-child { margin-bottom: 0; }
.cd-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 18px;
}
.cd-section p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 14px;
  max-width: 820px;
}
.cd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cd-list li {
  position: relative;
  padding: 0 0 0 30px;
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--body);
  max-width: 820px;
}
.cd-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(6, 214, 160, 0.18);
}
.cd-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 18px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}
.cd-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
}
.cd-benefit {
  background: var(--soft);
  border-radius: 10px;
  padding: 22px 24px;
}
.cd-benefit h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 6px;
}
.cd-benefit p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
}

.cd-body-aside { position: sticky; top: 24px; }
.cd-aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(12, 21, 89, 0.05);
}
.cd-aside-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 18px;
}
.cd-aside-list {
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px 16px;
}
.cd-aside-list dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.cd-aside-list dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.cd-aside-cta { width: 100%; justify-content: center; margin-bottom: 14px; }
.cd-aside-back {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.cd-aside-back:hover { color: var(--secondary); }

/* ─────────────  CONTACT  ───────────── */
.ct-hero {
  background: var(--primary);
  color: var(--white);
  /* Height/padding come from .pg-hero (fixed 520px banner, flex-centered) —
     identical to the Career hero. Content is left-aligned, image right. */
  text-align: left;
}
.ct-hero { overflow: hidden; }
.cd-body, .ct-main, .ct-offices { overflow: hidden; }
.ct-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 18px;
}
.ct-hero-title {
  color: var(--white);
  font-size: 60px;
  font-weight: 300;
  line-height: 1.08;
  margin: 0 0 18px;
}
.ct-hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin: 0;
  max-width: 640px;
}

/* No bottom padding: "Our offices" below is a continuation of the contact
   content, so the form sits directly above it — the gap is provided by the
   offices section's own top padding alone. */
.ct-main { padding: 120px 0 0; }
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
/* Contact page: sharp corners everywhere — boxes, inputs, buttons */
.page-template-page-contact .btn { border-radius: 0; }

.ct-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 40px 44px;
  box-shadow: 0 14px 36px rgba(12, 21, 89, 0.05);
}
.ct-form-card h2 {
  font-size: 30px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 6px;
}
.ct-form-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
}
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.ct-row-2 { grid-template-columns: 1fr 1fr; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.ct-form input,
.ct-form select,
.ct-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--primary);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
  border-color: var(--secondary);
  background: var(--white);
}
.ct-form textarea { resize: vertical; min-height: 130px; }
.ct-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
}
.ct-consent input { margin-top: 3px; }
.ct-form .btn { align-self: flex-start; margin-top: 4px; }

.ct-side { display: flex; flex-direction: column; gap: 20px; }
.ct-side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 28px;
}
.ct-side-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 18px;
}
.ct-direct {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ct-direct li { display: flex; flex-direction: column; gap: 4px; }
.ct-direct-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ct-direct a {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.ct-direct a:hover { color: var(--secondary); }
.ct-hours p { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; }

/* Top padding trimmed (continuation of the contact section); full bottom
   padding kept for a normal gap to the footer. */
.ct-offices { padding: 80px 0 120px; background: var(--soft-cool); }
.ct-offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
  /* Both office cards stretch to equal height so the two boxes always match,
     regardless of how many lines each address wraps to. */
  align-items: stretch;
}
.ct-office {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 30px 32px;
}
/* Drop the trailing margin of the last populated field (often the address
   when no contact rows are set) so the content stays balanced in the card. */
.ct-office > *:last-child { margin-bottom: 0; }
.ct-office-country {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 8px;
}
.ct-office-city {
  font-size: 32px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 18px;
}
.ct-office-address {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 22px;
}
/* Per-office location map. */
.ct-office-map-embed {
  margin: 0 0 22px;
  line-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.ct-office-map-embed iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}
/* Hide office meta fields that have no value (data may be address-only). */
.ct-office-country:empty,
.ct-office-city:empty { display: none; }
.ct-office-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ct-office-contacts li { display: flex; flex-direction: column; gap: 4px; }
.ct-office-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ct-office-contacts a {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.ct-office-contacts a:hover { color: var(--secondary); }

/* Map Direction button — opens Google Maps directions in a new tab. */
.ct-office-map {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 20px;
  border-radius: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, gap .2s ease;
  align-self: flex-start;
}
.ct-office-map:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
  gap: 14px;
}
.ct-office-map-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ct-office-map-icon svg { width: 16px; height: 16px; }
.ct-office-map-arrow {
  font-size: 16px;
  line-height: 1;
}
