/* ============================================
   Синицын Строй — Premium Construction Website
   ============================================ */

:root {
  --color-bg: #EDE8E0;
  --color-bg-dark: #1A1815;
  --color-bg-cream: #E4DDD3;
  --color-bg-warm: #D9D1C5;
  --color-text: #1E1C19;
  --color-text-light: #5C5852;
  --color-text-muted: #8A847A;
  --color-gold: #A67C52;
  --color-gold-light: #C4A078;
  --color-gold-dark: #7D5E3C;
  --color-brass: #9B7350;
  --color-white: #FAF8F4;
  --color-border: #D4CCC0;
  --color-ink: #121110;
  --color-accent-rgb: 166, 124, 82;

  --font-family: 'Plus Jakarta Sans', system-ui, sans-serif;

  --header-height: 80px;
  --container: 1280px;
  --radius: 2px;
  --radius-lg: 4px;
  --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 4px 32px rgba(8, 8, 10, 0.05);
  --shadow-lg: 0 24px 64px rgba(8, 8, 10, 0.1);
  --shadow-gold: 0 12px 40px rgba(var(--color-accent-rgb), 0.2);
}

::selection {
  background: rgba(var(--color-accent-rgb), 0.22);
  color: var(--color-ink);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 140px 0;
  position: relative;
}

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

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(var(--color-accent-rgb), 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 100%, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.section--cream {
  background: linear-gradient(180deg, var(--color-bg-cream) 0%, #DDD6CB 100%);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
}

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

.section-title {
  font-family: var(--font-family);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 20px;
  text-wrap: balance;
  hyphens: none;
}

.section-title--light {
  color: var(--color-white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 560px;
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.6);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-label::before {
  display: none;
}

.section-header .section-label {
  justify-content: center;
}

.section-header .section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
}

.section-header .section-desc {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 36px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}

.btn--gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  border-color: var(--color-gold-light);
  background: rgba(var(--color-accent-rgb), 0.12);
  color: var(--color-gold-light);
}

.btn--outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn--outline-light:hover {
  border-color: var(--color-gold-light);
  background: rgba(var(--color-accent-rgb), 0.14);
  color: var(--color-gold-light);
}

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

.btn--dark:hover {
  background: #2a2a32;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 20px 48px;
  font-size: 0.9rem;
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
}

.header--scrolled {
  background: rgba(26, 24, 21, 0.94);
  backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(var(--color-accent-rgb), 0.15);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: clamp(16px, 2vw, 32px);
}

.header .header__inner.container {
  max-width: 1440px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--color-gold-light);
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--color-accent-rgb), 0.45);
  transition: all var(--transition);
}

.logo:hover .logo__mark {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo__tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 24px);
  min-width: 0;
  flex-wrap: nowrap;
}

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

.nav__link {
  font-size: clamp(0.65rem, 0.72vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header__phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color var(--transition);
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.nav__phone {
  display: none;
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.burger.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.burger.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 48px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 24, 21, 0.68) 0%, rgba(26, 24, 21, 0.22) 50%, rgba(26, 24, 21, 0.5) 100%),
    linear-gradient(to top, rgba(26, 24, 21, 0.4) 0%, transparent 45%);
}

.hero__accent {
  position: absolute;
  top: 0;
  right: 12%;
  width: 1px;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--color-gold) 30%, var(--color-gold) 70%, transparent);
  opacity: 0.4;
  z-index: 2;
  animation: heroAccentIn 1.4s var(--transition) 0.6s both;
}

