:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --cream: #FAF8F3;
  --gold: #C8956C;
  --gold-hover: #A67A52;
  --gold-soft: #E8D5C0;
  --muted: #6B7280;
  --line: rgba(255, 255, 255, 0.08);
  --font: "Manrope", system-ui, sans-serif;
  --font-brand: "Nanum Myeongjo", Georgia, serif;

  --font-size-min: 14;
  --font-size-max: 20;
  --font-ratio-min: 1.1;
  --font-ratio-max: 1.33;
  --font-width-min: 375;
  --font-width-max: 1500;

  --start: 35;
  --end: 75;
  --lightness: 72%;
  --base-chroma: 0.09;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 4.75rem;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Active WebGL background (@atzedent-style) */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Видео-фон: мобилка (mobile-bg.js) и десктоп (desktop-bg.js) */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  background: #0A0A0A;
  opacity: 1;
  transition: opacity var(--bg-video-fade, 1.85s) ease-in-out;
  will-change: opacity;
}

.bg-video.is-bg-under {
  opacity: 0;
}

/* Десктоп: прибой ближе к низу кадра */
.bg-video--desktop {
  object-position: center 65%;
}

.bg-video-dim {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.28) 28%, rgba(10, 10, 10, 0.18) 55%, rgba(10, 10, 10, 0.55) 100%),
    radial-gradient(ellipse at center, transparent 35%, rgba(10, 10, 10, 0.45) 100%);
}

.bg-video-dim--desktop {
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.22) 32%, rgba(10, 10, 10, 0.16) 58%, rgba(10, 10, 10, 0.5) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(10, 10, 10, 0.4) 100%);
}

.word-scroll,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Header ── */
/* ── Splash: Ю заливается белым снизу вверх = индикатор загрузки ── */
body.splash-lock {
  overflow: hidden;
}

.site-splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(200, 149, 108, 0.08), transparent 55%),
    #070605;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.site-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  transition: transform 0.6s ease;
}

.site-splash.is-leaving .splash-inner {
  transform: scale(1.05);
}

.splash-mark {
  position: relative;
  display: inline-block;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 20vw, 8rem);
  line-height: 1;
  color: rgba(250, 248, 243, 0.1);
  user-select: none;
}

/* белый слой той же буквы, открывается снизу вверх */
.splash-mark::after {
  content: attr(data-glyph);
  position: absolute;
  inset: 0;
  color: #FAF8F3;
  clip-path: inset(100% 0 0 0);
  animation:
    yu-fill 1.45s cubic-bezier(0.3, 0.55, 0.25, 1) 0.15s forwards,
    yu-glow 2.4s ease-in-out 1.8s infinite;
}

@keyframes yu-fill {
  0% { clip-path: inset(100% 0 0 0); }
  55% { clip-path: inset(32% 0 0 0); }
  100% { clip-path: inset(0% 0 0 0); }
}

@keyframes yu-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(250, 248, 243, 0.15); }
  50% { text-shadow: 0 0 42px rgba(250, 248, 243, 0.4); }
}

.splash-brand {
  margin: 1.2rem 0 0.3rem;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream);
  animation: splash-text-in 0.7s ease 0.45s backwards;
}

.splash-sub {
  margin: 0;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  animation: splash-text-in 0.7s ease 0.62s backwards;
}

@keyframes splash-text-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-splash.is-reduced .splash-mark::after,
.site-splash.is-reduced .splash-brand,
.site-splash.is-reduced .splash-sub {
  animation: none;
}

.site-splash.is-reduced .splash-mark::after {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .splash-mark::after {
    animation: none;
    clip-path: inset(0 0 0 0);
  }

  .splash-brand,
  .splash-sub {
    animation: none;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 1.75rem;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.94) 0%, rgba(12, 10, 8, 0.72) 72%, rgba(12, 10, 8, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 149, 108, 0.1);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.logo-mark {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: none;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: rgba(250, 248, 243, 0.72);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  color: rgba(250, 248, 243, 0.72);
  letter-spacing: 0.14em;
  font-weight: 500;
  font-size: 0.7rem;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.18rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.9;
}

.nav-ico {
  width: 1rem;
  height: 1rem;
  background: linear-gradient(160deg, #f0d7b8 0%, var(--gold) 45%, #b8875a 100%);
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 0 0 transparent);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.nav-ico--services {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M5 8h5.2a1.8 1.8 0 0 1 0 3.6H7.5a1.8 1.8 0 0 0 0 3.6H13'/%3E%3Cpath d='M19 8h-5.2a1.8 1.8 0 0 0 0 3.6H16.5a1.8 1.8 0 0 1 0 3.6H11'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M5 8h5.2a1.8 1.8 0 0 1 0 3.6H7.5a1.8 1.8 0 0 0 0 3.6H13'/%3E%3Cpath d='M19 8h-5.2a1.8 1.8 0 0 0 0 3.6H16.5a1.8 1.8 0 0 1 0 3.6H11'/%3E%3C/svg%3E");
}

.nav-ico--krym {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E");
}

.nav-ico--blog {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.8h7.2L19 8.5V20.2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4.8a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 3.8V8.4h4.8'/%3E%3Cpath d='M9 12.2h6M9 15.6h6'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.8h7.2L19 8.5V20.2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4.8a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 3.8V8.4h4.8'/%3E%3Cpath d='M9 12.2h6M9 15.6h6'/%3E%3C/svg%3E");
}

.nav-ico--lead {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.2h15a1 1 0 0 1 1 1v7.4a1 1 0 0 1-1 1H9.2L5.4 19.2v-3.6H4.5a1 1 0 0 1-1-1V7.2a1 1 0 0 1 1-1z'/%3E%3Cpath d='M8.2 10.2h7.6M8.2 13h5.2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.2h15a1 1 0 0 1 1 1v7.4a1 1 0 0 1-1 1H9.2L5.4 19.2v-3.6H4.5a1 1 0 0 1-1-1V7.2a1 1 0 0 1 1-1z'/%3E%3Cpath d='M8.2 10.2h7.6M8.2 13h5.2'/%3E%3C/svg%3E");
}

.nav-link-txt {
  line-height: 1;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold-soft);
}

.nav-link:hover .nav-ico,
.nav-link:focus-visible .nav-ico {
  opacity: 1;
  transform: translateY(-1px) scale(1.12);
  filter: drop-shadow(0 0 9px rgba(200, 149, 108, 0.55));
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link:active {
  transform: scale(0.97);
}

@keyframes nav-item-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes consult-sheen {
  0%, 74% {
    transform: translateX(-140%) skewX(-18deg);
  }
  92%, 100% {
    transform: translateX(150%) skewX(-18deg);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-consult {
  display: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(200, 149, 108, 0.22);
}

.nav-consult:active {
  transform: scale(0.97);
}

.nav-burger {
  display: none;
  position: relative;
  z-index: 70;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 1px solid rgba(200, 149, 108, 0.35);
  border-radius: 0.7rem;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  border-radius: 999px;
  background: var(--gold-soft);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

.nav-scrim {
  display: none;
}

.nav-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 149, 108, 0.45);
  background: rgba(200, 149, 108, 0.1);
  color: var(--gold-soft) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-phone:hover {
  background: rgba(200, 149, 108, 0.22);
  border-color: var(--gold);
  color: var(--cream) !important;
  box-shadow: 0 0 28px rgba(200, 149, 108, 0.28);
}

.nav-phone.is-live {
  animation: nav-phone-glow 2.8s ease-in-out infinite;
}

.nav-phone-pulse {
  position: relative;
  width: 2.05rem;
  height: 2.05rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(200, 149, 108, 0.16);
  display: grid;
  place-items: center;
}

.nav-phone-pulse::before,
.nav-phone-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 149, 108, 0.7);
  animation: nav-ring 2.2s ease-out infinite;
}

.nav-phone-pulse::after {
  animation-delay: 1.1s;
}

.nav-phone-ico,
.contact-phone-ico {
  width: 0.95rem;
  height: 0.95rem;
  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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.7 2.35a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.75.34 1.54.57 2.35.7A2 2 0 0 1 22 16.92z'/%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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.7 2.35a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.75.34 1.54.57 2.35.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-phone.is-live .nav-phone-ico {
  position: relative;
  z-index: 1;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(200, 149, 108, 0.65));
  animation: nav-phone-shake 3.6s ease-in-out infinite;
}

/* зелёный статус на иконке — на мобиле, когда подпись скрыта */
.nav-online-badge {
  display: none;
  position: absolute;
  right: -0.05rem;
  top: -0.05rem;
  z-index: 2;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #3DDC84;
  border: 1.5px solid #0A0A0A;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55);
  animation: nav-online-pulse 1.8s ease-out infinite;
}

.nav-phone-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  line-height: 1.15;
}

