/* ============================================
   Revor — Creative Marketing Agency
   ============================================ */

:root {
  --purple: #6200EE;
  --purple-light: #7B3FFF;
  --purple-pale: #F0E8FF;
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --gray-900: #1F1F1F;
  --gray-700: #4A4A4A;
  --gray-500: #8A8A8A;
  --gray-300: #D4D4D4;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 50px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1680px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.text-purple { color: var(--purple); }

/* ---- Typography ---- */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-title--center {
  text-align: center;
  margin-bottom: 60px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: capitalize;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  padding: 6px 6px 6px 32px;
  gap: 20px;
}

.btn--primary .btn__arrow {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.btn--primary:hover .btn__arrow {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(2px);
}

.btn--primary:hover {
  background: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(98, 0, 238, 0.3);
}

.btn--purple {
  background: var(--purple) !important;
  color: var(--white);
  padding: 6px 6px 6px 28px;
  gap: 18px;
}

.btn--purple .btn__arrow {
  background: rgba(0, 0, 0, 0.22);
}

.btn--purple:hover {
  background: var(--purple-light) !important;
  box-shadow: 0 8px 28px rgba(98, 0, 238, 0.4);
}

.btn--talk {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-300);
  padding: 5px 5px 5px 22px;
  gap: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.btn--talk:hover {
  border-color: rgba(98, 0, 238, 0.35);
  box-shadow: 0 2px 14px rgba(98, 0, 238, 0.1);
}

.btn--talk .btn__arrow {
  width: 34px;
  height: 34px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn--talk:hover .btn__arrow {
  transform: translate(2px, -2px);
}

.btn--ghost {
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  gap: 12px;
  transition: color var(--transition);
}

.btn--showreel:hover {
  color: var(--purple);
}

.play-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  background: var(--purple-pale);
  box-shadow: 0 0 0 0 rgba(98, 0, 238, 0.25);
  transition: all 0.4s var(--ease-out);
  animation: playPulse 2.5s ease-in-out infinite;
}

.btn--showreel:hover .play-icon {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  box-shadow: 0 0 24px rgba(98, 0, 238, 0.45);
  animation: none;
  transform: scale(1.06);
}

@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(98, 0, 238, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(98, 0, 238, 0); }
}

.btn__arrow {
  display: flex;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  transition: gap var(--transition);
}

.link-arrow:hover { gap: 14px; color: var(--purple); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--purple-light); }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-color: var(--gray-300);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__icon {
  display: flex;
  flex-shrink: 0;
}

.logo__icon svg {
  display: block;
}

.logo__text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  text-transform: lowercase;
}

.logo__img {
  height: 36px;
  width: auto;
}

.header .logo__img {
  height: 150px;
  width: auto;
  position: relative;
  right: 41px;
  border-radius: 0;
}

.logo--footer .logo__img {
  height: 32px;
  margin-bottom: 20px;
}

.nav__list {
  display: flex;
  gap: 36px;
}

.nav__link {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: capitalize;
  color: var(--black);
  position: relative;
  padding-bottom: 14px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav__link:hover { color: var(--purple); }

.nav__link--active {
  color: var(--purple);
}

.nav__link--active::after {
  opacity: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--header-h) 0 0;
}

.hero__wrapper {
  width: 100%;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: 100%;
  position: relative;
  padding-bottom: 48px;
}

.hero__title {
  font-size: clamp(2.8rem, 5.8vw, 8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__desc {
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  max-width: 602px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__desc__footer {
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  color: var(--white);
  max-width: 602px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 130px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: clamp(420px, 52vw, 640px);
}

.hero__image {
  width: clamp(320px, 35vw, 770px);
  height: auto;
  max-height: clamp(409px, 64vw, 837px);
  object-fit: contain;
  object-position: center right;
  position: relative;
  right: 22%;
  z-index: 1;
  filter: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.1s linear;
}

.scroll-indicator {
  position: absolute;
  bottom: 5%;
  left: 0;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  z-index: 2;
  opacity: 0;
  animation: fadeInScroll 0.8s var(--ease-out) 1.2s forwards;
  transition: opacity 0.4s ease;
}

@keyframes fadeInScroll {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator__mouse {
  width: 26px;
  height: 40px;
  border: 1.5px solid rgba(98, 0, 238, 0.35);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(98, 0, 238, 0.08);
}

.scroll-indicator__arrow {
  color: var(--purple);
  animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.4; transform: translateY(6px); }
}

/* ---- Brands ---- */
.brands {
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  overflow: hidden;
}

.brands__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 36px;
}

.brands__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}

.brand-logo {
  display: block;
  height: clamp(28px, 3.2vw, 44px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--transition), transform var(--transition);
  object-fit: contain;
}

.brand-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ---- Services ---- */
.services {
  padding: clamp(80px, 10vw, 120px) 0;
}

.section-header {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  margin-bottom: clamp(48px, 6vw, 72px);
  align-items: end;
}

.section-header__desc {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-300);
}

