@font-face{
  font-family:'BebasMont';
  src:url('../fonts/bebasmont/bebasneuebold.woff') format('woff');
  font-weight:300;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'BebasMont';
  src:url('../fonts/bebasmont/Montserrat-Regular.woff') format('woff');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'BebasMont';
  src:url('../fonts/bebasmont/Montserrat-Medium.woff') format('woff');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'BebasMont';
  src:url('../fonts/bebasmont/Montserrat-SemiBold.woff') format('woff');
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'BebasMont';
  src:url('../fonts/bebasmont/Montserrat-Bold.woff') format('woff');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

:root { --font-title: "Bebas Neue", Arial, sans-serif; }

body { 
	margin:0; 
	color: #000000;
    font-size: 16px;
    font-family: 'BebasMont', Arial, sans-serif;
    line-height: 1.60;
    font-weight: 500;
}

h1, .h1{
	color: #000000;
    font-size: 74px;
    line-height: 1.10;
    font-weight: 100;
	margin: 0;
}

h3, .h3{
	color: #000000;
    font-size: 58px;
    line-height: 1.10;
    font-weight: 100;
	margin: 0;
}
h4, .h4{
	color: #000000;
    font-size: 32px;
    line-height: 1.10;
    font-weight: 100;
	margin: 0;
}

.text-center{text-align: center;}
.site-header { position: absolute; top:0; left:0; width:100%; z-index:999; }
.nav-wrap { display:flex; align-items:center; justify-content:space-between; padding:24px 32px; }

.burger{position:relative; width:22px; height:14px; background:transparent; border:0; cursor:pointer;}
.burger span{position:absolute; left:0; width:100%; height:2px; background:#fff; transition:.25s;}
.burger span:nth-child(1){top:0;}
.burger span:nth-child(2), .burger span:nth-child(3){top:6px;}
.burger span:nth-child(4){top:12px;}
.burger.opened span:nth-child(1){top:6px; width:0; left:50%;}
.burger.opened span:nth-child(2){transform:rotate(45deg);}
.burger.opened span:nth-child(3){transform:rotate(-45deg);}
.burger.opened span:nth-child(4){top:6px; width:0; left:50%;}


body.menu-open .burger span{
	background:#000 !important;
}

.nav-menu{
  position: fixed; inset:0; background:#fff; display:none;
  padding:90px 40px; z-index:998;
}
.nav-menu.open{display:block;}
.nav-menu ul{list-style:none; margin:0; padding:0;}
.nav-menu a{
  font-family: var(--font-title);
  text-transform: uppercase;
  font-weight:300;
  text-decoration:none;
  color:#000;
  display:block;
  font-size:42px;
  line-height:1.05;
  padding:10px 0;
}

.hero { position:relative; height:100vh; min-height:900px; overflow:hidden; }
.hero-video, .hero-video video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-overlay{ position:absolute; inset:0; background:#272727; }
.hero-actions{
  position:absolute; left:50%; bottom:120px; transform:translateX(-50%);
  display:flex; gap:36px; align-items:center; z-index:2;
}
.btn-outline{
  font-family: var(--font-title);
  text-transform:uppercase;
  border:2px solid #fff;
  color:#fff;
  text-decoration:none;
}

.popup{ position:fixed; inset:0; background:rgba(0,0,0,.85); display:none; z-index:9999; }
.popup.open{ display:flex; align-items:center; justify-content:center; }
.popup-inner{ width:min(1100px,92vw); }
.popup-close{ background:transparent; border:0; color:#fff; font-size:34px; float:right; cursor:pointer; }
.popup-video{ position:relative; padding-top:56.25%; }
.popup-video iframe{ position:absolute; inset:0; width:100%; height:100%; }



/* ===== Header base ===== */
.site-header{
  position:absolute;
  top:0; left:0; right:0;
  z-index:999;
}
.header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

/* menus */
.header-nav{ flex:1 1 0; }
.header-nav--left{ display:flex; justify-content:flex-start; }
.header-nav--right{ display:flex; justify-content:flex-end; }

.nav-list{
  display:flex;
  gap: 30px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav-list a{
	text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
    font-family: 'BebasMont', Arial, sans-serif;
    line-height: 1.10;
    font-weight: 500;
}

/* logo in center */
.header-logo{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.header-logo img{ display:block; height:15px; width:auto; }

/* burger */
.burger{
  position:relative;
  flex:0 0 auto;
  width:22px;
  height:14px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  z-index:1001;
}
.burger span{
  display:block;
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:#fff;
  transition:.25s ease-in-out;
}
.burger span:nth-child(1){ top:0; }
.burger span:nth-child(2),
.burger span:nth-child(3){ top:6px; }
.burger span:nth-child(4){ top:12px; }

.burger.is-open span:nth-child(1){ top:6px; width:0; left:50%; }
.burger.is-open span:nth-child(2){ transform:rotate(45deg); }
.burger.is-open span:nth-child(3){ transform:rotate(-45deg); }
.burger.is-open span:nth-child(4){ top:6px; width:0; left:50%; }

/* ===== Desktop layout: logo centered, navs left/right ===== */
@media (min-width: 981px){
  .burger{ display:none; } /* на ПК бургер не потрібен, якщо меню видно */
}

/* ===== Mobile layout: logo left, burger right; desktop menus hidden ===== */
@media (max-width: 980px){
  .header-inner{
    justify-content:space-between;
  }
  .header-nav{ display:none; }
  .header-logo{ margin-right:auto; } /* лого зліва */
}

/* ===== Overlay mobile menu ===== */
.mobile-menu{
  position:fixed;
  inset:0;
  background: rgba(255,255,255,1);
  display:none;
  z-index:1000;
}
.mobile-menu.is-open{ display:block; }

.mobile-menu__inner{
  min-height:100vh;
  padding: 70px 24px 40px; /* зверху місце під хедер */
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap: 28px;
}

/* menu centered top->down */
.mobile-nav{
  list-style:none;
  margin:0;
  padding:0;
  text-align:center;
}
.mobile-nav li{ margin: 14px 0; }
.mobile-nav a{
  display:inline-block;
  text-decoration:none;
  text-transform:uppercase;
  font-family:'BebasMont', Arial, sans-serif;
  font-weight:300;
  font-size:28px;
  color:#000;
}

/* socials centered row */
.mobile-social{
  display:flex;
  gap: 16px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}
.mobile-social a{
  text-decoration:none;
  font-family:'BebasMont', Arial, sans-serif;
  font-weight:300;
  font-size:12px;
  color:#000;
}

/* lock scroll helper */
body.menu-open{ overflow:hidden; }
.mobile-social .social-icon{
  width:30px;
  height:30px;
  display:block;
}
.mobile-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}




/* Desktop */
@media (min-width: 641px){
  .header-nav{ display:inline-flex; }
  .burger{ display:none; }
  .mobile-menu{ display:none !important; }
}



.header-logo .logo-dark{
	display: none;
}

.page-id-1717 .header-logo .logo-white,
.page-id-1720 .header-logo .logo-white,
.single-blog .header-logo .logo-white,
.post-type-archive .header-logo .logo-white,
.single-cases .header-logo .logo-white,
.post-type-archive-cases .header-logo .logo-white{
	display: none;
}
.page-id-1717 .header-logo .logo-dark,
.page-id-1720 .header-logo .logo-dark,
.single-blog .header-logo .logo-dark,
.post-type-archive .header-logo .logo-dark,
.single-cases .header-logo .logo-dark,
.post-type-archive-cases .header-logo .logo-dark{
	display: inline-block;
}
.page-id-1717 .nav-list a,
.page-id-1720 .nav-list a,
.single-blog .nav-list a,
.post-type-archive .nav-list a,
.single-cases .nav-list a,
.post-type-archive-cases .nav-list a{
	color: #000;
}


.page-id-1717 .burger span,
.page-id-1720 .burger span,
.single-blog .burger span,
.post-type-archive .burger span,
.single-cases .burger span,
.post-type-archive-cases .burger span{
	background: #000;
}


.hero-video{
  position: relative;
  min-height: var(--hero-min-h, 900px);
  height: 100vh;
  background: #fff;
  overflow: hidden;
}

.hero-video__media{ position:absolute; inset:0; }
.hero-video__video{ width:100%; height:100%; object-fit:cover; }

.hero-video__overlay{
  position:absolute; inset:0;
  background: var(--hero-overlay, #000);
  opacity: var(--hero-overlay-op, .2);
}


.header-title__wrap{
	height: 510px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.header-title__wrap h1{
	margin-top: 90px;
	color: #000000;
    font-size: 120px;
    line-height: 1.55;
    font-weight: 100;
}

.hero-video__content{
  position: relative;
  height: 100%;
  display:flex;
  align-items:flex-end;
  justify-content: center;
}

.hero-video__actions{
  display:flex;
  align-items:center;
  gap:40px;
  margin-bottom: 80px;
}
.hero-text{
	display: flex;
    flex-direction: column;
    align-items: center;
	color: #fff;
	gap: 10px;
    padding: 20px;
	text-align: center;
}
.hero-text .hero-text__social {
	display: flex;
	justify-content: center;
	gap: 10px;
}
.hero-text .hero-text__social  a{
	text-decoration: none;
}
.hero-text .hero-text__social  img{
	width: 40px;
	height: 40px;
	filter: invert(1);
}

.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 196px;
	height: 56px;
  border:2px solid #fff;
  color:#fff;
  text-decoration:none;
  font-family: BebasMont, Arial, sans-serif;
  font-size:14px;
  letter-spacing:1px;
  text-transform:uppercase;
  transition:.2s ease-in-out;
}
.btn-outline:hover{ background:#fff; color:#000; }
.instagram-gallery__actions .instagram-gallery__button--follow,
.btn-outline-black{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 196px;
	height: 56px;
  border:2px solid #000;
  color:#000;
  text-decoration:none;
  font-family: BebasMont, Arial, sans-serif;
  font-size:14px;
  letter-spacing:1px;
  text-transform:uppercase;
  transition:.2s ease-in-out;
}
.instagram-gallery__actions .instagram-gallery__button--follow,
.btn-outline-black:hover{ background:#000; color:#fff; }

.watch{
  display:inline-flex;
  align-items:center;
  gap:16px;
  color:#fff;
  text-decoration:none;
  font-family: BebasMont, Arial, sans-serif;
  font-size:14px;
  position:relative;
}
.watch__icon{ display:block; }
.watch__line{
  position:absolute;
  left:56px;
  bottom: 0;
  width:91px;
  height:1px;
  background:#fff;
  opacity:0;
  transition:.3s ease-in-out;
}
.watch:hover .watch__line{ opacity:1; }

@media (max-width: 479px){
  .hero-video{ min-height: var(--hero-min-h-m, 700px); }
  .hero-video__actions{ flex-direction:column; align-items:center; gap:18px;  padding-bottom:70px;}
}

/* modal */
.video-modal{
  position:fixed; inset:0;
  background:rgba(0,0,0,.8);
  display:none;
  z-index:1200;
}
.video-modal.is-open{ display:grid; place-items:center; }
.video-modal__inner{ width:min(1000px, 92vw); }
.video-modal__frame{ position:relative; padding-top:56.25%; background:#000; }
.video-modal__frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-modal__close{
  position:fixed; top:18px; right:18px;
  width:44px; height:44px;
  border:0; border-radius:999px;
  background:#fff; color:#000;
  font-size:26px; cursor:pointer;
}


.t-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  z-index: 2000;
  padding: 24px;
}
.t-popup.is-open{ display:flex; align-items:center; justify-content:center; }

.t-popup__container{
  width: min(1000px, 92vw);
}

.t358__video-frame{
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.t358__video-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.t-popup__close{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2100;
}
.t-popup__close-wrapper{
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
}


.about{
	margin: 150px 0;
}
.cases-section .btn,
.about .btn{
	margin-top: 50px;
}
.about .about-inner{
	display: flex;
	gap: 20px;
}
.about .about-inner > .about-media img{
	width: 100%;
}
.about .about-inner > .about-media{
	width: 40%;
}
.about .about-inner > .about-content{
	width: 60%;
}
.about .about-inner .about-content{
    display: flex;
    flex-direction: column;
}
.about .about-inner .about-content h1{
	margin-bottom: 0;
	margin-top: -10px;
}
.about .about-text{
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.about .about-text .who-is-block{
	background: #F2F3F5;
    padding: 10px 50px;
}
.about .about-text .who-is-block ul{
	padding: 0;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.about .about-text .who-is-block.column-2 ul li{
	width: calc(50% - 10px);
}


.skills{
  margin: 80px 0;
  background: #fff;
}

.skills__title{
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 300; /* як у тільди виглядало "тонко" */
  font-size: 72px;
  line-height: 1.1;
  margin: 0 0 40px;
}

section .h1{
	margin-bottom: 40px;
}

.skills__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 -35px;
}

.skill-card{
  position: relative;
  border: 1px solid rgba(196,196,196,0.3);
  min-height: 220px;
  background: transparent;
}

.skill-card__bar{
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
  background: #1d1d1d;
  transition: background-color .2s ease-in-out;
}

.skill-card__inner{
  padding: 34px 34px 30px 44px; /* як у тільди відступи зліва */
}

.skill-card__heading{
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.skill-card__text{
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}

/* hover "чорна смужка" як tilda */
.skill-card:hover .skill-card__bar{
  background: #c4c4c4;
}

/* responsive */
@media (max-width: 1199px){
  .skills__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); margin: 0; }
  .skills__title{ font-size: 68px; }
}
@media (max-width: 959px){
  .skills__title{ font-size: 52px; }
  .skill-card__heading,
  .skill-card__text{ font-size: 14px; }
  .about .btn{
	margin-top: 30px;
}

}
@media (max-width: 639px){
  .skills__grid{ grid-template-columns: 1fr; }
  .skills{ padding: 60px 0; }
}
@media (max-width: 479px){
  .skills__title{ font-size: 30px; }
}


/* ====== History wrapper ====== */
.home-history {
  background: #fff;
  margin: 150px 0;
}

.home-history__title {
  margin: 0 0 36px;
  font-family: BebasMont, Arial, sans-serif;
  font-size: 74px;
  line-height: 1.1;
  font-weight: 100;
  color: #000;
}

/* ====== Timeline base ====== */
.timeline {
  position: relative;
  padding: 22px 0 10px;
}

.timeline__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 120px;
  height: 1px;
  background: rgba(0,0,0,.12);
}

.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  gap: 28px;
  align-items: start;

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.timeline__item {
	position: relative;
    scroll-snap-align: start;
    padding-top: 66px;
    padding-bottom: 10px;
    width: 130px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.timeline__dot {
  position: absolute;
  top: 94px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #000;
}

.timeline__icon {
  position: absolute;
  top: 25px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.timeline__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.timeline__year {
	position: absolute;
    top: 121px;
    font-family: BebasMont, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.1;
    color: #000;
}

.timeline__text {
  margin-top: 86px; /* below dot */
  max-width: 260px;

  font-family: BebasMont, Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}

.timeline__text p {
  margin: 0;
}

/* ====== breakpoints similar to your Tilda sizes ====== */
@media (max-width: 1199px) {
  .home-history__title { font-size: 56px; }
  .timeline__list { grid-auto-columns: minmax(160px, 1fr); }
}

@media (max-width: 959px) {
  .home-history__title { font-size: 52px; }
}

/* ====== Mobile: vertical list ====== */
@media (max-width: 639px) {
  .timeline {
    padding: 10px 0 0;
  }

  .timeline__line {
    left: 18px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .timeline__list {
    display: block;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .timeline__item {
    min-height: auto;
    padding: 0 0 28px 52px; /* content right of vertical line */
  }

  .timeline__dot {
    top: 8px;
    left: 13px;
  }

  .timeline__icon {
    position: static;
    width: 34px;
    height: 34px;
    margin: 0 0 6px -4px;
  }

  .timeline__year {
    position: static;
    margin: 0 0 6px;
    font-size: 14px;
  }

  .timeline__text {
    margin: 0;
    max-width: none;
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .home-history { padding: 46px 0; }
  .home-history__title { font-size: 44px; }
}



.home-press{
  background:#fff;
  margin: 150px 0;
}
.home-press__container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}
.home-press__title{
  margin:0 0 36px;
  font-family:BebasMont, Arial, sans-serif;
  font-size:74px;
  line-height:1.1;
  font-weight:100;
  color:#000;
}

/* Grid like 3 columns */
.home-press__grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:40px;
  align-items:start;
}

.press-card__img{
  display:block;
  width:100%;
  aspect-ratio: 3 / 4;
  background-color:#f3f3f3;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.press-card__source{
  margin:22px 0 10px;
  font-family:BebasMont, Arial, sans-serif;
  font-size:38px;
  line-height:1.1;
  font-weight:100;
  color:#000;
}

.press-card__quote{
  font-family:BebasMont, Arial, sans-serif;
  font-size:14px;
  line-height:1.6;
  font-weight:500;
  color:#000;
  margin:25px 0;
}

.press-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:50px;
  min-width:160px;
  padding:0 18px;
  border:2px solid #000;
  color:#000;
  text-decoration:none;
  font-family:BebasMont, Arial, sans-serif;
  font-size:11px;
  line-height:1.1;
  font-weight:500;
  transition: .2s ease-in-out;
}
.press-card__btn:hover{
  background:#000;
  color:#fff;
}

.home-press__more{
  margin-top:75px;
  display:flex;
  justify-content:center;
}
.home-press__morebtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:60px;
  min-width:200px;
  padding:0 26px;
  border:2px solid #000;
  background:#fff;
  color:#000;
  text-decoration:none;
  font-family:BebasMont, Arial, sans-serif;
  font-size:14px;
  line-height:1.1;
  font-weight:500;
  transition:.2s ease-in-out;
}
.home-press__morebtn:hover{
  background:#000;
  color:#fff;
}

/* ====== Responsive (close to your Tilda breakpoints) ====== */
@media (max-width:1199px){
  .home-press__title{font-size:56px;}
  .home-press__grid{gap:32px;}
  .press-card__source{font-size:38px;}
}

@media (max-width:959px){
  .home-press__title{font-size:52px;}
  .home-press__grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:22px;
  }
  .press-card__source{font-size:26px;}
  .press-card__quote{font-size:13px;}
  .press-card__btn{height:32px; min-width:101px;}
  .home-press__morebtn{height:50px; min-width:180px;}
}

/* mobile: stack like list (matches the spirit of your 320/480 layouts) */
@media (max-width:639px){
  .home-press__grid{
    grid-template-columns:1fr;
    gap:26px;
  }
  .press-card__img{aspect-ratio: 3 / 4;}
  .press-card__btn{height:49px; min-width:156px;}
  .home-press__more{justify-content:flex-start;}
}

@media (max-width:479px){
  .home-press{padding:46px 0;}
  .home-press__title{font-size:44px;}
}




.staytouch {
  margin: 150px 0;
  background: #fff;
}


.staytouch__title {
  margin: 0 0 36px;
  font-size: clamp(36px, 4vw, 74px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.staytouch__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 48px;
  margin-top:  36px;
}

.staytouch__item {
  display: flex;
  gap: 25px;
  align-items: start;
  color: #000;
  text-decoration: none;
  flex-direction:column;
}

.staytouch__icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
}

.staytouch__iconImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all .3s ease-in-out;
}

.staytouch__iconImg--hover {
  display: none;
}

.staytouch__text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
}

.staytouch__item:hover .staytouch__iconImg {
  opacity: .5;
}

/* Responsive */
@media (max-width: 959px) {
  .staytouch { padding: 60px 0; }
  .staytouch__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staytouch__item { grid-template-columns: 48px 1fr; }
  .staytouch__icon { width: 48px; height: 48px; }
  .staytouch__text { font-size: 13px; }
}

@media (max-width: 479px) {
  .staytouch { padding: 50px 0; }
  .staytouch__grid { grid-template-columns: 1fr; gap: 18px; }
  .staytouch__item { grid-template-columns: 44px 1fr; }
  .staytouch__icon { width: 44px; height: 44px; }
  .staytouch__text { font-size: 12.5px; }
}




/* Leave me a message section */
.lm {
  margin: 150px 0;
  background: #fff;
}

.lm__grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 40px;
  align-items: start;
}

.lm__media {
  width: 100%;
  height: 690px;
  overflow: hidden;
}

.lm__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lm__title {
  font-family: 'BebasMont', Arial, sans-serif;
  font-size: 74px;
  line-height: 1.1;
  font-weight: 100;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #000;
}

.lm__text {
  font-family: 'BebasMont', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0 0 28px;
  color: #000;
}

/* Form area (works with CF7 too) */
.lm__form input,
.lm__form select,
.lm__form textarea {
  width: 100%;
  border: 2px solid #666;
  background: transparent;
  height: 67px;
  padding: 0 14px;
  outline: none;
  font-family: 'BebasMont', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #7a7a7a;
  box-sizing: border-box;
}

.lm__form textarea {
  min-height: 64px;
  height: 64px;
  padding: 14px;
  resize: vertical;
}

.lm__form input::placeholder,
.lm__form textarea::placeholder {
  color: #7a7a7a;
  opacity: 0.6;
}

/* If you build CF7 with rows */
.lm__form .lm__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lm__form .lm__field {
  margin-bottom: 34px;
}

.lm__form button,
.lm__form input[type="submit"] {
  height: 60px;
  padding: 0 26px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-family: 'BebasMont', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.lm__form button:hover,
.lm__form input[type="submit"]:hover {
  background: #000;
  color: #fff;
}

/* 1199 */
@media (max-width: 1199px) {
  .lm__grid { grid-template-columns: 408px 1fr; }
  .lm__media { height: 605px; }
  .lm__title { font-size: 60px; }
}

/* 959 */
@media (max-width: 959px) {
  .lm__grid { grid-template-columns: 1fr; }
  .lm__media { height: 520px; }
  .lm__title { font-size: 52px; }
}

/* 479 */
@media (max-width: 479px) {
  .lm { padding: 40px 0; }
  .lm__media { height: 475px; }
  .lm__title { font-size: 44px; }
  .lm__form .lm__row { grid-template-columns: 1fr; }
}


.align-items-center{
	align-items: center;
}
.hero-video__title{
	color: #ffffff;
    font-size: 120px;
    line-height: 1.55;
    font-weight: 100;
}

.sa-section { padding: 80px 0; background: #fff; }
.sa-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.sa-grid { display: grid; grid-template-columns: 514px 1fr; gap: 64px; align-items: start; }
.sa-image { width: 100%; height: 772px; background-size: cover; background-position: center; border-radius: 6px; }

.sa-title { margin: 0 0 24px; font-size: 56px; line-height: 1.05; }
.sa-texts { display: grid; gap: 18px; margin-bottom: 28px; }
.sa-text { font-size: 16px; line-height: 1.6; opacity: .95; }

.sa-acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.sa-acc-item { border-top: 1px solid #eee; padding-top: 12px; }
.sa-acc-btn {
  width: 100%; background: transparent; border: 0; padding: 10px 0;
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  text-align: left;
}
.sa-acc-btn-title { font-size: 18px; line-height: 1.2; }
.sa-acc-icon {
  width: 24px; height: 24px; position: relative; flex: 0 0 24px;
}
.sa-acc-icon:before, .sa-acc-icon:after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 50%;
  height: 2px; background: #222; transform: translateY(-50%);
}
.sa-acc-icon:after { transform: translateY(-50%) rotate(90deg); transition: .2s; }
.sa-acc-item.is-open .sa-acc-icon:after { transform: translateY(-50%) rotate(0deg); }

.sa-acc-panel { overflow: hidden; }
.sa-acc-content { padding: 0 0 14px; font-size: 14px; line-height: 1.6; opacity: .9; }

/* responsive */
@media (max-width: 1199px) {
  .sa-grid { grid-template-columns: 399px 1fr; }
  .sa-image { height: 599px; }
  .sa-title { font-size: 48px; }
}
@media (max-width: 959px) {
  .sa-grid { grid-template-columns: 1fr; }
  .sa-image { height: 399px; }
  .sa-acc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .sa-section { padding: 56px 0; }
  .sa-title { font-size: 38px; }
}




.back-story{
  margin:150px 0 90px;
}
.back-story .container{
  display: grid;
  grid-template-columns: 310px 760px;
  column-gap: 90px;
  align-items: start;
}
.back-story__title{
  margin: 14px 0 0 0;

  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 100;
  font-size: 74px;
  line-height: 1.1;
  color: inherit;
}
.back-story__p{
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
}
@media (max-width:1199px){
  .back-story .container{
    max-width: 960px;
    grid-template-columns: 337px 620px;
    column-gap: 12px;
  }
  .back-story__title{
    margin-top: 64px;
    font-size: 74px;
  }
  .back-story__p{
    font-size: 14px;
  }
}

@media (max-width:959px){
  .back-story .container{
    max-width: 640px;
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .back-story__title{
    margin-top: 64px;
  }
  .back-story__p{
    margin-top: 24px;
  }
}

@media (max-width:639px){
  .back-story .container{
    max-width: 480px;
  }
  .back-story__title{
    margin-top: 35px;
    font-size: 52px;
    line-height: 1.2;
  }
  .back-story__p{
    font-size: 16px;
    line-height: 1.45;
  }
}

@media (max-width:479px){
  .back-story .container{
    max-width: 320px;
  }
  .back-story__title{
    margin-top: 44px;
    font-size: 52px;
  }
  .back-story__p{
    font-size: 14px;
  }
}




.vision-row{margin:90px 0 150px;}
.vision-row__inner{display:flex;flex-wrap:wrap;justify-content: space-between;gap:20px;}
.vision-row__item{
  font-family:'BebasMont', Arial, sans-serif;
  font-weight:100;
  font-size:32px;
  line-height:1.1;
  text-transform:none;
}
@media (max-width: 959px){
  .vision-row__item{font-size:24px;}
}





.lp__icon{
  position:absolute;
  top:20px;
  right:20px;
  width:80px;
  height:auto;
  display:block;
}
.lp__icon img{
  width:100%;
  height:auto;
  display:block;
}

/* Title centered */
.lp__title{
  margin:0;
  text-align:center;
  font-family:'BebasMont', Arial, sans-serif;
  font-weight:100;
  font-size:72px;
  line-height:1.05;
}
.lp__title a{
  color:inherit;
  text-decoration:none;
}

/* Quote left bottom */
.lp__quote{
  margin-top: 22px;
  max-width: 335px;
  font-family:'BebasMont', Arial, sans-serif;
  font-weight:400;
  font-size:18px;
  line-height:1.6;
}
.lp__quote a{
  color:inherit;
  text-decoration:none;
}

/* ===== 1199 ===== */
@media (max-width:1199px){
  .lp__container{
    min-height:130px;
    padding-top:9px;
    padding-bottom:18px;
  }
  .lp__icon{ top:6px; width:60px; }

  .lp__title{ font-size:48px; }
  .lp__quote{ margin-top: 10px; font-size:16px; }
}

/* ===== 959 ===== */
@media (max-width:959px){
  .lp__container{ min-height:100px; padding-top:6px; }
  .lp__icon{ top:3px; width:40px; }

  .lp__title{
    text-align:left;     /* як у tilda менше центриться на вузьких */
    font-size:28px;
    line-height:1.2;
  }
  .lp__quote{
    margin-top: 8px;
    font-size:14px;
    max-width: 335px;
  }
}

/* ===== 639 ===== */
@media (max-width:639px){
  .lp__container{ min-height:130px; padding-top:5px; }
  .lp__icon{ top:5px; width:40px; right:10px; }

  .lp__title{
    font-size:30px;
    line-height:1.3;
    max-width:310px;
  }
  .lp__quote{
    margin-top: 10px;
    max-width:265px;
  }
}

/* ===== 479 ===== */
@media (max-width:479px){
  .lp__container{ min-height:204px; padding-top:8px; padding-bottom:20px; }
  .lp__icon{ top:15px; width:40px; right:auto; left:10px; } /* як у тілді іконка "з'їжджає" */
  .lp__title{
    font-size:42px;
    text-align:left;
    max-width:240px;
  }
  .lp__quote{
    margin-top: 55px; /* щоб піти нижче іконки */
  }
}



.press { margin:150px 0; }
.press__section-title{
  margin: 0 0 20px;
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 100;
  font-size: 52px;
  line-height: 1.1;
}

.press__list{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.press__item{
  position: relative;
  overflow: visible;

  height: 230px;
  padding: 0;
}

.press__icon{
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}
.press__icon img{ width: 100%; height: auto; display:block; }
.press__item:hover .press__icon{ opacity: 1; }

.press__big{
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 100;
  font-size: 72px;
  line-height: 1.05;
}
.press a{
  text-decoration: none;
  color: #000;
}

/* малий текст зліва нижче */
.press__small{
	width: 500px;
    max-width: 100%;
	font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}

/* hover як у тілді: легка підсвітка
.press__item:hover .press__big a,
.press__item:hover .press__small a{
  color: #fff;
}
 */
/* <=1199 */
@media (max-width:1199px){
  .press__item{ height:130px; }
  .press__icon{ top:6px; right:10px; width:60px; }
  .press__big{ top:9px; font-size:48px; right:90px; }
  .press__small{ top:70px; font-size:16px; width:auto; right:90px; }
}

/* <=959 */
@media (max-width:959px){
  .press__item{ height:100px; }
  .press__icon{ top:3px; width:40px; }
  .press__big{ top:6px; font-size:28px; line-height:1.2; right:70px; }
  .press__small{ top:50px; font-size:14px; width:auto; right:70px; }
}

/* <=639 */
@media (max-width:639px){
  .press__item{ height:130px; }
  .press__icon{ top:5px; width:40px; }
  .press__big{ top:5px; font-size:30px; line-height:1.3; right:70px; }
  .press__small{ top:50px; width:265px; }
}

/* <=479 */
@media (max-width:479px){
  .press__item{ height:204px; }
  .press__icon{ top:15px; right:10px; width:40px; }
  .press__big{ top:8px; font-size:42px; right:60px; }
  .press__small{ top:121px; width:auto; right:20px; }
}





/* padding як t-rec_pt_90 t-rec_pb_90 */
.cases-archive{
  padding: 0 0 90px;
}

/* grid 3 колонки як t-col_4 */
.cases-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

/* card */
.case-card{}

/* link як контейнер */
.case-card__link{
  display: block;
  position: relative;
  height: 440px;              /* як у Tilda */
  overflow: hidden;
  text-decoration: none;
}

/* фон-картинка */
.case-card__media{
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform .25s ease;
}

/* overlay-gradient як в t401 */
.case-card__overlay{
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.50), rgba(0,0,0,0.30));
  transition: opacity .25s ease;
  opacity: 1;
}

/* текст знизу */
.case-card__bottom{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 0 50px 35px;
  display: flex;
  align-items: flex-end;
  min-height: 110px; /* щоб текст “сидів” як у Tilda */
}

/* title як t-name_xl + Bebas */
.case-card__title{
  margin: 0;
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  color: #fff;
}

/* hover як t401__animation_fast */
.case-card__link:hover .case-card__media{
  transform: scale(1.04);
}
.case-card__link:hover .case-card__overlay{
  opacity: .95;
}

/* responsive */
@media (max-width: 1199px){
  .cases-archive{ padding: 70px 0; }
  .cases-grid{ gap: 24px; }
  .case-card__link{ height: 420px; }
  .case-card__title{ font-size: 30px; }
}

@media (max-width: 959px){
  .cases-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-card__link{ height: 400px; }
}

@media (max-width: 639px){
  .cases-grid{ grid-template-columns: 1fr; }
  .case-card__link{ height: 440px; }
}





.case-head{
  padding: 0 0 40px;
}


/* Left */
.case-head__title{
  margin: 0;
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 300;
  font-size: 96px;
  line-height: 1;
  text-transform: lowercase; /* якщо треба як у прикладі */
}

.case-head__subtitle{
  margin-top: 12px;
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #9b9b9b;
}

/* Right rows */
.case-head__right{
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.case-row{
  display: grid;
  grid-template-columns: 240px 1fr; /* label ~173-198 + маркер + відступ */
  column-gap: 28px;
  align-items: start;
}

.case-row__label{
  display: flex;
  align-items: center;
  gap: 18px;
}

.case-row__label-text{
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: #000;
  white-space: nowrap;
}

/* Text */
.case-row__text{
  font-family: 'BebasMont', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.31;
  color: #868686;
  width: 723px;
    max-width: 100%;
}

.case-head__line{
  height: 1px;
  background: #c4c4c4;
}
.case-head__line--top{
  margin-top: 32px;   /* приблизно як top:232 */
}
.case-head__line--mid{
  margin-top: 190px;  /* приблизно як top:422 */
}
.case-head__line--bot{
  margin-top: 170px;  /* приблизно як top:592 */
}

.case-gallery{
  padding: 0;
}

.case-gallery__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* t603__tile_25 */
}

.case-gallery__tile{
  display: block;
  position: relative;
  overflow: hidden;
}

.case-gallery__img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3; /* t603__blockimg_4-3 */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform .25s ease;
}

.case-gallery__tile:hover .case-gallery__img{
  transform: scale(1.03);
}

/* ====== Responsive like Tilda ====== */
@media (max-width: 1199px){
  .case-head__inner{ grid-template-columns: 360px 1fr; }
  .case-head__title{ font-size: 72px; }
  .case-head__right{ padding-top: 0; }
  .case-row__text{width: auto;}
}

@media (max-width: 959px){
  .case-head__inner{ grid-template-columns: 1fr; gap: 18px; }
  .case-head__right{ padding-top: 0; }
  .case-row{ grid-template-columns: 220px 1fr; }
  .case-gallery__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-head__line--mid{ margin-top: 120px; }
  .case-head__line--bot{ margin-top: 120px; }
}

@media (max-width: 479px){
  .case-head{ padding: 24px 0 24px; }
  .case-head__title{ font-size: 54px; }
  .case-head__subtitle{ font-size: 14px; }
  .case-row{ grid-template-columns: 1fr; row-gap: 10px; }
  .case-row__label-text{ font-size: 20px; }
  .case-row__text{ font-size: 14px; line-height: 1.55; }
  .case-row__marker::before{ width: 280px; } /* як у Tilda на 320 */
  .case-gallery__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-title__wrap h1 {    margin-top: 40px;  }
}


.case-vimeo{
  padding: 40px 0;
}

.case-vimeo__frame{
  position: relative;
  height: 540px;
  border-radius: 0;
  overflow: hidden;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  /* щоб навіть без постера був темний фон */
  background-color: #0b0b0b;
}

.case-vimeo__overlay{
  position:absolute;
  inset:0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.40), rgba(0,0,0,0));
  pointer-events:none;
}

.case-vimeo__play{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 3;
}

.case-vimeo__content{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  padding: 0 28px;
}

.case-vimeo__title{
  font-family:'BebasMont', Arial, sans-serif;
  font-weight: 400;
  font-size: 32px; /* t-name_xl-like */
  line-height: 1.1;
  color: #fff;
}

.case-vimeo__video{
  position:absolute;
  inset:0;
  z-index: 4;
  display:none; /* показуємо після кліку */
}

.case-vimeo__video iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display:block;
}

/* responsive */
@media (max-width: 1199px){
  .case-vimeo__frame{ height: 440px; }
}
@media (max-width: 959px){
  .case-vimeo__frame{ height: 360px; }
  .case-vimeo__title{ font-size: 24px; }
}
@media (max-width: 479px){
  .case-vimeo__frame{ height: 260px; }
  .case-vimeo__content{ padding: 0 14px; bottom: 16px; }
}



.partners{
	margin: 150px 0;
}
.partners .partners-wrap{
	display: flex;
}
.partners .partners-wrap .partners-title{
	width: 35%;
}
.partners .partners-wrap .partners-items{
	width: 65%;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}
.partners .partners-wrap .partners-item{
	width: calc(20% - 15px);
	align-items: center;
    display: flex;
	justify-content: center;
}

.partners .partners-wrap{
  gap: 24px;
}
.partners .partners-wrap .partners-items{
  gap: 14px;
}
.partners .partners-wrap .partners-item img{
	max-width: 100%;
	max-height: 60px;
}
/*
.partners .partners-wrap .partners-item img{
	width: 80%;
}
*/
@media (max-width: 1199px){
	.partners .partners-wrap .partners-title{
		width: 30%;
	}
	.partners .partners-wrap .partners-items{
		width: 70%;
	}
}
@media (max-width: 959px){
	.partners .partners-wrap{
		flex-direction: column;
	}
	.partners .partners-wrap .partners-title{
		width: 100%;
	}
	.partners .partners-wrap .partners-items{
		width: 100%;
	}
	.partners .partners-wrap .partners-item{
		width: calc(25% - 15px);
	}
}
@media (max-width: 479px){
	.partners .partners-wrap .partners-item{
		width: calc(33.3% - 15px);
	}
	.partners .partners-wrap .partners-item img{
		width: 100%;
	}
}


.image-text{
	margin: 150px 0;
	padding: 100px 0;
}
.image-text.has-bg{
	background-position: 75%;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
}
.image-text .image-text__content{
	max-width: 55%;
}
.image-text .image-text__content .h3{
	margin-bottom: 25px;
}
.image-text .image-text__content .inner-text{
	padding: 20px;
	background: #fff;
}






.feature-cards{
  background:#fff;
  margin: 150px 0;
}
/*
.feature-cards .container{
  width:100%;
}
*/
.fc__grid{
  display:grid;
  grid-template-columns: 1fr 320px 1fr;
  gap:40px;
  align-items:center;
}

.fc__center{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:24px;
}

.fc__centerImg{
  width:240px;
  height:auto;
  display:block;
}

.fc__bottomImg{
  width:300px;
  height:auto;
  display:block;
  opacity:0.5;
}

.fc__col{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.fc__col.fc__col--left{
	align-items: flex-end;
}
.fc__col.fc__col--right{
	align-items: flex-start;
}

.fc__item{
  position:relative;
  min-height:44px;
  display:flex;
  align-items:center;
}

.fc__bar{
  position:absolute;
  left:0;
  top:0;
  width:383px;
  height:44px;
  background:#fdfdfd;
}

.fc__title{
  position:relative;
  z-index:2;
	font-size: 48px;
    line-height: 1.55;
    font-weight: 100;
  text-transform:uppercase;
  color:#000;
  padding:0 18px;
  width:383px;
}

.fc__item.is-right .fc__title{
  text-align:right;
  padding-right:18px;
  padding-left:18px;
}

.fc__item.is-left .fc__title{
  text-align:left;
}

@media (max-width: 959px){
  .feature-cards{
    min-height:1040px;
    padding:40px 0;
    align-items:flex-start;
  }

  .fc__grid{
    grid-template-columns: 1fr;
    gap:28px;
  }

  .fc__centerImg{ width:240px; }
  .fc__bottomImg{ width:300px; }

  .fc__bar,
  .fc__title{
    width:100%;
  }

  .fc__item.is-right .fc__title,
  .fc__item.is-left .fc__title{
    text-align:center;
  }
}

@media (max-width: 479px){
  .feature-cards{
    min-height:630px;
    padding:28px 0;
  }

  .fc__centerImg{ width:162px; }
  .fc__bottomImg{ width:248px; }

  .fc__bar{ height:31px; }
  .fc__item{ min-height:31px; }

  .fc__title{
    font-size:18px;
    padding:0 12px;
  }
}

.section-icon-text,
.section--about-marina,
.section--press-v2,
.social-channels,
.cases-section{
	margin: 150px 0;
}
.cases-section .cases-section__cta{
	text-align: center;
}




.social-channels {
  padding: 0;
  background: #fff;
}

.social-channels .sc__grid {
	display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
}

.sc__title {
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
}

.sc__subtitle {
	font-size: 21px;
    line-height: 1.15;
    text-transform: uppercase;
    color: #000;
    max-width: 100%;
    display: block;
    text-align: center;
    font-weight: 600;
    margin-top: 5px;
}

.sc__subtitle_wrap{
  margin-top: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc__decor {
  position: absolute;
}

.sc__right {
	display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.sc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
  width: calc(50% - 9px);
}

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

.sc__icon {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.sc__icon img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  display: block;
}

.sc__row:hover .sc__icon {
  transform: scale(1.1);
}

.sc__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sc__value,
.sc__name {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
  color: #000;
}

.sc__meta {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #9c9c9c;
}

.sc__value {
  text-align: right;
  flex: 0 0 auto;
}

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

.sc__value a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 959px) {
  .social-channels .sc__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 0;
  }

  .sc__title { font-size: 32px; }
  .sc__subtitle { font-size: 18px; }
}

@media (max-width: 479px) {
  .sc__title { font-size: 24px; }
  .sc__subtitle { font-size: 16px; }
  .sc__row { gap: 12px; }
  .sc__name, .sc__value { font-size: 16px; }
}




.section--testimonial-slider {
  background: var(--ts-bg, #fff);
}

.section--testimonial-slider .ts {
  position: relative;
  min-height: var(--ts-min-h, 420px);
  overflow: hidden;
}

@media (max-width: 959px) {
  .section--testimonial-slider .ts {
    min-height: var(--ts-min-h-tablet, 550px);
  }
}
@media (max-width: 479px) {
  .section--testimonial-slider .ts {
    min-height: var(--ts-min-h-mobile, 600px);
  }
}


.section--testimonial-slider .ts__decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.section--testimonial-slider .ts__decor--right {
  top: 0;
  right: 0;
  width: min(700px, 60vw);
  opacity: 1;
}

.section--testimonial-slider .ts__decor--left {
  left: 30%;
  bottom: -10%;
  width: min(220px, 30vw);
  opacity: 0.8;
}

@media (max-width: 479px) {
  .section--testimonial-slider .ts__decor--right {
    opacity: 0; /* як у тільді на мобілці майже зникає */
  }
  .section--testimonial-slider .ts__decor--left {
    left: -10%;
    top: 0;
    bottom: auto;
    width: 110%;
    opacity: 1;
  }
}

.section--testimonial-slider .ts__slides {
  position: relative;
}

.section--testimonial-slider .ts__slide {
  display: none;
  min-height: 210px;
}
.section--testimonial-slider .ts__slide.is-active {
  display: block;
}

.section--testimonial-slider .ts__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
}

@media (max-width: 1199px) {
  .section--testimonial-slider .ts__grid {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }
}

@media (max-width: 959px) {
  .section--testimonial-slider .ts__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sc__right {
    gap: 8px;
  }
	.sc__title {
        margin-bottom: 60px;
		text-align: center;
    }
	.sc__right {
		margin-top: 50px;
	}
}

.section--testimonial-slider .ts__logo img {
  display: block;
  max-width: 210px;
  height: auto;
}

.section--testimonial-slider .ts__name {
	font-size: 30px; 
    line-height: 1;
    text-transform: uppercase;
	margin-top: 10px;
}

@media (max-width: 1199px) {
  .section--testimonial-slider .ts__name { font-size: 25px; }
}
@media (max-width: 959px) {
  .section--testimonial-slider .ts__name { font-size: 20px; }
}
@media (max-width: 479px) {
  .section--testimonial-slider .ts__name { font-size: 21px; }
}

.section--testimonial-slider .ts__role {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.2;
}

@media (max-width: 959px) {
  .section--testimonial-slider .ts__role { font-size: 18px; }
}

.section--testimonial-slider .ts__text {
  font-size: 18px;
    line-height: 1.4;
    max-width: 740px;
    padding: 40px;
    border: 1px solid #000;
}

@media (max-width: 639px) {
  .section--testimonial-slider .ts__text { font-size: 14px;     height: auto; }
}
@media (max-width: 479px) {
  .section--testimonial-slider .ts__text { font-size: 14px; }
}

.section--testimonial-slider .ts__nav {
  margin-top: 35px;
  display: flex;
  gap: 25px;
  justify-content: center;
}

@media (min-width: 960px) {
  .section--testimonial-slider .ts__nav {
    justify-content: center;
  }
}

.section--testimonial-slider .ts__btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  outline: 0;
}
.section--testimonial-slider .ts__btn:hover {
  border-color: rgba(0,0,0,0.35);
}
.section--testimonial-slider .ts__arrow { width: 24px; height: auto; display:block; }
.section--testimonial-slider .ts__arrow--prev { transform: rotate(180deg); }
.section--testimonial-slider .ts__slide { display: none; }
.section--testimonial-slider .ts__slide.is-active { display: block; }
.section--testimonial-slider .ts__decor { pointer-events: none; }
.section--testimonial-slider .ts__nav { position: relative; z-index: 5; }
.section--testimonial-slider .ts__slides { 
	position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
 }





.section--press-v2 {
  background: var(--press-bg, #f6f6f6);
    padding: 100px 0;
}


.press-v2__title {
  margin: 0 0 40px;
  text-transform: uppercase;
  line-height: 1;
}

.press-v2__grid {
	display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 50px 30px;
    align-items: start;
}

.press-v2__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #000;
    font-weight: 600;
	display: flex;
    flex-direction: column;
    gap: 10px;
    color: #000;
    font-weight: 600;
}
.section--press-v2 .press-v2__item{
    height: 100px;
    align-items: center;
    justify-content: center;
	position: relative;
	
}
.section--press-v2  .press-v2__item span{
	position: absolute;
    bottom: -20px;
}
.section--press-v2  .press-v2__item img,
.press-v2__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.press-v2__more a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
}

@media (max-width: 959px) {
  .press-v2__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .press-v2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}













/* =========================
   BLOG ARCHIVE GRID
   ========================= */

.archive-main.archive-grid {
  display: grid;
  gap: 32px;
}

/* columns */
.archive-main.archive-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media (max-width: 700px) {
  .archive-main.archive-grid.columns-3 {
    grid-template-columns: 1fr;
  }
}

/* =========================
   POST CARD
   ========================= */

.post-grid {
  width: 100%;
}

.post-grid .post-outer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-grid .post-inner {
  position: relative;
}

/* Thumbnail */
.post-grid .post-thumbnail {
  position: relative;
  overflow: hidden;
  /*border-radius: 18px;*/
  background: #f3f4f6;
}

.post-grid .post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1);
  transition: transform .35s ease;
}

