:root {
  --bg: #f7f5f0;
  --panel: #ffffff;
  --panel-soft: #f1eee7;
  --text: #151515;
  --muted: #5f5b54;
  --line: rgba(20, 20, 20, 0.12);
  --brand: #f59a23;
  --brand-dark: #bb6a08;
  --green: #5d7c54;
  --steel: #7c8794;
  --radius: 8px;
  --max: 1180px;
  --font-body: "Manrope", Arial, sans-serif;
  --font-display: "Sora", "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 18% 8%, rgba(245, 154, 35, 0.1), transparent 24rem),
    linear-gradient(180deg, #ffffff, var(--bg) 42rem);
  color: var(--text);
}

body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(3, 4, 5, 0.98), rgba(15, 18, 20, 0.94)),
    radial-gradient(circle at 50% 38%, rgba(245, 154, 35, 0.22), transparent 22rem);
  color: #fff;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-loader-inner {
  width: min(78vw, 340px);
  display: grid;
  justify-items: center;
  gap: 24px;
}

.site-loader img {
  width: 148px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.36));
}

.loader-ring {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: loader-spin 0.9s linear infinite;
}

.loader-progress {
  width: 100%;
  display: grid;
  gap: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.loader-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.loader-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  transition: width 0.18s ease;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(7, 8, 9, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 9, 0.92);
}

.brand img {
  width: 116px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(246, 243, 238, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
}

.nav-cta {
  padding: 0 18px;
  background: var(--brand);
  color: #12100d;
}

.button {
  padding: 0 20px;
}

.button.primary {
  background: var(--brand);
  color: #14110d;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(7, 8, 9, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 8, 9, 0.62);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 260svh;
  display: grid;
  align-items: start;
  overflow: clip;
  padding: 0 clamp(20px, 4vw, 48px);
  background: #050607;
}

.hero-media {
  position: sticky;
  top: 0;
  height: 100svh;
  grid-area: 1 / 1;
  align-self: start;
  z-index: 0;
  margin-left: calc(clamp(20px, 4vw, 48px) * -1);
  margin-right: calc(clamp(20px, 4vw, 48px) * -1);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.94) 0%, rgba(3, 4, 5, 0.8) 28%, rgba(3, 4, 5, 0.46) 52%, rgba(3, 4, 5, 0.12) 100%),
    linear-gradient(0deg, rgba(3, 4, 5, 0.84), transparent 38%),
    linear-gradient(180deg, rgba(3, 4, 5, 0.54), transparent 32%);
}

.hero-media img,
.hero-frame-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-frame-canvas,
.hero-frame-fallback {
  position: absolute;
  inset: 0;
}

.hero-frame-canvas {
  z-index: 1;
  display: block;
}

.hero-frame-fallback {
  z-index: 0;
}

.hero-media.is-sequence-ready .hero-frame-fallback {
  opacity: 0;
}

.hero-content,
.hero-stats,
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  grid-area: 1 / 1;
  align-self: start;
  position: sticky;
  top: 160px;
  z-index: 2;
  padding-bottom: 44px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(115deg, #ffffff 0%, #f8f5ef 36%, #d6e1ea 68%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 18px 54px rgba(255, 255, 255, 0.08);
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

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

.hero-stats {
  grid-area: 1 / 1;
  align-self: start;
  position: sticky;
  top: calc(100svh - 170px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.hero-stats article {
  padding: 24px;
  border-right: 1px solid rgba(20, 20, 20, 0.12);
}

.hero-stats article:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: var(--brand);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: #5f5b54;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  padding: 96px clamp(20px, 4vw, 48px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.intro-grid p,
.diagnostic p,
.approach p,
.contact-strip p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.intro {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(245, 154, 35, 0.14), transparent 22rem),
    radial-gradient(circle at 8% 82%, rgba(19, 48, 74, 0.08), transparent 24rem),
    linear-gradient(135deg, #ffffff 0%, #f7f3eb 100%);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0 44%, rgba(245, 154, 35, 0.07) 44% 45%, transparent 45% 100%),
    linear-gradient(120deg, transparent 0 58%, rgba(19, 48, 74, 0.05) 58% 59%, transparent 59% 100%);
  background-size: 280px 280px, 420px 420px;
  opacity: 0.75;
  pointer-events: none;
}

.intro > * {
  position: relative;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list span {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.feature-list svg {
  color: var(--brand);
  flex: 0 0 auto;
}

.segment-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 96px clamp(20px, 4vw, 48px);
  background:
    radial-gradient(circle at 14% 12%, rgba(245, 154, 35, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbfaf7, #f3efe7);
}

.segment-showcase .section-heading {
  grid-column: 1 / -1;
}

.segment-showcase article {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.segment-showcase article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 8, 9, 0.88), rgba(7, 8, 9, 0.34) 54%, rgba(245, 154, 35, 0.08));
}

.segment-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.5s, opacity 0.5s;
}

.segment-showcase article:hover img {
  transform: scale(1.05);
  opacity: 0.92;
}

.segment-showcase div:not(.section-heading) {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
}

.segment-showcase svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--brand);
  filter: drop-shadow(0 0 18px rgba(245, 154, 35, 0.45));
}

.segment-showcase h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.solution-grid,
.diagnostic-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.diagnostic-grid article,
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.section#solucoes {
  position: relative;
  max-width: none;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245, 154, 35, 0.1), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(19, 48, 74, 0.08), transparent 22rem),
    #ffffff;
}

