@font-face {
  font-family: "FA Brands";
  src: url("/assets/fonts/fa-brands-400.woff2") format("woff2");
  font-display: block;
}

@font-face {
  font-family: "FA Solid";
  src: url("/assets/fonts/fa-solid-900.woff2") format("woff2");
  font-display: block;
}

:root {
  --ink: #101721;
  --ink-soft: #172230;
  --paper: #f5f3ef;
  --paper-deep: #ebe6de;
  --white: #ffffff;
  --steel: #8c98a5;
  --muted: #65707b;
  --blue: #2182b2;
  --blue-deep: #12638b;
  --copper: #b8874f;
  --copper-light: #dfbd8c;
  --line: rgba(16, 23, 33, .13);
  --shadow: 0 24px 70px rgba(10, 20, 30, .12);
  --shadow-soft: 0 12px 35px rgba(10, 20, 30, .08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-height: 86px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

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

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

button,
input,
textarea { font: inherit; }

button { color: inherit; }

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

h1, h2, h3, h4 {
  line-height: 1.13;
  letter-spacing: -.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.45rem);
  font-weight: 770;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p:last-child { margin-bottom: 0; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

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

.section { padding: clamp(76px, 9vw, 128px) 0; }

.section--tight { padding: clamp(56px, 7vw, 92px) 0; }

.section--dark {
  color: var(--white);
  background: var(--ink);
}

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

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 24px;
  margin-bottom: 52px;
}

.section-heading > :first-child { grid-column: 1 / span 7; }
.section-heading > :last-child { grid-column: 8 / -1; }

.section-heading > * { margin-bottom: 0; }

.section-heading p { color: var(--muted); }

.section--dark .section-heading p { color: rgba(255,255,255,.66); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .17em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section--dark .eyebrow,
.hero .eyebrow { color: var(--copper-light); }

.lead {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  color: var(--muted);
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .83rem;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.icon {
  display: inline-block;
  width: 1.15em;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.icon--phone::before,
.icon--email::before,
.icon--arrow::before { font-family: "FA Solid"; }
.icon--viber::before,
.icon--telegram::before,
.icon--instagram::before,
.icon--tiktok::before { font-family: "FA Brands"; }
.icon--phone::before { content: "\f095"; }
.icon--email::before { content: "\f0e0"; }
.icon--arrow::before { content: "\f061"; }
.icon--viber::before { content: "\f409"; }
.icon--telegram::before { content: "\f2c6"; }
.icon--instagram::before { content: "\f16d"; }
.icon--tiktok::before { content: "\e07b"; }

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

.btn:focus-visible,
.menu-toggle:focus-visible,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 3px solid var(--copper-light);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 15px 30px rgba(33, 130, 178, .25);
}

.btn--primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 19px 36px rgba(33, 130, 178, .32);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover { background: rgba(255,255,255,.13); }

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.17);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(16, 23, 33, .94);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.header-inner > .brand { grid-column: 1 / span 3; }
.header-inner > .site-nav { grid-column: 4 / span 6; }
.header-inner > .header-phone { grid-column: 10 / -1; justify-self: end; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.45rem;
  font-weight: 780;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.brand img {
  width: 54px;
  height: 54px;
  padding: 3px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.24), inset 0 0 0 1px rgba(16,23,33,.06);
  filter: none;
  transition: width .3s ease, height .3s ease, border-radius .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled .brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.22), inset 0 0 0 1px rgba(16,23,33,.06);
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 31px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  padding: 10px 0;
  font-size: .92rem;
  font-weight: 560;
  color: rgba(255,255,255,.82);
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--copper-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--white); }

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .92rem;
  font-weight: 680;
  white-space: nowrap;
}

.phone-dot {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-size: .82rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 9px;
  color: var(--white);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform .25s ease, opacity .25s ease;
}

.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--copper-light));
}

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--hero-image) center / cover no-repeat;
  content: "";
  transform: scale(1.02);
  animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) both;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,15,22,.9) 0%, rgba(9,15,22,.68) 48%, rgba(9,15,22,.24) 100%),
    linear-gradient(0deg, rgba(9,15,22,.46), transparent 42%);
  content: "";
}

