/* ===== Base ===== */
:root {
  --bg: #0b0b0b;
  --bg-elevated: #121212;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --bg-input: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f2f2;
  --text-muted: #9a9a9a;
  --text-soft: #c8c8c8;
  --gold: #c9a96a;
  --gold-soft: #b8975a;
  --gold-hover: #d9bc80;
  --gold-dark: #8a7340;
  --header-h: 128px;
  --container: 1200px;
  --radius: 4px;
  --transition: 0.25s ease;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* no native browser image drag (ghost preview) */
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn--gold {
  background: linear-gradient(180deg, #d4bc86 0%, var(--gold) 45%, var(--gold-soft) 100%);
  color: #1a1408;
}

.btn--gold:hover {
  background: linear-gradient(180deg, var(--gold-hover) 0%, #d0b070 100%);
  transform: translateY(-1px);
}

/* ===== Header =====
   Tall bar so a large logo fits inside the box.
   Glow/drop-shadow may paint outside (overflow: visible).
*/
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  /* logo bitmap stays in box; filter glow may extend outside */
  overflow: visible;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  background: rgba(11, 11, 11, 0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 32px);
  height: 100%;
  /* small vertical pad so bitmap doesn't touch bar edges */
  padding-block: 8px;
  position: relative;
  overflow: visible;
}

.logo {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  height: 100%;
  max-height: 100%;
  overflow: visible;
}

.logo img {
  /* Large logo: fills header height (minus padding), stays inside bar */
  display: block;
  width: auto;
  height: 100%;
  max-height: calc(var(--header-h) - 16px);
  max-width: min(340px, 38vw);
  object-fit: contain;
  object-position: left center;
  /* glow may extend outside header — allowed */
  filter:
    drop-shadow(2px 1px 14px rgba(201, 169, 106, 0.45))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
  transition: transform var(--transition);
  animation: logo-bulb 2.6s ease-in-out infinite;
}

.logo:hover img {
  transform: scale(1.02);
}

/* Soft pulse in theme gold — lamp stays lit, only intensity breathes */
@keyframes logo-bulb {
  0%,
  100% {
    filter:
      drop-shadow(2px 1px 12px rgba(201, 169, 106, 0.38))
      drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
  }
  40% {
    filter:
      drop-shadow(2px 1px 18px rgba(212, 188, 110, 0.78))
      drop-shadow(1px 0 28px rgba(201, 169, 106, 0.45))
      drop-shadow(0 10px 22px rgba(0, 0, 0, 0.48));
  }
  55% {
    filter:
      drop-shadow(2px 1px 14px rgba(201, 169, 106, 0.55))
      drop-shadow(0 9px 20px rgba(0, 0, 0, 0.5));
  }
  70% {
    filter:
      drop-shadow(2px 1px 20px rgba(217, 188, 128, 0.82))
      drop-shadow(0 0 26px rgba(201, 169, 106, 0.4))
      drop-shadow(0 10px 22px rgba(0, 0, 0, 0.48));
  }
}

.logo--footer {
  margin-bottom: 0;
}

.logo--footer img {
  width: 160px;
  filter: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .logo img {
    animation: none;
    filter:
      drop-shadow(2px 1px 14px rgba(201, 169, 106, 0.55))
      drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.nav__link {
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color var(--transition);
  line-height: 1.2;
}

.nav__link:hover {
  color: var(--gold);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
}

.header__phone {
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color var(--transition);
}

.header__phone:hover {
  color: var(--gold);
}

.header__social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  overflow: hidden;
  transition: transform var(--transition), opacity var(--transition), filter var(--transition);
}

.header__social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  /* monochrome fallback if color SVG is used */
  filter: grayscale(1) contrast(1.05);
}

.header__social:hover {
  transform: scale(1.06);
  opacity: 0.9;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.78) 42%, rgba(8, 8, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.15) 40%, rgba(11, 11, 11, 0.95) 100%);
}

/* Centered middle block with side gutters */
.hero__shell {
  position: relative;
  z-index: 1;
  width: min(100% - 96px, var(--container));
  margin-inline: auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero__title {
  margin: 0 0 28px;
  /* compact slogan — balanced with features column */
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.hero__content .btn {
  margin-top: 4px;
}

.hero__features {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.55), rgba(18, 18, 18, 0.35));
  backdrop-filter: blur(8px);
}