.nav-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-online-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #3DDC84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55);
  animation: nav-online-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes nav-online-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.nav-phone-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.92rem;
}

@keyframes nav-ring {
  0% { transform: scale(0.75); opacity: 0.85; }
  100% { transform: scale(1.45); opacity: 0; }
}

@keyframes nav-phone-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 149, 108, 0); }
  50% { box-shadow: 0 0 22px rgba(200, 149, 108, 0.22); }
}

@keyframes nav-phone-shake {
  0%, 82%, 100% { transform: rotate(0deg); }
  86% { transform: rotate(12deg); }
  90% { transform: rotate(-10deg); }
  94% { transform: rotate(8deg); }
  98% { transform: rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-phone.is-live,
  .nav-phone-pulse::before,
  .nav-phone-pulse::after,
  .nav-phone.is-live .nav-phone-ico,
  .nav-online-dot,
  .nav-online-badge {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .nav-phone-cta {
    display: none;
  }

  .nav-online-badge {
    display: block;
  }

  .nav-phone-meta {
    gap: 0;
  }
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-sm {
  padding: 0.7rem 1.1rem;
  font-size: 0.65rem;
  border-radius: 999px;
}

.btn-block {
  width: 100%;
  padding: 1.05rem 1.25rem;
  font-size: 0.72rem;
  border-radius: 0.9rem;
}

.btn-gold {
  background: var(--gold);
  color: #1A1A1A;
}

.btn-gold:hover {
  background: var(--gold-soft);
}

/* ── Hero: pick → dive carousel ── */
.hero-flow {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.pick-view {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding: 7rem 0 3rem;
  animation: view-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Важно: .pick-view { display:flex } иначе перебивает атрибут hidden */
.pick-view[hidden] {
  display: none !important;
}

.dive-view {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  /* фон закрывает страницу; выбор секторов уже display:none */
  background: rgba(10, 10, 10, 0.82);
  flex-direction: column;
}

.dive-view.is-open {
  display: flex;
  animation: dive-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.dive-view[hidden] {
  display: none !important;
}

body.is-diving {
  overflow: hidden !important;
  height: 100vh;
  height: 100dvh;
}

body.is-diving .site-header,
body.is-diving .pick-view,
body.is-diving .section,
body.is-diving .lead-screen,
body.is-diving .site-footer {
  visibility: hidden !important;
  pointer-events: none !important;
}

@keyframes view-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes view-out {
  to { opacity: 0; transform: scale(0.98); }
}

@keyframes dive-in {
  from { opacity: 0; transform: translateY(40px) scale(1.02); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-top {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero-lead {
  margin: 0 auto;
  max-width: 36rem;
  color: rgba(250, 248, 243, 0.6);
  line-height: 1.6;
  font-size: 0.98rem;
}

.pick-list {
  display: grid;
  gap: 0.85rem;
  width: min(720px, calc(100% - 2rem));
}

.pick-card {
  appearance: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  row-gap: 0.25rem;
  align-items: center;
  text-align: left;
  padding: 1.35rem 1.4rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(10px);
  color: var(--cream);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.pick-card:hover,
.pick-card:focus-visible {
  border-color: rgba(200, 149, 108, 0.6);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 24px 50px -28px rgba(200, 149, 108, 0.55);
  background: rgba(20, 16, 12, 0.7);
  outline: none;
}

.pick-num {
  grid-row: 1 / span 2;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
}

.pick-title {
  grid-column: 2;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.pick-verb {
  grid-column: 2;
  font-size: 0.85rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}

.pick-go {
  grid-row: 1 / span 2;
  grid-column: 3;
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.pick-card:hover .pick-go {
  transform: translateX(4px);
}

/* Dive / CodePen carousel */
.dive-back {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top, 0px) + 1rem);
  left: max(1rem, calc(50% - 560px));
  z-index: 5;
  appearance: none;
  border: 1px solid rgba(200, 149, 108, 0.35);
  background: rgba(10, 10, 10, 0.55);
  color: var(--gold-soft);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease;
}

.dive-back:hover {
  background: rgba(200, 149, 108, 0.15);
  color: var(--cream);
}

.dive-label {
  position: absolute;
  top: max(1.15rem, env(safe-area-inset-top, 0px) + 1.15rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  pointer-events: none;
}

/* характеристика услуги — лёгкий glass, без «дешёвой» светлой плашки */
.dive-blurb {
  position: absolute;
  top: max(3.4rem, env(safe-area-inset-top, 0px) + 3.2rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  z-index: 5;
  width: min(34rem, calc(100% - 2.5rem));
  padding: 0 0.25rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.dive-blurb.is-empty {
  opacity: 0;
  visibility: hidden;
}

.dive-blurb.is-hot:not(.is-empty) {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dive-blurb-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.dive-blurb-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dive-blurb-title:empty {
  display: none;
}

.dive-blurb-text {
  margin: 0 auto;
  max-width: 32rem;
  padding: 0.9rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(200, 149, 108, 0.22);
  background: rgba(250, 248, 243, 0.06);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(250, 248, 243, 0.78);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.7);
}

.dive-blurb.is-hot .dive-blurb-text {
  color: rgba(250, 248, 243, 0.88);
  border-color: rgba(200, 149, 108, 0.38);
  background: rgba(250, 248, 243, 0.08);
}

.dive-actions {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.dive-cta {
  border: 1px solid rgba(250, 248, 243, 0.25);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.4);
}

.dive-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.fluid {
  --fluid-min: calc(var(--font-size-min) * pow(var(--font-ratio-min), var(--font-level, 0)));
  --fluid-max: calc(var(--font-size-max) * pow(var(--font-ratio-max), var(--font-level, 0)));
  --fluid-preferred: calc(
    (var(--fluid-max) - var(--fluid-min)) /
      (var(--font-width-max) - var(--font-width-min))
  );
  font-size: clamp(
    (var(--fluid-min) / 16) * 1rem,
    ((var(--fluid-min) / 16) * 1rem) -
      (((var(--fluid-preferred) * var(--font-width-min)) / 16) * 1rem) +
      (var(--fluid-preferred) * 100vi),
    (var(--fluid-max) / 16) * 1rem
  );
}

/* CodePen-карусель: свободный скролл + неподвижная стрелка по центру */
.picker-shell {
  --font-level: 2.65;
  /* слот в em — всегда выше строки, услуги не наезжают */
  --slot: 1.85em;
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  margin: 8.5rem 0 7rem;
}

.word-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  box-sizing: border-box;
  outline: none;
  z-index: 1;
  -webkit-overflow-scrolling: touch;
}

.word-scroll::-webkit-scrollbar {
  width: 4px;
}

.word-scroll::-webkit-scrollbar-thumb {
  background: rgba(200, 149, 108, 0.45);
  border-radius: 999px;
}

/* прицел НЕ скроллится — всегда центр оболочки */
.picker-aim {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.verb-rail {
  width: min(64rem, calc(100% - 2rem));
  height: var(--slot);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* колонка услуг шире — длинные названия не обрезаются */
  padding-right: min(40rem, 66%);
  box-sizing: border-box;
  gap: 0;
}

.verb-rail .heading {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  height: var(--slot);
  white-space: nowrap;
}

.verb-fixed {
  background: linear-gradient(90deg, var(--cream), var(--gold-soft), var(--cream));
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.verb-bridge {
  position: relative;
  display: block;
  width: clamp(2.4rem, 4.5vw, 3.5rem);
  height: var(--slot);
  flex-shrink: 0;
  margin-inline: 0.25em 0.55em;
}

.verb-bridge-line {
  position: absolute;
  left: 0;
  right: 0.5rem;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(232, 213, 192, 0.15),
    rgba(200, 149, 108, 0.95) 55%,
    rgba(232, 213, 192, 0.85)
  );
  box-shadow: 0 0 10px rgba(200, 149, 108, 0.45);
}

.verb-bridge-glow {
  position: absolute;
  left: 0;
  top: 50%;
  width: 35%;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 245, 220, 0.9), transparent);
  filter: blur(1.5px);
  animation: bridge-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.verb-bridge-node {
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(232, 213, 192, 0.9);
  background: rgba(200, 149, 108, 0.55);
  box-shadow:
    0 0 0 3px rgba(200, 149, 108, 0.12),
    0 0 14px rgba(200, 149, 108, 0.55);
  animation: bridge-node 2.2s ease-in-out infinite;
}

@keyframes bridge-pulse {
  0% { left: 0; opacity: 0.15; }
  45% { opacity: 1; }
  100% { left: 55%; opacity: 0.1; }
}

@keyframes bridge-node {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(200, 149, 108, 0.1),
      0 0 10px rgba(200, 149, 108, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(200, 149, 108, 0.2),
      0 0 18px rgba(232, 213, 192, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .verb-bridge-glow,
  .verb-bridge-node {
    animation: none !important;
  }
}

.picker-list {
  --step: calc((var(--end) - var(--start)) / max(var(--count) - 1, 1));
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 auto;
  /* вертикальный padding выставляет JS — ровно под прицел */
  padding: 0 1.25rem;
  width: min(64rem, 100%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: 500;
}

.picker-list li {
  flex: 0 0 var(--slot);
  height: var(--slot);
  max-height: var(--slot);
  width: min(40rem, 66%);
  display: flex;
  align-items: center;
  scroll-snap-align: center;
  overflow: visible;
  padding-left: 0.35em;
  box-sizing: border-box;
  opacity: 0.28;
  transition: opacity 0.2s ease, filter 0.2s ease, text-shadow 0.2s ease;
  color: oklch(
    var(--lightness) var(--base-chroma)
      calc(var(--start) + (var(--step) * var(--i)))
  );
}

.picker-list li.is-focus {
  opacity: 1;
  filter: brightness(1.12);
  text-shadow: 0 0 28px rgba(200, 149, 108, 0.35);
  color: var(--gold-soft);
}

.picker-list li:last-of-type {
  color: var(--cream);
}

.dive-service {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 1.4em 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.95em;
  font-weight: inherit;
  letter-spacing: 0.01em;
  line-height: var(--slot);
  white-space: nowrap;
  overflow: visible;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dive-service::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gold);
  opacity: 0;
  transform: translate(0.2em, -50%);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.picker-list li.is-focus .dive-service::after {
  opacity: 0.85;
  transform: translate(0.35em, -50%);
}

.dive-service:hover,
.dive-service:focus-visible {
  background: transparent;
  outline: none;
  filter: brightness(1.15);
}

.dive-service:focus-visible {
  box-shadow: none;
}

.dive-hint {
  position: absolute;
  left: 50%;
  bottom: max(5.5rem, env(safe-area-inset-bottom, 0px) + 4.8rem);
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  padding: 0 1rem;
  width: min(90vw, 28rem);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 243, 0.45);
  pointer-events: none;
}

@media (max-width: 900px) {
  /* Заголовок сектора — целиком, без «СТРО…» */
  .dive-label {
    top: max(3.4rem, env(safe-area-inset-top, 0px) + 3.15rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 22.5rem);
    max-width: none;
    padding: 0 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    overflow: visible;
    text-overflow: unset;
    hyphens: none;
  }

  /* «← Все направления» — сверху слева, не в куче с кнопками */
  .dive-back {
    top: max(0.75rem, env(safe-area-inset-top, 0px) + 0.65rem);
    left: max(0.75rem, env(safe-area-inset-left, 0px) + 0.65rem);
    bottom: auto;
    transform: none;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    padding: 0.55rem 0.8rem;
    max-width: calc(100% - 1.5rem);
  }

  .dive-blurb {
    top: max(5.5rem, env(safe-area-inset-top, 0px) + 5.2rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 22.5rem);
    text-align: center;
    padding-inline: 0.15rem;
  }

  .dive-blurb.is-hot:not(.is-empty) {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .dive-blurb-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.65rem;
  }

  .dive-blurb-title {
    font-size: 1.22rem;
    margin-bottom: 0.55rem;
    text-align: center;
  }

  .dive-blurb-text {
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 0.85rem 1.1rem;
    border-radius: 1.15rem;
    text-align: center;
    margin-inline: auto;
  }

  /*
   * Карусель на мобилке — одна центрированная дорожка:
   * [ Мы делаем ] → [ услуга… ]
   * Без обрезок по краям экрана.
   */
  .dive-view {
    overflow-x: clip;
  }

  .picker-shell {
    --font-level: 1.45;
    /* 2 строки длинного названия + запас — без вылезания на «Мы решаем» */
    --slot: 3.55em;
    /* колонка глагола: с запасом под «Мы помогаем» */
    --dive-verb-col: 7.6rem;
    --dive-bridge-col: 1.35rem;
    --dive-gap: 0.45rem;
    --dive-track: min(22.5rem, calc(100% - 1.25rem));
    margin: 12rem 0 9.75rem;
  }

  .picker-aim {
    justify-content: center;
    padding: 0;
    z-index: 6;
  }

  .verb-rail {
    width: var(--dive-track);
    height: var(--slot);
    display: grid;
    grid-template-columns: var(--dive-verb-col) var(--dive-bridge-col) minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    padding: 0;
    gap: 0;
    box-sizing: border-box;
  }

  .verb-rail .heading {
    grid-column: 1;
    width: 100%;
    max-width: none;
    justify-content: flex-end;
    font-size: 0.95em;
    overflow: hidden;
    /* чтобы текст услуг не просвечивал сквозь глагол */
    background: linear-gradient(
      90deg,
      rgba(8, 7, 6, 0.92) 0%,
      rgba(8, 7, 6, 0.78) 70%,
      rgba(8, 7, 6, 0) 100%
    );
    border-radius: 0.35rem;
    padding-inline: 0.15rem 0.1rem;
  }

  .verb-fixed {
    letter-spacing: 0;
    white-space: nowrap;
  }

  .verb-bridge {
    grid-column: 2;
    width: 100%;
    margin-inline: 0;
    justify-self: stretch;
  }

  .verb-bridge-line {
    left: 0.1rem;
    right: 0.15rem;
  }

  .verb-bridge-node {
    right: 0.05rem;
  }

  .word-scroll {
    overflow-x: hidden;
    z-index: 1;
  }

  .picker-list {
    width: var(--dive-track);
    margin-inline: auto;
    padding: 0;
    align-items: stretch;
    box-sizing: border-box;
  }

  .picker-list li {
    width: 100%;
    max-width: none;
    flex: 0 0 var(--slot);
    height: var(--slot);
    max-height: var(--slot);
    padding-left: calc(var(--dive-verb-col) + var(--dive-bridge-col) + var(--dive-gap));
    box-sizing: border-box;
    overflow: hidden; /* не даём тексту вылезать на глагол и соседей */
  }

  .dive-service {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    font-size: 0.84em;
    padding: 0 0.15em 0 0;
    white-space: normal;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.35em;
    text-align: left;
    overflow: hidden;
    hyphens: none;
  }

  /* Текст услуги: максимум 2 строки, дальше … */
  .dive-service-label {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Стрелка в потоке flex — не absolute, чтобы не обрезалась */
  .dive-service::after {
    content: "→";
    position: static;
    top: auto;
    right: auto;
    transform: none !important;
    flex: 0 0 auto;
    width: 1em;
    margin: 0;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: var(--gold);
    opacity: 0;
  }

  .picker-list li.is-focus .dive-service::after {
    opacity: 1;
    transform: none !important;
  }

  /* Низ: подсказка → кнопки, без наложений */
  .dive-hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px));
    width: min(92vw, 22rem);
    padding: 0 0.75rem;
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(250, 248, 243, 0.55);
    z-index: 6;
  }

  .dive-actions {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 22rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    z-index: 7;
  }

  .dive-actions .btn,
  .dive-actions .dive-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .pick-card {
    padding: 1.2rem 1.15rem;
    background:
      linear-gradient(180deg, rgba(255, 248, 240, 0.06) 0%, transparent 42%),
      rgba(6, 5, 4, 0.72);
    backdrop-filter: blur(16px) saturate(1.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    border: 1px solid rgba(232, 213, 192, 0.2);
    box-shadow:
      0 14px 36px -18px rgba(0, 0, 0, 0.75),
      inset 0 1px 0 rgba(255, 248, 240, 0.06);
  }

  .pick-card:hover,
  .pick-card:focus-visible {
    background:
      linear-gradient(180deg, rgba(255, 248, 240, 0.08) 0%, transparent 42%),
      rgba(10, 8, 6, 0.8);
    border-color: rgba(200, 149, 108, 0.45);
  }

  .hero-title {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  }

  .hero-lead {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  }
}

/* Modal */
.sector-modal[hidden] {
  display: none !important;
}

.sector-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.sector-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.sector-modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(200, 149, 108, 0.4);
  background: linear-gradient(165deg, #161410, #0A0A0A 70%);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  animation: modal-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.sector-modal-x {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.sector-modal-x:hover {
  opacity: 1;
  color: var(--gold);
}

.modal-list .dive-service,
.modal-list button.modal-service {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-list .dive-service:hover,
.modal-list button.modal-service:hover,
.modal-list .dive-service:focus-visible,
.modal-list button.modal-service:focus-visible {
  background: rgba(200, 149, 108, 0.12);
  color: var(--gold-soft);
  outline: none;
}

.modal-list {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.65rem;
  color: rgba(250, 248, 243, 0.78);
  line-height: 1.45;
  font-size: 0.95rem;
}

.modal-list li::marker {
  color: var(--gold);
}

.service-card {
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ── Sections ── */
.section {
  padding: 6.5rem 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
}

.about-inner {
  max-width: 880px;
}

.lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(250, 248, 243, 0.72);
  min-height: 4.8em;
}

.typewriter-text {
  color: rgba(250, 248, 243, 0.78);
}

.typewriter-caret {
  display: inline-block;
  width: 0.55ch;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--gold);
  animation: caret-blink 0.85s step-end infinite;
}

.typewriter.is-done .typewriter-caret {
  opacity: 0;
  animation: none;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.service {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service:hover {
  border-color: rgba(200, 149, 108, 0.4);
  transform: translateY(-2px);
}

.service-num {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.service h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.service p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(250, 248, 243, 0.55);
}

/* ── Crimea living map (image + pins) ── */
.krym {
  background: radial-gradient(ellipse 60% 70% at 75% 50%, rgba(200, 149, 108, 0.05), transparent 65%);
}

.krym-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.krym-reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 0.14s);
}

.krym-copy.is-in .krym-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.krym-lead.typewriter {
  min-height: 3.4em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.krym-copy.is-in .krym-lead.typewriter {
  opacity: 1;
}

.city-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.city-list li {
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.city-list li.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .krym-reveal,
  .city-list li {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .krym-lead.typewriter {
    opacity: 1;
  }
}

.city-list button {
  appearance: none;
  border: 1px solid rgba(200, 149, 108, 0.3);
  background: rgba(10, 10, 10, 0.4);
  color: rgba(250, 248, 243, 0.75);
  font-family: inherit;
  font-size: 0.82rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.city-list button:hover,
.city-list button.is-active {
  background: rgba(200, 149, 108, 0.16);
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-1px);
}

.map-panel {
  position: relative;
  border: 1px solid rgba(200, 149, 108, 0.28);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0b0d10;
  box-shadow: 0 30px 80px -40px rgba(200, 149, 108, 0.4);
}

.map-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 813;
  overflow: hidden;
}

.map-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s ease;
  filter: saturate(0.85) contrast(1.08) brightness(0.92);
}

.map-panel:hover .map-photo {
  transform: scale(1.08);
}

.map-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, transparent 35%, rgba(7, 7, 6, 0.45) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.15), rgba(10, 10, 10, 0.35));
  pointer-events: none;
}

.map-shine {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(232, 213, 192, 0.08) 48%,
    transparent 56%
  );
  animation: map-shine 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes map-shine {
  0%, 100% { transform: translateX(-18%) rotate(8deg); opacity: 0.4; }
  50% { transform: translateX(18%) rotate(8deg); opacity: 0.9; }
}

.map-pin {
  --x: 50%;
  --y: 50%;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
  color: var(--cream);
}

.map-pin-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #FAF8F3;
  box-shadow: 0 0 0 0 rgba(200, 149, 108, 0.45);
  animation: pin-breathe 2.8s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.map-pin.is-hub .map-pin-dot {
  width: 13px;
  height: 13px;
  background: var(--gold-soft);
}

.map-pin-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(200, 149, 108, 0.35);
  color: var(--gold-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}

.map-pin:hover .map-pin-label,
.map-pin:focus-visible .map-pin-label,
.map-pin.is-active .map-pin-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.map-pin:hover .map-pin-dot,
.map-pin:focus-visible .map-pin-dot,
.map-pin.is-active .map-pin-dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 8px rgba(200, 149, 108, 0.28), 0 0 22px rgba(200, 149, 108, 0.55);
}

.map-pin.is-pulse .map-pin-dot {
  animation: pin-flash 0.9s ease;
}

@keyframes pin-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 149, 108, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(200, 149, 108, 0); }
}

@keyframes pin-flash {
  0% { transform: scale(1); }
  40% { transform: scale(1.7); box-shadow: 0 0 0 14px rgba(200, 149, 108, 0.2); }
  100% { transform: scale(1.35); }
}

.map-caption {
  position: absolute;
  left: 0.9rem;
  top: 0.85rem;
  bottom: auto;
  z-index: 4;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(200, 149, 108, 0.35);
  color: var(--gold-soft);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

@media (max-width: 640px) {
  .map-pin-label {
    font-size: 0.6rem;
  }

  .map-pin:not(.is-active):not(:hover) .map-pin-label {
    display: none;
  }
}

/* ── Lead screen (fullscreen) ── */
.lead-screen {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 6rem 1.25rem 3rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.lead-screen-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lead-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: lead-orb 10s ease-in-out infinite;
}

.lead-orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  left: 10%;
  top: 15%;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.4), transparent 70%);
}

.lead-orb-b {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  right: 5%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(80, 60, 40, 0.45), transparent 70%);
  animation-delay: -4s;
}

.lead-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(200, 149, 108, 0.12);
  animation: lead-ring 14s linear infinite;
}

@keyframes lead-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -3%) scale(1.08); }
}

