/* =========================================================
   Thermo Impulse — əsas stil faylı
   Figma: 1920px kətan, 120px kənar boşluq (1680px məzmun)
   ========================================================= */
:root {
  --red: #ed1c24;
  --red-dark: #c8131a;
  --dark: #231f20;
  --brown: #564240;
  --black: #000;
  --gray-bg: #f8f8f8;
  --gray-input: #f3f3f3;
  --line: rgba(86, 66, 64, .5);
  --card-line: rgba(86, 66, 64, .2);

  --gutter: clamp(16px, 6.25vw, 120px);   /* 120px @1920 */
  --sec: clamp(72px, 7.8vw, 150px);       /* bölmələr arası məsafə */
  --header-h: clamp(80px, 8.34vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
b, strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Icon (SVG mask, rəng currentColor ilə) ---------- */
.icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}
i.icon--arrow { transform: rotate(90deg); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
  padding: 0 22px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s;
}
.btn:hover { background: var(--red-dark); }
.btn .icon { font-size: 15px; }
.btn--lg { width: 260px; max-width: 100%; }
.btn--sm { width: 142px; padding: 0 10px; }

.video-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}
.video-btn .icon { font-size: 39px; transition: color .2s; }
.video-btn:hover .icon { color: var(--red); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 30px;
  color: var(--red);
}
.link-more .icon { font-size: 21px; transition: transform .2s; }
.link-more:hover .icon { transform: rotate(90deg) translateY(-4px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  line-height: 30px;
}
.eyebrow::before {
  content: "";
  width: 41px;
  height: 2px;
  background: var(--red);
}
.eyebrow--light { color: #fff; }
.title {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}
.text { font-size: 15px; line-height: 30px; }
.text--26 { line-height: 26px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: clamp(84px, 7.3vw, 140px); height: auto; }

.nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 61px); }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  line-height: 22px;
  color: var(--dark);
  white-space: nowrap;
  transition: color .2s;
}
.nav__link:hover { color: var(--red); }
.nav__link.is-active { color: var(--red); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--dark);
}
.nav__link--drop.is-active::after { right: 27px; }
.nav__link .icon { font-size: 16px; color: #000; transition: transform .2s; }
.nav__item.is-open .nav__link .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  min-width: 190px;
  padding: 10px 0;
  background: #fff;
  border: .5px solid var(--line);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s;
  z-index: 5;
}
.dropdown::before { /* hover körpüsü */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -20px;
  height: 20px;
}
.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 15px;
  color: var(--dark);
  transition: color .2s, background .2s;
}
.dropdown a:hover, .dropdown a.is-active { color: var(--red); background: var(--gray-bg); }
.nav__item:hover .dropdown,
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }

.header__actions { display: flex; align-items: center; gap: 26px; }
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 68px;
  height: 48px;
  border: .5px solid rgba(86, 66, 64, .2);
  font-size: 15px;
  font-weight: 600;
  color: rgba(86, 66, 64, .8);
}
.lang__btn .icon { width: 9px; height: 5px; opacity: .8; transition: transform .2s; }
.lang.is-open .lang__btn .icon { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: .5px solid var(--brown);
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  z-index: 5;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; }
.lang__menu button,
.lang__menu a {
  display: block;
  width: 100%;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  text-align: center;
}
.lang__menu button:hover,
.lang__menu a:hover,
.lang__menu a[aria-current] { color: var(--red); background: var(--gray-bg); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--dark); transition: .25s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(520px, 36.4vw, 699px);
  background: url(../img/hero.jpg) 50% 100% / 122% auto no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 20%, rgba(255,255,255,.55) 38%, rgba(255,255,255,0) 56%),
    linear-gradient(0deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 16%);
}
.hero__inner { position: relative; }
.hero__content {
  padding: clamp(48px, 8.2vw, 158px) 0 clamp(56px, 6.3vw, 120px);
  max-width: 640px;
}
.hero__title {
  font-size: clamp(40px, 3.75vw, 72px);
  font-weight: 600;
  line-height: 1.28;
  color: var(--dark);
}
.hero__title span { color: var(--red); }
.hero__text {
  margin-top: clamp(14px, 1.15vw, 22px);
  max-width: clamp(420px, 29.6vw, 568px);
  font-size: clamp(17px, 1.25vw, 24px);
  line-height: 1.625;
  color: var(--dark);
}
.hero__buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 41px;
  margin-top: clamp(36px, 3.8vw, 73px);
}
.hero__slogan {
  position: absolute;
  top: clamp(40px, 3.95vw, 76px);
  right: calc(var(--gutter) + clamp(0px, 4.2vw, 80px));
  width: 115px;
  padding-bottom: 8px;
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  color: #fff;
  border-bottom: 2px solid var(--red);
}