.section#solucoes > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.flip-card {
  min-height: 310px;
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 310px;
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 24px 70px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  backface-visibility: hidden;
}

.flip-card-front::after,
.flip-card-back::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -38px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(245, 154, 35, 0.13);
  filter: blur(26px);
}

.flip-card-back {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, rgba(245, 154, 35, 0.86), rgba(157, 83, 6, 0.92));
  transform: rotateY(180deg);
}

.solution-grid span {
  color: rgba(245, 154, 35, 0.42);
  font-size: 42px;
  font-weight: 800;
}

.solution-grid svg {
  display: block;
  margin: 42px 0 18px;
  color: var(--brand);
}

.flip-card-back svg {
  position: absolute;
  inset: auto -18px -22px auto;
  width: 150px;
  height: 150px;
  margin: 0;
  color: rgba(255, 255, 255, 0.2);
  filter: blur(2px);
}

.flip-card-back p {
  position: relative;
  z-index: 1;
  max-width: 210px;
  color: #151515 !important;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.solution-grid h3,
.diagnostic-grid h3,
.contact-strip h3,
.team-card h3,
.partner-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.solution-grid h3,
.diagnostic-grid h3 {
  line-height: 1.2;
}

.solution-grid p,
.diagnostic-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.diagnostic {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 8, 9, 0.94), rgba(18, 24, 28, 0.9)),
    #101418;
}

.diagnostic::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background:
    radial-gradient(circle at 78% 8%, rgba(245, 154, 35, 0.22), transparent 20rem),
    radial-gradient(circle at 10% 78%, rgba(93, 124, 84, 0.2), transparent 24rem),
    linear-gradient(118deg, transparent 0 46%, rgba(245, 154, 35, 0.14) 46.1% 46.4%, transparent 46.55%),
    linear-gradient(118deg, transparent 0 64%, rgba(255, 255, 255, 0.08) 64.1% 64.28%, transparent 64.42%);
  background-size: auto, auto, 420px 420px, 640px 640px;
  pointer-events: none;
}

.diagnostic > * {
  position: relative;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.diagnostic-grid {
  grid-template-columns: repeat(6, 1fr);
}

.diagnostic-grid article {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 233, 0.9)),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.diagnostic-grid article::after {
  content: "";
  position: absolute;
  top: -38px;
  right: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(245, 154, 35, 0.12);
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.3s;
}

.diagnostic-grid article:hover {
  border-color: rgba(245, 154, 35, 0.52);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(253, 241, 221, 0.94)),
    rgba(255, 255, 255, 0.96);
}

.diagnostic-grid article:hover::after {
  opacity: 1;
}

.diagnostic-grid article > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--brand);
}

.diagnostic .eyebrow,
.diagnostic .section-heading h2 {
  color: #fff;
}

.diagnostic .section-heading p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.diagnostic-grid h3 {
  font-size: 21px;
}

.diagnostic-grid article:nth-child(4),
.diagnostic-grid article:nth-child(5) {
  grid-column: span 3;
}

.approach {
  margin-top: 20px;
  padding: 34px;
  border: 1px solid rgba(245, 154, 35, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.98), rgba(252, 243, 227, 0.94)),
    #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.approach strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 24px;
}

.approach p {
  color: var(--muted) !important;
}

.gallery {
  max-width: none;
  background:
    linear-gradient(135deg, rgba(7, 8, 9, 0.94), rgba(18, 24, 28, 0.9)),
    #101418;
}

.gallery .eyebrow,
.gallery .section-heading h2 {
  color: #fff;
}

.gallery-stage {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: var(--radius);
  background: #e8e2d8;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.14);
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.02);
  transition: opacity 0.9s ease, transform 4.8s ease;
}

.gallery-stage img.is-fading {
  opacity: 0;
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(7, 8, 9, 0.54);
  backdrop-filter: blur(14px);
}

.gallery-caption span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.gallery-caption strong {
  font-size: 16px;
}

