:root {
  --ink: #0e1726;
  --ink-2: #1b2a3a;
  --muted: #667587;
  --muted-light: #94a1b1;
  --line: rgba(14, 23, 38, 0.1);
  --line-light: rgba(255, 255, 255, 0.16);
  --bg: #f5f7f9;
  --white: #ffffff;
  --accent: #e21f26;
  --accent-dark: #b9141a;
  --accent-soft: #fdecec;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 30px -18px rgba(14, 23, 38, 0.35);
  --shadow: 0 30px 70px -38px rgba(14, 23, 38, 0.45);
  --container: 1200px;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(226, 31, 38, 0.35);
  outline-offset: 3px;
}

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

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--soft {
  background: var(--bg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px -28px rgba(14, 23, 38, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: auto;
  height: 58px;
  max-width: 220px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-phone:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  position: relative;
  z-index: 1001;
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

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

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(14, 23, 38, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.nav-open .nav-scrim {
  opacity: 1;
  visibility: visible;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

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

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: #eef1f4;
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(620px, 88vh, 820px);
  padding: clamp(140px, 18vh, 210px) 0 clamp(48px, 7vw, 80px);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 15, 26, 0.9) 0%, rgba(8, 15, 26, 0.66) 42%, rgba(8, 15, 26, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 15, 26, 0.55) 0%, rgba(8, 15, 26, 0) 45%),
    url("../../images/hero-glass.jpg") center / cover no-repeat;
}

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

.hero-content {
  max-width: 760px;
}

.hero .eyebrow {
  color: #ffb4b7;
}

.hero .eyebrow::before {
  background: #ffb4b7;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: clamp(44px, 7vw, 72px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.hero-stat {
  padding: 22px 24px;
  background: rgba(10, 18, 30, 0.28);
}

.hero-stat strong {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.4;
}

/* Intro / about */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split-media--tall img {
  aspect-ratio: 3 / 4;
}

.split-media__badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 230px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 20px 40px -20px rgba(226, 31, 38, 0.75);
}

.split-body h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.split-body p {
  margin-top: 18px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-2);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2' fill='none' stroke='%23e21f26' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Services */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card__media,
.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-card__media img {
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 13, 23, 0.95) 0%, rgba(7, 13, 23, 0.55) 46%, rgba(7, 13, 23, 0.08) 100%);
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
}

.service-card__tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.service-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.service-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  border-color: rgba(226, 31, 38, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Process */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.process__item {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.process__item::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -18px;
  left: 0;
  padding-right: 14px;
  background: var(--white);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.section--soft .process__item::before {
  background: var(--bg);
}

.process__item h3 {
  font-size: 1.08rem;
}

.process__item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Gallery */

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

.gallery-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 13, 23, 0.72) 0%, rgba(7, 13, 23, 0) 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item__caption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::after,
.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* CTA */

.cta {
  position: relative;
  padding-block: clamp(70px, 9vw, 120px);
  color: var(--white);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 26, 0.95) 0%, rgba(8, 15, 26, 0.7) 55%, rgba(8, 15, 26, 0.35) 100%),
    url("../../images/hero-glass.jpg") center / cover no-repeat;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-box {
  max-width: 680px;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cta p {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Page hero */

.page-hero {
  position: relative;
  padding: clamp(120px, 16vw, 180px) 0 clamp(56px, 8vw, 96px);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 26, 0.92) 0%, rgba(8, 15, 26, 0.62) 60%, rgba(8, 15, 26, 0.4) 100%),
    url("../../images/hero-glass.jpg") center / cover no-repeat;
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-hero p {
  max-width: 660px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.page-hero .hero-actions {
  margin-top: 30px;
}

/* Content */

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 44px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 32px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.prose p {
  margin-top: 16px;
  color: var(--muted);
}

.prose ul {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.prose ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.sticky-card {
  position: sticky;
  top: 108px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.sticky-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.sticky-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.sticky-card .btn {
  width: 100%;
  margin-top: 22px;
}

.sticky-card__list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sticky-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sticky-card__list strong {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

/* Info blocks */

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

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}

.info-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.info-card__num {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Requisites & contacts */

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

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.contact-card:nth-child(2) {
  background: var(--accent);
}

.contact-card h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.66;
}

.contact-card a,
.contact-card p {
  display: block;
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 400;
}

.requisites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.requisites div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: var(--white);
}

.requisites dt,
.requisites span {
  color: var(--muted);
}

.requisites dd,
.requisites strong {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.address-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg);
}

.address-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.address-card__icon svg {
  width: 24px;
  height: 24px;
}

.address-card h3 {
  font-size: 1.05rem;
}

.address-card p {
  margin-top: 6px;
  color: var(--muted);
}

/* Note */

.note {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid rgba(226, 31, 38, 0.22);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--ink-2);
  font-size: 0.94rem;
}

.note svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--accent);
}

/* Footer */

.site-footer {
  padding-top: clamp(56px, 7vw, 84px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 36px;
  padding-bottom: 54px;
}

.footer-brand__logo {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--white);
}

.footer-brand__logo img {
  width: auto;
  height: 52px;
  max-width: 210px;
  object-fit: contain;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a,
.footer-col p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 11, 19, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Reveal animations */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1080px) {
  .header-phone {
    display: none;
  }

  .features,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid--four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: flex-start;
    width: min(340px, 88vw);
    height: 100vh;
    margin: 0;
    padding: 104px 26px 40px;
    background: var(--white);
    box-shadow: -20px 0 60px -30px rgba(14, 23, 38, 0.5);
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow-y: auto;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .cards,
  .info-grid,
  .contact-grid,
  .gallery-grid,
  .gallery-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .sticky-card {
    position: static;
  }

  .split-media--tall img {
    aspect-ratio: 4 / 3;
  }

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

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

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

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    height: 46px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
  }

  .hero-stat span {
    margin-top: 0;
    text-align: right;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .cards,
  .features,
  .process,
  .info-grid,
  .contact-grid,
  .gallery-grid,
  .gallery-grid--four {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 380px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .lightbox {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