@keyframes heroAccentIn {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 0.4; transform: scaleY(1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
  max-width: 820px;
}

.hero__headline {
  display: grid;
  grid-template-columns: minmax(0, 820px) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: 28px;
  max-width: min(1040px, 100%);
}

.hero__enter {
  opacity: 0;
  transform: translateY(32px);
  animation: heroEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__enter--1 { animation-delay: 0.1s; }
.hero__enter--2 { animation-delay: 0.25s; }
.hero__enter--3 { animation-delay: 0.4s; }
.hero__enter--4 { animation-delay: 0.55s; }
.hero__enter--5 { animation-delay: 0.75s; }

.hero__promo-side {
  position: relative;
  flex-shrink: 0;
  align-self: center;
  z-index: 3;
  text-decoration: none;
  color: var(--color-white);
  animation: heroPromoFloat 3.2s ease-in-out infinite;
}

.hero__promo-side-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 1px solid rgba(var(--color-accent-rgb), 0.4);
  animation: heroPromoRing 2.6s ease-in-out infinite;
  pointer-events: none;
}

.hero__promo-side-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 88px;
  padding: 20px 14px;
  border-radius: 12px;
  border: 1px solid rgba(var(--color-accent-rgb), 0.45);
  background: rgba(26, 24, 21, 0.72);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), background var(--transition);
  animation: heroPromoGlow 2.4s ease-in-out infinite, heroPromoBorderBlink 2.4s ease-in-out infinite;
}

.hero__promo-side:hover .hero__promo-side-inner {
  transform: scale(1.04);
  background: rgba(26, 24, 21, 0.88);
}

.hero__promo-side-tag,
.hero__promo-side-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.hero__promo-side-tag {
  color: var(--color-gold-light);
  animation: heroPromoTagBlink 2.4s ease-in-out infinite;
}

.hero__promo-side-year {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
  animation: heroPromoYearFlash 2.4s ease-in-out infinite;
}

.hero__promo-side-hint {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

@keyframes heroPromoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes heroPromoGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0.12);
  }
  50% {
    box-shadow: 0 0 32px 4px rgba(var(--color-accent-rgb), 0.38);
  }
}

@keyframes heroPromoBorderBlink {
  0%, 62%, 100% {
    border-color: rgba(var(--color-accent-rgb), 0.45);
  }
  68%, 76% {
    border-color: rgba(var(--color-accent-rgb), 0.95);
  }
}

@keyframes heroPromoTagBlink {
  0%, 62%, 100% { opacity: 1; }
  68%, 76% { opacity: 0.45; }
}

@keyframes heroPromoYearFlash {
  0%, 62%, 100% {
    color: var(--color-white);
    text-shadow: none;
  }
  68%, 76% {
    color: var(--color-gold-light);
    text-shadow: 0 0 14px rgba(var(--color-accent-rgb), 0.65);
  }
}

@keyframes heroPromoRing {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__stat-num {
  display: block;
  font-family: var(--font-family);
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
  transition: transform 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.hero__stat-num.is-counting {
  transform: scale(1.04);
}

.hero__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-family);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin-bottom: 0;
  text-wrap: balance;
  hyphens: none;
  max-width: 900px;
}

.hero__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--color-gold-light);
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 680px;
}

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

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 44px;
  margin-bottom: 32px;
  border-top: 1px solid rgba(var(--color-accent-rgb), 0.25);
  position: relative;
  z-index: 3;
}

.hero__stat {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero__stat-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
}

.hero__stat-num::after {
  content: '+';
  color: var(--color-gold);
  font-size: 1.5rem;
}

.hero__stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  text-align: center;
}

.hero__stat-label sup {
  font-size: 0.72em;
  line-height: 0;
  top: -0.2em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Tech Cards */
.tech {
  padding: 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

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

.tech__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  border: 1px solid rgba(216, 210, 200, 0.6);
  position: relative;
}

.tech__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.tech__card:hover::after {
  transform: scaleX(1);
}

.tech__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 72px rgba(8, 8, 10, 0.12);
}

.tech__card-img {
  height: 180px;
  overflow: hidden;
}

.tech__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tech__card:hover .tech__card-img img {
  transform: scale(1.08);
}

.tech__card-body {
  padding: 20px 24px;
}