.news {
  max-width: none;
  background:
    radial-gradient(circle at 22% 12%, rgba(245, 154, 35, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(7, 8, 9, 0.96), rgba(18, 24, 28, 0.92)),
    #101418;
}

.news > * {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1040px;
}

.news .eyebrow,
.news .section-heading h2 {
  color: #fff;
}

.news .section-heading p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  grid-template-areas:
    "thumb meta"
    "thumb title"
    "thumb summary"
    "thumb link";
  column-gap: 24px;
  align-items: start;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.news-card::before {
  content: none;
}

.news-card:nth-child(2)::before {
  content: none;
}

.news-card:nth-child(3)::before {
  content: none;
}

.news-thumb {
  grid-area: thumb;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 184px;
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(7, 8, 9, 0.28), rgba(245, 154, 35, 0.14)),
    var(--news-image, linear-gradient(118deg, #24303a, #6d7f79 54%, #f59a23));
  background-size: cover;
  background-position: center;
}

.news-card span {
  grid-area: meta;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(245, 154, 35, 0.32);
  border-radius: var(--radius);
  color: var(--brand-dark);
  background: rgba(245, 154, 35, 0.1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  grid-area: title;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.15;
}

.news-card p {
  grid-area: summary;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.news-card a:not(.news-thumb) {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partners {
  max-width: none;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 48px;
  padding-left: 0;
  padding-right: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 154, 35, 0.13), transparent 26rem),
    linear-gradient(180deg, #fbfaf7, #f1ece2),
    #fbfaf7;
}

.partners > .section-heading {
  width: min(100% - 40px, var(--max));
  padding-top: 54px;
  margin-bottom: 18px;
}

.partner-scroll {
  position: relative;
  height: auto;
  padding-bottom: 0;
}

.partner-mobile-hint {
  display: none;
}

.partner-sticky {
  position: relative;
  top: auto;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 22px max(20px, calc((100vw - var(--max)) / 2)) 30px;
  scrollbar-width: thin;
}

.partner-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  transform: none !important;
}

.partner-card {
  position: relative;
  flex: 0 0 clamp(340px, 31vw, 430px);
  isolation: isolate;
  overflow: hidden;
  min-height: 335px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  transition: transform 0.32s, border-color 0.32s, box-shadow 0.32s;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(0deg, rgba(7, 8, 9, 0.58), rgba(7, 8, 9, 0.18)),
    var(--bg),
    radial-gradient(circle at 30% 22%, rgba(245, 154, 35, 0.26), transparent 32%);
  background-size: cover, cover, auto;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.02);
  opacity: 0.92;
}

.partner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.1), rgba(7, 8, 9, 0.42)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(17, 20, 23, 0.22));
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 154, 35, 0.58);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(245, 154, 35, 0.12) inset;
}

.partner-logo {
  width: fit-content;
  max-width: 100%;
  margin-bottom: auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

.partner-card .partner-logo {
  display: block;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-transform: none;
}

.partner-card img {
  width: min(210px, 78%);
  max-height: 82px;
  object-fit: contain;
  margin-bottom: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

.partner-card h3 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 24px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.partner-card p {
  min-height: 64px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.partner-card > span:not(.partner-logo) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(245, 154, 35, 0.42);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(7, 8, 9, 0.2);
  backdrop-filter: blur(10px);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.partner-card > span:not(.partner-logo) svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.instagram {
  max-width: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(245, 154, 35, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(7, 8, 9, 0.96), rgba(18, 24, 28, 0.92)),
    #101418;
}

.instagram > .section-heading {
  width: min(100% - 40px, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.instagram .eyebrow,
.instagram .section-heading h2 {
  color: #fff;
}

.instagram .section-heading p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.instagram-hint {
  display: none;
}

.instagram-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px max(20px, calc((100vw - var(--max)) / 2)) 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.instagram-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 clamp(240px, 22vw, 310px);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  background: #111;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  scroll-snap-align: start;
}

.instagram-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--post-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.instagram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.06), rgba(7, 8, 9, 0.88)),
    linear-gradient(135deg, rgba(245, 154, 35, 0.12), rgba(7, 8, 9, 0.1));
}

.instagram-card span {
  width: fit-content;
  margin-bottom: auto;
  padding: 7px 10px;
  border: 1px solid rgba(245, 154, 35, 0.42);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(7, 8, 9, 0.34);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instagram-card h3 {
  margin: 100px 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
}

.instagram-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.instagram-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(245, 154, 35, 0.42);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(7, 8, 9, 0.24);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  margin-bottom: 24px;
}

.contact-strip article {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.contact-strip h3 {
  font-size: 28px;
}

.contact-strip img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.team-grid {
  grid-template-columns: repeat(6, 1fr);
}

.team-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: top center;
  background: var(--panel-soft);
}

.team-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.team-card h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.team-card p {
  min-height: 46px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.team-card a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: auto;
}

.footer {
  padding: 64px 20px 34px;
  text-align: center;
  background: #030405;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 128px;
  margin: 0 auto 26px;
}

.footer p {
  color: rgba(255, 255, 255, 0.66);
}

.footer-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 24px 0 34px;
  color: var(--brand);
  font-weight: 800;
}

