/* ============================================================
   RESET & TOKENS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FBF9F5;
  --bg-alt: #F4EFE7;
  --white: #FFFFFF;
  --ink: #1E1B18;
  --ink-soft: #4A453E;
  --muted: #8A827A;
  --line: #EDE6DB;
  --accent: #0E7C88;
  --accent-dark: #0A5D66;
  --warm: #E8C58B;
  --warm-soft: #F4E6CE;
  --warm-text: #8A6A3A;
  --purple: #7B6BB5;
  --shadow-sm: 0 2px 8px rgba(30,27,24,.05);
  --shadow-md: 0 12px 32px -12px rgba(30,27,24,.15);
  --shadow-lg: 0 30px 60px -20px rgba(30,27,24,.25);
  --radius: 24px;
  --radius-lg: 32px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.center { text-align: center; }

/* TYPOGRAPHY */
.h2 {
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--ink);
}
.h2-light { color: #FFF8EE; }
.lead { font-size: 16px; color: var(--muted); max-width: 620px; margin: 0 auto; line-height: 1.6; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--warm); }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 20px;
  border-bottom: 2px solid var(--warm);
  padding-bottom: 3px;
  transition: gap .25s ease;
}
.link-arrow:hover { gap: 14px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(14,124,136,.55);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(14,124,136,.65);
}

