:root {
  --bg: #edf4f8;
  --panel: #ffffff;
  --panel-soft: #f7fafc;
  --navy: #102332;
  --navy-2: #1c3446;
  --line: #d5e1e8;
  --text: #182530;
  --muted: #5f6f7c;
  --muted-2: #8a98a3;
  --accent: #cf6422;
  --accent-soft: #fff0e5;
  --blue: #1175a5;
  --blue-soft: #e6f4fb;
  --green: #638d4f;
  --violet: #7565bd;
  --content: 1120px;
  --pad: clamp(14px, 3vw, 28px);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: linear-gradient(180deg, #e9f2f7 0, #f6f9fb 360px, var(--bg) 100%);
  color: var(--text);
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 8px max(var(--pad), calc((100vw - var(--content)) / 2 + var(--pad)));
  border-bottom: 3px solid rgba(207, 100, 34, 0.82);
  background: rgba(16, 35, 50, 0.96);
  color: #ffffff;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(16, 35, 50, 0.12);
}

.brand,
.header-phone,
.nav-links,
.primary-button,
.secondary-button,
.telegram-button,
.card-link {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 950;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 6px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
}

.brand-mark svg {
  display: block;
  width: 23px;
  height: 23px;
}

.brand-mark path {
  fill: currentColor;
}

.brand-mark-line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.brand strong,
.header-phone {
  font-size: 0.94rem;
  line-height: 1;
}

.nav-links {
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
}

.nav-links a:hover {
  color: #ffffff;
}

.header-phone {
  justify-content: flex-end;
  gap: 9px;
  font-weight: 950;
  white-space: nowrap;
}

.phone-symbol {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.header-phone .phone-symbol {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.phone-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 26px;
  align-items: center;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 54px var(--pad) 44px;
}

.hero-copy {
  min-width: 0;
  padding-left: 20px;
  border-left: 5px solid var(--accent);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 35, 50, 0.08);
}

.hero h1 {
  max-width: 610px;
  margin: 15px 0 0;
  font-size: 2.45rem;
  line-height: 1.03;
}

.lead {
  max-width: 590px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.primary-button,
.secondary-button,
.telegram-button,
.card-link {
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 950;
}

.primary-button,
.telegram-button,
.card-link {
  background: var(--accent);
  color: #ffffff;
}

.secondary-button {
  border: 1px solid #bddce9;
  background: var(--blue-soft);
  color: var(--blue);
}

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

.visual-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 15px;
  width: min(100%, 390px);
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--navy);
  box-shadow: 0 18px 38px rgba(16, 35, 50, 0.18);
}

.visual-cylinder {
  position: relative;
  display: grid;
  width: 68px;
  height: 144px;
  justify-self: center;
  place-items: center;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(90deg, #bf5417, #f08936 48%, #aa4411);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 950;
}

.visual-cylinder::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 50%;
  width: 26px;
  height: 18px;
  border-radius: 6px 6px 3px 3px;
  background: #9ba7ae;
  transform: translateX(-50%);
}

.visual-cylinder::after {
  content: "";
  position: absolute;
  bottom: -9px;
  width: 58px;
  height: 14px;
  border-radius: 999px;
  background: rgba(16, 35, 50, 0.14);
}

.visual-cylinder.tall {
  height: 176px;
}