.service-card {
  padding: 40px 32px;
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  position: relative;
  transition: background var(--transition), transform 0.5s var(--ease-out);
}

.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-child(n+4) { border-bottom: none; }

.service-card:hover {
  background: var(--gray-100);
  transform: translateY(-4px);
}

.service-card__icon {
  color: var(--purple);
  margin-bottom: 24px;
}

.service-card__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-card__link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all var(--transition);
}

.service-card__link:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---- Work ---- */
.work {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--gray-100);
}

.work__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.project-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out);
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 6px;
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.project-card__btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all var(--transition);
}

.project-card__btn:hover {
  background: var(--purple);
  color: var(--white);
}

/* ---- About ---- */
.about {
  padding: 100px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about__desc {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 20px 0 28px;
  max-width: 480px;
}

.about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: grayscale(100%);
  transition: filter var(--transition);
}

.about__image:hover img { filter: grayscale(0%); }

/* ---- Stats ---- */
.stats {
  padding: 80px 0;
  background: var(--dark);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}

.stat__suffix {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--purple);
}

.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}

/* ---- Process ---- */
.process {
  padding: clamp(80px, 10vw, 120px) 0;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process__line {
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  border-top: 2px dotted var(--gray-300);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--purple);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
}

.process-step__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.process-step__desc {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ---- Insights ---- */
.insights {
  padding: 100px 0;
  background: var(--gray-100);
}

.insights__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.insight-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.insight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.insight-card__body {
  padding: 24px;
}

.insight-card__body time {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.insight-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.4;
  transition: color var(--transition);
}

.insight-card:hover h3 { color: var(--purple); }

/* ---- Newsletter ---- */
.newsletter {
  padding: 0 0 100px;
  background: var(--gray-100);
}

.newsletter__inner {
  background: var(--purple);
  border-radius: var(--radius-sm);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter__content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.newsletter__content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.newsletter__form {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 340px;
  flex: 1;
  max-width: 440px;
}

.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 20px;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
}

.newsletter__form input::placeholder { color: rgba(255, 255, 255, 0.6); }

.newsletter__form button {
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.newsletter__form button:hover { transform: scale(1.08); }

/* ---- Testimonials ---- */
.testimonials {
  padding: 100px 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider__track {
  position: relative;
  min-height: 280px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.testimonial__quote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--gray-700);
  text-align: center;
  margin-bottom: 36px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial__author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__author cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial__author span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.testimonial-slider__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all var(--transition);
}

.testimonial-nav-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

/* ---- Contact ---- */
.contact {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--dark);
  color: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact__intro .section-title {
  margin-bottom: 24px;
}

.contact__form {
  background: var(--dark-2);
  border-radius: var(--radius-sm);
  padding: 40px;
  position: relative;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-700);
  padding: 16px 0;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
}

.contact__submit {
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.contact__submit:hover {
  background: var(--purple-light);
  transform: scale(1.08);
}

/* ---- Final CTA ---- */
.final-cta {
  padding: 100px 0;
  background: var(--gray-100);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.final-cta__content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 28px;
}

.final-cta__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.final-cta__details a {
  font-size: 1rem;
  color: var(--gray-700);
  transition: color var(--transition);
}

.final-cta__details a:hover { color: var(--purple); }

.final-cta__social {
  display: flex;
  gap: 16px;
}

.final-cta__social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all var(--transition);
}

.final-cta__social a:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.final-cta__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.final-cta__shapes {
  position: relative;
  width: 320px;
  height: 320px;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
}

.cta-shape--1 {
  width: 200px;
  height: 200px;
  background: var(--gray-300);
  top: 0;
  right: 0;
  opacity: 0.5;
}

.cta-shape--2 {
  width: 160px;
  height: 160px;
  background: var(--purple-pale);
  bottom: 20px;
  left: 0;
}

.cta-shape--3 {
  width: 100px;
  height: 100px;
  background: var(--purple);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
}

.cta-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: auto;
  z-index: 2;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: var(--gray-500);
  padding: 80px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__desc {
  font-size: 1.2rem;
  color: var(--white);
  position: relative;
  right: 32px;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__copy {
  margin-top: 24px;
  font-size: 0.8rem;
}

.footer__col h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col a {
  font-size: 1.1rem;
  transition: color var(--white);
}

.footer__col a:hover { color: var(--purple-light); }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer__contact-item:last-child {
  margin-bottom: 0;
}

.footer__contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-top: 2px;
}

.footer__contact-item span:not(.footer__contact-icon) {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.footer__bottom--home {
  justify-content: flex-end;
  border-top: none;
  padding-top: 0;
  margin-top: -12px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.footer__bottom {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-900);
}

.footer__bottom a {
  font-size: 1.1rem;
  font-weight: 600;
  transition: color var(--transition);
}

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

.footer-home {
  position: relative;
  background: var(--black);
  overflow: hidden;
  color: var(--gray-500);
}

.footer-home__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-home__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.footer-home__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.82) 42%,
    rgba(0, 0, 0, 0.35) 68%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.footer-home__inner {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 8vw, 96px) 0 clamp(32px, 4vw, 48px);
}

