/* ============ Tokens — Fintrix Solutions brand palette ============ */
:root {
  /* Brand palette (from brand guide) */
  --charcoal: #25282B;   /* Rich Charcoal */
  --green: #5D8974;      /* Fintrix Green */
  --linen: #F5F2EB;      /* Warm Linen */
  --stone: #D9D5CF;      /* Light Stone */
  --taupe: #B7ADA1;      /* Soft Taupe */

  /* Semantic aliases used throughout the stylesheet */
  --ink: var(--charcoal);
  --ink-panel: #2E3236;
  --ink-line: #3C4045;
  --parchment: var(--linen);
  --parchment-line: var(--stone);
  --amber: var(--green);
  --amber-dim: #4C7561;
  --slate: #9CA39E;
  --slate-dark: #585F5A;
  --ink-text: #F2F1ED;
  --body-dark: var(--charcoal);

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 4px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-dark);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p { margin: 0; line-height: 1.6; color: var(--slate-dark); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-dim);
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 600;
}

.section { padding: 88px 0; }
.section-light { background: #fff; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover { background: #f0b158; }

.btn-secondary {
  background: transparent;
  border-color: var(--ink-line);
  color: var(--ink-text);
}
.btn-secondary:hover { border-color: var(--amber); }

.btn-dark {
  background: var(--ink);
  color: var(--parchment);
}
.btn-dark:hover { background: #17233a; }

.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; margin-top: 6px; }

.text-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--amber);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--parchment-line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body-dark);
}
.brand-mark {
  width: 30px;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: auto; display: block; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  color: var(--body-dark);
}
.brand-text-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a:not(.btn) {
  color: var(--slate-dark);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:not(.btn):hover { color: var(--body-dark); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--parchment-line);
  color: var(--body-dark);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
}

/* ============ Hero ============ */
.hero {
  background: var(--ink);
  padding-top: 88px;
  padding-bottom: 88px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 { color: var(--ink-text); margin-bottom: 20px; }
.hero-lead {
  color: var(--slate);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Pillar panel: the signature element ---- */
.pillar-panel {
  background: var(--ink-panel);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: 24px;
  font-family: var(--font-body);
}

.pillar-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-text);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ink-line);
}

.coverage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(201, 122, 86, 0.2);
}

.pillar-row {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 53, 72, 0.6);
}
.pillar-row:last-of-type { border-bottom: none; }

.pillar-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--amber);
  flex-shrink: 0;
  padding-top: 2px;
}

.pillar-row h3 {
  color: var(--ink-text);
  font-size: 1rem;
  margin-bottom: 4px;
}
.pillar-row p {
  color: var(--slate);
  font-size: 0.85rem;
  margin: 0;
}

.coverage-cta {
  display: block;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  text-align: right;
}

/* ============ Logo strip ============ */
.logo-strip {
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  padding: 22px 0;
}
.logo-strip-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-body);
}
.logo-strip-inner span:first-child {
  color: var(--slate-dark);
  font-size: 0.78rem;
}
.logo-strip-inner strong {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.85rem;
}
.industry-featured-chip {
  color: var(--amber) !important;
  font-weight: 700 !important;
  padding: 3px 10px;
  border: 1px solid var(--amber-dim);
  border-radius: 20px;
  font-size: 0.78rem !important;
}

/* ============ Photo band ============ */
.photo-band {
  margin: 0;
  position: relative;
  background: var(--ink);
}
.photo-band img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  opacity: 0.92;
}
.photo-band figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 24px;
  background: linear-gradient(0deg, rgba(37,40,43,0.85) 0%, rgba(37,40,43,0) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
}

/* ============ White-glove banner ============ */
.whiteglove-banner {
  background: #EFEEE6;
  border-top: 1px solid var(--parchment-line);
  border-bottom: 1px solid var(--parchment-line);
  padding: 64px 0;
}
.whiteglove-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.whiteglove-statement {
  border-left: 3px solid var(--amber);
  padding-left: 24px;
}
.whiteglove-statement h2 { margin-bottom: 14px; }
.whiteglove-statement p { max-width: 42ch; }
.whiteglove-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.whiteglove-point { }
.whiteglove-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(93, 137, 116, 0.12);
  color: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.whiteglove-icon svg { width: 20px; height: 20px; }
