/* poppins-regular - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: regular;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
}

/* poppins-500 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2');
}

/* poppins-600 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2');
}

/* poppins-700 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2');
}

/* poppins-800 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-800.woff2') format('woff2');
}


:root {
  color-scheme: light;
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --text: #1f2342;
  --muted: #5f6b82;
  --light: #F4F8FC;
  --light2: #E2E8F0;
  --accent: #4F2D7F;
  --accent-2: #2FA59B;
  --accent-3: #F07A3E;
  --border: rgba(31, 35, 66, 0.08);
  --shadow-subtle: 0 24px 80px rgba(31, 35, 66, 0.12);
  --shadow-glow: 0 0px 90px hsla(21, 86%, 59%, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body h1, h2, h3, h4, h5, h6, p, a, span, li {
  margin: 0;
  position: relative;
  font-family: 'Poppins', system-ui, sans-serif !important;
  color: var(--text);
}

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

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

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.navbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(10px);
  background: rgba(244, 248, 252, 0.4);
  border: 1px solid rgba(31, 35, 66, 0.06);
  width: calc(100% - 16px);
  max-width: 1420px;
  margin: 0 auto;
  border-radius: 70px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.navbar--light {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(31, 35, 66, 0.12);
}

.nav-container {
  max-width: 1220px;
  margin: 0 1.5rem;
  padding: 1rem 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  width: auto;
  height: 2rem;
  z-index: 25;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links {
  display: flex;
  gap: 3.2rem;
  margin-left: 6rem;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--accent);
}

/* hamburger menu, but hidden aal pc */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 30;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #1f2342;
  transition: all 0.3s ease;
}

