:root {
  --color-bg: #080808;
  --color-surface: #111111;
  --color-surface-2: #171717;
  --color-text: #f5f5f2;
  --color-muted: #a4a4a0;
  --color-line: rgba(255, 255, 255, 0.10);
  --color-accent: #ffb900;
  --color-accent-strong: #ffca2b;
  --color-dark: #080808;

  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --container: 1180px;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-accent: 0 0 40px rgba(255, 185, 0, 0.10);
  --transition: 180ms ease;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

::selection {
  background: var(--color-accent);
  color: var(--color-dark);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 16px;
  padding: 10px 14px;
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.line-divisor{
  border: 1px solid var(--color-accent);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  border-bottom: 1px solid var(--color-line);
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
}

.nav-toggle {
  display: inline-grid;
  gap: 4px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 72px 0 auto;
  display: none;
  flex-direction: column;
  padding: 20px 16px 28px;
  border-bottom: 1px solid var(--color-line);
  background: rgba(8, 8, 8, 0.98);
}

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

.main-nav > a:not(.nav-cta) {
  padding: 15px 0;
  color: #d8d8d4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.main-nav > a:not(.nav-cta):hover {
  color: var(--color-accent);
}

.nav-cta {
  display: inline-flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  padding: 13px 18px;
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  isolation: isolate;
  background:
    url("../assets/bg-hero.png") center center / cover no-repeat;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.5) 0.5px,
    transparent 0.5px
  );
  background-size: 4px 4px;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(
      rgba(255, 185, 0, 0.10) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 185, 0, 0.10) 1px,
      transparent 1px
    );
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  width: max-content;
  border-radius: 10px;
  border: 1px solid;
  font-weight: bold;
  background-color: var(--color-dark);
  padding: 5px;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: currentColor;
}

.hero h1,
.section h2,
.impact h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.90;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(56px, 15vw, 128px);
}

.hero h1 em,
.section h2 em,
.impact h2 em,
.contact h2 em {
  color: var(--color-accent);
  font-style: normal;
}

.hero-text {
  max-width: 500px;
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--color-text);
  backdrop-filter: blur(1px);
  font-weight: bold;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-side {
  position: absolute;
  top: 50%;
  right: 0;
  display: none;
  align-items: center;
  gap: 12px;
  color: #666;
  font-size: 9px;
  letter-spacing: 0.2em;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.hero-side div {
  width: 90px;
  height: 1px;
  background: #444;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn-primary:hover {
  background: var(--color-accent-strong);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.16);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ==========================================================================
   GENERAL SECTIONS
   ========================================================================== */

.section {
  padding: 82px 0;
}

.section-heading {
  margin-bottom: 20px;
  text-align: center;
  justify-items: center;
}

.section-heading.split {
  display: grid;
  gap: 20px;
}

.section-heading.centered {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section-heading.centered .eyebrow span {
  margin: 0;
}

.section h2,
.contact h2 {
  font-size: clamp(48px, 12vw, 86px);
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--color-text);
  font-size: 13px;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    var(--color-bg);
  background-size: 100% 80px;
}

.services-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.services-content {
  width: 100%;
}

.services-description {
  max-width: 600px;
  margin-top: 24px !important;
  color: var(--color-text);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 32px;
}

.service-card {
  position: relative;
  height: 190px;
  min-height: auto;
  padding: 18px 14px;
  overflow: hidden;
  background: var(--color-surface);
  transition:
    transform var(--transition),
    background var(--transition);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 185, 0, 0.20);
  transform: rotate(45deg);
}

.service-card:hover {
  background: var(--color-surface-2);
  transform: translateY(-3px);
}

.service-card-featured {
  background: linear-gradient(145deg, #17130a, #111);
}

.service-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 185, 0, 0.35);
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 700;
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-card p {
  margin: 8px 0 0;
  color: #888;
  font-size: 11px;
  line-height: 1.4;
}

.service-card a {
  color: var(--color-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card a span {
  margin-left: 8px;
}

/* ==========================================================================
   SERVICES MEDIA
   ========================================================================== */

.services-media {
  position: relative;
  width: 100%;
  min-height: 280px;
}

.services-media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 500px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 176, 0, 0.25);
  background: #080808;
}

.services-media-wrapper::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid rgba(255, 176, 0, 0.5);
  transform: translate(10px, 10px);
}

#services-media-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 500px;
}

#services-media-content video,
#services-media-content img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

#services-media-content video.is-active,
#services-media-content img.is-active {
  opacity: 1;
}

