:root {
  --bg: #020202;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #f2111c;
  --accent-deep: #a5070f;
  --light-bg: #dcdada;
  --ink: #181818;
  --ink-muted: #5f5f5f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

:target {
  scroll-margin-top: clamp(80px, 12vh, 104px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-weight: 280;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

img,
video {
  height: auto;
}

strong,
b {
  font-weight: 490;
}

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

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  --header-edge: max(24px, calc((100vw - 1240px) / 2 + 24px));

  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 var(--header-edge);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header::before {
  position: absolute;
  inset: 2px max(8px, calc(var(--header-edge) - 36px));
  z-index: -1;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 54px rgba(0, 0, 0, 0.2);
  content: "";
  opacity: 0;
  transform: translateY(-10px) scale(0.97);
  transition:
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 320ms ease,
    box-shadow 320ms ease;
  backdrop-filter: blur(22px) saturate(145%);
  will-change: opacity, transform;
}

.header-visible .site-header,
.nav-open .site-header {
  height: 88px;
}

.site-header:hover::before,
.site-header:focus-within::before,
.header-visible .site-header::before,
.nav-open .site-header::before {
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 58px rgba(0, 0, 0, 0.22);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 52px;
  z-index: 1;
  border-radius: 999px;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
}

.brand img {
  display: block;
  width: clamp(118px, 12vw, 164px);
  height: auto;
}

.menu-toggle {
  display: none;
}

.main-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 46px;
  border-radius: 999px;
  padding: 4px;
  font-size: 0.96rem;
  font-weight: 490;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 999px;
  padding: 0 clamp(12px, 1.4vw, 20px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a::after {
  display: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: 112px 24px 72px;
  text-align: center;
  background: #0d0d0d url("/videos/posters/hero-home-poster.webp") center / cover no-repeat;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  background: #0d0d0d url("/videos/posters/hero-home-poster.webp") center / cover no-repeat;
}

.hero__overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 48%, rgba(95, 0, 6, 0.18), transparent 33%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 38%, rgba(0, 0, 0, 0.83) 100%),
    rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(3px);
}

.hero__content {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1220px;
  margin: 0 auto;
  color: #f3f0f0;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.94;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 780px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.55rem);
  font-weight: 420;
  line-height: 1.42;
  text-wrap: balance;
}

.hero__subtitle strong {
  color: var(--muted-strong);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 184px;
  border-radius: 8px;
  padding: 0 26px;
  font-size: 0.96rem;
  font-weight: 560;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(242, 17, 28, 0.28);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.whatsapp {
  position: fixed;
  z-index: 15;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease;
}

.whatsapp:hover,
.whatsapp:focus-visible {
  transform: translateY(-2px);
}

.whatsapp img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer {
  position: relative;
  z-index: 16;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(560px, 68svh, 700px);
  background: #050505;
  color: #ffffff;
  padding: clamp(42px, 5vw, 64px) 24px;
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.site-footer::before {
  z-index: -2;
  background-image: url("assets/fundo.webp");
  background-position: center;
  background-size: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.48);
  opacity: 0.58;
  transform: scale(1.03);
}

.site-footer::after {
  z-index: -1;
  background:
    url("assets/footer-illustration.svg") right clamp(14px, 6vw, 82px) center / min(760px, 54vw) auto no-repeat,
    radial-gradient(circle at 24% 20%, rgba(242, 17, 28, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.82));
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1240px);
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
  margin-inline: auto;
}

.site-footer__contact-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.site-footer__brand {
  display: inline-flex;
  width: fit-content;
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.site-footer__brand:hover,
.site-footer__brand:focus-visible {
  filter: drop-shadow(0 0 18px rgba(242, 17, 28, 0.48));
  transform: translateY(-2px);
}

.site-footer__brand img {
  width: clamp(210px, 18vw, 280px);
  height: auto;
}

.site-footer__contact-list {
  display: grid;
  gap: clamp(28px, 3.5vw, 42px);
  margin-top: clamp(40px, 5vw, 58px);
}

.site-footer__contact-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.site-footer__contact-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.site-footer__contact-icon svg {
  display: block;
  width: 64px;
  height: 64px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.icon-whatsapp-line {
  overflow: visible;
}

.icon-whatsapp-line__bubble,
.icon-whatsapp-line__arc {
  stroke-width: 5.2;
}

.icon-whatsapp-line__dot {
  stroke-width: 8;
}

.icon-whatsapp-line__phone {
  stroke-width: 6.8;
}

.site-footer__contact-card h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.38rem, 1.8vw, 1.82rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 1.04;
}

.site-footer__contact-card a,
.site-footer__contact-card > div > span {
  color: #ffffff;
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 455;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.site-footer__contact-card--link {
  position: relative;
  cursor: pointer;
  transition:
    transform 240ms cubic-bezier(0.25, 1, 0.5, 1),
    filter 240ms ease;
}

.site-footer__contact-card--link .site-footer__contact-icon {
  transition:
    transform 240ms cubic-bezier(0.25, 1, 0.5, 1),
    filter 240ms ease;
  will-change: transform;
}

.site-footer__contact-card--link h2,
.site-footer__contact-card--link > div > span {
  transition:
    color 220ms ease,
    transform 240ms cubic-bezier(0.25, 1, 0.5, 1);
}

.site-footer__contact-card--link:hover,
.site-footer__contact-card--link:focus-visible {
  transform: translateY(-3px);
}

.site-footer__contact-card--link:hover .site-footer__contact-icon,
.site-footer__contact-card--link:focus-visible .site-footer__contact-icon {
  transform: scale(1.08) rotate(-4deg);
  filter: drop-shadow(0 8px 18px rgba(37, 211, 102, 0.35));
}

.site-footer__contact-card--link:hover h2,
.site-footer__contact-card--link:focus-visible h2 {
  color: #25d366;
  transform: translateX(3px);
}

.site-footer__contact-card--link:hover > div > span,
.site-footer__contact-card--link:focus-visible > div > span {
  transform: translateX(3px);
}

.site-footer__contact-card--link:focus-visible {
  outline: 2px solid rgba(37, 211, 102, 0.55);
  outline-offset: 6px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__contact-card--link,
  .site-footer__contact-card--link .site-footer__contact-icon,
  .site-footer__contact-card--link h2,
  .site-footer__contact-card--link > div > span {
    transition: none;
  }

  .site-footer__contact-card--link:hover,
  .site-footer__contact-card--link:focus-visible,
  .site-footer__contact-card--link:hover .site-footer__contact-icon,
  .site-footer__contact-card--link:focus-visible .site-footer__contact-icon,
  .site-footer__contact-card--link:hover h2,
  .site-footer__contact-card--link:focus-visible h2,
  .site-footer__contact-card--link:hover > div > span,
  .site-footer__contact-card--link:focus-visible > div > span {
    transform: none;
  }
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 0;
  margin-top: clamp(34px, 4vw, 46px);
}

.site-footer__social a,
.site-footer__social-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-footer__social svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.site-footer__social .icon-facebook {
  fill: currentColor;
  stroke: none;
}

.site-footer__social .icon-instagram {
  fill: none;
}

.site-footer__social .icon-linkedin {
  stroke: none;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.site-footer a {
  color: inherit;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.site-footer .site-footer__social a,
.site-footer .site-footer__social-icon,
.site-footer .site-footer__social a:hover,
.site-footer .site-footer__social a:focus-visible {
  color: var(--accent);
}

.site-footer__address {
  margin: clamp(34px, 4vw, 46px) 0 0;
  color: #ffffff;
  font-size: clamp(0.98rem, 1.16vw, 1.18rem);
  font-weight: 455;
  font-style: normal;
  line-height: 1.48;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  width: min(100%, 1240px);
  margin: clamp(28px, 3.4vw, 44px) auto 0;
  padding-top: clamp(16px, 1.8vw, 22px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 26px);
}

.site-footer .site-footer__legal a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 480;
  transition: color 200ms ease;
}

.site-footer .site-footer__legal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer .site-footer__legal a:hover,
.site-footer .site-footer__legal a:focus-visible {
  color: #ffffff;
  transform: none;
}

.site-footer .site-footer__legal a:hover::after,
.site-footer .site-footer__legal a:focus-visible::after {
  transform: scaleX(1);
}

.site-footer__form-panel {
  align-self: center;
}

.site-footer__form-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 3.1vw, 3.05rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

.site-footer__form-panel p {
  max-width: 760px;
  margin: 20px 0 10px;
  color: #ffffff;
  font-size: clamp(0.9rem, 1.05vw, 1.03rem);
  font-weight: 455;
  line-height: 1.55;
}

.site-footer__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 4px;
  margin-top: 8px;
}

.site-footer__form input,
.site-footer__form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 5px;
  background: #f2f2f2;
  color: var(--ink);
  font: inherit;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 455;
  line-height: 1.35;
  outline: none;
  padding: 10px 13px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-footer__form input {
  min-height: 46px;
}

.site-footer__form textarea {
  min-height: 126px;
  resize: vertical;
}

.site-footer__form input::placeholder,
.site-footer__form textarea::placeholder {
  color: #9e9e9e;
  opacity: 1;
}

.site-footer__form input:focus,
.site-footer__form textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(242, 17, 28, 0.18);
}

.site-footer__form-wide {
  grid-column: 1 / -1;
}

.site-footer__submit {
  justify-self: start;
  width: 112px;
  min-height: 56px;
  margin-top: 10px;
  border: 2px solid #ffffff;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.03rem;
  font-weight: 630;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-footer__submit:hover,
.site-footer__submit:focus-visible {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-2px);
}

.legal-page {
  min-height: 100vh;
  background: #111111 url("assets/fundo.webp") center / cover no-repeat;
  color: #ffffff;
  padding: 142px 24px 90px;
}

.legal-page__inner {
  width: min(100%, 920px);
  margin-inline: auto;
}

.legal-page__header {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.legal-page h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.95;
}

.legal-page__intro,
.legal-page__updated,
.legal-page__section p,
.legal-page__section li {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  font-weight: 455;
  line-height: 1.75;
}

.legal-page__updated {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
}

.legal-page__content {
  display: grid;
  gap: 30px;
}

.legal-page__section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.legal-page__section h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 630;
  letter-spacing: 0;
}

.legal-page__section p {
  margin: 0;
}

.legal-page__section p + p {
  margin-top: 12px;
}

.legal-page__section ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.route-screen {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  background: #0d0d0d url("assets/fundo.webp") center / cover no-repeat;
  color: #ffffff;
  padding: clamp(132px, 13vw, 176px) 24px clamp(74px, 8vw, 112px);
}

.route-screen::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 22%, rgba(242, 17, 28, 0.12), transparent 34%),
    radial-gradient(circle at 72% 8%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.72));
  content: "";
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(260px, 26vw, 330px);
  overflow: hidden;
  place-items: center;
  padding: 96px 24px 62px;
  background: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.page-hero::before {
  background-image: url("assets/fundo.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(0.92) contrast(1.03);
  opacity: 0.58;
  transform: scale(1.02);
}

.page-hero::after {
  z-index: -1;
  background:
    radial-gradient(circle at 52% 28%, rgba(242, 17, 28, 0.13), transparent 34%),
    radial-gradient(circle at 72% 12%, rgba(255, 255, 255, 0.07), transparent 18%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(28, 3, 6, 0.58), rgba(0, 0, 0, 0.76));
}

.page-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 1;
  text-wrap: balance;
}

