:root {
  --bg-black-primary: #06070b;
  --bg-charcoal: #0f141c;
  --bg-dark-slate: #151d29;
  --bg-smoke: #e8edf4;
  --bg-ice-light: #f7faff;
  --bg-soft-silver: #d8e1ee;
  --surface-dark-card: rgba(20, 29, 43, 0.85);
  --surface-light-card: #ffffff;
  --surface-glass-dark: rgba(18, 26, 39, 0.65);
  --text-primary: #f4f7fd;
  --text-secondary: #aeb9cd;
  --text-dark: #172133;
  --accent-diamond: #c6dcff;
  --accent-steel: #8ea4c8;
  --border-subtle: rgba(181, 201, 233, 0.24);
  --glow-soft: 0 0 40px rgba(132, 171, 233, 0.22);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, var(--bg-black-primary), var(--bg-charcoal));
  color: var(--text-primary);
}

.container { width: min(1160px, 92%); margin: 0 auto; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.15; }
h1, h2 { font-family: "Playfair Display", serif; letter-spacing: 0.02em; }
p { margin: 0 0 12px; color: var(--text-secondary); line-height: 1.7; }
a { color: inherit; text-decoration: none; }

/* Sticky header: keep in-page #contacts targets visible */
#contacts {
  scroll-margin-top: 88px;
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(7, 10, 16, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: grid; gap: 2px; }
.brand-top { font-weight: 700; letter-spacing: 0.1em; }
.brand-sub { font-size: 12px; color: var(--text-secondary); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--text-secondary); }
.nav a.active, .nav a:hover { color: var(--text-primary); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
.lang-switch a.active {
  color: var(--text-primary);
  background: rgba(198, 220, 255, 0.15);
}
.menu-btn { display: none; }

/* РІР‚вЂќРІР‚вЂќ Hero: Р Р†Р ВµРЎР‚РЎвЂ¦ Р С”Р В°Р С” РЎР‚Р В°Р Р…РЎРЉРЎв‚¬Р Вµ (?10% РЎРѓР Р†Р ВµРЎР‚РЎвЂ¦РЎС“), РЎРѓР Р…Р С‘Р В·РЎС“ Р ВµРЎвЂ°РЎвЂ ?10% Р Р†РЎвЂ№РЎРѓР С•РЎвЂљРЎвЂ№ РЎвЂћР В°Р в„–Р В»Р В° > Р Р†Р С‘Р Т‘Р Р…Р С• 70% Р Р†РЎвЂ№РЎРѓР С•РЎвЂљРЎвЂ№, Р В±Р В»Р С•Р С” Р В±Р ВµР В· РЎвЂЎРЎвЂРЎР‚Р Р…РЎвЂ№РЎвЂ¦ Р С—Р С•Р В»Р С•РЎРѓ РІР‚вЂќРІР‚вЂќ */
.hero.hero-minimal {
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-media {
  position: relative;
  width: 100%;
}
/* Р РЋР С•Р Р†Р С—Р В°Р Т‘Р В°Р ВµРЎвЂљ РЎРѓ width/height РЎС“ <img>; Р С—РЎР‚Р С‘ РЎРѓР СР ВµР Р…Р Вµ РЎвЂћР В°Р в„–Р В»Р В° Р С•Р В±Р Р…Р С•Р Р†Р С‘РЎвЂљР Вµ Р С‘ Р С—Р ВµРЎР‚Р ВµР СР ВµР Р…Р Р…РЎвЂ№Р Вµ */
.hero-crop {
  --hero-w: 1536;
  --hero-h: 1024;
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Р С™Р С•Р Р…РЎвЂљР ВµР в„–Р Р…Р ВµРЎР‚ Р Т‘Р В»РЎРЏ cqh РІР‚вЂќ РЎРѓР СР ВµРЎвЂ°Р ВµР Р…Р С‘Р Вµ Р С”Р Р…Р С•Р С—Р С•Р С” Р Р† % Р С•РЎвЂљ Р Р†РЎвЂ№РЎРѓР С•РЎвЂљРЎвЂ№ Р В±Р В»Р С•Р С”Р В° */
  container-type: size;
  container-name: hero;
  /* 1536?1024 > Р Р†Р С‘Р Т‘Р С‘Р СР В°РЎРЏ Р Р†РЎвЂ№РЎРѓР С•РЎвЂљР В° 0.7H (10%РІР‚В¦80% Р С—Р С• Р Р†Р ВµРЎР‚РЎвЂљР С‘Р С”Р В°Р В»Р С‘): 15/7 */
  aspect-ratio: 15 / 7;
  aspect-ratio: var(--hero-w) / calc(var(--hero-h) * 0.7);
}
.hero-minimal .hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateY(-10%);
  transform-origin: top center;
  display: block;
  pointer-events: none;
}
.hero-minimal .hero-bg--fallback {
  height: 120%;
  min-height: 100%;
  background: linear-gradient(135deg, #151d29 0%, #0f141c 40%, #1e2d42 100%);
}
.hero-minimal .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.28), rgba(6, 9, 15, 0.42));
  pointer-events: none;
}
.hero-buttons-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  /* Р СџР С• РЎвЂ Р ВµР Р…РЎвЂљРЎР‚РЎС“ Р С”Р В°Р Т‘РЎР‚Р В° + РЎвЂЎРЎС“РЎвЂљРЎРЉ Р Р†Р Р†Р ВµРЎР‚РЎвЂ¦ РІР‚вЂќ Р В·Р С•Р Р…Р В° Р СР ВµР В¶Р Т‘РЎС“ NAILS ART Р С‘ Р С‘Р СР ВµР Р…Р ВµР С / Р С—Р С•Р В»Р С•РЎРѓР С•Р в„– РЎРѓ Р В±РЎР‚Р С‘Р В»Р В»Р С‘Р В°Р Р…РЎвЂљР В°Р СР С‘ */
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
  box-sizing: border-box;
  pointer-events: none;
}
.hero-buttons-wrap .hero-cta-row,
.hero-buttons-wrap .btn {
  pointer-events: auto;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 14px;
  width: 100%;
  max-width: min(920px, 96%);
  /* Р вЂР В°Р В·Р В° +2vh, Р С—Р С•Р Т‘Р Р…РЎРЏРЎвЂљР С• Р Р…Р В° 2% Р Р†РЎвЂ№РЎРѓР С•РЎвЂљРЎвЂ№ hero-Р В±Р В»Р С•Р С”Р В° (2cqh) */
  transform: translateY(2vh);
}
@supports (height: 1cqh) {
  .hero-cta-row {
    transform: translateY(calc(2vh - 2cqh));
  }
}
@media (max-width: 640px) {
  .hero-cta-row {
    flex-direction: column;
    gap: 10px;
    transform: translateY(4vh);
  }
  .hero-cta-row .btn-hero {
    width: 100%;
    max-width: 320px;
  }
}
@supports (height: 1cqh) {
  @media (max-width: 640px) {
    .hero-cta-row {
      transform: translateY(calc(4vh - 2cqh));
    }
  }
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--accent-diamond); margin-bottom: 10px; }
.eyebrow.dark { color: #576a8c; }
.lead { font-size: 18px; max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.btn {
  padding: 12px 18px; border-radius: 10px;
  border: 1px solid var(--border-subtle);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.btn-primary {
  background: linear-gradient(180deg, #d9e8ff, #aac5ef);
  color: #0d1625;
  box-shadow: var(--glow-soft);
}
.btn-ghost {
  background: var(--surface-glass-dark);
  color: var(--text-primary);
}
/* Hero: РЎвЂљРЎР‚Р С‘ Р С”Р Р…Р С•Р С—Р С”Р С‘ Р Р† РЎР‚РЎРЏР Т‘, Р’В«Р С”Р В°Р С—РЎРѓРЎС“Р В»РЎвЂ№Р’В», РЎвЂ¦Р С•Р В»Р С•Р Т‘Р Р…Р С•Р Вµ РЎРѓР Р†Р ВµРЎвЂЎР ВµР Р…Р С‘Р Вµ */
.btn-hero {
  position: relative;
  border-radius: 999px;
  padding: 13px 22px;
  /* +10% Р С” Р С—РЎР‚Р ВµР В¶Р Р…Р ВµР СРЎС“ Р С”Р ВµР С–Р В»РЎР‹ */
  font-size: clamp(0.9rem, 2.31vw, 1.05rem);
  letter-spacing: 0.03em;
  border-width: 1px;
  transition: transform 0.2s ease, box-shadow 0.35s ease, filter 0.35s ease;
}
.btn-hero:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn-hero-services {
  background: linear-gradient(180deg, #e9f1ff, #b6cef0);
  color: #0a1220;
  border-color: rgba(120, 170, 230, 0.55);
  box-shadow:
    0 0 14px rgba(150, 190, 255, 0.45),
    0 0 32px rgba(100, 150, 230, 0.2);
  animation: heroGlowSoft 3s ease-in-out infinite;
}
.btn-hero-expert {
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.95), rgba(6, 10, 18, 0.92));
  /* Р вЂєР ВµР Т‘РЎРЏР Р…Р С•Р в„– Р С–Р С•Р В»РЎС“Р В±Р С•Р в„– Р Р† РЎвЂљР С•Р Р… Р С—Р С•Р Т‘РЎРѓР Р†Р ВµРЎвЂљР С”Р Вµ, Р Р…Р Вµ Р В±Р ВµР В»РЎвЂ№Р в„– РІР‚вЂќ Р С•РЎвЂљР В»Р С‘РЎвЂЎР С‘Р Вµ Р С•РЎвЂљ Р В±Р С•Р С”Р С•Р Р†РЎвЂ№РЎвЂ¦ */
  color: #b4d4f2;
  text-shadow: 0 0 18px rgba(120, 190, 255, 0.35);
  border-color: rgba(130, 200, 255, 0.65);
  box-shadow:
    0 0 20px rgba(80, 170, 255, 0.55),
    0 0 44px rgba(60, 140, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: heroGlowExpert 2.8s ease-in-out infinite;
}
.btn-hero-academy {
  background: rgba(10, 14, 22, 0.78);
  color: #f2f6ff;
  border-color: rgba(200, 220, 255, 0.42);
  box-shadow:
    0 0 14px rgba(140, 175, 230, 0.4),
    0 0 28px rgba(90, 130, 200, 0.2);
  animation: heroGlowSoft 3.4s ease-in-out infinite 0.5s;
}
@keyframes heroGlowSoft {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(140, 180, 240, 0.35),
      0 0 28px rgba(100, 150, 220, 0.15);
  }
  50% {
    box-shadow:
      0 0 22px rgba(160, 200, 255, 0.55),
      0 0 40px rgba(120, 170, 240, 0.28);
  }
}
@keyframes heroGlowExpert {
  0%, 100% {
    box-shadow:
      0 0 18px rgba(90, 180, 255, 0.5),
      0 0 40px rgba(60, 150, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  50% {
    box-shadow:
      0 0 28px rgba(120, 200, 255, 0.75),
      0 0 56px rgba(80, 170, 255, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-hero-services,
  .btn-hero-expert,
  .btn-hero-academy {
    animation: none;
  }
}
.btn:hover:not(.btn-hero) { transform: translateY(-1px); }

.sub-hero { padding: 84px 0 44px; background: radial-gradient(circle at 75% -40%, rgba(152, 187, 255, 0.16), transparent 45%); }
.academy-hero { background: radial-gradient(circle at 20% 0%, rgba(153, 198, 255, 0.2), transparent 45%); }

.section { padding: 72px 0; }
.section-light {
  background: linear-gradient(180deg, var(--bg-ice-light), #edf3fb);
}
.section-light h2, .section-light h3 { color: var(--text-dark); }
.section-light p, .section-light .text-link { color: #495c7e; }

.section-directions {
  padding-top: 64px;
  background-image: url("./assets/gallery-bg-13.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-directions .eyebrow {
  color: #cde0ff;
}
.section-directions h2,
.section-directions h3 {
  color: var(--text-primary);
}
.section-directions p {
  color: #b6c4da;
}
.section-directions .card {
  background: rgba(11, 17, 28, 0.72);
  border-color: rgba(172, 196, 228, 0.2);
}
.section-directions .text-link {
  color: #d9e8ff;
}
.about-section {
  background-image: url("./assets/about-bg-12.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.split {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
}
.split.about-split {
  align-items: flex-start;
}
.about-layout {
  display: grid;
  gap: 22px;
}
.about-section .about-copy .about-name {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0 0 1.1rem;
  padding-top: 0.2rem;
  color: #16191d;
  background-image: linear-gradient(
    168deg,
    #0f1114 0%,
    #2a3038 42%,
    #5c646e 50%,
    #23282e 58%,
    #121418 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .about-section .about-copy .about-name {
    color: #1a1e24;
    background: none;
    -webkit-text-fill-color: unset;
  }
}
.about-tagline {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.about-copy p {
  margin-bottom: 1rem;
}
.portrait {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(140, 165, 200, 0.45);
}

.section.section-gallery {
  padding-top: 56px;
  padding-bottom: 72px;
}
.section-gallery {
  background-image: url("./assets/gallery-bg-13.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-gallery .gallery-section-title {
  margin: 0 0 10px;
  color: #f2f6ff;
  font-size: calc(1.5em + 2px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-gallery .gallery-carousel {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.section-gallery .gallery-strip {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.section-gallery .gallery-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.42s cubic-bezier(0.25, 0.1, 0.22, 1);
  will-change: transform;
}
.section-gallery .gallery-item {
  flex: 0 0 var(--gallery-item-w, 200px);
  width: var(--gallery-item-w, 200px);
  min-width: 0;
  max-width: var(--gallery-item-w, 200px);
  box-sizing: border-box;
  border: 1px solid rgba(181, 201, 233, 0.28);
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(12, 16, 24, 0.45);
  line-height: 0;
}
.section-gallery .gallery-item:focus-visible {
  outline: 2px solid var(--accent-diamond);
  outline-offset: 3px;
}
.section-gallery .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(calc(52vh * 1.2), calc(340px * 1.2));
  object-fit: cover;
}
.section-gallery .gallery-nav,
.cases-carousel .gallery-nav {
  flex: 0 0 auto;
  align-self: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(181, 201, 233, 0.35);
  background: rgba(12, 16, 24, 0.75);
  color: var(--text-primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.section-gallery .gallery-nav:hover:not(:disabled),
.cases-carousel .gallery-nav:hover:not(:disabled) {
  border-color: rgba(200, 220, 255, 0.5);
  background: rgba(20, 26, 36, 0.92);
}
.section-gallery .gallery-nav:disabled,
.cases-carousel .gallery-nav:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}
.section-gallery .gallery-nav:focus-visible,
.cases-carousel .gallery-nav:focus-visible {
  outline: 2px solid var(--accent-diamond);
  outline-offset: 2px;
}
.section-gallery .gallery-nav-icon,
.cases-carousel .gallery-nav-icon {
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 300;
  margin-top: -2px;
  user-select: none;
}
.section-cases {
  padding-top: 48px;
  padding-bottom: 48px;
  background-image: url("./assets/about-bg-12.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-cases .eyebrow {
  font-family: "Playfair Display", serif;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.section-cases h2 {
  margin: 0 0 12px;
}
.cases-carousel {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cases-strip {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.cases-row {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.25, 0.1, 0.22, 1);
  will-change: transform;
}
.case-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  padding: 14px;
  border-radius: 20px;
  overflow: hidden;
  clip-path: inset(0 round 20px);
  isolation: isolate;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.68) 0%,
    rgba(247, 251, 255, 0.6) 100%
  );
  border: 2px solid rgba(120, 198, 255, 0.88);
  box-shadow:
    0 0 22px rgba(70, 170, 255, 0.58),
    0 0 52px rgba(46, 130, 255, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}
.case-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(170, 220, 255, 0.16) 0%,
    rgba(120, 190, 255, 0.08) 42%,
    rgba(60, 140, 240, 0.03) 100%
  );
}
.case-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.case-photo {
  position: relative;
  border: 1px solid rgba(124, 150, 184, 0.26);
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  background: #f8fbff;
}
.case-photo img {
  display: block;
  width: 100%;
  height: min(46vw, 430px);
  object-fit: cover;
}
.case-photo--trim-left img {
  object-position: 53% center;
}
.case-caption {
  margin: 10px 4px 2px;
  color: #334665;
  font-size: 0.96rem;
  line-height: 1.62;
  font-weight: 500;
  text-shadow: none;
}
@media (max-width: 520px) {
  .section-gallery .gallery-carousel {
    gap: 4px;
  }
  .section-gallery .gallery-nav,
  .cases-carousel .gallery-nav {
    width: 38px;
    height: 38px;
  }
  .section-gallery .gallery-nav-icon,
  .cases-carousel .gallery-nav-icon {
    font-size: 1.5rem;
  }
  .case-photo img {
    height: min(58vw, 320px);
  }
}

.lightbox {
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  min-height: 100vh;
  background: transparent;
  color: var(--text-primary);
  box-sizing: border-box;
}
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.lightbox-surface {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 24px;
  box-sizing: border-box;
}
.lightbox-close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(200, 220, 255, 0.35);
  background: rgba(12, 16, 24, 0.85);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close:hover {
  border-color: rgba(220, 235, 255, 0.55);
  background: rgba(20, 26, 32, 0.95);
}
.lightbox-img {
  display: block;
  max-width: min(calc(96vw * 1.2), calc(1400px * 1.2));
  max-height: min(calc(88vh * 1.2), calc(1200px * 1.2));
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: 50% calc(50% - 8%);
  border-radius: 8px;
}

.academy-modal {
  border: 0;
  padding: 0;
  background: transparent;
}
.academy-modal::backdrop {
  background: rgba(4, 8, 14, 0.62);
}
.academy-modal-surface {
  position: relative;
  width: min(92vw, 460px);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.98), rgba(8, 12, 18, 0.96));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  padding: 26px 22px 20px;
}
.academy-modal-surface h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}
.academy-modal-surface p {
  margin: 0;
  color: #d2def0;
  line-height: 1.65;
}
.academy-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(200, 220, 255, 0.35);
  background: rgba(12, 16, 24, 0.85);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface-dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
}
.card.light {
  background: var(--surface-light-card);
  border-color: rgba(112, 137, 173, 0.24);
}
.card.light h3 { color: var(--text-dark); }

/* Services page — фон героя: 23.jpeg */
.services-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1024 / 546;
  border-bottom: 1px solid var(--border-subtle);
  background-image: url("./assets/23.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 95% at 8% 50%, rgba(8, 12, 20, 0.34) 0%, rgba(8, 12, 20, 0.2) 28%, rgba(8, 12, 20, 0.08) 48%, rgba(8, 12, 20, 0.02) 62%, transparent 74%),
    linear-gradient(90deg, rgba(8, 12, 20, 0.16) 0%, rgba(8, 12, 20, 0.08) 20%, rgba(8, 12, 20, 0.03) 34%, transparent 52%);
}
.services-hero-inner {
  position: relative;
  z-index: 1;
  padding: 84px 0 44px;
}
.services-hero h1 {
  max-width: min(36rem, 100%);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: #f1ede6;
  background-image: linear-gradient(
    180deg,
    #fbf7f1 0%,
    #f6f2eb 38%,
    #eee8de 72%,
    #e2dacd 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 1px rgba(9, 12, 18, 0.2),
    0 5px 12px rgba(8, 12, 20, 0.16);
}
.services-hero-lead {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: 27px;
  line-height: 1.5;
  color: #c2d4ee;
  text-shadow:
    0 1px 1px rgba(7, 12, 18, 0.16),
    0 4px 12px rgba(8, 16, 28, 0.2);
}
.services-block-head {
  margin-bottom: 22px;
}
.services-block-head h2 {
  margin-bottom: 10px;
}
.services-block-lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
  max-width: 40rem;
}
.section-light .services-block-lead {
  color: #5a6b86;
}
.services-directions .services-block-lead {
  color: var(--text-secondary);
}
/* «Основные направления»: заголовок — беж как в герое, меньше по кеглю, одна строка */
.section-light.services-directions .services-block-head {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.section-light.services-directions .services-block-head h2 {
  display: inline-block;
  max-width: none;
  margin-bottom: 10px;
  /* +20% к предыдущему кеглю */
  font-size: clamp(1.44rem, 1.14rem + 1.62vw, 2.22rem);
  line-height: 1.12;
  white-space: nowrap;
  color: #f1ede6;
  background-image: linear-gradient(
    180deg,
    #fffdfb 0%,
    #faf6ef 36%,
    #f0e9de 70%,
    #e8dfcf 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 2px rgba(9, 12, 18, 0.26),
    0 6px 18px rgba(8, 12, 20, 0.26);
}
.section-light.services-directions .services-block-lead {
  margin: 0;
  max-width: 42rem;
  /* ~17% меньше предыдущего — визуально под шапкой */
  font-size: clamp(0.92rem, 0.88rem + 1.73vw, 1.2rem);
  line-height: 1.55;
  color: #a8bdd8;
  text-shadow:
    0 1px 2px rgba(7, 12, 18, 0.38),
    0 3px 10px rgba(8, 16, 28, 0.32);
}

/* Фон блока «Основные направления работы» (услуги): изображение /assets/39.jpeg */
.section.section-light.services-directions {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section.section-light.services-directions::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/39.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section.section-light.services-directions > .container {
  position: relative;
  z-index: 1;
}

.services-directions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.service-direction-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(165deg, rgba(28, 38, 54, 0.92), rgba(18, 26, 39, 0.88));
  border-color: rgba(160, 190, 235, 0.18);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.18);
}
.service-direction-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.service-direction-card > p {
  flex: 0 0 auto;
  margin-bottom: 14px;
  font-size: 0.96rem;
  line-height: 1.65;
}
.service-direction-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #b4c0d6;
  font-size: 0.92rem;
  line-height: 1.6;
}
.service-direction-list li {
  margin-bottom: 0.4rem;
}
.service-direction-list li::marker {
  color: rgba(140, 175, 230, 0.55);
}
/* Карточки направлений на фото: тёмное стекло + типографика в тон герою (голубые заголовки) */
.section-light.services-directions .service-direction-card {
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(12, 18, 30, 0.88), rgba(8, 14, 26, 0.82));
  border: 1px solid rgba(140, 175, 230, 0.28);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.section-light.services-directions .service-direction-card:nth-child(3n + 1) {
  border-top: 2px solid rgba(160, 200, 255, 0.22);
}
.section-light.services-directions .service-direction-card:nth-child(3n + 2) {
  border-top: 2px solid rgba(180, 210, 250, 0.18);
}
.section-light.services-directions .service-direction-card:nth-child(3n) {
  border-top: 2px solid rgba(140, 185, 235, 0.2);
}
.section-light.services-directions .service-direction-card h3 {
  font-size: clamp(1.22rem, 2.1vw, 1.42rem);
  line-height: 1.2;
  margin-bottom: 12px;
  color: #f1ede6;
  background-image: linear-gradient(
    180deg,
    #fffdfb 0%,
    #faf6ef 36%,
    #f0e9de 70%,
    #e8dfcf 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 2px rgba(9, 12, 18, 0.24),
    0 4px 14px rgba(8, 12, 20, 0.22);
}
.section-light.services-directions .service-direction-card > p {
  color: #dde8f7;
  font-size: 1.03rem;
  line-height: 1.65;
  text-shadow: 0 1px 2px rgba(6, 10, 18, 0.5);
}
.section-light.services-directions .service-direction-list {
  color: #b8cce8;
  font-size: 0.98rem;
  line-height: 1.62;
}
.section-light.services-directions .service-direction-list li::marker {
  color: rgba(185, 215, 255, 0.75);
}
.services-expert {
  border-top: 1px solid rgba(112, 137, 173, 0.12);
}
/* Блок «Подбор под задачу…»: фон 40.jpeg, заголовок беж как в направлениях, текст — голубой как в карточках */
.section.section-light.services-expert {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section.section-light.services-expert::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/40.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section.section-light.services-expert > .container {
  position: relative;
  z-index: 1;
}
.services-expert-heading {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--text-dark);
  margin: 0 0 18px;
  max-width: 28rem;
  line-height: 1.2;
}
.section-light.services-expert .services-expert-heading {
  max-width: 38rem;
  color: #f1ede6;
  background-image: linear-gradient(
    180deg,
    #fffdfb 0%,
    #faf6ef 36%,
    #f0e9de 70%,
    #e8dfcf 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 2px rgba(9, 12, 18, 0.24),
    0 4px 14px rgba(8, 12, 20, 0.22);
}
.services-expert-prose {
  max-width: 40rem;
}
.services-expert-prose p {
  color: #495c7e;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.section-light.services-expert .services-expert-prose p {
  color: #dde8f7;
  text-shadow: 0 1px 2px rgba(6, 10, 18, 0.5);
}
.services-expert-prose p:last-child {
  margin-bottom: 0;
}
.services-safety {
  position: relative;
  background: linear-gradient(180deg, #080b10 0%, #0e131c 42%, #0c1018 100%);
  border-top: 1px solid rgba(100, 140, 200, 0.12);
}
.section.services-safety::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/42.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.services-safety::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 210, 255, 0.2), transparent);
  pointer-events: none;
}
.services-safety > .container {
  position: relative;
  z-index: 1;
}
.services-safety .services-block-head h2 {
  max-width: 38rem;
  color: #f1ede6;
  background-image: linear-gradient(
    180deg,
    #fffdfb 0%,
    #faf6ef 36%,
    #f0e9de 70%,
    #e8dfcf 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 2px rgba(9, 12, 18, 0.24),
    0 4px 14px rgba(8, 12, 20, 0.22);
}
.services-safety .services-block-lead {
  color: #dde8f7;
  text-shadow: 0 1px 2px rgba(6, 10, 18, 0.5);
}
.services-safety-body {
  max-width: 44rem;
}
.services-safety-body > p {
  color: #dde8f7;
  text-shadow: 0 1px 2px rgba(6, 10, 18, 0.45);
  margin-bottom: 0.85rem;
}
.services-safety-bullets {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  color: #b8cce8;
  line-height: 1.7;
}
.services-safety-bullets li {
  margin-bottom: 0.35rem;
}
.services-safety-bullets li::marker {
  color: rgba(160, 195, 240, 0.45);
}
.safety-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.safety-trust-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(140, 170, 220, 0.16);
  border-radius: 12px;
  padding: 18px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.safety-trust-card:hover {
  border-color: rgba(160, 195, 240, 0.28);
  background: rgba(255, 255, 255, 0.05);
}
.safety-trust-title {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: #e2e9f5;
}
.safety-trust-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9eacc4;
}
.services-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(100, 145, 220, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-charcoal), var(--bg-black-primary));
  border-top: 1px solid var(--border-subtle);
}
.services-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/43.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.services-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.services-cta-inner h2 {
  color: #f1ede6;
  background-image: linear-gradient(
    180deg,
    #fffdfb 0%,
    #faf6ef 36%,
    #f0e9de 70%,
    #e8dfcf 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 2px rgba(9, 12, 18, 0.24),
    0 4px 14px rgba(8, 12, 20, 0.22);
  margin-bottom: 12px;
}
.services-cta-text {
  color: #dde8f7;
  text-shadow: 0 1px 2px rgba(6, 10, 18, 0.5);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 22px;
}
.services-cta-row {
  justify-content: center;
  margin-top: 0;
}
@media (max-width: 960px) {
  .safety-trust-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .services-directions-grid {
    grid-template-columns: 1fr;
  }
  .case-photos {
    grid-template-columns: 1fr;
  }
}

.text-link { color: var(--accent-diamond); font-weight: 600; }

.centered { text-align: center; }
.waitlist {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 18px auto 0;
}
.waitlist input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-glass-dark);
  color: var(--text-primary);
  padding: 12px 14px;
}

.section.contact-section {
  padding: 44px 0 48px;
  background-image: url("./assets/about-bg-12.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.contact-section .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}
.contact-section .contact-info .eyebrow {
  margin-bottom: 5px;
}
.contact-section .contact-info h2 {
  margin: 0 0 12px;
  line-height: 1.2;
}
.contact-section .contact-address {
  font-size: 1.06rem;
  color: #495c7e;
  line-height: 1.65;
  margin: 0 0 0.85rem;
}
.contact-section .contact-phone-wrap {
  margin: 0 0 0.35rem;
}
.contact-section .contact-phone {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}
.contact-section .contact-phone:hover {
  color: #0f1728;
}
.contact-section .contact-hint {
  font-size: 0.92rem;
  color: #5a6b86;
  margin: 0.75rem 0 0.5rem;
}
.contact-section .contact-messengers {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.contact-section .contact-messengers > li {
  flex: 0 0 auto;
}
.contact-section .contact-messenger {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: auto;
  padding: 0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, color 0.15s ease;
}
.contact-section .contact-messenger:hover {
  color: var(--text-dark);
  transform: translateX(2px);
}
.contact-section .contact-messenger-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.contact-section .contact-messenger:hover .contact-messenger-icon {
  box-shadow: 0 6px 22px rgba(15, 35, 60, 0.22);
  transform: translateY(-2px);
}
.contact-section .contact-messenger svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.contact-section .contact-messenger-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #3d4f6e;
}
.contact-section .contact-messenger:hover .contact-messenger-label {
  color: #1a2744;
}
.contact-section .contact-messenger--whatsapp .contact-messenger-icon {
  background: #25d366;
}
.contact-section .contact-messenger--telegram .contact-messenger-icon {
  background: #229ed9;
}
.contact-section .contact-map-wrap {
  align-self: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(112, 137, 173, 0.28);
  background: #e4eaf3;
  line-height: 0;
}
.contact-section .contact-map-frame {
  display: block;
  width: 100%;
  height: min(38vh, 300px);
  min-height: 200px;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-image: url("./assets/gallery-bg-13.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 34px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.site-footer a { color: var(--text-secondary); }
.site-footer a:hover { color: var(--text-primary); }
.site-footer .footer-social {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  padding: 0;
  border-radius: 0;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.15s ease;
}
.site-footer .footer-social:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}
.site-footer .footer-social-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.site-footer .footer-social:hover .footer-social-icon {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}
.site-footer .footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.footer-social-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #b8c4d4;
}
.site-footer .footer-social:hover .footer-social-label {
  color: #e8edf5;
}
.footer-social--instagram .footer-social-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer-social--facebook .footer-social-icon {
  background: #1877f2;
}
.footer-social--tiktok .footer-social-icon {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-sizing: border-box;
}
.footer-social--youtube .footer-social-icon {
  background: #ff0000;
}
.site-footer .footer-address {
  margin: 10px 0 0;
  font-size: 13px;
  color: #7d8aa0;
  line-height: 1.45;
  max-width: 260px;
}

@media (max-width: 960px) {
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

@media (max-width: 720px) {
  .menu-btn {
    display: inline-flex; border: 1px solid var(--border-subtle);
    background: transparent; color: var(--text-primary); border-radius: 8px; padding: 8px 11px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 58px; right: 4%;
    width: min(260px, 88vw);
    background: #0b1018;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nav.open { display: grid; }
  .cards.two, .cards.three, .cards.four { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-section .contact-layout { grid-template-columns: 1fr; }
  .lead { font-size: 16px; }
}