.whiteglove-point h3 { font-size: 1rem; margin-bottom: 6px; }
.whiteglove-point p { font-size: 0.86rem; color: var(--slate-dark); margin: 0; }

/* ============ Section headings ============ */
.section-heading { margin-bottom: 48px; }
.split-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.split-heading p { max-width: 40ch; }
.split-heading.inverse .eyebrow { color: var(--amber); }
.split-heading.inverse h2 { color: var(--ink-text); }
.split-heading.inverse p { color: var(--slate); }

.centered-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.centered-heading p { margin: 0 auto; }

/* ============ Service cards ============ */
.card-grid { display: grid; gap: 24px; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.services-note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--slate-dark);
  text-align: center;
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--parchment);
  border: 1px solid var(--parchment-line);
  border-radius: 6px;
  padding: 28px;
}
.featured-card {
  background: var(--ink);
  border-color: var(--ink-line);
}
.featured-card h3, .featured-card p { color: var(--ink-text); }
.featured-card p { color: var(--slate); }
.featured-card ul li { color: var(--slate); }
.featured-card ul li::before { color: var(--amber); }

.card-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber-dim);
  display: block;
  margin-bottom: 10px;
}
.featured-card .card-tag { color: var(--amber); }

.problem-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.problem-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--body-dark);
  padding-left: 26px;
  position: relative;
  margin-bottom: 14px;
}
.problem-list li::before {
  content: '?';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--amber-dim);
  border: 1.5px solid var(--amber-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-card .problem-list li { color: var(--ink-text); }
.featured-card .problem-list li::before { color: var(--amber); border-color: var(--amber); }

.solution-reveal {
  border-top: 1px dashed var(--parchment-line);
  padding-top: 18px;
}
.featured-card .solution-reveal { border-top-color: var(--ink-line); }
.solution-reveal p {
  font-size: 0.9rem;
  color: var(--slate-dark);
  margin: 0;
}
.featured-card .solution-reveal p { color: var(--slate); }

.service-card h3 { margin-bottom: 10px; }
.service-card > p { margin-bottom: 18px; }
.service-card ul:not(.problem-list) li {
  font-size: 0.9rem;
  color: var(--slate-dark);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}
.service-card ul:not(.problem-list) li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--amber-dim);
}

/* ============ Roles ============ */
.roles-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.roles-intro p { margin: 16px 0 28px; max-width: 40ch; }
.roles-photo {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  margin-top: 28px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.role-accordion { display: flex; flex-direction: column; gap: 10px; }
.role-accordion details {
  border: 1px solid var(--parchment-line);
  border-radius: 6px;
  background: #fff;
  padding: 4px 20px;
}
.role-accordion summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.role-accordion summary::-webkit-details-marker { display: none; }
.role-accordion summary span {
  font-family: var(--font-body);
  color: var(--amber-dim);
  font-weight: 400;
}
.role-accordion details[open] summary span { transform: rotate(45deg); display: inline-block; }

.role-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  padding: 4px 0 20px;
  border-top: 1px solid var(--parchment-line);
  margin-top: 4px;
  padding-top: 16px;
}
.role-list span {
  font-size: 0.9rem;
  color: var(--slate-dark);
  padding-left: 14px;
  position: relative;
}
.role-list span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
}

/* ============ Industries ============ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.industry-grid article {
  border: 1px solid var(--parchment-line);
  border-radius: 6px;
  padding: 24px;
}
.industry-grid span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.industry-grid h3 { margin: 10px 0 8px; font-size: 1.05rem; }
.industry-grid p { font-size: 0.92rem; }

.industry-featured {
  background: var(--ink);
  border-color: var(--ink-line);
}
.industry-featured span { color: var(--amber); }
.industry-featured h3, .industry-featured p { color: var(--ink-text); }
.industry-featured p { color: var(--slate); }

/* ============ Process ============ */
.process-section { background: var(--ink); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-grid article {
  border-top: 2px solid var(--ink-line);
  padding-top: 20px;
}
.process-grid span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--amber);
  font-size: 0.95rem;
}
.process-grid h3 { color: var(--ink-text); margin: 12px 0 8px; font-size: 1.05rem; }
.process-grid p { color: var(--slate); font-size: 0.92rem; }

