:root {
  --bg: #eef3f1;
  --bg-elevated: #f7faf8;
  --ink: #07120f;
  --ink-muted: #4a5c56;
  --accent: #0b8f7a;
  --accent-soft: #c8ebe3;
  --highlight: #07120f;
  --line: rgba(7, 18, 15, 0.12);
  --font-display: "Syne", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --radius: 0.2rem;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.25rem;
  --touch: 2.75rem;
  --header-bg: rgba(238, 243, 241, 0.88);
  --header-bg-scrolled: rgba(238, 243, 241, 0.94);
  --shadow-accent: 0 12px 36px rgba(11, 143, 122, 0.22);
}

html[data-theme="dark"] {
  --bg: #06110e;
  --bg-elevated: #0c1a16;
  --ink: #e8f2ef;
  --ink-muted: #8fa39c;
  --accent: #2dd4bf;
  --accent-soft: #12352e;
  --highlight: #e8f2ef;
  --line: rgba(232, 242, 239, 0.14);
  --header-bg: rgba(6, 17, 14, 0.88);
  --header-bg-scrolled: rgba(6, 17, 14, 0.94);
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
  :root {
    --header-bg: color-mix(in srgb, var(--bg) 82%, transparent);
    --header-bg-scrolled: color-mix(in srgb, var(--bg) 92%, transparent);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  hanging-punctuation: first last;
}

body {
  margin: 0;
  min-width: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
  ::selection {
    background: color-mix(in srgb, var(--accent) 32%, transparent);
  }
}

.page-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  mix-blend-mode: multiply;
  contain: strict;
  content-visibility: auto;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .page-grain {
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

@media (max-width: 860px), (prefers-reduced-data: reduce) {
  .page-grain,
  .page-grid {
    display: none;
  }
}

.page-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  contain: strict;
  content-visibility: auto;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: max(1rem, var(--safe-left));
  top: calc(1rem + var(--safe-top));
  z-index: 10000;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - (var(--gutter) * 2), 42rem);
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: var(--safe-top);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--header-bg-scrolled);
  box-shadow: 0 8px 28px rgba(7, 18, 15, 0.06);
}

.nav {
  position: relative;
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 7.75rem);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

.brand-mark {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.45rem;
}

.logo-live {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  overflow: hidden;
}

.logo-live .logo-plate {
  fill: #0b8f7a;
  transition: fill 0.35s var(--ease);
}

.logo-live .logo-l,
.logo-live .logo-p {
  fill: #eef3f1;
}

.logo-live .logo-v {
  fill: #c8ebe3;
}

html[data-theme="dark"] .logo-live .logo-plate {
  fill: #12352e;
}

html[data-theme="dark"] .logo-live .logo-l {
  fill: #2dd4bf;
}

html[data-theme="dark"] .logo-live .logo-p {
  fill: #e8f2ef;
}

html[data-theme="dark"] .logo-live .logo-v {
  fill: #2dd4bf;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  min-width: 0;
  flex: 1 1 auto;
}

.brand-letter,
.brand-rest {
  display: inline;
  color: inherit;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a.is-active {
  color: var(--accent);
  font-weight: 600;
}

@media (min-width: 1100px) {
  .nav-item-quiet {
    display: none;
  }
}

#langSelect,
.icon-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  border-radius: var(--radius);
  min-height: var(--touch);
  height: var(--touch);
  cursor: pointer;
}

#langSelect {
  padding: 0 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 4.5rem;
}

.icon-btn {
  width: var(--touch);
  display: inline-grid;
  place-items: center;
  position: relative;
}

.theme-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: block;
}

.theme-icon-dark {
  background: currentColor;
  box-shadow: inset -0.28rem 0 0 -0.08rem var(--bg-elevated);
}

html[data-theme="light"] .theme-icon-dark,
html[data-theme="dark"] .theme-icon-light {
  display: none;
}

.mobile-toggle {
  display: none;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -5px;
}

.burger::after {
  top: 5px;
}

.mobile-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.mobile-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch);
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), filter 0.25s var(--ease);
  touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
  letter-spacing: -0.01em;
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
  .btn-primary {
    box-shadow: 0 12px 36px color-mix(in srgb, var(--accent) 26%, transparent);
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    filter: brightness(1.06);
  }
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
  }
}

