:root {
  --ink: #102027;
  --muted: #587078;
  --line: #d8e3e2;
  --paper: #f7faf8;
  --white: #ffffff;
  --teal: #0e7c74;
  --teal-dark: #075e59;
  --amber: #d9912d;
  --navy: #0b2230;
  --navy-soft: #123847;
  --aqua: #8de3dc;
  --shadow: 0 18px 60px rgba(16, 32, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 45%, #ffffff 100%);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 227, 226, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 700;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(14, 124, 116, 0.1);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--ink);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: var(--white);
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 96px);
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 34, 48, 0.96) 0%, rgba(11, 34, 48, 0.86) 42%, rgba(11, 34, 48, 0.22) 78%),
    linear-gradient(180deg, rgba(11, 34, 48, 0.15) 0%, rgba(11, 34, 48, 0.78) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.hero .eyebrow {
  color: var(--aqua);
}

.hero h1 {
  color: var(--white);
  max-width: 11ch;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: #d7e7e5;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.hero-panel div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel strong {
  margin-top: 4px;
  line-height: 1.3;
}

.hero-actions,
.cta-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(14, 124, 116, 0.24);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.intro-band {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--teal);
}

.intro-band p {
  max-width: 820px;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.intro-band a {
  flex: 0 0 auto;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip div {
  padding: 26px clamp(18px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 84px);
}

.section h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

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

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

.feature-card,
.values article,
.contact-panel,
.principles {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(16, 32, 39, 0.06);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  background: rgba(14, 124, 116, 0.1);
  border-radius: 8px;
}

.feature-icon svg,
.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.values h2,
.contact-panel h2,
.principles h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.feature-card p,
.values p {
  margin: 0;
  color: var(--muted);
}

.section-copy {
  max-width: 500px;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-overview {
  background:
    radial-gradient(circle at 82% 18%, rgba(14, 124, 116, 0.1), transparent 30%),
    var(--paper);
}

.why-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 78px);
  color: var(--white);
  background: var(--navy);
}

.why-section .eyebrow {
  color: var(--aqua);
}

.why-heading h2 {
  max-width: 680px;
}

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

.why-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.why-grid span {
  color: var(--aqua);
  font-weight: 800;
}

.why-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.12rem;
}

.why-grid p {
  margin: 0;
  color: #c8dcdf;
}

.dark-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 78px);
  color: var(--white);
  background: var(--navy);
}

.dark-band .eyebrow {
  color: #8dd8cf;
}

.metrics {
  display: grid;
  gap: 16px;
}

.metrics div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metrics span,
.metrics strong {
  display: block;
}

.metrics span {
  color: #a8c1c6;
  font-weight: 700;
}

.metrics strong {
  margin-top: 4px;
  font-size: 1.18rem;
}

.cta-section {
  justify-content: space-between;
  margin-top: 0;
  background: var(--white);
}

.cta-section h2 {
  max-width: 820px;
}

.page-hero {
  display: grid;
  gap: 18px;
  padding: clamp(72px, 12vw, 142px) clamp(20px, 5vw, 72px) clamp(46px, 7vw, 72px);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.page-hero.compact {
  padding-bottom: clamp(36px, 6vw, 58px);
}

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

.service-list article {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(16, 32, 39, 0.07);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.service-list h2,
.service-list p {
  margin: 0;
}

.service-list p {
  margin-top: 10px;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 76px);
  background: var(--white);
}

.process ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process li::before {
  content: counter(steps);
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-weight: 800;
  background: var(--teal);
  border-radius: 8px;
}

.process strong,
.process span {
  grid-column: 2;
}

.process strong {
  font-size: 1.1rem;
}

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

.narrative {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
}

.narrative p {
  color: var(--muted);
  font-size: 1.08rem;
}

.principles ul,
.contact-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
}

.contact-details {
  display: grid;
  gap: 10px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-details a {
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(24px, 5vw, 56px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.contact-form .full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  border: 1px solid #bfd0cf;
  border-radius: 8px;
  background: #fbfdfc;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(14, 124, 116, 0.18);
  border-color: var(--teal);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #d7e7e5;
  background: var(--ink);
}

.site-footer a {
  font-weight: 800;
}

#chatbase-bubble-button,
#chatbase-message-bubbles,
#chatbase-bubble-window,
iframe[src*="chatbase.co"] {
  z-index: 2147483647 !important;
}

#chatbase-bubble-button,
#chatbase-message-bubbles {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
}

#chatbase-bubble-window {
  position: fixed !important;
  right: 24px !important;
  bottom: 92px !important;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(247, 250, 248, 0.98) 0%, rgba(247, 250, 248, 0.88) 62%, rgba(247, 250, 248, 0.45) 100%);
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4.6rem);
  }

  .trust-strip,
  .split,
  .dark-band,
  .process,
  .narrative,
  .hero-inner,
  .why-section,
  .contact-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    width: min(100%, 520px);
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .feature-grid,
  .why-grid,
  .values,
  .service-list,
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 170px;
    line-height: 1.1;
  }

  .hero-actions,
  .intro-band,
  .cta-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }
}
