:root {
  --ink: #173044;
  --muted: #627482;
  --line: #dce8ec;
  --water: #0a8eb8;
  --water-dark: #066987;
  --leaf: #6cad59;
  --mist: #f1f8fa;
  --ice: #fbfdfe;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(26, 74, 96, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ice);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 232, 236, 0.8);
  background: rgba(251, 253, 254, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(23, 48, 68, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(23, 48, 68, 0.12);
}

.brand-mark img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 18px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: inline-flex;
  width: max-content;
  justify-self: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(220, 232, 236, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.main-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: #415766;
  font-weight: 760;
  font-size: 14px;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.main-nav a:hover {
  color: var(--water-dark);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(26, 74, 96, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.lang-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
}

.lang-switch button.active {
  color: var(--white);
  background: var(--ink);
}

.header-phone {
  color: var(--water-dark);
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 75px);
  grid-template-columns: minmax(0, 1fr) minmax(290px, 520px);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 7vw, 96px);
  background:
    linear-gradient(105deg, rgba(251, 253, 254, 0.98) 0%, rgba(241, 248, 250, 0.94) 56%, rgba(220, 242, 247, 0.82) 100%),
    linear-gradient(145deg, #ffffff 0%, #e7f6f8 52%, #dff2ec 100%);
}

.hero::after {
  position: absolute;
  right: -8vw;
  bottom: -16vw;
  width: 48vw;
  max-width: 680px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(10, 142, 184, 0.1);
  content: "";
}

.hero::before {
  position: absolute;
  top: 12%;
  right: 12%;
  width: 170px;
  aspect-ratio: 1;
  border: 1px solid rgba(10, 142, 184, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  content: "";
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--water-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--water-dark);
  box-shadow: 0 14px 28px rgba(6, 105, 135, 0.2);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.detail-button {
  margin-top: 18px;
}

.hero-visual {
  display: grid;
  min-height: 520px;
  place-items: center;
}

.hero-visual img {
  width: min(440px, 100%);
  aspect-ratio: 0.78;
  padding: 10px;
  border: 1px solid rgba(220, 232, 236, 0.95);
  border-radius: 26px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 26px 70px rgba(23, 48, 68, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px clamp(18px, 7vw, 96px);
  background: var(--white);
  border-block: 1px solid rgba(220, 232, 236, 0.8);
}

.stats-band div {
  padding: 24px;
  border: 1px solid rgba(220, 232, 236, 0.92);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f5fbfc);
  box-shadow: 0 14px 32px rgba(26, 74, 96, 0.07);
}

.stats-band strong {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 7vw, 96px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 6vw, 76px);
}

.section-copy p:not(.eyebrow),
.order-copy p,
.product-info p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.source-panel {
  display: grid;
  gap: 14px;
}

.source-panel div,
.steps div,
.bot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.source-panel div {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.source-panel div::after {
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(10, 142, 184, 0.08);
  content: "";
}

.source-panel span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.source-panel strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.product-section {
  background: var(--mist);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.product {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), #ffffff),
    var(--white);
  box-shadow: 0 18px 48px rgba(26, 74, 96, 0.08);
}

.product-image {
  display: grid;
  min-height: 370px;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(10, 142, 184, 0.12), transparent 64%),
    #f8fcfd;
}

.product-image img {
  width: min(340px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(23, 48, 68, 0.14);
}

.badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--water-dark);
  background: #e1f4f8;
  font-weight: 850;
}

.product-info h3 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 48px);
}

.old-price {
  color: var(--muted);
  font-size: 20px;
  text-decoration: line-through;
}

.price-row strong {
  font-size: 34px;
}

.delivery {
  display: grid;
  gap: 34px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps div {
  padding: 24px;
}

.steps span {
  display: block;
  margin-bottom: 20px;
  color: var(--leaf);
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: #eaf6f8;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bot-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--water-dark);
  font-size: 20px;
  font-weight: 900;
}

.bot-card {
  display: block;
  width: min(100%, 520px);
  justify-self: end;
  overflow: hidden;
  color: var(--ink);
  background: #f5fafb;
}

.bot-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.bot-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--water);
  font-weight: 900;
}

.bot-topbar small,
.bot-input span {
  display: block;
  color: var(--muted);
}

