:root {
  --ink: #13201b;
  --muted: #59645f;
  --line: #dfe7e1;
  --paper: #f6f8f5;
  --white: #ffffff;
  --gray: #302f2d;
  --gray-dark: #383838;
  --gray-footer: #302f2d;
  --accent: #fb8211;
  --steel: #707070;
  --shadow: 0 24px 70px rgba(13, 31, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 248, 245, 0.86);
  border-bottom: 1px solid rgba(223, 231, 225, 0.8);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 140px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: #2d2d2d;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 160px clamp(20px, 5vw, 72px) 88px;
  overflow: hidden;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(34, 34, 34, 0.9), rgba(34, 34, 34, 0.48) 46%, rgba(34, 34, 34, 0.14)),
    linear-gradient(0deg, rgba(34, 34, 34, 0.4), transparent 52%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  color: var(--white);
  font-family: Roboto, Arial, sans-serif;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.88);
}

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

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

.button.primary {
  background: var(--accent);
  color: #1f1607;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 30px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.metrics strong {
  display: block;
  color: var(--gray-dark);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.section h2 {
  margin: 0;
  max-width: 880px;
  color: var(--gray-dark);
  font-family: Roboto, Arial, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-body {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.section-body p {
  margin: 0;
}

.services {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.services-intro {
  max-width: 820px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.service-fronts {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 10px;
}

.front-button {
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gray-dark);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.front-button:hover {
  transform: translateY(-1px);
  border-color: rgba(112, 112, 112, 0.45);
}

.front-button.is-active {
  color: var(--white);
  background: var(--gray);
  border-color: var(--gray);
}

.front-button strong {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.front-button span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.front-button.is-active span {
  color: rgba(255, 255, 255, 0.78);
}

.service-panel {
  min-width: 0;
}

.service-panel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.service-panel-header h3 {
  margin: 0;
  color: var(--gray-dark);
  font-family: Roboto, Arial, sans-serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.12;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(13, 31, 23, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 20px;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--gray-dark);
  font-family: Roboto, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.12;
}

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

.clients {
  background: var(--gray);
  color: var(--white);
}

.clients h2 {
  color: var(--white);
}

.client-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: client-scroll 34s linear infinite;
}

.client-carousel:hover .client-track {
  animation-play-state: paused;
}

.client-logo {
  display: grid;
  place-items: center;
  width: 170px;
  height: 118px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
}

.client-logo img {
  width: 144px;
  height: 82px;
  object-fit: contain;
  padding: 0;
}

@keyframes client-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 86px);
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.contact-band h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

address {
  color: var(--muted);
  font-style: normal;
  font-size: 18px;
}

address a {
  color: var(--gray-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--gray-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfcfb;
}

textarea {
  resize: vertical;
}

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

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: #22c55e;
  color: #062013;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(10, 34, 21, 0.24);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--gray-footer);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer img {
  width: 48px;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

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

  .site-nav a {
    padding: 14px;
  }

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

  .hero {
    min-height: 82vh;
  }

  .metrics,
  .split,
  .services-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

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

  .section-heading {
    display: block;
  }

  .client-logo {
    width: 150px;
    height: 104px;
  }

  .client-logo img {
    width: 126px;
    height: 72px;
  }

  .site-footer {
    display: grid;
    justify-items: start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand img {
    width: 116px;
  }

  .hero {
    padding: 132px 18px 64px;
  }

  .metrics div {
    padding: 22px 18px;
  }

  .section,
  .contact-band {
    padding-inline: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-fronts {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    left: 18px;
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }

  .client-logo[aria-hidden="true"] {
    display: none;
  }
}