.hero__content {
  max-width: 880px;
  padding-top: calc(var(--header-height) + 58px);
  padding-bottom: 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.hero__content--home {
  grid-column: 1 / span 8;
  max-width: none;
}

.hero__content--home h1 {
  max-width: 970px;
  font-size: clamp(3rem, 5.35vw, 5.25rem);
}

.hero__content p {
  max-width: 670px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  margin-top: 52px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.22);
}

.hero-stat strong {
  display: block;
  color: var(--copper-light);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-stat span {
  color: rgba(255,255,255,.64);
  font-size: .83rem;
}

.hero-scroll {
  position: absolute;
  right: 32px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  width: 1px;
  height: 58px;
  background: currentColor;
  content: "";
}

.page-hero {
  min-height: 560px;
}

.page-hero .hero__content {
  max-width: var(--container);
  padding-top: calc(var(--header-height) + 94px);
}

.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }

.quick-contact {
  position: relative;
  z-index: 5;
  margin-top: -48px;
}

.quick-contact__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(18, 99, 139, .28);
}

.quick-contact__inner > :first-child { grid-column: 1 / span 8; }
.quick-contact__inner > :last-child { grid-column: 9 / -1; justify-self: end; }

.quick-contact h2 {
  margin: 0 0 5px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.quick-contact p { margin: 0; color: rgba(255,255,255,.78); }

.social-row { display: flex; gap: 12px; }

.social-link {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.1);
  font-size: 1.12rem;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.social-link:hover { transform: translateY(-3px); background: rgba(255,255,255,.22); }

.about-grid,
.forge-grid,
.contact-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.about-grid > :first-child,
.forge-grid > :first-child,
.contact-grid > :first-child,
.process-grid > :first-child { grid-column: 1 / span 6; }

.about-grid > :last-child,
.forge-grid > :last-child,
.contact-grid > :last-child,
.process-grid > :last-child { grid-column: 7 / -1; }

.about-grid > :first-child { grid-column: 1 / span 5; }
.about-grid > :last-child { grid-column: 6 / -1; }

.about-grid > :first-child,
.forge-grid > :first-child { margin-right: 28px; }

.about-grid > :last-child,
.forge-grid > :last-child { margin-left: 28px; }

.image-composition {
  position: relative;
  min-height: 600px;
}

.image-composition__main {
  width: 78%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-composition__small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 315px;
  object-fit: cover;
  border: 9px solid var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.experience-badge {
  position: absolute;
  right: 1%;
  top: 25px;
  display: grid;
  width: 142px;
  height: 142px;
  place-content: center;
  text-align: center;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.experience-badge strong { font-size: 2.15rem; line-height: 1; }
.experience-badge span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list li::before {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  margin-top: 2px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  content: "✓";
  font-size: .8rem;
  font-weight: 800;
}

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

.service-grid > .service-card { grid-column: span 3; }

.service-card {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.service-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,14,21,.95), rgba(8,14,21,.05) 75%);
  content: "";
}

.service-card img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.service-card:hover img { transform: scale(1.065); filter: saturate(1.1); }

.service-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
}

.service-card__number {
  display: block;
  margin-bottom: 9px;
  color: var(--copper-light);
  font-size: .76rem;
  font-weight: 780;
  letter-spacing: .14em;
}

.service-card h3 { font-size: 1.38rem; }
.service-card p { margin: 0; color: rgba(255,255,255,.67); font-size: .94rem; }

.forge-showcase {
  position: relative;
  overflow: hidden;
}

.forge-showcase::before {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(223,189,140,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(223,189,140,.025), 0 0 0 100px rgba(223,189,140,.018);
  content: "";
}

.forge-image {
  position: relative;
  min-height: 620px;
}

.forge-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
}

.forge-image__label {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 18px 22px;
  color: var(--white);
  background: rgba(16,23,33,.82);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  backdrop-filter: blur(14px);
}

.forge-image__label strong { display: block; color: var(--copper-light); }

.forge-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 36px;
}

