:root {
  --green: #234D36;
  --green-dark: #183D2A;
  --green-soft: #DCEFD2;
  --green-wash: #EEF6E8;
  --cream: #F8F8EF;
  --white: #FFFFFF;
  --text: #183042;
  --muted: #66727A;
  --cyan: #E3F4F1;
  --cyan-blob: #CDE8E3;
  --gold: #E2B93B;
  --star: #E0A020;
  --line: rgba(35, 77, 54, 0.12);
  --shadow: 0 14px 40px rgba(24, 61, 42, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1220px;
  --header: 86px;
  --ease: 0.22s ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Nunito, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(220, 239, 210, 0.55), transparent 26%),
    radial-gradient(circle at 92% 4%, rgba(227, 244, 241, 0.45), transparent 22%),
    var(--cream);
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--green-dark);
  letter-spacing: -0.035em;
  font-weight: 800;
  font-family: Inter, "Segoe UI", sans-serif;
}
h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.55rem);
  line-height: 1.12;
}
h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.2;
}
p {
  margin: 0;
}
.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 248, 239, 0.92);
  backdrop-filter: blur(16px);
}
.header__bar,
.section-head,
.hero__actions,
.hero__points,
.product__bottom,
.footer__bottom,
.stat {
  display: flex;
  align-items: center;
}
.header__bar {
  min-height: var(--header);
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.logo__row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo__igor {
  background: var(--green);
  color: var(--white);
  border-radius: 9px;
  padding: 7px 11px 6px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}
.logo__school {
  color: var(--green);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.logo__tag {
  color: var(--muted);
  font-size: 0.82rem;
  padding-left: 2px;
}
.logo--light .logo__igor {
  background: #F3F7EA;
  color: var(--green-dark);
}
.logo--light .logo__school,
.logo--light .logo__tag {
  color: #EAF3E3;
}
.nav {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green);
}
.nav a,
.more {
  transition: opacity var(--ease);
}
.nav a:hover,
.more:hover {
  opacity: 0.7;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1.5px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  white-space: nowrap;
}
.btn--solid,
.icon-btn--fill {
  background: var(--green);
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(35, 77, 54, 0.28);
  color: var(--green);
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn:hover,
.icon-btn--fill:hover {
  background: var(--green-dark);
  color: var(--white);
}
.btn--ghost:hover {
  background: var(--green);
  border-color: var(--green);
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(35, 77, 54, 0.22);
  background: transparent;
  color: var(--green);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: transform var(--ease), background var(--ease);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.icon-btn:hover {
  background: var(--green-wash);
}
.icon-btn.is-pop {
  transform: scale(1.08);
}
.icon-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c45b32;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.burger {
  display: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.burger:hover {
  background: transparent;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.6px;
  margin: 3px 0;
  background: var(--green);
  border-radius: 1px;
}
/* Hero */
.hero {
  padding: 18px 0 8px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px 28px;
  align-items: center;
}
.hero__content {
  position: relative;
  z-index: 3;
  min-width: 0;
  background: transparent;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
}
.hero__lead {
  max-width: 44ch;
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
}
.hero__actions {
  gap: 12px;
  flex-wrap: wrap;
}
.hero__points {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  gap: 26px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot-icon,
.why-item__icon,
.stat__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.dot-icon svg,
.audience-card ul svg,
.why-item__icon svg,
.stat__icon svg {
  width: 18px;
  height: 18px;
}
.hero__media {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin-left: auto;
  padding: 12px 8px 48px 8px;
  overflow: visible;
}
.blob {
  position: absolute;
  background: var(--green-soft);
  z-index: 0;
}
.hero__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: 50% 12%;
}
.years-card {
  position: absolute;
  left: 8px;
  top: 58%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  border-radius: 18px;
  padding: 11px 16px 11px 11px;
  box-shadow: 0 12px 30px rgba(24, 61, 42, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.years-card__sun {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}
.years-card b,
.years-card small {
  display: block;
  line-height: 1.15;
}
.years-card b {
  color: var(--white);
  font-size: 0.95rem;
}
.years-card small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
}
.hand {
  font-family: Caveat, cursive;
  color: var(--green);
  font-weight: 700;
  line-height: 1.05;
}
.hand--hero {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: auto;
  top: auto;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  transform: rotate(-10deg);
  text-align: left;
  max-width: 12em;
  pointer-events: none;
  color: var(--green-dark);
  line-height: 1.05;
}
.hand--hero span {
  white-space: nowrap;
}
/* Shared sections */
.audience,
.products,
.why,
.author,
.reviews {
  padding: 46px 0;
}
.section-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.more {
  font-weight: 700;
  color: var(--green);
  font-size: 0.94rem;
}
.audience__grid,
.products__grid,
.reviews__grid,
.why__grid {
  display: grid;
  gap: 20px;
}
.audience__grid {
  grid-template-columns: 1fr 1fr;
}
.audience-card {
  border-radius: 32px;
  min-height: 268px;
  padding: 28px 10px 18px 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease);
}
.audience-card:hover,
.product:hover,
.review:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.audience-card--mint {
  background: linear-gradient(180deg, #EEF6E8 0%, #E3F0D8 100%);
}
.audience-card--cyan {
  background: linear-gradient(180deg, #E6F6F5 0%, #D4EEF0 100%);
}
.audience-card--peach {
  background: linear-gradient(180deg, #FFF3E8 0%, #FFE8D4 100%);
}
.audience-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: 0.75fr 1.25fr;
  min-height: 268px;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.audience-card--wide .audience-card__text {
  padding: 28px 24px 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.audience-card--wide .audience-card__visual {
  align-items: stretch;
  justify-content: stretch;
  min-height: 0;
  height: 100%;
  padding: 0;
  margin: 0;
}
.audience-card--wide .blob--card {
  display: none;
}
.audience-card--wide .audience-card__visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 55% 18%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.audience-card h3 {
  font-size: 1.55rem;
}
.audience-card__age {
  color: var(--muted);
  margin: 4px 0 14px;
  font-weight: 600;
}
.audience-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.94rem;
}
.audience-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.audience-card__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.blob--card {
  width: 200px;
  height: 200px;
  border-radius: 48% 52% 46% 54%;
  bottom: 16px;
  background: #D4EBC6;
}
.blob--cyan {
  background: var(--cyan-blob);
}
.blob--peach {
  background: #F3D5B5;
}
.audience-card__visual img {
  position: relative;
  width: 196px;
  height: 196px;
  object-fit: cover;
  object-position: 50% 8%;
  border-radius: 50%;
  z-index: 1;
}
.sun-doodle {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 50px;
  z-index: 1;
}
.products__grid {
  grid-template-columns: repeat(3, 1fr);
}
.product {
  background: var(--white);
  border-radius: 26px;
  padding: 12px 12px 18px;
  border: 1px solid rgba(35, 77, 54, 0.06);
  box-shadow: 0 8px 24px rgba(24, 61, 42, 0.04);
}
.product__image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--green-wash);
  margin-bottom: 14px;
}
.product__image img {
  width: 100%;
  height: 198px;
  object-fit: cover;
  object-position: center top;
}
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
}
.product h3 {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 2.7em;
}
.product p {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 3.2em;
}
.product__bottom {
  position: relative;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 14px;
}
.price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  line-height: 1.25;
  color: var(--text);
  min-width: 0;
  max-width: 100%;
}
.price__main {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.price__approx {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}
.price__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin-left: 0.15em;
  font-size: 0.95em;
  color: var(--muted);
  cursor: help;
  vertical-align: middle;
}
.price__note {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}
.why__grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 28px;
}
.why-item {
  padding: 0 22px;
  position: relative;
}
.why-item + .why-item {
  border-left: 1px solid var(--line);
}
.why-item__icon,
.stat__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
}
.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.why-item p,
.author__copy p,
.review p:not(.stars):not(.review__name) {
  color: var(--muted);
  font-weight: 500;
}
.author__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.2fr 0.86fr;
  gap: 36px;
  align-items: center;
}
.author__photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}
.author__photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: 50% 12%;
}
.author__copy h2 {
  margin: 6px 0 16px;
  max-width: 16ch;
}
.author__copy p + p {
  margin-top: 12px;
}
.author__copy .btn {
  margin-top: 22px;
}
.kicker--left {
  margin-bottom: 0;
}
.stats-card {
  background: var(--green-wash);
  border-radius: 28px;
  padding: 26px 22px 18px;
  display: grid;
  gap: 18px;
}
.stat {
  gap: 12px;
}
.stat b,
.stat > div span {
  display: block;
  line-height: 1.2;
}
.stat b {
  color: var(--green-dark);
  font-size: 1.25rem;
}
.stat > div span {
  color: var(--muted);
  font-size: 0.9rem;
}
.stat__icon {
  display: grid;
  place-items: center;
  margin-bottom: 0;
}
.stat__icon svg {
  display: block;
}
.hand--author {
  margin: 6px 0 0;
  font-size: 1.45rem;
  transform: rotate(-5deg);
}
.reviews__grid {
  grid-template-columns: repeat(3, 1fr);
}
.review {
  background: var(--white);
  border: 1px solid rgba(35, 77, 54, 0.06);
  border-radius: 22px;
  padding: 22px;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(24, 61, 42, 0.04);
}
.stars {
  color: var(--star);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.review p:nth-of-type(2) {
  flex: 1;
}
.review__name {
  margin-top: 16px;
  color: var(--green) !important;
  font-weight: 700;
  font-size: 0.9rem;
}
.footer {
  background: var(--green-dark);
  color: #DCE8D6;
  padding: 48px 0 20px;
  margin-top: 12px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr auto;
  gap: 28px;
  align-items: start;
}
.footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.footer a {
  display: block;
  margin: 8px 0;
  color: #D3E1CC;
  font-size: 0.92rem;
  transition: color var(--ease);
}
.footer a:hover {
  color: var(--white);
}
.footer .logo {
  margin-bottom: 8px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.socials svg {
  width: 17px;
  height: 17px;
}
.footer__bottom {
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #C5D4BC;
  font-size: 0.84rem;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 61, 42, 0.32);
  z-index: 40;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100%;
  background: var(--cream);
  z-index: 50;
  transform: translateX(104%);
  transition: transform 0.25s ease;
  padding: 22px;
}
.drawer.is-open {
  transform: none;
}
.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 10px;
}
.drawer li {
  background: var(--white);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 600;
}
.drawer__empty {
  color: var(--muted);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(24, 61, 42, 0.4);
  padding: 20px;
}
.modal__box {
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  position: relative;
}
.modal__x {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  font-size: 1.4rem;
}
.modal form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.modal label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}
.modal input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: var(--green-dark);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: var(--ease);
  z-index: 70;
  font-weight: 700;
}
.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
[hidden] {
  display: none !important;
}
/* Tablet */
@media (max-width: 1199px) {
  .container {
    width: min(calc(100% - 36px), var(--max));
  }
  .nav {
    gap: 18px;
    font-size: 0.88rem;
  }
  .header__bar {
    gap: 14px;
  }
  .hero__photo img {
    height: 400px;
  }
  .author__photo img {
    height: 400px;
  }
  .author__grid,
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .stats-card {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }
  .why-item {
    padding: 0 16px;
  }
}
/* Compact tablet / mobile nav */
@media (max-width: 1024px) {
  .nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--header) - 6px);
    background: var(--white);
    border-radius: 16px;
    flex-direction: column;
    padding: 14px 16px;
    box-shadow: var(--shadow);
    gap: 4px;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    z-index: 51;
  }
  .nav a {
    padding: 10px 8px;
    border-radius: 10px;
  }
  .nav a:hover,
  .nav a:focus-visible {
    background: var(--green-wash);
    opacity: 1;
  }
  .nav.is-open {
    display: flex;
  }
  .burger {
    display: grid;
  }
  .header {
    position: sticky;
  }
  .header__bar {
    position: relative;
    gap: 10px;
  }
  .logo__tag {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero__grid,
  .audience__grid,
  .products__grid,
  .reviews__grid,
  .why__grid,
  .author__grid,
  .footer__top,
  .audience-card,
  .stats-card {
    grid-template-columns: 1fr;
  }
  .why-item + .why-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
    margin-top: 18px;
  }
  .why-item {
    padding: 0;
  }
  .hero__media {
    width: min(100%, 480px);
    margin: 12px auto 0;
    padding: 8px 4px 48px;
    overflow: visible;
  }
  .hero__photo {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin: 0;
    clip-path: none;
  }
  .hero__photo img {
    height: clamp(380px, 92vw, 480px);
    width: 100%;
    object-fit: cover;
    object-position: 50% 12%;
  }
  .author__photo img {
    height: clamp(380px, 105vw, 480px);
    width: 100%;
    object-fit: cover;
    object-position: 50% 12%;
  }
  .years-card {
    left: 4px;
    top: 55%;
    bottom: auto;
  }
  .section-head,
  .footer__bottom,
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .audience-card {
    padding: 24px 24px 20px;
    min-height: 0;
    gap: 8px;
    align-items: start;
  }
  .audience-card__text {
    position: relative;
    z-index: 2;
  }
  .audience-card__text .btn {
    position: relative;
    z-index: 3;
  }
  .audience-card__visual {
    z-index: 1;
    margin-top: 12px;
    min-height: 180px;
    align-items: center;
    justify-content: center;
  }
  .audience-card__visual img {
    width: 168px;
    height: 168px;
  }
  .audience-card .blob--card {
    width: 176px;
    height: 176px;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .audience-card--wide {
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto !important;
    padding: 0;
  }
  .audience-card--wide .audience-card__text {
    padding: 24px 24px 8px;
  }
  .audience-card--wide .audience-card__visual {
    min-height: 200px;
    height: 200px;
    order: -1;
  }
  .audience-card--wide .audience-card__visual img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    object-position: center 12%;
  }
  .audience-card--wide .blob--card {
    display: none;
  }
  .hand--hero {
    left: auto;
    right: 0;
    top: auto;
    bottom: 4px;
    font-size: 1.15rem;
  }
  .product__bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer .socials {
    margin-top: 4px;
  }
  .modal__box {
    width: min(100%, 420px);
    margin: 16px;
    padding: 22px 18px;
  }
  .toast {
    width: min(calc(100% - 32px), 360px);
    text-align: center;
  }
}
@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }
  h1 {
    font-size: clamp(1.55rem, 7vw, 1.85rem);
  }
  h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
  }
  .hero__points {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
  }
  .btn--sm.btn--solid[href="#login"],
  .header__right .btn--solid {
    display: none;
  }
  .products__grid {
    grid-template-columns: 1fr;
  }
  .product__bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .product__bottom .btn {
    width: 100%;
  }
  .price__main {
    font-size: 1.15rem;
  }
  .price__approx {
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }
  .stats-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .drawer {
    width: min(100vw, 100%);
    padding: 18px 16px;
    padding-top: max(18px, env(safe-area-inset-top));
  }
  .footer {
    padding: 36px 0 max(20px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 20px), var(--max));
  }
  .header__bar {
    min-height: 70px;
  }
  .logo__igor,
  .logo__school {
    font-size: 1rem;
  }
  .logo__igor {
    padding: 6px 10px 5px;
  }
  .icon-btn {
    width: 40px;
    height: 40px;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .review,
  .product {
    border-radius: 16px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .products__grid {
    grid-template-columns: 1fr 1fr;
  }
  .why__grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-item + .why-item {
    border-left: 0;
  }
  .why-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}
/* Active nav link */
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1.5px;
}

/* Buy popup (index + store) */
.buy-pop {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: min(260px, 78vw);
  padding: 0.85rem 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(35, 77, 54, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(24, 61, 42, 0.16);
}

.buy-pop__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.buy-pop__title {
  margin: 0 0 0.65rem;
  padding-right: 1.2rem;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.buy-pop__actions {
  display: grid;
  gap: 0.45rem;
}

.buy-pop__btn {
  width: 100%;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 0.55rem 0.75rem;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.buy-pop__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.buy-pop__btn--wa {
  background: #2f9e4b;
  color: #fff;
  border: none;
}

.buy-pop__btn--wa:hover {
  background: #268540;
  color: #fff;
}

.buy-pop__btn--tg {
  background: #234d36;
  color: #fff;
  border: none;
}

.buy-pop__btn--tg:hover {
  background: #1a3a28;
  color: #fff;
}

@media (max-width: 640px) {
  .buy-pop {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 92vw);
  }
}