.route-screen__content {
  width: min(100%, 960px);
  margin-inline: auto;
  text-align: center;
}

.route-screen h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.94;
  text-wrap: balance;
}

.route-screen__content > p:not(.section-kicker) {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 455;
  line-height: 1.56;
  text-wrap: balance;
}

.route-screen__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.contact-screen {
  min-height: 100svh;
  scroll-margin-top: 72px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(222, 220, 220, 0.92)),
    #dedcdc;
  color: var(--ink);
  padding: clamp(118px, 12vw, 154px) 24px clamp(64px, 8vw, 112px);
}

.page-hero + .contact-screen,
.page-hero + .legal-page,
.page-hero + .portfolio--screen,
.page-hero + .about-screen {
  padding-top: clamp(56px, 7vw, 86px);
}

.about-page {
  background: #f7f7f7;
  color: var(--ink);
}

.about-screen {
  scroll-margin-top: 72px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(222, 220, 220, 0.92)),
    #dedcdc;
  color: var(--ink);
  padding: clamp(118px, 12vw, 154px) 24px clamp(64px, 8vw, 112px);
}

.about-screen__content {
  width: min(100%, 960px);
  margin-inline: auto;
  text-align: center;
}

.about-screen h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.95;
  text-wrap: balance;
}

.about-screen__content > p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 auto 16px;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 455;
  line-height: 1.55;
  text-wrap: balance;
}

.about-screen__content > p:not(.section-kicker) strong {
  color: var(--ink);
  font-weight: 630;
}

.about-screen__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.contact-screen__header {
  width: min(100%, 980px);
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.contact-screen__header h1,
.team-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.95;
  text-wrap: balance;
}

.contact-screen__header p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 455;
  line-height: 1.55;
}

.briefing-form {
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 80px rgba(24, 24, 24, 0.1);
  padding: clamp(22px, 3vw, 36px);
}

.briefing-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 630;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.briefing-form input,
.briefing-form select,
.briefing-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 24, 24, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 455;
  line-height: 1.45;
  outline: none;
  padding: 14px 15px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.briefing-form textarea {
  resize: vertical;
}

.briefing-form input:focus,
.briefing-form select:focus,
.briefing-form textarea:focus {
  border-color: rgba(242, 17, 28, 0.68);
  box-shadow: 0 0 0 4px rgba(242, 17, 28, 0.1);
}

.briefing-form__wide,
.briefing-form__submit {
  grid-column: 1 / -1;
}

.briefing-form__submit {
  justify-self: center;
  margin-top: 6px;
  border: 0;
  cursor: pointer;
}

.team-section {
  width: min(100%, 980px);
  scroll-margin-top: 112px;
  margin: clamp(58px, 7vw, 92px) auto 0;
  text-align: center;
}

.team-section h2 {
  scroll-margin-top: 112px;
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 4vw, 42px);
  text-align: left;
}