.footer small {
  color: #777;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(7, 8, 9, 0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

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

  .nav a {
    padding: 12px 0;
  }

  .nav-cta {
    padding: 0 18px;
  }

  .hero-stats,
  .intro-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .hero-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats article:last-child {
    border-bottom: 0;
  }

  .segment-showcase,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diagnostic-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diagnostic-grid article,
  .diagnostic-grid article:nth-child(4),
  .diagnostic-grid article:nth-child(5) {
    grid-column: span 1;
  }
}

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

  .brand img {
    width: 96px;
  }

  .hero {
    min-height: 315svh;
    display: grid;
    margin-bottom: 260px;
    padding: 0 18px;
    overflow: visible;
  }

  .hero-media {
    position: sticky;
    height: 100svh;
    margin-left: -18px;
    margin-right: -18px;
  }

  .hero-content {
    position: sticky;
    top: 132px;
    left: auto;
    right: auto;
    width: min(100%, var(--max));
    padding-bottom: 44px;
  }

  .hero-stats {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    z-index: 3;
    width: auto;
    margin: 0;
    border-width: 0 0 1px;
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  }

  .hero-stats article {
    padding: 18px;
  }

  .hero-stats strong {
    font-size: 30px;
  }

  .hero-stats span {
    font-size: 11px;
  }

  .hero-actions {
    margin-top: 40px;
  }

  .hero-actions,
  .footer-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 18px;
  }

  .segment-showcase,
  .solution-grid,
  .diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    margin-left: -18px;
    margin-right: -18px;
    padding: 0 18px 10px;
    scroll-snap-type: x mandatory;
  }

  .news-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 84vw;
    min-height: 260px;
    padding: 20px;
    scroll-snap-align: start;
  }

  .news-thumb {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9.5;
    margin-bottom: 16px;
  }

  .news-card h3 {
    font-size: 25px;
  }

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

  .team .section-heading {
    margin-bottom: 28px;
  }

  .contact-strip {
    gap: 12px;
  }

  .contact-strip article {
    padding: 22px;
  }

  .contact-strip img {
    min-height: 220px;
  }

  .team-card img {
    aspect-ratio: 1 / 0.92;
  }

  .team-card div {
    padding: 10px;
  }

  .team-card h3 {
    font-size: 13px;
    line-height: 1.2;
  }

  .team-card p {
    min-height: 54px;
    margin-bottom: 12px;
    font-size: 9px;
  }

  .team-card a {
    min-height: 32px;
    font-size: 10px;
  }

  .segment-showcase article {
    min-height: 260px;
  }

  .gallery-stage {
    aspect-ratio: 4 / 4.35;
  }

  .gallery-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(7, 8, 9, 0.62);
  }

  .gallery-caption span {
    flex: 0 0 auto;
    font-size: 10px;
  }

  .gallery-caption strong {
    font-size: 11px;
    line-height: 1.25;
  }

  .partners {
    min-height: auto;
    padding-bottom: 42px;
  }

  .partners > .section-heading {
    padding-top: 42px;
  }

  .partner-scroll {
    height: auto;
  }

  .partner-mobile-hint {
    position: sticky;
    left: 18px;
    top: 82px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: -18px 18px 10px;
    padding: 8px 11px;
    border: 1px solid rgba(245, 154, 35, 0.36);
    border-radius: var(--radius);
    color: #14110d;
    background: rgba(245, 154, 35, 0.92);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .partner-mobile-hint svg {
    width: 15px;
    height: 15px;
    animation: hint-slide 1.15s ease-in-out infinite;
  }

  .partner-sticky {
    position: relative;
    top: auto;
    overflow-x: auto;
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .partner-card {
    flex-basis: 82vw;
    min-height: 282px;
    padding: 18px;
  }

  .instagram-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: -18px 18px 14px;
    padding: 8px 11px;
    border: 1px solid rgba(245, 154, 35, 0.36);
    border-radius: var(--radius);
    color: #14110d;
    background: rgba(245, 154, 35, 0.92);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .instagram-hint svg {
    width: 15px;
    height: 15px;
    animation: hint-slide 1.15s ease-in-out infinite;
  }

  .instagram-track {
    padding-left: 18px;
    padding-right: 18px;
  }

  .instagram-card {
    flex-basis: 82vw;
    min-height: 350px;
  }
}

@keyframes hint-slide {
  50% {
    transform: translateX(5px);
  }
}