.btn-glass {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
}
.btn-glass:hover {
  background: rgba(255,255,255,.26);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-cream {
  background: var(--warm-soft);
  color: var(--ink);
  width: 100%;
}
.btn-cream:hover { background: var(--warm); transform: translateY(-2px); }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(251,249,245,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.navbar { padding: 16px 0; }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
  min-width: 0;
}
.logo img {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.logo-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-text small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .3px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .2s ease;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(0,0,0,.15);
  transition: right .35s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { right: 0; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 90px 26px 32px;
  min-height: 100%;
  width: 100%;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.mobile-nav-links a {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 11px 6px;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease, padding-left .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--accent);
  background: rgba(14,124,136,.06);
  padding-left: 12px;
}

.mobile-contact { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.mobile-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  transition: color .2s ease;
  padding: 4px 0;
  -webkit-tap-highlight-color: transparent;
}
.mobile-phone:hover { color: var(--accent); }
.mobile-phone svg { flex-shrink: 0; }

.mobile-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 28px -10px rgba(14,124,136,.55);
  transition: background .25s ease, transform .25s ease;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.mobile-contact-btn:hover,
.mobile-contact-btn:active { background: var(--accent-dark); }
.mobile-contact-btn svg { flex-shrink: 0; }

.mobile-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.mobile-info-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  align-items: flex-start;
}
.mobile-info-item svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.mobile-info-item .info-body { flex: 1; min-width: 0; }
.mobile-info-item strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mobile-info-item .info-value {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  word-wrap: break-word;
}
.mobile-info-item .info-value .schedule-line {
  display: block;
  white-space: nowrap;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 90px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15,13,11,.65) 0%, rgba(15,13,11,.4) 45%, rgba(15,13,11,.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  color: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: .4px;
}
.pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6EE7B7;
  box-shadow: 0 0 0 0 rgba(110,231,183,.75);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(110,231,183,0); }
  100% { box-shadow: 0 0 0 0 rgba(110,231,183,0); }
}
.hero-title {
  font-size: clamp(28px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-title .accent { color: var(--warm); }
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  max-width: 540px;
  opacity: .96;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-info { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  transition: background .25s ease, transform .25s ease;
  min-width: 0;
}
.hero-info-item:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.hero-info-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--warm); margin-top: 2px; }
.hero-info-text { min-width: 0; }
.hero-info-text strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--warm);
  margin-bottom: 5px;
  opacity: .95;
}
.hero-info-text span {
  font-size: 13px;
  color: rgba(255,255,255,.92);
  line-height: 1.55;
  display: block;
  word-wrap: break-word;
}
.hero-socials { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.hero-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background .25s ease, transform .25s ease, color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-social:hover { background: var(--warm); color: var(--ink); transform: translateY(-3px); }
.hero-social svg { flex-shrink: 0; }
.hero-social.call {
  background: rgba(232,197,139,.2);
  border-color: rgba(232,197,139,.5);
  color: var(--warm);
}
.hero-social.call:hover { background: var(--warm); color: var(--ink); }
.hero-notice {
  display: inline-block;
  font-size: 13px;
  color: var(--warm);
  background: rgba(232,197,139,.14);
  border: 1px solid rgba(232,197,139,.35);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 500;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 24px 22px;
  transition: transform .3s ease, background .3s ease;
}
.hero-stat:hover { transform: translateY(-5px); background: rgba(255,255,255,.18); }
.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--warm);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.hero-stat-label { font-size: 13px; line-height: 1.45; opacity: .9; }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.75);
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-align: center;
}
.scroll-line {
  width: 1px;
  height: 44px;
  margin: 12px auto 0;
  background: rgba(255,255,255,.35);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: var(--warm);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown { 0% { top: -14px; } 100% { top: 100%; } }

/* VALUES */
.values { background: var(--bg); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.value-icon { font-size: 36px; margin-bottom: 18px; display: inline-block; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ABOUT */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-quote {
  position: absolute;
  bottom: -26px;
  right: -20px;
  background: var(--ink);
  color: #FFF8EE;
  padding: 22px 26px;
  border-radius: 20px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.55;
  max-width: 290px;
  box-shadow: var(--shadow-md);
}
.about-text p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 18px; }

.notice {
  background: var(--warm-soft);
  color: var(--warm-text);
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 14px;
  border-left: 4px solid var(--warm);
  margin: 24px 0;
  font-weight: 500;
}
.notice-center {
  text-align: center;
  border-left: none;
  max-width: 780px;
  margin: 0 auto 44px;
}

/* SERVICES */
.services-home { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  cursor: pointer;
  min-height: 320px;
  isolation: isolate;
  border: 1px solid var(--line);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity .4s ease;
  border-radius: inherit;
}
.service-card[data-color="neuro"]::before { background: linear-gradient(135deg, #E8D5F5 0%, #F5E6CE 100%); }
.service-card[data-color="psych"]::before { background: linear-gradient(135deg, #D5E8F5 0%, #E8E1F5 100%); }
.service-card[data-color="logo"]::before { background: linear-gradient(135deg, #F5E6CE 0%, #F5D5D5 100%); }
.service-card[data-color="afk"]::before { background: linear-gradient(135deg, #D5F5E8 0%, #F0F5D5 100%); }
.service-card[data-color="massage"]::before { background: linear-gradient(135deg, #F5DDE8 0%, #F5E6CE 100%); }
.service-card[data-color="green"]::before { background: linear-gradient(135deg, #D5F5E8 0%, #E8F5D5 100%); }
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -25px rgba(30,27,24,.28);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 90px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  opacity: .045;
  letter-spacing: -.05em;
  transition: opacity .3s ease, transform .4s ease;
  pointer-events: none;
}
.service-card:hover .service-card-num { opacity: .09; transform: scale(1.1) rotate(-4deg); }
.service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: var(--warm-soft);
  border-radius: 22px;
  margin-bottom: 22px;
  transition: transform .4s ease, background .3s ease;
  flex-shrink: 0;
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); background: rgba(255,255,255,.7); }
.service-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; color: var(--ink); }
.service-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; flex: 1; margin-bottom: 22px; }
.service-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  padding: 10px 18px;
  background: rgba(255,255,255,.6);
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.service-card:hover .service-cta { background: var(--ink); color: #fff; transform: translateX(4px); }
.service-cta svg { width: 16px; height: 16px; transition: transform .3s ease; }
.service-card:hover .service-cta svg { transform: translateX(4px); }
.service-price-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--warm-text);
  background: var(--warm-soft);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .3s ease;
}
.service-card:hover .service-price-tag { background: rgba(255,255,255,.7); }

/* SERVICE DETAIL PAGE */
.service-detail-hero { background: var(--bg-alt); }
.service-detail-header {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 900px;
}
.service-detail-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  background: var(--warm-soft);
  border-radius: 28px;
  flex-shrink: 0;
}
.service-detail-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}
.service-article {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.service-article h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin: 32px 0 16px;
  letter-spacing: -.02em;
}
.service-article h2:first-child { margin-top: 0; }
.service-article h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
}
.service-article h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 10px;
}
.service-article p { margin-bottom: 16px; }
.service-article ul { margin: 0 0 20px 24px; }
.service-article li { margin-bottom: 10px; line-height: 1.65; }
.service-article strong { color: var(--ink); font-weight: 700; }
.service-price-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.service-price-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}
.service-price-table { display: flex; flex-direction: column; gap: 0; }
.service-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.service-price-row:last-child { border-bottom: none; padding-bottom: 0; }
.service-price-name {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
}
.service-price-duration {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.service-price-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

/* STEPS */
.steps { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.step-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .3s ease, background .3s ease;
}
.step-card:hover { transform: translateY(-8px); background: var(--warm-soft); }
.step-num { font-size: 48px; font-weight: 800; color: var(--warm); line-height: 1; margin-bottom: 20px; letter-spacing: -.03em; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* TEAM */
.team-home { background: var(--bg-alt); }
.team-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.team-filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.team-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.team-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(14,124,136,.5);
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 50px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  display: block;
  flex: 0 0 260px;
  width: 260px;
  max-width: 260px;
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 1 / 1.15; overflow: hidden; background: var(--warm-soft); }
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: center;
  transition: filter .6s ease;
}
.team-card:hover .team-photo img { filter: brightness(1.05); }
.team-info { padding: 22px 22px 26px; }
.team-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--accent); font-weight: 600; }

.team-skeleton {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  position: relative;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
  flex: 0 0 260px;
  width: 260px;
  max-width: 260px;
}
.team-skeleton::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
@keyframes skeleton-pulse {
  0%, 100% { background-color: var(--white); }
  50% { background-color: var(--bg-alt); }
}
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* NEWS */
.news { background: var(--white); }
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.news-filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.news-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.news-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(14,124,136,.5);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 44px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -25px rgba(30,27,24,.22);
  border-color: transparent;
}
.news-photo { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.news-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-photo img { transform: scale(1.06); }
.news-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(14,124,136,.92);
}
.news-tag[data-type="promo"] { background: rgba(232,168,124,.95); }
.news-tag[data-type="job"]   { background: rgba(123,107,181,.95); }
.news-tag[data-type="info"]  { background: rgba(14,124,136,.95); }
.news-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.news-date svg { width: 14px; height: 14px; opacity: .7; flex-shrink: 0; }
.news-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--ink);
  transition: color .25s ease;
}
.news-card:hover .news-title { color: var(--accent); }
.news-excerpt { font-size: 15px; color: var(--ink-soft); line-height: 1.6; flex: 1; margin-bottom: 20px; }
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  transition: gap .25s ease;
}
.news-card:hover .news-more { gap: 14px; }