.team-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(24, 24, 24, 0.09);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 58px rgba(24, 24, 24, 0.08);
  padding: clamp(24px, 3vw, 34px);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.team-card:hover {
  border-color: rgba(242, 17, 28, 0.42);
  box-shadow: 0 30px 74px rgba(24, 24, 24, 0.12);
  transform: translateY(-5px);
}

.team-card__label {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(242, 17, 28, 0.1);
  color: var(--accent);
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 630;
  letter-spacing: 0.04em;
}

.team-card h3 {
  margin: 22px 0 6px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 630;
  line-height: 1.05;
}

.team-card__phone {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 480;
  letter-spacing: 0.01em;
}

.team-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 13px 22px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 630;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.28);
  transition:
    background 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.team-card__cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.team-card__cta:hover,
.team-card__cta:focus-visible {
  background: #1ebe5a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.36);
}

.team-card__cta:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.4);
  outline-offset: 3px;
}

@media (max-width: 540px) {
  .team-card__cta {
    align-self: stretch;
  }
}

.location-section {
  width: min(100%, 1280px);
  scroll-margin-top: 104px;
  margin: clamp(68px, 8vw, 118px) auto 0;
}

.location-section h2 {
  margin: 0 0 clamp(30px, 5vw, 48px);
  color: #000000;
  font-size: clamp(2.4rem, 5vw, 4.45rem);
  font-weight: 350;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.location-section h2 strong {
  font-weight: 630;
}

.location-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.82fr);
  align-items: stretch;
  gap: clamp(24px, 3.5vw, 42px);
}

.location-map {
  position: relative;
  min-height: clamp(460px, 46vw, 640px);
  overflow: hidden;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 8px;
  background: #eeeeee;
  box-shadow:
    0 34px 86px rgba(24, 24, 24, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.44);
  transform: translateZ(0);
}

.location-map::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
  content: "";
  pointer-events: none;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.location-map__panel {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  display: grid;
  width: min(420px, calc(100% - 32px));
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.16);
  padding: 18px;
  backdrop-filter: blur(14px);
}

.location-map__panel span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 630;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-map__panel strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 630;
  line-height: 1.12;
}

.location-map__panel p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 490;
  line-height: 1.45;
}

.location-map__panel a {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 630;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.location-map__panel a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.location-map__panel a:hover,
.location-map__panel a:focus-visible {
  color: var(--accent-deep);
  transform: translateX(3px);
}

.sac-form {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    #ffffff;
  box-shadow: 0 30px 76px rgba(24, 24, 24, 0.1);
  padding: clamp(22px, 3vw, 34px);
}

.sac-form__header {
  margin-bottom: 8px;
  text-align: center;
}

.sac-form__header .section-kicker {
  display: block;
  margin-bottom: 10px;
}

.sac-form h3 {
  margin: 0;
  color: #000000;
  font-size: clamp(1.5rem, 2.35vw, 2.2rem);
  font-weight: 630;
  line-height: 1.08;
}

.sac-field {
  position: relative;
  display: grid;
}

.sac-field > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  color: rgba(24, 24, 24, 0.38);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: translateY(-50%);
  transition:
    color 200ms ease,
    transform 200ms ease;
  pointer-events: none;
}

.sac-field--message > svg {
  top: 23px;
  transform: none;
}

.sac-form input,
.sac-form select,
.sac-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 8px;
  background: rgba(247, 247, 247, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 525;
  outline: none;
  padding: 17px 18px 17px 52px;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease,
    transform 200ms ease;
}

.sac-form input,
.sac-form select {
  min-height: 58px;
}

.sac-form textarea {
  min-height: 176px;
  padding-top: 17px;
  resize: vertical;
}

.sac-form input::placeholder,
.sac-form textarea::placeholder {
  color: rgba(24, 24, 24, 0.42);
}

.sac-form select:invalid {
  color: rgba(24, 24, 24, 0.48);
}

.sac-form input:focus,
.sac-form select:focus,
.sac-form textarea:focus {
  border-color: rgba(242, 17, 28, 0.7);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(242, 17, 28, 0.1),
    0 16px 32px rgba(24, 24, 24, 0.08);
  transform: translateY(-1px);
}

.sac-field:focus-within > svg {
  color: var(--accent);
  transform: translateY(-50%) scale(1.04);
}

.sac-field--message:focus-within > svg {
  transform: scale(1.04);
}

.sac-form__submit {
  justify-self: center;
  width: min(100%, 340px);
  min-height: 62px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  justify-content: center;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) minmax(0, 3fr);
  min-height: 600px;
  scroll-margin-top: 72px;
  background: var(--light-bg);
  color: var(--ink);
}

.about__brand {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  background:
    radial-gradient(circle at 72% 18%, rgba(242, 17, 28, 0.22), transparent 32%),
    linear-gradient(135deg, #111111 0%, #292929 100%);
}

.about__brand::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(135deg, transparent 12%, #000000 100%);
}

.about__brand img {
  position: relative;
  z-index: 1;
  width: min(78%, 320px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 76px);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 630;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker--light {
  color: #ff2731;
}

.about h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.95;
}

.about__copy {
  max-width: 830px;
}

.about__copy p:not(.section-kicker) {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 420;
  line-height: 1.65;
}

.about__copy strong {
  color: var(--ink);
  font-weight: 630;
}

.about__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 3.4vw, 42px);
}

.about-card {
  min-height: 216px;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 44px rgba(21, 21, 21, 0.08);
  padding: 22px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 17, 28, 0.36);
  box-shadow: 0 24px 56px rgba(21, 21, 21, 0.12);
}

.about-card__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(242, 17, 28, 0.26);
}

.about-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.about-card h3 {
  margin: 20px 0 10px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 630;
  line-height: 1.1;
}

.about-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 420;
  line-height: 1.58;
}

.reveal {
  --reveal-y: 42px;

  opacity: 0;
  clip-path: inset(0 0 18% 0);
  transform: translate3d(0, var(--reveal-y), 0);
  transition:
    opacity 1400ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 1400ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal--fit-left {
  --reveal-y: 34px;
}

.reveal--fit-right {
  --reveal-y: 34px;
}

.reveal--fit-up {
  --reveal-y: 50px;
}

.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0);
  transform: translate3d(0, 0, 0);
}

.about__brand.reveal {
  opacity: 1;
  clip-path: none;
  transform: none;
  transition: none;
  will-change: auto;
}

.pillars {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 72px;
  background: #090909 url("assets/fundo.webp") center / cover no-repeat;
  color: #ffffff;
}

.pillars::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.36));
  content: "";
  opacity: 1;
}

.pillars::after {
  display: none;
}

.pillars__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(64px, 8vw, 110px) 24px;
}

.pillars__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 12px clamp(28px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.pillars__intro .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.pillars h2 {
  grid-column: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.92;
}

.pillars__intro p:not(.section-kicker) {
  grid-column: 2;
  align-self: end;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 420;
  line-height: 1.5;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pillar-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.24);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
  padding: clamp(26px, 3vw, 36px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
  backdrop-filter: blur(2px);
}

.pillar-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(242, 17, 28, 0.16), transparent 42%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 17, 28, 0.48);
  background: rgba(10, 10, 10, 0.32);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.2);
}

.pillar-card:hover::before {
  opacity: 0.55;
}

.pillar-card--featured {
  border-color: rgba(242, 17, 28, 0.58);
  background: rgba(242, 17, 28, 0.26);
  transform: translateY(-10px);
}

