/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --red: #EB280F;

  --h3: clamp(32px, 2.5vw, 48px);
  --h4: clamp(24px, 1.875vw, 36px);
  --h5: clamp(20px, 1.458vw, 28px);
  --body1: clamp(16px, 1.042vw, 20px);
  --body2: clamp(14px, 0.938vw, 18px);
  --caption: clamp(12px, 0.729vw, 14px);
}

/* ── Reset ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  display: block;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: var(--body1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

/* ── Focus-visible: consistent red ring for keyboard nav ─── */
a:focus-visible,
button:focus-visible,
.pill:focus-visible,
.pill-sm:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(235, 40, 15, 0.2);
}

/* ── Layout helpers ──────────────────────────────────────── */
.wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8.33%, 160px);
}

/* ── Section Label ──────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: var(--red);
  flex-shrink: 0;
}

.label-center {
  display: flex;
  justify-content: center;
}

/* ── Pills / Buttons ──────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  border: 1px solid var(--white);
  border-radius: 10px;
  font-size: clamp(18px, 1.354vw, 26px);
  font-weight: 500;
  color: var(--white);
  background: rgba(10, 10, 10, 0.5);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pill-sm {
  font-size: var(--body2);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  background: rgba(10, 10, 10, 0.8);
}


/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: clamp(16px, 2.08vw, 40px) clamp(24px, 4.17%, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Logo: 320×181px in Figma at 1920px */
.logo-img {
  width: auto;
  height: clamp(80px, 9.43vw, 181px);
  transition: height 0.3s ease;
}

header.scrolled .logo-img {
  height: 67.96px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 50px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Desktop nav ─────────────────────────────────────────── */
@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: clamp(24px, 4.17%, 80px);
    z-index: 100;
    display: flex;
    align-items: center;
    height: calc(67.96px + 32px);
  }

  .nav-secondary,
  .nav-social,
  .nav-address {
    display: none;
  }
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: var(--body2);
  font-weight: 400;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-menu a.pill {
  opacity: 1;
  padding: 10px 24px;
}

/* ── Mobile nav overlay ──────────────────────────────────── */
@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10, 10, 10, 0.97);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(100px, 22vw, 180px) clamp(24px, 6vw, 80px) 80px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item-desktop {
    display: none;
  }

  .nav-primary {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 40px;
  }

  .nav-secondary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
  }

  .nav-menu a {
    font-size: 24px;
    line-height: 26px;
    font-weight: 300;
    opacity: 0.9;
  }

  .nav-menu a.pill {
    font-size: inherit;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
  }

  .nav-social {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
  }

  .nav-social a {
    color: var(--white);
    opacity: 0.75;
    text-decoration: none;
    transition: opacity 0.2s;
  }

  .nav-social a[aria-label="Instagram"] {
    font-size: 24px;
  }

  .nav-social a[aria-label="TikTok"] {
    font-size: 21px;
  }

  .nav-social a:hover {
    opacity: 1;
  }

  .nav-address {
    font-size: 10px;
    line-height: 15px;
    color: var(--white);
    font-style: normal;
  }

  .nav-address a {
    color: var(--white);
    font-size: 10px;
    opacity: 1;
    text-decoration: none;
  }
}


/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
#hero {
  height: 100vh;
  min-height: 680px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0) 18%),
    url('../assets/img/hero-image.jpg') center / cover no-repeat;
  opacity: 0;
  animation: heroFadeIn 2.25s ease-in forwards,
    kenBurns 15s ease-in-out forwards;
  will-change: transform;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
      rgba(10, 10, 10, 0) 30%,
      rgba(10, 10, 10, 0.65) 70%,
      rgba(10, 10, 10, 0.92) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1132px;
  padding: 0 24px;
  opacity: 0;
  animation: heroFadeIn 1.5s ease-in forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.25);
  }
}

.hero-headline {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
  margin-bottom: 52px;
}

.hero-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-pills .pill:last-child {
  background: rgba(10, 10, 10, 0.25);
}

.hero-sub {
  font-size: var(--body1);
  font-weight: 400;
  line-height: 27px;
  color: rgba(255, 255, 255, 0.65);
}


