/* ============================================================
   Idalia Limited — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  background: #fff;
  color: #171d2d;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

/* ---- Layout ---------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Grid background pattern ----------------------------- */
.grid-bg {
  position: relative;
  overflow: hidden;
}
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(217,217,217,0.27) 0%, rgba(115,115,115,0) 60%);
  background-size: 245px 245px;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
.grid-bg > * { position: relative; z-index: 1; }

/* Grid lines via SVG repeating pattern */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(200,200,200,0.18) 0px, rgba(200,200,200,0.18) 1px, transparent 1px, transparent 245px),
    repeating-linear-gradient(to bottom, rgba(200,200,200,0.18) 0px, rgba(200,200,200,0.18) 1px, transparent 1px, transparent 245px);
  pointer-events: none;
  z-index: 0;
}

/* ---- Navigation ------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav__inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__logo img {
  height: 46px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  gap: 44px;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
}
.nav__links a {
  color: #969696;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active { color: #171717; }

.nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 100px;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 500;
  color: #171d2d;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.nav__cta:hover {
  background: #171717;
  color: #fff;
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #171717;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #969696;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.2s, background 0.2s;
}
.nav__mobile a:hover,
.nav__mobile a.active { color: #171717; background: #f8f8f8; }
.nav__mobile .nav__cta-mobile {
  margin: 16px 24px;
  text-align: center;
  background: #171717;
  color: #fff;
  border-radius: 100px;
  padding: 14px 24px;
}

/* ---- Hero ------------------------------------------------- */
.hero {
  padding-top: 90px; /* nav height */
  min-height: 940px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px),
    repeating-linear-gradient(to bottom, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px);
  pointer-events: none;
}
/* Dots at intersections */
.hero__grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(150,150,150,0.35) 2px, transparent 2px);
  background-size: 245px 245px;
  background-position: 2px 2px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 60px 20px 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.hero__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: #171d2d;
  margin-bottom: 40px;
}
.hero__avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}
.hero__avatars-img {
  height: 73px;
  width: auto;
  display: block;
}