.btn-nav {
  background: var(--ink);
  color: var(--bg);
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

html[data-theme="dark"] .btn-nav {
  background: var(--accent);
  color: #06110e;
}

.btn-lg {
  min-height: 3.15rem;
  padding-inline: 1.6rem;
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  max-height: none;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #f4faf8;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .hero {
    min-height: min(100dvh, 52rem);
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  content-visibility: auto;
}

@media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
  .hero-media img {
    animation: heroDrift 28s var(--ease) infinite alternate;
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 18, 14, 0.28) 0%, rgba(4, 18, 14, 0.52) 38%, rgba(4, 18, 14, 0.92) 100%),
    linear-gradient(105deg, rgba(4, 18, 14, 0.72) 0%, rgba(4, 18, 14, 0.22) 48%, transparent 72%),
    radial-gradient(ellipse 55% 45% at 78% 28%, rgba(45, 212, 191, 0.18), transparent 70%);
}

.hero-copy {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(1.5rem, 5vw, 3rem) + var(--safe-top)) 0 clamp(3rem, 8vw, 4.5rem);
  max-width: 40rem;
  margin-left: max(var(--gutter), calc((100% - var(--max)) / 2));
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 8vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.25);
}

.hero-brand .brand-letter,
.hero-brand .brand-rest {
  display: inline;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 4.2vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 28ch;
  text-wrap: balance;
}

.hero .subhead {
  margin: 0 0 1.5rem;
  color: rgba(244, 250, 248, 0.8);
  font-size: clamp(0.98rem, 2.8vw, 1.05rem);
  max-width: 38ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta .btn {
  flex: 1 1 auto;
  min-width: min(100%, 11rem);
}

.section {
  padding: clamp(3.25rem, 8vw, 6.5rem) 0;
  position: relative;
  z-index: 1;
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

#delivered {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

#home.hero {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.section-head {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 32rem;
}

.section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

.section-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
  line-height: 1.55;
}

.proof-bar {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 3.5vw, 1.85rem) 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.proof-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.proof-inner {
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 861px) {
  .proof-inner {
    grid-template-columns: minmax(9rem, auto) minmax(0, 1fr);
    align-items: baseline;
    gap: 1rem 1.75rem;
  }

  .proof-label {
    padding-top: 0.2rem;
  }
}

.proof-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.proof-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 40rem;
  text-wrap: balance;
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.35rem, 3.2vw, 1.9rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-item:hover::before,
  .service-item.is-in:focus-within::before {
    transform: scaleY(1);
  }
}

.service-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  padding-top: 0.15rem;
}

.service-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  letter-spacing: -0.025em;
}

.service-item p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 52ch;
  overflow-wrap: anywhere;
}

.section-consulting {
  background: var(--bg-elevated);
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
  .section-consulting {
    background: color-mix(in srgb, var(--bg-elevated) 70%, var(--bg));
  }
}

.consult-block + .consult-block {
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

.consult-heading {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  letter-spacing: -0.025em;
}

.consult-lead {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  max-width: 48ch;
}

.consult-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: 1.25rem 1.5rem;
}

.consult-item {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.consult-item h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.consult-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.delivered-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.delivered-item {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.1rem, 3vw, 1.35rem) 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.delivered-item h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.15rem);
  letter-spacing: -0.02em;
}

.delivered-meta {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent-soft) 55%, transparent);
  overflow-wrap: anywhere;
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .delivered-meta {
    border-color: var(--line);
    background: var(--bg-elevated);
  }
}

.delivered-item p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 62ch;
  overflow-wrap: anywhere;
}

.section-about {
  background:
    linear-gradient(135deg, rgba(200, 235, 227, 0.55), transparent 55%),
    var(--bg);
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
  .section-about {
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 55%, transparent), transparent 55%),
      var(--bg);
  }
}

.about-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
}

.about-text {
  margin: 0;
  font-size: clamp(1.08rem, 2.8vw, 1.28rem);
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}

.about-creds {
  margin: 0.35rem 0 0;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.35rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent-soft) 45%, transparent);
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .about-creds {
    border-color: var(--line);
    background: var(--bg-elevated);
  }
}

.section-contact {
  padding-bottom: clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(200, 235, 227, 0.7), transparent 55%),
    var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-intro .section-lead {
  max-width: 34ch;
}

.contact-meta,
.contact-domains {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.contact-channels-lead {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 36ch;
}

.contact-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.25rem 1.75rem;
  margin: 1.25rem 0 1rem;
  min-width: 0;
}

.contact-qr {
  margin: 0;
  max-width: min(11rem, 100%);
  flex: 0 1 auto;
}

