/* DESIGN TOKENS */
:root {
  --bg: #111820;
  --bg-2: #172231;
  --surface: #192433;
  --surface-2: #202d3d;
  --surface-3: #ebeded;
  --ink: #f4f1ec;
  --ink-soft: #d7dee1;
  --muted: #9eb0bb;
  --muted-dark: #b8c3ca;
  --line: rgba(235, 237, 237, 0.13);
  --line-strong: rgba(167, 121, 93, 0.36);
  --blue: #667989;
  --blue-deep: #4c5863;
  --amber: #a7795d;
  --amber-light: #dda27a;
  --green: #7b8d98;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.22);
  --body-top: rgba(17, 24, 32, 0.72);
  --grid-line: rgba(235, 237, 237, 0.04);
  --radial-copper: rgba(167, 121, 93, 0.16);
  --radial-steel: rgba(102, 121, 137, 0.18);
  --header-bg: rgba(17, 24, 32, 0.84);
  --header-border: rgba(235, 237, 237, 0.1);
  --section-bg: rgba(255, 255, 255, 0.035);
  --hover-bg: rgba(235, 237, 237, 0.075);
  --tag-bg: rgba(255, 255, 255, 0.055);
  --card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  --card-featured-bg:
    linear-gradient(135deg, rgba(102, 121, 137, 0.2), rgba(167, 121, 93, 0.12)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  --card-hover-bg: linear-gradient(145deg, rgba(167, 121, 93, 0.15), rgba(255, 255, 255, 0.055));
  --input-bg: rgba(255, 255, 255, 0.075);
  --input-focus-bg: rgba(255, 255, 255, 0.11);
  --footer-bg: #0d1219;
  --footer-text: #b8c3ca;
  --nav-link: #d7dee1;
  --logo-light-display: block;
  --logo-dark-display: none;
  --diagram-line: rgba(235, 237, 237, 0.24);
  --diagram-fill: rgba(235, 237, 237, 0.14);
  --radius: 8px;
  --container: 1180px;
  --ease: 180ms ease;
}

html[data-theme="light"] {
  --bg: #ebeded;
  --bg-2: #dfe4e5;
  --surface: #f6f7f7;
  --surface-2: #ffffff;
  --surface-3: #2c3948;
  --ink: #263240;
  --ink-soft: #3e4c58;
  --muted: #667989;
  --muted-dark: #4c5863;
  --line: rgba(44, 57, 72, 0.14);
  --blue-deep: #2c3948;
  --shadow: 0 24px 70px rgba(38, 50, 64, 0.18);
  --shadow-soft: 0 16px 48px rgba(38, 50, 64, 0.13);
  --body-top: rgba(255, 255, 255, 0.76);
  --grid-line: rgba(44, 57, 72, 0.04);
  --radial-copper: rgba(167, 121, 93, 0.14);
  --radial-steel: rgba(102, 121, 137, 0.14);
  --header-bg: rgba(235, 237, 237, 0.86);
  --header-border: rgba(44, 57, 72, 0.12);
  --diagram-line: rgba(44, 57, 72, 0.3);
  --diagram-fill: rgba(44, 57, 72, 0.16);
  --section-bg: rgba(255, 255, 255, 0.34);
  --hover-bg: rgba(44, 57, 72, 0.07);
  --tag-bg: rgba(255, 255, 255, 0.62);
  --card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(235, 237, 237, 0.62));
  --card-featured-bg:
    linear-gradient(135deg, rgba(102, 121, 137, 0.18), rgba(167, 121, 93, 0.1)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(235, 237, 237, 0.62));
  --card-hover-bg: linear-gradient(145deg, rgba(167, 121, 93, 0.14), rgba(255, 255, 255, 0.72));
  --input-bg: rgba(255, 255, 255, 0.76);
  --input-focus-bg: #ffffff;
  --footer-bg: #263240;
  --footer-text: #b8c3ca;
  --nav-link: #3e4c58;
  --logo-light-display: none;
  --logo-dark-display: block;
}