.tech__card-body h3 {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.tech__card-body p {
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  font-weight: 500;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__visual .img-reveal {
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.about__visual .img-reveal img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about__visual::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 32px;
  bottom: 32px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.about__badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(var(--color-accent-rgb), 0.3);
}

.about__badge-num {
  display: block;
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold-light);
  letter-spacing: -0.03em;
}

.about__badge-text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__text {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__features {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.about__features svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Advantages */
.advantages .container {
  max-width: 1440px;
}

.advantages__header {
  text-align: center;
  margin-bottom: 64px;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.advantage {
  padding: 28px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.advantage:hover {
  border-color: rgba(196, 162, 101, 0.3);
  background: rgba(196, 162, 101, 0.05);
}

.advantage__num {
  font-family: var(--font-family);
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

.advantage h3 {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 10px;
  text-wrap: balance;
}

.advantage p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.advantage--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.advantage--link:hover h3 {
  color: var(--color-gold-light);
}

/* Supervision */
.supervision__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.supervision__highlights {
  list-style: none;
  margin: 28px 0;
}

.supervision__highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.supervision__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.supervision__team-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.supervision__person {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.supervision__person strong {
  color: var(--color-text);
  font-weight: 600;
}

.supervision__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.supervision__visual {
  position: relative;
}

.supervision__visual .img-reveal {
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.supervision__visual .img-reveal img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Accordion (modal) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion__item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.accordion__item.is-open {
  border-color: rgba(var(--color-accent-rgb), 0.35);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.accordion__trigger:hover {
  background: rgba(var(--color-accent-rgb), 0.04);
}

.accordion__num {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

.accordion__title {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.accordion__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-gold);
  transition: transform var(--transition);
}

.accordion__icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.accordion__icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.accordion__item.is-open .accordion__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel-inner {
  overflow: hidden;
  padding: 0 18px;
  transition: padding var(--transition);
}

.accordion__item.is-open .accordion__panel-inner {
  padding: 0 18px 16px 50px;
}

.accordion--team .accordion__item.is-open .accordion__panel-inner {
  padding: 0 18px 20px 18px;
}

.accordion__trigger--team {
  align-items: center;
  gap: 16px;
}

.accordion__team-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.accordion__role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  line-height: 1.3;
}

.accordion__trigger--team .accordion__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.accordion__panel-inner > p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 12px;
}

.accordion__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 8px !important;
}

.accordion__list {
  list-style: none;
  margin-bottom: 0;
}

.accordion__list li {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}

.accordion__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--color-gold);
}

/* Supervision modal */
.modal__dialog--wide {
  max-width: 640px;
}

.modal-supervision__lead {
  margin-bottom: 28px !important;
}

.modal-supervision__heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 28px 0 16px;
}

.modal-legal__updated {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 20px !important;
}

.modal-legal__lead {
  margin-bottom: 24px !important;
}

.modal-legal h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 24px 0 10px;
}

.modal-legal p {
  font-size: 0.9rem;
  margin-bottom: 14px !important;
}

.modal-legal ul {
  margin: 0 0 16px 1.1em;
  padding: 0;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.65;
}

.modal-legal li + li {
  margin-top: 6px;
}

.modal-legal a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.form-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note a:hover {
  color: var(--color-gold-dark);
}

.supervision__member-reg {
  font-size: 0.78rem;
  font-family: ui-monospace, 'SF Mono', monospace;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--color-bg);
  border-radius: var(--radius);
}

.supervision__docs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.supervision__docs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

.supervision__docs a::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
}

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

/* Geodesy */
.geodesy__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.geodesy__visual {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.geodesy__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.geodesy__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(166, 124, 82, 0.12) 0%,
    rgba(26, 24, 21, 0.18) 100%
  );
  pointer-events: none;
}

.geodesy__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04) sepia(0.08);
}

.geodesy__copy .section-title {
  margin-bottom: 16px;
}

.geodesy__copy .section-desc {
  margin-bottom: 32px;
}

.geodesy__workflow {
  margin-bottom: 28px;
}

.geodesy__workflow-title {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

.geodesy__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
}

.geodesy__step {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.geodesy__step:last-child {
  border-bottom: none;
}

.geodesy__step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  background: rgba(var(--color-accent-rgb), 0.1);
  border-radius: 50%;
}

.geodesy__step strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.35;
}

.geodesy__step p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}

.geodesy__form {
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  transition: box-shadow 0.4s ease;
}

.geodesy__form--highlight {
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.35);
}

.geodesy__form .form-group {
  margin-bottom: 14px;
}

.geodesy__form .form-consent {
  margin-bottom: 18px;
}