.hero__features li {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}

.hero__features li:last-child {
  border-bottom: 0;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section__label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.section__title {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0 0 48px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 720px;
  line-height: 1.65;
}

/* ===== Products ===== */
.products {
  background: var(--bg);
  padding-top: 80px;
  padding-bottom: 80px;
  /* visible so product-card hover is not clipped */
  overflow: visible;
}

.products .container {
  margin-bottom: 36px;
}

/* Independent cards: image + title only (no tag) */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  grid-template-rows: 228px 76px;
  width: min(268px, 78vw);
  flex: 0 0 auto;
  transition: background var(--transition), border-color var(--transition);
  overflow: hidden;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(201, 169, 106, 0.2);
}

.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 228px;
  padding: 18px 16px 6px;
  overflow: hidden;
}

.product-card__media img {
  max-width: 100%;
  max-height: 188px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
  transition: transform var(--transition);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 8px 16px 16px;
  display: flex;
  align-items: flex-start;
}

.product-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  /* 2 lines reserved — same height for 1- and 2-line titles */
  min-height: calc(1.3em * 2);
}

/* ===== Infinite marquees (JS-driven seamless loop) ===== */
.marquee {
  position: relative;
  width: 100%;
  /* outer pad so hover ring/shadow of cards is not cut by section edges */
  padding-block: 12px;
  /* horizontal fade only (mask clips paint — keep vertical fully opaque) */
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.marquee__viewport {
  width: 100%;
  /* clip only horizontally; vertical padding keeps hover border fully visible */
  overflow: hidden;
  padding-block: 10px;
  box-sizing: content-box;
  cursor: grab;
  /* allow vertical page scroll; horizontal handled by JS */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.marquee img {
  -webkit-user-drag: none;
  pointer-events: none; /* drag moves the strip, not the bitmap */
}

/* Partner links still receive clicks (img is non-interactive, parent <a> is) */
.marquee a.partner-card {
  pointer-events: auto;
}

.marquee.is-dragging .marquee__viewport {
  cursor: grabbing;
}

.marquee__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* One continuous row: items + exact same clone(s). Gap only between cards. */
.marquee__group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  flex-shrink: 0;
  /* NO trailing padding — gap at join comes from first item of next set via extra spacer */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Spacer after each set = same as gap, so set1|set2 join matches item|item */
.marquee__set-gap {
  flex: 0 0 16px;
  width: 16px;
  min-width: 16px;
  pointer-events: none;
}

/* ===== About ===== */
.section.about {
  background: var(--bg-elevated);
  /* секция без верхнего padding — картинка flush к краю */
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Отступ только у текста, не у картинки */
.about__content {
  padding-top: 100px;
  padding-bottom: 80px;
  margin-top: 0;
}

.about__text {
  margin: 0 0 32px;
  color: var(--text-muted);
  max-width: 520px;
}

.about__text p {
  margin: 0 0 16px;
}

.about__text strong {
  color: var(--gold);
  font-weight: 600;
}

.about__media {
  position: relative;
  min-height: 100%;
  align-self: stretch;
  /* картинка без верхнего отступа, на всю высоту колонки */
  margin: 0;
  padding: 0;
}

.about__media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ===== Partners ===== */
.partners {
  background: var(--bg);
  /* allow hover outline of marquee cards to paint outside strip */
  overflow: visible;
}

.partners .container {
  margin-bottom: 36px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  min-width: 200px;
  width: 220px;
  flex: 0 0 auto;
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  /* box-shadow instead of translateY — no clip on top edge */
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.partner-card:hover {
  border-color: rgba(201, 169, 106, 0.55);
  background: var(--bg-card-hover);
  box-shadow:
    0 0 0 1px rgba(201, 169, 106, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
  position: relative;
}

.partner-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  z-index: 2;
  position: relative;
}

.partner-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  object-position: center;
}

/* ===== Certificates ===== */
.certs {
  background: var(--bg-elevated);
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cert-card:hover {
  border-color: rgba(201, 169, 106, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.cert-card__preview {
  position: relative;
  background: #0e0e0e;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.cert-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.cert-card:hover .cert-card__preview img {
  transform: scale(1.03);
}

.cert-card__preview::after {
  content: "PDF";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(11, 11, 11, 0.78);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cert-card__body {
  padding: 16px 18px 18px;
}

.cert-card__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.cert-card__meta {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.cert-card__action {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ===== FAQ ===== */
.section.faq {
  background: var(--bg);
  padding-top: 80px;
  /* tighter gap before «Опыт» */
  padding-bottom: 32px;
}

.faq__list {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.3s ease;
  /* avoid focus scroll jump on some browsers */
  scroll-margin: 0;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item[open] summary,
.faq__item.is-open summary {
  color: var(--gold);
}

.faq__icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq__icon::before {
  width: 16px;
  height: 1.5px;
}

.faq__icon::after {
  width: 1.5px;
  height: 16px;
}

.faq__item[open] .faq__icon::after,
.faq__item.is-open .faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Animated panel: height driven by JS, body clips content */
.faq__answer {
  max-width: 960px;
  padding: 0 8px;
  overflow: hidden;
  height: 0;
  transition: height 0.35s ease;
  will-change: height;
}

.faq__answer-body {
  padding-bottom: 28px;
}

.faq__answer p {
  margin: 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== Experience ===== */
.section.experience {
  /* pull closer to FAQ — no double 100px gap */
  padding-top: 48px;
  padding-bottom: 0;
}

.experience__photo {
  margin-top: 40px;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  height: 470px;
  overflow: hidden;
  background: #0a0a0a;
}

/* Cap visual width at 1280px */
.experience__photo img {
  display: block;
  width: 100%;
  max-width: 1280px;
  height: 470px;
  object-fit: cover;
  object-position: center center;
  margin-inline: auto;
}

/* ===== Contacts ===== */
.contacts {
  background: var(--bg-elevated);
  padding-bottom: 0;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.contacts__label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.contacts__item a,
.contacts__item p {
  display: block;
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}

.contacts__item a:hover {
  color: var(--gold);
}

.contacts__mail {
  color: var(--gold) !important;
}

/* Yandex Maps JS API container — full width, sharp tiles */
.contacts__map {
  position: relative;
  margin-top: 0;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #1a1a1a;
}

.contacts__map--clickable {
  cursor: pointer;
}

.contacts__map--clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.contacts__map ymaps,
.contacts__map .ymaps-2-1-79-map {
  filter: none;
}

/* ===== Footer ===== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo--footer img {
  width: 150px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .certs__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 96px;
  }

  .header__inner {
    padding-block: 6px;
  }

  .logo {
    margin: 0;
  }

  .logo img {
    height: 100%;
    max-height: calc(var(--header-h) - 12px);
    max-width: min(220px, 48vw);
    width: auto;
  }

  .burger {
    display: flex;
    width: 44px;
    height: 44px;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    background: rgba(11, 11, 11, 0.97);
    border-bottom: 1px solid var(--border);
    z-index: 20;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .header__contacts {
    display: none;
  }

  .hero__shell {
    width: min(100% - 48px, var(--container));
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__features {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .about__content {
    padding-top: 72px;
    padding-bottom: 56px;
    order: 1;
  }

  .about__media {
    min-height: 360px;
    order: 0;
  }

  .about__media img {
    min-height: 360px;
  }

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

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

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav--footer {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav--footer .nav__link {
    border: 0;
    padding: 0;
  }

  .footer .header__contacts {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .product-card {
    width: min(248px, 82vw);
    grid-template-rows: 200px 72px;
  }

  .product-card__media {
    height: 200px;
  }

  .product-card__media img {
    max-height: 164px;
  }

  .partner-card {
    width: 200px;
    min-width: 200px;
    min-height: 120px;
  }

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

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

  .hero__title {
    font-size: clamp(26px, 7.5vw, 36px);
  }

  .experience__photo,
  .experience__photo img {
    height: 280px;
  }

  .contacts__map {
    height: 320px;
  }

  .experience__photo {
    max-width: 100%;
  }

  .experience__photo img {
    max-width: 100%;
  }

  .hero {
    padding-bottom: 48px;
  }

  .hero__shell {
    width: min(100% - 32px, var(--container));
  }

  .hero__title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .partner-card {
    min-height: 140px;
    padding: 24px 20px;
  }

  .partner-card img {
    max-height: 72px;
  }
}
