:root {
  --page: #f4f7f4;
  --surface: #fffdf8;
  --surface-muted: #edf3ee;
  --ink: #111917;
  --ink-soft: #2b3733;
  --muted: #61706a;
  --line: #d9e2dc;
  --dark: #07100d;
  --dark-soft: #101917;
  --green: #0b8f57;
  --green-bright: #23d083;
  --green-pale: #dff5e8;
  --orange: #f59a23;
  --shadow: 0 18px 48px rgba(8, 20, 16, 0.12);
  --radius: 8px;
  --header-height: 76px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
  font: inherit;
}

.container {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--green-bright);
  color: #03100a;
  font-weight: 800;
  padding: 10px 14px;
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  box-shadow: 0 10px 32px rgba(8, 20, 16, 0.11);
}

.nav-shell {
  width: min(100% - 24px, 1220px);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
}

.brand strong,
.footer-brand span {
  display: block;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  display: block;
  max-width: 210px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-toggle {
  position: relative;
  z-index: 52;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.nav-panel {
  position: fixed;
  inset: var(--header-height) 12px auto;
  z-index: 51;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-panel a {
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
  padding: 12px 14px;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  background: var(--green-pale);
  color: var(--green);
  outline: none;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: clip;
  padding: calc(var(--header-height) + 54px) 0 64px;
  background: var(--dark);
  color: #fffdf8;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.86;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.9) 0%, rgba(7, 16, 13, 0.74) 42%, rgba(7, 16, 13, 0.26) 100%),
    linear-gradient(180deg, rgba(7, 16, 13, 0.12) 0%, rgba(7, 16, 13, 0.44) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-bright), var(--orange));
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  color: #fff7e8;
  font-size: clamp(3.8rem, 11vw, 6.8rem);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 10px 0 0;
  color: #f0f5ef;
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  font-weight: 850;
}

.hero-copy {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: var(--green-bright);
  color: #03100a;
}

.btn-secondary {
  border-color: rgba(255, 253, 248, 0.34);
  background: rgba(255, 253, 248, 0.08);
  color: #fffdf8;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(35, 208, 131, 0.72);
  background: rgba(35, 208, 131, 0.14);
}

.hero-brief {
  width: min(100%, 420px);
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.1);
  backdrop-filter: blur(14px);
  padding: 18px;
}

.hero-brief span {
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-brief ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hero-brief li {
  display: flex;
  gap: 10px;
  color: rgba(255, 253, 248, 0.88);
  font-weight: 750;
}

.hero-brief li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.capabilities {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.capabilities-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.capabilities article {
  min-height: 142px;
  padding: 24px 18px;
  background: var(--surface);
}

.capabilities span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.capabilities strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.capabilities p {
  max-width: 25rem;
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding: 74px 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2 {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 900;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.services-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(8, 20, 16, 0.05);
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 143, 87, 0.4);
  box-shadow: var(--shadow);
}

.service-index {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3 {
  margin-top: 36px;
  color: var(--ink);
  font-size: 1.35rem;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.diagnostic {
  padding: 76px 0;
  background:
    linear-gradient(135deg, rgba(35, 208, 131, 0.16), transparent 48%),
    var(--dark-soft);
  color: #fffdf8;
}

.diagnostic-grid {
  display: grid;
  gap: 30px;
}

.diagnostic .section-heading h2 {
  color: #fff7e8;
}

.diagnostic-copy {
  max-width: 760px;
}

.diagnostic-copy p {
  margin: 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.22rem, 3.4vw, 1.9rem);
  font-weight: 750;
  line-height: 1.28;
}

.diagnostic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.diagnostic-list span {
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.08);
  color: rgba(255, 253, 248, 0.92);
  font-size: 0.83rem;
  font-weight: 800;
  padding: 8px 11px;
}

.work-section {
  background: var(--surface-muted);
}

.split-heading {
  display: grid;
  gap: 18px;
}

.case-grid {
  display: grid;
  gap: 18px;
}

.case-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.case-topline span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-topline strong {
  color: var(--orange);
  font-size: 0.84rem;
}

.case-story,
.case-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(8, 20, 16, 0.06);
}

.case-story {
  display: grid;
  gap: 20px;
  padding: 18px;
}

.case-story-feature {
  border-color: rgba(11, 143, 87, 0.28);
  box-shadow: 0 18px 44px rgba(8, 20, 16, 0.1);
}

.case-note {
  padding: 22px;
}

.case-copy {
  min-width: 0;
}

.case-copy h3,
.case-note h3 {
  color: var(--ink);
  font-size: 1.35rem;
  margin: 0;
}

.case-copy p,
.case-note p {
  margin: 14px 0 0;
  color: var(--muted);
}

.case-copy ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.case-copy li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.case-copy li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green);
}

