/* ====== Base ====== */
:root{
  --container: 1400px;
  --gap: 24px;

  --text: #111;

  --nav-bg: rgba(120,120,120,.35);
  --nav-border: rgba(255,255,255,.20);

  --btn: #1e6bff;
  --btn-hover: #1556d6;

  --radius-lg: 22px;
  --radius-md: 14px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  /* font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; */
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
}

a{ color: inherit; text-decoration: none; }
ul{ list-style: none; padding: 0; margin: 0; }

h1,h2,h3,h4,h5{ margin: 0; }
p{ margin: 0; }

.container{
  max-width: var(--container);
  padding: 0 16px;
  margin: 0 auto;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ====== HERO with video ====== */
.hero{
  position: relative;
  min-height: 72vh;
  width: 100%;
  overflow: hidden;
}

.hero__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.hero__top{
  position: relative;
  z-index: 2;
  padding: 18px 0;
}

.hero__content{
  position: relative;
  z-index: 2;
  min-height: 72vh;
  padding: 24px 0 48px;
  display: grid;
  align-items: end;
}

.hero__text{
  color: #fff;
  /* margin-left: -580px;    */
  /* max-width: 720px;      */
}

.hero__text h1{
  /* font-family: "Inter Tight", system-ui, sans-serif; */
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 200;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  text-shadow:
    0 2px 8px rgba(0,0,0,.45),
    0 10px 30px rgba(0,0,0,.35);
}

/* ====== NAV ====== */
.nav{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 12px;
  border-radius: var(--radius-lg);
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__left{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
}

.logo__mark{ font-size: 14px; }

.menu{

  
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  white-space: nowrap;
  
}

.menu a{
  display: inline-block;
  padding: 10px 10px;
  border-radius: 999px;
  font-size: 14px;
  opacity: .95;
  transition: opacity .15s ease, background .15s ease;
}

.menu a:hover{
  opacity: 1;
  background: rgba(255,255,255,.14);
}

.nav__right{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  border: 0;
  cursor: pointer;
  user-select: none;
}

.btn--primary{
  background: var(--btn);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.btn--primary:hover{ background: var(--btn-hover); }

/* Burger */
.nav__burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.nav__burger span{
  display: block;
  height: 2px;
  width: 18px;
  background: #fff;
  margin: 4px auto;
  border-radius: 2px;
}

/* ====== MAIN ====== */
.main{ background: #fff; }
.section{ padding: 64px 0 56px; }

/* ====== Intro blocks ====== */
.intro__title{
  margin: 0 0 18px;
  /* font-family: "Inter Tight", system-ui, sans-serif; */
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  color: #111;

  text-align: center;
}

.intro__feat{
  display: grid;
  grid-template-columns: 1fr 1.4fr; /* картинка | текст */
  gap: 22px;
  padding: 0; /* убираем старый padding */
}

.intro__content{
  margin-top: 0;
  display: grid;
  gap: 22px;
}

.intro__block{
  background: #ffffff;
  /* border: 1px solid #eceef6; */
  border-radius: 18px;
  padding: 22px;
  /* box-shadow: 0 10px 35px rgba(0,0,0,.04); */
}

.intro__h3{
  margin: 0 0 12px;
  /* font-family: "Inter Tight", system-ui, sans-serif; */
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #111;
}

.intro__h4{
  margin: 14px 0 10px;
  /* font-family: "Inter Tight", system-ui, sans-serif; */
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: #111;
}

.intro__label{
  margin: 0 0 10px;
}

.intro__small{
  margin: 0 0 10px;
  color: #111;
  opacity: .9;
}

.intro__block p{
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.75;
  color: #222;
}

.intro__block p:last-child{ margin-bottom: 0; }

.intro__cta{
  margin-top: 16px;
  font-weight: 600;
}

/* Two per row grid */
.intro__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}


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

  .intro__media{
    border-radius: 18px 18px 0 0;
  }
}
/* Checklist */
.checklist{
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checklist li{
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.65;
  color: #222;
}

.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #1e6bff;
}

/* Quote */
.quote{
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #065b1d;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}

.quote p{
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

/* CTA inline */
.cta-inline{
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f6f7fb, #ffffff);
  border: 1px solid #eceef6;
}

.cta-inline__text{
  margin: 0;
  color: #111;
  line-height: 1.6;
}

/* ====== Works gallery (adaptive masonry) ====== */
.masonry{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.masonry__item{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f6f7fb;
  border: 1px solid #eceef6;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.masonry__item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: translateZ(0);
  transition: transform .25s ease;
}

.masonry__item:hover img{ transform: scale(1.03); }

.masonry__item--sm{ grid-column: span 4; aspect-ratio: 4 / 3; }
.masonry__item--md{ grid-column: span 6; aspect-ratio: 16 / 10; }
.masonry__item--lg{ grid-column: span 8; aspect-ratio: 16 / 11; }

@media (max-width: 1024px){
  .masonry{ gap: 12px; }
  .masonry__item--sm{ grid-column: span 6; }
  .masonry__item--md{ grid-column: span 12; }
  .masonry__item--lg{ grid-column: span 12; }
}

@media (max-width: 860px){
  .nav{ padding: 10px; }

  .nav__burger{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu{ display: none; }

  .menu.menu--open{
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 10;

    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    padding: 10px;
    margin: 0 6px;

    border-radius: var(--radius-md);
    background: var(--nav-bg);
    border: 1px solid var(--nav-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .menu.menu--open a{ padding: 12px 12px; }

  .hero{ min-height: 64vh; }
  .hero__content{ min-height: 64vh; }

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

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

@media (max-width: 640px){
  .masonry{
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  .masonry__item--sm,
  .masonry__item--md,
  .masonry__item--lg{
    grid-column: span 6;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .intro__block{ padding: 16px; }
}

.intro__video{
  padding: 0;
  overflow: hidden;
}

.intro__video-el{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 860px){
  .intro__video-el{
    aspect-ratio: 4 / 3;
  }
}

.intro__centered{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
}

.intro__centered .intro__h3{
  margin: 0;
}

.intro__feat{
  background: #f3f5f9;
}

.intro__media{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #eceef6;
  background: #f6f7fb;

  padding: 12px;              /* ← отступы вокруг картинки */
  border-radius: 18px 18px 0 0;
  
}

.intro__img{
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1; /* ~500x300 */
  object-fit: cover;
  transform: scale(1.02);
  will-change: transform;
  transition: transform .8s ease, filter .8s ease;
  filter: saturate(1.05) contrast(1.03);
  border-radius: 18px 18px 18px 18px;
}

.intro__feat:hover .intro__img{
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.06);
}

.intro__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.15), rgba(0,0,0,0));
  pointer-events: none;
}

.intro__body{
  padding: 18px 22px 22px;
}

@media (prefers-reduced-motion: reduce){
  .intro__img{ transition: none; }
}

.video-player{
  width: 50%;
  height: auto;
  aspect-ratio: 2 / 3;   /* или другое, если видео не 16:9 */
  object-fit: cover;
  display: block;
}