/* ══════════════════════════════════════════════════════════
   VALUES
══════════════════════════════════════════════════════════ */
#values {
  background: var(--black);
  padding: clamp(80px, 10.42vw, 200px) clamp(24px, 15.36%, 295px);
}

#values p {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
  text-align: center;
}


/* ══════════════════════════════════════════════════════════
   BENEFITS
══════════════════════════════════════════════════════════ */
#benefits {
  background: var(--black);
  padding: clamp(64px, 8.33vw, 160px) 0 clamp(64px, 8.33vw, 160px);
}

.benefits-head {
  text-align: center;
  margin-bottom: clamp(48px, 5vw, 96px);
  padding: 0 clamp(24px, 8.33%, 160px);
}

.benefits-head .label {
  margin-bottom: 28px;
}

.benefits-head h2 {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 clamp(24px, 8.33%, 160px);
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  position: relative;
  background: var(--black);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.benefit-card:hover {
  border-color: rgba(235, 40, 15, 0.6);
}

.benefit-card:hover .benifit-card-image-container {
  transform: translate(-50%, -50%) scale(1.1);
}

.benifit-card-image-container {
  position: relative;
  left: 50%;
  margin-top: 120px;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.benefit-card img {
  height: auto;
  width: 100%;
}

.benefit-card-text {
  position: relative;
  margin-top: -60px;
  left: 0;
  right: 0;
}

.benefit-card h3 {
  font-size: var(--h4);
  line-height: 1.444;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: var(--h5);
  line-height: 1.35;
  font-weight: 400;
}

.benefits-cta {
  text-align: center;
  margin-top: clamp(48px, 5vw, 96px);
  padding: 0 24px;
}


/* ══════════════════════════════════════════════════════════
   REFERENCES
══════════════════════════════════════════════════════════ */
#references {
  background: var(--black);
  padding: clamp(64px, 8.33vw, 160px) clamp(24px, 4.17%, 80px);
}

.references-head {
  text-align: center;
  margin-bottom: clamp(48px, 5vw, 96px);
}

.references-head .label {
  margin-bottom: 28px;
}

.references-head h2 {
  font-size: clamp(28px, 3.33vw, 64px);
  font-weight: 700;
  line-height: 1.333;
}

.logos-slider {
  margin: 0 clamp(48px, 8.33%, 160px);
}

.logos-slider .slick-track {
  display: flex;
  align-items: center;
}

.logos-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 3vw, 56px);
  box-sizing: border-box;
  overflow: hidden;
}

.logos-slide img {
  height: 85px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.logos-slide img.logo-tall {
  height: 125px;
}

.logos-slide img.logo-wide {
  height: 85px;
  max-width: 80%;
}

@media (max-width: 599px) {

  .logos-slide img,
  .logos-slide img.logo-tall,
  .logos-slide img.logo-wide {
    height: 60px;
    max-width: 100%;
  }
}

/* Slick dots */
.logos-slider .slick-dots {
  position: static;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin-top: clamp(32px, 4.17vw, 64px);
  list-style: none;
}

.logos-slider .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.logos-slider .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.logos-slider .slick-dots li button::before {
  display: none;
}

.logos-slider .slick-dots li.slick-active button {
  width: 28px;
  height: 10px;
  border-radius: 50px;
  background: var(--white);
  border-color: var(--white);
}


/* ══════════════════════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════════════════════ */
#projects {
  padding-top: clamp(64px, 8.33vw, 160px);
}

.projects-head {
  text-align: center;
  padding: 0 clamp(24px, 4.17%, 80px);
  margin-bottom: clamp(40px, 4.17vw, 80px);
}

.projects-head .label {
  margin-bottom: 28px;
}

.projects-head h2 {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
  margin-bottom: 20px;
}

.projects-stage {
  position: relative;
  height: clamp(420px, 46.875vw, 900px);
  overflow: hidden;
}

/* ── Main horizontal track ── */
.projects-track {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 400%;
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-category {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* ── Inner fade slides ── */
.inner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.inner-slide.is-active {
  opacity: 1;
}

.projects-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 111%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  margin-top: -5%;
  display: block;
}

.projects-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.55) 0%,
      rgba(10, 10, 10, 0.3) 50%,
      rgba(10, 10, 10, 0.75) 100%);
}