.case-photos {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.case-photos-single {
  grid-template-columns: 1fr;
}

.case-photo {
  position: relative;
  width: 100%;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.case-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-photo-contain img {
  background: linear-gradient(180deg, #f9fbf9, var(--surface-muted));
  object-fit: contain;
}

.case-photo figcaption {
  position: absolute;
  inset: auto 10px 10px;
  display: grid;
  gap: 4px;
  border-radius: 6px;
  background: rgba(7, 16, 13, 0.82);
  color: rgba(255, 253, 248, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 10px 11px;
}

.case-photo figcaption span {
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.about-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about-mark {
  width: min(100%, 260px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
  padding: 20px;
}

.credentials {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
}

.credentials-grid {
  display: grid;
  gap: 28px;
}

.credentials-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(8, 20, 16, 0.06);
  padding: 20px;
}

.credentials-panel-head {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.credentials-panel-head h3 {
  color: var(--ink);
  font-size: 1.35rem;
}

.credentials-panel-head p {
  margin: 0;
  color: var(--muted);
}

.credential-list {
  display: grid;
  gap: 1px;
  margin: 18px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
}

.credential-list li {
  display: grid;
  grid-template-columns: minmax(74px, 0.34fr) 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  padding: 13px 14px;
}

.credential-list span,
.credential-list small {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.credential-list strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.credential-note {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  border: 1px solid rgba(11, 143, 87, 0.2);
  border-radius: var(--radius);
  background: var(--green-pale);
  padding: 14px;
}

.credential-note span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.credential-note p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact {
  padding: 76px 0;
  background: var(--dark);
  color: #fffdf8;
}

.contact .section-heading h2 {
  color: #fff7e8;
}

.contact .section-heading p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.76);
}

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

.contact-panel {
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
  padding: 18px;
}

.contact-main {
  display: grid;
  gap: 4px;
  border-radius: var(--radius);
  background: var(--green-bright);
  color: #03100a;
  padding: 18px;
}

.contact-main span {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-main strong {
  font-size: clamp(1.25rem, 5vw, 2.15rem);
  line-height: 1;
}

.contact-list {
  display: grid;
  gap: 1px;
  margin: 16px 0 0;
  background: rgba(255, 253, 248, 0.16);
}

.contact-list div {
  display: grid;
  gap: 4px;
  background: rgba(7, 16, 13, 0.72);
  padding: 16px;
}

.contact-list dt {
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  color: #fffdf8;
  font-size: 1.02rem;
  font-weight: 700;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--green-bright);
  outline: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 0 96px;
}

.footer-grid {
  display: grid;
  gap: 12px;
}

.footer-brand span {
  font-weight: 950;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(3, 16, 10, 0.12);
  border-radius: 999px;
  background: var(--green-bright);
  box-shadow: 0 18px 38px rgba(8, 20, 16, 0.22);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: #031008;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, 1160px);
  }

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

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

  .hero-actions .btn {
    min-width: 190px;
  }
}

@media (min-width: 880px) {
  :root {
    --header-height: 84px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel a {
    padding: 10px 12px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand small {
    max-width: none;
  }

  .hero {
    min-height: 76svh;
    padding-block: calc(var(--header-height) + 54px) 76px;
  }

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

  .hero-brief {
    justify-self: end;
  }

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

  .capabilities article {
    padding: 30px 24px;
  }

  .section {
    padding: 94px 0;
  }

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

  .diagnostic {
    padding: 92px 0;
  }

  .diagnostic-grid,
  .about-grid,
  .credentials-grid,
  .contact-grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
  }

  .diagnostic-copy {
    justify-self: end;
  }

  .split-heading {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
  }

  .split-heading p:not(.eyebrow) {
    margin: 0;
  }

  .case-story {
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    align-items: stretch;
    padding: 22px;
  }

  .case-story-feature {
    grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1.34fr);
  }

  .case-copy {
    display: flex;
    flex-direction: column;
  }

  .case-copy ul {
    margin-top: auto;
  }

  .case-photos-single {
    grid-template-columns: 1fr;
  }

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

  .about {
    padding: 96px 0;
  }

  .about-mark {
    width: 300px;
  }

  .credentials {
    padding: 96px 0;
  }

  .credentials-panel {
    padding: 22px;
  }

  .contact {
    padding: 96px 0;
  }

  .contact-panel {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .site-footer p {
    justify-self: end;
  }
}

@media (min-width: 1160px) {
  .hero-media img {
    object-position: center;
  }
}

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