/* NEWS SINGLE */
.news-single { max-width: 800px; margin: 0 auto; }
.news-single-header { text-align: center; margin-bottom: 40px; }
.news-single-header .news-tag { position: static; display: inline-block; margin-bottom: 20px; }
.news-single-header .h2 { margin-bottom: 20px; }
.news-single-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.news-single-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.news-single-photo img { width: 100%; height: auto; display: block; aspect-ratio: 16/10; object-fit: cover; }
.news-single-content { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 40px; }
.news-single-content p { margin-bottom: 18px; }
.news-single-content h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 32px 0 16px; letter-spacing: -.02em; }
.news-single-content h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 24px 0 12px; }
.news-single-content ul, .news-single-content ol { margin: 0 0 20px 24px; }
.news-single-content li { margin-bottom: 10px; line-height: 1.65; }
.news-single-content strong { color: var(--ink); font-weight: 700; }
.news-single-content a { color: var(--accent); text-decoration: underline; }
.news-single-content img { max-width: 100%; border-radius: var(--radius); margin: 20px 0; }
.news-single-footer {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

/* IMPORTANT PAGE (accordion) */
.important-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.important-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.important-card:hover { box-shadow: var(--shadow-md); }
.important-card.open { box-shadow: var(--shadow-md); border-color: transparent; }
.important-head {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  gap: 22px;
  align-items: center;
  padding: 28px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.important-head:hover { background: var(--bg-alt); }
.important-card.open .important-head { background: var(--bg-alt); }
.important-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: var(--warm-soft);
  border-radius: 20px;
  flex-shrink: 0;
  transition: transform .35s ease, background .25s ease;
}
.important-card.open .important-icon { background: var(--accent); transform: rotate(-6deg) scale(1.05); }
.important-head-text { min-width: 0; }
.important-title { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 6px; letter-spacing: -.02em; line-height: 1.25; }
.important-subtitle { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0; }
.important-arrow { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; transition: transform .3s ease; }
.important-card.open .important-arrow { transform: rotate(180deg); }
.important-body { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2,.7,.2,1); }
.important-card.open .important-body { max-height: 5000px; }
.important-body-inner { padding: 0 32px 32px 32px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.important-body-inner p { margin-bottom: 14px; }
.important-body-inner h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.important-body-inner h4:first-child { margin-top: 0; }
.important-body-inner ul { list-style: none; padding: 0; margin: 0 0 12px 0; }
.important-body-inner li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.important-body-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.important-body-inner strong { color: var(--ink); font-weight: 700; }
.important-note {
  background: var(--warm-soft);
  color: var(--warm-text);
  padding: 16px 20px;
  border-radius: 14px;
  border-left: 4px solid var(--warm);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px !important;
  font-weight: 500;
}

/* VIDEO GALLERY */
.video-gallery { background: var(--bg-alt); }
.video-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.video-card {
  position: relative;
  flex: 0 0 340px;
  width: 340px;
  max-width: 340px;
  border-radius: var(--radius);
  aspect-ratio: 9/14;
  object-fit: cover;
  background: #000;
  box-shadow: var(--shadow-md);
  transition: transform .35s ease, box-shadow .35s ease;
  outline: none;
}
.video-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.video-card.playing { box-shadow: 0 30px 60px -20px rgba(14,124,136,.5); }

/* PHOTO GALLERY */
.gallery { background: var(--bg-alt); padding-bottom: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s ease; }
.gallery-grid img:hover { transform: scale(1.04); }

/* REVIEWS */
.reviews-home { background: var(--white); }
.reviews-widget-wrap {
  display: flex;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 20px;
}

/* FORM */
.form-section { background: linear-gradient(135deg, #1E1B18 0%, #2A2621 100%); color: #FFF8EE; }
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.form-text p { color: #C9BFB0; font-size: 16px; line-height: 1.65; margin-bottom: 20px; }
.form-notice {
  background: rgba(232,197,139,.12);
  color: var(--warm);
  border-left: 3px solid var(--warm);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
}
.form { display: flex; flex-direction: column; gap: 14px; }
.form input, .form textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  color: #FFF8EE;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.form input::placeholder, .form textarea::placeholder { color: #8B8275; }
.form input:focus, .form textarea:focus { border-color: var(--warm); background: rgba(255,255,255,.1); }
.form-policy { font-size: 12px; color: #8B8275; text-align: center; line-height: 1.5; }

/* ============================================================
   CONTACT SECTION (кнопки в стиле .btn)
   ============================================================ */
.contact-simple {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-simple .h2 { margin-bottom: 16px; }

.contact-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #C9BFB0;
  margin: 0 auto 32px;
  max-width: 580px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: nowrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  min-width: 200px;
}

.contact-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(14,124,136,.55);
}
.contact-btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(14,124,136,.65);
}

.contact-btn--cream {
  background: var(--warm-soft);
  color: var(--ink);
}
.contact-btn--cream:hover {
  background: var(--warm);
  transform: translateY(-2px);
}

.contact-notice {
  display: inline-block;
  margin: 0;
}

/* FOOTER */
.site-footer { background: var(--ink); color: #C9BFB0; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #FFF8EE;
  margin-bottom: 16px;
}
.footer-logo img { width: 44px; height: 44px; border-radius: 10px; }
.site-footer h4 { color: #FFF8EE; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.site-footer p { font-size: 14px; line-height: 1.85; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--warm); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.social-links a:hover { background: var(--warm); color: var(--ink); transform: translateY(-3px); }
.social-links svg { width: 18px; height: 18px; }
.footer-notice {
  padding: 18px 24px;
  background: rgba(232,197,139,.1);
  color: var(--warm);
  border-radius: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-copy {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 13px;
  color: #8B8275;
  line-height: 1.6;
}

/* ============================================================
   FOOTER DOCUMENTS
   ============================================================ */
.footer-docs {
  padding: 30px 0 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
}
.footer-docs-title {
  color: #FFF8EE;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: .7;
  text-align: center;
}
.footer-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
}
.footer-docs-grid a {
  color: #8B8275;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}
.footer-docs-grid a::before {
  content: '📄';
  font-size: 13px;
  opacity: .6;
  transition: opacity .2s ease;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-docs-grid a:hover { color: var(--warm); }
.footer-docs-grid a:hover::before { opacity: 1; }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   SPECIALIST PAGE
   ============================================================ */
.spec-hero { background: var(--bg-alt); }
.spec-hero-grid { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: flex-start; }
.spec-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1.15;
  background: var(--warm-soft);
}
.spec-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: center;
}
.spec-info { padding-top: 20px; }
.spec-role { font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.spec-bio { font-size: 17px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 24px; max-width: 560px; }
.spec-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.spec-content { max-width: 860px; margin: 0 auto; }
.spec-block { margin-bottom: 40px; }
.spec-block-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--warm);
  letter-spacing: -.02em;
}
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.spec-extra { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* ============================================================
   404 PAGE — с юмором, всё по центру
   ============================================================ */
.error-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
}
.error-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,124,136,.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.error-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.error-code {
  font-size: clamp(110px, 20vw, 200px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 24px;
  animation: errorFadeIn .9s cubic-bezier(.2,.7,.2,1);
  text-align: center;
}
@keyframes errorFadeIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}
.error-content .h2 {
  margin-bottom: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.error-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
}
.error-joke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--warm-soft);
  color: var(--warm-text);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 36px;
  text-align: center;
}
.error-joke-icon {
  font-size: 18px;
  display: inline-block;
  animation: errorSearch 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes errorSearch {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}
.error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  width: 100%;
}
.error-links {
  padding-top: 40px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.error-links-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 22px;
  text-align: center;
}
.error-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
.error-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  text-decoration: none;
  text-align: left;
  min-width: 0;
  overflow: hidden;
}
.error-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  color: var(--accent);
}
.error-link-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.error-link span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