/* ── Bottom UI overlay (quote + pills + progress) ── */
.projects-ui-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 clamp(24px, 4.17%, 80px);
  z-index: 10;
  pointer-events: none;
}

.projects-intro {
  font-size: var(--body1);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.projects-quote {
  font-size: clamp(14px, 1.042vw, 20px);
  line-height: 1.9;
  transition: opacity 0.35s ease;
  margin-bottom: 16px;
}

.projects-quote .qt-title {
  font-weight: 700;
}

/* ── Pills ── */
.projects-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: clamp(24px, 3.125vw, 60px);
  pointer-events: auto;
}

.projects-pills .pill-sm {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.projects-pills .pill-sm.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.projects-pills .pill-sm:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* ── Progress bar ── */
.projects-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  margin-left: calc(-1 * clamp(24px, 4.17%, 80px));
  margin-right: calc(-1 * clamp(24px, 4.17%, 80px));
}

.projects-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--white);
}

@keyframes projects-progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.projects-progress-fill.is-animating {
  animation: projects-progress 24s linear forwards;
}


/* ── Projects: desktop/mobile visibility toggle ─────────── */
/* ── Mobile: align content padding with logo (6%) ───────── */
@media (max-width: 767px) {
  header {
    padding-right: 16px;
  }

  .wrap,
  .benefits-head,
  .benefits-grid,
  .services-head,
  .service-row {
    padding-left: 6%;
    padding-right: 6%;
  }

  .logos-slider {
    margin-left: 6%;
    margin-right: 6%;
  }
}

/* ── Mobile project sliders ─────────────────────────────── */
.projects-mobile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 767px) {
  .projects-desktop {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .projects-mobile {
    display: none !important;
  }
}

.mob-proj-wrap {
  position: relative;
}

.mob-proj-slide {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.mob-proj-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mob-proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 10, 10, 0.75) 0%,
      rgba(10, 10, 10, 0.1) 55%,
      rgba(10, 10, 10, 0.4) 100%);
}

.mob-proj-pill {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: var(--body2);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(10, 10, 10, 0.5);
  white-space: nowrap;
  transition: background 0.5s, border-color 0.5s, color 0.5s;
  pointer-events: none;
}

.mob-proj-pill.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.mob-proj-title {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 16px;
  font-size: clamp(14px, 3.5vw, 18px);
  font-weight: 700;
  color: var(--white);
  z-index: 5;
  line-height: 1.3;
  margin: 0;
}

.projects-mobile .slick-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 10;
}

.projects-mobile .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.projects-mobile .slick-dots li button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.projects-mobile .slick-dots li button::before {
  display: none;
}

.projects-mobile .slick-dots li.slick-active button {
  width: 22px;
  border-radius: 50px;
  background: var(--white);
  border-color: var(--white);
}


/* ══════════════════════════════════════════════════════════
   FEEDBACK
══════════════════════════════════════════════════════════ */
#feedback {
  background: var(--black);
  padding: clamp(64px, 8.33vw, 160px) clamp(24px, 4.17%, 80px);
  margin-top: clamp(64px, 8.33vw, 160px);
}


.testimonial-slider {
  margin-bottom: clamp(48px, 5vw, 96px);
}