@keyframes lead-ring {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.lead-screen-inner {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  text-align: center;
}

.lead-title {
  margin: 0 0 1rem;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--cream);
}

.lead-title em {
  font-style: italic;
  color: var(--gold-soft);
}

.lead-sub {
  margin: 0 auto 2.25rem;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(250, 248, 243, 0.62);
}

.lead-form-hero {
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(200, 149, 108, 0.28);
  border-radius: 1.4rem;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -40px rgba(200, 149, 108, 0.45);
  text-align: left;
}

.lead-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(200, 149, 108, 0.35);
  background: rgba(200, 149, 108, 0.1);
  animation: lead-chip-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-selected[hidden] {
  display: none !important;
}

.lead-selected-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead-selected-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.35;
}

.lead-selected-clear {
  margin-left: auto;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(250, 248, 243, 0.65);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lead-selected-clear:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
}

@keyframes lead-chip-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.service-flyer {
  position: fixed;
  z-index: 200;
  margin: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 149, 108, 0.55);
  background: rgba(10, 10, 10, 0.88);
  color: var(--gold-soft);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  max-width: min(90vw, 28rem);
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  box-shadow: 0 20px 50px -20px rgba(200, 149, 108, 0.65);
  will-change: left, top, transform, opacity;
  transition:
    left 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease;
}