.pillar-card--featured:hover {
  transform: translateY(-16px);
  background: rgba(242, 17, 28, 0.32);
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.22);
}

.pillar-card__number,
.pillar-card__icon,
.pillar-card h3,
.pillar-card p {
  position: relative;
  z-index: 1;
}

.pillar-card__number {
  display: block;
  color: rgba(255, 255, 255, 0.28);
  font-size: clamp(3.8rem, 7vw, 6.6rem);
  font-weight: 630;
  line-height: 0.78;
}

.pillar-card__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.pillar-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pillar-card h3 {
  margin: 24px 0 12px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 1;
}

.pillar-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 420;
  line-height: 1.6;
}

.pillar-card--featured p {
  color: rgba(255, 255, 255, 0.9);
}

.why-choose {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 72px;
  background: #0d0d0d url("assets/hero-fenix-stand.jpg") center / cover no-repeat;
  background-position: center 46%;
  color: #ffffff;
}

.why-choose__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 24%, rgba(242, 17, 28, 0.18), transparent 36%),
    radial-gradient(circle at 80% 72%, rgba(165, 7, 15, 0.3), transparent 46%),
    linear-gradient(115deg, rgba(2, 2, 2, 0.94) 0%, rgba(8, 8, 8, 0.78) 48%, rgba(2, 2, 2, 0.92) 100%);
  backdrop-filter: saturate(0.88);
}

.why-choose__inner {
  display: grid;
  width: min(100%, 1240px);
  grid-template-columns: minmax(160px, 0.85fr) minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-inline: auto;
  padding: clamp(28px, 3.2vw, 44px) 24px;
}

.why-choose__brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose__brand::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(242, 17, 28, 0.28),
    transparent 62%
  );
  content: "";
  filter: blur(28px);
  opacity: 0.75;
}

.why-choose__brand img {
  position: relative;
  width: min(75%, 200px);
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}

.why-choose__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.why-choose__heading h2 {
  margin: 0;
  scroll-margin-top: 120px;
  color: #080808;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 1.18;
}

.why-choose__mark {
  position: relative;
  isolation: isolate;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  padding: 0.02em 0.16em 0.04em;
  color: #080808;
  text-shadow: none;
}

.why-choose__mark::before {
  position: absolute;
  z-index: -1;
  top: 0.13em;
  right: -0.08em;
  bottom: 0.07em;
  left: -0.08em;
  border-radius: 0.08em;
  background: linear-gradient(90deg, #f2111c 0%, #ff2c35 54%, #d90914 100%);
  box-shadow:
    0 0.12em 0.26em rgba(0, 0, 0, 0.34),
    inset 0 -0.08em 0 rgba(100, 0, 5, 0.16);
  content: "";
  transform: skewX(-2deg);
}

.why-choose__name {
  color: inherit;
  text-shadow: none;
}

.why-choose__cta {
  padding: 16px 38px;
  border-width: 1.5px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: 0.08em;
}

.why-choose__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

.why-choose__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.88rem, 0.95vw, 0.98rem);
  font-weight: 420;
  line-height: 1.55;
}

.why-choose__text p strong {
  color: #ffffff;
  font-weight: 630;
}

.stats {
  position: relative;
  scroll-margin-top: 72px;
  background: var(--light-bg);
  color: #ffffff;
}

.stats__inner {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) 24px;
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, #2c3033 0%, #1f2123 100%);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stats__grid::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.35), transparent 70%);
  content: "";
  pointer-events: none;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(34px, 4vw, 56px) clamp(18px, 2vw, 28px);
  text-align: center;
}

.stat-card + .stat-card::before {
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0.12) 70%, transparent);
  content: "";
}

.stat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(34px, 3.4vw, 44px);
  height: clamp(34px, 3.4vw, 44px);
  color: var(--accent);
}

.stat-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-card__value {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.18em;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.stat-card__prefix {
  color: #ffffff;
  font-weight: 700;
}

.stat-card__number {
  display: inline-block;
  min-width: 1ch;
}

.stat-card__unit {
  color: #ffffff;
  font-weight: 700;
}

.stat-card__unit sup {
  font-size: 0.62em;
  vertical-align: super;
  line-height: 0;
}

.stat-card__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  font-weight: 500;
  line-height: 1.4;
  text-transform: lowercase;
  letter-spacing: 0.01em;
}

@media (max-width: 860px) {
  .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card:nth-child(3)::before {
    display: none;
  }

  .stat-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 520px) {
  .stats__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat-card + .stat-card::before {
    display: none;
  }

  .stat-card + .stat-card {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.stand-videos {
  --video-ease: 480ms cubic-bezier(0.25, 1, 0.5, 1);

  position: relative;
  overflow: hidden;
  background: #090909 url("assets/fundo.webp") center / cover no-repeat;
  color: #ffffff;
  padding: clamp(64px, 8vw, 110px) 24px clamp(56px, 7vw, 96px);
}

.stand-videos::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.42));
  content: "";
  pointer-events: none;
}

.stand-videos__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin-inline: auto;
}

.stand-videos__header {
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.stand-videos__header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 1.05;
}

.stand-videos__header p {
  margin: 14px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  font-weight: 420;
  line-height: 1.55;
}

.stand-videos__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
}

.stand-video {
  position: relative;
  flex: 1 1 0;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  border-radius: clamp(18px, 1.6vw, 26px);
  overflow: hidden;
  background: #050505;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.stand-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
}

.stand-video__fs {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  width: clamp(40px, 4.4vw, 48px);
  height: clamp(40px, 4.4vw, 48px);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform var(--video-ease),
    background 220ms ease,
    border-color 220ms ease;
}

.stand-video__fs svg {
  width: 46%;
  height: 46%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stand-video__fs:hover,
.stand-video__fs:focus-visible {
  background: rgba(0, 0, 0, 0.66);
  border-color: rgba(255, 255, 255, 0.46);
  transform: scale(1.08);
  outline: none;
}

.form-status {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #25d366;
}

.services {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 72px;
  background:
    radial-gradient(circle at 20% 10%, rgba(242, 17, 28, 0.22), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #050505 0%, #151515 54%, #080808 100%);
  color: #ffffff;
}

.services::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  opacity: 0.7;
}

.services::after {
  position: absolute;
  inset: auto -15% -26% -15%;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(242, 17, 28, 0.14));
  content: "";
  filter: blur(34px);
}

.services__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(54px, 6vw, 82px) 24px;
}

.services__header {
  max-width: 760px;
  margin: 0 auto clamp(30px, 4.2vw, 48px);
  text-align: center;
}

.services h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.95;
}

.services__header p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.8vw, 1.35rem);
  font-weight: 420;
  line-height: 1.5;
  text-wrap: balance;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.service-card {
  position: relative;
  display: flex;
  min-height: clamp(270px, 20vw, 310px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(242, 17, 28, 0.96), rgba(111, 0, 8, 0.94)),
    #d90b16;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
  padding: clamp(22px, 2.2vw, 30px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.08));
  content: "";
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 32px 70px rgba(242, 17, 28, 0.26);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon,
.service-card h3,
.service-card p,
.service-card a {
  position: relative;
  z-index: 1;
}