/* =========================================================
   HOME — ABOUT (şəkil sol kənara qədər)
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: min(43.23vw, 830px) minmax(0, 1fr);   /* 830 / 1920 */
  column-gap: min(6.15vw, 118px);                               /* 118 / 1920 */
  max-width: 1920px;
  margin: var(--sec) auto 0;
  padding-right: var(--gutter);
}
.about__img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.about__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 33.4%;   /* stat sütunu 284 / 852 */
  align-items: center;
  padding: 7px 0;
}
.about__content { padding-right: 48px; }
.about__content .title { margin-top: 15px; }
.about__content .text { margin-top: 15px; }
.about__content .link-more { margin-top: 30px; }
.about__stat {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: .5px solid var(--brown);
  margin: 20px 0 26px;
}
.about__stat strong {
  font-size: clamp(64px, 5vw, 96px);
  font-weight: 700;
  line-height: .82;
  color: var(--red);
}
.about__stat span { margin-top: 18px; font-size: 15px; line-height: 30px; }

/* =========================================================
   Bölmələr
   ========================================================= */
.section { padding-top: var(--sec); }
.section__head { margin-bottom: 18px; }
.section__head .title { margin-top: 18px; }

/* Üstünlüklər */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.adv {
  display: flex;
  gap: 21px;
  min-height: 152px;
  padding: 32px clamp(20px, 2.2vw, 42px) 32px clamp(20px, 3.2vw, 61px);
  background: var(--gray-bg);
  border: .5px solid var(--line);
}
.adv .icon { width: 48px; height: 48px; }
.adv h3 { font-size: 15px; font-weight: 600; line-height: 30px; margin-bottom: 4px; }
.adv p { font-size: 12px; line-height: 18px; color: var(--brown); }

/* Xidmətlər */
.services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.service { border: 1px solid var(--card-line); padding: 1px; }
.service__img { position: relative; aspect-ratio: 318 / 179; }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__img span {
  position: absolute;
  left: 10px; bottom: -18px;
  width: 37px; height: 37px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}
.service__body { padding: 27px 10px 10px; }
.service h3 { font-size: 15px; font-weight: 600; line-height: 30px; margin-bottom: 4px; }
.service p { font-size: 12px; line-height: 18px; color: var(--brown); }

/* Aside + məzmun düzülüşü */
.split { display: grid; grid-template-columns: 16.9% minmax(0, 1fr); }    /* 284 / 1680 */
.split--projects { grid-template-columns: 25.65% minmax(0, 1fr); }        /* 431 / 1680 */
.split--clients { grid-template-columns: 23.93% minmax(0, 1fr); }         /* 402 / 1680 */
.split__aside { padding-right: 24px; }
.split__aside .title { margin-top: 18px; max-width: 260px; }
.split__aside .text--26 { margin-top: 18px; max-width: 324px; }

