/* =========================================================
   Macleap Homepage (newindex)
   Palette: White (bg) · Black (text) · Red #E10600 (accent)
   ========================================================= */

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

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --ink: #141414;
  --grey: #f4f4f5;
  --grey-mid: #6b6b70;
  --grey-line: #e4e4e7;
  --red: #e10600;
  --red-dark: #b80500;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
  --radius: 14px;
  --page-gutter: clamp(1.25rem, 4vw, 2.5rem);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

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

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

img,
video {
  display: block;
}

a {
  color: inherit;
}

/* ---------- Shared helpers ---------- */
.accent {
  color: var(--red);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--black);
}

.section-title--light {
  color: var(--white);
}

.underline-red {
  position: relative;
  white-space: nowrap;
}

.underline-red::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.18em;
  background: var(--red);
  z-index: -1;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(225, 6, 0, 0.28);
}

.btn--red:hover {
  background: var(--red-dark);
  box-shadow: 0 12px 28px rgba(225, 6, 0, 0.36);
}

.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--black);
}

.btn--white:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--red);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-line);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}

.nav__links a:hover {
  color: var(--red);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}

.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  color: var(--ink);
  max-width: 36rem;
  margin-bottom: 2.2rem;
}

.hero__sub strong {
  font-weight: 600;
}

/* Rotating words */
.rotator {
  display: inline-grid;
  vertical-align: bottom;
  height: 1.4em;
  overflow: hidden;
}

.rotator__word {
  grid-area: 1 / 1;
  font-weight: 700;
  color: var(--red);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rotator__word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Geometric shapes / abstract lines */
.hero__shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero__shape--1 {
  width: 320px;
  height: 320px;
  top: -90px;
  right: -60px;
  background: var(--grey);
  border-radius: 28px;
  transform: rotate(18deg);
}

.hero__shape--2 {
  width: 120px;
  height: 120px;
  bottom: 40px;
  left: -40px;
  border: 14px solid rgba(225, 6, 0, 0.12);
  border-radius: 50%;
}

.hero__line {
  position: absolute;
  background: var(--black);
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
}

.hero__line--2 {
  width: 40%;
  height: 1px;
  bottom: 22%;
  right: 0;
}

.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__photo-block {
  position: relative;
  width: 100%;
}

.hero__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #2a2a2e 0%, #050505 100%);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.hero__photo-caption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(
    150deg,
    rgba(225, 6, 0, 0.42) 0%,
    rgba(225, 6, 0, 0) 55%
  );
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: -22px;
  bottom: 36px;
  background: var(--white);
  padding: 0.9rem 1.3rem;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--red);
}

.hero__badge-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.hero__badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

/* =========================================================
   2. ABOUT
   ========================================================= */
.about {
  background: var(--white);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.about__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__media {
  position: relative;
  width: 100%;
}

.about__photo {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #3a3a3e 0%, #0a0a0a 100%);
  filter: grayscale(1);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.about__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 45%
  );
  pointer-events: none;
}

.about__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about__photo-label {
  position: relative;
  z-index: 2;
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.about__accent-line {
  position: absolute;
  background: var(--red);
}

.about__accent-line--1 {
  width: 70px;
  height: 4px;
  top: -18px;
  left: 24px;
}

.about__accent-line--2 {
  width: 4px;
  height: 90px;
  bottom: -18px;
  right: -18px;
}

.about__text p {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--ink);
  margin-top: 1.1rem;
}

.about__text .section-title {
  margin-bottom: 0.4rem;
}

.about__list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 3px;
}

.about__list strong {
  font-weight: 600;
  color: var(--black);
}

.about__focus {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 1em;
  color: var(--red);
  white-space: nowrap;
  animation: about-focus-rise 2.4s ease-in-out infinite;
}

.about__focus::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.18em;
  background: rgba(225, 6, 0, 0.28);
  border-radius: 2px;
  transform-origin: left center;
  animation: about-focus-underline 2.4s ease-in-out infinite;
  z-index: -1;
}

@keyframes about-focus-rise {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes about-focus-underline {
  0%,
  100% {
    transform: scaleX(0.4);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about__focus,
  .about__focus::after {
    animation: none;
  }

  .about__focus::after {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* =========================================================
   3. SERVICES
   ========================================================= */
.services {
  background: var(--black);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.services__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.services__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #131316;
  border: 1px solid #222226;
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-6px);
}

.service-card__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(225, 6, 0, 0.12);
  color: var(--red);
  margin-bottom: 1.4rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .service-card__icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.service-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.service-card__text {
  font-size: 0.96rem;
  font-weight: 300;
  color: #b4b4ba;
  transition: color 0.3s ease;
}

.service-card:hover .service-card__text {
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   4. ON SPOTLIGHT
   ========================================================= */
.spotlight {
  background: var(--white);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.spotlight__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.spotlight__head {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.spotlight__lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink);
  margin: 1rem 0 1.2rem;
}

.spotlight__points {
  list-style: none;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.spotlight__points li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
}

.spotlight__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
}

.spotlight__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding: 1rem 0 1.5rem;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.founder-card {
  flex: 0 0 calc((100% - 3 * 1.25rem) / 3.2);
  max-width: 260px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  z-index: 1;
  transition: z-index 0s linear 0.35s;
}

.founder-card:hover {
  z-index: 3;
  transition-delay: 0s;
}

.founder-card__photo {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #d4d4d8 0%, #a1a1aa 55%, #71717a 100%);
  filter: grayscale(1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.founder-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  z-index: 0;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.founder-card__video.is-ready {
  opacity: 1;
}

.founder-card:hover .founder-card__photo {
  filter: grayscale(0);
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.founder-card:hover .founder-card__video {
  transform: scale(1.04);
}

.founder-card__play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.founder-card__play.is-playing {
  opacity: 0;
  pointer-events: none;
}

.founder-card__photo:hover .founder-card__play.is-playing {
  opacity: 1;
  pointer-events: auto;
}

.founder-card__play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.founder-card__play:hover {
  background: var(--red);
  color: var(--white);
  transform: scale(1.08);
}

.founder-card__cap {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
}

.carousel__nav {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--grey-line);
  background: var(--white);
  color: var(--black);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel__nav:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* =========================================================
   5. WHY MACLEAP
   ========================================================= */
.why {
  background: var(--grey);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.why__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.why__head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.why__lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink);
}

.why__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.why__points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
}

.why__points li {
  display: flex;
  gap: 1rem;
}

.why__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.why__icon svg {
  width: 24px;
  height: 24px;
}

.why__points h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.why__points p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink);
}

.why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--grey-line);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--white);
  padding: 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat__num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
}

