:root {
  --bg: #f5f2ea;
  --bg-soft: #efe4c3;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --card-bg: #fffdfa;
  --card-bg-soft: #ffffff;
  --ink: #181714;
  --muted: #59544c;
  --line: rgba(24, 23, 20, 0.11);
  --line-strong: rgba(24, 23, 20, 0.08);
  --primary: #1a1814;
  --primary-strong: #12110f;
  --accent: #d8ad29;
  --accent-soft: #f3e4a5;
  --success: #1f7a56;
  --danger: #b54536;
  --shadow-lg: 0 24px 54px rgba(24, 23, 20, 0.08);
  --shadow-md: 0 12px 30px rgba(24, 23, 20, 0.06);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(208, 164, 42, 0.08), transparent 18%),
    linear-gradient(180deg, #faf7f1 0%, #f4efe5 48%, #faf7f1 100%);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Gill Sans MT", "Trebuchet MS", sans-serif;
  font-weight: 700;
  line-height: 1.08;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 110px;
}

.site-shell {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-main {
  position: relative;
  background: transparent;
  overflow: clip;
}

.site-topbar {
  background: rgba(26, 24, 20, 0.97);
  color: rgba(255, 255, 255, 0.92);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.7rem 0;
  font-size: 0.95rem;
}

.topbar-note {
  margin: 0;
  letter-spacing: 0.03em;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .site-nav {
  box-shadow: 0 18px 40px rgba(24, 23, 20, 0.12);
}

.site-nav {
  background: rgba(252, 248, 242, 0.985);
  border-bottom: 1px solid rgba(24, 23, 20, 0.08);
}

.site-nav .site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-image {
  width: auto;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-image-footer {
  height: 64px;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-toggler {
  border: 1px solid rgba(24, 23, 20, 0.1);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  background: #fff;
}

.site-toggler-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.site-toggler .navbar-toggler-icon {
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17,33,48,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  position: relative;
  color: var(--ink);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary);
}

.nav-link.is-active,
.nav-link[aria-current="page"] {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 173, 41, 0.92), rgba(216, 173, 41, 0.28));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-button {
  margin-left: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #e4bc3d);
  color: var(--primary-strong);
  box-shadow: 0 14px 28px rgba(208, 164, 42, 0.2);
}

.button-primary:hover {
  color: var(--primary-strong);
}

.button-secondary {
  border-color: rgba(24, 23, 20, 0.14);
  background: rgba(255, 252, 248, 0.96);
  color: var(--ink);
}

.hero-section,
.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(5rem, 7vw, 7rem) 0 3.4rem;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 173, 41, 0.16), transparent 24%),
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(180deg, rgba(252, 248, 242, 0.98), rgba(244, 239, 229, 0.96) 68%, rgba(245, 242, 234, 0.98));
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(245, 242, 234, 0), rgba(245, 242, 234, 0.9));
  pointer-events: none;
}

.hero-section::after {
  content: none;
}