.services-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.05) 60%,
      rgba(0, 0, 0, 0.45) 100%
    );
  mix-blend-mode: multiply;
}

.media-label {
  position: absolute;
  z-index: 3;
  left: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.media-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb000;
  box-shadow: 0 0 10px #ffb000;
}

/* ==========================================================================
   IMPACT
   ========================================================================== */

.impact {
  position: relative;
  padding: 58px 0;
  border-block: 1px solid rgba(255, 185, 0, 0.20);
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.96),
      rgba(8, 8, 8, 0.50)
    ),
    url("../assets/trator.png") 70% 42% / cover no-repeat;
}

.impact-inner {
  display: grid;
  gap: 28px;
}

.impact h2 {
  font-size: clamp(38px, 9vw, 72px);
}

/* ==========================================================================
   CLIENTS / PARTNERS CAROUSEL
   ========================================================================== */

.clients {
  background: #0c0c0c;
}

.partners-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 42px;
  overflow: hidden;
  isolation: isolate;
}

.partners-track {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 12px;
  animation: partners-scroll 28s linear infinite;
  will-change: transform;
}

.partner {
  width: 180px;
  height: 110px;
  flex: 0 0 180px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--color-line);
  background: #ddd;
  transition:
    border-color var(--transition),
    transform var(--transition);
}

.partner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 135px;
  max-height: 80px;
  object-fit: contain;
  transition:
    filter var(--transition),
    opacity var(--transition),
    transform var(--transition);
}

.partner:hover {
  border-color: rgba(255, 185, 0, 0.35);
}

.partner:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes partners-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 6px), 0, 0);
  }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  background: url("../assets/bg-about.png") 70% 42% / cover no-repeat;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-info {
  display: flex;
  flex-direction: column;
}

.about-logo {
  height: 100px;
  width: 200px;
  margin-bottom: 8px;
}

.about-lead {
  text-align: justify;
  margin: 22px 0 14px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

.about-text {
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   ABOUT - PILLARS
   ========================================================================== */

.about-pillars {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 185, 0, 0.35);
  background: var(--color-bg);
  color: var(--color-accent);
  font-size: 18px;
}

.pillar-item strong {
  display: block;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar-item small {
  display: block;
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.4;
}

.about-actions {
  margin-top: 8px;
}

/* ==========================================================================
   ABOUT - FEATURED CARD
   ========================================================================== */

.about-visual {
  position: relative;
  width: 100%;
}

.about-card-featured {
  position: relative;
  padding: 32px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 185, 0, 0.3);
  background: linear-gradient(145deg, #17130a, #0d0d0d);
  box-shadow: var(--shadow-accent);
}

.about-card-featured::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 185, 0, 0.15);
  transform: rotate(45deg);
  pointer-events: none;
}

.about-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 16px;
  border: 1px solid var(--color-accent);
  background: rgba(255, 185, 0, 0.12);
  color: var(--color-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-card-featured h3 {
  margin: 0 0 12px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.about-card-featured p {
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.about-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.counter-item {
  display: flex;
  flex-direction: column;
}

.counter-number {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.counter-item small {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
  border-top: 1px solid var(--color-line);
}

.contact-grid {
  display: grid;
  gap: 46px;
}

.contact-info > p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 30px;
  color: #999;
  font-size: 13px;
}

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

.contact-list > a,
.contact-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-symbol {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 185, 0, 0.28);
  color: var(--color-accent);
  font-weight: 700;
}

.contact-list span:not(.contact-symbol) {
  display: grid;
}

.contact-list small {
  color: #686864;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list strong {
  margin-top: 2px;
  color: #ddd;
  font-size: 11px;
  font-weight: 500;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form {
  padding: 22px;
  border: 1px solid var(--color-line);
  background: #101010;
  box-shadow: var(--shadow-accent);
}

#contact-title {
  padding-bottom: 30px;
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--color-line);
}

.form-head span {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.form-head small {
  align-self: center;
  color: #666;
  font-size: 9px;
  text-align: right;
}

.form-row {
  display: grid;
  gap: 0;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #999;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 6px 5px;
  border: 1px solid #272727;
  border-radius: 0;
  outline: none;
  background: #0b0b0b;
  color: var(--color-text);
  font-size: 10px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #4d4d49;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 185, 0, 0.60);
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: flex-start;
  gap: 9px !important;
  color: #666 !important;
  font-size: 8px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.consent input {
  width: 14px;
  height: 14px;
  accent-color: var(--color-accent);
}

.consent a {
  color: #aaa;
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--color-accent);
  font-size: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

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

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding: 54px 0 38px;
}

.footer-brand p {
  max-width: 270px;
  color: var(--color-text);
  font-size: 10px;
}

.footer-column {
  display: grid;
  justify-content: left;
  align-content: start;
  gap: 8px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: var(--color-text);
  font-size: 10px;
}

.footer-column a:hover {
  color: #ddd;
}

.footer-bottom {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 8px;
  text-align: center;
}

.footer-bottom a {
  color: var(--color-accent);
}

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

/* ==========================================================================
   MAP
   ========================================================================== */

.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

/* ==========================================================================
   PRIVACY PAGE
   ========================================================================== */

.privacy-page {
  min-height: 100vh;
  padding-top: 110px;
  background: #0a0a0a;
}

.privacy-header {
  padding: 50px 0 36px;
  border-bottom: 1px solid var(--color-line);
}

.privacy-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 11vw, 88px);
  line-height: 0.9;
  text-transform: uppercase;
}