.testimonial {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

.testimonial .label {
  margin-bottom: 28px;
}

.testimonial blockquote {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
  font-style: normal;
}

.testimonial-author {
  margin-top: 32px;
  font-size: var(--body2);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

/* Slick dots for testimonial slider */
.testimonial-slider .slick-dots {
  position: static;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin-top: clamp(32px, 4.17vw, 64px);
  list-style: none;
}

.testimonial-slider .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.testimonial-slider .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.testimonial-slider .slick-dots li button::before {
  display: none;
}

.testimonial-slider .slick-dots li.slick-active button {
  width: 28px;
  height: 10px;
  border-radius: 50px;
  background: var(--white);
  border-color: var(--white);
}

.feedback-cta {
  text-align: center;
  margin-top: clamp(48px, 5vw, 96px);
}


/* ══════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════ */
#services {
  background: var(--black);
  padding: clamp(64px, 8.33vw, 160px) 0;
}

.services-head {
  text-align: center;
  padding: 0 clamp(24px, 8.33%, 160px);
  margin-bottom: clamp(48px, 5vw, 96px);
}

.services-head .label {
  margin-bottom: 28px;
}

.services-head h2 {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
  margin-bottom: 24px;
}

.services-intro {
  font-size: var(--body1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 820px;
  margin: 0 auto;
}

.service-row.reverse .svc-img {
  order: -1;
}

.service-row.reverse .svc-txt {
  order: 1;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  padding: 0 clamp(24px, 15.42%, 296px);
  gap: 49px;
}

.service-row+.service-row {
  margin-top: clamp(32px, 2.5vw, 48px);
}


.svc-img {
  aspect-ratio: 517 / 388;
  overflow: hidden;
  border-radius: 2px;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 2.08vw, 40px) 0;
}

.svc-txt h3 {
  font-size: var(--h5);
  font-weight: 700;
  line-height: 1.333;
  margin-bottom: 24px;
}

.svc-txt p {
  font-size: var(--body1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 767px) {
  .service-row {
    padding-left: 6%;
    padding-right: 6%;
  }
}

@media (min-width: 1024px) {
  .service-row {
    grid-template-columns: 517fr 652fr;
  }

  .service-row.reverse {
    grid-template-columns: 652fr 517fr;
  }

  .service-row.reverse .svc-img {
    order: 2;
  }

  .service-row.reverse .svc-txt {
    order: 1;
  }
}

.service-row,
.projects-stage,
#values p {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-row.is-visible,
.projects-stage.is-visible,
#values p.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services-cta {
  text-align: center;
  margin-top: clamp(48px, 5vw, 96px);
  padding: 0 24px;
}


/* ══════════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════════ */
#process {
  background: var(--black);
  padding: clamp(64px, 8.33vw, 160px) clamp(24px, 4.17%, 80px);
}

.process-head {
  text-align: center;
  margin-bottom: clamp(48px, 5vw, 96px);
}

.process-head .label {
  margin-bottom: 28px;
}

.process-head h2 {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
  margin-bottom: 24px;
}

.process-intro {
  font-size: var(--body1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 820px;
  margin: 0 auto;
}

.process-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1380px;
  margin: 0 auto;
}

/* Line runs as a vertical stripe down the center */
.process-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 5px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.2);
}

/* Steps 1, 3, 5 → left half  (nth-child 2, 4, 6 because .process-line is child 1) */
.process-step:nth-child(even) {
  align-self: flex-start;
  width: 50%;
}

/* Steps 2, 4, 6 → right half (nth-child 3, 5, 7) */
.process-step:nth-child(odd) {
  align-self: flex-end;
  width: 50%;
}

.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--white);
}

.playhead {
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--red);
  margin-left: -7px;
  z-index: 2;
}


.process-step {
  display: flex;
  gap: 24px;
  padding: clamp(32px, 3.125vw, 60px) clamp(16px, 4.17vw, 80px);
  min-height: clamp(200px, 27.6vw, 530px);
}

.step-num {
  width: clamp(60px, 5.21vw, 100px);
  height: clamp(60px, 5.21vw, 100px);
  border: 1.5px solid var(--white);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(36px, 3.75vw, 72px);
  font-weight: 800;
  flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, background;
}

.step-num.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(-7deg);
}

.step-body {
  padding-top: 8px;
}

.step-body h3 {
  font-size: var(--h5);
  font-weight: 700;
  line-height: 1.333;
  margin-bottom: 12px;
}

.step-body p {
  font-size: var(--body1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.process-cta {
  text-align: center;
  margin-top: clamp(48px, 5vw, 96px);
}

@media (max-width: 767px) {

  /* Switch to 2-col grid: thin line on left, steps on right */
  .process-grid {
    display: grid;
    grid-template-columns: 4px 1fr;
  }

  .process-line {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: auto;
    grid-column: 1;
    grid-row: 1 / span 6;
  }

  /* All steps flow into col 2, DOM order 1–6 */
  .process-step:nth-child(n) {
    width: auto;
    align-self: auto;
    grid-column: 2;
    grid-row: auto;
    margin-top: 0 !important;
    padding-top: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(24px, 4vw, 48px);
    min-height: unset;
  }
}


/* ══════════════════════════════════════════════════════════
   TIPS
══════════════════════════════════════════════════════════ */
#tips {
  background: var(--black);
  padding: clamp(64px, 8.33vw, 160px) clamp(24px, 4.17%, 80px);
}

#tips h2 {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
  margin-bottom: clamp(48px, 5vw, 96px);
  text-align: center;
}