.contact-qr-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 0;
}

.contact-qr img {
  width: min(9.25rem, 72vw);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
}

.contact-qr figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.contact-whatsapp {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.contact-whatsapp.is-soon {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border: 1px dashed var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-whatsapp a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-whatsapp a:hover {
  text-decoration: underline;
}

.contact-emails {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.contact-emails-label {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-emails a,
.contact-domains a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  word-break: break-all;
}

.contact-emails a:hover,
.contact-domains a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  padding: clamp(1.15rem, 3vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  box-shadow: 0 18px 50px rgba(7, 18, 15, 0.05);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent));
  border-radius: 0 2px 2px 0;
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .contact-form-wrap::before {
    background: var(--accent);
  }
}

.form-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  letter-spacing: -0.025em;
}

.form-hint {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-pair {
  display: grid;
  gap: 0.95rem;
}

@media (min-width: 640px) {
  .form-pair {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.8rem 0.85rem;
  font-size: 16px; /* evita zoom automático no iOS */
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
  .form-row input,
  .form-row select,
  .form-row textarea {
    background: color-mix(in srgb, var(--bg) 55%, var(--bg-elevated));
  }
}

.form-row textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 143, 122, 0.22);
}

.form-privacy {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.contact-form .btn {
  justify-self: stretch;
  width: 100%;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .contact-form .btn {
    justify-self: start;
    width: auto;
  }
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status.is-ok {
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid rgba(11, 143, 122, 0.35);
}

.form-status.is-err {
  background: #fde8e8;
  color: #5c1212;
  border: 1px solid #e8b4b4;
}

html[data-theme="dark"] .form-status.is-err {
  background: #3b1616;
  color: #ffd7d7;
  border-color: #6a2e2e;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 2.75rem) 0 calc(1.75rem + var(--safe-bottom));
  font-size: 0.88rem;
  color: var(--ink-muted);
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-elevated) 70%, transparent));
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
}

.footer-brand {
  display: grid;
  gap: 0.25rem;
  min-width: min(100%, 16rem);
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.footer-copy {
  margin: 0.35rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  max-width: 36rem;
  justify-content: flex-end;
}

.footer-row a {
  color: var(--ink-muted);
  text-decoration: none;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.footer-row a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 2.75rem, 0);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}

.reveal[data-reveal="left"] {
  transform: translate3d(-2.25rem, 1.5rem, 0);
}

.reveal[data-reveal="right"] {
  transform: translate3d(2.25rem, 1.5rem, 0);
}

.reveal[data-reveal="fade"] {
  transform: none;
  filter: blur(8px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

/* Transição de seção: linha de acento + entrada do bloco */
.section-motion {
  position: relative;
}

.section-motion::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - var(--max)) / 2));
  width: min(100% - (var(--gutter) * 2), var(--max));
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 20%, transparent) 75%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease);
  pointer-events: none;
  z-index: 2;
}

.section-motion.is-in::before {
  transform: scaleX(1);
}

.section-head h2 {
  position: relative;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.75s var(--ease) 0.15s;
}

.section-head.reveal.is-in h2::after,
.section-motion.is-in .section-head h2::after {
  transform: scaleX(1);
}

.about-grid.reveal.is-in h2::after {
  transform: scaleX(1);
}

.about-grid h2 {
  position: relative;
}

.about-grid h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.75s var(--ease) 0.15s;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.trust-item {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.trust-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.trust-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.trust-note {
  margin: 1.75rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.trust-note a {
  color: var(--accent);
  text-decoration: none;
}

.trust-note a:hover {
  text-decoration: underline;
}

.section-faq {
  background: var(--bg-elevated);
}

.band-cta {
  position: relative;
  z-index: 1;
  padding: clamp(2.25rem, 6vw, 3.5rem) 0;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--accent) 88%, #041611), color-mix(in srgb, var(--accent) 55%, #0a4a3d));
  color: #f4faf8;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .band-cta {
    background: var(--accent);
  }
}

.band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.band-copy {
  max-width: 36rem;
  min-width: 0;
}

.band-copy h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.band-copy p {
  margin: 0;
  color: rgba(244, 250, 248, 0.88);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  max-width: 40ch;
}

.band-cta .btn-primary {
  background: #fff;
  color: #0a4a3d;
  box-shadow: 0 12px 36px rgba(4, 22, 17, 0.28);
  flex: 0 1 auto;
}

