:root {
  color-scheme: light;
  --blue-900: #1c3166;
  --blue-800: #284681;
  --blue-600: #3e6eae;
  --blue-100: #e8f0f7;
  --ink: #202832;
  --muted: #5b6672;
  --paper: #fff;
  --mist: #eef2f5;
  --line: #d6dfe7;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  min-width: 320px;
  margin: 0;
  overflow: hidden;
}

#conteudo {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #f0b83c;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--blue-900);
  font-weight: 700;
}

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

.section-wrap {
  width: min(100% - 3rem, 1200px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 1360px);
  margin-inline: auto;
  padding-inline: 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 204px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a,
.footer-inner > a:last-child {
  text-decoration: none;
}

.site-nav a:not(.nav-contact):hover,
.footer-inner > a:last-child:hover {
  color: var(--blue-600);
}

.nav-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 1.1rem;
  border: 1px solid var(--blue-900);
  background: var(--blue-900);
  color: var(--paper);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.nav-contact:hover {
  border-color: var(--blue-800);
  background: var(--blue-800);
}

.mobile-menu-toggle { display: none; }

.hero-banner {
  position: relative;
  display: grid;
  min-height: clamp(390px, 56svh, 520px);
  align-items: center;
  overflow: hidden;
  background: var(--blue-900);
  color: var(--paper);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(7 16 38 / 82%) 0%, rgb(11 28 64 / 68%) 47%, rgb(10 24 56 / 60%) 100%),
    linear-gradient(0deg, rgb(5 12 29 / 66%) 0%, transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: clamp(390px, 56svh, 520px);
  align-items: center;
  padding-block: 4rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(70%, 790px);
  max-width: 790px;
  padding: 0;
  text-shadow: 0 2px 24px rgb(5 14 34 / 35%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  margin: 0;
}

.hero-actions .button {
  min-height: 56px;
  margin: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  color: var(--blue-800);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.eyebrow > span {
  width: 25px;
  height: 2px;
  background: var(--blue-600);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.018em;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  color: var(--paper);
  font-size: clamp(3.4rem, 5.2vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 33rem;
  margin-bottom: 1.75rem;
  color: #e0ebf6;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.button-whatsapp {
  gap: 0.7rem;
  background: #188b56;
  color: white;
}

.button-whatsapp:hover {
  background: #116d43;
}

.button-secondary {
  margin-left: 0.55rem;
  border: 1px solid rgb(255 255 255 / 58%);
  background: rgb(9 20 47 / 18%);
  color: white;
}

.button-secondary:hover {
  background: rgb(255 255 255 / 14%);
}

.whatsapp-glyph {
  display: inline-grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  fill: currentColor;
}

.hero-direct-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.3rem;
  margin-top: 1.1rem;
  color: #e0ebf6;
  font-size: 0.82rem;
}

.hero-direct-contacts a {
  text-underline-offset: 3px;
}

.service-gallery-section {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding-block: 0.8rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  background: linear-gradient(108deg, #14284f, var(--blue-900) 52%, #14284f);
  color: var(--paper);
}

.service-gallery-inner {
  display: grid;
  grid-template-columns: minmax(150px, 0.48fr) minmax(0, 1.65fr) minmax(160px, 0.52fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.service-gallery-intro {
  max-width: 12rem;
}

.service-gallery-intro .eyebrow {
  margin-bottom: 0.25rem;
  color: #b7c8e2;
  font-size: 0.64rem;
  letter-spacing: 0.13em;
}

.service-gallery-intro .eyebrow > span {
  display: none;
}

.service-gallery-intro h2 {
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  line-height: 1;
}

.service-gallery-intro > p:last-child {
  max-width: 26ch;
  margin: 0.3rem 0 0;
  color: #c7d2e3;
  font-size: 0.72rem;
  line-height: 1.4;
}

.service-gallery-carousel {
  position: relative;
  min-width: 0;
  padding-bottom: 30px;
}

.gallery-viewer {
  position: relative;
  display: grid;
  min-width: 0;
  height: 144px;
  place-items: center;
  overflow: hidden;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.gallery-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: 0.65rem;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.gallery-track.is-dragging { transition: none; }

.gallery-card {
  position: relative;
  display: block;
  width: min(54vw, 440px);
  height: 124px;
  flex: 0 0 min(54vw, 440px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 55%);
  background: #0d1b35;
  opacity: 0.52;
  transform: scale(0.92);
  cursor: pointer;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 320ms ease;
}

.gallery-card.is-active {
  z-index: 1;
  border-color: white;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 14px 36px rgb(10 23 48 / 24%);
  cursor: grab;
}

.gallery-card.is-previous,
.gallery-card.is-next { opacity: 0.54; }

.gallery-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  pointer-events: none;
}

.gallery-card-count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(13 27 53 / 82%);
  color: white;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-card.is-active .gallery-card-count { opacity: 1; }

.gallery-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  padding: 0.35rem 0 0.25rem 1rem;
  border: 0;
  border-left: 1px solid rgb(255 255 255 / 28%);
  align-self: center;
}

.gallery-kicker {
  margin-bottom: 0.15rem;
  color: #b7c8e2;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gallery-title {
  margin-bottom: 0.25rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.05;
}

.gallery-description {
  min-height: 0;
  margin-bottom: 0;
  max-width: 30ch;
  color: #d0daea;
  font-size: 0.72rem;
  line-height: 1.4;
}

.gallery-controls {
  display: flex;
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  height: 30px;
  margin-top: 0;
  pointer-events: none;
}

.gallery-controls[hidden] { display: none; }

.gallery-arrow {
  position: absolute;
  top: -87px;
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 70%);
  background: rgb(8 20 45 / 32%);
  color: var(--paper);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
  pointer-events: auto;
}

.gallery-prev { left: 0.25rem; }
.gallery-next { right: 0.25rem; }

.gallery-arrow:hover { background: var(--paper); color: var(--blue-900); }

.gallery-dots {
  display: flex;
  position: absolute;
  inset: 0 2.5rem;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  pointer-events: auto;
}

.gallery-dots::-webkit-scrollbar { display: none; }

.gallery-dot {
  display: inline-grid;
  width: 22px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-dot::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #91a2bd;
  content: "";
  transition: width 160ms ease, border-radius 160ms ease, background-color 160ms ease;
}

.gallery-dot[aria-current="true"]::before {
  width: 22px;
  border-radius: 999px;
  background: var(--paper);
}

.gallery-arrow:focus-visible,
.gallery-dot:focus-visible { outline: 3px solid #f0b83c; outline-offset: 2px; }

.gallery-slide-data { display: none; }

.form-heading {
  margin-bottom: 0.35rem;
}

.form-kicker {
  margin-bottom: 0.25rem;
  color: #b8d5f2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.button-form {
  width: 100%;
  min-height: 50px;
  margin-top: 0.25rem;
  border: 0;
  background: #188b56;
  color: white;
}

.button-form:hover {
  background: #116d43;
}

.services {
  padding-block: 5.5rem 6rem;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading .eyebrow {
  margin-top: 0.8rem;
}

.section-heading h2,
.contact h2 {
  max-width: 18ch;
  margin-bottom: 0;
  color: var(--blue-900);
  font-size: clamp(2.8rem, 4.2vw, 4.25rem);
  line-height: 1.02;
}

.priority-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--blue-900);
  border-bottom: 1px solid var(--line);
}

.priority-service {
  min-height: 220px;
  padding: 1.5rem clamp(1rem, 2.5vw, 2rem) 2rem;
}

.priority-service + .priority-service {
  border-left: 1px solid var(--line);
}

.service-mark {
  display: inline-flex;
  min-width: 32px;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--blue-600);
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 700;
}

.priority-service h3,
.other-services h3 {
  margin-bottom: 0.5rem;
  color: var(--blue-900);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
}

.priority-service p {
  max-width: 25ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.other-services {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  padding-top: 2rem;
}

.other-services h3 {
  margin-bottom: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
}

.other-services ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.other-services li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.other-services li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--blue-600);
  content: "";
}

.case-study {
  overflow: hidden;
  background: var(--mist);
  color: var(--ink);
}

.case-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  padding-block: 3.25rem;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.case-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-process li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-top: 3px solid var(--blue-600);
  background: white;
  box-shadow: 0 8px 24px rgb(18 37 69 / 7%);
}

.case-step-number {
  color: var(--blue-600);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.case-process h3 {
  margin: 0 0 0.25rem;
  color: var(--blue-900);
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.case-process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.case-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.45rem;
}

.case-copy > .eyebrow {
  grid-column: 1 / -1;
}

.eyebrow-light {
  color: #b8d5f2;
}

.eyebrow-light > span {
  background: #64a9ef;
}

.case-study .eyebrow-light {
  color: var(--blue-800);
}

.case-study .eyebrow-light > span {
  background: var(--blue-600);
}

.case-copy h2 {
  max-width: 20ch;
  grid-column: 1;
  margin-bottom: 0.65rem;
  color: var(--blue-900);
  font-size: clamp(2.8rem, 4.1vw, 4rem);
  line-height: 1.01;
}

.case-context {
  grid-column: 1;
  align-self: start;
  max-width: 36rem;
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.case-detail {
  max-width: 36rem;
  padding: 0.65rem 0 0.2rem;
  border-top: 1px solid var(--line);
}

.case-detail h3 {
  margin-bottom: 0.35rem;
  color: var(--blue-800);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-detail p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.case-comparison {
  width: min(100%, 560px);
  justify-self: center;
  overflow: hidden;
  border: 1px solid #c6d2de;
  background: white;
  box-shadow: 0 18px 48px rgb(18 37 69 / 10%);
}

.comparison-labels,
.comparison-captions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-labels span {
  padding: 0.75rem 1rem;
  background: var(--blue-900);
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.comparison-labels span + span {
  border-left: 1px solid rgb(255 255 255 / 30%);
  text-align: right;
}

.comparison-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dce3eb;
  isolation: isolate;
}

.comparison-stage:focus-visible { outline: 3px solid #f0b83c; outline-offset: 3px; }

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 420ms ease;
}

.comparison-image.is-visible { opacity: 1; }

.comparison-caption {
  position: absolute;
  z-index: 2;
  top: 0.9rem;
  left: 0.9rem;
  max-width: calc(100% - 1.8rem);
  margin: 0;
  padding: 0.48rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 999px;
  background: rgb(16 34 70 / 88%);
  box-shadow: 0 2px 10px rgb(0 0 0 / 25%);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.comparison-zoom {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  background: rgb(16 34 70 / 78%);
  color: white;
  cursor: zoom-in;
}

.comparison-zoom svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.comparison-zoom:hover { background: var(--blue-900); }

.comparison-lightbox {
  position: fixed;
  width: min(96vw, 1300px);
  max-width: none;
  height: min(94vh, 900px);
  max-height: none;
  padding: 3.5rem 4.5rem 3rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 24%);
  background: #071326;
  color: white;
}

.comparison-lightbox::backdrop { background: rgb(3 9 19 / 88%); }
.lightbox-image { display: block; width: 100%; height: 100%; object-fit: contain; }

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: rgb(16 34 70 / 85%);
  color: white;
  cursor: pointer;
}

.lightbox-close { top: 0.75rem; right: 0.75rem; font-size: 2rem; line-height: 1; }
.lightbox-arrow { top: 50%; font-size: 2.2rem; transform: translateY(-50%); }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-caption { position: absolute; right: 4.5rem; bottom: 0.5rem; left: 4.5rem; margin: 0; text-align: center; color: #d7e2f2; }
.comparison-zoom:focus-visible,
.lightbox-close:focus-visible,
.lightbox-arrow:focus-visible { outline: 3px solid #f0b83c; outline-offset: 3px; }

.comparison-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 50%;
  background: rgb(16 34 70 / 72%);
  box-shadow: 0 3px 14px rgb(0 0 0 / 28%);
  color: white;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.comparison-arrow::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.comparison-prev { left: 0.9rem; }
.comparison-prev::before { transform: rotate(-135deg); margin-left: 4px; }
.comparison-next { right: 0.9rem; }
.comparison-next::before { transform: rotate(45deg); margin-right: 4px; }
.comparison-arrow:hover { background: var(--blue-900); transform: translateY(-50%) scale(1.06); }

.comparison-dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0.85rem;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  pointer-events: none;
}

.comparison-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: rgb(16 34 70 / 55%);
  box-shadow: 0 1px 5px rgb(0 0 0 / 40%);
  pointer-events: auto;
  cursor: pointer;
}

.comparison-dot[aria-current="true"] { width: 24px; border-radius: 999px; background: white; }

.comparison-arrow:focus-visible,
.comparison-dot:focus-visible { outline: 3px solid #f0b83c; outline-offset: 3px; }

.image-note {
  margin: 0;
  padding: 0.7rem 1rem;
  border-top: 1px solid #c6d2de;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: left;
}

.whatsapp-float {
  position: fixed;
  z-index: 5;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border: 2px solid white;
  border-radius: 999px;
  background: #188b56;
  box-shadow: 0 5px 20px rgb(5 25 43 / 24%);
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.whatsapp-float.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
}

.whatsapp-float:hover {
  background: #116d43;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 6.5rem;
}

.contact-copy h2 {
  max-width: 16ch;
}

.contact-copy > p:last-child {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-options {
  align-self: center;
  border-top: 1px solid var(--line);
}

.contact-option {
  display: grid;
  min-height: 84px;
  grid-template-columns: 0.65fr 1.3fr 22px;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-option > span:first-child {
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-whatsapp-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.35rem;
  color: #16804d;
  font-size: 1.05rem;
  vertical-align: -0.08em;
}

.contact-option strong {
  font-size: clamp(0.9rem, 1.5vw, 1.06rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-option:hover strong {
  color: var(--blue-600);
}

.contact-option-primary strong {
  color: var(--blue-900);
}

.contact-form {
  display: grid;
  grid-column: 1 / -1;
  width: min(100%, 900px);
  justify-self: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--mist);
}

.contact-form .form-heading,
.contact-form > label[for="contact-message"],
.contact-form > #contact-message,
.contact-form > #whatsapp-message,
.contact-form .button-form,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.contact-form .form-heading h3 {
  margin-bottom: 0;
  color: var(--blue-900);
  font-family: var(--display);
  font-size: 1.7rem;
}

.contact-form .form-kicker {
  margin-bottom: 0.35rem;
  color: var(--blue-600);
}

.contact-form label {
  align-self: end;
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-form .form-heading { grid-column: 1 / -1; }

.contact-form > label[for="contact-name"] { grid-column: 1; grid-row: 2; }
.contact-form > #contact-name { grid-column: 1; grid-row: 3; }
.contact-form > label[for="contact-phone"] { grid-column: 2; grid-row: 2; }
.contact-form > #contact-phone { grid-column: 2; grid-row: 3; }
.contact-form > label[for="contact-service"] { grid-column: 1; grid-row: 4; }
.contact-form > #contact-service { grid-column: 1; grid-row: 5; }
.contact-form > label[for="contact-message"] { grid-row: 6; }
.contact-form > #contact-message { grid-row: 7; }
.contact-form > #whatsapp-message { grid-row: 8; }
.contact-form > .button-form { grid-row: 9; }

.contact-form input:not([type="hidden"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.7rem 0.75rem;
  border: 1px solid #c6d2de;
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
}

.contact-form textarea { resize: vertical; }

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid #f0b83c;
  outline-offset: 2px;
}

.option-arrow {
  color: var(--blue-600);
  font-size: 1.05rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--mist);
}

.footer-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  width: 154px;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-inner > a:last-child {
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .hero-banner {
    min-height: auto;
  }

  .hero-banner,
  .hero-content { min-height: clamp(420px, 58svh, 520px); }

  .hero-copy { width: min(78%, 790px); }
  .service-gallery-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .service-gallery-intro { max-width: 42rem; }
  .service-gallery-carousel { grid-template-columns: minmax(0, 1fr); }

  .section-heading,
  .other-services,
  .case-inner,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading {
    gap: 0.25rem;
    margin-bottom: 2rem;
  }

  .section-heading .eyebrow {
    margin-top: 0;
  }

  .case-inner { gap: 1.5rem; padding-block: 3.25rem; }

  .case-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }

  .case-copy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.25rem; }

  .case-copy h2 {
    max-width: 22ch;
  }

  .case-context { grid-column: 1 / -1; }
  .case-detail { grid-column: auto; }
  .case-comparison { width: min(100%, 700px); justify-self: start; }

  .contact {
    gap: 1.5rem;
    padding-block: 4.75rem;
  }

  .contact-form { grid-column: 1; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero-banner,
  .hero-content { min-height: clamp(420px, 58svh, 520px); }
  .hero-content { align-items: center; padding-block: 2.25rem; }
  .hero-copy { width: 72%; }
}

@media (max-width: 820px) {
  .hero-banner { min-height: 0; }
  .hero-content {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;
    padding-block: 1.5rem;
  }
  .hero-copy { width: auto; padding: 0; }
  .hero-banner,
  .hero-content { min-height: 0; }
  .service-gallery-section { padding-block: 0.75rem; }
  .service-gallery-inner { gap: 0.75rem; }
  .service-gallery-carousel { grid-template-columns: minmax(0, 1fr); }
  .gallery-viewer { min-height: 0; height: 132px; }
  .gallery-copy { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .gallery-controls { grid-column: auto; grid-row: auto; margin-top: 0; }
  h1 { max-width: 18ch; font-size: clamp(3rem, 7vw, 4.5rem); }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .service-gallery-inner {
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1.2fr) minmax(130px, 0.48fr);
    gap: 0.7rem;
  }

  .gallery-viewer { height: 132px; }
  .gallery-card { width: min(44vw, 400px); height: 114px; flex-basis: min(44vw, 400px); }
  .gallery-copy { padding-left: 0.75rem; }
  .gallery-title { font-size: 1.3rem; }
  .gallery-description { font-size: 0.67rem; }
  .gallery-arrow { width: 32px; height: 32px; }
  .gallery-prev,
  .gallery-next { top: -80px; }
}

@media (max-width: 580px) {
  .section-wrap {
    width: min(100% - 2rem, 1200px);
  }

  .site-header {
    width: min(100% - 2rem, 1360px);
    min-height: 72px;
    gap: 0.65rem;
  }

  .brand {
    flex: 0 1 clamp(124px, 40vw, 150px);
    min-width: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    z-index: 21;
    display: none;
    width: min(240px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 28px rgb(15 30 57 / 16%);
    font-size: 0.9rem;
  }

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

  .site-nav > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.65rem 0.75rem;
  }

  .site-nav .nav-contact { margin-top: 0.35rem; }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--blue-900);
    background: var(--paper);
    color: var(--blue-900);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

  .mobile-menu-toggle:focus-visible {
    outline: 3px solid #f0b83c;
    outline-offset: 3px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 1rem 1.25rem;
  }

  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
  .hero-actions .button { width: 100%; min-height: 56px; padding-inline: 0.55rem; text-align: center; font-size: 0.78rem; }
  .hero-actions .whatsapp-glyph { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
  .hero-actions .button-secondary { margin: 0; }
  .service-gallery-section { padding-block: 0.65rem; }
  .service-gallery-inner { gap: 0.55rem; }
  .service-gallery-intro { display: flex; max-width: none; align-items: baseline; gap: 0.6rem; }
  .service-gallery-intro .eyebrow { margin: 0; font-size: 0.58rem; }
  .service-gallery-intro h2 { font-size: 1.35rem; }
  .service-gallery-intro > p:last-child { display: none; }
  .service-gallery-carousel { grid-template-columns: minmax(0, 1fr); }
  .gallery-viewer { min-height: 0; height: 120px; aspect-ratio: auto; }
  .gallery-card { width: min(66vw, 340px); height: 108px; flex-basis: min(66vw, 340px); }
  .gallery-copy { grid-template-columns: minmax(0, 1fr); padding: 0; border: 0; }
  .gallery-title { font-size: 1.35rem; }
  .gallery-description { min-height: 0; margin-bottom: 0; }
  .gallery-controls { gap: 0.25rem; margin-top: 0; }
  .gallery-arrow { width: 38px; height: 38px; }
  .gallery-prev,
  .gallery-next { top: -70px; }
  .gallery-dots { justify-content: flex-start; }
  .gallery-dot { width: 34px; height: 34px; }

  .eyebrow {
    font-size: 0.7rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 12vw, 3.9rem);
  }

  .hero-lede {
    max-width: 100%;
    margin-bottom: 0.9rem;
    font-size: 0.94rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .hero-direct-contacts {
    flex-direction: column;
    gap: 0.6rem;
  }

  .gallery-controls { min-width: 0; }
  .gallery-dots { justify-content: flex-start; }
  .gallery-dot { width: 34px; height: 34px; }

  .services {
    padding-block: 4rem 4.25rem;
  }

  .section-heading h2,
  .contact h2 {
    font-size: clamp(2.65rem, 11vw, 3.35rem);
  }

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

  .priority-service {
    min-height: auto;
    padding: 1.2rem 0 1.4rem;
  }

  .priority-service + .priority-service {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-mark {
    margin-bottom: 0.6rem;
  }

  .priority-service h3 {
    margin-bottom: 0.35rem;
  }

  .priority-service p {
    max-width: 36ch;
  }

  .other-services {
    gap: 1.25rem;
  }

  .other-services ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .case-inner { padding-block: 2.5rem; }

  .case-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem 0;
  }

  .case-copy h2,
  .case-context,
  .case-detail { grid-column: 1 / -1; }

  .case-copy h2 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .case-detail { padding-top: 0.55rem; }
  .case-process { grid-template-columns: minmax(0, 1fr); gap: 0.55rem; }
  .case-comparison { width: 100%; }
  .comparison-stage { aspect-ratio: 4 / 3; }
  .comparison-caption { top: 0.65rem; left: 0.65rem; padding: 0.4rem 0.6rem; font-size: 0.64rem; }
  .comparison-labels span { padding: 0.7rem 0.55rem; font-size: 0.65rem; }
  .comparison-lightbox { width: 100vw; height: 100dvh; padding: 3.5rem 0.5rem 3rem; border: 0; }
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
  .lightbox-caption { right: 0.5rem; left: 0.5rem; }

  .contact {
    padding-block: 3.75rem;
  }

  .contact-form { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
  .contact-form > * { grid-column: 1 !important; }
  .contact-form > label[for="contact-name"] { grid-row: 2; }
  .contact-form > #contact-name { grid-row: 3; }
  .contact-form > label[for="contact-phone"] { grid-row: 4; }
  .contact-form > #contact-phone { grid-row: 5; }
  .contact-form > label[for="contact-service"] { grid-row: 6; }
  .contact-form > #contact-service { grid-row: 7; }
  .contact-form > label[for="contact-message"] { grid-row: 8; }
  .contact-form > #contact-message { grid-row: 9; }
  .contact-form > #whatsapp-message { grid-row: 10; }
  .contact-form > .button-form { grid-row: 11; }

  .contact-option {
    min-height: 76px;
    grid-template-columns: 1fr 22px;
    gap: 0.15rem 0.75rem;
    padding-block: 0.75rem;
  }

  .contact-option > span:first-child {
    grid-column: 1;
  }

  .contact-option strong {
    grid-column: 1;
    grid-row: 2;
  }

  .option-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .footer-inner {
    min-height: 124px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 1.2rem;
  }

  .footer-brand {
    width: 138px;
  }

  .footer-inner p {
    order: 1;
    width: 100%;
  }

  .whatsapp-float {
    display: none;
  }
}

@media (min-width: 821px) and (max-height: 800px) {
  .hero-banner,
  .hero-content { min-height: clamp(390px, 56svh, 480px); }
  .hero-content { padding-block: 2rem; }
}

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