/* ============ Advantage ============ */
.advantage-section { background: #fff; }
.advantage-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.advantage-grid h2 { max-width: 20ch; }
.advantage-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.advantage-points h3 { margin-bottom: 8px; font-size: 1.02rem; }
.advantage-points p { font-size: 0.92rem; }

/* ============ About ============ */
.about-section { background: var(--parchment); }

.about-team-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.about-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.about-avatar-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--green) 0%, var(--charcoal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.about-avatar-circle svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--linen);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-avatar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--body-dark);
}
.about-avatar-title {
  font-size: 0.78rem;
  color: var(--slate-dark);
}

.about-narrative-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 56px;
  align-items: center;
}
.about-narrative {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-narrative p { font-size: 0.98rem; line-height: 1.7; }
.about-photo {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.about-subsection { max-width: 900px; margin: 0 auto 56px; }
.about-subsection h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.about-subsection-lead {
  color: var(--slate-dark);
  margin-bottom: 20px;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--parchment-line);
  border-radius: 10px;
  padding: 14px 16px;
}
.about-tile-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  background: rgba(93, 137, 116, 0.12);
  color: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-tile-icon svg { width: 18px; height: 18px; }
.about-tile span:last-child {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--body-dark);
  line-height: 1.3;
}

.about-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-approach-grid article {
  background: #fff;
  border: 1px solid var(--parchment-line);
  border-radius: 8px;
  padding: 24px;
}
.about-approach-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 10px;
}
.about-approach-grid h4 { font-size: 1.02rem; margin-bottom: 8px; }
.about-approach-grid p { font-size: 0.9rem; margin: 0; }

