/* Instrument Sans */
:root{
  --bg: #f4f1ea;
  --paper: #fbfaf7;
  --text: #121212;
  --muted: rgba(18,18,18,.55);
  --line: rgba(18,18,18,.12);
  --accent: #f2c318;
  --dark: #0f0f0f;

  --wrap: 1120px;
}

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

.wrap{
  width:min(var(--wrap), calc(100% - 48px));
  margin:0 auto;
}

.muted{ color: var(--muted); }

/* ===== Topbar ===== */
.topbar{
  height: 64px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(8px);
}
.topbar__row{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
}
.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
}
.logo__mark{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6b5cff;
  box-shadow: 0 0 0 4px rgba(107,92,255,.16);
}
.menu{
  display:flex;
  align-items:center;
  gap: 18px;
  font-size: 12px;
  color: rgba(18,18,18,.70);
}
.menu__item{ white-space:nowrap; }
.topbar__right{
  display:flex;
  align-items:center;
  gap: 14px;
}
.topbar__phone{
  font-size: 12px;
  font-weight: 600;
  color: rgba(18,18,18,.70);
}

/* ===== Buttons (visual only) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 16px 18px;
  border-radius: 0px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  user-select:none;
}
.btn--dark{ background: var(--dark); color:#fff; }
.btn--accent{ background: var(--accent); color:#111; }
.btn--small{ padding: 18px 40px; }
.btn--full{ width:100%; }

/* ===== Hero ===== */
.hero{
  position: relative;
  background: url("img/Group 1000003453.jpg") center/cover no-repeat;
  min-height: 800px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.58));
  z-index: 2;
}
.hero__character{
  position: absolute;
  right: 0%;
  bottom: 0;
  width: 500px;     /* подгони под макет */
  height: auto;
  z-index: 1;
  pointer-events: none;
  transform: scaleX(-1);
}
.hero__grid{
  position: relative;
  z-index: 3;
  min-height: 800px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 22px;
  padding: 78px 64px 46px;
  color:#fff;
  width: 100%;
}
.hero__left{ max-width: 820px; padding-bottom: 400px;}
.hero__h1{
  margin: 0;
  font-size: 80px;
  line-height: 0.9;
  letter-spacing: -1.7px;
  font-weight: 400;
}
.hero__accent{ color: var(--accent); }
.hero__p{
  margin: 20px 0 20px;
  font-size: 13px;
  color: rgba(255,255,255,.82);
  max-width: 520px;
}
.hero__metrics{
  display:flex;
  gap: 28px;
  align-items:flex-end;
}
.metric{
  text-align:right;
  min-width: 110px;
}
.metric__value{
  font-weight: 400;
  font-size: 80px;
  letter-spacing:-0.3px;
}
.metric__label{
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.2;
  color: rgba(255,255,255,.74);
  text-align: left;
}

/* ===== About ===== */
.about{
  background: #f6f4ee;
  padding: 120px 0 88px;
}
.about__grid{
  display:grid;
  grid-template-columns: 520px 1fr;
  gap: 52px;
  align-items:center;
}
.about__photo{
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
  background: #ddd;
}
.about__photo img{
  width:100%;
  height:auto;
  display:block;
}
.kicker{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(18,18,18,.45);
}
.h2{
  margin: 10px 0 0;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 0.9;}
.steps{ margin-top: 40px; display:flex; flex-direction:column; gap: 24px; }
.step{ display:grid; grid-template-columns: 24px 1fr; gap: 24px; align-items:center; }
.step__body{padding-left: 16px;}
.step__dot{
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-weight: 800;
  font-size: 11px;
  margin-top: 2px;
}
.step__title{ font-size: 20px; font-weight: 800; }
.step__text{ margin-top: 5px; font-size: 16px; line-height: 1.35; color: rgba(18,18,18,.55); }

.stats{
  padding-top: 88px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.stat__label{
  font-size: 16px;
  color: rgba(18,18,18,.55);
  margin-bottom: 0px;
}
.stat__value{
  font-size: 70px;
  font-weight: 500;
  letter-spacing: -0.4px;
}

/* ===== Mission ===== */
.mission{
  background: var(--paper);
  padding: 54px 0 120px;
}
.mission__head{
  width: 1120px;            /* если у тебя фикс как в макете */
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;  /* правая колонка узкая */
  column-gap: 120px;
  align-items: start;       /* ключевое: по верху */
  margin-bottom: 120px;
  gap: 12px;
}
.mission__title{
  margin: 0;
  font-size: 64px;          /* подгони под макет */
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mission__muted{
  color: #bdbdbd;           /* серый как в макете */
  font-weight: 500;
}

.mission__side{
  padding-top: 110px;       /* чтобы текст справа начинался ниже */
}

.mission__desc{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #8e8e8e;
}

.mission__btn{
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 56px;
  padding: 0 34px;
  background: #101010;
  color: #fff;
  font-weight: 700;
  border-radius: 0;         /* как на макете (квадратные) */
}

.tiles{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tile{
  height: 100%
  border-radius: 0;                 /* в макете почти без скруглений */
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.08);
  background: #fff;
  position: relative;
  box-shadow: none;
}
.tile--img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile--text{
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.tile__title{
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 400;
  color: #121212;
}
.tile__desc{
  margin-top: auto;                 /* опускаем описание вниз */
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(18,18,18,.55);
  max-width: 260px;
}
.tile__more{
  font-size: 14px;
  font-weight: 700;
  color: #121212;
}
.tile__cap{
  display: none !important;
}
.tile__capTitle{
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}
.tile__capText{
  margin-top: 8px;
  font-size: 11px;
  color: rgba(18,18,18,.55);
  line-height: 1.35;
}
.tile__cap--light{
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.94) 55%);
}

/* ===== CTA ===== */
.cta{
  position: relative;
  height: 500px;
  overflow:hidden;
}
.cta__bg{
  position:absolute;
  inset:0;
}
.cta__bg img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.cta__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
}
.cta__content{
  position: relative;
  z-index:1;
  height: 100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  gap: 14px;
}
.cta__title{
  font-size: 58px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.0;
}