/* Click overlay (your empty <a> inside thumbnail) */
.post-grid .post-thumbnail > a {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
}

/* Hover zoom */
.post-grid:hover .post-thumbnail img {
  transform: scale(1.05);
}

/* “View Post” button overlay */
.post-grid .post-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.post-grid:hover .post-more {
  opacity: 1;
  pointer-events: auto;
}

.post-grid .post-more .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .2px;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease;
}

.post-grid .post-more .button-link:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.85);
}

/* Meta on thumbnail (views + reading time) */
.post-grid .post-thumbnail .post-meta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-grid .post-thumbnail .post-meta li {
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111827;
  backdrop-filter: blur(8px);
}

/* =========================
   HEADER / TEXT
   ========================= */

.post-grid .entry-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-grid .meta-category ul,
.post-grid .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-grid .meta-category a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease;
}

.post-grid .meta-category a:hover {
  background: #e5e7eb;
}

.post-grid .entry-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.post-grid .entry-title a {
  color: #0f172a;
  text-decoration: none;
}

.post-grid .entry-title a:hover {
  text-decoration: underline;
}

/* meta under title (author/date/comments) */
.post-grid .entry-header .post-meta {
	display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #000;
    font-size: 13px;
    margin-bottom: 10px;
}

.post-grid .entry-header .post-meta a {
  color: inherit;
  text-decoration: none;
}