.service-flyer.is-flying {
  transform: scale(0.72);
  opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
  .service-flyer {
    transition: none !important;
  }
}

.phone-field {
  display: grid;
  gap: 0.55rem;
}

.phone-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.phone-field input {
  width: 100%;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  font: inherit;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.phone-field input::placeholder {
  color: rgba(250, 248, 243, 0.28);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.phone-field input:focus {
  border-color: var(--gold);
  background: rgba(200, 149, 108, 0.06);
  box-shadow: 0 0 0 4px rgba(200, 149, 108, 0.15), 0 0 40px rgba(200, 149, 108, 0.12);
}

.lead-form-hero .consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.15rem 0 1.35rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(250, 248, 243, 0.5);
  cursor: pointer;
}

.lead-form-hero .consent input {
  margin-top: 0.15rem;
  accent-color: var(--gold);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

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

.lead-submit {
  position: relative;
  overflow: hidden;
  animation: lead-btn-glow 2.8s ease-in-out infinite;
}

.lead-submit span {
  position: relative;
  z-index: 1;
}

.lead-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 65%);
  transform: translateX(-120%);
  animation: lead-btn-shine 3.2s ease-in-out infinite;
}

@keyframes lead-btn-glow {
  0%, 100% { box-shadow: 0 8px 28px -12px rgba(200, 149, 108, 0.55); }
  50% { box-shadow: 0 12px 40px -8px rgba(200, 149, 108, 0.85); }
}