.footer-home__cta {
  max-width: 560px;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.footer-home__title {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.footer-home__desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 420px;
}

.footer__grid--home {
  margin-bottom: 48px;
  padding-top: 0;
  border-top: none;
}

.footer-home .logo--footer .logo__img {
  height: 170px;
  width: auto;
  position: relative;
  right: 12%;
  bottom: 44px;
}

.footer-home .footer__col a,
.footer-home .footer__contact-item span:not(.footer__contact-icon) {
  color: var(--white);
}

.footer-home .footer__social a {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.72);
}

.footer-home .footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
}

/* ---- Modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 900px;
  z-index: 1;
}

.modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  transition: color var(--transition);
}

.modal__close:hover { color: var(--purple-light); }

.modal__video {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.modal__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---- Animations on scroll ---- */
.reveal {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.reveal--up    { transform: translateY(48px); }
.reveal--down  { transform: translateY(-32px); }
.reveal--left  { transform: translateX(-48px); }
.reveal--right { transform: translateX(48px); }
.reveal--scale { transform: scale(0.94); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero load animations */
.hero-animate {
  opacity: 0;
  transform: translateY(32px);
  animation: heroReveal 1s var(--ease-out) forwards;
}

.hero-animate--delay-1 { animation-delay: 0.15s; }
.hero-animate--delay-2 { animation-delay: 0.3s; }
.hero-animate--delay-3 { animation-delay: 0.45s; }
.hero-animate--delay-4 { animation-delay: 0.6s; }
.hero-animate--delay-5 { animation-delay: 0.75s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__visual.hero-animate {
  transform: translateX(40px);
  animation-name: heroRevealRight;
}

@keyframes heroRevealRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Legacy fade-up support */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .fade-up,
  .hero-animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .shape { animation: none !important; }
  .scroll-indicator__arrow { animation: none !important; }
  .play-icon { animation: none !important; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; justify-content: center; min-height: 360px; }
  .hero__image { width: min(100%, 340px); max-height: 420px; }
  .hero__inner { padding-bottom: 56px; }

  .section-header { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--gray-300); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(n+5) { border-bottom: none; }
  .service-card:nth-child(4) { border-bottom: 1px solid var(--gray-300); }

  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .work__grid .project-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }

  .about__inner { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .process__line { display: none; }

  .insights__grid { grid-template-columns: repeat(2, 1fr); }
  .insights__grid .insight-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }

  .contact__inner { grid-template-columns: 1fr; }
  .final-cta__inner { grid-template-columns: 1fr; text-align: center; }
  .final-cta__social { justify-content: center; }
  .final-cta__visual { order: -1; }

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

  .footer-home__cta {
    max-width: 100%;
    margin-bottom: 48px;
  }

  .footer-home__bg img {
    object-position: 70% center;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-300);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .menu-toggle { display: flex; }
  .btn--talk span:first-child { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
  .service-card:not(:last-child) { border-bottom: 1px solid var(--gray-300) !important; }

  .work__grid { grid-template-columns: 1fr; }
  .work__grid .project-card:last-child { grid-column: span 1; max-width: 100%; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process__steps { grid-template-columns: 1fr; }

  .insights__grid { grid-template-columns: 1fr; }
  .insights__grid .insight-card:last-child { grid-column: span 1; max-width: 100%; }

  .newsletter__inner { padding: 40px 28px; flex-direction: column; text-align: center; }
  .newsletter__form { min-width: 100%; max-width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.4rem; }
  .hero__image { width: min(100%, 300px); max-height: 380px; height: auto; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn--primary { justify-content: center; }
  .btn--ghost { justify-content: center; }
}

/* ============================================
   Inner Pages
   ============================================ */

.page-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: var(--white);
}

.page-hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 20px;
}

.page-hero__desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 560px;
  line-height: 1.7;
}

.page-cta {
  padding: 80px 0 100px;
  background: var(--gray-100);
}

.page-cta__inner {
  text-align: center;
}

.page-cta__inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

/* Work page */
.work--page {
  padding: 0 0 60px;
  background: var(--white);
}

.work__grid--full {
  grid-template-columns: repeat(3, 1fr);
}

.work__grid--full .project-card:last-child {
  grid-column: span 1;
  max-width: 100%;
}

/* Services page */
.services--page {
  padding: 0 0 80px;
}

.service-card--detailed {
  border-right: 1px solid var(--gray-300) !important;
  border-bottom: 1px solid var(--gray-300) !important;
}

.service-card--detailed:nth-child(3n) {
  border-right: none !important;
}

.service-card--detailed:nth-child(n+4) {
  border-bottom: none !important;
}

.service-card__list {
  margin-top: 16px;
}

.service-card__list li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
}

