.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: transparent;
  transition: background-color .4s, box-shadow .4s;
}

.header.scroll-header {
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  font-family: var(--display-font);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--title-color);
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--accent);
}

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

.nav__list {
  display: flex;
  gap: clamp(14px, 2vw, 32px);
}

.nav__link {
  color: var(--title-color);
  font-size: var(--smaller-font-size);
  letter-spacing: 1.5px;
  font-weight: var(--font-medium);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--accent);
}

.nav__btns {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.nav__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--title-color);
  cursor: pointer;
  transition: border-color .3s, color .3s;
}

.nav__icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) clamp(20px, 5vw, 64px) 7rem;
  background: radial-gradient(ellipse at 50% 40%, var(--bg-alt) 0%, var(--bg-color) 65%);
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: clamp(30px, 4vw, 60px) 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  flex: 1;
}

.hero__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  justify-content: center;
}

.hero__rail-line {
  width: 1px;
  height: 80px;
  background: var(--line-color);
}

.hero__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-color);
  cursor: pointer;
  transition: background .3s;
}

.hero__dot.active {
  background: var(--accent);
}

.hero__dot.active::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--accent);
}

.hero__counter {
  font-size: var(--small-font-size);
  letter-spacing: 2px;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  margin-top: 8px;
}

.hero__slides {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 420px;
}

.hero__wordmark {
  font-family: var(--display-font);
  font-size: clamp(9.5rem, 15vw, 15rem);
  line-height: 1;
  letter-spacing: 4px;
  color: var(--accent);
  opacity: .9;
  text-shadow: 0 0 60px var(--accent-glow);
  white-space: nowrap;
  user-select: none;
  position: relative;
  transform: translateY(-38%);
}

.hero__product-img {
  position: absolute;
  width: clamp(650px, 17vw, 760px);
  max-height: clamp(660px, 30vw, 740px);
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
}

.hero__data {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hero__badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero__badge-brand {
  background: var(--accent);
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: 2px;
  padding: 6px 16px;
  white-space: nowrap;
}

.hero__badge-category {
  border: 1px solid var(--line-color);
  border-left: none;
  color: var(--title-color);
  font-family: var(--display-font);
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: 2px;
  padding: 6px 16px;
  white-space: nowrap;
}

.hero__divider {
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  width: 100%;
}

.hero__description {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__copy {
  position: absolute;
  bottom: 40px;
  left: clamp(20px, 5vw, 64px);
  font-size: var(--smaller-font-size);
  letter-spacing: 1px;
  color: var(--text-faint);
}

.hero__arrows {
  position: absolute;
  bottom: 32px;
  right: clamp(20px, 5vw, 64px);
  display: flex;
  gap: 12px;
}

.hero__arrow {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
  transition: background .3s, color .3s;
}

.hero__arrow:hover {
  background: var(--accent);
  color: #fff;
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 72px;
}

.section__header--center {
  align-items: center;
  text-align: center;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 24px;
  transition: border-color .3s, transform .3s;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.product-card__img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
}

.product-card__img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.product-card__category {
  font-size: var(--smaller-font-size);
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
}

.product-card__name {
  font-family: var(--display-font);
  font-size: 1.625rem;
  letter-spacing: 1px;
  color: var(--title-color);
  font-weight: 400;
}

.product-card__description {
  font-size: var(--small-font-size);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.product-card__whatsapp {
  font-size: var(--smaller-font-size);
  letter-spacing: 1.5px;
  font-weight: var(--font-semibold);
  color: var(--whatsapp-color);
  text-transform: uppercase;
}

.product-card__whatsapp:hover {
  color: var(--whatsapp-color-alt);
}

.products__view-all {
  text-align: center;
  margin-top: 64px;
}

.story {
  background: var(--bg-alt);
}

.story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.story__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.story__timeline {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.story__milestone {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
}

.story__year {
  font-family: var(--display-font);
  font-size: 2.625rem;
  color: var(--accent);
  line-height: 1;
}

.story__milestone-title {
  font-size: 1.063rem;
  font-weight: var(--font-semibold);
  color: var(--title-color);
  margin-bottom: 6px;
}

.story__milestone-text {
  font-size: var(--normal-font-size);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.story__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 56px;
}

.about__lead {
  font-size: 1.063rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}

.about__stats {
  display: flex;
  gap: clamp(40px, 8vw, 96px);
  flex-wrap: wrap;
  justify-content: center;
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about__stat-value {
  font-family: var(--display-font);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}

.about__stat-label {
  font-size: var(--small-font-size);
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact {
  background: var(--bg-alt);
  padding-top: 0;
  padding-bottom: 0;
}

.contact__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 6vw, 96px);
}

.contact__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 420px;
  margin-top: 12px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-top: 24px;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.contact__info-item i {
  color: var(--accent);
  font-size: 1.125rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-color);
  color: var(--title-color);
  font-size: 1rem;
  padding: 12px 0;
  outline: none;
  transition: border-color .3s;
}

.contact__input:focus {
  border-bottom-color: var(--accent);
}

.contact__textarea {
  resize: none;
  font-family: var(--body-font);
}

.contact__submit {
  margin-top: 12px;
  width: fit-content;
}

.contact__submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.footer {
  margin-top: clamp(60px, 10vw, 140px);
  border-top: 1px solid var(--line-soft);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--display-font);
  font-size: 1.375rem;
  letter-spacing: 2px;
  color: var(--title-color);
}

.footer__logo span {
  color: var(--accent);
}

.footer__links {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}

.footer__link {
  color: var(--text-muted);
  font-size: var(--smaller-font-size);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.footer__copy {
  font-size: var(--smaller-font-size);
  color: var(--text-faint);
}

.scrollup {
  position: fixed;
  right: 1.5rem;
  bottom: -30%;
  background-color: var(--surface-2);
  display: inline-flex;
  padding: .5rem;
  border-radius: 6px;
  z-index: var(--z-tooltip);
  opacity: .85;
  transition: bottom .4s, opacity .3s;
}

.scrollup:hover {
  opacity: 1;
}

.scrollup__icon {
  font-size: 1.25rem;
  color: var(--accent);
}

.show-scroll {
  bottom: 3rem;
}

.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 0;
  font-size: 2rem;
  color: var(--accent);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: var(--small-font-size);
}

@media screen and (max-width: 920px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 100%);
    height: 100vh;
    background-color: var(--bg-alt);
    padding: 6rem 2.5rem;
    transition: right .3s ease;
    z-index: var(--z-fixed);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 9rem;
  }

  .hero__slide {
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
  }

  .hero__slides {
    min-height: auto;
  }

  .hero__slide {
    position: absolute;
    inset: 0;
  }

  .hero__slides {
    min-height: 700px;
  }

  .hero__visual {
    min-height: 320px;
  }

  .hero__copy {
    display: none;
  }

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

  .story__img {
    height: 360px;
  }

  .story__milestone {
    grid-template-columns: 80px 1fr;
  }

  .story__year {
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__rail {
    display: none;
  }

  .hero__counter {
    writing-mode: horizontal-tb;
    margin-top: 0;
    margin-left: 8px;
  }

  .hero__slides {
    min-height: 640px;
  }

  .hero__arrow {
    width: 46px;
    height: 46px;
  }

  .hero__badge-brand,
  .hero__badge-category {
    font-size: 1.25rem;
  }
}
