:root {
  --ink: #102123;
  --muted: #526164;
  --line: #d9e4e2;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --deep: #083438;
  --teal: #0f766e;
  --teal-dark: #0a5d58;
  --coral: #f06a4f;
  --gold: #c8943b;
  --header-height: 72px;
  --shadow: 0 18px 45px rgba(16, 33, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--deep);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(217, 228, 226, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--deep);
  color: white;
  font-size: 0.86rem;
}

.brand-text {
  color: var(--deep);
  font-size: 1.05rem;
}

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

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: #24383b;
  font-weight: 700;
  padding: 8px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--soft);
  outline: 0;
}

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

.nav-toggle__line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--deep);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(88svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #eef4f1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(244, 247, 245, 0.96) 0%, rgba(244, 247, 245, 0.86) 31%, rgba(244, 247, 245, 0.24) 58%, rgba(244, 247, 245, 0.08) 100%),
    url("assets/hero-digital-marketing.jpg");
  background-size: cover;
  background-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 160px;
  background: linear-gradient(180deg, rgba(244, 247, 245, 0), rgba(244, 247, 245, 0.88));
}

.hero__content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 20px;
  color: var(--deep);
  font-size: 4.75rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  color: var(--deep);
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--deep);
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #263d40;
  font-size: 1.18rem;
}

.hero__actions,
.cta-section__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 18px;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 14px 26px rgba(15, 118, 110, 0.25);
}

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

.button--secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--deep);
  border-color: rgba(8, 52, 56, 0.18);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: white;
  border-color: var(--teal);
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin: 34px 0 0;
}

.hero__proof div {
  border-left: 3px solid var(--coral);
  padding: 3px 14px;
}

.hero__proof dt {
  color: var(--deep);
  font-size: 1.15rem;
  font-weight: 900;
}

.hero__proof dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section,
.section-band {
  padding: 86px 0;
}

.section-band {
  background: var(--soft);
}

.intro__grid,
.confidence__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro p:last-child,
.confidence__copy p,
.section-heading p,
.contact__copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro h2,
.confidence h2,
.contact h2 {
  margin-bottom: 0;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading--narrow {
  width: min(660px, 100%);
}

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

.service-card,
.metric-card,
.experience-panel,
.case-card,
.process-step,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 24px rgba(16, 33, 35, 0.06);
}

.service-card {
  padding: 24px;
}

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

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

.service-card h3,
.process-step h3 {
  margin-bottom: 9px;
}

.service-card p,
.metric-card span,
.experience-panel p,
.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card {
  min-height: 170px;
  padding: 24px;
}

.metric-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--deep);
  font-size: 2rem;
  line-height: 1;
}

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

.experience-panel {
  padding: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: #f7fbfa;
  color: #244246;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 7px 10px;
}

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

.case-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.case-card--featured {
  border-color: rgba(240, 106, 79, 0.44);
  background: linear-gradient(180deg, #ffffff, #fff7f4);
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-card__meta span {
  border-radius: 8px;
  background: #e6f3f1;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 6px 9px;
}

.case-card h3,
.case-card p,
.case-points,
.case-points dd {
  margin-bottom: 0;
}

.case-card p,
.case-points dd {
  color: var(--muted);
}

.case-points {
  display: grid;
  gap: 12px;
}

.case-points div {
  border-top: 1px solid rgba(16, 33, 35, 0.12);
  padding-top: 12px;
}

.case-points dt {
  margin-bottom: 3px;
  color: var(--deep);
  font-weight: 900;
}

.case-points dd {
  margin-left: 0;
}

.confidence-list {
  display: grid;
  gap: 12px;
}

.confidence-item {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-top: 1px solid rgba(16, 33, 35, 0.14);
  padding-top: 18px;
}

.confidence-item strong {
  color: var(--deep);
}

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

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

.process-step {
  min-height: 230px;
  padding: 24px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #fff0ec;
  color: #aa3e29;
  font-weight: 900;
}

.cta-section {
  padding: 48px 0;
  background: var(--deep);
  color: white;
}

.cta-section h2 {
  width: min(710px, 100%);
  margin-bottom: 0;
  color: white;
}

.cta-section .section-kicker {
  color: #9bd8d2;
}

.cta-section__inner {
  justify-content: space-between;
  gap: 24px;
}

.contact__copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.contact-note {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

.contact-note strong {
  color: var(--deep);
}

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

.contact-email {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.contact-email strong {
  color: var(--deep);
}

.contact-email a {
  color: var(--teal-dark);
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c8d7d4;
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

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

.site-footer {
  background: #071f22;
  color: #d6e6e3;
  padding: 36px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand--footer .brand-mark {
  background: #d9f2ee;
  color: var(--deep);
}

.brand--footer .brand-text,
.site-footer strong {
  color: white;
}

.site-footer p {
  margin: 8px 0 0;
  color: #bdd0cd;
}

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

.thanks-page {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(244, 247, 245, 0.97), rgba(244, 247, 245, 0.78)),
    url("assets/hero-digital-marketing.jpg");
  background-size: cover;
  background-position: center right;
}

.thanks {
  width: min(760px, calc(100% - 40px));
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 28px;
  margin: 0 auto;
  padding: 44px 0;
}

.thanks__panel {
  max-width: 650px;
}

.thanks__panel h1 {
  font-size: 3.4rem;
}

.thanks__panel p {
  color: var(--muted);
  font-size: 1.1rem;
}

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

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

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

  .site-nav a {
    justify-content: center;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero {
    min-height: calc(86svh - var(--header-height));
  }

  .hero__bg {
    background-image:
      linear-gradient(90deg, rgba(244, 247, 245, 0.98) 0%, rgba(244, 247, 245, 0.9) 44%, rgba(244, 247, 245, 0.34) 100%),
      url("assets/hero-digital-marketing.jpg");
    background-position: center right;
  }

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

  .intro__grid,
  .confidence__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact__copy {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  .container,
  .hero__content {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 0 14px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    min-height: calc(84svh - var(--header-height));
  }

  .hero__content {
    padding: 54px 0 42px;
  }

  .hero__bg {
    background-image:
      linear-gradient(90deg, rgba(244, 247, 245, 0.98) 0%, rgba(244, 247, 245, 0.94) 58%, rgba(244, 247, 245, 0.64) 100%),
      url("assets/hero-digital-marketing.jpg");
    background-position: 61% center;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero__lead,
  .intro p:last-child,
  .confidence__copy p,
  .section-heading p,
  .contact__copy p {
    font-size: 1rem;
  }

  .hero__actions,
  .cta-section__inner {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero__proof,
  .service-grid,
  .metrics-grid,
  .experience-layout,
  .case-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .section-band {
    padding: 62px 0;
  }

  .service-card,
  .metric-card,
  .experience-panel,
  .case-card,
  .process-step,
  .contact-form {
    padding: 20px;
  }

  .confidence-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .thanks__panel h1 {
    font-size: 2.55rem;
  }
}