.service-card__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.service-card h3 {
  margin: clamp(22px, 2.4vw, 30px) 0 12px;
  color: #ffffff;
  font-size: clamp(1.28rem, 1.65vw, 1.55rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 520;
  line-height: 1.45;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: clamp(18px, 1.8vw, 24px);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  font-weight: 760;
}

.service-card a::after {
  margin-left: 8px;
  content: "→";
  transition: transform 180ms ease;
}

.service-card a:hover::after,
.service-card a:focus-visible::after {
  transform: translateX(4px);
}

.structure-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 72px;
  background: #111111 url("assets/fundo.webp") center / cover no-repeat;
  color: #ffffff;
}

.structure-contact::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 48%, rgba(242, 17, 28, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.72));
  content: "";
}

.structure-contact::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  opacity: 0.55;
}

.structure-contact__inner {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(46px, 5.8vw, 74px) 24px clamp(58px, 7vw, 90px);
}

.structure-contact__header {
  max-width: 760px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

.structure-contact__header h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.95;
}

.structure-contact__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  font-weight: 490;
  line-height: 1.5;
}

.structure-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.structure-contact__photo,
.structure-contact__map {
  position: relative;
  min-height: clamp(320px, 31vw, 430px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #151515;
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.34);
}

.structure-contact__map {
  background: #eeeeee;
  height: 100%;
}

.structure-contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.structure-contact__photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.76)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 45%);
  content: "";
}

.structure-contact__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 520ms ease;
}

.structure-contact__photo:hover img {
  transform: scale(1.04);
}

.structure-contact__photo-caption {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  bottom: clamp(20px, 3vw, 30px);
}

.structure-contact__photo-caption span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 630;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.structure-contact__photo-caption strong {
  display: block;
  max-width: 520px;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.42rem);
  font-weight: 630;
  line-height: 0.98;
  text-wrap: balance;
}

.structure-contact__details {
  display: grid;
  gap: 16px;
}

.structure-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(16px, 2vw, 24px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
  backdrop-filter: blur(8px);
}

.structure-info:hover {
  border-color: rgba(242, 17, 28, 0.45);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.structure-info__icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #474747, var(--accent));
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(242, 17, 28, 0.18);
}

.structure-info__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.structure-info h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.7vw, 1.38rem);
  font-weight: 630;
  line-height: 1.1;
}

.structure-info p,
.structure-info a {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.94rem, 1.25vw, 1.04rem);
  font-weight: 490;
  line-height: 1.55;
  transition: color 180ms ease;
}

.structure-info a:hover,
.structure-info a:focus-visible {
  color: #ffffff;
}

.partners-projects {
  background:
    linear-gradient(180deg, #fafafa 0%, #f1f1f1 50%, #fafafa 100%);
}

.partners {
  overflow: hidden;
  scroll-margin-top: 72px;
  background:
    linear-gradient(180deg, #fafafa 0%, #f1f1f1 50%, #fafafa 100%);
  color: var(--ink);
  padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 5vw, 56px);
}

.partners__header {
  width: min(100%, 980px);
  margin: 0 auto clamp(32px, 4vw, 52px);
  padding: 0 clamp(20px, 4vw, 32px);
  text-align: center;
}

.partners__header .section-kicker {
  margin-bottom: 14px;
}

.partners__header h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 630;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-wrap: balance;
}

.partners__header h2 .partners__title-line {
  white-space: nowrap;
  display: inline-block;
  color: var(--ink);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.partners__header h2 span:not(.partners__title-line) {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.partners__subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  font-weight: 420;
  line-height: 1.55;
  text-wrap: balance;
}

.partners__marquee {
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
}


.partners__row {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding-block: clamp(6px, 1vw, 12px);
}

.partners__track {
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 74px);
  width: max-content;
  padding-inline: clamp(20px, 3vw, 44px);
  animation: partnersMarquee 40s ease-in-out infinite alternate;
  will-change: transform;
}

.partners__row--reverse .partners__track {
  animation-name: partnersMarqueeReverse;
  animation-duration: 46s;
}

.partners__track img {
  display: block;
  flex: 0 0 auto;
  width: clamp(140px, 13vw, 238px);
  height: clamp(72px, 7vw, 118px);
  object-fit: contain;
  transform-origin: center;
  transition:
    filter 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .partners__row:hover .partners__track {
    animation-play-state: paused;
  }

  .partners__row:hover .partners__track img {
    opacity: 0.6;
  }

  .partners__track img:hover {
    opacity: 1;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.14));
    transform: translateY(-3px) scale(1.03);
  }
}

.portfolio {
  overflow: hidden;
  scroll-margin-top: 72px;
  background: #dedcdc;
  color: var(--ink);
  padding: clamp(62px, 8vw, 106px) 0;
}

.partners-projects .partners,
.partners-projects .portfolio {
  background: transparent;
}

.partners-projects .partners {
  padding-bottom: clamp(24px, 3vw, 38px);
}

.partners-projects .portfolio {
  padding-top: clamp(30px, 5vw, 58px);
}

.portfolio--screen {
  min-height: 100svh;
  padding-top: clamp(118px, 12vw, 156px);
}

.portfolio--home {
  padding-block: clamp(66px, 8vw, 112px);
}

.portfolio-page {
  background: #f7f7f7;
  color: var(--ink);
}

.portfolio-page__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(260px, 26vw, 330px);
  overflow: hidden;
  place-items: center;
  padding: 96px 24px 62px;
  background: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

.portfolio-page__hero::before,
.portfolio-page__hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.portfolio-page__hero::before {
  background-image: url("assets/fundo.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(0.92) contrast(1.03);
  opacity: 0.58;
  transform: scale(1.02);
}

.portfolio-page__hero::after {
  z-index: -1;
  background:
    radial-gradient(circle at 52% 28%, rgba(242, 17, 28, 0.13), transparent 34%),
    radial-gradient(circle at 72% 12%, rgba(255, 255, 255, 0.07), transparent 18%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(28, 3, 6, 0.58), rgba(0, 0, 0, 0.76));
}

.portfolio-page__hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 1;
}

.portfolio-page__content {
  padding: clamp(56px, 6vw, 84px) 24px clamp(76px, 8vw, 116px);
}

.portfolio-page__intro {
  width: min(100%, 920px);
  margin: 0 auto;
  color: #858585;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 525;
  line-height: 1.68;
  text-align: center;
  text-wrap: balance;
}

.portfolio-page__intro strong {
  color: #767676;
  font-weight: 630;
}

.portfolio-page__grid {
  display: grid;
  width: min(100%, 1360px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px);
  margin: clamp(54px, 7vw, 86px) auto 0;
}

.portfolio-card--grid {
  width: 100%;
  aspect-ratio: 3 / 2;
  box-shadow: none;
}

.portfolio-card--grid .portfolio-card__tags {
  display: none;
}

.portfolio-card--grid[hidden] {
  display: none;
}

.portfolio-page__load {
  display: flex;
  width: fit-content;
  min-width: 280px;
  margin: clamp(36px, 5vw, 50px) auto 0;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
}

.portfolio__header {
  width: min(100%, 980px);
  margin: 0 auto clamp(34px, 5vw, 62px);
  padding: 0 24px;
  text-align: center;
}

.portfolio__header h1,
.portfolio__header h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