.bot-chat {
  min-height: 260px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(10, 142, 184, 0.1), rgba(108, 173, 89, 0.16)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.28) 0 8px, transparent 8px 18px);
}

.bot-message {
  display: grid;
  width: min(100%, 360px);
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  border-bottom-left-radius: 2px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(23, 48, 68, 0.14);
}

.bot-message strong {
  font-size: 18px;
}

.bot-message span {
  color: var(--ink);
}

.bot-input {
  padding: 14px 16px;
  border-top: 1px solid rgba(220, 232, 236, 0.8);
  background: var(--white);
}

.bot-menu {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #f0f4f5;
}

.bot-menu span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 7vw, 96px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-style: normal;
  font-weight: 800;
}

.source-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(54px, 8vw, 98px) clamp(18px, 7vw, 96px);
  background:
    linear-gradient(115deg, rgba(251, 253, 254, 0.98), rgba(226, 245, 248, 0.9)),
    linear-gradient(145deg, #ffffff 0%, #e7f6f8 55%, #dff2ec 100%);
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--water-dark);
  font-weight: 850;
}

.source-hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.source-hero-card img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.source-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.source-mini-stats span {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--white);
}

.source-mini-stats strong {
  font-size: 24px;
}

.source-mini-stats small {
  color: var(--muted);
}

.source-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
}

.source-intro p:not(.eyebrow),
.recommendation-section p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.composition-table {
  display: grid;
  gap: 10px;
}

.composition-table div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 110px 80px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.composition-table strong {
  color: var(--ink);
}

.composition-table span {
  color: var(--water-dark);
  font-size: 20px;
  font-weight: 900;
}

.composition-table small {
  color: var(--muted);
  font-weight: 750;
}

.minerals-section {
  background: var(--mist);
}

.mineral-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mineral-cards article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mineral-cards span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--water-dark);
  font-size: 20px;
  font-weight: 900;
}

.mineral-cards h3 {
  margin-top: 22px;
}

.mineral-cards p {
  color: var(--muted);
}

.recommendation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.recommendation-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rec;
}

.recommendation-list li {
  position: relative;
  min-height: 72px;
  padding: 18px 18px 18px 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(26, 74, 96, 0.08);
}

.recommendation-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--leaf);
  content: counter(rec);
  counter-increment: rec;
  font-weight: 900;
}

.source-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: var(--ink);
}

.source-cta .eyebrow {
  color: #9ddfed;
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: flex !important;
    flex: 0 0 42px;
    position: fixed;
    top: 12px;
    right: 14px;
    z-index: 60;
    justify-self: end;
    border-color: var(--ink);
    background: var(--ink);
  }

  .nav-toggle span {
    background: var(--white);
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-actions {
    display: flex;
    width: 100%;
  }

  .site-header.menu-open .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(23, 48, 68, 0.12);
  }

  .site-header.menu-open .main-nav a {
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    background: var(--mist);
  }

  .site-header.menu-open .header-actions {
    justify-content: space-between;
    padding: 10px;
    border: 1px solid rgba(220, 232, 236, 0.92);
    border-radius: 8px;
    background: var(--white);
  }

  .hero,
  .split,
  .product,
  .order-section,
  .source-hero,
  .source-detail-grid,
  .recommendation-section {
    grid-template-columns: 1fr;
  }

  .bot-card {
    justify-self: stretch;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    max-height: 420px;
    border-radius: 22px;
  }

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

  .mineral-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 14px;
  }

  .nav-toggle {
    left: min(calc(100vw - 56px), 320px);
    right: auto;
  }

  .brand small,
  .header-phone {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero {
    gap: 22px;
    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: 46px;
  }

  .hero-copy {
    width: 100%;
    max-width: 342px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    width: min(100%, 340px);
    max-height: none;
    padding: 7px;
    border-radius: 20px;
  }

  .hero-actions,
  .order-actions,
  .site-header.menu-open .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-band {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .source-mini-stats,
  .mineral-cards {
    grid-template-columns: 1fr;
  }

  .composition-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .source-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .product-image {
    min-height: 280px;
  }

  .product-image img {
    max-height: 310px;
  }

  .bot-chat {
    min-height: 220px;
    padding: 12px;
  }

  .bot-message {
    width: 100%;
    padding: 14px;
    font-size: 14px;
  }

  .bot-menu span {
    min-height: 44px;
    font-size: 15px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