.geodesy__form .form-consent a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.geodesy__form .form-consent a:hover {
  color: var(--color-gold-dark);
}

.geodesy__services-title {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.geodesy__note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-top: 16px;
}

.geodesy__note span {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.accordion--geodesy .accordion__item {
  background: var(--color-white);
}

.accordion__trigger--geodesy {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.accordion__trigger--geodesy .accordion__title {
  font-size: 0.9rem;
}

.accordion__price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gold);
  white-space: nowrap;
}

.geodesy-accordion__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.geodesy-accordion__meta span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Services */
.services .container {
  max-width: 1440px;
}

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

.service {
  padding: 32px 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service:hover::before {
  transform: scaleX(1);
}

.service:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-cream);
  border-radius: var(--radius);
  color: var(--color-gold-dark);
  margin-bottom: 24px;
}

.service h3 {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Projects */
.projects__filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 11px 26px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all var(--transition);
  background: var(--color-white);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-bg-dark);
  color: var(--color-white);
  border-color: var(--color-bg-dark);
  box-shadow: var(--shadow);
}

/* Bestsellers */
.bestsellers {
  position: relative;
  overflow: hidden;
}

.bestsellers__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 55%;
  background: radial-gradient(ellipse, rgba(var(--color-accent-rgb), 0.14) 0%, transparent 72%);
  pointer-events: none;
}

.bestsellers .container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
}

.bestsellers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.bestseller-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.bestseller-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(var(--color-accent-rgb), 0.35), transparent 40%, transparent 60%, rgba(var(--color-accent-rgb), 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.bestseller-card:hover {
  border-color: rgba(var(--color-accent-rgb), 0.4);
  box-shadow: 0 36px 88px rgba(0, 0, 0, 0.38);
  transform: translateY(-8px);
}

.bestseller-card:hover::before {
  opacity: 1;
}

.bestseller-card__visual {
  position: relative;
  height: clamp(260px, 32vw, 360px);
  overflow: hidden;
}

.bestseller-card__gallery-host {
  position: absolute;
  inset: 0;
}

.bestseller-gallery.portfolio__gallery {
  position: absolute;
  inset: 0;
}

.bestseller-card:hover .bestseller-gallery .portfolio__nav,
.bestseller-gallery:focus-within .portfolio__nav {
  opacity: 1;
}

.bestseller-gallery .portfolio__slide--plan {
  object-fit: contain;
  background: #f3efe8;
}

.bestseller-card__photos {
  position: absolute;
  bottom: 16px;
  left: 24px;
  z-index: 3;
  padding: 6px 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(26, 24, 21, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bestseller-card__visual .img-reveal {
  height: 100%;
  border-radius: 0;
}

.bestseller-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.bestseller-card:hover .bestseller-card__visual img {
  transform: scale(1.05);
}

.bestseller-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg-dark) 0%, rgba(26, 24, 21, 0.1) 40%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.bestseller-card__rank {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-bg-dark);
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(var(--color-accent-rgb), 0.45);
}

.bestseller-card--second .bestseller-card__rank {
  background: linear-gradient(135deg, #e8dfd3 0%, #b8a896 100%);
}

.bestseller-card__year {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  padding: 8px 16px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid rgba(var(--color-accent-rgb), 0.45);
  background: rgba(26, 24, 21, 0.72);
  backdrop-filter: blur(10px);
  border-radius: 100px;
}

.bestseller-card__body {
  padding: 32px 36px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bestseller-card__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.bestseller-card__name {
  font-family: var(--font-family);
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.bestseller-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bestseller-card__metric {
  text-align: center;
  padding: 0 8px;
}

.bestseller-card__metric:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.bestseller-card__metric-value {
  display: block;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.bestseller-card__metric-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.35;
}

.bestseller-card__estimate {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--color-accent-rgb), 0.28);
  background: rgba(var(--color-accent-rgb), 0.08);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.bestseller-card__estimate:hover {
  background: rgba(var(--color-accent-rgb), 0.14);
  border-color: rgba(var(--color-accent-rgb), 0.45);
  transform: translateY(-2px);
}

.bestseller-card__estimate-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  position: relative;
}

.bestseller-card__estimate-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: var(--color-bg-dark);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bestseller-card__estimate-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.bestseller-card__estimate-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-white);
}