.forge-point {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.forge-point strong { display: block; margin-bottom: 4px; color: var(--white); }
.forge-point span { color: rgba(255,255,255,.58); font-size: .9rem; }

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.portfolio-card {
  position: relative;
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink);
  cursor: zoom-in;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}

.portfolio-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,14,21,.85), transparent 55%);
  content: "";
  opacity: .82;
}

.portfolio-card:hover img { transform: scale(1.055); opacity: .88; }

.portfolio-card__label {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: var(--white);
  text-align: left;
}

.portfolio-card__label strong { display: block; font-size: 1.05rem; }
.portfolio-card__label span { color: rgba(255,255,255,.62); font-size: .78rem; }

.portfolio-card[hidden] { display: none; }

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat-card {
  padding: 38px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-card strong {
  display: block;
  color: var(--blue);
  font-size: clamp(2.3rem, 4vw, 3.9rem);
  letter-spacing: -.05em;
  line-height: 1;
}

.stat-card span { color: var(--muted); font-size: .9rem; }

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

.reason-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(16,23,33,.07);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.reason-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px;
  font-weight: 800;
}

.reason-card p { margin: 0; color: var(--muted); font-size: .94rem; }

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

.testimonial {
  position: relative;
  padding: 34px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.testimonial::before {
  display: block;
  margin-bottom: 18px;
  color: var(--copper);
  content: "★★★★★";
  font-size: .85rem;
  letter-spacing: .17em;
}

.testimonial blockquote { margin: 0 0 24px; color: var(--muted); }
.testimonial cite { color: var(--ink); font-style: normal; font-weight: 740; }

.process-steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 27px;
  background: var(--paper);
}

.process-step__number {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 800;
}

.process-step h3 { margin-bottom: 7px; }
.process-step p { margin: 0; color: var(--muted); font-size: .94rem; }

.contact-panel {
  padding: clamp(38px, 6vw, 70px);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--copper-light); }
.contact-list small { display: block; color: rgba(255,255,255,.5); }

.map-card {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(245,243,239,.83), rgba(245,243,239,.83)),
    repeating-linear-gradient(45deg, var(--paper-deep) 0 8px, transparent 8px 34px),
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(33,130,178,.16) 18px 21px);
  box-shadow: var(--shadow-soft);
}

.map-pin {
  max-width: 300px;
  padding: 26px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.map-pin::before {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50% 50% 50% 0;
  content: "•";
  font-size: 2rem;
  transform: rotate(-45deg);
}

.map-pin strong { display: block; margin-bottom: 8px; }
.map-pin p { color: var(--muted); font-size: .9rem; }

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 9vw, 106px) 0;
  color: var(--white);
  background: var(--blue-deep);
}

.cta::before,
.cta::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
}

.cta::before { top: -150px; right: 5%; width: 360px; height: 360px; }
.cta::after { right: 10%; bottom: -120px; width: 240px; height: 240px; }

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.cta__inner > :first-child { grid-column: 1 / span 8; }
.cta__inner > :last-child { grid-column: 9 / -1; justify-self: end; }

.cta h2 { max-width: 780px; margin-bottom: 12px; }
.cta p { max-width: 680px; margin: 0; color: rgba(255,255,255,.72); }

.site-footer {
  padding-top: 72px;
  color: rgba(255,255,255,.66);
  background: #0b1119;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand { color: var(--white); }
.footer-brand p { max-width: 340px; margin-top: 20px; color: rgba(255,255,255,.56); }
.footer-title { margin-bottom: 20px; color: var(--white); font-size: .9rem; letter-spacing: .09em; text-transform: uppercase; }

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
}

