:root {
  --bg: #f4f1ee;
  --surface: #ffffff;
  --surface-muted: #efe7e2;
  --surface-strong: #1f1615;
  --text: #211917;
  --text-soft: #5f514d;
  --border: rgba(88, 39, 31, 0.12);
  --accent: #6d1a13;
  --accent-strong: #8a231b;
  --accent-soft: rgba(109, 26, 19, 0.08);
  --shadow: 0 16px 48px rgba(49, 20, 16, 0.08);
  --radius: 18px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(109, 26, 19, 0.06), transparent 32%),
    linear-gradient(180deg, #fbf8f6 0%, var(--bg) 30%, #efe8e3 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(251, 248, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 12px 34px rgba(33, 25, 23, 0.08);
  border-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 56px;
  width: auto;
  padding: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--accent);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  width: 100%;
}

.nav__langs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.nav__langs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav__langs button:hover,
.nav__langs button:focus-visible {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav__langs button.active {
  border-color: var(--accent);
  opacity: 1;
}

.nav__langs img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
}

.nav__toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--accent);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 14px 30px rgba(109, 26, 19, 0.24);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 18px 36px rgba(109, 26, 19, 0.28);
}

.btn--outline {
  color: var(--accent);
  border: 2px solid rgba(109, 26, 19, 0.28);
  background: rgba(255, 255, 255, 0.7);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(109, 26, 19, 0.08);
}

main {
  overflow: hidden;
}

section {
  padding: 88px 0;
}

.section__header {
  margin-bottom: 42px;
  text-align: center;
}

.section__header--compact {
  margin-bottom: 28px;
}

.section__title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.section__subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.hero {
  padding-top: 108px;
}

.hero__banner {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 24px;
}

.hero__banner img {
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.hero__overlay {
  padding: 40px 0 10px;
  text-align: center;
}

.hero__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(109, 26, 19, 0.12);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__badge--trial {
  color: var(--accent);
  background: rgba(109, 26, 19, 0.08);
}

.hero__tagline {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__desc {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.9vw, 1.15rem);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.features {
  padding-top: 68px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card,
.store-card,
.buy__soon,
.trial__card {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(49, 20, 16, 0.1);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
}

.feature-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.feature-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  margin: 44px 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.feature-photo--reverse {
  direction: rtl;
}

.feature-photo--reverse > * {
  direction: ltr;
}

.feature-photo__img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.feature-photo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 236, 0.96));
}

.feature-photo__text h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.feature-photo__text p {
  color: var(--text-soft);
}

.carousel-section {
  padding-top: 28px;
  background: transparent;
}

.carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel__track {
  position: relative;
  flex: 1;
  height: 340px;
  overflow: visible;
}

.carousel__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transition: transform 0.55s ease, opacity 0.55s ease, box-shadow 0.55s ease;
  box-shadow: 0 12px 36px rgba(33, 25, 23, 0.12);
}

.carousel__slide img {
  width: 320px;
  height: 200px;
  object-fit: cover;
}

.carousel__slide--active {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  z-index: 3;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 24px 44px rgba(33, 25, 23, 0.18);
}

.carousel__slide--active img {
  width: 520px;
  height: 320px;
}

.carousel__slide--prev {
  opacity: 0.7;
  z-index: 2;
  transform: translate(calc(-50% - 390px), -50%) scale(0.84);
}

.carousel__slide--next {
  opacity: 0.7;
  z-index: 2;
  transform: translate(calc(-50% + 390px), -50%) scale(0.84);
}

.carousel__slide--far-prev {
  opacity: 0.25;
  z-index: 1;
  transform: translate(calc(-50% - 680px), -50%) scale(0.64);
}

.carousel__slide--far-next {
  opacity: 0.25;
  z-index: 1;
  transform: translate(calc(-50% + 680px), -50%) scale(0.64);
}

.carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(109, 26, 19, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.carousel__btn:hover,
.carousel__btn:focus-visible {
  color: #fff;
  background: var(--accent);
  transform: translateY(-1px);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(109, 26, 19, 0.2);
  cursor: pointer;
}

.carousel__dot--active {
  transform: scale(1.2);
  background: var(--accent);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 13, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox__img {
  max-width: min(92vw, 1240px);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

.gallery {
  padding-top: 28px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  min-height: 260px;
  box-shadow: var(--shadow);
}

.gallery__item--wide {
  grid-column: 1 / -1;
  min-height: 340px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 20px 18px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 8, 8, 0.84) 100%);
}

.trial {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(109, 26, 19, 0.04));
}

.trial__card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 26px;
  padding: 34px;
  border-radius: calc(var(--radius) + 4px);
}

.trial__eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trial__main h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.trial__copy {
  max-width: 640px;
  margin-bottom: 20px;
  color: var(--text-soft);
}

.trial__meta {
  display: grid;
  gap: 14px;
  align-content: start;
}

.trial__meta-item {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(109, 26, 19, 0.05);
  border: 1px solid rgba(109, 26, 19, 0.08);
}

.trial__meta-label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trial__meta-value {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
}

.trial__note {
  margin-top: 18px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.buy__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.store-card {
  min-width: 220px;
  padding: 28px 34px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.store-card:hover {
  transform: translateY(-3px);
}

.store-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  color: var(--accent);
  background: var(--accent-soft);
}

.store-card h4 {
  margin-bottom: 6px;
}

.store-card p,
.buy__soon {
  color: var(--text-soft);
}

.buy__soon {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px;
  border-radius: var(--radius);
  text-align: center;
}

.about__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about__content p {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq__q::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.faq__item.open .faq__q::after {
  content: "\2212";
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.open .faq__a {
  max-height: 320px;
}

.faq__a p {
  padding: 0 0 20px;
  color: var(--text-soft);
}

.footer {
  padding: 42px 0;
  background: #1d1615;
  color: rgba(255, 255, 255, 0.72);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__brand {
  max-width: 340px;
}

.footer__brand img {
  height: 42px;
  margin-bottom: 12px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.56);
}

.footer__col h4 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__col a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer__col a:hover,
.footer__col a:focus-visible {
  color: #fff;
}

.footer__bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 960px) {
  .trial__card {
    grid-template-columns: 1fr;
  }

  .carousel__track {
    height: 300px;
  }

  .carousel__slide--active img {
    width: 420px;
    height: 260px;
  }

  .carousel__slide--prev {
    transform: translate(calc(-50% - 300px), -50%) scale(0.82);
  }

  .carousel__slide--next {
    transform: translate(calc(-50% + 300px), -50%) scale(0.82);
  }

  .carousel__slide--far-prev,
  .carousel__slide--far-next {
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(33, 25, 23, 0.12);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding: 14px 20px;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__langs {
    margin: 10px 20px 0;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .hero {
    padding-top: 98px;
  }

  .hero__overlay {
    padding-top: 30px;
  }

  .feature-photo,
  .feature-photo--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .feature-photo__img img {
    min-height: 240px;
  }

  .feature-photo__text {
    padding: 28px 24px;
  }

  .carousel {
    gap: 8px;
  }

  .carousel__track {
    height: 220px;
  }

  .carousel__slide img {
    width: 200px;
    height: 126px;
  }

  .carousel__slide--active img {
    width: 280px;
    height: 176px;
  }

  .carousel__slide--prev {
    transform: translate(calc(-50% - 220px), -50%) scale(0.78);
  }

  .carousel__slide--next {
    transform: translate(calc(-50% + 220px), -50%) scale(0.78);
  }

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

  .gallery__item--wide {
    grid-column: auto;
    min-height: 260px;
  }

  .trial__card {
    padding: 24px;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .carousel__btn {
    width: 40px;
    height: 40px;
  }

  .carousel__slide--prev,
  .carousel__slide--next {
    display: none;
  }

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