:root {
  --tea-bg: #f8fef5;
  --tea-text: #01342e;
  --tea-accent: #72c26c;
  --tea-accent-deep: #5d895a;
  --tea-light: #f6fbf3;
  --tea-shadow: 0 24px 70px rgba(1, 52, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #444444;
  color: var(--tea-text);
}

body.tea-menu-open {
  overflow: hidden;
}

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

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

.tea-page {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: var(--tea-bg);
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.22);
  position: relative;
}

.tea-decor {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.tea-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  background: linear-gradient(180deg, var(--tea-accent-deep), var(--tea-accent));
  border-bottom: 1px solid rgba(248, 254, 245, 0.75);
}

.tea-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 44px;
}

.tea-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tea-header__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tea-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.tea-lang {
  border: 1px solid rgba(1, 52, 46, 0.24);
  background: var(--tea-bg);
  color: var(--tea-text);
  border-radius: 8px;
  height: 29px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.tea-burger {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(1, 52, 46, 0.2);
  border-radius: 8px;
  background: var(--tea-bg);
  cursor: pointer;
}

.tea-burger span {
  display: block;
  width: 14px;
  height: 2px;
  margin: 3px auto;
  background: var(--tea-text);
  border-radius: 999px;
}

.tea-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.tea-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 180ms ease;
}

.tea-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 393px);
  height: 100%;
  padding: 14px 12px 28px;
  background: linear-gradient(180deg, #5d895a 0%, #72c26c 100%);
  color: #fff;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.tea-mobile-menu.is-open {
  pointer-events: auto;
}

.tea-mobile-menu.is-open .tea-mobile-menu__backdrop {
  opacity: 1;
}

.tea-mobile-menu.is-open .tea-mobile-menu__panel {
  transform: translateX(0);
}

.tea-mobile-menu__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(248, 254, 245, 0.6);
}

.tea-mobile-menu__close {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--tea-bg);
  cursor: pointer;
}

.tea-mobile-menu__close span {
  position: absolute;
  top: 19px;
  left: 10px;
  width: 20px;
  height: 2px;
  background: var(--tea-text);
  border-radius: 999px;
}

.tea-mobile-menu__close span:first-child {
  transform: rotate(45deg);
}

.tea-mobile-menu__close span:last-child {
  transform: rotate(-45deg);
}

.tea-mobile-menu__leaves {
  position: absolute;
  right: -12px;
  top: 80px;
  width: 280px;
  height: auto;
  opacity: 0.95;
}

.tea-mobile-menu__section {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.tea-mobile-menu__section h3 {
  margin: 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.tea-mobile-menu__nav {
  display: grid;
  gap: 10px;
}

.tea-mobile-menu__nav a,
.tea-mobile-menu__section > a {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 500;
}

.tea-section {
  position: relative;
  padding: 84px 32px;
}

.tea-hero {
  position: relative;
  min-height: 1110px;
  padding: 48px 32px 90px;
  background:
    linear-gradient(180deg, rgba(10, 10, 6, 0.62), rgba(10, 10, 6, 0.08)),
    url("https://images.unsplash.com/photo-1523920290228-4f321a939b4c?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
}

.tea-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -120px;
  height: 260px;
  background: var(--tea-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.tea-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.14), transparent 44%);
}

.tea-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.tea-hero__content {
  padding-top: 20px;
  color: #fff;
}

.tea-hero__content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-transform: uppercase;
}

.tea-hero__lead {
  max-width: 600px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.92);
}

.tea-hero__aside {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.tea-hero__aside p {
  width: 307px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.32;
}

.tea-packshot {
  width: min(100%, 452px);
}

.tea-packshot img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 32px 40px rgba(0, 0, 0, 0.25));
}

.tea-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tea-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--tea-text);
  font-size: 14px;
  font-weight: 700;
}

.tea-button--primary {
  background: var(--tea-accent);
  color: var(--tea-text);
}

.tea-button--secondary {
  background: var(--tea-bg);
  color: var(--tea-text);
}

.tea-section__head {
  max-width: 840px;
  margin: 0 auto 32px;
  text-align: center;
}

.tea-section__head--catalog {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
}

.tea-section__head h2,
.tea-advantages h2,
.tea-map__copy h2,
.tea-section--cta h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 5.18rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.tea-section__head p,
.tea-about__copy p,
.tea-catalog-copy,
.tea-map__copy p,
.tea-section--cta p {
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.35;
  font-weight: 600;
}

.tea-about {
  display: grid;
  gap: 20px;
  justify-items: center;
  position: relative;
  z-index: 2;
}

.tea-about__media {
  width: min(100%, 563px);
}

.tea-about__media img {
  width: 100%;
  aspect-ratio: 563 / 316;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid var(--tea-text);
  box-shadow: var(--tea-shadow);
}

.tea-about__copy {
  max-width: 760px;
  text-align: center;
}

.tea-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(1, 52, 46, 0.4);
  position: relative;
  z-index: 2;
}