/* ===== Products ===== */
.products{
  background: #f6f4ee;
  padding: 80px 0 70px;
}
.products__grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.prodLeft{
  border-radius: 18px;
  background: #f6f4ee;
  min-height: 330px;
  padding: 18px 18px 18px;
  position: relative;
}
.prodLeft__title{
  margin-top: 10px;
  font-size: 46px;
  font-weight: 500;
  letter-spacing:-0.4px;
  line-height: 1.06;
  margin-bottom: 24px;
}
.wheat{
  position:absolute;
  left: -60px;
  top: 92px;
  width: 220px;
  height: 220px;
  opacity: .18;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,0,0,.18), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.14), transparent 60%);
  pointer-events:none;
}

.prodCard{
  overflow:hidden;
}
.prodCard__img{
  overflow:hidden;
}
.prodCard__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.prodCard__meta{
  padding: 12px 0px 14px;
}
.prodCard__name{
  font-size: 13px;
  font-weight: 800;
}
.prodCard__price{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(18,18,18,.70);
}
.old{
  text-decoration: line-through;
  opacity: .7;
  margin-right: 6px;
}
.new{ font-weight: 800; color: rgba(18,18,18,.95); }

.quote{
  padding-top: 80px;
  text-align:center;
}
.quote__title{
  font-size: 48px;
  font-weight: 500;
  letter-spacing:-0.3px;
}
.quote__text{
  margin: 12px auto 16px;
  max-width: 720px;
  font-size: 24px;
  color: rgba(18,18,18,.55);
  line-height: 1.2;
}
.quote__avatar{
  width: 60px; height: 60px;
  border-radius: 999px;
  margin: 0 auto 6px;
  background: rgba(18,18,18,.12);
}
.quote__name{
  font-size: 12px;
  font-weight: 800;
}
.quote__place{
  margin-top: 2px;
  font-size: 11px;
  color: rgba(18,18,18,.55);
}
.dots{ margin-top: 10px; display:flex; gap: 6px; justify-content:center; }
.dots span{ width: 6px; height: 6px; border-radius: 99px; background: rgba(18,18,18,.25); }
.dots span:nth-child(2){ background: rgba(18,18,18,.55); }

/* ===== Contact ===== */
.contact{
  background: #f6f4ee;
  padding: 52px 0 px;
}
.contact__box{
    position: relative;
    /* border-radius: 22px; */
    overflow: hidden;
    height: 600px;
    width: 100%;
}
.contact__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
}
.contact__box::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,.30));
}
.contact__form{
  position:absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
}
.formCard{
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
}
.formCard__title{
  font-size: 24px;
  font-weight: 500;
  letter-spacing:-0.2px;
}
.field{ margin-top: 12px; }
.field__label{
  font-size: 11px;
  font-weight: 700;
  color: rgba(18,18,18,.55);
  margin-bottom: 6px;
}
.field__input{
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
}
.field__input--tall{ height: 84px; }
.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin: 12px 0 14px;
}
.check__box{
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.18);
  background:#fff;
  margin-top: 2px;
}
.check__text{
  font-size: 10.5px;
  color: rgba(18,18,18,.55);
  line-height: 1.35;
}

/* ===== Responsive ===== */
.br-sm{ display:none; }
.br-lg{ display:inline; }

@media (max-width: 1040px){
  .menu{ display:none; }
  .hero__h1{ font-size: 48px; }
  .about__grid{ grid-template-columns: 1fr; gap: 22px; }
  .about__photo{ max-width: 560px; }
  .stats{ grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .mission__head{ grid-template-columns: 1fr; }
  .mission__right{ justify-self:start; max-width: 520px; }
  .tiles{ grid-template-columns: repeat(2, 1fr);}
  .tile{ height: 320px; }
  .products__grid{ grid-template-columns: 1fr; }
  .prodLeft{ min-height: 220px; }
  .prodCard__img{ height: 260px; }
  .contact__form{ right: 16px; width: min(360px, calc(100% - 32px)); }
}

@media (max-width: 640px){
  .wrap{ width: min(var(--wrap), calc(100% - 28px)); padding-right: 16px;}
  .topbar{ height: 60px; }
  .topbar__row{ height: 60px; }
  .topbar__phone{ display:none; }

  .hero{ min-height: 560px; }
  .hero__grid{ min-height: 560px; padding: 56px 0px 34px; flex-direction:column; align-items:flex-start; }
  .hero__metrics{ width:100%; justify-content:space-between; }

  .h2{ font-size: 36px; }
  .mission__title{ font-size: 32px; padding: 0px 16px; }
  .mission__side {padding-top: 16px; padding: 0px 16px;}
  .br-sm{ display:inline; }
  .br-lg{ display:none; }

  .tiles{ grid-template-columns: 1fr; }
  .tile{ min-height: 550px; height: 550px; }
  .tile__title {font-size: 44px;}
  .tile__desc {font-size: 24px; max-width: 360px;}

  .cta{ height: 320px; }
  .cta__content{ height: 100% }
  .cta__title{ font-size: 36px; }
  .about__photo {max-width: 100%;}

  .contact__box{
  height: auto;           /* пусть растёт по контенту */
  padding-top: 240px;    /* место под картинку */
  background-position: top center;
  background-size: cover;
}

.contact__form{
  position: static;      /* КЛЮЧЕВОЕ */
  width: 100%;
  margin: 0;
  transform: none;
  border-radius: 0;
}
}