/* RESPONSIVE — TABLETS (<= 1024px) */
@media (max-width: 1024px) {
  .hide-mobile { display: none !important; }
  .burger { display: flex; }
  .main-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-scroll-hint { display: none; }
  .hero-sub { font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-quote { right: 20px; bottom: -22px; padding: 18px 22px; font-size: 13px; max-width: 250px; }
  .service-card { min-height: 280px; padding: 30px 26px 26px; }
  .service-card h3 { font-size: 19px; }
  .service-card-num { font-size: 72px; }
  .service-detail-content { grid-template-columns: 1fr; gap: 32px; }
  .service-price-block { position: static; }
  .spec-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .spec-photo-wrap { max-width: 400px; margin: 0 auto; }
  .spec-info { padding-top: 0; text-align: center; }
  .spec-bio { margin: 0 auto 24px; }
  .spec-actions { justify-content: center; }
  .form-wrap { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 76px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* RESPONSIVE — PHONES (<= 640px) */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .navbar { padding: 12px 0; }
  .navbar-inner { gap: 12px; }
  .logo { gap: 8px; }
  .logo img { width: 38px; height: 38px; border-radius: 9px; }
  .logo-text { max-width: calc(100vw - 180px); }
  .logo-text strong { font-size: 15px; }
  .logo-text small { font-size: 9.5px; letter-spacing: .2px; }
  .hero { padding: 100px 0 55px; }
  .hero-title { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
  .hero-sub { font-size: 15px; margin-bottom: 22px; }
  .hero-badge { font-size: 11px; padding: 7px 14px; margin-bottom: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 18px; }
  .hero-actions .btn { width: 100%; padding: 15px 22px; font-size: 15px; }
  .hero-info { flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .hero-info-item { padding: 12px 14px; border-radius: 12px; width: 100%; gap: 10px; }
  .hero-info-text strong { font-size: 10px; margin-bottom: 4px; }
  .hero-info-text span { font-size: 12.5px; line-height: 1.5; }
  .hero-socials { gap: 6px; margin-bottom: 18px; flex-wrap: nowrap; justify-content: space-between; width: 100%; }
  .hero-social {
    padding: 9px 10px;
    font-size: 11.5px;
    gap: 5px;
    flex: 1;
    min-width: 0;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-social svg { width: 14px; height: 14px; flex-shrink: 0; }
  .hero-social-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-notice { font-size: 12px; padding: 9px 14px; line-height: 1.4; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stat { padding: 16px 14px; border-radius: 14px; }
  .hero-stat-num { font-size: 24px; margin-bottom: 5px; }
  .hero-stat-label { font-size: 11px; line-height: 1.35; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card { padding: 24px 20px; }
  .value-icon { font-size: 30px; margin-bottom: 12px; }
  .value-card h3 { font-size: 16px; }
  .value-card p { font-size: 14px; }
  .about-grid { gap: 46px; }
  .about-quote { right: 12px; bottom: -16px; padding: 12px 16px; font-size: 11.5px; max-width: 210px; border-radius: 14px; }
  .about-text p { font-size: 15px; }
  .notice { padding: 13px 15px; font-size: 13px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { min-height: auto; padding: 26px 22px 22px; border-radius: 24px; }
  .service-card:hover { transform: translateY(-6px); }
  .service-card-num { font-size: 60px; top: 14px; right: 18px; }
  .service-icon { width: 58px; height: 58px; font-size: 26px; border-radius: 16px; margin-bottom: 16px; }
  .service-card h3 { font-size: 19px; }
  .service-card p { font-size: 14px; margin-bottom: 18px; }
  .service-card-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .service-cta { width: 100%; justify-content: center; padding: 12px 18px; }
  .service-price-tag { align-self: flex-start; }
  .service-detail-header { flex-direction: column; gap: 20px; }
  .service-detail-icon { width: 72px; height: 72px; font-size: 34px; border-radius: 20px; }
  .service-article h2 { font-size: 22px; }
  .service-article h3 { font-size: 17px; }
  .service-article h4 { font-size: 15px; }
  .service-price-block { padding: 20px; }
  .service-price-value { font-size: 15px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-card { padding: 24px 20px; }
  .step-num { font-size: 36px; margin-bottom: 12px; }
  .step-card h3 { font-size: 16px; }
  .step-card p { font-size: 13px; }
  .team-filters, .news-filters { gap: 6px; margin-bottom: 28px; }
  .team-filter-btn, .news-filter-btn { padding: 8px 14px; font-size: 13px; }
  .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
  }
  .team-card {
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
  .team-photo { aspect-ratio: 1 / 1.1; }
  .team-info { padding: 14px 14px 18px; }
  .team-name { font-size: 14px; }
  .team-role { font-size: 12px; }
  .team-skeleton {
    height: 300px;
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
  .news-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .news-body { padding: 22px 20px 24px; }
  .news-title { font-size: 17px; }
  .news-excerpt { font-size: 14px; }
  .news-tag { top: 12px; left: 12px; padding: 6px 12px; font-size: 10px; }
  .news-single-content { font-size: 15px; }
  .news-single-content h2 { font-size: 20px; }
  .news-single-content h3 { font-size: 17px; }
  .news-single-footer { flex-direction: column-reverse; }
  .news-single-footer .btn { width: 100%; }
  .news-single-photo { border-radius: var(--radius); margin-bottom: 28px; }
  .important-head { grid-template-columns: 52px 1fr 20px; gap: 14px; padding: 20px 18px; }
  .important-icon { width: 52px; height: 52px; font-size: 24px; border-radius: 14px; }
  .important-title { font-size: 16px; }
  .important-subtitle { font-size: 13px; }
  .important-arrow { width: 20px; height: 20px; }
  .important-body-inner { padding: 0 18px 22px 18px; font-size: 14px; }
  .important-body-inner h4 { font-size: 15px; margin: 20px 0 10px; }
  .important-note { padding: 13px 15px; font-size: 13px; }
  .video-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-card {
    flex: 0 0 75%;
    min-width: 75%;
    max-width: 75%;
    width: 75%;
    aspect-ratio: 9/16;
    scroll-snap-align: start;
    border-radius: 20px;
  }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { aspect-ratio: 1/1; }
  .reviews-widget-wrap { border-radius: 14px; }
  .form-wrap { gap: 36px; }
  .form-text h2 { font-size: 26px; }
  .form-text p { font-size: 15px; }
  .form input, .form textarea { padding: 14px 16px; font-size: 16px; }
  .form-notice { padding: 12px 16px; font-size: 13px; }

  .contact-lead { font-size: 15px; margin-bottom: 24px; }
  .contact-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: nowrap;
  }
  .contact-btn {
    width: 100%;
    min-width: 0;
    padding: 14px 24px;
    font-size: 15px;
  }
  .contact-notice { font-size: 12px; padding: 9px 14px; }

  .site-footer { padding: 50px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-logo { font-size: 18px; }
  .footer-logo img { width: 40px; height: 40px; }
  .site-footer h4 { margin-bottom: 12px; font-size: 14px; }
  .site-footer p { font-size: 13px; line-height: 1.7; }
  .social-links a { flex: 1; min-width: 100px; }
  .footer-notice { padding: 14px 18px; font-size: 13px; }
  .footer-copy { font-size: 12px; }

  .footer-docs { padding: 24px 0 16px; }
  .footer-docs-title { font-size: 11px; margin-bottom: 14px; }
  .footer-docs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
    max-width: 100%;
  }
  .footer-docs-grid a { font-size: 12px; line-height: 1.4; }

  .btn { padding: 14px 24px; font-size: 15px; }
  .btn-lg { padding: 16px 28px; font-size: 15px; }
  .spec-block-title { font-size: 18px; }
  .spec-list li { font-size: 14px; padding-left: 22px; }
  .spec-extra { font-size: 14px; }
  .spec-hero { padding: 40px 0; }

  /* 404 mobile */
  .error-hero { padding: 120px 0 40px; min-height: auto; }
  .error-code { font-size: 120px; margin-bottom: 18px; }
  .error-content .h2 { font-size: 22px; margin-bottom: 14px; }
  .error-lead { font-size: 15px; margin-bottom: 22px; }
  .error-joke { font-size: 13px; padding: 10px 16px; margin-bottom: 28px; }
  .error-actions { flex-direction: column; gap: 12px; margin-bottom: 40px; }
  .error-actions .contact-btn { width: 100%; min-width: 0; max-width: 100%; padding: 14px 24px; font-size: 15px; }
  .error-links-grid { grid-template-columns: 1fr 1fr; gap: 10px; max-width: 100%; }
  .error-link { padding: 12px 14px; font-size: 13px; gap: 8px; min-width: 0; overflow: hidden; }
  .error-link span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
  .error-link-icon { font-size: 18px; flex-shrink: 0; }
  .error-links-title { margin-bottom: 16px; font-size: 13px; }
}

/* RESPONSIVE — УЗКИЕ ЭКРАНЫ (<= 480px) */
@media (max-width: 480px) {
  .hero-social { padding: 10px 0; flex: 1; min-width: 0; justify-content: center; font-size: 0; gap: 0; }
  .hero-social-text { display: none; }
  .hero-social svg { width: 18px; height: 18px; }
  .hero-socials { gap: 5px; }
}

/* RESPONSIVE — SMALL PHONES (<= 400px) */
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 24px; }
  .hero-stat-num { font-size: 22px; }
  .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .team-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 320px;
  }
  .team-skeleton {
    flex: 0 0 100%;
    width: 100%;
    max-width: 320px;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .h2 { font-size: 23px; }
  .logo img { width: 34px; height: 34px; }
  .logo-text { max-width: calc(100vw - 150px); }
  .logo-text strong { font-size: 14px; }
  .logo-text small { font-size: 9px; }
  .mobile-menu-inner { padding: 84px 22px 26px; }
  .mobile-nav-links a { font-size: 16px; padding: 10px 6px; }
  .mobile-phone { font-size: 17px; }
  .mobile-info-item .info-value { font-size: 13px; }
}
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--ink);
  color: #FFF8EE;
  padding: 18px 24px;
  box-shadow: 0 -8px 32px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  font-size: 14px;
  line-height: 1.55;
  color: #C9BFB0;
  flex: 1;
  min-width: 260px;
}
.cookie-banner-text a {
  color: var(--warm);
  text-decoration: underline;
  transition: opacity .2s ease;
}
.cookie-banner-text a:hover { opacity: .8; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cookie-btn--accept {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(14,124,136,.5);
}
.cookie-btn--accept:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.cookie-btn--decline {
  background: rgba(255,255,255,.1);
  color: #FFF8EE;
  border: 1px solid rgba(255,255,255,.2);
}
.cookie-btn--decline:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .cookie-banner { padding: 16px 18px; }
  .cookie-banner-inner { flex-direction: column; gap: 14px; text-align: center; }
  .cookie-banner-text { font-size: 13px; min-width: 0; }
  .cookie-banner-actions { width: 100%; gap: 8px; }
  .cookie-btn { flex: 1; padding: 12px 16px; font-size: 13px; }
}