.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  height: var(--header-height);
  gap: clamp(12px, 2vw, 24px);
}

.header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px 0;
  -webkit-tap-highlight-color: transparent;
  transition: opacity var(--transition);
}

.header__logo:hover {
  opacity: 0.85;
}

.header__logo img {
  height: 54px;
  width: auto;
  max-width: min(118px, 30vw);
  display: block;
  object-fit: contain;
}

.header__nav {
  display: flex;
  justify-content: center;
  justify-self: center;
  min-width: 0;
}

.header__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.header__link {
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
  position: relative;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brand);
  transition: width var(--transition);
}

.header__link:hover::after,
.header__link.is-active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  flex-shrink: 0;
  gap: clamp(10px, 1.5vw, 16px);
}

.header__phone {
  font-weight: 700;
  font-size: clamp(0.8125rem, 1.3vw, 0.9375rem);
  color: var(--color-navy);
  white-space: nowrap;
}

.header__socials {
  display: flex;
  gap: 10px;
}

.header__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-soft);
  color: var(--color-navy);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.header__social:hover {
  background: var(--color-brand);
  color: #fff;
  transform: translateY(-2px);
}

.header__social svg {
  width: 18px;
  height: 18px;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero__content {
  max-width: 720px;
  padding: clamp(48px, 8vw, 96px) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-brand-soft);
  border: 1px solid rgba(var(--color-brand-rgb), 0.22);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.hero__text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about {
  padding: var(--section-padding) 0;
  background: var(--color-bg-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 38%);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 380px;
  width: 100%;
  max-height: 480px;
  margin-left: auto;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.about__image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(26, 31, 58, 0.4));
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about__text p:last-of-type {
  margin-bottom: 24px;
}

.features {
  padding: var(--section-padding) 0;
  background: var(--color-bg-soft);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 48px;
  max-width: 800px;
}

.services {
  padding: var(--section-padding) 0;
  background: var(--color-bg-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.services__grid--five {
  grid-template-columns: repeat(5, 1fr);
}

.braces {
  padding: var(--section-padding) 0;
  background: var(--color-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.braces__bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.braces__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.braces__inner {
  position: relative;
  z-index: 1;
}

.braces .section-label {
  color: var(--color-brand-light);
}

.braces .section-title {
  color: #fff;
}

.braces__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.braces__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.braces__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

.braces__list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--color-brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0l-3.5-3.5a1 1 0 111.4-1.4l2.8 2.8 6.8-6.8a1 1 0 011.4 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.contacts {
  padding: var(--section-padding) 0;
  background: var(--color-bg-soft);
}

.contacts__layout {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 36px);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 28px);
  align-items: stretch;
}

.contacts__cards--sitemap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.contacts__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contacts__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-white);
  border: 2px solid var(--color-brand);
  border-radius: 50%;
  box-shadow: none;
  color: var(--color-brand);
}

.contacts__icon svg {
  width: 22px;
  height: 22px;
}

.contacts__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contacts__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.45;
}

.contacts__value--muted {
  font-weight: 500;
  color: var(--color-text-muted);
}

.contacts__value a {
  word-break: break-word;
}

.contacts__value a:hover {
  color: var(--color-brand);
}

.footer {
  position: relative;
}