/* Brendlər (ana səhifə) */
.brands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.brand {
  display: block;
  min-height: 181px;
  padding: 21px 14px;
  background: var(--gray-bg);
  border: 1px solid var(--card-line);
  transition: border-color .2s, box-shadow .2s;
}
.brand:hover { border-color: var(--red); box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.brand img { height: 65px; width: auto; max-width: 195px; object-fit: contain; object-position: left center; }
.brand p { margin-top: 10px; font-size: 12px; line-height: 18px; color: var(--brown); }

/* Layihə kartları */
.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.split .projects { margin-top: 56px; }
.project {
  display: block;
  background: var(--gray-bg);
  border: 1px solid var(--card-line);
  padding: 1px;
}
.project__img { aspect-ratio: 3 / 2; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project:hover .project__img img { transform: scale(1.04); }
.project__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 17px 14px 12px;
}
.project h3 { font-size: 15px; font-weight: 600; line-height: 26px; }
.project span { font-size: 15px; line-height: 26px; color: var(--brown); }
.project .icon { width: 15px; height: 15px; color: var(--red); margin-bottom: 7px; transition: transform .2s; }
.project:hover .icon { transform: rotate(90deg) translateY(-4px); }

/* Müştərilər */
.clients-box {
  min-width: 0;
  margin-top: 48px;
  border-left: .5px solid var(--brown);
}
.clients {
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 186px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.clients__track {
  display: flex;
  align-items: center;
  gap: 85px;
  padding-left: 85px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.clients__track img { height: 86px; width: auto; max-width: 250px; object-fit: contain; }
.clients__track img:nth-child(5n+3) { height: 200px; }
.clients__track img:nth-child(5n+4) { height: 155px; }
.clients__track img:nth-child(5n+5) { height: 153px; }
.clients:hover .clients__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ƏLAQƏ bloku
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 734px);
  gap: 40px;
  padding: 41px clamp(16px, 6.15vw, 118px);
  background: var(--gray-input);
  border: 1px solid var(--card-line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}
.contact__info {
  display: flex;
  flex-direction: column;
  padding-top: 39px;
  max-width: 496px;
}
.contact__title { margin-top: 28px; font-size: clamp(28px, 1.875vw, 36px); font-weight: 500; line-height: 1.33; }
.contact__text {
  margin-top: 20px;
  font-family: 'TikTok Sans', 'Poppins', sans-serif;
  font-size: clamp(17px, 1.04vw, 20px);
  line-height: 1.4;
  color: var(--brown);
}
.contact__list { margin-top: auto; padding-top: 40px; display: grid; gap: 16px; }
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 21px;
  font-family: 'TikTok Sans', 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 22.5px;
  color: var(--red);
  max-width: 380px;
}
.contact__list li:first-child { font-family: 'Poppins', sans-serif; font-weight: 300; }
.contact__list a:hover { text-decoration: underline; }
.contact__list .icon { width: 24px; height: 24px; }
.contact__list li:nth-child(2) .icon { width: 30px; height: 27px; margin: -2px -3px 0; }

.form {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding: 63px clamp(16px, 2.4vw, 46px) 34px;
  background: #fff;
  border: 1px solid var(--card-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.form__field { position: relative; }
.form input,
.form textarea {
  display: block;
  width: 100%;
  height: 77px;
  padding: 0 20px;
  border: 1px solid transparent;
  outline: none;
  background: var(--gray-input);
  font: 400 15px/22.5px 'Poppins', sans-serif;
  color: var(--dark);
  transition: border-color .2s;
}
.form textarea { height: 150px; padding-top: 20px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--red); }
.form .is-invalid { border-color: var(--red); }
.form__error {
  position: absolute;
  left: 0; top: calc(100% + 6px);
  font-size: 12px;
  color: var(--red);
}
.form ::placeholder { color: var(--brown); opacity: 1; }
.form .btn { font-size: 16px; border-radius: 2px; }
.form__success {
  display: none;
  padding: 14px 18px;
  background: #eaf7ee;
  color: #1f7a3c;
  font-size: 14px;
}
.form.is-sent .form__success { display: block; }
.form__fail {
  padding: 14px 18px;
  background: #fdecec;
  color: var(--red);
  font-size: 14px;
}
.form__fail[hidden] { display: none; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Səhifələmə (blog) */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #e5e0dc; font-size: 14px; color: var(--brown);
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .is-current { background: var(--red); border-color: var(--red); color: #fff; }

/* Xəritə (əlaqə səhifəsi) */
.contact-map { margin-top: clamp(48px, 5vw, 96px); }
.contact-map iframe { display: block; width: 100%; height: clamp(300px, 30vw, 480px); border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { margin-top: 137px; padding: 76px 0 62px; }
.footer--line { border-top: .5px solid var(--line); }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer__nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 61px); }
.footer__nav .dropdown { top: auto; bottom: calc(100% + 18px); }
.footer__nav .dropdown::before { top: auto; bottom: -20px; }
.socials { display: flex; gap: 58px; padding: 10px; }
.socials a { color: var(--dark); transition: color .2s; }
.socials a:hover { color: var(--red); }
.socials .icon { width: 30px; height: 30px; }
.footer__bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  margin-top: 137px;
  padding-top: 23px;
  border-top: .5px solid rgba(86, 66, 64, .12);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(86, 66, 64, .55);
}
.footer__bottom img { height: 18px; width: auto; }

/* =========================================================
   DAXİLİ SƏHİFƏLƏR
   ========================================================= */

/* Səhifə banneri (brendlər, layihələr) */
.page-hero {
  position: relative;
  min-height: clamp(320px, 22.5vw, 432px);
  background: right center / cover no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 22%, rgba(255,255,255,.88) 38%, rgba(255,255,255,.35) 62%, rgba(255,255,255,0) 82%);
}
.page-hero .container { position: relative; padding-top: clamp(56px, 8.4vw, 162px); padding-bottom: 56px; }
.page-hero .text { margin-top: 48px; max-width: 544px; }
.page-hero--projects .text { margin-top: 23px; line-height: 26px; }

/* Brend səhifəsi */
.brand-intro { padding-top: clamp(56px, 4.7vw, 91px); }
.brand-intro__logo { display: block; margin-top: 20px; height: 95px; width: auto; max-width: 285px; object-fit: contain; object-position: left center; }
.brand-intro__row {
  display: grid;
  grid-template-columns: minmax(0, 501px) minmax(0, 710px);
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-top: 24px;
}
.brand-intro__row p { font-size: 15px; line-height: 25px; }

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 29px 24px;
  margin-top: 64px;
}
.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-line);
  padding: 1px;
}
.product__img { aspect-ratio: 399 / 345; overflow: hidden; background: #fff; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product__img img { transform: scale(1.04); }
.product__body {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 119px;
  padding: 16px 20px;
  background: var(--gray-bg);
  font-size: 12px;
  line-height: 18px;
  color: var(--brown);
}
.product__body b { font-weight: inherit; color: inherit; }

/* Layihələr səhifəsi */
.projects--page { margin-top: 75px; }
.projects--page .project__img { aspect-ratio: 542 / 361; }

/* Blog */
.blog-head { padding-top: clamp(40px, 4.5vw, 86px); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 23px;
}
.post {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-line);
  padding: 1px;
}
.post__img { aspect-ratio: 400 / 346; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 20px 28px;
  background: var(--gray-bg);
}
.post__date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--brown);
}
.post__date .icon { width: 18px; height: 18px; }
.post h3 { font-size: 16px; font-weight: 600; line-height: 22px; }
.post p {
  font-size: 12px;
  line-height: 18px;
  color: var(--brown);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post .link-more { margin-top: auto; padding-top: 4px; }

/* Blog detal */
.article {
  display: grid;
  grid-template-columns: minmax(0, 968px) minmax(0, 671px);
  justify-content: space-between;
  gap: 41px;
  padding-top: clamp(40px, 4.1vw, 79px);
}
.article .post__date { display: flex; margin-top: 28px; }
.article__title { margin-top: 12px; }
.article__body { margin-top: 12px; font-size: 15px; line-height: 30px; }
.article__img { margin-top: 9px; }
.article__img img { width: 100%; aspect-ratio: 671 / 673; object-fit: cover; }
.article__back { margin-top: 24px; }
.article__back .icon { transform: rotate(-90deg); }
.article__back:hover .icon { transform: rotate(-90deg) translateY(-4px); }

/* Əlaqə səhifəsi */
.contact-page { padding-top: clamp(32px, 3.75vw, 72px); }

/* Haqqımızda */
.ab-hero {
  position: relative;
  min-height: clamp(420px, 30.3vw, 582px);
  display: flex;
  align-items: center;
  margin-top: 8px;
}
.ab-hero__img {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 61.04%;                          /* 1172 / 1920 */
}
.ab-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,.3) 48%, rgba(255,255,255,0) 67%);
}
.ab-hero .container { position: relative; }
.ab-hero__content { max-width: 628px; padding: 40px 0; }
.ab-hero__content .title { margin-top: 30px; }
.ab-hero__content .text { margin-top: 1px; }