.bestseller-card__estimate-text span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.bestseller-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

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

.project-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--transition),
    border-color var(--transition);
  border: 1px solid rgba(216, 210, 200, 0.5);
}

.project-card.is-leaving,
.project-card.is-entering {
  opacity: 0;
  transform: scale(0.96) translateY(16px);
}

.project-card.hidden {
  display: none;
}

.project-card:not(.hidden):not(.is-leaving):not(.is-entering):hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.project-card__img {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__img img {
  transform: scale(1.05);
}

.project-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
}

.project-card__body {
  padding: 28px;
}

.project-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.project-card__name {
  font-family: var(--font-family);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
}

.project-card__specs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.project-card__specs span {
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding-right: 16px;
  border-right: 1px solid var(--color-border);
}

.project-card__specs span:last-child {
  border-right: none;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.project-card__price {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  letter-spacing: -0.01em;
}

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

.portfolio__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.portfolio__item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.portfolio__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--color-accent-rgb), 0);
  border-radius: var(--radius-lg);
  z-index: 4;
  pointer-events: none;
  transition: border-color var(--transition);
}

.portfolio__item:hover::after {
  border-color: rgba(var(--color-accent-rgb), 0.4);
}

.portfolio__item--large {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio__gallery {
  position: absolute;
  inset: 0;
}

.portfolio__gallery--modal {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.portfolio__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.portfolio__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.portfolio__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  opacity: 0;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.portfolio__gallery--modal .portfolio__nav {
  opacity: 1;
}

.portfolio__item:hover .portfolio__nav,
.portfolio__gallery:focus-within .portfolio__nav {
  opacity: 1;
}

.portfolio__nav:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.06);
}

.portfolio__nav--prev {
  left: 12px;
}

.portfolio__nav--next {
  right: 12px;
}

.portfolio__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(26, 26, 31, 0.45);
  backdrop-filter: blur(4px);
}

.portfolio__gallery--modal .portfolio__dots {
  bottom: 16px;
}

.portfolio__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background var(--transition), transform var(--transition);
}

.portfolio__dot.active {
  background: var(--color-gold);
  transform: scale(1.2);
}

.portfolio__dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(26, 26, 31, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.portfolio__item:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__count {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

@media (hover: none) {
  .portfolio__nav {
    opacity: 1;
  }

  .portfolio__overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(26, 26, 31, 0.75) 0%, transparent 45%);
  }
}