.tips-list {
  max-width: 1261px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tips-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.tips-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.tips-item p {
  font-size: var(--body1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 8px;
}


/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
#contact {
  background: var(--black);
  padding: clamp(64px, 8.33vw, 160px) clamp(24px, 4.17%, 80px);
}

.contact-head {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(48px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-head .label {
  margin-bottom: 28px;
}

.contact-head h2 {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.333;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr clamp(280px, 34.02vw, 653px);
  gap: clamp(48px, 8.33vw, 160px);
  align-items: start;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--body1);
  font-weight: 400;
  line-height: 27px;
}

.field input,
.field textarea {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: var(--body2);
  line-height: 1.5;
  padding: 12px 16px;
  height: 50px;
  transition: border-color 0.2s;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 255, 255, 0.8);
}

.field textarea {
  height: 300px;
  resize: vertical;
}

.form-privacy {
  font-size: var(--caption);
  line-height: 1.333;
  color: rgba(255, 255, 255, 0.55);
  margin: 24px 0 28px;
  max-width: 436px;
}

.aside-photo {
  width: 100%;
  aspect-ratio: 653 / 744;
  overflow: hidden;
  border-radius: 2px;
}

.aside-photo img {
  width: 162.52%;
  height: 142.72%;
  max-width: none;
  object-fit: cover;
  margin-left: -38.14%;
  margin-top: -0.93%;
  filter: grayscale(100%);
}

.aside-name {
  font-size: var(--body1);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 24px;
}

.aside-name span {
  display: block;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}

.contact-note {
  margin-top: 32px;
  font-size: var(--body2);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    display: none;
  }
}

@media (max-width: 767px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(40px, 4.17vw, 80px) clamp(24px, 4.17%, 80px);
}

.footer-text {
  font-size: var(--body2);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer-text a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

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

/* ── Fixed CTA corner ────────────────────────────────── */
.cta-fixed {
  position: fixed;
  bottom: -28px;
  right: -28px;
  width: 196px;
  height: 196px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: ctaSlideIn 0.35s 3.5s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}

.cta-fixed span {
  display: block;
  transform: rotate(7deg) translate(-10px, -10px);
  font-size: 24px;
  font-weight: 400;
  text-align: left;
}

@keyframes ctaSlideIn {
  0% {
    transform: rotate(-7deg) translate(220px, 220px);
  }

  100% {
    transform: rotate(-7deg) translate(0, 0);
  }
}

@keyframes ctaSlideOut {
  0% {
    transform: rotate(-7deg) translate(0, 0);
  }

  40% {
    transform: rotate(-7deg) translate(-12px, -12px);
  }

  100% {
    transform: rotate(-7deg) translate(260px, 260px);
  }
}

.cta-fixed.is-leaving {
  animation: ctaSlideOut 0.45s ease-in forwards;
  pointer-events: none;
}

.cta-fixed.is-entering {
  animation: ctaSlideIn 0.35s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}

@media (max-width: 767px) {
  .cta-fixed {
    display: none;
  }
}

/* ── Mobile full-width CTA bar ──────────────────────────── */
.cta-mobile {
  display: none;
}

@media (max-width: 767px) {
  .cta-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    gap: 0.25em;
    z-index: 200;
  }

  .cta-mobile.is-leaving {
    animation: ctaMobileOut 0.35s ease-in forwards;
    pointer-events: none;
  }

  .cta-mobile.is-entering {
    animation: ctaMobileIn 0.4s cubic-bezier(0.22, 1.4, 0.36, 1) both;
  }
}

@keyframes ctaMobileIn {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes ctaMobileOut {
  0% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(100%);
  }
}