.post-grid .entry-header .post-meta a:hover {
  text-decoration: underline;
}

/* excerpt */
.post-grid .post-excerpt {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   SHARE (optional – basic)
   ========================= */

.post-grid .post-share {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-grid .title-share {
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.pk-share-buttons-wrap .pk-share-buttons-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pk-share-buttons-wrap .pk-share-buttons-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #0b1220;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: transform .2s ease, opacity .2s ease;
}

.pk-share-buttons-wrap .pk-share-buttons-link:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.pk-share-buttons-wrap .pk-share-buttons-count {
  font-size: 12px;
  opacity: .85;
}

/* =========================
   PAGINATION + LOAD MORE
   ========================= */

.archive-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
}

.archive-pagination .page-numbers .current {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

/* Load more button */
.archive-loadmore {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.archive-loadmore .btn-loadmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.archive-loadmore .btn-loadmore:hover {
  transform: translateY(-1px);
  background: #f8fafc;
}

.archive-loadmore .btn-loadmore.is-loading {
  opacity: .7;
  cursor: progress;
  pointer-events: none;
}

/* small spinner (optional) */
.archive-loadmore .btn-loadmore .spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  display: none;
  animation: spin .7s linear infinite;
}

.archive-loadmore .btn-loadmore.is-loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}









.site-footer--t420 { color: #fff; }
.footer420 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; align-items: start; }

.footer420__logo {
  font-size: 32px;
  font-weight: 100;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.footer420__title{
	font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

.footer420__descr{
  font-size: 14px;
  color: #fff;
  line-height: 1.35;
}

.footer420__descr a{ color:#fff; text-decoration: none; }
.footer420__descr a u{ text-underline-offset: 3px; }

.footer420__social-list{
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

.footer420__social-link{
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  filter: invert(1);
}

.footer420__social-img{
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

.footer420__social-svg svg{
  width: 25px;
  height: 25px;
  display: block;
}
.footer420__social-svg svg path,
.footer420__social-svg svg circle,
.footer420__social-svg svg rect{
  fill: #fff !important;
}

.footer420__social-fallback{
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
}

.footer420__copy { color: rgb(81,81,81); font-style: italic; }

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





.site-footer{
  background:#fff;
  padding: 22px 0;
}

.site-footer__line{
  border-top: 1px solid #2d2d2d;
  margin-bottom: 18px;
}

.site-footer__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.site-footer__col--logo{ flex: 0 0 auto; }
.site-footer__col--nav{ flex: 1 1 auto; display:flex; justify-content:center; }
.site-footer__col--social{ flex: 0 0 auto; }

.site-footer__menus{
  display:flex;
  align-items:center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content:center;
}

/* важливо: UL з wp_nav_menu */
.footer-menu{
  display:flex;
  align-items:center;
  gap: 40px;
  list-style:none;
  margin:0;
  padding:0;
}

.footer-menu a{
  text-decoration:none;
  color:#000;
  font-size:12px;
  line-height:1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* social */
.footer-social{
  display:flex;
  align-items:center;
  gap: 14px;
}
.footer-social__item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid #fff; /* як у тілді */
  overflow:hidden;
  transition: opacity .2s ease;
}
.footer-social__item:hover{ opacity: .6; }
.footer-social__icon{ width:100%; height:100%; object-fit:cover; display:block; }
.footer-social__label{ font-size:12px; }

/* responsive */
@media (max-width: 768px){
  .site-footer__row{
    flex-direction: column;
    align-items:flex-start;
  }
  .site-footer__col--nav{ justify-content:flex-start; width:100%; }
  .site-footer__menus{ justify-content:flex-start; }
}

.it-items__wrap{
	display: flex;
    justify-content: space-between;
    gap: 15px;
}
.it-items__wrap .it-item {
    width: 33.3%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.it-item .it-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;        /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.5;
    min-height: calc(1.5em * 3);  /* keeps equal height */
}

.section-icon-text .btn{
    margin-top: 50px;
}
@media (max-width: 768px){
	.it-items__wrap{
		flex-direction: column;
	}
	.it-items__wrap .it-item {
		width: 100%;
	}
	.it-items__wrap .btn{
		margin-top: 30px;
	}
}






/* ========== Archive controls (Load more + pagination) ========== */
.archive-controls{
  margin-top: 32px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

/* Load more button */
#blogLoadMore.btn{
  appearance: none;
  border: 0;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;

  padding: 14px 22px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
  line-height: 1;

  background: #111;
  color: #fff;

  transition: transform .15s ease, opacity .15s ease, background-color .15s ease;
}

#blogLoadMore.btn:hover{ transform: translateY(-1px); }
#blogLoadMore.btn:active{ transform: translateY(0); opacity: .9; }
#blogLoadMore.btn:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

/* Pagination nav */
.archive-pagination{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;

  margin: 0;
}

/* Base style for page numbers */
.archive-pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 38px;
  min-width: 38px;
  padding: 0 14px;

  border-radius: 999px;
  text-decoration: none;

  font-size: 13px;
  font-weight: 600;
  line-height: 1;

  color: #111;
  background: #f2f2f2;

  transition: background-color .15s ease, transform .15s ease, opacity .15s ease;
}

.archive-pagination a.page-numbers:hover{
  background: #e8e8e8;
  transform: translateY(-1px);
}

.archive-pagination a.page-numbers:active{
  transform: translateY(0);
  opacity: .9;
}

/* Current page */
.archive-pagination .page-numbers.current{
  background: #111;
  color: #fff;
}

/* Dots */
.archive-pagination .page-numbers.dots{
  padding: 0 10px;
  min-width: 34px;
  background: transparent;
  color: #777;
}

/* Next link */
.archive-pagination .page-numbers.next{
  padding: 0 16px;
}

/* Optional: hide SEO pagination when Load more is active */
.archive-controls.is-loading .archive-pagination,
.archive-controls.is-ended .archive-pagination{
  opacity: .35;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 520px){
  #blogLoadMore.btn{
    width: 100%;
    max-width: 360px;
  }
  .archive-pagination .page-numbers{
    height: 36px;
    min-width: 36px;
    padding: 0 12px;
  }
  .archive-pagination .page-numbers.next{
    flex: 1 1 auto;
    justify-content: center;
  }
}




/* =========================
   Single Blog
========================= */

.blog-single { padding: 0 0 80px; }
.blog-single__container { width: min(900px, calc(100% - 40px)); margin: 0 auto; }

.blog-breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size: 14px; opacity:.75; justify-content: center; margin-bottom: 15px;}
.blog-breadcrumbs__link { text-decoration:none; color: #000; }
.blog-breadcrumbs__link:hover { text-decoration:underline; }
.blog-breadcrumbs__sep { opacity:.6; }
.blog-breadcrumbs__current { opacity:.9; }

.blog-single__hero { padding: 0 0 22px; }
.blog-single__cats { display:flex; flex-wrap:wrap; gap:10px; margin: 14px 0 10px; }

.blog-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  font-size: 13px;
  text-decoration:none;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.blog-pill:hover { transform: translateY(-1px); border-color: rgba(0,0,0,.22); }
.blog-pill--light { background: rgba(0,0,0,.04); }

.blog-single__title{
  margin: 10px 0 10px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.blog-single__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content: center;
  font-size: 14px;
  opacity: .8;
  margin-bottom: 18px;
}
.blog-dot{ opacity:.6; }

.blog-single__cover{
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.blog-single__cover img{
  width:100%;
  height:auto;
  display:block;
}

/* Grid */
.blog-single__grid{
  margin-top: 26px;
}

/* TOC */
.blog-toc { position: sticky; top: 110px; }
.blog-toc__box{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
}
.blog-toc__title{ font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.blog-toc__list{ display:flex; flex-direction:column; gap:8px; }
.blog-toc__empty{ font-size: 13px; opacity:.65; }

.blog-toc__link{
  text-decoration:none;
  font-size: 13px;
  line-height: 1.25;
  opacity: .85;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background-color .15s ease, opacity .15s ease, transform .15s ease;
}
.blog-toc__link:hover{ background: rgba(0,0,0,.045); opacity: 1; transform: translateY(-1px); }
.blog-toc__link--h3{ padding-left: 18px; opacity: .78; }
.blog-toc__link.is-active{ background: rgba(0,0,0,.06); opacity: 1; }

/* Share */
.blog-share{
  margin-top: 14px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 16px;
}
.blog-share__title{ font-weight:600; font-size:14px; margin-bottom:10px; }
.blog-share__row{ display:flex; flex-wrap:wrap; gap:10px; }
.blog-share__btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  text-decoration:none;
  font-size: 13px;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.blog-share__btn:hover{ transform: translateY(-1px); border-color: rgba(0,0,0,.22); background: rgba(0,0,0,.03); }

/* Content typography */
.blog-content__inner{

}
.blog-content__inner > *:first-child { margin-top: 0; }

.blog-content__inner h2{
  margin: 34px 0 12px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.blog-content__inner h3{
  margin: 26px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}
.blog-content__inner p{ margin: 0 0 16px; }
.blog-content__inner a{ text-underline-offset: 3px; }
.blog-content__inner img{ max-width: 100%; height:auto; border-radius: 14px; }
.blog-content__inner blockquote{
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 3px solid rgba(0,0,0,.18);
  background: rgba(0,0,0,.03);
  border-radius: 14px;
}
.blog-content__inner ul, .blog-content__inner ol{ padding-left: 1.2em; margin: 0 0 16px; }
.blog-content__inner hr{ border:0; height:1px; background: rgba(0,0,0,.10); margin: 28px 0; }

/* Tags */
.blog-tags{ margin-top: 28px; }
.blog-tags__title{ font-size: 14px; font-weight:600; margin-bottom: 10px; opacity:.9; }
.blog-tags__list{ display:flex; flex-wrap:wrap; gap:10px; }

/* Prev/Next */
.blog-single__nav{
  margin-top: 32px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.blog-nav__link{
  display:block;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 14px 14px;
  text-decoration:none;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
  min-height: 78px;
}
.blog-nav__link:hover{ transform: translateY(-1px); border-color: rgba(0,0,0,.22); background: rgba(0,0,0,.02); }
.blog-nav__kicker{ display:block; font-size: 12px; opacity:.7; margin-bottom: 6px; }
.blog-nav__title{ display:block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.blog-nav__muted{
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px dashed rgba(0,0,0,.16);
  border-radius: 16px;
  padding: 14px;
  min-height: 78px;
  opacity:.6;
  font-size: 13px;
}

/* Related */
.blog-related{ margin-top: 54px; }
.blog-related__title{ font-size: 22px; letter-spacing: -0.01em; margin: 0 0 16px; }
.blog-related__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-card{
  display:block;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  overflow:hidden;
  text-decoration:none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  background: #fff;
}
.blog-card:hover{ transform: translateY(-2px); border-color: rgba(0,0,0,.18); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.blog-card__thumb{ aspect-ratio: 16/10; background: rgba(0,0,0,.04); overflow:hidden; }
.blog-card__thumb img{ width:100%; height:100%; object-fit: cover; display:block; }
.blog-card__ph{ width:100%; height:100%; }
.blog-card__body{ padding: 14px; }
.blog-card__meta{ font-size: 12px; opacity:.7; margin-bottom: 8px; }
.blog-card__title{ font-size: 15px; font-weight:700; line-height: 1.25; margin-bottom: 8px; }
.blog-card__excerpt{ font-size: 13px; opacity:.82; line-height: 1.45; }

/* Responsive */
@media (max-width: 980px){
  .blog-single__grid{ grid-template-columns: 1fr; }
  .blog-toc{ position: static; order: 2; }
  .blog-related__grid{ grid-template-columns: 1fr; }
  .blog-single__nav{ grid-template-columns: 1fr; }
}








/* ===========================
   RESPONSIVE PATCH (put at end)
   Breakpoints: 1199 / 959 / 639 / 479
   =========================== */

/* 1) Universal container & spacing */
.container{
  width: min(1160px, 100%);
  margin: 0 auto;
}

:root{
  --section-space: 150px;
  --section-space-t: 110px;
  --section-space-m: 80px;
  --section-space-xs: 60px;
}

/* Replace huge margins on sections with a consistent scale */
.about,
.home-history,
.home-press,
.staytouch,
.lm,
.back-story,
.press,
.partners,
.image-text,
.feature-cards,
.section-icon-text,
.section--about-marina,
.section--press-v2,
.social-channels,
.cases-section{
  margin: var(--section-space) 0;
}

@media (max-width: 1159px){
	.fc__bar,
	.fc__title{
		width: auto;
	}
	.container {
		width: auto !important;
		padding: 0 15px;
	}
}
@media (max-width: 959px){
  .about,
  .home-history,
  .home-press,
  .staytouch,
  .lm,
  .back-story,
  .press,
  .partners,
  .image-text,
  .feature-cards,
.section-icon-text,
  .section--about-marina,
  .section--press-v2,
  .social-channels,
  .cases-section{
    margin: var(--section-space-m) 0;
  }
}

@media (max-width: 479px){
  .about,
  .home-history,
  .home-press,
  .staytouch,
  .lm,
  .back-story,
  .press,
  .partners,
  .image-text,
  .feature-cards,
.section-icon-text,
  .section--about-marina,
  .section--press-v2,
  .social-channels,
  .cases-section{
    margin: var(--section-space-xs) 0;
  }
}

/* 2) Typography: make big headings responsive */
h1, .h1{
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.08;
}
h3, .h3{
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.1;
}

/* hero titles */
.hero-video__title,
.header-title__wrap h1{
  font-size: clamp(42px, 7.2vw, 120px);
  line-height: 1.1;
}

/* Avoid huge fixed height on title wrap */
.header-title__wrap{
  height: auto;
  min-height: 280px;
  padding: 120px 0 40px;
}
.header-title__wrap.header-case{
	padding: 30px 0;
    min-height: auto;
}
@media (max-width: 639px){
  .header-title__wrap{ padding: 110px 0 30px; min-height: 220px; }
}
@media (max-width: 479px){
  .header-title__wrap{ padding: 96px 0 24px; min-height: 190px; }
  .header-title__wrap.header-case {
    padding: 50px 0 20px;
}

/* 3) Header/menu: remove breakpoint conflicts (force one logic) */
@media (min-width: 960px){
  .header-nav{ display:flex !important; }
  .burger{ display:none !important; }
  .mobile-menu{ display:none !important; }
}

@media (max-width: 959px){
  .header-nav{ display:none !important; }
  .burger{ display:block !important; }
  .header-logo img{ height: 14px; }
  .nav-wrap{ padding: 18px 18px; }
}

/* 4) Hero actions */
.hero-video__actions{
  gap: 15px;
  margin-bottom: 70px;
}
@media (max-width: 639px){
  .hero-video__actions{
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
    padding: 12px;
    width: 100%;
  }
  .btn-outline,
  .btn-outline-black{
    width: 100%;
    max-width: 340px;
  }
}

/* 5) About: columns -> stack */
@media (max-width: 959px){
  .about .about-inner{
    flex-direction: column;
    gap: 24px;
  }
  .about .about-inner > .about-media,
  .about .about-inner > .about-content{
    width: 100%;
  }
  .about .about-text .who-is-block{
    padding: 12px 30px;
  }
}
@media (max-width: 479px){
  .about .about-text .who-is-block.column-2 ul li{
    width: 100%;
  }
}

/* 6) Back story: remove hard grid widths */
.back-story .container{
  grid-template-columns: minmax(0, 360px) 1fr;
  column-gap: 48px;
}
@media (max-width: 1199px){
  .back-story .container{
    grid-template-columns: minmax(0, 320px) 1fr;
    column-gap: 28px;
  }
}
@media (max-width: 959px){
  .back-story .container{
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
}

/* 7) Image-text: 55% -> full on small */
@media (max-width: 959px){
  .image-text{
    padding: 70px 0;
  }
  .image-text .image-text__content{
    max-width: 100%;
  }
}
@media (max-width: 479px){
  .image-text{
    padding: 54px 0;
  }
}

/* 8) Feature cards: remove huge min-heights & fix titles scaling */
.feature-cards{
  min-height: unset !important;
}
.section--testimonial-slider .h1,
.feature-cards .h1{
	margin-bottom: 50px;
}
.fc__title{
  font-size: clamp(18px, 4.2vw, 48px);
}
@media (max-width: 959px){
  .feature-cards{
    padding: 40px 0;
  }
.section--testimonial-slider .h1,
.feature-cards .h1{
	margin-bottom: 30px;
}
}
@media (max-width: 479px){
  .feature-cards{
    padding: 28px 0;
  }
}



@media (max-width: 639px){
  .partners .partners-wrap .partners-item{
    width: calc(50% - 14px);
  }
}
@media (max-width: 479px){
  .partners .partners-wrap .partners-item{
    width: calc(50% - 14px);
  }
}

/* 10) Press v2 grid: 5 -> 4 -> 2 -> 1 */
@media (max-width: 1199px){
  .press-v2__grid{ grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
}
@media (max-width: 639px){
  .press-v2__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
}
@media (max-width: 479px){
  .press-v2__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* 11) Social channels: 2 columns -> 1 on small */
@media (max-width: 639px){
  body {
    font-size: 14px;
  }
  .social-channels .sc__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sc__row{
    width: 100%;
  }
  .sc__subtitle_wrap{ margin-top: 24px; }
	.fc__col.fc__col--left, .fc__col.fc__col--right{
		align-items: center;
	}
	.section--press-v2 {
		padding: 60px 0;
	}
}

/* 12) Timeline polish: ensure horizontal scrolling is usable */
.timeline__list{
  scrollbar-width: thin;
}
.timeline__list::-webkit-scrollbar{ height: 6px; }
.timeline__list::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.2); }

/* 13) Footer: tighter spacing on mobile */
@media (max-width: 479px){
  .site-footer{
    padding: 18px 0;
  }
  .footer-menu{
    gap: 18px;
  }
}










/* ===========================
   SCROLL ANIMATIONS (reveal)
   =========================== */

[data-aos]{
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity var(--aos-dur, 700ms) ease,
    transform var(--aos-dur, 700ms) ease;
  transition-delay: var(--aos-delay, 0ms);
  will-change: opacity, transform;
}

[data-aos].is-inview{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* variations */
[data-aos="fade-up"]{ transform: translate3d(0, 22px, 0); }
[data-aos="fade-down"]{ transform: translate3d(0, -22px, 0); }
[data-aos="fade-left"]{ transform: translate3d(-22px, 0, 0); }
[data-aos="fade-right"]{ transform: translate3d(22px, 0, 0); }

[data-aos="zoom-in"]{ transform: scale(.96); }
[data-aos="zoom-in"].is-inview{ transform: scale(1); }

[data-aos="blur-in"]{ filter: blur(8px); }
[data-aos="blur-in"].is-inview{ filter: blur(0); transition: filter var(--aos-dur,700ms) ease, opacity var(--aos-dur,700ms) ease; }

/* optional: stagger helper (child elements) */
[data-aos-stagger] > *{
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity var(--aos-dur, 700ms) ease, transform var(--aos-dur, 700ms) ease;
}
[data-aos-stagger].is-inview > *{
  opacity: 1;
  transform: translate3d(0,0,0);
}
[data-aos-stagger].is-inview > *:nth-child(1){ transition-delay: 0ms; }
[data-aos-stagger].is-inview > *:nth-child(2){ transition-delay: 80ms; }
[data-aos-stagger].is-inview > *:nth-child(3){ transition-delay: 160ms; }
[data-aos-stagger].is-inview > *:nth-child(4){ transition-delay: 240ms; }
[data-aos-stagger].is-inview > *:nth-child(5){ transition-delay: 320ms; }
[data-aos-stagger].is-inview > *:nth-child(6){ transition-delay: 400ms; }

/* accessibility */
@media (prefers-reduced-motion: reduce){
  [data-aos],
  [data-aos-stagger] > *{
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}




[data-aos]{opacity:0; transform:translate3d(0,18px,0); transition:opacity var(--aos-dur,700ms) ease, transform var(--aos-dur,700ms) ease; transition-delay: var(--aos-delay,0ms);}
[data-aos].is-inview{opacity:1; transform:translate3d(0,0,0);}
/* Hero: animate on load even if it's already in viewport */
.hero-text{
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.hero-text [data-aos].is-inview{
  opacity: 1;
  transform: translate3d(0,0,0);
}
[data-aos="fade-down"]{ transform: translate3d(0, -18px, 0); }


.header-nav, .header-logo{ 
  opacity:0; 
  transform: translate3d(0, 18px, 0);
  transition:
    opacity var(--aos-dur, 700ms) ease,
    transform var(--aos-dur, 700ms) ease;
  transition-delay: var(--aos-delay, 0ms);
  will-change: opacity, transform;
}
.is-inview[data-aos]{ opacity:1; transform:none; }

/* fade-down */
[data-aos="fade-down"]{ transform: translate3d(0, -18px, 0); }
