@import url('https://fonts.googleapis.com/css2?family=Iosevka+Charon+Mono:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


/* Base */
:root{
  --container: 1200px;
  --gap: 20px;
  --brand: #2590EB;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #F6F7FB;
  --stroke: #e7e9f2;
  --radius: 14px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
}
a{ color: inherit; text-decoration: none; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}


/* Header */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
  z-index: 1000;
}

body{
  padding-top: 72px;
}

section,
footer{
  scroll-margin-top: 92px;
}
.header__inner{
  height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}
.brand__mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(37,144,235,0.12);
  border: 1px solid rgba(37,144,235,0.25);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--brand);
}
.brand__name{
  font-weight: 700;
  font-size: 20px;
  color: var(--brand);
}

.nav{
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.nav__link{
  font-weight: 500;
  font-size: 16px;
  color: #3a3a3a;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav__link:hover{
  background: rgba(37,144,235,0.08);
  color: #1f3b67;
}

.header__actions{
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone{
  font-weight: 500;
  font-size: 16px;
  color: #2c2c2c;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.phone__icon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;

  flex: 0 0 auto;
}
.phone__text{
  display: inline-block;
}

/* Buttons */
.btn{
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.btn--primary{
  background: var(--brand);
  color: #fff;
  width: 150px;
  box-shadow: 0 10px 24px rgba(37,144,235,0.22);
}
.btn--primary:hover{ filter: brightness(0.98); }
.btn--ghost{
  background: #fff;
  color: #2c2c2c;
  border-color: #E8D3C6;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.btn--ghost:hover{
  border-color: rgba(37,144,235,0.35);
  color: #1f3b67;
}

/* Hero */
.hero{
  background: #fff;
  padding: 140px 0 40px;
}
.hero__inner{
  display: grid;
  grid-template-columns: 1fr 495px;
  gap: 36px;
  align-items: center;
}
.hero__right{
  display: flex;
  justify-content: flex-end;
}

.h1{
  margin: 0 0 30px;
  font-weight: 900; /* black */
  font-size: 48px;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--brand);
}
.h1__line{ display: block; }
.lead{
  margin: 0 0 40px;
  font-weight: 500; /* medium */
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
}
.hero__cta{
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
}

/* Hero CTA buttons (per макет) */
.hero__cta .btn{
  height: 50px;
  font-size: 18px;
  border-radius: 12px;
}
.hero__cta .btn--primary{
  width: 240px;
  font-weight: 700; /* bold */
}
.hero__cta .btn--ghost{
  width: 203px;
  font-weight: 500; /* medium */
}

.hero-card{
  position: relative;
  background: transparent;
}

.hero-card__image {
  width: 495px;
  height: 392px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  object-fit: cover;
  object-position: left 22% top 18%;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s ease;
}

/* Опционально: усиление тени при наведении */
.hero-card__image:hover {
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.2);
}

.pill{
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(-20%, 20%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 145px;
  z-index: 3;
}

.pill__value{
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  color: #F97316;
}

.pill__label{
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  color: #8b8b8b;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 920px){
  .nav{ display: none; }
  .hero__inner{ grid-template-columns: 1fr; }
  .header__inner{ gap: 16px; }
  .hero__cta{ flex-wrap: wrap; }
  .hero-card__image{ width: 100%; max-width: 460px; }
}

/* Sections spacing (per макет) */
.section{
  padding-top: 20px;
  padding-bottom: 40px;
}

.section--catalog{
  position: relative;
  overflow: hidden;
}
.section--catalog .container{
  position: relative;
  z-index: 1;
}
.catalog-decor{
  position: absolute;
  width: 52px;
  height: 52px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.catalog-decor--1{
  left: calc(50% - 600px - 26px);
  bottom: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 3h8a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z' stroke='%23111827' stroke-width='1.8'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h6' stroke='%23111827' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.catalog-decor--2{
  right: calc(50% - 600px - 26px);
  bottom: 10px;
  transform: rotate(12deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7.5 12 13l8-5.5M6 6h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z' stroke='%23111827' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.catalog-grid,
.catalog-card{
  position: relative;
  z-index: 2; /* cards always above catalog decor */
}

/* Catalog */
.section-title{
  margin: 0 0 20px;
  text-align: center;
  font-weight: 700; /* bold */
  font-size: 36px;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #111827;
}
.section-title__accent{ color: var(--brand); }

.section-subtitle{
  margin: 10px 0 30px;
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: #6b7280;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 1200px; /* или ширина контейнера */
  margin: 0 auto;
}

.catalog-card {
  width: 100%; /* теперь карточка занимает всю ширину своей колонки */
  height: 390px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.catalog-card__image {
  width: 100%;             /* карточка занимает всю ширину блока */
  height: 310px;           /* чуть больше по высоте, чтобы фото выглядело пропорционально */
  object-fit: cover;       /* картинка заполняет блок без искажений */
  display: block;          /* убирает лишние отступы под изображением */
  border-radius: 12px 12px 0 0; /* скругляем только верхние углы */
}

.catalog-card__content{
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 14px;
  padding-bottom: 15px;
  display: grid;
  gap: 6px;
}

.catalog-card__title{
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: #111827;
}

.catalog-card__desc{
  margin: 0;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  color: #6b7280;
}

.catalog-card__more{
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 13px;
  color: #F97316;
}
.catalog-card__arrow{
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 1220px){
  .catalog-grid{ grid-template-columns: repeat(2, 285px); }
}
@media (max-width: 640px){
  .catalog-grid{ grid-template-columns: 285px; }
}

/* Shop section (per макет) */
.shop__subtitle{
  margin: 0 0 20px;
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: #6b7280;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 590px);
  gap: 20px;
  justify-content: center;
}

.shop-photo {
  width: 590px;
  height: auto;
  aspect-ratio: 590 / 300;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

@media (max-width: 1220px){
  .shop-grid{ grid-template-columns: 590px; }
}
@media (max-width: 640px){
  .shop-grid{ grid-template-columns: 1fr; }
  .shop-photo{ width: 100%; }
}

/* Advantages + How we work */
.features-grid{
  display: grid;
  grid-template-columns: repeat(4, 285px);
  gap: 20px;
  justify-content: center;
}
.feature-card{
  width: 285px;
  height: 140px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.12);
  border-radius: 10px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(17,24,39,0.06);
}
.feature-card__icon{
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: #CBE1FF;
  border: 1px solid rgba(17,24,39,0.08);
}
.feature-card__icon--green{
  color: #16a34a;
  background: #C5FFDA;
  border-color: rgba(22,163,74,0.16);
}
.feature-card__icon--orange{
  color: #F97316;
  background: #FFE5C0;
  border-color: rgba(249,115,22,0.18);
}
.feature-card__icon--purple{
  color: #7c3aed;
  background: #EEDEFF;
  border-color: rgba(124,58,237,0.16);
}
.feature-card__svg{
  width: 30px;
  height: 30px;
}
.feature-card__text{
  display: grid;
  gap: 6px;
}
.feature-card__title{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #111827;
}
.feature-card__desc{
  font-weight: 500;
  font-size: 13px;
  line-height: 1.25;
  color: #6b7280;
}

.steps-grid{
  display: grid;
  grid-template-columns: repeat(4, 285px);
  gap: 20px;
  justify-content: center;
}
.step-card{
  width: 285px;
  height: 140px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.12);
  border-radius: 10px;
  padding: 20px 18px 20px 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(17,24,39,0.06);
}
.step-card__badge{
  position: absolute;
  left: -12px;
  top: -12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #F97316;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 10px 22px rgba(249,115,22,0.25);
}
.step-card__icon{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #111827;
  margin-top: 10px;
  margin-left: -3px;
}
.step-card__svg{
  width: 28px;
  height: 28px;
  display: block;
}
.step-card__title{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #111827;
  margin-top: 0;
}
.step-card__desc{
  margin-top: 0;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.25;
  color: #6b7280;
}

@media (max-width: 1220px){
  .features-grid, .steps-grid{ grid-template-columns: repeat(2, 285px); }
}
@media (max-width: 640px){
  .features-grid, .steps-grid{ grid-template-columns: 285px; }
}

/* Brands */
.section--brands .section-title{ margin-bottom: 30px; }
.brands-grid{
  display: grid;
  grid-template-columns: repeat(4, 285px);
  column-gap: 20px;
  row-gap: 30px;
  justify-content: center;
}
.brand-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-card__text{
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.02em;
  color: #111827;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 920px){
  .brands-grid{ grid-template-columns: repeat(2, 285px); }
}
@media (max-width: 640px){
  .brands-grid{ grid-template-columns: 285px; }
}

/* Contact */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(2, 540px);
  gap: 20px;
  justify-content: center;
}
.contact-card{
  width: 540px;
  height: 419px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.12);
  box-shadow:
    0 10px 20px rgba(17,24,39,0.08),
    0 26px 48px rgba(17,24,39,0.07);
}

/* Left card */
.contact-card--left{
  padding-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
}
.contact-card__title{
  margin: 0 0 30px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #111827;
}
.contact-info{
  display: grid;
  gap: 30px;
}
.contact-info__item{
  display: grid;
  grid-template-columns: 50px 1fr;
  column-gap: 15px;
  align-items: center;
}
.contact-info__icon{
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #CBE1FF;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,24,39,0.08);
  color: #111827;
}
.contact-info__svg{
  width: 30px;
  height: 30px;
  display: block;
}
.contact-info__label{
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: #111827;
}
.contact-info__value{
  margin-top: 6px;
  font-weight: 700;
  font-size: 12px;
  font-style: normal;
  line-height: 1.2;
  color: #6b7280;
}

/* Right card */
.contact-card--right{
  padding: 30px;
  display: grid;
  place-items: center;
}
.contact-cta{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-cta__circle{
  margin-top: 0;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
}
.contact-cta__circle-icon{
  width: 48px;
  height: 48px;
  display: block;
}
.contact-cta__heading{
  margin-top: 25px;
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}
.contact-cta__heading-accent{ color: var(--brand); }
.contact-cta__desc{
  margin-top: 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  color: #6b7280;
  max-width: 420px;
}
.contact-cta__btn{
  margin-top: 40px;
  width: 100%;
  max-width: 420px;
  height: 56px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow:
    0 8px 16px rgba(37,144,235,0.14),
    0 18px 30px rgba(37,144,235,0.10);
}
.contact-cta__note{
  margin-top: 15px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: #6b7280;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  align-self: center;
  text-align: center;
  margin-bottom: 45px;
}

@media (max-width: 1120px){
  .contact-grid{ grid-template-columns: 540px; }
}

/* Footer */
.footer{
  margin-top: 40px;
  background: #0f172a;
  color: #e5e7eb;
}
.footer__inner{
  padding: 40px 0 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer__brand{
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 28px;
  color: #fff;
}
.footer__title{
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.footer__text, .footer__meta{
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
}
.footer__nav{
  display: grid;
  gap: 8px;
}
.footer__nav a{
  font-weight: 500;
  font-size: 14px;
  color: #cbd5e1;
}
.footer__nav a:hover{ color: #fff; }
.footer__bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 14px 0;
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 1120px){
  .footer__inner{ grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}
@media (max-width: 640px){
  .footer__inner{ grid-template-columns: 1fr; }
}

/* Decorative circles (sections 1, 3, 6) */
.hero,
.section--shop,
.section--brands{
  position: relative;
  overflow: visible;
}

.hero::before,
.hero::after,
.section--shop::before,
.section--shop::after,
.section--brands::before,
.section--brands::after{
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.20) 0%, rgba(249,115,22,0.18) 70%, rgba(249,115,22,0) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero::before{ left: 20px; bottom: 20px; }
.hero::after{ right: 20px; top: 20px; }
.section--shop::before{ left: 20px; top: 20px; }
.section--shop::after{ right: 20px; bottom: 20px; }
.section--brands::before{ left: 20px; bottom: 20px; }
.section--brands::after{ right: 20px; top: 20px; }

.hero .container,
.section--shop .container,
.section--brands .container,
.section--contact .container{
  position: relative;
  z-index: 1;
}

/* Floating SVG-like background elements: only first section */
.hero-decor{
  position: absolute;
  width: 44px;
  height: 44px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.hero-decor--1,
.hero-decor--3{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7.5 12 13l8-5.5M6 6h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z' stroke='%239CA3AF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hero-decor--2{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10.5 18.5a8 8 0 1 1 6-2.7l3.2 3.2' stroke='%239CA3AF' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hero-decor--4{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 8.5C5 7.67 5.67 7 6.5 7h11c.83 0 1.5.67 1.5 1.5V17H5V8.5Z' stroke='%239CA3AF' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M12 7v10' stroke='%239CA3AF' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M7 17v2' stroke='%239CA3AF' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M17 17v2' stroke='%239CA3AF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hero-decor--1{ left: calc(50% - 600px + 6px); top: 58px; }
.hero-decor--2{ left: calc(50% - 600px + 260px); top: 154px; }
.hero-decor--3{ left: calc(50% + 334px); top: 136px; transform: rotate(18deg); }
.hero-decor--4{ left: calc(50% - 600px + 468px); top: 382px; }

/* Contact decorative elements (behind cards) */
.contact-decor{
  position: absolute;
  width: 54px;
  height: 54px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.contact-decor--1{
  left: calc(50% - 600px + 230px);
  top: 96px;
  transform: rotate(10deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7.5 12 13l8-5.5M6 6h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z' stroke='%23111827' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.contact-decor--2{
  right: calc(50% - 600px - 30px);
  bottom: 28px;
  transform: rotate(-44deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7.5 12 13l8-5.5M6 6h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z' stroke='%23111827' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.contact-grid,
.contact-card{
  position: relative;
  z-index: 2;
}

/* Tablet */
@media (max-width: 1200px){
  .hero{
    padding-top: 90px;
  }
  .hero__inner{
    grid-template-columns: 1fr 430px;
    gap: 24px;
  }
  .hero-card__image{
    width: 430px;
    height: 340px;
  }
  .h1{
    font-size: 42px;
  }
  .catalog-grid,
  .features-grid,
  .steps-grid{
    grid-template-columns: repeat(2, 285px);
  }
  .brands-grid{
    grid-template-columns: repeat(3, 285px);
  }
}

@media (max-width: 768px){
  body{
    padding-top: 64px;
  }

  section,
  footer{
    scroll-margin-top: 80px;
  }

  .header__inner{
    height: 64px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand{
    min-width: auto;
    width: auto;
    display: flex;
    justify-content: flex-start;
  }

  .nav{
    display: none;
  }

  .header__actions{
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
  }

  .phone{
    display: none;
  }

  .header__actions .btn{
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
    width: auto;
  }

  .hero{
    padding: 34px 0 30px;
  }

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

  .hero__right{
    display: none;
  }

  .hero__left{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .h1{
    font-size: 34px;
    line-height: 1.06;
    text-align: center;
  }

  .lead{
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    margin: 0 auto;
    max-width: 320px;
  }

  .hero__cta{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 28px;
  }

  .hero__cta .btn{
    width: 100%;
    max-width: 320px;
  }

  .section{
    padding-top: 16px;
    padding-bottom: 30px;
  }

  .section-title{
    font-size: 30px;
    text-align: center;
  }

  .section-subtitle,
  .shop__subtitle{
    font-size: 18px;
    text-align: center;
  }

  .catalog-grid,
  .features-grid,
  .steps-grid,
  .brands-grid{
    grid-template-columns: 285px;
    justify-content: center;
  }

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

  .shop-photo{
    width: 100%;
    height: 220px;
    border-radius: 14px;
  }

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

  .contact-card{
    width: 100%;
    max-width: 540px;
    height: auto;
    min-height: 419px;
  }

  .footer{
    margin-top: 30px;
  }

  .hero::before,
  .hero::after,
  .section--shop::before,
  .section--shop::after,
  .section--brands::before,
  .section--brands::after,
  .section--contact::before,
  .section--contact::after{
    width: 80px;
    height: 80px;
  }

  .hero-decor{ display: none; }
  .catalog-decor{ display: none; }
  .contact-decor{ display: none; }
}

/* =========================================================
   FIX: убрать горизонтальный скролл на ноутбуке и телефоне
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
  margin-inline: auto;
}

.header,
main,
footer,
section {
  max-width: 100%;
}

.hero,
.section--shop,
.section--brands,
.section--contact,
.section--catalog {
  overflow: hidden;
}

.hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 495px);
}

.hero__left,
.hero__right,
.hero-card {
  min-width: 0;
}

.hero-card__image {
  max-width: 100%;
}

.catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 285px));
}

.catalog-card {
  width: 100%;
  max-width: 285px;
}

.shop-grid {
  grid-template-columns: repeat(2, minmax(0, 590px));
}

.shop-photo {
  width: 100%;
  max-width: 590px;
}

.features-grid,
.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 285px));
}

.feature-card,
.step-card {
  width: 100%;
  max-width: 285px;
}

.brands-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 285px));
}

.brand-card__image {
  display: block;
  max-width: 100%;
  height: auto;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 540px));
}

.contact-card {
  width: 100%;
  max-width: 540px;
}

@media (max-width: 1220px) {
  .shop-grid {
    grid-template-columns: minmax(0, 590px);
  }
}

@media (max-width: 1200px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  }
}

@media (max-width: 1120px) {
  .contact-grid {
    grid-template-columns: minmax(0, 540px);
  }
}

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

  .hero__right {
    justify-content: center;
  }

  .hero-card__image {
    width: 100%;
    max-width: 460px;
    height: auto;
  }

  .pill {
    left: 12px;
    bottom: 12px;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero__right {
    display: none;
  }

  .hero__cta {
    max-width: 320px;
  }

  .hero__cta .btn,
  .hero__cta .btn--primary,
  .hero__cta .btn--ghost {
    width: 100%;
    max-width: 320px;
  }

  .catalog-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 285px);
  }

  .brands-grid {
    grid-template-columns: repeat(2, minmax(0, 285px));
  }

  .shop-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .shop-photo,
  .contact-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 30px);
  }

  .catalog-grid,
  .features-grid,
  .steps-grid,
  .brands-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-card,
  .feature-card,
  .step-card {
    max-width: 100%;
  }

  .contact-card {
    min-height: auto;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(24px);
  width: min(1120px, calc(100% - 40px));
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.cookie-banner--show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #e5e7eb;
}

.cookie-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__button {
  flex: 0 0 auto;
  min-width: 120px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 144, 235, 0.28);
}

.cookie-banner__button:hover {
  filter: brightness(0.98);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-banner__text {
    font-size: 13px;
  }

  .cookie-banner__button {
    width: 100%;
  }
}


/* =========================================================
   RESPONSIVE REPAIR 2026-04-25
   Fixes broken laptop/tablet/mobile adaptation caused by
   conflicting earlier media rules and fixed-width cards/grids.
   Keep this block at the very end of the file.
   ========================================================= */

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

.container {
  width: min(var(--container), calc(100% - clamp(30px, 4vw, 40px)));
}

.header__inner,
.hero__inner,
.catalog-grid,
.shop-grid,
.features-grid,
.steps-grid,
.brands-grid,
.contact-grid,
.footer__inner {
  min-width: 0;
}

.hero__left,
.hero__right,
.catalog-card,
.shop-photo,
.feature-card,
.step-card,
.brand-card,
.contact-card,
.footer__col {
  min-width: 0;
}

.hero-card__image,
.catalog-card__image,
.shop-photo,
.brand-card__image {
  max-width: 100%;
}

.section-subtitle br,
.shop__subtitle br,
.contact-cta__note br,
.lead br {
  display: none;
}

/* Laptops: no hard overflow, but desktop composition is preserved. */
@media (max-width: 1220px) {
  .header__inner {
    gap: 16px;
  }

  .brand {
    min-width: auto;
    flex: 0 0 auto;
  }

  .nav {
    gap: 10px;
  }

  .nav__link {
    font-size: 14px;
    padding-inline: 7px;
  }

  .header__actions {
    gap: 10px;
  }

  .phone__text {
    font-size: 14px;
  }

  .header__actions .btn {
    width: auto;
    padding-inline: 14px;
    font-size: 14px;
  }

  .hero {
    padding-top: 86px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: clamp(20px, 3vw, 32px);
  }

  .hero-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 495 / 392;
  }

  .h1 {
    font-size: clamp(38px, 4vw, 48px);
  }

  .catalog-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(260px, 285px));
  }

  .shop-grid {
    grid-template-columns: minmax(0, 590px);
  }

  .brands-grid {
    grid-template-columns: repeat(3, minmax(180px, 285px));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 540px);
  }
}

/* Tablets and small notebooks: hero stacks instead of forcing two columns. */
@media (max-width: 920px) {
  body {
    padding-top: 64px;
  }

  section,
  footer {
    scroll-margin-top: 80px;
  }

  .header__inner {
    height: 64px;
    justify-content: space-between;
  }

  .nav,
  .phone {
    display: none;
  }

  .header__actions {
    flex: 0 0 auto;
  }

  .hero {
    padding: clamp(34px, 7vw, 58px) 0 34px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero__left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__right {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .h1 {
    font-size: clamp(34px, 7vw, 46px);
    margin-bottom: 22px;
  }

  .lead {
    max-width: 560px;
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
  }

  .hero__cta .btn,
  .hero__cta .btn--primary,
  .hero__cta .btn--ghost {
    width: min(100%, 240px);
  }

  .catalog-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(260px, 285px));
  }

  .brands-grid {
    grid-template-columns: repeat(2, minmax(180px, 285px));
  }

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

/* Phones: all sections become single-column and use fluid widths. */
@media (max-width: 640px) {
  .container {
    width: calc(100% - 30px);
  }

  .header__inner {
    gap: 10px;
  }

  .brand__name {
    font-size: 19px;
  }

  .header__actions .btn {
    height: 38px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero__right {
    display: none;
  }

  .h1 {
    font-size: clamp(29px, 9vw, 34px);
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.5;
    max-width: 340px;
  }

  .hero__cta {
    width: 100%;
    max-width: 340px;
  }

  .hero__cta .btn,
  .hero__cta .btn--primary,
  .hero__cta .btn--ghost {
    width: 100%;
    max-width: 340px;
  }

  .section {
    padding-top: 14px;
    padding-bottom: 30px;
  }

  .section-title {
    font-size: clamp(25px, 8vw, 30px);
    line-height: 1.16;
  }

  .section-subtitle,
  .shop__subtitle {
    font-size: 16px;
    line-height: 1.45;
  }

  .catalog-grid,
  .shop-grid,
  .features-grid,
  .steps-grid,
  .brands-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card,
  .feature-card,
  .step-card,
  .contact-card {
    width: 100%;
    max-width: none;
  }

  .catalog-card {
    height: auto;
  }

  .catalog-card__image {
    height: auto;
    aspect-ratio: 285 / 310;
  }

  .feature-card,
  .step-card {
    height: auto;
    min-height: 140px;
  }

  .shop-photo {
    height: auto;
    aspect-ratio: 590 / 300;
  }

  .brand-card__image {
    margin-inline: auto;
  }

  .contact-card {
    min-height: auto;
  }

  .contact-card--left,
  .contact-card--right {
    padding: 22px 18px;
  }

  .contact-info__item {
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
  }

  .contact-info__icon {
    width: 44px;
    height: 44px;
  }

  .contact-cta__btn,
  .contact-cta__note {
    max-width: 100%;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .header__actions .btn {
    padding-inline: 10px;
    font-size: 12px;
  }

  .h1 {
    font-size: 28px;
  }

  .step-card__badge {
    left: -6px;
  }
}