@media (hover: hover) and (pointer: fine) {
  .band-cta .btn-primary:hover {
    filter: none;
    background: #e8f2ef;
  }
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 44rem;
}

.faq-item {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 2.6vw, 1.15rem);
  letter-spacing: -0.02em;
  padding: clamp(1.05rem, 2.8vw, 1.35rem) 2rem clamp(1.05rem, 2.8vw, 1.35rem) 0;
  position: relative;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
  max-width: 58ch;
  line-height: 1.6;
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(7, 18, 15, 0.35);
    --ink-muted: #2a3a34;
  }

  html[data-theme="dark"] {
    --line: rgba(232, 242, 239, 0.35);
    --ink-muted: #c5d5cf;
  }

  .btn-primary,
  .btn-nav {
    outline: 1px solid currentColor;
  }
}

.service-item,
.consult-item,
.delivered-item {
  transition: transform 0.45s var(--ease), border-color 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .service-item:hover,
  .consult-item:hover,
  .delivered-item:hover {
    transform: translate3d(0.35rem, -0.15rem, 0);
  }

  .btn-primary:hover,
  .btn-nav:hover {
    transform: translateY(-2px);
  }

  .btn-ghost:hover {
    transform: translateY(-1px);
  }
}

@media (hover: hover) and (pointer: fine) and (max-width: 860px) {
  .service-item:hover,
  .consult-item:hover,
  .delivered-item:hover {
    transform: none;
  }
}

.boot-error {
  position: fixed;
  left: max(1rem, var(--safe-left));
  right: max(1rem, var(--safe-right));
  bottom: calc(1rem + var(--safe-bottom));
  z-index: 100;
  padding: 1rem 1.15rem;
  background: #3b0d0d;
  color: #ffe8e8;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes brandLetterIn {
  from {
    opacity: 0;
    transform: translate3d(0, 0.45em, 0);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes logoMarkIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.86);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes logoPlateIn {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroLineIn {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.logo-live .logo-plate,
.logo-live .logo-letter {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-ready) .logo-live .logo-plate,
  html:not(.motion-ready) .logo-live .logo-letter {
    opacity: 0;
  }

  html.motion-ready .logo-live .logo-plate {
    animation: logoPlateIn 0.55s var(--ease) 0.02s forwards;
  }

  html.motion-ready .logo-live .logo-l {
    animation: logoMarkIn 0.55s var(--ease) 0.12s forwards;
  }

  html.motion-ready .logo-live .logo-p {
    animation: logoMarkIn 0.55s var(--ease) 0.24s forwards;
  }

  html.motion-ready .logo-live .logo-v {
    animation: logoMarkIn 0.6s var(--ease) 0.38s forwards;
  }

  html.motion-ready .brand-name .brand-letter,
  html.motion-ready .brand-name .brand-rest,
  html.motion-ready .hero-brand .brand-letter,
  html.motion-ready .hero-brand .brand-rest {
    display: inline-block;
    animation: brandLetterIn 0.72s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 95ms + 0.08s);
  }

  html.motion-ready .hero-copy.is-in #hero-headline {
    animation: heroLineIn 0.7s var(--ease) 0.35s both;
  }

  html.motion-ready .hero-copy.is-in .subhead {
    animation: heroLineIn 0.7s var(--ease) 0.48s both;
  }

  html.motion-ready .hero-copy.is-in .hero-cta {
    animation: heroLineIn 0.7s var(--ease) 0.58s both;
  }
}