.process--compact {
  padding: 80px 0;
  background: var(--gray-100);
}

/* About page */
.about--page {
  padding: calc(var(--header-h) + 60px) 0 80px;
}

.about-values {
  padding: 0 0 100px;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  padding: 36px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  border-color: var(--purple);
  box-shadow: 0 8px 30px rgba(98, 0, 238, 0.08);
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.testimonials--page {
  padding: 80px 0 100px;
  background: var(--gray-100);
}

/* Insights page */
.stats--page {
  padding: calc(var(--header-h) + 40px) 0 80px;
}

.insights--page {
  padding: 0 0 60px;
  background: var(--white);
}

.insights__grid--full {
  grid-template-columns: repeat(3, 1fr);
}

.insight-card__body p {
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-top: 10px;
  line-height: 1.6;
}

.newsletter--page {
  padding: 0 0 100px;
  background: var(--white);
}

/* Contact page */
.final-cta--page {
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: var(--white);
}

.final-cta--page .section-title {
  margin-bottom: 20px;
}

.final-cta__intro {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: color var(--transition);
}

.contact-detail:hover .contact-detail__value {
  color: var(--purple);
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}

.contact-detail__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
  transition: color var(--transition);
}

.contact--page {
  padding: 0 0 100px;
  background: var(--dark);
}

.contact__inner--centered {
  max-width: 720px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.contact__form--page {
  position: static;
  margin-top: 40px;
}

.contact__form--page .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact__submit--inline {
  position: static;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  padding: 16px 32px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .work__grid--full { grid-template-columns: repeat(2, 1fr); }
  .insights__grid--full { grid-template-columns: repeat(2, 1fr); }
  .about-values__grid { grid-template-columns: 1fr; }
  .service-card--detailed:nth-child(3n) { border-right: 1px solid var(--gray-300) !important; }
  .service-card--detailed:nth-child(2n) { border-right: none !important; }
}

@media (max-width: 768px) {
  .work__grid--full { grid-template-columns: 1fr; }
  .insights__grid--full { grid-template-columns: 1fr; }
  .contact__form--page .form-row { grid-template-columns: 1fr; }
  .final-cta--page .final-cta__inner { grid-template-columns: 1fr; text-align: center; }
  .final-cta--page .final-cta__social { justify-content: center; }
  .final-cta--page .final-cta__visual { order: -1; }
  .contact-details { align-items: center; }
  .contact-detail { text-align: left; }
}