.tea-stat,
.tea-advantage {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.tea-stat span,
.tea-advantage span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
}

.tea-stat strong,
.tea-advantage p {
  margin: 0;
  font-size: 16px;
  line-height: 1.14;
  font-weight: 600;
}

.tea-advantages {
  position: relative;
  min-height: 760px;
  padding: 28px;
  overflow: hidden;
  border-radius: 96px;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.34)),
    url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  box-shadow: var(--tea-shadow);
}

.tea-advantages__center {
  width: 280px;
  margin: 20px auto 24px;
}

.tea-advantages__center img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(248, 254, 245, 0.9);
}

.tea-advantages__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 254, 245, 0.24);
}

.tea-product-grid {
  display: grid;
  grid-template-columns: 256px 256px 352px 256px 256px;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

.tea-product-card {
  overflow: hidden;
  background: linear-gradient(180deg, var(--tea-accent-deep), var(--tea-accent));
  box-shadow: var(--tea-shadow);
}

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

.tea-product-card--small {
  height: 292px;
  border-radius: 12px;
}

.tea-product-card--large {
  height: 380px;
  border-radius: 16px;
}

.tea-product-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

.tea-arrow {
  width: 34px;
  height: 52px;
  border: 2px solid transparent;
  background: transparent;
  color: transparent;
  background-image: url("./assets/tea-kit/Expand_down_light.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  cursor: pointer;
}

.tea-arrow:first-child {
  transform: rotate(90deg);
}

.tea-arrow:last-child {
  transform: rotate(-90deg);
}

.tea-product-meta__copy {
  text-align: center;
}

.tea-product-meta__copy strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.tea-product-meta__copy span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.15;
}

.tea-catalog-copy {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.tea-map {
  position: relative;
  min-height: 350px;
  padding: 36px 34px;
  overflow: hidden;
  border-radius: 96px;
  color: #fff;
  background: url("./assets/tea/map-background.png") center/cover no-repeat;
  box-shadow: var(--tea-shadow);
}

.tea-map__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(334deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.24) 100%), rgba(0, 0, 0, 0.3);
}

.tea-map__copy {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.tea-country-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 16px 0 18px auto;
}

.tea-country-row__flag {
  display: block;
}

.tea-country-row__flag--kz {
  width: 46px;
}

.tea-country-row__flag--ru {
  width: 28px;
}

.tea-country-row__count {
  width: 28px;
}

.tea-section--cta {
  text-align: center;
}

.tea-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 22px;
  padding: 34px 32px 22px;
  background: linear-gradient(180deg, var(--tea-accent-deep), var(--tea-accent));
  color: #fff;
  border-top: 1px solid rgba(248, 254, 245, 0.7);
}

.tea-logo--footer {
  align-self: start;
  width: 140px;
  height: auto;
}

.tea-footer__column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.tea-footer__column h3 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1;
}

.tea-footer__column a,
.tea-footer__column p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.tea-socials {
  display: flex;
  gap: 10px;
}

.tea-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(248, 254, 245, 0.5);
  background: rgba(248, 254, 245, 0.15);
  font-size: 12px;
  font-weight: 700;
}

.tea-socials--menu a {
  width: 40px;
  height: 40px;
  font-size: 12px;
}

.tea-decor--hero-left {
  left: -90px;
  bottom: 110px;
  width: 360px;
  opacity: 0.98;
}

.tea-decor--hero-right {
  right: -70px;
  bottom: 120px;
  width: 320px;
  transform: scaleX(-1);
  opacity: 0.98;
}

.tea-decor--about-left {
  left: -120px;
  top: -10px;
  width: 320px;
}

.tea-decor--about-right {
  right: -120px;
  top: 110px;
  width: 320px;
  transform: scaleX(-1);
}

.tea-decor--catalog-left {
  left: -130px;
  top: 300px;
  width: 340px;
}

.tea-decor--catalog-right {
  right: -40px;
  bottom: 20px;
  width: 260px;
}

.tea-decor--cta-left {
  left: -100px;
  top: -20px;
  width: 260px;
}

.tea-decor--cta-right {
  right: -100px;
  top: -10px;
  width: 260px;
  transform: scaleX(-1);
}