.hero-grid,
.page-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy,
.page-hero-layout > div:first-child {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow {
  color: #a27a16;
}

.section-dark .eyebrow,
.callout-band-dark .eyebrow,
.process-stage .eyebrow {
  color: var(--accent-soft);
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 12ch;
}

.page-hero h1 {
  max-width: 15ch;
  text-wrap: balance;
}

.page-title-legal {
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
  max-width: 16ch !important;
}

.hero-lead,
.page-hero p {
  margin: 1.3rem 0 0;
  font-size: 1.04rem;
  max-width: 58ch;
  color: rgba(24, 23, 20, 0.84);
}

.page-hero-layout {
  align-items: start;
}

.page-hero .hero-actions {
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-points,
.service-list,
.industry-list,
.footer-list,
.faq-list,
.breadcrumb-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.page-hero .hero-points {
  max-width: 58ch;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(24, 23, 20, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(10px);
}

.hero-points li,
.industry-list li,
.service-list li,
.footer-list li {
  position: relative;
  padding-left: 1.3rem;
}

.hero-points li::before,
.industry-list li::before,
.service-list li::before,
.footer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.page-hero .hero-points li::before {
  background: var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-grid-compact {
  margin-top: 0;
}

.stat-card,
.service-card,
.benefit-card,
.media-card,
.process-card,
.contact-card,
.detail-card,
.prose-panel,
.industry-panel,
.contact-form-wrap,
.callout-band,
.prose-block {
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-card {
  padding: 1.25rem;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 245, 0.98));
  box-shadow:
    inset 0 3px 0 rgba(216, 173, 41, 0.18),
    var(--shadow-md);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-size: 1.2rem;
  font-family: "Gill Sans MT", "Trebuchet MS", sans-serif;
}

.stat-card span {
  display: block;
  font-weight: 700;
}

.stat-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual,
.page-hero-side {
  position: relative;
  display: grid;
  gap: 1rem;
}

.visual-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.visual-card-main {
  position: relative;
}

.visual-card-main,
.page-hero-side > img {
  background:
    radial-gradient(circle at top left, rgba(208, 164, 42, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(18, 40, 58, 0.06), transparent 30%),
    linear-gradient(135deg, #fffdf9, #ece8df);
  border: 1px solid rgba(24, 23, 20, 0.08);
}

.visual-card-main img,
.page-hero-side > img {
  width: 100%;
  min-height: 400px;
  padding: 1.15rem 1.15rem 0.75rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 26px rgba(24, 23, 20, 0.14));
  transition: transform 0.45s ease, filter 0.45s ease;
}

.visual-card-note,
.visual-card-contacts,
.inline-note {
  padding: 1.25rem 1.4rem;
  background: var(--card-bg-soft);
  color: var(--ink);
  border: 1px solid rgba(24, 23, 20, 0.08);
}

.visual-card-note strong,
.inline-note strong {
  display: block;
  font-size: 1.08rem;
  font-family: "Gill Sans MT", "Trebuchet MS", sans-serif;
  line-height: 1.15;
}

.visual-card-note p,
.inline-note p,
.visual-card-contacts span {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.visual-card-contacts {
  display: grid;
  gap: 0.4rem;
}

.visual-card-contacts a {
  font-weight: 700;
}

.note-label {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(208, 164, 42, 0.14);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual-copy {
  border-radius: var(--radius-lg);
}

.page-side-panel {
  padding: 1.2rem 1.25rem;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 248, 239, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    var(--shadow-md);
}

.page-side-panel .service-list li,
.page-side-panel p {
  color: var(--muted);
}

.service-card h3,
.benefit-card h3,
.media-card h3,
.detail-card h3,
.process-card h3,
.certificate-card h3,
.prose-panel h3 {
  font-size: 1.28rem;
}

.trust-list-inline {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.stacked-links {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.stacked-links a {
  font-weight: 700;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0.85rem;
}

.trust-strip .site-shell {
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 28px rgba(24, 23, 20, 0.04);
}

.trust-title {
  margin: 0 0 1rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.brand-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card-bg-soft);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(24, 23, 20, 0.04);
}

.content-section {
  position: relative;
  padding: 4.5rem 0;
}

.section-surface {
  background: transparent;
  border: 0;
}

.content-section-tight {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

.section-accent {
  background: transparent;
  border: 0;
}

.section-dark {
  background: transparent;
  color: inherit;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
  display: grid;
  gap: 0.55rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-heading p:last-child {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 64ch;
}

.section-heading-compact {
  max-width: 640px;
}

.section-heading-light p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.service-grid,
.benefit-grid,
.process-grid,
.media-grid,
.detail-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-grid,
.process-grid,
.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-grid-compact {
  grid-template-columns: 1fr;
}

.benefit-grid-compact .benefit-card,
.detail-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.98));
}

.benefit-grid-compact .benefit-card {
  padding-left: 1.45rem;
}

.benefit-grid-compact .benefit-card::before,
.detail-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(216, 173, 41, 0.92), rgba(216, 173, 41, 0.28));
}

.media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.benefit-card,
.media-card,
.process-card,
.detail-card {
  padding: 1.3rem;
}

.service-card,
.benefit-card,
.media-card,
.detail-card,
.certificate-card,
.prose-panel,
.contact-card {
  overflow: hidden;
}

.service-card-media {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.98));
}

.service-card-image {
  width: 100%;
  height: 240px;
  padding: 1rem;
  background:
    radial-gradient(circle at top left, rgba(208, 164, 42, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(18, 40, 58, 0.05), transparent 28%),
    linear-gradient(135deg, #fffdf8, #ece7de);
  object-fit: scale-down;
  object-position: center;
  filter: drop-shadow(0 14px 20px rgba(24, 23, 20, 0.12));
  transition: transform 0.45s ease, filter 0.45s ease;
}

.service-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.45rem;
}

.service-card-body .service-link {
  margin-top: auto;
  padding-top: 0.5rem;
}

.service-card-top {
  display: grid;
  gap: 0.5rem;
}

.service-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card p,
.benefit-card p,
.media-card p,
.detail-card p,
.prose-panel p,
.prose-block p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.certificate-card-body p,
.policy-list span,
.faq-item p,
.contact-card p,
.footer-copy {
  color: var(--muted);
}

.service-card a,
.prose-panel a,
.prose-block a,
.contact-card a,
.stacked-links a {
  color: var(--primary);
}

.service-link {
  display: inline-flex;
  margin-top: 1.15rem;
  color: var(--primary);
  font-weight: 700;
}

.media-card {
  display: grid;
  gap: 1rem;
}

.media-card img {
  width: 100%;
  height: 220px;
  padding: 1rem;
  background:
    radial-gradient(circle at top left, rgba(208, 164, 42, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(18, 40, 58, 0.05), transparent 28%),
    linear-gradient(135deg, #fffdf8, #ece7de);
  object-fit: scale-down;
  object-position: center;
  filter: drop-shadow(0 14px 20px rgba(24, 23, 20, 0.12));
  border-radius: var(--radius-md);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.certificate-grid-spaced {
  margin-top: 2rem;
}

.certificate-card {
  display: grid;
  gap: 1rem;
  padding: 0.95rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 240, 0.98));
  border-radius: var(--radius-lg);
}

.certificate-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff, #f8f2ea);
}

.certificate-frame img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 0;
}

.certificate-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
  cursor: zoom-in;
}

.certificate-trigger:focus-visible {
  outline: 2px solid rgba(216, 173, 41, 0.75);
  outline-offset: 4px;
}

.certificate-trigger:hover .certificate-frame {
  border-color: rgba(216, 173, 41, 0.55);
  box-shadow: 0 10px 22px rgba(24, 23, 20, 0.06);
}

.certificate-card-body {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(24, 23, 20, 0.08);
}

.certificate-card-body p {
  margin: 0;
  color: var(--muted);
}

.certificate-modal-content {
  border-radius: 0;
  border: 1px solid rgba(24, 23, 20, 0.12);
}

.certificate-modal-header {
  border-bottom: 1px solid rgba(24, 23, 20, 0.08);
}

.certificate-modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #faf7f1;
}