@keyframes lead-btn-shine {
  0%, 60%, 100% { transform: translateX(-120%); }
  75% { transform: translateX(120%); }
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--gold-soft);
  text-align: center;
}

.form-note.is-error {
  color: #f87171;
}

.lead-contacts-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(250, 248, 243, 0.55);
  text-align: center;
}

.lead-contacts-row .contact-phone {
  position: relative;
  overflow: hidden;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 149, 108, 0.4);
  background: rgba(200, 149, 108, 0.1);
  font-size: 1.05rem;
}

.lead-contacts-row .contact-phone:hover {
  border-color: var(--gold);
  background: rgba(200, 149, 108, 0.18);
  color: var(--cream);
}

/* молния на номере под формой */
.phone-bolt {
  gap: 0.5rem;
  color: var(--gold-soft);
  animation: phone-bolt-glow 2.4s ease-in-out infinite;
}

.phone-bolt-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  background: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 2 4.5 13.5h6L10 22l9.5-13H13.5L13 2z'/%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='black'%3E%3Cpath d='M13 2 4.5 13.5h6L10 22l9.5-13H13.5L13 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: phone-bolt-zap 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(232, 213, 192, 0.85));
}

.phone-bolt-num {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}

.phone-bolt-flash {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 245, 220, 0.55) 48%,
    rgba(200, 149, 108, 0.35) 52%,
    transparent 65%
  );
  transform: translateX(-130%);
  animation: phone-bolt-strike 2.4s ease-in-out infinite;
  pointer-events: none;
}