.portfolio__header p:not(.section-kicker) {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 455;
  line-height: 1.5;
  text-wrap: balance;
}

.portfolio__carousel {
  position: relative;
  width: min(100%, 1340px);
  margin-inline: auto;
}

.portfolio__viewport {
  display: flex;
  gap: clamp(18px, 2vw, 24px);
  overflow-x: auto;
  overflow-y: visible;
  padding: 22px clamp(36px, 5vw, 50px) 30px;
  cursor: grab;
  scroll-padding-inline: clamp(36px, 5vw, 50px);
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.portfolio__viewport::-webkit-scrollbar {
  display: none;
}

.portfolio__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.portfolio__viewport.is-dragging .portfolio-card,
.portfolio__viewport.is-dragging .portfolio-card img {
  transition: none;
}

.portfolio-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(300px, 29vw, 386px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 28px 46px rgba(0, 0, 0, 0.18);
  scroll-snap-align: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
  transition:
    box-shadow 300ms ease,
    transform 300ms ease;
  user-select: none;
}

.portfolio-card:nth-child(even) {
  transform: translateZ(0);
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  box-shadow: 0 32px 52px rgba(0, 0, 0, 0.22);
  transform: translateY(-4px) translateZ(0);
}

.portfolio-card:focus-visible {
  outline: 3px solid rgba(242, 17, 28, 0.72);
  outline-offset: 4px;
}

.portfolio-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.01);
  transition:
    opacity 320ms ease,
    filter 260ms ease,
    transform 360ms ease;
}

.portfolio-card.is-loaded img {
  opacity: 1;
}

.portfolio-card:not(.is-loaded)::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%),
    #1a1a1a;
  background-size: 220% 100%;
  animation: card-shimmer 1.4s ease-in-out infinite;
  content: "";
  pointer-events: none;
}

@keyframes card-shimmer {
  0% { background-position: 180% 0; }
  100% { background-position: -80% 0; }
}

.portfolio-card:hover.is-loaded img,
.portfolio-card:focus-within.is-loaded img {
  filter: saturate(1.08);
  transform: scale(1.04);
}

.portfolio-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.8) 100%);
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.portfolio-card:hover::after,
.portfolio-card:focus-within::after {
  opacity: 1;
}

.portfolio-card__content {
  position: absolute;
  z-index: 1;
  inset: 14px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  gap: 8px;
  pointer-events: none;
}

.portfolio-card__tags {
  display: none;
}

.portfolio-card h3 {
  margin: auto 0 8px;
  max-width: 86%;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 1.02;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.portfolio-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 525;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.portfolio-card strong {
  display: block;
  max-width: 82%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 455;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.portfolio-card:hover h3,
.portfolio-card:hover p,
.portfolio-card:hover strong,
.portfolio-card:focus-within h3,
.portfolio-card:focus-within p,
.portfolio-card:focus-within strong {
  opacity: 1;
  transform: translateY(0);
}

.portfolio__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 24, 24, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(10px);
}

.portfolio__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.portfolio__arrow:hover,
.portfolio__arrow:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.portfolio__arrow--prev {
  left: clamp(10px, 2vw, 28px);
}

.portfolio__arrow--next {
  right: clamp(10px, 2vw, 28px);
}

.portfolio__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(12px, 2vw, 22px);
  padding: 0 24px;
}

.portfolio__actions--split {
  flex-wrap: wrap;
  gap: 14px;
}

.button--portfolio {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(242, 17, 28, 0.22);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    filter 240ms ease;
}

.button--portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left 620ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.button--portfolio > * {
  position: relative;
  z-index: 1;
}

.button--portfolio svg {
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button--portfolio:hover,
.button--portfolio:focus-visible {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  filter: brightness(1.08);
  box-shadow: 0 16px 32px rgba(242, 17, 28, 0.34);
}

.button--portfolio:hover::before,
.button--portfolio:focus-visible::before {
  left: 120%;
}

.button--portfolio:hover svg,
.button--portfolio:focus-visible svg {
  transform: translateX(5px);
}

.button--portfolio-light {
  border-color: rgba(24, 24, 24, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: none;
}

.button--portfolio-light:hover,
.button--portfolio-light:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.project-page {
  background: #f7f7f7;
  color: var(--ink);
}

.project-page__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(240px, 28vw, 340px);
  overflow: hidden;
  align-items: end;
  padding: clamp(80px, 7vw, 96px) 24px clamp(18px, 2.2vw, 30px);
  background: #101010;
  color: #ffffff;
}

.project-page__hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 54%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.82));
  content: "";
}

.project-page__hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.02);
}

.project-page__hero-content {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.project-page__back {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 630;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.project-page__back:hover,
.project-page__back:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.project-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.project-page__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 630;
  text-transform: uppercase;
}

.project-page__hero h1 {
  max-width: 860px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.92;
  text-wrap: balance;
}

.project-page__hero p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 455;
  line-height: 1.55;
}

.project-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.project-gallery {
  padding: clamp(12px, 2vw, 24px) 24px clamp(78px, 9vw, 124px);
}

.project-gallery__header {
  display: flex;
  width: min(100%, 1360px);
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.project-gallery__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  font-weight: 630;
  letter-spacing: 0;
  line-height: 0.96;
}

.project-gallery__header p:not(.section-kicker) {
  margin: 0;
  color: #6d6d6d;
  font-size: 0.96rem;
  font-weight: 630;
  text-transform: uppercase;
}

.project-gallery__grid {
  display: grid;
  width: min(100%, 1360px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin: clamp(18px, 3vw, 34px) auto 0;
}

.project-gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #151515;
  box-shadow: 0 24px 44px rgba(24, 24, 24, 0.14);
  transform: translateZ(0);
  transition:
    box-shadow 260ms ease,
    transform 260ms ease;
}

.project-gallery__item:hover,
.project-gallery__item:focus-visible {
  box-shadow: 0 30px 54px rgba(24, 24, 24, 0.2);
  transform: translateY(-4px) translateZ(0);
}

.project-gallery__item:focus-visible {
  outline: 3px solid rgba(242, 17, 28, 0.72);
  outline-offset: 4px;
}

.project-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 320ms ease,
    filter 260ms ease,
    transform 360ms ease;
}

.project-gallery__item.is-loaded img {
  opacity: 1;
}

.project-gallery__item:not(.is-loaded)::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%),
    #1f1f1f;
  background-size: 220% 100%;
  animation: card-shimmer 1.4s ease-in-out infinite;
  content: "";
  pointer-events: none;
}

.project-gallery__item:hover.is-loaded img,
.project-gallery__item:focus-visible.is-loaded img {
  filter: saturate(1.08);
  transform: scale(1.04);
}

.project-gallery__item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  padding: 0 11px;
  font-size: 0.74rem;
  font-weight: 630;
  backdrop-filter: blur(8px);
}

.project-page--empty .project-page__hero-image {
  display: none;
}

.project-page--empty .project-page__hero {
  min-height: 72svh;
}


@keyframes partnersMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% + 100vw));
  }
}

@keyframes partnersMarqueeReverse {
  from {
    transform: translateX(calc(-100% + 100vw));
  }

  to {
    transform: translateX(0);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-22px, 18px, 0) scale(1.05);
  }
}