.hero__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  min-width: 200px;
}
.btn--dark {
  background: #171717;
  color: #fff;
  border: 1px solid #171717;
}
.btn--dark:hover { background: #333; }
.btn--outline {
  background: transparent;
  color: #171d2d;
  border: 1px solid #000;
}
.btn--outline:hover { background: #171717; color: #fff; }
.btn--send {
  background: #171717;
  color: #fff;
  border: 1px solid #171717;
  width: 220px;
  min-width: auto;
}

.hero__desc {
  font-size: 18px;
  font-weight: 400;
  color: #666b77;
  line-height: 1.6;
  max-width: 980px;
  text-align: left;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* ---- Section Shared -------------------------------------- */
.section {
  padding: 80px 0;
}
.section--bg {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.section--bg .section__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px),
    repeating-linear-gradient(to bottom, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px);
  pointer-events: none;
}
.section__title {
  font-size: 48px;
  font-weight: 700;
  color: #171d2d;
  margin-bottom: 60px;
  line-height: 1.1;
}
.section__subtitle {
  font-size: 64px;
  font-weight: 700;
  color: #171d2d;
  margin-bottom: 60px;
  text-align: center;
  line-height: 1.1;
}

/* ---- Service Cards --------------------------------------- */
.service-block {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 0;
}
.service-block--reverse { flex-direction: row-reverse; }
.service-block__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.service-block__text h3 {
  font-size: 32px;
  font-weight: 500;
  color: #171d2d;
  margin-bottom: 20px;
  line-height: 1.2;
}
.service-block__text p {
  font-size: 16px;
  font-weight: 400;
  color: #666b77;
  line-height: 1.65;
}
.service-block__img {
  width: 400px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-block__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---- Feature Cards --------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.cards-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

.card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.card__icon img { width: 42px; height: 42px; }
.card__title {
  font-size: 32px;
  font-weight: 500;
  color: #171d2d;
  line-height: 1.2;
  margin-top: 10px;
}
.card__body {
  font-size: 16px;
  font-weight: 400;
  color: #666b77;
  line-height: 1.65;
}
.card__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- How We Do It steps ---------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.step {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 24px;
  padding: 40px;
}
.step--full { grid-column: 1 / -1; }
.step__header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.step__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.step__icon img { width: 42px; height: 42px; }
.step__title {
  font-size: 32px;
  font-weight: 500;
  color: #171d2d;
  line-height: 1.2;
}
.step__body {
  font-size: 16px;
  font-weight: 400;
  color: #666b77;
  line-height: 1.65;
}

/* ---- Technology Stack ------------------------------------ */
.tech-stack {
  padding: 0;
}
.tech-stack__header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 40px;
}
.tech-stack__title {
  font-size: 48px;
  font-weight: 700;
  color: #171d2d;
  line-height: 1.1;
  min-width: 460px;
}
.tech-stack__desc {
  font-size: 18px;
  font-weight: 400;
  color: #666b77;
  line-height: 1.6;
  padding-top: 8px;
}
.tech-row {
  display: grid;
  gap: 40px;
  margin-bottom: 30px;
}
.tech-row--2 { grid-template-columns: 1fr 1fr; }
.tech-row--3 { grid-template-columns: 1fr 1fr 1fr; }

.tech-card {
  background: #f8f8f8;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tech-card__title {
  font-size: 20px;
  font-weight: 400;
  color: #171d2d;
  text-align: center;
}
.tech-card__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 60px;
  overflow: hidden;
}
.tech-card__logos-strip {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* ---- Sub-text banner ------------------------------------- */
.sub-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6fff2;
  border: 1px solid #dadcdf;
  border-radius: 24px;
  padding: 14px 24px;
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}
.sub-banner p {
  font-size: 18px;
  font-weight: 400;
  color: #171d2d;
  line-height: 1.6;
}

/* ---- Get In Touch section -------------------------------- */
.contact-section {
  position: relative;
  overflow: hidden;
  min-height: 940px;
  display: flex;
  align-items: flex-start;
  padding: 80px 0;
}
.contact-section__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px),
    repeating-linear-gradient(to bottom, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px);
  pointer-events: none;
}
.contact-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
}
.contact-right {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-right__avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.contact-right__avatars-img {
  height: 73px;
  width: auto;
  display: block;
}
.contact-right__title {
  font-size: 64px;
  font-weight: 700;
  color: #171d2d;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 24px;
}
.contact-right__desc {
  font-size: 18px;
  font-weight: 400;
  color: #666b77;
  text-align: center;
  line-height: 1.65;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

/* Contact form */
.contact-form {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  gap: 40px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.form-field label {
  font-size: 18px;
  font-weight: 400;
  color: #8f8f8f;
  line-height: 1.5;
}
.form-field input,
.form-field textarea {
  background: #fff;
  border: 1px solid #ebedee;
  border-radius: 20px;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  color: #171d2d;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: #171d2d; }
.form-field textarea {
  height: 128px;
  resize: vertical;
  padding-top: 18px;
  line-height: 1.5;
}
.form-submit {
  display: flex;
  justify-content: center;
}


/* ---- Success popup --------------------------------------- */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(23,29,45,0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.success-overlay.visible { display: flex; }

.success-popup {
  background: #fff;
  border-radius: 24px;
  padding: 56px 48px 48px;
  max-width: 440px;
  width: calc(100% - 40px);
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px rgba(23,29,45,0.18);
  animation: popupIn 0.28s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
.success-popup__icon {
  width: 72px;
  height: 72px;
  background: #f0faf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-popup__icon svg { display: block; }
.success-popup__title {
  font-size: 26px;
  font-weight: 700;
  color: #171d2d;
  margin-bottom: 12px;
  line-height: 1.25;
}
.success-popup__text {
  font-size: 15px;
  color: #666b77;
  line-height: 1.65;
  margin-bottom: 32px;
}
.success-popup__close {
  background: #171d2d;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 48px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}
.success-popup__close:hover { opacity: 0.82; }

/* ---- Page hero (inner pages) ----------------------------- */
.page-hero {
  padding-top: 90px;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px),
    repeating-linear-gradient(to bottom, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px);
  pointer-events: none;
}
.page-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 0;
}
.page-hero__title {
  font-size: 64px;
  font-weight: 700;
  color: #171d2d;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 60px;
}
.page-hero__block {
  display: flex;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
}
.page-hero__block--reverse { flex-direction: row-reverse; }
.page-hero__block-text {
  flex: 1;
}
.page-hero__block-text p {
  font-size: 16px;
  color: #666b77;
  line-height: 1.65;
  white-space: pre-wrap;
}
.page-hero__block-img {
  width: 400px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.page-hero__block-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---- Stage title (inner pages) --------------------------- */
.stage-title {
  font-size: 64px;
  font-weight: 700;
  color: #171d2d;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 60px;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero__title { font-size: 48px; }
  .section__subtitle { font-size: 48px; }
  .page-hero__title { font-size: 48px; }
  .tech-stack__title { font-size: 36px; min-width: 300px; }
  .tech-stack__header { flex-direction: column; gap: 20px; }
}

@media (max-width: 900px) {
  /* Nav */
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { height: 70px; }

  /* Hero */
  .hero { padding-top: 70px; min-height: auto; padding-bottom: 60px; }
  .hero__title { font-size: 36px; margin-bottom: 28px; }
  .hero__buttons { flex-direction: column; gap: 16px; align-items: stretch; width: 100%; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .hero__desc { font-size: 16px; text-align: left; }

  /* Service blocks */
  .service-block,
  .service-block--reverse {
    flex-direction: column;
    gap: 30px;
  }
  .service-block__img {
    width: 100%;
    height: 280px;
  }
  .service-block__content { gap: 24px; }

  /* Cards */
  .cards-grid,
  .cards-grid--3 { grid-template-columns: 1fr; }
  .card__title { font-size: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step--full { grid-column: 1; }
  .step__title { font-size: 24px; }

  /* Section titles */
  .section__title { font-size: 32px; margin-bottom: 32px; }
  .section__subtitle { font-size: 32px; margin-bottom: 32px; }
  .page-hero__title { font-size: 36px; }
  .stage-title { font-size: 36px; }

  /* Tech stack */
  .tech-row--2,
  .tech-row--3 { grid-template-columns: 1fr; }

  /* Contact section */
  .contact-section { padding: 60px 0; min-height: auto; }
  .contact-section__inner {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
  }
  .contact-form,
  .contact-right { width: 100%; max-width: 480px; }
  .contact-right__title { font-size: 48px; }
  .contact-right__desc { max-width: 100%; }

  /* Page hero */
  .page-hero { min-height: auto; }
  .page-hero__block,
  .page-hero__block--reverse { flex-direction: column; gap: 30px; }
  .page-hero__block-img { width: 100%; height: 280px; }

  /* Sub-banner */
  .sub-banner { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 28px; }
  .section__subtitle { font-size: 28px; }
  .page-hero__title { font-size: 28px; }
  .stage-title { font-size: 28px; }
  .contact-right__title { font-size: 36px; }
  .tech-row--2,
  .tech-row--3 { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .hero__buttons { width: 100%; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .section { padding: 60px 0; }
  .contact-section { padding: 60px 0; }
  .card__title { font-size: 20px; }
  .step__title { font-size: 20px; }
  .service-block__text h3 { font-size: 24px; }
  .sub-banner p { font-size: 16px; }
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: #171d2d;
  padding: 24px 40px;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.site-footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__links a:hover {
  color: #fff;
}

/* ===========================
   LEGAL PAGES (Terms / Privacy)
   =========================== */
.legal-page {
  padding-top: 90px;
  min-height: 100vh;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.legal-page__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px),
    repeating-linear-gradient(to bottom, rgba(180,180,180,0.15) 0px, rgba(180,180,180,0.15) 1px, transparent 1px, transparent 245px);
  pointer-events: none;
}
.legal-page__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 40px 100px;
}
.legal-page__title {
  font-size: 48px;
  font-weight: 700;
  color: #171d2d;
  line-height: 1.1;
  margin-bottom: 56px;
}
.legal-page__section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ebedee;
}
.legal-page__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-page__section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #171d2d;
  margin-bottom: 12px;
  line-height: 1.3;
}
.legal-page__section p,
.legal-page__section ul {
  font-size: 16px;
  color: #666b77;
  line-height: 1.7;
}
.legal-page__section p + p {
  margin-top: 12px;
}
.legal-page__section ul {
  padding-left: 20px;
  margin-top: 8px;
}
.legal-page__section ul li {
  margin-bottom: 8px;
}
.legal-page__section a {
  color: #171d2d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .site-footer { padding: 24px 20px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .legal-page__title { font-size: 32px; }
  .legal-page__content { padding: 40px 20px 60px; }
}

/* ===========================
   HERO LOAD ANIMATION
   =========================== */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
.hero__title   { animation: heroIn 0.8s cubic-bezier(.4,0,.2,1) 0.05s both; }
.hero__avatars { animation: heroIn 0.8s cubic-bezier(.4,0,.2,1) 0.2s  both; }
.hero__buttons { animation: heroIn 0.8s cubic-bezier(.4,0,.2,1) 0.35s both; }
.hero__desc    { animation: heroIn 0.8s cubic-bezier(.4,0,.2,1) 0.15s both; }

/* ===========================
   SCROLL REVEAL
   =========================== */
.rv {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1),
              transform 0.7s cubic-bezier(.4,0,.2,1);
}
.rv--up    { transform: translateY(36px); }
.rv--left  { transform: translateX(-44px); }
.rv--right { transform: translateX(44px); }
.rv--scale { transform: scale(0.93) translateY(20px); }

.rv.rv-visible {
  opacity: 1;
  transform: none;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .rv,
  .hero__title, .hero__avatars, .hero__buttons, .hero__desc {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