/* GLOBAL */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-soft);
  background:
    linear-gradient(180deg, var(--body-top), var(--bg) 42rem),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 92px),
    radial-gradient(circle at 72% 4%, var(--radial-copper), transparent 30rem),
    radial-gradient(circle at 18% 16%, var(--radial-steel), transparent 26rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button { cursor: pointer; }

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.35rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1rem; }

p { color: var(--muted); }

section {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(167, 121, 93, 0.32);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -160%);
  z-index: 100;
  padding: 10px 18px;
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 2px;
}

.header-container,
.hero-content,
.value-container,
.services-container,
.why-container,
.process-container,
.msp-container,
.credentials-container,
.service-area-container,
.faq-container,
.page-container,
.boundaries-container,
.cta-container,
.contact-container,
.footer-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  min-width: 0;
}

.logo-wordmark {
  width: clamp(152px, 18vw, 236px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.logo-wordmark-dark { display: var(--logo-dark-display); }
.logo-wordmark-light { display: var(--logo-light-display); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-desktop a,
.nav-mobile a {
  color: var(--nav-link);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
}

html[data-theme="dark"] .header .nav-desktop a:not(.nav-cta),
html[data-theme="dark"] .nav-mobile a:not(.nav-cta) {
  color: #d7dee1 !important;
}

html[data-theme="light"] .header .nav-desktop a:not(.nav-cta),
html[data-theme="light"] .nav-mobile a:not(.nav-cta) {
  color: #3e4c58 !important;
}

.nav-desktop a:hover,
.nav-mobile a:hover {
  color: var(--ink);
  background: var(--hover-bg);
}

.nav-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--amber-light), var(--amber) 48%, #965b39) !important;
  border: 1px solid rgba(167, 121, 93, 0.36);
  box-shadow: 0 12px 34px rgba(167, 121, 93, 0.2);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  color: var(--ink);
  background: var(--tag-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.theme-toggle {
  width: 52px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.theme-toggle-track {
  position: relative;
  width: 48px;
  height: 28px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tag-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-toggle-track::before,
.theme-toggle-track::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.theme-toggle-track::before {
  content: 'D';
  left: 9px;
  color: var(--amber-light);
}

.theme-toggle-track::after {
  content: 'L';
  right: 9px;
  color: var(--muted);
}

.theme-toggle-thumb {
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: transform var(--ease);
}

html[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(20px);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto 16px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-mobile.is-open {
  display: grid;
  gap: 4px;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* HERO */
.hero {
  min-height: auto;
  padding: clamp(72px, 8vw, 112px) 0 clamp(70px, 8vw, 108px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 10% -12% auto auto;
  width: 62vw;
  max-width: 820px;
  aspect-ratio: 1.35;
  background:
    linear-gradient(90deg, rgba(102, 121, 137, 0.2), transparent 72%),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(167, 121, 93, 0.14) 24px 26px);
  mask-image: linear-gradient(90deg, transparent, black 18%, black 74%, transparent);
  transform: rotate(-11deg);
  opacity: 0.62;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.hero-text {
  max-width: 820px;
}

.hero-badge,
.section-header p:first-child:not(.hero-subtitle) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--blue-deep));
  border-radius: 999px;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-subtitle {
  max-width: 650px;
  color: var(--muted-dark);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--amber) 50%, #965b39);
  box-shadow: 0 18px 46px rgba(167, 121, 93, 0.22);
}

.button-primary:hover {
  box-shadow: 0 22px 54px rgba(167, 121, 93, 0.3);
}

.button-secondary,
.button-light {
  color: var(--ink);
  background: var(--tag-bg);
  border-color: var(--line);
}

.button-secondary:hover,
.button-light:hover {
  background: rgba(167, 121, 93, 0.12);
  border-color: var(--line-strong);
}

.button-large {
  min-height: 56px;
  padding-inline: 26px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.hero-tags span,
.boundaries-list span,
.msp-list span,
.contact-block {
  color: var(--ink-soft);
  background: var(--tag-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-tags span {
  padding: 8px 11px;
  font-size: 0.88rem;
}

.hero-visual {
  min-height: 430px;
  display: flex;
  align-items: center;
}

.brand-visual {
  position: relative;
  width: min(100%, 440px);
  min-height: 430px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.brand-visual::before,
.brand-visual::after {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: var(--radius);
}

.brand-visual::before {
  display: none;
}

.brand-visual::after {
  inset: auto auto 20px 24px;
  width: 78%;
  height: 12px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--amber-light), var(--amber));
}

.brand-mark {
  position: absolute;
  z-index: 1;
  inset: 0 auto auto -32px;
  width: min(108%, 480px);
  max-width: none;
  filter: drop-shadow(0 22px 34px rgba(44, 57, 72, 0.2));
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* VALUE SECTION */
.value-section,
.why-section,
.msp-section,
.credentials-section,
.faq-section,
.cta-section {
  border-block: 1px solid var(--header-border);
  background: var(--section-bg);
}

.value-section { padding: 28px 0; }

.value-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.value-card,
.service-card,
.process-step,
.msp-feature,
.stat-box,
.contact-form,
.contact-info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.value-card {
  display: block;
  padding: 22px;
}

.value-card h3 { margin: 14px 0 8px; }
.value-card p { font-size: 0.94rem; }

.value-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 28px rgba(167, 121, 93, 0.16);
}

.value-icon::before,
.value-icon::after {
  content: '';
  position: absolute;
  display: block;
}

.value-icon-port::before {
  width: 20px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 4px;
  border-top-width: 5px;
}

.value-icon-port::after {
  width: 12px;
  height: 3px;
  top: 17px;
  background: #ffffff;
  border-radius: 999px;
}

.value-icon-check::before {
  width: 17px;
  height: 9px;
  border-left: 4px solid #ffffff;
  border-bottom: 4px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.value-icon-docs::before {
  width: 17px;
  height: 22px;
  border: 3px solid #ffffff;
  border-radius: 3px;
  background:
    linear-gradient(#ffffff, #ffffff) 50% 8px / 9px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) 50% 14px / 9px 2px no-repeat;
}

.value-icon-docs::after {
  top: 8px;
  right: 10px;
  width: 7px;
  height: 7px;
  background: var(--amber-light);
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
}

/* SERVICES */
.services,
.process-section,
.credentials-section,
.service-area-section,
.faq-section,
.contact {
  padding: clamp(76px, 9vw, 112px) 0;
}

.section-header {
  max-width: 740px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
}

.service-card:hover,
.process-step:hover,
.msp-feature:hover,
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--card-hover-bg);
  box-shadow: var(--shadow-soft);
}

.service-card.featured {
  grid-column: span 2;
  background: var(--card-featured-bg);
  border-color: rgba(167, 121, 93, 0.36);
}

.service-card h3 {
  margin: 0 0 12px;
  max-width: 18ch;
}

.service-card h3 a {
  color: inherit;
}

.service-card > p {
  margin-bottom: 18px;
  color: var(--muted-dark);
  flex: 1 1 auto;
}

.service-list {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(167, 121, 93, 0.12);
}

.service-link {
  width: fit-content;
  margin-top: 18px;
  color: var(--amber-light);
  font-weight: 800;
  font-size: 0.9rem;
}

.service-link:hover {
  color: var(--ink);
}

/* WHY */
.why-section { padding: clamp(72px, 10vw, 120px) 0; }

.why-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.why-text h2 {
  margin-bottom: 32px;
  max-width: 12ch;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.why-item {
  padding-left: 18px;
  border-left: 2px solid rgba(167, 121, 93, 0.44);
}

.why-item h4 {
  margin-bottom: 7px;
  color: var(--ink);
}

.why-item p { font-size: 0.94rem; }

.why-visual {
  display: grid;
  gap: 16px;
}

.stat-box {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
}

.stat-visual {
  width: 100%;
  margin-bottom: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--section-bg);
  padding: 6px 14px;
}

.stat-visual svg {
  width: 100%;
  height: auto;
  max-height: 72px;
}

.stat-number {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.02;
}

.stat-label {
  color: var(--muted);
  font-size: 0.94rem;
}

/* PROCESS */
.process-section h2 {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  padding: 24px;
}

.process-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  border-radius: var(--radius);
  font-weight: 900;
}

.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 0.94rem; }

/* MSP */
.msp-section { padding: clamp(72px, 10vw, 112px) 0; }

.msp-container > h2,
.msp-subtitle {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.msp-container > h2 { margin-bottom: 16px; }

.msp-subtitle {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.msp-feature {
  padding: 26px;
}

.msp-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  border-radius: var(--radius);
}

.msp-icon svg {
  width: 22px;
  height: 22px;
}

.msp-feature h3 { margin-bottom: 10px; }
.msp-feature p { font-size: 0.94rem; }

/* CREDENTIALS / AREA / FAQ */
.credentials-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.credential-card,
.faq-item,
.service-area-panel,
.page-card,
.page-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.credential-card,
.faq-item,
.page-card,
.page-faq-item {
  padding: 24px;
}

.credential-card h3,
.faq-item h3,
.page-card h2,
.page-card h3,
.page-faq-item h3 {
  margin-bottom: 10px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  color: var(--amber-light);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.service-area-section {
  background: transparent;
}

.service-area-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
}

.service-area-panel h2 {
  margin: 0;
}

.service-area-panel p {
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.faq-item p,
.credential-card p,
.page-faq-item p {
  font-size: 0.95rem;
}

/* BOUNDARIES */
.boundaries-section { padding: 72px 0; }

.boundaries-container {
  text-align: center;
}

.boundaries-section h2 { margin-bottom: 10px; }
.boundaries-subtitle { margin-bottom: 26px; }

.boundaries-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
  margin-inline: auto;
}

.boundaries-list span {
  padding: 9px 12px;
  font-size: 0.9rem;
}

/* CTA */
.cta-section {
  padding: clamp(76px, 10vw, 128px) 0;
  background:
    linear-gradient(135deg, rgba(44, 57, 72, 0.16), rgba(167, 121, 93, 0.18)),
    var(--section-bg);
}

.cta-container {
  max-width: 860px;
  text-align: center;
}

.cta-container h2 { margin-bottom: 14px; }
.cta-container p { margin: 0 auto 28px; max-width: 590px; color: var(--muted-dark); }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.contact-header {
  grid-column: 1 / -1;
  max-width: 790px;
  margin-bottom: 24px;
}

.contact-header h2 { margin-bottom: 14px; }

.contact-header p + p { margin-top: 8px; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form label:nth-last-of-type(2),
.contact-form label:last-of-type,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

textarea { resize: vertical; }

select option {
  color: var(--ink);
  background: var(--surface);
}

select option:checked {
  color: var(--ink);
  background: var(--surface-2);
}

input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: rgba(167, 121, 93, 0.72);
  box-shadow: 0 0 0 4px rgba(167, 121, 93, 0.14);
  background: var(--input-focus-bg);
}

::placeholder { color: #657284; }

.contact-form button {
  width: fit-content;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.form-note[data-state="pending"] { color: var(--muted-dark); }
.form-note[data-state="success"] { color: var(--amber-light); }
.form-note[data-state="error"] { color: #d7aa8d; }

.contact-info {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.contact-block {
  padding: 18px;
}

.contact-block h3 {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.95rem;
}

.contact-block a {
  color: #8f5737;
  overflow-wrap: anywhere;
}

.contact-block a span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-block p,
.contact-block a {
  font-size: 0.94rem;
}

/* FOOTER */
.footer {
  padding: 48px 0 28px;
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  padding-bottom: 34px;
}

.footer-brand h3 { margin-bottom: 10px; }
.footer-brand h3,
.footer-links h4 {
  color: #ffffff;
}

.footer-brand p {
  max-width: 420px;
  color: var(--footer-text);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-links h4 { margin-bottom: 12px; }

.footer-links ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--footer-text);
  font-size: 0.93rem;
}

.footer-links a:hover { color: var(--amber-light); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--footer-text);
  font-size: 0.88rem;
}

/* SERVICE PAGES */
.page-hero {
  padding: clamp(72px, 9vw, 118px) 0 clamp(44px, 7vw, 76px);
  overflow: hidden;
}

.page-hero-inner {
  max-width: 880px;
}

.page-hero .hero-badge {
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 22px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted-dark);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.page-layout {
  padding: 0 0 clamp(76px, 9vw, 112px);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 18px;
  align-items: start;
}

.page-main,
.page-sidebar {
  display: grid;
  gap: 16px;
}

.page-card p + p {
  margin-top: 14px;
}

.page-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.page-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
}

.page-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(167, 121, 93, 0.12);
}

.page-sidebar .button {
  width: 100%;
}

.related-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.related-links a {
  color: var(--amber-light);
  font-weight: 800;
}

.related-links a:hover {
  color: var(--ink);
}

.page-faq {
  display: grid;
  gap: 12px;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.in-view {
  animation: revealIn 580ms ease forwards;
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* RESPONSIVE */
@media (min-width: 900px) {
  .hero-content { grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr); }
}

@media (max-width: 1040px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card.featured { grid-column: span 1; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero h1 { max-width: 720px; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 280px; }
  .brand-visual { min-height: 340px; }
  .brand-mark {
    inset: 18px auto auto 0;
    width: min(100%, 410px);
  }
  .value-container,
  .msp-grid,
  .credentials-grid,
  .faq-grid,
  .service-area-panel,
  .why-list,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .why-split { grid-template-columns: 1fr; }
  .contact-header { margin-bottom: 8px; }
}

@media (max-width: 720px) {
  .header-container,
  .hero-content,
  .value-container,
  .services-container,
  .why-container,
  .process-container,
  .msp-container,
  .credentials-container,
  .service-area-container,
  .faq-container,
  .page-container,
  .boundaries-container,
  .cta-container,
  .contact-container,
  .footer-container,
  .nav-mobile {
    width: min(100% - 28px, var(--container));
  }
  .logo-wordmark { width: 168px; }
  .hero { padding: 46px 0 54px; }
  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.05rem);
    line-height: 1.02;
  }
  .hero h1 span {
    display: inline;
  }
  .hero-badge {
    margin-bottom: 16px;
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .hero-badge::before {
    width: 22px;
    flex: 0 0 22px;
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.65;
  }
  .hero-buttons {
    margin: 26px 0 20px;
  }
  .hero-visual {
    display: none;
  }
  .services,
  .why-section,
  .process-section,
  .msp-section,
  .credentials-section,
  .service-area-section,
  .faq-section,
  .boundaries-section,
  .cta-section,
  .contact {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .value-section { padding: 18px 0; }
  .hero-tags {
    display: flex;
    gap: 8px;
  }
  .hero-tags span {
    padding: 7px 9px;
    font-size: 0.8rem;
  }
  .hero-tags span:nth-child(n+4) {
    display: none;
  }
  .value-container,
  .services-grid,
  .process-steps,
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form button { width: 100%; }
  .service-card,
  .value-card,
  .process-step,
  .msp-feature,
  .contact-form,
  .contact-info {
    padding: 20px;
  }
  .footer-links { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .logo-wordmark { width: 148px; }
  .button { width: 100%; }
}