@media (max-width: 1280px) {
  .tea-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .tea-product-card--large {
    grid-column: span 3;
  }

  .tea-stats,
  .tea-advantages__list,
  .tea-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .tea-header {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .tea-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tea-section,
  .tea-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tea-hero {
    min-height: auto;
    padding: 36px 20px 72px;
  }

  .tea-hero__inner,
  .tea-section__head--catalog {
    grid-template-columns: 1fr;
    display: grid;
  }

  .tea-hero__aside {
    justify-items: start;
  }

  .tea-hero__aside p {
    width: auto;
  }

  .tea-packshot {
    width: min(100%, 360px);
  }

  .tea-advantages,
  .tea-map {
    border-radius: 36px;
  }

  .tea-advantages {
    min-height: 820px;
  }

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

  .tea-map {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .tea-page {
    width: 100%;
    box-shadow: none;
  }

  .tea-header {
    flex-wrap: nowrap;
    padding: 14px 12px;
  }

  .tea-nav {
    display: none;
  }

  .tea-lang {
    height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .tea-burger {
    display: inline-block;
  }

  .tea-logo {
    width: 64px;
    height: 30px;
  }

  .tea-hero h1 {
    font-size: 29px;
    line-height: 0.96;
  }

  .tea-hero__lead,
  .tea-hero__aside p,
  .tea-section__head p,
  .tea-about__copy p,
  .tea-catalog-copy,
  .tea-map__copy p,
  .tea-section--cta p {
    font-size: 16px;
  }

  .tea-section__head h2,
  .tea-advantages h2,
  .tea-map__copy h2,
  .tea-section--cta h2,
  .tea-footer__column h3 {
    font-size: 28px;
    line-height: 1.05;
  }

  .tea-button {
    min-height: 36px;
    font-size: 11px;
    padding: 0 18px;
  }

  .tea-hero {
    background-position: center top;
    padding: 18px 12px 42px;
  }

  .tea-hero__inner {
    gap: 10px;
  }

  .tea-hero__lead {
    max-width: 250px;
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.28;
  }

  .tea-actions {
    margin-top: 14px;
    gap: 6px;
  }

  .tea-hero__aside {
    justify-items: start;
    gap: 10px;
  }

  .tea-hero__aside p {
    width: 155px;
    font-size: 10px;
    line-height: 1.18;
  }

  .tea-packshot {
    width: 132px;
  }

  .tea-section {
    padding: 42px 12px;
  }

  .tea-section__head {
    margin-bottom: 18px;
  }

  .tea-about__media {
    width: min(100%, 250px);
  }

  .tea-stats {
    gap: 10px 4px;
  }

  .tea-stat span,
  .tea-advantage span {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .tea-product-grid,
  .tea-stats,
  .tea-advantages__list,
  .tea-footer {
    grid-template-columns: 1fr;
  }

  .tea-product-card--large {
    grid-column: auto;
  }

  .tea-product-card--small,
  .tea-product-card--large {
    height: auto;
  }

  .tea-product-grid {
    max-width: 120px;
    margin: 18px auto 0;
  }

  .tea-product-grid .tea-product-card--small {
    display: none;
  }

  .tea-product-grid .tea-product-card--large {
    display: block;
    border-radius: 8px;
  }

  .tea-product-meta {
    gap: 14px;
    margin-top: 12px;
  }

  .tea-product-meta__copy strong {
    font-size: 18px;
  }

  .tea-product-meta__copy span,
  .tea-stat strong,
  .tea-advantage p {
    font-size: 10px;
  }

  .tea-advantages__center {
    width: 126px;
  }

  .tea-advantages {
    min-height: 356px;
    padding: 16px 14px 18px;
    border-radius: 24px;
  }

  .tea-flags {
    width: 130px;
    margin: 12px 0 14px auto;
  }

  .tea-country-row {
    margin: 10px 0 12px auto;
  }

  .tea-country-row__flag--kz {
    width: 32px;
  }

  .tea-country-row__flag--ru,
  .tea-country-row__count {
    width: 20px;
  }

  .tea-map {
    min-height: 170px;
    padding: 14px;
    border-radius: 20px;
  }

  .tea-map__copy {
    max-width: 190px;
  }

  .tea-catalog-copy,
  .tea-map__copy p,
  .tea-section--cta p,
  .tea-about__copy p {
    font-size: 10px;
    line-height: 1.28;
  }

  .tea-footer {
    gap: 18px;
    padding: 20px 12px 16px;
  }

  .tea-logo--footer {
    width: 112px;
  }

  .tea-mobile-menu__panel {
    padding-bottom: 36px;
  }

  .tea-mobile-menu__section {
    margin-top: 22px;
  }

  .tea-mobile-menu__section h3 {
    font-size: 28px;
  }

  .tea-mobile-menu__nav a,
  .tea-mobile-menu__section > a {
    font-size: 14px;
  }

  .tea-mobile-menu__leaves {
    width: 210px;
    top: 76px;
  }

  .tea-mobile-menu__panel {
    width: 100%;
  }

  .tea-decor--hero-left {
    left: -120px;
    bottom: 20px;
    width: 220px;
  }

  .tea-decor--hero-right {
    right: -120px;
    bottom: 30px;
    width: 220px;
  }

  .tea-decor--about-left {
    left: -120px;
    top: -20px;
    width: 220px;
  }

  .tea-decor--about-right {
    right: -130px;
    top: 110px;
    width: 220px;
  }

  .tea-decor--catalog-left {
    left: -120px;
    top: 180px;
    width: 220px;
  }

  .tea-decor--catalog-right {
    right: -110px;
    bottom: 100px;
    width: 180px;
  }

  .tea-decor--cta-left,
  .tea-decor--cta-right {
    width: 180px;
  }
}