.privacy-header h1 em {
  color: var(--color-accent);
  font-style: normal;
}

.privacy-header p {
  max-width: 700px;
  color: var(--color-text);
  font-size: 13px;
}

.privacy-content {
  max-width: 850px;
  padding: 50px 0 90px;
}

.privacy-content h2 {
  margin: 42px 0 12px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 30px;
  text-transform: uppercase;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p,
.privacy-content li {
  color: var(--color-text);
  font-size: 13px;
}

.privacy-content ul {
  padding-left: 20px;
}

.privacy-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* feedback */
.reviews {
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
}

.reviews-carousel {
  --fade: 60px;
  position: relative;
  width: 100%;
  margin-top: 42px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 var(--fade),
    #000 calc(100% - var(--fade)),
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 var(--fade),
    #000 calc(100% - var(--fade)),
    transparent
  );
}

.reviews-track {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 20px;
  will-change: transform;
}

.reviews-track.is-animated {
  animation: reviews-scroll var(--reviews-duration, 60s) linear infinite;
}

.reviews-carousel:hover .reviews-track,
.reviews-carousel:focus-within .reviews-track,
.reviews-carousel.is-paused .reviews-track {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--reviews-distance, 50%)), 0, 0);
  }
}

.review-card {
  width: 260px;
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
}

.review-stars {
  color: var(--color-accent);
  font-size: 15px;
  letter-spacing: 3px;
}

.review-text {
  margin: 0;
  flex-grow: 1;
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

.review-author strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.review-author small {
  display: block;
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (min-width: 600px) {
  .review-card {
    width: 300px;
    flex-basis: 300px;
  }
}

@media (min-width: 900px) {
  .reviews-carousel {
    --fade: 100px;
  }

  .review-card {
    width: 320px;
    flex-basis: 320px;
    padding: 26px;
  }

  .review-text {
    font-size: 14px;
  }
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (min-width: 600px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

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

  .footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   TABLET / MOBILE MAP
   ========================================================================== */

@media (max-width: 768px) {
  .map-container {
    padding: 0 16px;
  }

  .about {
    background: url("../assets/bg-mobile-about.png") 70% 42% / cover no-repeat;
  }
}

/* ==========================================================================
   DESKTOP
   ========================================================================== */

@media (min-width: 900px) {
  .nav-wrap {
    min-height: 80px;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .main-nav > a:not(.nav-cta) {
    padding: 0;
    font-size: 9px;
  }

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

  .hero-inner {
    min-height: 700px;
    padding-top: 100px;
  }

  .hero-side {
    display: flex;
  }

  .section {
    padding: 120px 0;
  }

  .section-heading.split {
    grid-template-columns: 1fr 0.7fr;
    align-items: end;
  }

  .services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .service-card {
    min-height: 250px;
    padding: 24px;
  }

  .service-card h3 {
    font-size: 27px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    font-size: 21px;
  }

  .service-card p {
    margin: 12px 0 22px;
  }

  .services-media {
    height: 100%;
    min-height: 100%;
    align-content: center;
  }

  .services-media-wrapper {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .impact-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 100px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .contact-form {
    padding: 32px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
  }

  .partner {
    width: 210px;
    height: 125px;
    flex-basis: 210px;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: center;
  }

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

  .about-card-featured {
    padding: 40px 32px;
  }

  .about-card-featured h3 {
    font-size: 34px;
  }

  .counter-number {
    font-size: 42px;
  }
}

/* ==========================================================================
   LARGE DESKTOP
   ========================================================================== */

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 132px;
  }

  .hero-text {
    font-size: 15px;
  }

  .service-card {
    padding: 34px;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .partners-track {
    animation: none;
  }
}