.stat__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-mid);
  letter-spacing: 0.02em;
}

/* =========================================================
   JOURNEY STRIP
   ========================================================= */
.journey {
  background: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.journey__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.journey__lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 2rem;
}

.journey__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  counter-reset: step;
}

.journey__steps li {
  display: flex;
  align-items: center;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--black);
}

.journey__steps li::after {
  content: "\2192";
  margin-left: 1rem;
  color: var(--red);
  font-weight: 400;
}

.journey__steps li:last-child::after {
  content: none;
}

.journey__steps li.accent {
  color: var(--red);
}

.journey__final span {
  background: var(--red);
  color: var(--white);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
}

/* =========================================================
   ABOUT MACLEAP LTD (DEEP DIVE)
   ========================================================= */
.story {
  background: var(--grey);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.story__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.story__col p {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--ink);
  margin-top: 1.1rem;
}

.story__col strong {
  font-weight: 600;
  color: var(--black);
}

.story__col--product {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.story__list {
  list-style: none;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.story__list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
}

.story__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
}

/* =========================================================
   6. CTA
   ========================================================= */
.cta {
  background: var(--red);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  text-align: center;
}

.cta__inner {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.cta__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.2rem;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =========================================================
   7. FOOTER
   ========================================================= */
.footer {
  background: var(--black);
  color: var(--white);
}

.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer__logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.footer__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer__tagline {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: #9a9aa0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  color: #cfcfd4;
  width: fit-content;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--red);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__email,
.footer__phone {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--white);
  width: fit-content;
  transition: color 0.2s ease;
}

.footer__email:hover,
.footer__phone:hover {
  color: var(--red);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #2a2a2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cfcfd4;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.footer__social a svg {
  width: 18px;
  height: 18px;
}

.footer__social a:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-2px);
}

.footer__bar {
  border-top: 1px solid #1d1d20;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.82rem;
  color: #7a7a80;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
    border-bottom: 1px solid var(--grey-line);
    gap: 1rem;
  }

  .hero__inner,
  .about__inner,
  .why__grid,
  .story__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    max-width: min(100%, 360px);
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  .spotlight__carousel {
    margin-inline: calc(var(--page-gutter) * -1);
    gap: 0;
  }

  .carousel__nav {
    display: none;
  }

  .carousel__track {
    gap: clamp(1rem, 4vw, 1.25rem);
    scroll-padding-inline: var(--page-gutter);
    padding-inline: var(--page-gutter);
    -webkit-overflow-scrolling: touch;
  }

  .founder-card {
    flex: 0 0 min(85vw, calc(100vw - (var(--page-gutter) * 2)));
    max-width: none;
    scroll-snap-align: center;
  }

  .founder-card__photo {
    aspect-ratio: 9 / 16;
    max-height: 58vh;
    width: min(100%, calc(58vh * 9 / 16));
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .nav__inner,
  .hero__inner,
  .about__inner,
  .services__inner,
  .spotlight__inner,
  .why__inner,
  .journey__inner,
  .story__inner,
  .cta__inner,
  .footer__inner {
    padding-inline: var(--page-gutter);
  }

  .hero__inner {
    padding-block: 2rem 3.5rem;
  }

  .hero__title {
    font-size: clamp(2.05rem, 12vw, 3rem);
  }

  .hero__sub {
    font-size: 1rem;
    margin-bottom: 1.6rem;
  }

  .hero__photo-caption {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .hero__badge {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .hero__badge-num {
    font-size: 1.25rem;
  }

  .hero__badge-text {
    font-size: 0.65rem;
  }

  .about__accent-line--2 {
    right: 0;
  }

  .section-title {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

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

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

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

  .hero__cta .btn,
  .cta__buttons .btn {
    flex: 1 1 100%;
    min-height: 48px;
  }

  .journey__steps {
    flex-direction: column;
    align-items: center;
  }

  .journey__steps li {
    font-size: 1.1rem;
  }

  .journey__steps li::after {
    content: none;
  }

  .footer__email,
  .footer__phone,
  .footer__links a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .nav__logo-img {
    height: 34px;
  }

  .btn {
    padding-inline: 1.2rem;
  }
}