.about-commitment {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background: var(--ink);
  border-radius: 10px;
  padding: 44px 40px;
}
.about-commitment .eyebrow { color: var(--amber); margin-bottom: 12px; }
.about-commitment-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink-text);
  margin-bottom: 16px;
  line-height: 1.4;
}
.about-commitment p:not(.eyebrow):not(.about-commitment-lead) {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ============ Contact ============ */
.contact-section { background: var(--parchment); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-copy p { margin: 16px 0 28px; max-width: 42ch; }
.contact-note {
  border-top: 1px solid var(--parchment-line);
  padding-top: 20px;
  font-size: 0.92rem;
}
.contact-note strong { display: block; margin-bottom: 4px; color: var(--body-dark); }
.contact-note a { color: var(--amber-dim); font-weight: 600; }

.lead-form {
  background: #fff;
  border: 1px solid var(--parchment-line);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-dark);
}
.lead-form input, .lead-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 12px;
  border: 1px solid var(--parchment-line);
  border-radius: var(--radius);
  font-weight: 400;
  resize: vertical;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(201, 122, 86, 0.15);
}
.form-status {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--amber-dim);
  min-height: 1em;
  margin: 0;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--parchment);
  padding: 48px 0;
  border-top: 1px solid var(--parchment-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-brand { margin-bottom: 12px; }
.footer-grid > div:first-child p { color: var(--slate-dark); font-size: 0.88rem; max-width: 34ch; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--slate-dark); font-size: 0.9rem; }
.footer-links a:hover { color: var(--amber-dim); }
.footer-meta { text-align: right; }
.footer-meta p { color: var(--slate-dark); font-size: 0.82rem; margin-bottom: 4px; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-grid, .roles-grid, .advantage-grid, .contact-grid, .whiteglove-grid, .about-narrative-grid { grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 1fr; }
  .three-col, .process-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .whiteglove-points { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .about-approach-grid { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: repeat(2, 1fr); }
  .advantage-points { grid-template-columns: 1fr; }
  .photo-band img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--parchment);
    border-bottom: 1px solid var(--parchment-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .three-col, .process-grid, .industry-grid, .form-row { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .whiteglove-points { grid-template-columns: 1fr; }
  .whiteglove-statement { border-left: none; border-top: 3px solid var(--amber); padding-left: 0; padding-top: 16px; }
  .section { padding: 56px 0; }
  .pillar-row { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ============ Page hero (service pages) ============ */
.page-hero {
  background: var(--ink);
  padding: 72px 0 64px;
}
.page-hero-inner { max-width: 680px; }
.page-hero-inner h1 { color: var(--ink-text); margin-bottom: 18px; }
.page-hero-inner .hero-lead { color: var(--slate); margin-bottom: 28px; }
.breadcrumb-eyebrow { color: var(--amber); }

/* ============ Homepage: 4-up services ============ */
.services-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-tile {
  background: #fff;
  border: 1px solid var(--parchment-line);
  border-radius: 10px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-tile:hover { border-color: var(--amber-dim); transform: translateY(-2px); }
.service-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(93, 137, 116, 0.12);
  color: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-tile-icon svg { width: 22px; height: 22px; }
.service-tile h3 { font-size: 1.05rem; }
.service-tile p { font-size: 0.9rem; margin: 0; }
.service-tile .text-link { margin-top: auto; color: var(--amber-dim); }

/* ============ Hire it / Extend your team ============ */
.hire-extend-section { background: #fff; }
.hire-extend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.hire-extend-card {
  border: 1px solid var(--parchment-line);
  border-radius: 10px;
  padding: 32px;
  background: var(--parchment);
}
.hire-extend-card.dark {
  background: var(--ink);
  border-color: var(--ink-line);
}
.hire-extend-card.dark h3, .hire-extend-card.dark p { color: var(--ink-text); }
.hire-extend-card.dark p { color: var(--slate); }
.hire-extend-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(93, 137, 116, 0.14);
  color: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hire-extend-card.dark .hire-extend-icon { background: rgba(255,255,255,0.08); color: var(--amber); }
.hire-extend-icon svg { width: 22px; height: 22px; }
.hire-extend-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.hire-extend-card p { font-size: 0.94rem; margin-bottom: 18px; }
.hire-extend-card .text-link { color: var(--amber-dim); }
.hire-extend-card.dark .text-link { color: var(--amber); }

/* ============ Category / offerings grids (service pages) ============ */
.category-grid, .offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.offerings-grid { grid-template-columns: repeat(4, 1fr); }
.category-card, .offering-card {
  border: 1px solid var(--parchment-line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-icon, .offering-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(93, 137, 116, 0.12);
  color: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-icon svg, .offering-icon svg { width: 19px; height: 19px; }
.category-card h3, .offering-card h3 { font-size: 1rem; margin: 0; }
.category-card p, .offering-card p { font-size: 0.86rem; margin: 0; }

/* ============ Simple numbered process (3-step) ============ */
.process-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-simple article { border-top: 2px solid var(--ink-line); padding-top: 20px; }
.process-simple span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--amber);
  font-size: 0.95rem;
}
.process-simple h3 { color: var(--ink-text); margin: 12px 0 8px; font-size: 1.05rem; }
.process-simple p { color: var(--slate); font-size: 0.92rem; margin: 0; }

/* ============ US-led / globally enabled banner ============ */
.usled-banner {
  background: #EFEEE6;
  border-top: 1px solid var(--parchment-line);
  border-bottom: 1px solid var(--parchment-line);
  padding: 56px 0;
  text-align: center;
}
.usled-banner-inner { max-width: 640px; margin: 0 auto; }
.usled-banner .eyebrow { color: var(--amber-dim); }
.usled-banner h2 { margin-bottom: 14px; }
.usled-banner p { margin: 0 auto; }

/* ============ CTA choices (contact section) ============ */
.cta-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.cta-choice {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 20px;
  border: 1px solid var(--parchment-line);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-dark);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cta-choice:hover { border-color: var(--amber-dim); }
.cta-choice.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ink-text);
}
.lead-form select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 12px;
  border: 1px solid var(--parchment-line);
  border-radius: var(--radius);
  font-weight: 400;
  background: #fff;
  color: var(--body-dark);
}
.lead-form select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(93, 137, 116, 0.15);
}

/* ============ Digital products ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid var(--parchment-line);
  border-radius: 10px;
  padding: 26px;
  background: #fff;
}
.product-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.product-card p { font-size: 0.92rem; margin: 0; }
.product-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber-dim);
  border: 1px solid var(--amber-dim);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

/* ============ Responsive additions ============ */
@media (max-width: 900px) {
  .services-4col { grid-template-columns: repeat(2, 1fr); }
  .hire-extend-grid { grid-template-columns: 1fr; }
  .category-grid, .offerings-grid, .process-simple, .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-4col, .category-grid, .offerings-grid, .process-simple, .product-grid { grid-template-columns: 1fr; }
}