@media (max-width: 1024px) {
  .brand img {
    width: clamp(112px, 14vw, 148px);
  }

  .main-nav {
    font-size: 0.9rem;
  }

  .main-nav a {
    min-height: 36px;
    padding: 0 12px;
  }

  .portfolio-page__grid,
  .project-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner {
    grid-template-columns: minmax(240px, 0.68fr) minmax(420px, 1.32fr);
    gap: 32px;
  }

  .site-footer__brand img {
    width: clamp(190px, 22vw, 250px);
  }

  .site-footer__contact-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .site-footer__contact-icon,
  .site-footer__contact-icon svg {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 860px) {
  .site-header {
    --header-edge: 12px;

    height: 76px;
    padding: 0 24px;
  }

  .site-header::before {
    inset: 4px var(--header-edge);
    border-radius: 22px;
  }

  .header-visible .site-header,
  .nav-open .site-header {
    height: 76px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition:
      background 180ms ease,
      border-color 180ms ease,
      transform 180ms ease;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
  }

  .menu-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 4px;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 28px 64px rgba(0, 0, 0, 0.34);
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transition:
      opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(22px) saturate(145%);
  }

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

  .main-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-radius: 14px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    transform: translateX(2px);
  }

  .hero {
    padding-top: 116px;
  }

  .about {
    grid-template-columns: 1fr;
    scroll-margin-top: 114px;
  }

  .about__brand {
    min-height: 240px;
  }

  .about__brand img {
    width: min(68%, 260px);
  }

  .about__content {
    padding: 40px 22px 56px;
  }

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

  .about-card {
    min-height: auto;
  }

  .pillars {
    scroll-margin-top: 114px;
  }

  .pillars__intro {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .pillars h2,
  .pillars__intro .section-kicker,
  .pillars__intro p:not(.section-kicker) {
    grid-column: 1;
  }

  .pillars__intro p:not(.section-kicker) {
    align-self: start;
    margin: 0;
  }

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

  .pillar-card,
  .pillar-card--featured {
    min-height: auto;
    transform: none;
  }

  .pillar-card--featured:hover {
    transform: translateY(-10px);
  }

  .why-choose__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 20px 38px;
    text-align: left;
  }

  .why-choose__brand img {
    width: min(40%, 130px);
  }

  .why-choose__heading h2 {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
  }

  .why-choose__actions {
    justify-content: flex-start;
  }

  .stand-videos {
    padding: 54px 18px 72px;
  }

  .stand-videos__header h2 {
    font-size: clamp(1.8rem, 7.4vw, 2.6rem);
  }

  .stand-videos__header p {
    font-size: 0.96rem;
  }

  .stand-videos__grid {
    gap: 12px;
  }

  .site-footer {
    min-height: auto;
    padding: 54px 22px 58px;
  }

  .site-footer__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .site-footer__contact-panel {
    min-height: auto;
    padding-left: 0;
  }

  .site-footer__contact-list {
    gap: 34px;
    margin-top: 44px;
  }

  .site-footer__social {
    margin-top: 36px;
  }

  .site-footer__address {
    margin-top: 42px;
  }

  .site-footer__form-panel {
    padding-top: 0;
  }

  .contact-screen {
    padding: 112px 20px 72px;
  }

  .about-screen {
    padding: 112px 20px 72px;
  }

  .about-screen__content {
    text-align: left;
  }

  .about-screen__content > p:not(.section-kicker) {
    margin-inline: 0;
    text-wrap: auto;
  }

  .about-screen h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .about-screen__actions {
    justify-content: flex-start;
    margin-top: 30px;
  }

  .contact-screen__header {
    text-align: left;
  }

  .contact-screen__header h1,
  .team-section h2,
  .location-section h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .contact-screen__header p:not(.section-kicker) {
    margin: 0;
  }

  .briefing-form,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .briefing-form {
    gap: 16px;
  }

  .team-section {
    text-align: left;
  }

  .team-card {
    min-height: auto;
  }

  .location-section {
    margin-top: 72px;
  }

  .location-section h2 {
    text-align: left;
  }

  .location-section__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .location-map {
    min-height: 360px;
  }

  .location-map__panel {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px;
  }

  .sac-form {
    gap: 14px;
    padding: 20px;
  }

  .sac-form__header {
    text-align: left;
  }

  .sac-form h3 {
    text-align: left;
  }

  .sac-form input,
  .sac-form select {
    min-height: 54px;
  }

  .sac-form textarea {
    min-height: 150px;
  }

  .sac-form__submit {
    width: 100%;
    min-height: 58px;
  }

  .services {
    scroll-margin-top: 114px;
  }

  .structure-contact {
    scroll-margin-top: 72px;
  }

  .structure-contact__inner {
    padding: 58px 20px 72px;
  }

  .structure-contact__header {
    margin-inline: 0;
    text-align: left;
  }

  .structure-contact__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .structure-contact__photo,
  .structure-contact__map {
    min-height: 330px;
  }

  .structure-contact__details {
    gap: 14px;
  }

  .structure-info {
    min-height: auto;
  }

  .partners {
    scroll-margin-top: 114px;
  }

  .portfolio {
    scroll-margin-top: 114px;
  }

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

  .service-card {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 128px;
  }

  .hero {
    min-height: 100svh;
    padding-inline: 18px;
    padding-bottom: 116px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero__subtitle {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero__actions {
    margin-top: 30px;
  }

  .button {
    width: min(100%, 288px);
  }

  .whatsapp {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .site-footer {
    padding: 44px 18px 52px;
  }

  .site-footer__brand img {
    width: min(82vw, 280px);
  }

  .site-footer__contact-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .site-footer__contact-icon,
  .site-footer__contact-icon svg {
    width: 56px;
    height: 56px;
  }

  .site-footer__contact-card h2 {
    font-size: clamp(1.58rem, 7vw, 1.9rem);
  }

  .site-footer__contact-card a {
    font-size: clamp(0.9rem, 3.8vw, 1rem);
  }

  .site-footer__form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer__form-wide {
    grid-column: auto;
  }

  .site-footer__submit {
    width: 100%;
    min-height: 60px;
  }

  .services__inner {
    padding: 56px 20px 72px;
  }

  .pillars__inner {
    padding: 56px 20px 72px;
  }

  .partners {
    padding: 48px 0 36px;
  }

  .partners__header {
    margin-bottom: 28px;
  }

  .partners__header h2 {
    font-size: clamp(1.6rem, 6.4vw, 2.2rem);
  }

  .partners__header h2 .partners__title-line {
    white-space: normal;
    display: inline;
  }

  .partners__header h2 br {
    display: none;
  }

  .portfolio {
    padding: 54px 0 64px;
  }

  .portfolio--screen {
    padding-top: 118px;
  }

  .portfolio-page__hero {
    min-height: 250px;
    padding-top: 96px;
  }

  .page-hero {
    min-height: 250px;
    padding-top: 96px;
  }

  .portfolio-page__grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 44px;
  }

  .portfolio-page__intro {
    text-align: left;
    text-wrap: auto;
  }

  .portfolio-page__load {
    width: min(100%, 320px);
    min-width: 0;
  }

  .route-screen {
    place-items: center start;
    padding: 118px 20px 78px;
  }

  .route-screen__content {
    text-align: left;
  }

  .route-screen__content > p:not(.section-kicker) {
    margin-inline: 0;
    text-wrap: auto;
  }

  .route-screen__actions {
    justify-content: flex-start;
    margin-top: 30px;
  }

  .portfolio__header {
    margin-bottom: 24px;
    text-align: left;
  }

  .portfolio__header h1,
  .portfolio__header h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .portfolio__header p:not(.section-kicker) {
    margin: 0;
    text-wrap: auto;
  }

  .portfolio__actions {
    justify-content: flex-start;
  }

  .portfolio__viewport {
    gap: 18px;
    padding: 16px 20px 34px;
    scroll-padding-inline: 20px;
  }

  .portfolio-card {
    flex-basis: min(82vw, 340px);
    transform: translateZ(0);
  }

  .portfolio-card:nth-child(even) {
    transform: translateZ(0);
  }

  .portfolio-card:hover,
  .portfolio-card:focus-within {
    transform: translateY(-5px) translateZ(0);
  }

  .portfolio-card__tags {
    max-width: 100%;
  }

  .portfolio-card__tags span {
    padding: 6px 9px;
    font-size: 0.64rem;
  }

  .portfolio__arrow {
    width: 42px;
    height: 42px;
  }

  .project-page__hero {
    min-height: 300px;
    padding: 80px 20px 20px;
  }

  .project-page__hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .project-page__hero p {
    text-wrap: auto;
  }

  .project-page__actions .button {
    width: min(100%, 320px);
  }

  .project-gallery {
    padding: 16px 20px 72px;
  }

  .project-gallery__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .project-gallery__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 18px;
  }

  .partners__track {

    gap: 28px;
    padding-inline: 20px;
    animation-duration: 34s;
  }

  .partners__row--reverse .partners__track {
    animation-duration: 40s;
  }

  .partners__track img {
    width: 136px;
    height: 76px;
  }

  .partners__row {
    padding-block: 6px;
  }

  .services__header {
    text-align: left;
  }

  .pillars::after {
    display: none;
  }

  .services__header p:not(.section-kicker) {
    text-wrap: auto;
  }
}