.mission {
  display: grid;
  grid-template-columns: 66.2% minmax(0, 1fr);    /* 1112 / 1680 */
  gap: 2.8%;
  align-items: start;
  padding-top: clamp(64px, 6.9vw, 132px);
}
.mission__img img { width: 100%; aspect-ratio: 1112 / 237; min-height: 180px; object-fit: cover; }
.mission__body { padding-top: 17px; }
.mission .text { margin-top: 52px; max-width: 457px; }

.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 260px));
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(64px, 6.7vw, 128px);
}
.value {
  min-height: 265px;
  padding: 45px clamp(20px, 2.6vw, 50px) 32px;
  background: var(--gray-bg);
  border: .5px solid var(--red);
}
.value .icon { width: 48px; height: 48px; color: var(--red); }
.value h3 { margin-top: 21px; font-size: 15px; font-weight: 600; line-height: 30px; }
.value p { margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--brown); }

.vision {
  display: grid;
  grid-template-columns: 46.04% minmax(0, 1fr);    /* 884 / 1920 */
  max-width: 1920px;
  margin: clamp(64px, 6.1vw, 117px) auto 0;
  min-height: 330px;
}
.vision__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px var(--gutter);
  padding-left: calc(var(--gutter) + 5px);
  background: #2d2825;
  color: #fff;
}
.vision__body .text { margin-top: 29px; max-width: 569px; line-height: 26px; }
.vision__img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1600px) {
  .hero { background-size: cover; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); }
  .products, .blog-grid { gap: 24px 20px; }
}