/* for mobile breakpoint */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu-wrapper {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(244, 248, 252, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 35, 66, 0.06);
    border-radius: 24px;
    margin-top: 10px;
    padding: 2rem;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .nav-menu-wrapper.is-active {
    display: flex;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-link {
    text-align: left;
    font-size: 1rem;
  }

  .language-toggle {
    width: 100%;
    max-width: 150px;
  }

  /* this animated hamburger state */
  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}



.hero,
.stats-section,
.advantages-section,
.process-section {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  min-height: 86vh;
  padding: 3.5rem 0 2rem;
  background-color: gradient-linear(135deg, #DEEDFA, #F4F8FC, #F4F8FC, #CFE6E5);
  position: relative;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100% + 2rem);
  background-image: url('../images/hero1-background.avif');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.hero-copy {
  position: relative;
  padding-bottom: 5rem;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 4vw, 2.169rem);
  color: transparent;
  background: url('../gifs/purple-waves.gif') center / cover no-repeat;
  filter: brightness(75%) saturate(140%);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 47.375rem;
  text-transform: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease, text-shadow 0.35s ease;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-attachment: fixed;
}

.hero-copy.is-visible h1 {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy h1:hover {
  text-shadow: 0 0 28px rgba(143, 78, 211, 0.42);
  transform: translateY(0) scale(1.02);
}

.glow {
  display: inline-block;
  background: radial-gradient(circle at top, #8E51E5, #4F2D7F);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}


.hero-copy p {
  font-size: 23px;
  line-height: 1.2;
  color: rgba(31, 35, 66, 0.86);
  max-width: 38rem;
  margin: 0 0 1.75rem;
  letter-spacing: 0.0015em;
}


.eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.3rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  background: radial-gradient(circle at top, #8E51E5, #4F2D7F);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  transition: box-shadow 0.3s ease-in-out;
}

.cta-button:hover {
  background: radial-gradient(circle at top, #8E51E5, #4F2D7F);
  box-shadow: 0 10px 30px rgba(79, 45, 127, 0.35);
  cursor: url("../icons/murabaa-cursor.png"), pointer;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  z-index: 1;
}


.offer-section {
  background-image: url('../images/Flowing Paper (Offer Page).png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 400px;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}

.cube {
  position: absolute;
  top: 50vh;
  left: 50vw;
  width: 180px;
  height: 180px;
  transform-style: preserve-3d;
  transform: translate3d(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px)), 0) scale(var(--scale, 1)) rotateX(calc(var(--rot-x, -22deg) + var(--idle-rot-x, 0deg))) rotateY(calc(var(--rot-y, 34deg) + var(--idle-rot-y, 0deg))) rotateZ(calc(var(--rot-z, 0deg) + var(--idle-rot-z, 0deg)));
  will-change: transform;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.cube-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.18);
}

.cube-face.front {
  transform: translateZ(90px);
  background: linear-gradient(135deg, #f7f4ff 0%, #d9cbff 100%);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(90px);
  background: linear-gradient(135deg, #c8f2ee 0%, #8ce0d0 100%);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(90px);
  background: linear-gradient(135deg, #7c3aed 0%, #091eb5 100%);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(90px);
  background: linear-gradient(135deg, #9366f0 0%, #6d28d9 100%);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(90px);
  background: linear-gradient(135deg, #b6e9f7 0%, #a6a3fc 100%);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(90px);
  background: linear-gradient(135deg, #6d28d9 0%, #3b82f6 100%);
}

.mobile-corner-gif {
  display: none;
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 2rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(31, 35, 66, 0.12);
}

.offer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  padding: 7rem 0 8rem 7rem;
  align-items: center;
  justify-items: center;
}


.offer-copy p {
  font-size: 25px;
  color: var(--light2);
  align-items: center;
  max-width: 47rem;
}

.offer-copy strong {
  font-weight: 600;
  line-height: inherit;
}


.offer-card-stack {
  position: relative;
  width: min(420px, calc(100% - 2rem));
  height: 354px;
}

.offer-card {
  position: absolute;
  inset: 0;
  border: 8px solid #DAEEFF;
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 10px 20px #2A1745;
  transition: transform 0.35s ease;
}

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

.card-front {
  z-index: 2;
  transform: translate(-8px, -8px) rotate(-2deg);
}

.card-back {
  z-index: 1;
  transform: translate(6px, 6px) rotate(2deg);
}

.offer-card-stack:hover .card-front {
  transform: translate(-28px, -18px) rotate(-6deg);
}

.offer-card-stack:hover .card-back {
  transform: translate(24px, 18px) rotate(6deg);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 3.5rem 0 3.5rem;
}

.stat-item {
  border-radius: 1.4rem;
  padding: 1.4rem;
  position: relative;
  text-align: center;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--muted);
  opacity: 0.3;
}

.stat-item h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  align-items: center;
}

.stat-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  align-items: center;
}

.advantages-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 2rem;
  padding: 7.25rem 0 7.25rem;
  align-items: start;
  position: relative;
  z-index: 0;
}

.advantages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: var(--accent);
  z-index: -1;
}

.advantages-title h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.25rem);
  line-height: 1.2;
  max-width: 35.063rem;
  color: white;
  position: relative;
  z-index: 1;
}

.advantages-list {
  display: grid;
  gap: 2.5rem;
  padding-left: 8rem;
}

.advantages-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.3rem;
  row-gap: 0.35rem;
  align-items: start;
  padding: 0;
}

.advantages-list article:last-child {
  border-bottom: 0;
}

.advantage-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.075rem;
  height: 2.075rem;
  border-radius: 999px;
  color: white;
  flex-shrink: 0;
  margin: 0;
}

.advantages-list h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 0.45rem;
  font-size: 1.06rem;
  color: white;
}

.advantages-list p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  max-width: 21rem;
}

.process-section {
  padding: 6rem 0 6rem;
}

.process-heading {
  text-align: center;
  margin-bottom: 1.4rem;
}

.process-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  border-radius: 1.4rem;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 252, 0.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 180px;
}

.process-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  background: url('../images/Contact Section BG.png') center / cover no-repeat;
  padding: 4rem 0 4.5rem;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: url('../images/Contact Section BG.png') center / cover no-repeat;
  z-index: -1;
}