.lead-contacts-row .phone-bolt:hover {
  animation-duration: 1.2s;
}

.lead-contacts-row .phone-bolt:hover .phone-bolt-icon,
.lead-contacts-row .phone-bolt:hover .phone-bolt-flash {
  animation-duration: 1.2s;
}

@keyframes phone-bolt-glow {
  0%, 70%, 100% {
    box-shadow:
      0 0 0 0 rgba(200, 149, 108, 0),
      0 0 18px -6px rgba(200, 149, 108, 0.35);
    border-color: rgba(200, 149, 108, 0.45);
  }
  78% {
    box-shadow:
      0 0 0 4px rgba(232, 213, 192, 0.18),
      0 0 36px 2px rgba(200, 149, 108, 0.65),
      0 0 60px 8px rgba(255, 230, 180, 0.2);
    border-color: rgba(232, 213, 192, 0.95);
  }
  86% {
    box-shadow:
      0 0 0 1px rgba(200, 149, 108, 0.25),
      0 0 22px -4px rgba(200, 149, 108, 0.45);
  }
}

@keyframes phone-bolt-zap {
  0%, 72%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.85;
    filter: drop-shadow(0 0 4px rgba(200, 149, 108, 0.5));
  }
  76% {
    transform: scale(1.25) rotate(-8deg);
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 245, 220, 1));
    background: #fff8e7;
  }
  82% {
    transform: scale(1.05) rotate(4deg);
    opacity: 1;
  }
}

@keyframes phone-bolt-strike {
  0%, 70%, 100% { transform: translateX(-130%); opacity: 0; }
  74% { opacity: 1; }
  86% { transform: translateX(130%); opacity: 0.35; }
}

.lead-address {
  color: rgba(250, 248, 243, 0.45);
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .phone-bolt,
  .phone-bolt-icon,
  .phone-bolt-flash {
    animation: none !important;
  }
}

/* scroll reveal */
.lead-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 0.12s);
}

.lead-screen.is-in .lead-reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lead-orb,
  .lead-ring,
  .lead-submit,
  .lead-submit::after {
    animation: none !important;
  }

  .lead-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Footer ── */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: rgba(250, 248, 243, 0.55);
  font-size: 0.9rem;
  background: rgba(10, 10, 10, 0.25);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-tag {
  margin: 1rem 0 0;
  line-height: 1.55;
  max-width: 18rem;
}

