/* =======================================================
   Inner page components (loaded after home.css)
   Page hero, CTA banner, case cards, pain points, contact
   ======================================================= */

/* Active nav state */
.lf-nav__list > li.is-active > a { color: var(--teal); position: relative; }
.lf-nav__list > li.is-active > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--teal); border-radius: 2px;
}
@media (max-width: 959px) {
  .lf-nav__list > li.is-active > a::after { display: none; }
}

/* =======================================================
   PAGE HERO
   ======================================================= */
.page-hero { background: #fff; padding: 0; }
.page-hero__inner {
  display: grid; grid-template-columns: 1fr; align-items: stretch;
}
.page-hero__text {
  padding: 36px 1.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.page-hero__headline {
  font-size: clamp(2rem, 4.5vw, 52px);
  font-weight: 900; line-height: 1.08; letter-spacing: -.02em;
  color: #1a1a1a; margin: 0 0 16px; max-width: 18ch;
}
.page-hero__sub { color: #555; font-size: 17px; line-height: 1.6; max-width: 540px; margin: 0 0 24px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.page-hero__media {
  position: relative; overflow: hidden;
  min-height: 360px;
}
.page-hero__media img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
@media (min-width: 900px) {
  .page-hero__inner { grid-template-columns: 55% 45%; min-height: 480px; }
  .page-hero__text {
    padding: 64px 60px 64px max(1.5rem, calc((100vw - var(--wrap)) / 2 + 1.5rem));
  }
  .page-hero__media { min-height: 0; }
  .page-hero__media img {
    top: 64px; left: 0;
    width: calc(100% - max(1.5rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)));
    height: calc(100% - 128px);
  }
}
/* Gap between hero and trust strip */
.page-hero + .trust-strip { margin-top: 0; }

/* Simple variant (no image) */
.page-hero--simple { background: #fff; padding: 80px 0 48px; text-align: center; }
.page-hero--simple__inner { max-width: 820px; margin: 0 auto; }
.page-hero__headline--centered { max-width: none; text-align: center; }
.page-hero__sub--centered { text-align: center; margin: 0 auto; }

/* =======================================================
   CTA BANNER (teal full width)
   ======================================================= */
.cta-banner { background: var(--teal); color: #fff; padding: 100px 0; text-align: center; }
.cta-banner__inner { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.cta-banner h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; margin: 0 0 1rem; letter-spacing: -.025em; }
.cta-banner p { color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.7; margin: 0 0 2rem; }
.cta-banner .btn--white { background: #fff; color: var(--teal-dark); border-color: #fff; }
.cta-banner .btn--white:hover { background: var(--paper); color: var(--teal-darker); }
.cta-banner .btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-banner .btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.cta-banner__btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* =======================================================
   CASE STUDY CARDS
   ======================================================= */
.case-grid {
  display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch;
}
@media (min-width: 700px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  color: var(--text); height: 100%;
  border-bottom: 3px solid transparent;
  transition: all .2s ease;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-bottom-color: var(--teal); }
.case-card__media { height: 200px; overflow: hidden; background: var(--paper); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__sector {
  display: inline-block; background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
  align-self: flex-start;
}
.case-card__body h3 { font-size: 18px; font-weight: 700; margin: 4px 0 0; color: #1a1a1a; }
.case-card__body p { font-size: 14px; color: #555; line-height: 1.6; margin: 0; flex: 1; }
.case-card__cta { color: var(--teal); font-size: 14px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* =======================================================
   PAIN POINT / FEATURE CARD VARIANTS
   ======================================================= */
.pp-grid { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 700px) { .pp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pp-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .pp-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.pp-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  border-top: 3px solid var(--teal);
  padding: 28px; height: 100%;
  display: flex; flex-direction: column; gap: 10px;
  transition: all .2s ease;
}
.pp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pp-card h3 { font-size: 18px; font-weight: 700; margin: 0; color: #1a1a1a; }
.pp-card p { font-size: 15px; color: #555; line-height: 1.6; margin: 0; flex: 1; }
.pp-card .pp-card__icon { width: 36px; height: 36px; color: var(--teal); margin-bottom: 6px; line-height: 0; }
.pp-card .pp-card__icon svg { width: 36px; height: 36px; display: block; stroke: var(--teal); fill: none; }

/* =======================================================
   GENERIC SECTION INTRO
   ======================================================= */
.section__head { text-align: left; margin-bottom: 32px; max-width: 100%; }
.section__head--centered { text-align: center; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(1.5rem, 2.8vw, 34px); font-weight: 900; color: #1a1a1a; letter-spacing: -.02em; margin: 0 0 16px; line-height: 1.15; }
.reviews .reviews__heading { color: #fff; }
.section p.lead { font-size: 17px; line-height: 1.7; color: #555; margin: 0 0 1em; }
.section .body-copy { font-size: 17px; line-height: 1.7; color: #555; max-width: 62ch; }
.section .body-copy p { margin: 0 0 1em; }

/* Proof block (commercial page) */
.proof-block {
  border-left: 4px solid #00b5a3;
  background: #f8f9fa;
  padding: 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.proof-block__label {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #00b5a3; margin: 0 0 16px;
}
.proof-block__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.proof-block__num { font-size: 22px; font-weight: 900; color: #1a1a1a; line-height: 1; }
.proof-block__desc { font-size: 13px; color: #555; margin-top: 4px; }
@media (max-width: 768px) { .proof-block__stats { grid-template-columns: 1fr; } }

/* Two column lead+aside */
.split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 60px; } }
.split--reverse > :first-child { order: 2; }
@media (min-width: 900px) { .split--reverse > :first-child { order: 0; } }

/* Pricing-style note panel */
.note-panel {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 10px; padding: 32px;
}
.note-panel h3 { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.note-panel p { font-size: 15px; line-height: 1.7; color: #555; margin: 0 0 1em; }

/* =======================================================
   ABOUT PAGE — intro split, team cards, credential tiles
   ======================================================= */

/* About intro split — even 50/50 columns */
.about-split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .about-split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.about-split__text .eyebrow { margin-bottom: 12px; }
.about-split__text h2 { font-size: clamp(1.75rem, 3.5vw, 40px); font-weight: 900; color: #1a1a1a; letter-spacing: -.02em; margin: 0 0 20px; line-height: 1.1; }
.about-split__text .lead { font-size: 17px; line-height: 1.7; color: #555; margin: 0 0 16px; }
.about-split__text .body-text { font-size: 16px; line-height: 1.7; color: #555; margin: 0 0 14px; }
.about-split__media img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); display: block; }

/* Team grid */
.team-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
}
.team-card--dark {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12);
}
.team-card__media { height: 280px; overflow: hidden; background: var(--paper); }
.team-card--dark .team-card__media { background: rgba(255,255,255,0.04); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 28px; }
.team-card__body h3 { font-size: 22px; font-weight: 800; margin: 0 0 4px; color: #1a1a1a; }
.team-card--dark .team-card__body h3 { color: #fff; }
.team-card__role { color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 12px; }
.team-card__body p { font-size: 15px; color: #555; line-height: 1.7; margin: 0; }
.team-card--dark .team-card__body p { color: rgba(255,255,255,0.65); }

.cred-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cred-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cred-grid { grid-template-columns: repeat(3, 1fr); } }
.cred-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.cred-tile__icon { color: var(--teal); width: 28px; height: 28px; line-height: 0; }
.cred-tile__icon svg { width: 28px; height: 28px; stroke: var(--teal); fill: none; display: block; }
.cred-tile h3 { font-size: 16px; font-weight: 800; margin: 0; color: #1a1a1a; }
.cred-tile p { font-size: 14px; color: #555; margin: 0; line-height: 1.5; }

/* =======================================================
   CONTACT PAGE
   ======================================================= */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 1fr; gap: 48px; } }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: #1a1a1a; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  font: inherit; background: #fff; color: #1a1a1a;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,181,163,.15);
}
.contact-form .field--radio legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.contact-form .field--radio { border: 0; padding: 0; margin-bottom: 18px; }
.contact-form .field--radio label { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-weight: 500; }
.contact-form .field--hp { position: absolute; left: -9999px; }
.contact-form .btn { width: 100%; height: 52px; font-size: 15px; }
.contact-form .alert { padding: 14px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.contact-form .alert--error { background: #fce8e6; color: #a1260d; }
.contact-form .alert--success { background: #e6f7f4; color: #008074; }

.contact-side {
  background: var(--paper); border-left: 4px solid var(--teal);
  border-radius: 10px; padding: 32px;
}
.contact-side h2 { font-size: 18px; font-weight: 800; margin: 0 0 16px; color: #1a1a1a; }
.contact-side__phone { display: block; font-size: 26px; font-weight: 800; color: var(--teal); letter-spacing: -.01em; margin: 0 0 16px; }
.contact-side__email { display: block; color: var(--teal-dark); font-weight: 600; word-break: break-all; }
.contact-side__address { display: block; margin-top: 16px; font-size: 14px; color: #555; line-height: 1.7; }
.contact-side__note { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: #555; font-style: italic; }
.contact-side__creds {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.contact-side__creds span {
  background: #fff; color: var(--teal-dark); border: 1px solid var(--teal);
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}

/* =======================================================
   CASE STUDY DETAIL
   ======================================================= */
.cs-detail__body { display: grid; gap: 32px; grid-template-columns: 1fr; }
.cs-detail__body .body-copy { max-width: none; }
.cs-detail__testimonial {
  background: var(--paper); border-left: 4px solid var(--teal);
  border-radius: 10px; padding: 32px;
}
.cs-detail__testimonial blockquote { font-size: 20px; line-height: 1.6; color: #1a1a1a; font-style: italic; margin: 0 0 12px; }
.cs-detail__testimonial cite { font-style: normal; font-weight: 700; color: #1a1a1a; font-size: 14px; }
.cs-detail__testimonial cite span { display: block; font-weight: 500; color: #555; margin-top: 2px; }

/* =======================================================
   DARK NAVY SECTION VARIANT
   ======================================================= */
.section--navy { background: var(--navy); }
.section--navy h2,
.section--navy .section__head h2 { color: #fff; }
.section--navy .eyebrow { color: var(--teal); }
.section--navy .section__head p.lead,
.section--navy .section__head p { color: rgba(255,255,255,0.65); }
.section--navy .wrap > p.lead { color: rgba(255,255,255,0.85); }
/* pp-cards on navy */
.section--navy .pp-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  border-top-color: var(--teal);
}
.section--navy .pp-card h3 { color: #fff; }
.section--navy .pp-card p { color: rgba(255,255,255,0.65); }
.section--navy .pp-card .pp-card__icon svg { stroke: var(--teal); }
.section--navy .pp-card:hover { background: rgba(255,255,255,0.1); box-shadow: none; }
/* =======================================================
   DELIVER GRID — sector pages "What We Deliver" section
   ======================================================= */
.deliver-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .deliver-grid { grid-template-columns: repeat(3, 1fr); }
}
.deliver-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px 20px;
  transition: background 0.15s;
}
.deliver-item:hover { background: rgba(255,255,255,0.09); }
.deliver-item__icon { flex-shrink: 0; margin-top: 2px; line-height: 0; }
.deliver-item__text {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

/* case-cards on navy */
.section--navy .case-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.section--navy .case-card__body h3 { color: #fff; }
.section--navy .case-card__body p { color: rgba(255,255,255,0.65); }
.section--navy .case-card:hover { background: rgba(255,255,255,0.1); box-shadow: none; }
/* checklist on navy */
.section--navy .checklist li { color: rgba(255,255,255,0.85); }

/* Service body copy */
.service-body { max-width: 820px; margin: 0 auto; }
.service-body p { font-size: 17px; line-height: 1.7; color: #555; margin: 0 0 1.2em; }
.service-body p:last-child { margin-bottom: 0; }
.service-links { margin: 28px auto 0; max-width: 820px; font-size: 15px; line-height: 1.7; color: #555; }
.area-note { margin: 28px auto 0; font-size: 15px; line-height: 1.7; color: #555; max-width: 820px; }

/* Checklist 2-column */
.checklist--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 820px; margin: 0 auto; }
@media (max-width: 620px) { .checklist--2col { grid-template-columns: 1fr; } }

/* Dark compare section */
.section--dark { background: #0d1117; }
.section--dark .eyebrow { color: var(--teal); }
.compare-heading { color: #fff !important; text-align: center; }

/* Comparison images */
.compare-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 0; }
@media (min-width: 700px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.compare-grid figure { margin: 0; }
.compare-fig { position: relative; border-radius: 12px; overflow: hidden; }
.compare-fig img { width: 100%; height: 300px; object-fit: cover; display: block; }
.compare-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.compare-badge--good { background: #00b5a3; color: #fff; }
.compare-badge--warn { background: #e53e3e; color: #fff; }
.compare-grid figcaption { text-align: center; font-size: 13px; color: rgba(255,255,255,0.55); font-style: italic; margin-top: 10px; }

/* =======================================================
   LEGAL PAGES (Privacy Policy, T&Cs)
   ======================================================= */
.legal-layout {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start;
}
@media (min-width: 900px) {
  .legal-layout { grid-template-columns: 220px 1fr; gap: 64px; }
}
.legal-nav {
  position: sticky; top: 100px;
  background: var(--paper); border-radius: 10px;
  padding: 24px; border: 1px solid var(--line);
}
.legal-nav__label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); margin: 0 0 12px;
}
.legal-nav nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.legal-nav nav a {
  font-size: 14px; color: #555; display: block; padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color .15s ease;
}
.legal-nav nav a:hover { color: var(--teal); }
@media (max-width: 899px) { .legal-nav { display: none; } }

.legal-intro {
  font-size: 17px; line-height: 1.7; color: #555;
  margin: 0 0 40px; padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
  font-size: 20px; font-weight: 800; color: #1a1a1a;
  margin: 0 0 16px; letter-spacing: -.01em;
}
.legal-body p { font-size: 15px; line-height: 1.8; color: #555; margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 1.5rem; }
.legal-body li { font-size: 15px; line-height: 1.8; color: #555; margin-bottom: 6px; }
.legal-body a { color: var(--teal); text-decoration: underline; }
.legal-body strong { color: #1a1a1a; font-weight: 700; }
.legal-contact {
  margin-top: 32px; padding: 20px 24px;
  background: var(--teal-soft); border-radius: 8px;
  font-size: 15px; color: #555;
}
.legal-contact a { color: var(--teal); font-weight: 600; text-decoration: none; }
.legal-contact a:hover { text-decoration: underline; }

/* =======================================================
   FAQ SECTION — Accordion
   ======================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  transition: background 0.15s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item.is-open { background: #f9fffe; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  padding: 20px 24px;
  cursor: pointer;
  line-height: 1.45;
  letter-spacing: -.01em;
  transition: color 0.2s;
  user-select: none;
}
.faq-question:hover { color: var(--teal); }
.faq-item.is-open .faq-question { color: var(--teal); }

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(0,181,163,0.1);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2300b5a3' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease, background-color 0.2s;
}
.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  padding: 0 24px;
  margin: 0;
}
.faq-item.is-open .faq-answer {
  max-height: 600px;
  padding-bottom: 22px;
}
.faq-answer a { color: var(--teal); }
.faq-answer a:hover { text-decoration: underline; }

/* Navy background variant */
.section--navy .faq-list {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.section--navy .faq-item {
  background: transparent;
  border-color: rgba(255,255,255,0.1);
}
.section--navy .faq-item.is-open { background: rgba(255,255,255,0.04); }
.section--navy .faq-question { color: #fff; }
.section--navy .faq-question:hover,
.section--navy .faq-item.is-open .faq-question { color: var(--teal); }
.section--navy .faq-question::after {
  background-color: rgba(255,255,255,0.08);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2300b5a3' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.section--navy .faq-answer { color: rgba(255,255,255,0.65); }

/* About page — logo grid overrides */
.about-logo-grid .logo-grid__item {
  height: 90px;
  padding: 16px;
}
.about-logo-grid img {
  max-height: 52px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.25s ease;
}
.about-logo-grid img:hover {
  filter: grayscale(0%);
}

/* Case study testimonial block */
.cs-testimonial {
  border-left: 4px solid #00b5a3;
  background: #f8f9fa;
  padding: 28px;
  border-radius: 0 8px 8px 0;
  margin: 32px 0 0;
}
.cs-testimonial__mark {
  display: block;
  font-size: 48px;
  color: #00b5a3;
  line-height: 0.6;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}
.cs-testimonial__quote {
  font-size: 18px;
  font-style: italic;
  color: #333;
  line-height: 1.7;
  margin: 0;
}
.cs-testimonial__author {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 16px 0 0;
}
.cs-testimonial__label {
  font-size: 12px;
  color: #aaa;
  margin: 4px 0 0;
}

/* Teal keyword highlight in page-hero H1s */
.page-hero__headline em { font-style: normal; color: var(--teal); }

/* =======================================================
   MOBILE STICKY CTA BAR (inner pages)
   ======================================================= */
.mobile-sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  gap: 12px;
}
.mobile-cta-call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1 1 0%; min-width: 0; height: 48px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 6px; color: #1a1a1a;
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.mobile-cta-enquire {
  display: flex; align-items: center; justify-content: center;
  flex: 1 1 0%; min-width: 0; height: 48px;
  background: var(--teal); border-radius: 6px;
  color: #fff; font-size: 15px; font-weight: 700;
  text-decoration: none;
}

/* =======================================================
   COMPREHENSIVE MOBILE FIXES — max-width: 768px
   ======================================================= */
@media (max-width: 768px) {

  /* Sticky bar activation + body clearance (env() for iOS home bar) */
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

  /* --- NAV: mobile header — logo left, hamburger right only --- */
  .nav-phone { display: none !important; }
  html, body { overflow-x: hidden !important; width: 100% !important; max-width: 100% !important; }

  /* Header inner — explicit 64px height, logo left / hamburger right */
  .lf-nav__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 64px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    gap: 0 !important;
  }

  /* Hamburger — guaranteed tappable */
  .lf-nav__toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 8px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: all !important;
    position: relative !important;
    z-index: 1001 !important;
    cursor: pointer !important;
  }

  /* Menu hidden by default */
  .lf-nav__menu:not(.is-open) { display: none !important; }

  /* Open menu — fixed overlay, top matches 64px header height */
  .lf-nav__menu.is-open {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
    padding: 8px 0 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
  }
  .lf-nav__menu.is-open .lf-nav__list {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .lf-nav__menu.is-open .lf-nav__list > li {
    border-bottom: 1px solid #f0f0f0 !important;
    width: 100% !important;
  }
  .lf-nav__menu.is-open .lf-nav__list > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 1.5rem !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    width: 100% !important;
  }
  .lf-nav__menu.is-open .lf-nav__dropdown {
    display: none !important;
  }
  .lf-nav__menu.is-open .lf-nav__has-dropdown.is-open .lf-nav__dropdown {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: all !important;
    box-shadow: none !important;
    padding: 0 0 8px 2rem !important;
    border: none !important;
    background: none !important;
  }
  .lf-nav__menu.is-open .lf-nav__dropdown a {
    display: block !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
    color: #555 !important;
    font-weight: 400 !important;
  }
  body.mobile-menu-open { overflow: hidden !important; }

  /* --- PAGE HERO — stack vertically, image first --- */
  .page-hero__inner {
    grid-template-columns: 1fr !important;
    display: flex !important; flex-direction: column;
  }
  .page-hero__media { order: -1; min-height: 240px; }
  .page-hero__text { padding: 28px 1.25rem !important; }
  .page-hero__headline { font-size: clamp(1.75rem, 7vw, 2rem) !important; }
  .page-hero__sub { font-size: 15px !important; }

  /* CTA buttons full-width on mobile */
  .page-hero__ctas { flex-direction: column; gap: 12px; }
  .page-hero__ctas .btn { width: 100% !important; min-width: 0 !important; }

  /* --- BUTTONS — full-width on mobile --- */
  .cta-block__buttons .btn,
  .cta-banner__btns .btn {
    width: 100% !important; min-width: 0 !important;
  }
  .cta-block__buttons,
  .cta-banner__btns { flex-direction: column; gap: 12px; align-items: stretch; }

  /* --- HEADINGS minimum sizes --- */
  h1 { font-size: clamp(1.75rem, 8vw, 2.25rem) !important; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  h3 { font-size: 1.1rem !important; }
  .section h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }

  /* --- ABOUT SPLIT — stack --- */
  .about-split {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* --- CONTACT FORM — 16px to prevent iOS zoom --- */
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px !important; }

  /* --- SECTION PADDING reduction --- */
  .section { padding: 56px 0; }
  .cta-banner { padding: 60px 0; }

  /* --- LEGAL NAV already hidden via existing rule --- */

  /* --- TOUCH TARGETS: interactive elements min 44px --- */
  .btn { min-height: 44px !important; }
  .lf-nav__toggle { min-height: 44px; min-width: 44px; }
  .faq-question { min-height: 44px !important; padding: 16px 20px !important; }

  /* --- CTA BLOCK section padding --- */
  .cta-block { padding: 56px 0; }

  /* --- WRAP padding on small screens --- */
  .wrap { padding: 0 1rem !important; }

  /* --- FORM / PANEL padding reduction --- */
  .contact-form { padding: 20px !important; }
  .contact-side { padding: 20px !important; }
  .note-panel { padding: 20px !important; }
  .cs-detail__testimonial { padding: 20px !important; }
  .page-hero--simple { padding: 48px 0 28px !important; }

  /* --- PRICING TABLE — scrollable and readable on mobile --- */
  .pricing-panel { overflow-x: auto !important; }
  .pricing-tabs { gap: 8px; }
  .pricing-table { font-size: 13px; }
  .pricing-table th, .pricing-table td { padding: 10px 8px; }
  .pricing-note { font-size: 12px; }
  .pricing-cta-bar { flex-direction: column !important; align-items: stretch !important; gap: 12px; }
  .pricing-cta-bar .btn--primary { width: 100%; text-align: center; }
}

/* =======================================================
   TABLET FIXES — 768px
   ======================================================= */
@media (min-width: 601px) and (max-width: 959px) {
  /* Service / sector grids: 2 cols at tablet */
  .pp-grid--3,
  .pp-grid--4 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Review cards: 2 cols */
  .reviews__grid { grid-template-columns: 1fr 1fr !important; }

  /* Footer: 2-col acceptable */
  .lf-footer__inner { grid-template-columns: 1fr 1fr !important; }

  /* Case grid: 2 cols */
  .case-grid { grid-template-columns: 1fr 1fr !important; }
}

/* =======================================================
   FOOTER — stack to 1 col on mobile (inner pages)
   ======================================================= */
@media (max-width: 600px) {
  .lf-footer__inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  .lf-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* =======================================================
   VERY SMALL SCREENS — 375px
   ======================================================= */
@media (max-width: 480px) {
  /* All multi-col grids collapse to 1 */
  .pp-grid,
  .pp-grid--3,
  .pp-grid--4,
  .case-grid,
  .team-grid,
  .cred-grid,
  .compare-grid,
  .about-split { grid-template-columns: 1fr !important; }

  /* Checklist already handled at 620px */
  .checklist--2col { grid-template-columns: 1fr !important; }

  /* Contact form font-size */
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px !important; }

  /* Page hero headline minimum */
  .page-hero__headline { font-size: 1.75rem !important; }

  /* Section heading minimum */
  .section h2,
  h2 { font-size: 1.5rem !important; }

  /* CTA banner reduce padding */
  .cta-banner { padding: 48px 0; }
  .cta-banner h2 { font-size: 1.5rem !important; }

  /* Proof block stats already 1-col via existing rule */

  /* Deliver grid 1-col */
  .deliver-grid { grid-template-columns: 1fr !important; }

  /* Image heights on very small screens */
  .team-card__media { height: 200px !important; }
  .compare-fig img { height: 220px !important; }
}

/* =======================================================
   Pricing section
   ======================================================= */

.pricing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00b5a3;
  margin: 0 0 12px;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  justify-content: center;
}

.pricing-tab {
  padding: 8px 22px;
  border-radius: 20px;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.4;
}
.pricing-tab:hover { border-color: #00b5a3; color: #00b5a3; }
.pricing-tab--active { background: #00b5a3; color: #fff; border-color: #00b5a3; }

.pricing-panel { max-width: 700px; margin: 0 auto; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 16px;
}
.pricing-table thead tr {
  background: #f4f5f6;
}
.pricing-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #888;
  padding: 12px 16px;
}
.pricing-table th:last-child { text-align: right; }
.pricing-table td {
  padding: 12px 16px;
  font-size: 15px;
  color: #1a1a1a;
  border-bottom: 1px solid #ebebeb;
}
.pricing-table td:last-child {
  text-align: right;
  color: #00b5a3;
  font-weight: 500;
}
.pricing-table tbody tr:hover { background: #fafafa; }
.pricing-table tbody tr:last-child td { border-bottom: none; }

.pricing-note {
  background: #f8f9fa;
  border-left: 4px solid #00b5a3;
  padding: 14px 18px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
  border-radius: 0 6px 6px 0;
}

.pricing-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f4f5f6;
  padding: 16px 20px;
  border-radius: 6px;
}
.pricing-cta-bar p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
.pricing-cta-bar .btn--primary {
  white-space: nowrap;
  flex-shrink: 0;
}

/* =======================================================
   TRADING STANDARDS CALLOUT BLOCK
   ======================================================= */
.ts-callout-wrap {
  padding: 32px 0 8px;
}
.ts-callout-wrap + .trust-strip { margin-top: 0; }
.ts-callout {
  background: #f0faf9;
  border: 1px solid #b2e4df;
  border-radius: 10px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.ts-callout__logo {
  height: 68px;
  width: auto;
  flex-shrink: 0;
}
.ts-callout__divider {
  width: 1px;
  height: 52px;
  background: #b2e4df;
  flex-shrink: 0;
}
.ts-callout__text { flex: 1; }
.ts-callout__heading {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 5px;
}
.ts-callout__body {
  font-size: 14px;
  color: #444;
  line-height: 1.65;
  margin: 0;
}
.ts-callout__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: #00b5a3;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
@media (max-width: 700px) {
  .ts-callout { flex-wrap: wrap; gap: 16px; }
  .ts-callout__divider { display: none; }
  .ts-callout__badge { flex-direction: row; }
}