.portfolio__location {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.portfolio__overlay h3 {
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.portfolio__overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Process */
.process__track {
  margin-bottom: 40px;
}

.process__track-line {
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--color-gold) 15%, var(--color-gold-light) 85%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process__track.visible .process__track-line {
  transform: scaleX(1);
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process__step {
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.02);
}

.process__step:hover {
  border-color: rgba(var(--color-accent-rgb), 0.35);
  background: rgba(var(--color-accent-rgb), 0.06);
  transform: translateY(-4px);
}

.process__step-num {
  font-family: var(--font-family);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 24px;
  line-height: 1;
  opacity: 0.7;
}

.process__step.visible .process__step-num {
  animation: stepPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes stepPop {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

.process__step h3 {
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.process__step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* Testimonials */
.testimonials__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  padding: 44px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all var(--transition);
}

.testimonial::before {
  content: '«';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-family);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.12;
  pointer-events: none;
}

.testimonial:hover {
  border-color: rgba(var(--color-accent-rgb), 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.testimonial__stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial__text {
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 28px;
}

.testimonial__name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.testimonial__loc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* CTA */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

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

.cta__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.72) 100%),
    radial-gradient(ellipse at center, rgba(var(--color-accent-rgb), 0.1) 0%, transparent 70%);
}

.cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.cta__content h2 {
  font-family: var(--font-family);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta__content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__desc {
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__item-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contact__item a {
  font-size: 1.1rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.contact__form {
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  position: relative;
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.contact__form h3 {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 16px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-light);
}

.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

/* Footer */
.footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 88px 0 36px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.4), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer__brand p {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.logo--footer .logo__name,
.logo--footer .logo__tagline {
  color: var(--color-white);
}

.footer__col h4 {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__col a,
.footer__col span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 12px;
  transition: color var(--transition);
}

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

.footer__meta {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer__legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

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

.footer__credit {
  margin-top: 18px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.32);
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--transition);
}

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

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(12px);
}

.modal__dialog {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  transform: translateY(24px) scale(0.98);
  transition: transform var(--transition);
  border: 1px solid var(--color-border);
  box-shadow: 0 40px 100px rgba(8, 8, 10, 0.18);
}

.modal.active .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.modal__close:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.modal__content h3 {
  font-family: var(--font-family);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.modal__content p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  z-index: 3000;
  transition: transform 0.4s ease;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.modal.active .modal__content > * {
  animation: modalItemIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.modal.active .modal__content > *:nth-child(2) { animation-delay: 0.06s; }
.modal.active .modal__content > *:nth-child(3) { animation-delay: 0.12s; }
.modal.active .modal__content > *:nth-child(4) { animation-delay: 0.18s; }
.modal.active .modal__content > *:nth-child(5) { animation-delay: 0.24s; }
.modal.active .modal__content > *:nth-child(6) { animation-delay: 0.3s; }

@keyframes modalItemIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal Animation */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1001;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  transform: translateX(-48px);
}

.reveal-right {
  transform: translateX(48px);
}

.reveal-left.visible,
.reveal-right.visible {
  transform: translateX(0);
}

.reveal-stagger.reveal-right,
.reveal-stagger.reveal-left {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.reveal-right {
  transform: translateX(48px);
}

.reveal-stagger.reveal-left {
  transform: translateX(-48px);
}

.reveal-stagger.reveal-right.visible,
.reveal-stagger.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-stagger .reveal-item,
.section-header--stagger .reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header--stagger.visible .reveal-item:nth-child(1),
.reveal-stagger.visible .reveal-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.section-header--stagger.visible .reveal-item:nth-child(2),
.reveal-stagger.visible .reveal-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.section-header--stagger.visible .reveal-item:nth-child(3),
.reveal-stagger.visible .reveal-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}

.reveal-stagger.visible .reveal-item:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.44s;
}

.reveal-stagger.visible .reveal-item:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.56s;
}

.reveal-stagger.visible .reveal-item:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.68s;
}

.img-reveal {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.img-reveal img {
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.06);
  transition:
    clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible .img-reveal img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.img-hover .img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 16, 0);
  transition: background var(--transition);
  pointer-events: none;
  border-radius: inherit;
}

.img-hover:hover .img-reveal::after {
  background: rgba(18, 17, 16, 0.14);
}

.img-hover:hover .img-reveal img {
  transform: scale(1.04);
}

.stagger-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
.stagger-grid > .reveal:nth-child(3) { transition-delay: 0.19s; }
.stagger-grid > .reveal:nth-child(4) { transition-delay: 0.26s; }
.stagger-grid > .reveal:nth-child(5) { transition-delay: 0.33s; }
.stagger-grid > .reveal:nth-child(6) { transition-delay: 0.4s; }