.footer-label {
  margin: 0 0 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.footer-bottom {
  display: grid;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: rgba(250, 248, 243, 0.35);
}

.footer-legal {
  margin: 0;
  max-width: 58rem;
  line-height: 1.55;
  color: rgba(250, 248, 243, 0.32);
}

/* ── Privacy page ── */
.legal-page {
  padding: 7rem 0 4rem;
}

.legal-page h1 {
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
}

.legal-page .meta {
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.25rem 0 0.85rem;
  color: var(--gold-soft);
}

.legal-page p,
.legal-page li {
  color: rgba(250, 248, 243, 0.7);
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-page a {
  color: var(--gold);
  text-decoration: underline;
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .site-header {
    border-bottom: 0;
  }

  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(200, 149, 108, 0.35) 30%,
      rgba(232, 213, 192, 0.5) 50%,
      rgba(200, 149, 108, 0.35) 70%,
      transparent 100%
    );
    pointer-events: none;
  }

  .nav {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .nav-links {
    flex: 1;
    justify-content: center;
    gap: 0.4rem;
  }

  .nav-link {
    animation: nav-item-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .nav-link:nth-child(1) { animation-delay: 0.05s; }
  .nav-link:nth-child(2) { animation-delay: 0.13s; }
  .nav-link:nth-child(3) { animation-delay: 0.21s; }
  .nav-link:nth-child(4) { animation-delay: 0.29s; }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.3rem 0.3rem 0.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background:
      linear-gradient(rgba(14, 12, 10, 0.82), rgba(14, 12, 10, 0.82)) padding-box,
      linear-gradient(
        120deg,
        rgba(200, 149, 108, 0.55),
        rgba(200, 149, 108, 0.12) 45%,
        rgba(232, 213, 192, 0.45)
      ) border-box;
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 230, 0.06),
      0 10px 30px rgba(0, 0, 0, 0.35);
    animation: nav-item-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.38s backwards;
  }

  .nav-actions .nav-phone {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    animation: none;
  }

  .nav-actions .nav-phone:hover {
    background: rgba(200, 149, 108, 0.12);
    border-color: transparent;
    box-shadow: none;
  }

  .nav-actions .nav-phone.is-live {
    animation: none;
  }

  /* разделитель телефон | кнопка */
  .nav-actions .nav-phone::after {
    content: "";
    align-self: center;
    width: 1px;
    height: 1.5rem;
    margin-left: 0.7rem;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(200, 149, 108, 0.55),
      transparent
    );
  }

  .nav-consult {
    display: inline-flex !important;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ecd9c2 0%, var(--gold) 48%, #a97c50 100%);
    color: #171310;
    box-shadow:
      inset 0 1px 0 rgba(255, 250, 240, 0.45),
      0 6px 20px rgba(200, 149, 108, 0.28);
    transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
  }

  .nav-consult::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    width: 45%;
    left: 0;
    background: linear-gradient(
      100deg,
      transparent 15%,
      rgba(255, 250, 238, 0.75) 50%,
      transparent 85%
    );
    transform: translateX(-140%) skewX(-18deg);
    animation: consult-sheen 5.2s ease-in-out 1.6s infinite;
    pointer-events: none;
  }

  .nav-consult:hover {
    background: linear-gradient(135deg, #ecd9c2 0%, var(--gold) 48%, #a97c50 100%);
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
      inset 0 1px 0 rgba(255, 250, 240, 0.5),
      0 10px 26px rgba(200, 149, 108, 0.42);
  }

  .nav-consult:active {
    transform: translateY(0) scale(0.97);
  }

  .nav-burger,
  .nav-scrim {
    display: none !important;
  }

  .krym-grid {
    grid-template-columns: 1fr 1.15fr;
  }

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

@media (min-width: 768px) and (max-width: 1100px) {
  .nav-link {
    padding: 0.5rem 0.5rem;
    letter-spacing: 0.08em;
    font-size: 0.64rem;
    gap: 0.4rem;
  }

  .nav-actions {
    gap: 0.35rem;
    padding: 0.24rem;
  }

  .nav-phone {
    padding: 0.32rem 0.5rem 0.32rem 0.4rem;
  }

  .nav-phone-num {
    font-size: 0.82rem;
  }

  .nav-actions .nav-phone::after {
    margin-left: 0.45rem;
    height: 1.3rem;
  }

  .btn-sm.nav-consult {
    padding: 0.62rem 0.9rem;
    font-size: 0.6rem;
  }
}

@media (min-width: 768px) and (max-width: 940px) {
  .nav-phone-num,
  .nav-phone-meta {
    display: none;
  }

  .nav-actions .nav-phone::after {
    margin-left: 0.15rem;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .nav-link,
  .nav-actions {
    animation: none !important;
  }

  .nav-consult::after {
    animation: none !important;
    opacity: 0;
  }
}

@media (max-width: 767px) {
  /* Заявка: контент выше, чтобы форма + телефон + адрес были в первом экране */
  #lead {
    scroll-margin-top: 0.25rem;
  }

  .lead-screen {
    min-height: 100svh;
    min-height: 100dvh;
    place-items: start center;
    align-content: start;
    padding:
      calc(4.35rem + env(safe-area-inset-top, 0px))
      1rem
      calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }

  .lead-title {
    margin-bottom: 0.5rem;
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
  }

  .lead-sub {
    margin: 0 auto 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .lead-form-hero {
    padding: 1.15rem 1.05rem 1rem;
  }

  .phone-field input {
    padding: 0.95rem 1rem;
    font-size: 1.2rem;
  }

  .lead-form-hero .consent {
    margin: 0.8rem 0 0.95rem;
    font-size: 0.72rem;
  }

  .lead-contacts-row {
    margin-top: 0.85rem;
    gap: 0.4rem;
  }

  .lead-contacts-row .contact-phone {
    font-size: 0.98rem;
    padding: 0.5rem 1rem;
  }

  .site-header {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    border-bottom: 0;
  }

  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(200, 149, 108, 0.25) 32%,
      rgba(232, 213, 192, 0.38) 50%,
      rgba(200, 149, 108, 0.25) 68%,
      transparent 100%
    );
    pointer-events: none;
  }

  .nav-burger {
    display: flex;
    margin-left: auto;
    border: 1px solid transparent;
    background:
      linear-gradient(rgba(14, 12, 10, 0.8), rgba(14, 12, 10, 0.8)) padding-box,
      linear-gradient(
        135deg,
        rgba(200, 149, 108, 0.55),
        rgba(200, 149, 108, 0.15) 45%,
        rgba(232, 213, 192, 0.45)
      ) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 248, 230, 0.06);
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(6, 5, 4, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

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

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 65;
    width: min(20rem, 86vw);
    height: 100dvh;
    height: 100vh;
    margin: 0;
    padding:
      calc(4.6rem + env(safe-area-inset-top, 0px))
      1.25rem
      calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background:
      linear-gradient(180deg, rgba(255, 248, 240, 0.05) 0%, transparent 30%),
      rgba(10, 9, 8, 0.96);
    border-left: 1px solid rgba(200, 149, 108, 0.22);
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.45);
    transform: translateX(104%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    padding: 0.95rem 0.35rem;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--cream);
    border-bottom: 1px solid rgba(250, 248, 243, 0.08);
    opacity: 0;
    transform: translateX(16px);
    transition:
      opacity 0.3s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.2s ease;
  }

  .nav.is-open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  .nav.is-open .nav-link:nth-child(1) { transition-delay: 0.1s, 0.1s, 0s; }
  .nav.is-open .nav-link:nth-child(2) { transition-delay: 0.16s, 0.16s, 0s; }
  .nav.is-open .nav-link:nth-child(3) { transition-delay: 0.22s, 0.22s, 0s; }
  .nav.is-open .nav-link:nth-child(4) { transition-delay: 0.28s, 0.28s, 0s; }

  .nav-link::after {
    display: none;
  }

  .nav-ico {
    width: 1.25rem;
    height: 1.25rem;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    color: var(--gold);
  }

  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin: 1.1rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 0;
    transform: translateX(16px);
    transition:
      opacity 0.35s ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav.is-open .nav-actions {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.34s;
  }

  .nav .nav-phone {
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    background:
      linear-gradient(rgba(14, 12, 10, 0.85), rgba(14, 12, 10, 0.85)) padding-box,
      linear-gradient(
        120deg,
        rgba(200, 149, 108, 0.55),
        rgba(200, 149, 108, 0.15) 45%,
        rgba(232, 213, 192, 0.45)
      ) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 248, 230, 0.05);
  }

  .nav .nav-phone-cta {
    display: inline-flex !important;
  }

  /* В бургере — один зелёный сигнал (у текста), бейдж на иконке скрываем */
  .nav .nav-online-badge {
    display: none !important;
  }

  .nav .nav-online-dot {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: #3DDC84;
    box-shadow:
      0 0 0 0 rgba(61, 220, 132, 0.55),
      0 0 8px rgba(61, 220, 132, 0.75);
    animation: nav-online-pulse-strong 1.6s ease-out infinite;
  }

  .nav .nav-consult {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    margin-top: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ecd9c2 0%, var(--gold) 48%, #a97c50 100%);
    color: #171310;
    box-shadow:
      inset 0 1px 0 rgba(255, 250, 240, 0.45),
      0 6px 20px rgba(200, 149, 108, 0.28);
    animation: nav-consult-glow 2.4s ease-in-out infinite;
  }

  .nav .nav-consult::before {
    content: "";
    width: 0.85rem;
    height: 0.85rem;
    margin-right: 0.45rem;
    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='black'%3E%3Cpath d='M13 2 4.5 13.5h6L10 22l9.5-13H13.5L13 2z'/%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='black'%3E%3Cpath d='M13 2 4.5 13.5h6L10 22l9.5-13H13.5L13 2z'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: nav-consult-zap 2.4s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(10, 10, 10, 0.35));
  }

  .nav .nav-consult::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
      110deg,
      transparent 35%,
      rgba(255, 248, 230, 0.65) 48%,
      rgba(255, 255, 255, 0.35) 52%,
      transparent 65%
    );
    transform: translateX(-130%);
    animation: nav-consult-strike 2.4s ease-in-out infinite;
    pointer-events: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    z-index: 70;
  }

  /* Splash на мобиле: Ю крупнее, подписи плотнее */
  .splash-mark {
    font-size: clamp(6rem, 30vw, 7.5rem);
  }

  .splash-brand {
    margin-top: 1rem;
    font-size: 1rem;
    letter-spacing: 0.22em;
  }

  .splash-sub {
    font-size: 0.6rem;
    letter-spacing: 0.26em;
  }
}

@keyframes nav-online-pulse-strong {
  0% {
    box-shadow:
      0 0 0 0 rgba(61, 220, 132, 0.6),
      0 0 8px rgba(61, 220, 132, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow:
      0 0 0 8px rgba(61, 220, 132, 0),
      0 0 10px rgba(61, 220, 132, 0.35);
    transform: scale(1.05);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(61, 220, 132, 0),
      0 0 8px rgba(61, 220, 132, 0.55);
    transform: scale(1);
  }
}

@keyframes nav-consult-glow {
  0%, 70%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 149, 108, 0), 0 8px 24px rgba(200, 149, 108, 0.18);
  }
  78% {
    box-shadow:
      0 0 0 3px rgba(232, 213, 192, 0.2),
      0 0 28px rgba(200, 149, 108, 0.55);
  }
  86% {
    box-shadow: 0 0 0 0 rgba(200, 149, 108, 0), 0 8px 24px rgba(200, 149, 108, 0.22);
  }
}