.contact-card {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  border-radius: 2rem;
  padding: 2.5rem;
}

.contact-section .eyebrow {
  color: #DAEEFF;
}

.contact-card h2 {
  color: #ffff;
  margin: 0 0 2rem;
  font-size: clamp(1.7rem, 2.7vw, 3.5rem);
  line-height: 1.3;
  max-width: 32rem;
}

.contact-card .cta-button {
  width: fit-content;
  margin-top: 0.4rem;
  color: var(--accent);
  background: #DAEEFF;
}

.footer {
  padding: 0 1rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(31, 35, 66, 0.06);
  padding: 4rem 0 2.5rem;
  overflow: hidden;
}

.site-footer .footer-bg {
  position: absolute;
  inset: 0;
  background: url('../images/Footer Background.png') center / cover no-repeat;
  filter: brightness(10) saturate(5.2);
  opacity: 1;
  z-index: 1;
}

.footer-container1 {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 7.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: left;
}

.medium-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

.enter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 999px;
  corner-shape: superellipse(2);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  font-weight: 300;
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
}

.small-text {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 0;
  display: block;
}

.footer-container2 {
  position: relative;
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  gap: 50rem;
  align-items: right;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
  align-items: flex-start;
}

.form-row {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid #4F2D7F;
  outline: none;
  width: 20rem;
  background: hsla(265, 48%, 34%, 0.1);
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
}

/* Target all input and textarea placeholders */
::placeholder {
  color: rgb(0, 0, 0, 0.5);
  opacity: 1;
}

.newsletter-form input[type="email"]:focus {
  box-shadow: 0 10px 30px rgba(79, 45, 127, 0.08);
  border-color: rgba(79, 45, 127, 0.18);
}

.footer-newsletter .form-status {
  display: none;
  margin-top: 10px;
  font-size: 16px;
  color: #2FA59B;
}

.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo {
  align-items: left;
  justify-content: left;
  height: 42px;
}

.footer-social .social-links {
  display: flex;
  gap: 0.75rem;
  align-items: right;
  justify-content: right;
}

.social-link img {
  width: 28px;
  height: 28px;
  display: block;
  filter: none;
  opacity: 1;
}

.footer-copy {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(31, 35, 66, 0.65);
  margin-top: 0.75rem;
}

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

.responsive-separator {
  display: none;
}

