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

:root {
  --red:    #CC2D2E;
  --orange: #F8B25D;
  --green:  #86BB7D;
  --blue:   #6E86C3;
  --grey:   #FAFAFA;
  --text:   #1A1A1A;
  --muted:  #666;
  --font:   'Quicksand', sans-serif;
  --max:    1152px;
  --nav-h:  65px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

/* ── CONTAINER ─────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  border-color: #eee;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 40px;
  width: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;
}
.nav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); }
.nav__underline {
  display: block;
  height: 2px;
  width: 0;
  border-radius: 2px;
  margin-top: 3px;
  transition: width .25s ease;
}
.nav__item:hover .nav__underline { width: 100%; }
.nav__item.active .nav__underline { width: 100%; }

/* dropdown sub-menu */
.nav__item--has-sub { position: relative; }
.nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  list-style: none;
  padding: 14px 6px 6px;
  min-width: 180px;
  z-index: 50;
}
.nav__item--has-sub:hover .nav__sub { display: block; }
.nav__sub-link {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__sub-link:hover { background: #f5f5f5; color: var(--text); }
.nav__sub-link--active { color: var(--red); }

/* burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.nav__mobile {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 16px 24px 24px;
}
.nav__mobile.open { display: block; }
.nav__mobile ul { list-style: none; }
.nav__mobile li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.nav__mobile a {
  font-size: 15px; font-weight: 600;
  color: var(--text); text-decoration: none;
}

/* ── HERO ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* scattered letters parallax layer */
.hero__letters {
  position: absolute;
  width: 110%;
  height: auto;
  left: -5%;
  top: 50%;
  /* base translate keeps it vertically centered; JS adds parallax offset */
  transform: translateY(-50%);
  pointer-events: none;
  will-change: transform;
  transition: transform .08s linear;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  width: min(860px, 88vw);
}

/* logo: large + gentle rock animation */
.hero__logo {
  width: 100%;
  max-width: min(520px, 60vw);
  height: auto;
  animation: logo-rock 4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes logo-rock {
  0%, 100% { transform: rotate(-1.8deg); }
  50%       { transform: rotate(1.8deg); }
}

.hero__subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #888;
}

@media (max-width: 768px) {
  .hero__logo { max-width: 320px; }
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--green  { background: var(--green);  color: #fff; }

/* ── QUOTES ─────────────────────────────────── */
.quotes {
  padding: 80px 0;
  background: #fff;
}
.quotes__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.quotes__dots--top  { margin-bottom: 40px; }
.quotes__dots--bottom { margin-top: 40px; }
.quotes__dot-dec {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
}
.quotes__text {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.quotes__text p {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}
.quotes__spacer { height: 16px; }

/* ── ABOUT ──────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--grey);
}
.about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.about__left { padding-top: 8px; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 12px;
}
.about__left h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}
.about__bars {
  display: flex;
  gap: 6px;
}
.about__bars span {
  display: block;
  width: 60px; height: 4px;
  border-radius: 2px;
}
.about__right p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  color: #333;
  margin-bottom: 20px;
}
.about__right p:first-child {
  font-size: 18px;
  font-weight: 600;
}

/* ── JOURNEY ────────────────────────────────── */
.journey {
  padding: 100px 0;
  background: #fff;
}
.journey__header {
  text-align: center;
  margin-bottom: 64px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.journey__header h2 {
  font-size: 30px;
  font-weight: 700;
}
.text-red { color: var(--red); }
.text-orange { color: var(--orange); }

.journey__diagram {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 900px;
}
.journey__svg {
  width: 100%;
  height: auto;
}
.journey__note {
  text-align: center;
  margin-top: 64px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}

/* ── BENEFITS ───────────────────────────────── */
.benefits {
  padding: 100px 0;
  background: var(--blue);
}
.benefits__header {
  text-align: center;
  margin-bottom: 48px;
}
.benefits__header h2 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.benefits__item {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.benefits__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.benefits__item p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

/* ── FOOTER ─────────────────────────────────── */
.footer {
  padding: 32px 0;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__dots {
  display: flex;
  gap: 5px;
}
.footer__dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
}
.footer__copy {
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
}

/* ── SCROLL ANIMATIONS ──────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 768px) {
  .nav__list { display: none; }
  .nav__burger { display: flex; }

  .hero__content { max-width: 100%; }
  .hero__logo { max-width: 320px; }

  .quotes__slide p { font-size: 22px; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .journey__steps { gap: 8px; }
  .journey__step { width: 120px; }
  .journey__connector { display: none; }

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