@keyframes nav-consult-zap {
  0%, 72%, 100% { transform: scale(1); opacity: 0.85; }
  78% { transform: scale(1.2); opacity: 1; }
  84% { transform: scale(0.95); opacity: 1; }
}

@keyframes nav-consult-strike {
  0%, 70% { transform: translateX(-130%); }
  85% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .nav .nav-online-dot,
  .nav .nav-consult,
  .nav .nav-consult::before,
  .nav .nav-consult::after {
    animation: none !important;
  }

  .nav-link,
  .nav-actions {
    opacity: 1 !important;
    transform: none !important;
    transition: color 0.2s ease !important;
  }
}

/* ── Blog ── */
.blog-page {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4rem;
}

.blog-hero {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.blog-hero h1 {
  margin: 0 0 0.85rem;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.blog-hero p {
  margin: 0;
  color: rgba(250, 248, 243, 0.62);
  line-height: 1.65;
  font-size: 1.05rem;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.blog-filter {
  appearance: none;
  border: 1px solid rgba(200, 149, 108, 0.3);
  background: rgba(10, 10, 10, 0.4);
  color: rgba(250, 248, 243, 0.7);
  font: inherit;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-filter:hover,
.blog-filter.is-active {
  background: rgba(200, 149, 108, 0.16);
  border-color: var(--gold);
  color: var(--cream);
}

.blog-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(200, 149, 108, 0.22);
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}

.blog-card:hover {
  border-color: rgba(200, 149, 108, 0.55);
  background: rgba(200, 149, 108, 0.08);
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.45);
}

.blog-card-tag {
  color: var(--gold);
  font-weight: 700;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cream);
}

.blog-card p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(250, 248, 243, 0.58);
}

.blog-card-more {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.blog-card[hidden] {
  display: none !important;
}

.blog-sources-note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(200, 149, 108, 0.2);
  background: rgba(10, 10, 10, 0.35);
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(250, 248, 243, 0.5);
}

.blog-sources-note strong {
  color: var(--gold-soft);
  font-weight: 600;
}

/* article */
.article-page {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4rem;
}

.article-wrap {
  width: min(720px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.article-back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(250, 248, 243, 0.55);
  transition: color 0.2s ease;
}

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.45);
}

.article-meta .tag {
  color: var(--gold);
  font-weight: 700;
}

.article-page h1 {
  margin: 0 0 1.25rem;
  font-weight: 300;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.article-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(250, 248, 243, 0.7);
}

.article-body h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.article-body p,
.article-body li {
  color: rgba(250, 248, 243, 0.72);
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-sources {
  margin-top: 2.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(200, 149, 108, 0.28);
  background: rgba(200, 149, 108, 0.06);
}

.article-sources h2 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.article-sources ul {
  margin: 0;
  padding-left: 1.1rem;
}

.article-sources li {
  margin-bottom: 0.4rem;
  color: rgba(250, 248, 243, 0.65);
  line-height: 1.5;
}

.article-cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.4rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(200, 149, 108, 0.35);
  background: rgba(10, 10, 10, 0.5);
  text-align: center;
}

.article-cta p {
  margin: 0 0 1rem;
  color: rgba(250, 248, 243, 0.65);
  line-height: 1.55;
}

/* homepage blog teaser */
.blog-teaser-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .blog-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-teaser-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

/* ── Service landing pages (/uslugi/) ── */
.service-page {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4rem;
}

.service-wrap {
  width: min(760px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.service-wrap > h1 {
  margin: 0 0 1rem;
  font-weight: 300;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
}

.service-lead {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(250, 248, 243, 0.7);
}

.svc-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: rgba(250, 248, 243, 0.45);
}

.svc-crumbs a {
  color: rgba(250, 248, 243, 0.55);
  transition: color 0.2s ease;
}

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

.svc-nap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(200, 149, 108, 0.28);
  background: rgba(10, 10, 10, 0.45);
  font-size: 0.95rem;
  color: rgba(250, 248, 243, 0.65);
}

.svc-block {
  margin-bottom: 2rem;
}

.svc-block h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.svc-block ul {
  margin: 0;
  padding-left: 1.2rem;
}

.svc-block li,
.svc-block p {
  color: rgba(250, 248, 243, 0.72);
  line-height: 1.7;
  margin: 0 0 0.45rem;
}

.svc-grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .svc-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.svc-faq {
  display: grid;
  gap: 0.65rem;
}

.svc-faq-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(200, 149, 108, 0.22);
  background: rgba(10, 10, 10, 0.4);
  padding: 0.85rem 1rem;
}

.svc-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--cream);
  list-style: none;
}

.svc-faq-item summary::-webkit-details-marker {
  display: none;
}

.svc-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 500;
}

.svc-faq-item[open] summary::after {
  content: "−";
}

.svc-faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(250, 248, 243, 0.65);
}

.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.svc-chip {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 149, 108, 0.35);
  background: rgba(200, 149, 108, 0.08);
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.svc-chip:hover {
  background: rgba(200, 149, 108, 0.18);
  border-color: var(--gold);
  color: var(--cream);
}

.svc-hub-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

@media (min-width: 720px) {
  .svc-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(200, 149, 108, 0.22);
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(10px);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  min-height: 100%;
}

.svc-card:hover {
  border-color: rgba(200, 149, 108, 0.55);
  background: rgba(200, 149, 108, 0.08);
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none;
}

.svc-card-eye {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.svc-card h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cream);
}

.svc-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(250, 248, 243, 0.58);
}

.svc-card-more {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.dive-blurb-more {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.dive-blurb-more[hidden] {
  display: none !important;
}

.dive-blurb-more:hover {
  color: var(--gold-soft);
}

.services-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.footer-grid a {
  color: rgba(250, 248, 243, 0.65);
}

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

.svc-related-inline {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: rgba(250, 248, 243, 0.6);
}
.svc-related-inline a {
  color: var(--gold);
  font-weight: 600;
}

/* Lead form honeypot — hidden from humans */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 0.75rem;
  font-size: 0.82rem;
}

.footer-legal-nav a {
  color: rgba(250, 248, 243, 0.55);
}

.rl-cookie {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 48rem;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(250, 248, 243, 0.14);
  background: rgba(10, 10, 10, 0.94);
  color: var(--cream);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.4);
}

.rl-cookie p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(250, 248, 243, 0.78);
}

.rl-cookie a {
  color: var(--gold);
  text-decoration: underline;
}

.rl-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.rl-cookie-btn {
  border: 1px solid rgba(250, 248, 243, 0.28);
  background: transparent;
  color: var(--cream);
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.rl-cookie-btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.rl-cookie-btn:hover {
  opacity: 0.9;
}