@media (max-width: 1440px) {
  .about__content { padding-right: 32px; }
  .values { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .value { padding-inline: 22px; }
  .socials { gap: 32px; }
  .footer__nav, .nav { gap: clamp(18px, 2.4vw, 40px); }
}

@media (max-width: 1200px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: #fff;
    border-top: .5px solid var(--line);
    box-shadow: 0 20px 30px rgba(0,0,0,.08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > .nav__item, .nav > .nav__link { border-bottom: .5px solid rgba(86,66,64,.15); }
  .nav .nav__link { display: flex; justify-content: space-between; padding: 16px 0; }
  .nav .nav__link.is-active::after { display: none; }
  .nav .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 10px;
    border: 0;
    box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav .dropdown::before { display: none; }
  .nav .nav__item.is-open .dropdown { display: block; }
  .nav .dropdown a { padding: 8px 16px; }
  .header__actions { gap: 12px; }

  .about { grid-template-columns: 45% minmax(0, 1fr); column-gap: 40px; }
  .about__body { grid-template-columns: 1fr; gap: 32px; }
  .about__content { padding-right: 0; }
  .about__stat { border-left: 0; border-top: .5px solid var(--brown); align-items: flex-start; margin: 0; padding-top: 28px; }

  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split, .split--projects, .split--clients { grid-template-columns: minmax(0, 1fr); }
  .split__aside .title, .split__aside .text--26 { max-width: 560px; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .split .projects { margin-top: 32px; }
  .clients-box { border-left: 0; margin-top: 16px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__list { margin-top: 32px; padding-top: 0; }

  .footer__top { flex-wrap: wrap; }
  .footer__nav { order: 3; width: 100%; flex-wrap: wrap; gap: 18px 32px; }

  .products, .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-intro__row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .article { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); }
  .mission { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mission__body { padding-top: 0; }
  .mission .text { margin-top: 20px; max-width: 720px; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vision { grid-template-columns: 55% minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .hero__slogan { display: none; }
  .about { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding-left: var(--gutter); }
  .about__img { margin-left: calc(var(--gutter) * -1); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article { grid-template-columns: minmax(0, 1fr); }
  .article__img { order: -1; margin: 0; }
  .article__img img { aspect-ratio: 16 / 10; }
  .ab-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .ab-hero__img { position: relative; width: 100%; height: 300px; }
  .ab-hero__img::before { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 30%); }
  .vision { grid-template-columns: minmax(0, 1fr); }
  .vision__img { height: 280px; }
}

@media (max-width: 768px) {
  .header__actions .btn { display: none; }
  .lang__btn { height: 40px; width: 60px; }
  .hero { background-position: 70% 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 58%, rgba(255,255,255,.2) 100%); }
  .btn--lg { width: 100%; max-width: 260px; }
  .adv-grid, .brands, .projects, .services { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .adv { padding: 24px 20px; min-height: 0; }
  .clients__track { gap: 48px; padding-left: 0; }
  .clients__track img { height: 60px !important; }
  .clients { min-height: 120px; }
  .contact { padding: 24px 16px; gap: 32px; }
  .contact__info { padding-top: 0; }
  .form { padding: 24px 16px; gap: 30px; }
  .form input { height: 60px; }
  .footer { margin-top: 88px; padding: 48px 0 32px; }
  .socials { gap: 24px; padding: 0; }
  .footer__bottom { margin-top: 48px; justify-content: center; flex-wrap: wrap; }
  .page-hero::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 70%, rgba(255,255,255,.6) 100%); }
  .page-hero .text { margin-top: 24px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value { min-height: 0; padding: 28px 20px; }
}

@media (max-width: 520px) {
  .products, .blog-grid, .values { grid-template-columns: minmax(0, 1fr); }
  .socials { gap: 18px; }
}