.certificate-modal-body img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.process-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.98));
  border-color: var(--line-strong);
}

.process-card p {
  color: var(--muted);
}

.columns-layout,
.two-column-panel,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.industry-panel,
.prose-panel,
.prose-block,
.contact-form-wrap {
  padding: 1.55rem;
}

.prose-panel h2,
.prose-block h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.prose-block > :first-child,
.prose-panel > :first-child {
  margin-top: 0;
}

.prose-block > :last-child,
.prose-panel > :last-child {
  margin-bottom: 0;
}

.page-hero-side-stack {
  align-content: start;
}

.policy-layout {
  align-items: start;
}

.policy-summary-card {
  display: grid;
  gap: 1rem;
  align-self: start;
}

.policy-intro {
  margin: 0 0 1.15rem;
  color: var(--ink);
  font-size: 1.03rem;
}

.policy-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card-bg-soft);
}

.policy-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-family: "Gill Sans MT", "Trebuchet MS", sans-serif;
}

.policy-list span {
  display: block;
  color: var(--muted);
}

.embedded-panel-image {
  width: 100%;
  height: 260px;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top left, rgba(208, 164, 42, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(18, 40, 58, 0.05), transparent 28%),
    linear-gradient(135deg, #fffdf8, #ece7de);
  object-fit: scale-down;
  object-position: center;
  filter: drop-shadow(0 14px 20px rgba(24, 23, 20, 0.12));
  transition: transform 0.45s ease, filter 0.45s ease;
}

.industry-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--card-bg-soft);
  box-shadow: var(--shadow-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  font-family: "Gill Sans MT", "Trebuchet MS", sans-serif;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(216, 173, 41, 0.12);
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-item p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.faq-item[open] {
  border-color: rgba(216, 173, 41, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 248, 238, 0.98));
  box-shadow: 0 18px 34px rgba(24, 23, 20, 0.08);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(216, 173, 41, 0.2);
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.contact-card {
  padding: 1.2rem 1.3rem;
}

.contact-card span {
  display: block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.contact-card a {
  display: block;
  margin-top: 0.35rem;
  font-weight: 700;
}

.contact-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.form-label {
  margin-bottom: 0.45rem;
  color: var(--primary);
  font-weight: 700;
}

.form-control {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  background: #ffffff;
}

.form-control:focus,
.form-check-input:focus {
  border-color: rgba(216, 173, 41, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(216, 173, 41, 0.16);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.custom-check .form-check-input {
  margin-top: 0.15rem;
}

.custom-check .form-check-label,
.field-validation,
.form-summary {
  color: var(--muted);
}

.field-validation {
  display: block;
  margin-top: 0.35rem;
  color: var(--danger);
  font-size: 0.93rem;
}

.form-summary {
  display: none;
}

.form-summary.has-errors,
.form-summary.validation-summary-errors {
  display: block;
}

.form-summary ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--danger);
}

.form-control.is-invalid,
.input-validation-error {
  border-color: rgba(181, 69, 54, 0.55);
  background-image: none;
}

.form-control.is-invalid:focus,
.input-validation-error:focus,
.form-check-input.is-invalid:focus {
  border-color: rgba(181, 69, 54, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(181, 69, 54, 0.12);
}

.form-check-input.is-invalid {
  border-color: rgba(181, 69, 54, 0.55);
}

.form-success {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(31, 122, 86, 0.12);
  color: var(--success);
  font-weight: 700;
}

.form-success[hidden] {
  display: none !important;
}

.form-button {
  justify-self: start;
}

.form-support-note {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.button.is-loading {
  transform: none;
  opacity: 0.88;
}

.lead-request-modal .modal-dialog {
  max-width: 760px;
}

.lead-request-modal.fade .modal-dialog,
.certificate-modal.fade .modal-dialog {
  transform: translateY(18px) scale(0.985);
  transition: transform 0.28s ease;
}

.lead-request-modal.show .modal-dialog,
.certificate-modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.lead-request-modal-content {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(216, 173, 41, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 240, 0.99));
  box-shadow: var(--shadow-lg);
}

.lead-request-modal-header {
  align-items: start;
  padding: 1.35rem 1.45rem 0.6rem;
  border-bottom: 0;
}

.lead-request-modal-title {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
}

.lead-request-modal-body {
  padding: 0 1.45rem 1.45rem;
}

.lead-request-modal-copy {
  margin: 0 0 1.15rem;
  color: var(--muted);
  max-width: 58ch;
}

.lead-request-form {
  gap: 1rem;
}

.lead-request-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

.lead-request-modal-contact {
  color: var(--primary);
  font-weight: 700;
}

.lead-request-modal-note {
  margin-top: 0.4rem;
}

.page-hero-compact {
  padding-bottom: 2rem;
}

.page-hero-side img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: rgba(24, 23, 20, 0.7);
  width: fit-content;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(24, 23, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
}

.breadcrumb-nav a {
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

.callout-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.9rem 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.callout-band h2 {
  max-width: 14ch;
  text-wrap: balance;
}

.callout-band p {
  max-width: 54ch;
}

.callout-band-dark,
.process-stage {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(26, 24, 20, 0.98), rgba(37, 34, 29, 0.96)),
    radial-gradient(circle at top right, rgba(216, 173, 41, 0.18), transparent 26%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px rgba(24, 23, 20, 0.18);
}

.callout-band-dark .eyebrow,
.callout-band-dark p,
.process-stage .eyebrow,
.process-stage p,
.process-stage .section-heading-light p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.callout-band-dark .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.process-stage {
  padding: 2rem;
}

.process-stage .process-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.process-stage .process-card h3 {
  color: #fff;
}

.process-stage .process-card p {
  color: rgba(255, 255, 255, 0.76);
}

.process-stage-heading {
  margin-bottom: 1.7rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.media-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(180deg, rgba(26, 24, 20, 0.98), rgba(18, 17, 15, 1)),
    radial-gradient(circle at top left, rgba(216, 173, 41, 0.16), transparent 26%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.brand-mark-footer .brand-copy small,
.footer-copy,
.footer-list,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-title {
  font-size: 1.15rem;
}

.footer-list {
  display: grid;
  gap: 0.7rem;
}

.footer-list li::before {
  background: rgba(216, 140, 84, 0.95);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
}

.mobile-action-bar {
  display: none;
}

@media (hover: hover) {
  .service-card,
  .benefit-card,
  .detail-card,
  .certificate-card,
  .contact-card,
  .brand-pill {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  .service-card:hover,
  .benefit-card:hover,
  .detail-card:hover,
  .certificate-card:hover,
  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(24, 23, 20, 0.12);
    border-color: rgba(216, 173, 41, 0.24);
  }

  .brand-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(24, 23, 20, 0.08);
  }

  .visual-card-main:hover img,
  .page-hero-side:hover > img,
  .service-card-media:hover .service-card-image,
  .media-card:hover img,
  .prose-panel:hover .embedded-panel-image {
    transform: scale(1.028);
    filter: drop-shadow(0 18px 28px rgba(24, 23, 20, 0.16));
  }
}

.js-enhanced [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition:
    opacity 0.65s ease,
    transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-enhanced [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  .site-nav .site-shell {
    align-items: flex-start;
  }

  .nav-button {
    margin: 1rem 0 0;
  }

  .hero-grid,
  .page-hero-layout,
  .columns-layout,
  .two-column-panel,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .benefit-grid,
  .media-grid,
  .process-grid,
  .detail-grid,
  .stat-grid,
  .certificate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .site-main {
    padding-bottom: calc(6.4rem + env(safe-area-inset-bottom, 0px));
  }

  .topbar-inner,
  .hero-actions,
  .callout-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-note {
    display: none;
  }

  .topbar-links {
    gap: 0.35rem 0.8rem;
    font-size: 0.85rem;
  }

  .content-section {
    padding: 3.5rem 0;
  }

  .hero-section,
  .page-hero {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .hero-section::before,
  .page-hero::before {
    inset: 0 0 1.25rem;
  }

  .page-hero::after {
    height: 56px;
  }

  .site-nav .site-shell {
    min-height: 64px;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.75rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    padding-right: 0;
  }

  .brand-mark {
    min-width: 0;
    max-width: calc(100% - 76px);
    gap: 0.6rem;
  }

  .brand-logo-image {
    height: 44px;
  }

  .brand-copy strong {
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .site-toggler {
    position: static;
    margin-left: auto;
    transform: none;
    z-index: 3;
    padding: 0.62rem;
    background: var(--primary);
    border-color: rgba(24, 23, 20, 0.2);
    box-shadow: 0 12px 22px rgba(24, 23, 20, 0.16);
  }

  .site-toggler-label {
    display: none;
  }

  .site-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.94)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .navbar-collapse {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    padding: 0.25rem 0 1rem;
  }

  .navbar-nav {
    align-items: flex-start !important;
    width: 100%;
    gap: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    padding-left: 0;
    padding-right: 0;
  }

  .nav-link::after {
    left: 0;
    right: auto;
    width: 2.2rem;
    bottom: 0.1rem;
  }

  .nav-button {
    width: 100%;
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .hero-grid,
  .page-hero-layout {
    gap: 1.15rem;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 0;
  }

  .trust-strip .site-shell {
    padding: 1rem;
  }

  .visual-card-main img,
  .page-hero-side > img {
    min-height: 250px;
    padding: 0.95rem 0.95rem 0.6rem;
  }

  .visual-card-note,
  .page-side-panel,
  .contact-form-wrap,
  .prose-panel,
  .industry-panel {
    padding: 1rem;
  }

  .lead-request-modal-header,
  .lead-request-modal-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-copy small {
    display: none;
  }

  .site-shell {
    width: min(1140px, calc(100% - 1.25rem));
  }

  .section-accent {
    background: transparent;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
    z-index: 55;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.7rem;
    padding: 0.7rem;
    border: 1px solid rgba(24, 23, 20, 0.08);
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.96);
    box-shadow: 0 18px 34px rgba(24, 23, 20, 0.16);
    backdrop-filter: blur(10px);
  }

  .mobile-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
  }

  .mobile-action-call {
    border: 1px solid rgba(24, 23, 20, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
  }

  .mobile-action-request {
    background: linear-gradient(135deg, var(--accent), #e4bc3d);
    color: var(--primary-strong);
    box-shadow: 0 12px 24px rgba(208, 164, 42, 0.22);
  }
}

body.modal-open .mobile-action-bar {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