@media (max-width: 420px) {
  .partners__marquee {
    gap: 8px;
  }

  .partners__track {
    gap: 22px;
    animation-duration: 32s;
  }

  .partners__row--reverse .partners__track {
    animation-duration: 38s;
  }

  .partners__track img {
    width: 120px;
    height: 68px;
  }

  .portfolio__viewport {
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .portfolio-card {
    flex-basis: 84vw;
  }

  .portfolio__arrow--prev {
    left: 8px;
  }

  .portfolio__arrow--next {
    right: 8px;
  }
}

@media (hover: none) {
  .portfolio-card::after {
    opacity: 1;
  }

  .portfolio-card h3,
  .portfolio-card p,
  .portfolio-card strong {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .reveal {
    clip-path: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   MOBILE RESPONSIVENESS — PATCHES MOBILE-FIRST
   ============================================================ */

/* Fixed elements respect device safe areas (notches, gestures) */
.whatsapp {
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
}

/* iOS Safari zooms when input font-size < 16px — guarantee >= 16px */
@media (max-width: 860px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }

  /* Lighter blur on mobile for performance */
  .site-header::before,
  .main-nav,
  .why-choose__inner,
  .portfolio__arrow,
  .button--ghost,
  .stand-video__overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Long words / URLs don't blow the layout */
  h1,
  h2,
  h3,
  p,
  li,
  a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Header respects status bar / dynamic island */
  .site-header {
    padding-top: env(safe-area-inset-top);
    height: calc(76px + env(safe-area-inset-top));
  }

  .header-visible .site-header,
  .nav-open .site-header {
    height: calc(76px + env(safe-area-inset-top));
  }

  /* Mobile menu doesn't overflow the screen edges */
  .main-nav {
    right: max(16px, env(safe-area-inset-right));
    left: max(16px, env(safe-area-inset-left));
  }

  /* Form layout safety: never let inputs overflow grid columns */
  .site-footer__form,
  .briefing-form,
  .sac-form {
    min-width: 0;
  }

  .site-footer__form input,
  .site-footer__form textarea,
  .briefing-form input,
  .briefing-form select,
  .briefing-form textarea,
  .sac-form input,
  .sac-form select,
  .sac-form textarea {
    width: 100%;
    min-width: 0;
  }

  /* Bigger tap targets in legal nav at bottom of footer */
  .site-footer__legal a {
    padding: 6px 0;
  }

  /* Footer columns wrap nicely */
  .site-footer__bottom {
    justify-content: flex-start;
    text-align: left;
  }

  /* Image cards never overflow */
  .portfolio-card img,
  .stand-video video,
  .stand-video__media video {
    width: 100%;
  }
}

/* Phones in landscape and small phones: shrink hero / sections */
@media (max-width: 540px) {
  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .hero__subtitle {
    font-size: 0.98rem;
    margin-top: 18px;
  }

  .hero__eyebrow {
    font-size: 0.74rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .hero__actions .button {
    width: 100%;
  }

  .about__content {
    padding: 34px 18px 48px;
  }

  .pillars__inner,
  .services__inner,
  .stand-videos {
    padding-inline: 18px;
  }

  /* Page hero tighter on small screens */
  .page-hero {
    padding: 96px 18px 36px;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  /* Portfolio page hero */
  .portfolio-page__hero h1,
  .portfolio-page__hero {
    text-align: center;
  }

  .portfolio-page__content {
    padding: 36px 18px 60px;
  }

  /* Project page gallery tighter */
  .project-page__hero {
    min-height: 240px;
    padding: 78px 18px 18px;
  }

  /* Location map stacks gracefully */
  .location-map {
    min-height: 320px;
  }

  .location-map__panel {
    width: calc(100% - 16px);
    left: 8px;
    bottom: 8px;
    padding: 12px;
    font-size: 0.9rem;
  }

  /* SAC form */
  .sac-form {
    padding: 18px;
  }

  /* Legal pages tighter */
  .legal-page__inner {
    padding-inline: 18px;
  }

  /* Footer form labels tighter */
  .site-footer__form-panel h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  /* Stand videos wrap content */
  .stand-video__overlay {
    padding: 14px 16px;
  }

  .stand-video__overlay strong {
    font-size: 1rem;
  }

  /* WhatsApp button safer position */
  .whatsapp {
    width: 50px;
    height: 50px;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* Very small devices (older iPhones SE, small Android) */
@media (max-width: 380px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand img {
    width: 110px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero h1 {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .hero__subtitle {
    font-size: 0.94rem;
  }

  .button {
    min-width: 0;
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.92rem;
  }

  .site-footer {
    padding: 38px 14px 46px;
  }

  .site-footer__bottom {
    font-size: 0.78rem;
  }

  .portfolio-page__hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 11vw, 2.6rem);
  }

  .portfolio-card__content h3 {
    font-size: 1rem;
  }
}

/* Landscape on short screens (mobile horizontal): avoid hero pushing content too far */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: 100svh;
    padding-top: 88px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vh, 2.6rem);
  }

  .hero__subtitle {
    margin-top: 12px;
    font-size: 0.94rem;
  }

  .hero__actions {
    margin-top: 18px;
  }
}