@media (max-width: 768px) {

  .footer-container1 {
    padding-bottom: 1rem;
  }

  .responsive-separator {
    display: block;
    width: 155px;
    justify-content: center;
    border: none;
    border-top: 1px solid #4f2d7f6d;
    margin: 20px auto;
    padding-bottom: 2.5rem;
  }

  .footer-newsletter {
    display: grid;
    align-items: center;
    justify-content: center;
  }

  .medium-title {
    text-align: center;
  }

  .footer-container {
    align-items: stretch;
  }

  .newsletter-form {
    display: grid;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .form-row {
    width: 310px;
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
    max-width: 420px;
    align-items: center;
  }

  .enter-button {
    width: 100%;
    max-width: 420px;
  }

  .small-text {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .footer-branding {
    justify-content: flex-start;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {

  /* so hay to hide el cube */
  .scene {
    display: none;
  }

  /* and this to show the gif */
  .mobile-corner-gif {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 15;
    pointer-events: none;
  }

  .mobile-corner-gif img {
    width: 140px;
    height: auto;
    display: block;
  }

  .hero,
  .offer-section,
  .advantages-section {
    grid-template-columns: 1fr;
  }

  .paper-effect {
    position: static;
    width: min(12rem, 60%);
    margin-top: 1rem;
  }

  .hero-copy {
    padding-bottom: 1rem;
  }

  .process-grid,
  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {

  .nav-container {
    padding: 1rem 1rem 0.9rem;
  }

  .hero,
  .stats-section,
  .advantages-section,
  .process-section {
    width: min(100%, calc(100% - 1rem));
  }

  .hero {
    padding-top: 2rem;
  }

  .scene {
    width: 230px;
    height: 230px;
  }

  .cube {
    width: 140px;
    height: 140px;
  }

  .cube-face.front,
  .cube-face.back,
  .cube-face.right,
  .cube-face.left,
  .cube-face.top,
  .cube-face.bottom {
    border-radius: 0rem;
  }

  .cube-face.front,
  .cube-face.back {
    transform: translateZ(70px);
  }

  .cube-face.back {
    transform: rotateY(180deg) translateZ(70px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(70px);
  }

  .cube-face.left {
    transform: rotateY(-90deg) translateZ(70px);
  }

  .cube-face.top {
    transform: rotateX(90deg) translateZ(70px);
  }

  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(70px);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: none;
    background: rgba(244, 248, 252, 0.98);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(31, 35, 66, 0.06);
    border-radius: 24px;
    margin-top: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .nav-menu-wrapper.is-active {
    display: flex;
  }

  .nav-menu-wrapper.is-active .nav-links {
    padding: 0rem 0rem 0rem 0rem;
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0rem 0rem 0rem 0rem;
    margin-left: 0rem;
  }


  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media(max-width:768px) {

  .hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding-top: 140px;

  }

  .hero-copy {
    padding-bottom: 0;

  }

  .hero-actions {
    justify-content: center;

  }

  .hero-visual {
    min-height: 180px;

  }

  .scene {

    position: absolute;
    top: 80px;
    left: 50%;
    width: 400px;
    height: 400px;

  }


  .hero-note {
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .offer-stack {
    min-height: 280px;
  }

  .process-grid,
  .stats-section {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .stat-item,
  .process-card {
    padding: 1.25rem;
  }

  .offer-section {
    display: flex;
    flex-direction: column;
    padding: 100px 27px;
    align-items: center;
    text-align: center;

  }

  .offer-card {
    border: 4.5px solid #DAEEFF;
  }

  .offer-card-stack {
    width: 250px;
    height: 200px;

  }

  .stats-section {
    display: flex;
    flex-direction: column;

  }

  .stat-item::after {
    display: none;

  }

  .advantages-section {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 6rem 1.75rem 18rem;
    position: relative;
    z-index: 0;
  }

  .advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: url('../images/advantages-bg-mobile.png') center / cover no-repeat;
    z-index: -1;
  }


  .advantages-title h2 {
    padding-top: 0;
    margin: 0 auto;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: 20rem;
    text-align: center;
    color: #ffffff;
  }

  .advantages-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    padding: 0;
    max-width: 24rem;
    margin: 0 auto;
  }


  .advantages-list article {
    display: grid;
    grid-template-columns: 2rem 1fr;
    column-gap: 1rem;
    row-gap: 0.25rem;
    align-items: center;
  }

  .advantage-icon {
    grid-column: 1;
    grid-row: 1;
    width: 1.6rem;
    height: 1.6rem;
    align-self: start;
    margin-top: 0.15rem;
  }


  .advantages-list h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #ffffff;
  }

  .advantages-list p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.8);
    max-width: 100%;
  }


  .process-grid {
    grid-template-columns: 1fr;

  }

  .contact-section,
  .contact-section::before {
    background-image: url('../images/contact-section-mobile.png');
  }

  .contact-card {
    text-align: left;
    padding-bottom: 15rem;

  }

  .contact-section .eyebrow {
    font-size: 0.86rem;
    width: 400px;
  }

  .contact-card h2 {
    width: 20rem;
  }

  .contact-card .cta-button {
    margin: auto;

  }

  .footer-container2 {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;

  }

  .form-row {
    flex-direction: column;

  }

  .newsletter-form input {
    width: 100% !important;

  }

  .hero h1 {
    font-size: 2.5rem;

  }

  .offer-copy p {
    width: 310px;
    max-width: 100%;
    padding-bottom: 3.5rem;
    font-size: 1.3rem;

  }

  .process-card p,
  .stat-item p,
  .advantages-list p {
    font-size: 1rem;

  }

}