.services__grid.stagger-grid > .reveal:nth-child(1) { transition-delay: 0.1s; }
.services__grid.stagger-grid > .reveal:nth-child(2) { transition-delay: 0.2s; }
.services__grid.stagger-grid > .reveal:nth-child(3) { transition-delay: 0.3s; }
.services__grid.stagger-grid > .reveal:nth-child(4) { transition-delay: 0.4s; }
.services__grid.stagger-grid > .reveal:nth-child(5) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg img {
    animation: none;
  }

  .hero__enter,
  .hero__accent {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero__promo-side {
    animation: none;
  }

  .hero__promo-side-pulse {
    animation: none;
    opacity: 0;
  }

  .hero__promo-side-inner,
  .hero__promo-side-tag,
  .hero__promo-side-year {
    animation: none;
  }

  .hero__stat-num.is-counting {
    transform: none;
  }

  .scroll-progress {
    display: none;
  }

  .process__track-line {
    transform: scaleX(1);
    transition: none;
  }

  .process__step.visible .process__step-num {
    animation: none;
  }

  .project-card.is-leaving,
  .project-card.is-entering {
    opacity: 1;
    transform: none;
  }

  .modal.active .modal__content > * {
    animation: none;
  }

  .reveal,
  .reveal-stagger.reveal-right,
  .reveal-stagger.reveal-left {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-stagger .reveal-item,
  .section-header--stagger .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.visible .img-reveal img {
    clip-path: none;
    transform: none;
  }

  .stagger-grid > .reveal {
    transition-delay: 0s !important;
  }

  .accordion__panel {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1540px) {
  .header__phone {
    display: none;
  }

  .logo__tagline {
    display: none;
  }

  .header__inner {
    gap: 16px;
  }
}

@media (max-width: 1380px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    z-index: 999;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__phone {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 1200px) {
  .advantages__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .advantage {
    padding: 32px 24px;
  }

  .advantage h3 {
    font-size: 1.15rem;
  }

  .advantage p {
    font-size: 0.85rem;
  }

  .header__actions {
    gap: 16px;
  }

  .btn--sm {
    padding: 10px 16px;
    font-size: 0.7rem;
  }
}

@media (max-width: 1100px) {
  .hero__headline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero__promo-side {
    justify-self: start;
    animation: none;
  }

  .hero__promo-side-inner {
    flex-direction: row;
    min-width: 0;
    padding: 10px 16px;
    gap: 12px;
  }

  .hero__promo-side-hint {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    font-size: 0.68rem;
  }

  .hero__promo-side-year {
    font-size: 1.1rem;
  }
}

@media (max-width: 1024px) {
  .tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .geodesy__visual {
    position: static;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bestsellers__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 560px;
    margin: 0 auto;
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .header {
    height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(26, 24, 21, 0.92);
    backdrop-filter: blur(16px);
  }

  .header__inner {
    gap: 12px;
    min-width: 0;
  }

  .logo {
    gap: 10px;
    min-width: 0;
    overflow: hidden;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .logo__name {
    font-size: 0.95rem;
  }

  .logo__tagline {
    display: none;
  }

  .header__actions {
    gap: 10px;
    flex-shrink: 0;
  }

  .header__actions .btn--sm {
    display: none;
  }

  .header__phone {
    font-size: 0.78rem;
  }

  .hero {
    align-items: flex-start;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 28px);
    min-height: 100svh;
  }

  .hero__content {
    padding-top: 0;
    width: 100%;
  }

  .hero__label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
    line-height: 1.08;
    max-width: none;
  }

  .hero__desc {
    font-size: 1rem;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 28px 24px;
    margin-bottom: 24px;
  }

  .hero__stat {
    flex: 1 1 calc(50% - 12px);
  }

  .tech {
    margin-top: 0;
  }

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

  .bestsellers__grid {
    max-width: none;
  }

  .bestseller-card__body {
    padding: 24px 22px 28px;
  }

  .bestseller-card__actions {
    flex-direction: column;
  }

  .bestseller-card__actions .btn {
    width: 100%;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__badge {
    right: 16px;
    bottom: -16px;
    padding: 20px 24px;
  }

  .supervision__actions {
    flex-direction: column;
  }

  .supervision__actions .btn {
    width: 100%;
  }

  .advantages__grid,
  .services__grid,
  .projects__grid,
  .testimonials__slider,
  .process__timeline {
    grid-template-columns: 1fr;
  }

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

  .portfolio__item--large {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__legal-links {
    align-items: center;
  }

  .footer__credit {
    margin-top: 14px;
    font-size: 0.68rem;
  }

  .contact__form {
    padding: 32px 24px;
  }

  .accordion__trigger--geodesy {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .accordion__trigger--geodesy .accordion__price {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.78rem;
  }

  .accordion__trigger--geodesy .accordion__icon {
    grid-row: 1 / 3;
    grid-column: 3;
  }

  .geodesy-accordion__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .geodesy-accordion__meta .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .hero__accent {
    display: none;
  }

  .about__visual::before {
    display: none;
  }
}