/* —— Tablet / notebook curto —— */
@media (max-width: 1024px) {
  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* —— Mobile / tablet portrait —— */
@media (max-width: 860px) {
  :root {
    --header-h: 3.85rem;
    --gutter: 1rem;
  }

  .mobile-toggle {
    display: inline-grid;
  }

  .brand {
    max-width: calc(100% - 8.5rem);
    gap: 0.5rem;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  #langSelect {
    min-width: 3.1rem;
    padding-inline: 0.45rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) calc(1rem + var(--safe-bottom));
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(7, 18, 15, 0.12);
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    display: flex;
    width: 100%;
    padding: 0.95rem 0;
    min-height: var(--touch);
  }

  .btn-nav {
    width: 100%;
    margin: 0.65rem 0 0;
    justify-content: center;
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    width: min(100% - (var(--gutter) * 2), var(--max));
    max-width: none;
    padding-inline: 0;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .service-item {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.85rem;
  }

  .consult-grid {
    grid-template-columns: 1fr;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .reveal {
    filter: none;
    transform: translate3d(0, 2rem, 0);
  }

  .reveal[data-reveal="left"],
  .reveal[data-reveal="right"] {
    transform: translate3d(0, 2rem, 0);
  }

  .section-motion::before {
    left: var(--gutter);
    width: calc(100% - (var(--gutter) * 2));
  }

  .contact-channels-lead {
    max-width: none;
  }

  .contact-qr figcaption {
    max-width: 12rem;
  }

  /* Motion mais leve no mobile: evita estourar largura */
  @media (prefers-reduced-motion: no-preference) {
    html.motion-ready .brand-name .brand-letter,
    html.motion-ready .brand-name .brand-rest,
    html.motion-ready .hero-brand .brand-letter,
    html.motion-ready .hero-brand .brand-rest {
      animation-name: brandLetterInMobile;
      animation-duration: 0.45s;
    }
  }
}

@keyframes brandLetterInMobile {
  from {
    opacity: 0;
    transform: translate3d(0, 0.35em, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Telefone estreito —— */
@media (max-width: 480px) {
  :root {
    --gutter: 0.9rem;
    --touch: 2.85rem;
  }

  .brand-mark,
  .logo-live {
    width: 2rem;
    height: 2rem;
  }

  .brand-name {
    max-width: min(8.5rem, 40vw);
    font-size: 0.92rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-brand {
    font-size: clamp(1.75rem, 10.5vw, 2.45rem);
  }

  .hero h1 {
    max-width: none;
  }

  .hero .subhead {
    max-width: none;
  }

  .contact-qr img {
    width: min(8.5rem, 68vw);
  }

  .page-grid {
    opacity: 0.02;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  .brand-name .brand-rest {
    display: none;
  }

  .brand-name {
    max-width: 4.5rem;
  }

  #langSelect {
    font-size: 0.8rem;
  }
}

/* —— Landscape mobile —— */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    align-items: center;
  }

  .hero-copy {
    padding-top: calc(var(--header-h) + 1.25rem + var(--safe-top));
    padding-bottom: 1.75rem;
  }

  .hero-brand {
    font-size: clamp(1.6rem, 6vh, 2.4rem);
  }

  .hero h1 {
    font-size: clamp(1.05rem, 3.5vh, 1.4rem);
    max-width: 40ch;
  }

  .hero .subhead {
    margin-bottom: 1rem;
  }
}

/* —— Desktop largo —— */
@media (min-width: 1280px) {
  :root {
    --max: 1180px;
  }

  .hero-copy {
    max-width: 42rem;
  }
}

/* —— Preferências do SO / acessibilidade —— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .burger,
  .burger::before,
  .burger::after,
  .hero-media img,
  .site-header,
  .service-item,
  .consult-item,
  .delivered-item,
  .brand-letter,
  .brand-rest,
  .logo-live .logo-plate,
  .logo-live .logo-letter,
  #hero-headline,
  .subhead,
  .hero-cta,
  .section-motion::before,
  .section-head h2::after,
  .about-grid h2::after {
    transition: none !important;
    animation: none !important;
    filter: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .section-motion::before,
  .section-head h2::after,
  .about-grid h2::after {
    transform: none;
  }

  .logo-live .logo-plate,
  .logo-live .logo-letter,
  .brand-letter,
  .brand-rest {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(7, 18, 15, 0.35);
  }

  html[data-theme="dark"] {
    --line: rgba(232, 242, 239, 0.35);
  }

  .btn-primary,
  .btn-nav,
  .nav-links a,
  .form-row input,
  .form-row select,
  .form-row textarea {
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .site-header,
  .contact-form-wrap,
  .btn,
  .form-row input,
  .form-row select,
  .form-row textarea {
    border: 1px solid CanvasText;
  }

  .hero-veil {
    background: Canvas;
    opacity: 0.35;
  }

  .page-grain,
  .page-grid {
    display: none;
  }
}

@media print {
  .page-grain,
  .page-grid,
  .site-header,
  .hero-media,
  .hero-veil,
  .hero-cta,
  .contact-form-wrap,
  .boot-error,
  .mobile-toggle,
  #themeToggle,
  #langSelect {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding: 0;
  }

  .hero,
  .section {
    min-height: 0;
    padding: 1rem 0;
    color: #000;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #444;
  }

  .brand a::after,
  .nav-links a::after,
  .footer-row a::after {
    content: none;
  }
}