.floating-contact {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.floating-contact a {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 9px 25px rgba(10,20,30,.23);
  font-size: 1.14rem;
  font-weight: 850;
  transition: transform .2s ease;
}

.floating-contact a::after {
  position: absolute;
  right: calc(100% + 11px);
  padding: 7px 11px;
  color: var(--white);
  background: rgba(16,23,33,.94);
  border-radius: 7px;
  content: attr(data-label);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.floating-contact a:hover::after,
.floating-contact a:focus-visible::after { opacity: 1; transform: translateX(0); }

.floating-contact a:hover { transform: translateY(-3px) scale(1.04); }
.floating-contact a:first-child { background: #7360f2; }
.floating-contact a:last-child { background: #2aabee; }

.legal {
  max-width: 880px;
  padding: clamp(40px, 7vw, 76px);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.legal h2 { margin-top: 46px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.legal p, .legal li { color: var(--muted); }

.lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 12px;
  padding: 30px;
  color: var(--white);
  background: rgba(6, 10, 15, .95);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lightbox__figure {
  display: grid;
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 60px);
  justify-self: center;
  gap: 12px;
  margin: 0;
}

.lightbox__figure img {
  max-height: calc(100vh - 125px);
  margin: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__figure figcaption { text-align: center; color: rgba(255,255,255,.72); }

.lightbox__close,
.lightbox__nav {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 1.5rem;
}

.lightbox__nav { font-size: 1.5rem; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}

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

@keyframes heroIn {
  from { opacity: .4; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.02); }
}

@media (max-width: 1050px) {
  :root { --header-height: 74px; }
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .header-inner > .brand,
  .header-inner > .menu-toggle { grid-column: auto; }
  .header-phone { display: none; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 390px);
    height: 100svh;
    padding: 112px 32px 40px;
    color: var(--white);
    background: var(--ink);
    box-shadow: -20px 0 60px rgba(0,0,0,.22);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .menu-open .site-nav { transform: translateX(0); }
  .nav-list { align-items: flex-start; flex-direction: column; gap: 6px; }
  .nav-list a { display: block; padding: 12px 0; font-size: 1.2rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid > .service-card,
  .service-card:last-child { grid-column: auto; min-height: 410px; }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card {
    flex-basis: calc((100% - 18px) / 2);
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .brand { gap: 8px; font-size: 1.2rem; }
  .brand img, .site-header.is-scrolled .brand img { width: 46px; height: 46px; }
  .site-header, .site-header.is-scrolled { height: 70px; }
  .hero { min-height: 760px; }
  .page-hero { min-height: 530px; }
  .hero::after { background: linear-gradient(90deg, rgba(9,15,22,.88), rgba(9,15,22,.48)); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content,
  .hero__content--home { grid-column: 1; padding-top: 130px; padding-bottom: 72px; }
  .page-hero .hero__content { padding-top: 140px; }
  .hero-scroll { display: none; }
  .hero__stats { gap: 17px 28px; margin-top: 38px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; margin-bottom: 34px; }
  .section-heading > :first-child,
  .section-heading > :last-child { grid-column: 1; }
  .quick-contact { margin-top: -28px; }
  .quick-contact__inner { grid-template-columns: 1fr; padding: 24px; }
  .quick-contact__inner > :first-child,
  .quick-contact__inner > :last-child { grid-column: 1; justify-self: start; }
  .about-grid, .forge-grid, .contact-grid, .process-grid { grid-template-columns: 1fr; }
  .about-grid > :first-child,
  .about-grid > :last-child,
  .forge-grid > :first-child,
  .forge-grid > :last-child,
  .contact-grid > :first-child,
  .contact-grid > :last-child,
  .process-grid > :first-child,
  .process-grid > :last-child { grid-column: 1; margin-right: 0; margin-left: 0; }
  .image-composition { min-height: 500px; }
  .image-composition__main { width: 88%; height: 420px; }
  .image-composition__small { width: 52%; height: 250px; border-width: 6px; }
  .experience-badge { width: 112px; height: 112px; right: 0; }
  .experience-badge strong { font-size: 1.6rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 410px; }
  .forge-image, .forge-image img { min-height: 480px; height: 480px; }
  .forge-points { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__inner > :first-child,
  .cta__inner > :last-child { grid-column: 1; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .floating-contact { right: 14px; bottom: 14px; }
  .floating-contact a { width: 46px; height: 46px; }
  .lightbox { grid-template-columns: 44px 1fr 44px; padding: 15px 8px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__close { top: 12px; right: 12px; }
}

@media (max-width: 620px) {
  .portfolio-grid { gap: 14px; }
  .portfolio-card {
    flex-basis: 100%;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.35rem, 12vw, 3.15rem); }
  .button-row .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