.visual-cylinder.blue {
  height: 132px;
  background: linear-gradient(90deg, #126a99, #54b8e2 48%, #0d5c86);
}

.visual-cylinder.green {
  height: 118px;
  background: linear-gradient(90deg, #5a8548, #98c864 48%, #476f38);
}

.catalog,
.service {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 40px var(--pad) 0;
}

.section-head {
  display: grid;
  gap: 9px;
  max-width: 760px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.62rem;
  line-height: 1;
}

.section-head p:not(.section-label) {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

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

.product-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px 14px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  box-shadow: 0 10px 24px rgba(16, 35, 50, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: #c7d7e0;
  box-shadow: 0 14px 30px rgba(16, 35, 50, 0.11);
  transform: translateY(-2px);
}

.product-card.blue {
  border-left-color: var(--blue);
}

.product-card.green {
  border-left-color: var(--green);
}

.product-card.violet {
  border-left-color: var(--violet);
}

.product-visual {
  display: grid;
  min-height: 98px;
  grid-row: span 3;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.product-card.blue .product-visual {
  background: var(--blue-soft);
  color: var(--blue);
}

.product-card.green .product-visual {
  background: #eef7ec;
  color: var(--green);
}

.product-card.violet .product-visual {
  background: #f0eefb;
  color: var(--violet);
}

.product-visual svg {
  width: 62px;
  height: auto;
}

.product-head {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.tag {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f5f8;
  color: var(--accent);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.12;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.42;
}

.price-grid {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 11px;
  border-bottom: 1px solid #e5edf2;
}

.price-row {
  display: grid;
  gap: 4px;
}

.price-row dt {
  color: var(--muted-2);
  font-size: 0.54rem;
  font-weight: 950;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.price-row dd {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 950;
  line-height: 1;
}

.price-row dd span {
  color: var(--muted-2);
  font-size: 0.62rem;
}

.buy-price {
  color: var(--accent);
}

.exchange-price {
  color: var(--blue);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 2;
  gap: 8px;
}

.card-link,
.card-telegram {
  min-height: 32px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 0.64rem;
}

.card-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #bddce9;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 950;
}

.service {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 48px;
}

.service-item {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-item span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 1.8px;
}

.service-item strong {
  font-size: 0.98rem;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.footer {
  display: grid;
  gap: 11px;
  padding: 32px max(var(--pad), calc((100vw - var(--content)) / 2 + var(--pad))) 40px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  line-height: 1.5;
}

.footer strong {
  color: #ffffff;
  font-size: 1.06rem;
}

.footer p {
  max-width: 860px;
  margin: 0;
}

.age-notice {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(207, 100, 34, 0.46);
  border-radius: 999px;
  background: rgba(207, 100, 34, 0.12);
  color: #ffffff;
  font-weight: 900;
}

.telegram-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.telegram-modal.visible {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 35, 50, 0.52);
}

.modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 470px);
  justify-items: center;
  gap: 14px;
  padding: 34px 30px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(16, 35, 50, 0.18);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1f5f8;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
}

.telegram-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.7rem;
}

.modal-card h2 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.1;
}

.modal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(207, 100, 34, 0.45);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 950;
}

.telegram-button {
  width: 100%;
  margin-top: 2px;
  background: var(--blue);
}

.modal-skip {
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

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

  .visual-panel {
    min-height: 200px;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 52px;
    padding: 7px 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-mark svg {
    width: 20px;
    height: 20px;
  }

  .brand strong,
  .header-phone {
    font-size: 0.72rem;
  }

  .header-phone .phone-symbol {
    display: none;
  }

  .hero {
    padding: 28px 14px 32px;
  }

  .hero-copy {
    padding-left: 14px;
  }

  .hero h1 {
    font-size: 1.38rem;
  }

  .lead {
    font-size: 0.72rem;
  }

  .eyebrow,
  .section-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }

  .primary-button,
  .secondary-button,
  .telegram-button {
    min-height: 38px;
    padding: 0 15px;
    font-size: 0.72rem;
  }

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

  .visual-panel {
    min-height: 160px;
    padding: 18px;
  }

  .visual-cylinder {
    width: 50px;
    height: 108px;
    font-size: 0.7rem;
  }

  .visual-cylinder.tall {
    height: 130px;
  }

  .visual-cylinder.blue {
    height: 100px;
  }

  .visual-cylinder.green {
    height: 90px;
  }

  .catalog,
  .service {
    padding: 30px 14px 0;
  }

  .section-head h2 {
    font-size: 1.24rem;
  }

  .section-head p:not(.section-label) {
    font-size: 0.72rem;
  }

  .product-grid,
  .service {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px 12px;
    padding: 12px;
  }

  .product-visual {
    min-height: 90px;
  }

  .product-visual svg {
    width: 58px;
  }

  .product-card h3 {
    font-size: 0.92rem;
  }

  .product-card p {
    font-size: 0.66rem;
  }

  .price-row dd {
    font-size: 1rem;
  }

  .service {
    padding-bottom: 36px;
  }

  .footer {
    padding: 28px 14px 36px;
    font-size: 0.72rem;
  }

  .modal-card {
    width: min(100%, 350px);
    padding: 32px 20px 24px;
  }

  .modal-card h2 {
    font-size: 1.24rem;
  }

  .modal-card p {
    font-size: 0.74rem;
  }
}
