/* ==========================================================================
   TONIROVKA.KG — Luxury redesign
   Палитра: тёмно-синий + серебро/хром
   Шрифты: Cormorant (display) + Manrope (текст)
   ========================================================================== */

:root {
  --navy-950: #070d16;
  --navy-900: #0b1626;
  --navy-850: #0f1d30;
  --navy-800: #142336;
  --navy-700: #1c3148;
  --navy-600: #27445f;

  --silver-100: #eef2f5;
  --silver-200: #dde4ea;
  --silver-300: #c7d2dc;
  --silver-500: #8fa3b8;
  --slate-400: #7c8ca0;
  --slate-600: #4c5d72;

  --chrome-grad: linear-gradient(
    115deg,
    #7e93a8 0%,
    #eef2f5 28%,
    #c7d2dc 52%,
    #f4f7f9 70%,
    #8398ad 100%
  );
  --glass-border: rgba(199, 210, 220, 0.18);

  --whatsapp: #3ccb6a;
  --telegram: #4fa3e3;

  --font-display: "Cormorant", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --container: 1200px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--silver-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--silver-100);
}

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-500);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--silver-500);
}

.section {
  padding: 88px 0;
  position: relative;
}
.section--tight {
  padding: 56px 0;
}

h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: 0.01em;
}
h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
}
h3 {
  font-size: 20px;
}

p {
  color: var(--slate-400);
  margin: 0 0 14px;
}
.lead {
  color: var(--silver-300);
  font-size: 18px;
  max-width: 620px;
}

:focus-visible {
  outline: 2px solid var(--silver-300);
  outline-offset: 3px;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
  white-space: nowrap;
}
.btn--chrome {
  background: var(--chrome-grad);
  color: var(--navy-950);
  font-weight: 700;
}
.btn--chrome:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(199, 210, 220, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--silver-200);
  border-color: rgba(199, 210, 220, 0.35);
}
.btn--ghost:hover {
  border-color: var(--silver-100);
  background: rgba(238, 242, 245, 0.05);
}

/* ===== Header ===== */
.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(199, 210, 220, 0.08);
  font-size: 13px;
  color: var(--slate-400);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topbar a {
  color: var(--silver-300);
}
.topbar a:hover {
  color: var(--silver-100);
}
.topbar__contacts {
  display: flex;
  gap: 22px;
}
.topbar__brands {
  display: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}
@media (min-width: 760px) {
  .topbar__brands {
    display: inline;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 13, 22, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 210, 220, 0.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  flex: 0 0 200px;
}
.brand img {
  height: 55px !important;
  width: auto;
}
.brand__name {
  font-size: 21px;
  letter-spacing: 0.04em;
  color: var(--silver-100);
  display: none;
}
.brand__name span {
  color: var(--silver-500);
  font-weight: 400;
}

.nav {
  display: none;
  align-items: center;
  gap: 30px;
}

.header__cta .btn--chrome {
  display: none;
}
@media (min-width: 1020px) {
  .nav {
    display: flex;
    padding: 0 20px;
  }
}
.nav > li {
  position: relative;
}
.nav > li > a {
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--silver-200);
  padding: 30px 2px;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition:
    color 0.25s,
    border-color 0.25s;
}
.nav > li > a:hover,
.nav > li.is-open > a {
  color: var(--silver-100);
  border-color: var(--silver-300);
}
.nav .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 290px;
  background: var(--navy-850);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.nav > li:hover .submenu,
.nav > li.is-open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav .submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 13.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--slate-400);
  border-radius: var(--radius-sm);
}
.nav .submenu a:hover {
  color: var(--silver-100);
  background: rgba(238, 242, 245, 0.05);
}

.header__cta {
  display: none;
  align-items: center;
  gap: 14px;
}
@media (min-width: 1020px) {
  .header__cta {
    display: flex;
  }
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
@media (min-width: 1020px) {
  .burger {
    display: none;
  }
}
.burger span {
  height: 1px;
  background: var(--silver-200);
  display: block;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--navy-950);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 55;
  overflow-y: auto;
  padding: 20px 24px 100px;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  color: var(--silver-200);
  border-bottom: 1px solid rgba(199, 210, 220, 0.08);
}
.mobile-nav .sub-label {
  color: var(--silver-500);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-top: 18px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: saturate(0.7) contrast(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(7, 13, 22, 0.55) 0%,
      rgba(7, 13, 22, 0.78) 55%,
      var(--navy-950) 100%
    ),
    linear-gradient(
      100deg,
      rgba(7, 13, 22, 0.95) 0%,
      rgba(7, 13, 22, 0.55) 45%,
      rgba(7, 13, 22, 0.2) 70%
    );
}
.hero__sweep {
  position: absolute;
  top: -20%;
  left: 60%;
  width: 45%;
  height: 140%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(199, 210, 220, 0.07) 45%,
    transparent 60%
  );
  transform: rotate(8deg);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 0 60px;
}
.hero h1 {
  margin: 18px 0 22px;
  max-width: 780px;
}
.hero h1 em {
  font-style: normal;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin-bottom: 34px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 54px;
}

.brandstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
}
.brandstrip span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-600);
  padding: 8px 0;
  border-top: 1px solid rgba(199, 210, 220, 0.14);
}
.brandstrip span:first-child {
  border-top: none;
  padding-top: 0;
  color: var(--silver-500);
}

/* ===== Услуги — карточки с эффектом "тонирования" ===== */
.services-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--navy-850);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.service-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.1s var(--ease);
}
.service-card__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 13, 22, 0.15) 0%,
    rgba(7, 13, 22, 0.55) 55%,
    rgba(7, 13, 22, 0.96) 100%
  );
  transition: background 0.55s var(--ease);
}
.service-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(199, 210, 220, 0.16) 48%,
    transparent 64%
  );
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.service-card__body {
  position: relative;
  z-index: 2;
  padding: 24px;
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--silver-500);
  letter-spacing: 0.1em;
}
.service-card h3 {
  margin: 8px 0 10px;
  font-size: 21px;
}
.service-card p {
  font-size: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s var(--ease),
    opacity 0.4s var(--ease);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-300);
}
.service-card:hover .service-card__img {
  transform: scale(1.06);
}
.service-card:hover .service-card__tint {
  background: linear-gradient(
    180deg,
    rgba(7, 13, 22, 0.55) 0%,
    rgba(7, 13, 22, 0.86) 45%,
    rgba(7, 13, 22, 0.98) 100%
  );
}
.service-card:hover .service-card__shine {
  transform: translateX(120%);
}
.service-card:hover p {
  max-height: 80px;
  opacity: 1;
  margin-top: 4px;
}
.service-card a.card-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* ===== Факты ===== */
.facts {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-border);
}
.fact {
  background: var(--navy-900);
  padding: 30px 26px;
}
.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--silver-100);
}
.fact span {
  font-size: 13px;
  color: var(--slate-400);
}

/* ===== Галерея ===== */
.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.gallery-strip img {
  border-radius: var(--radius-md);
  height: 175px;
  object-fit: cover;
  scroll-snap-align: start;
  border: 1px solid var(--glass-border);
}
.gallery-strip__note {
  font-size: 12.5px;
  color: var(--slate-600);
  margin-top: 10px;
}

/* ===== Контактная секция ===== */
.contact-panel {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-850);
}
@media (min-width: 860px) {
  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-panel__info {
  padding: 46px;
}
.contact-panel__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.3) invert(0.92) contrast(0.85);
}
.contact-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-row b {
  display: block;
  color: var(--silver-100);
  font-size: 15px;
}
.contact-row span {
  color: var(--slate-400);
  font-size: 14px;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(199, 210, 220, 0.08);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 50px;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-500);
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.footer li {
  margin-bottom: 10px;
}
.footer a {
  color: var(--slate-400);
  font-size: 14.5px;
}
.footer a:hover {
  color: var(--silver-100);
}
.footer-bottom {
  border-top: 1px solid rgba(199, 210, 220, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--slate-600);
}

/* ===== Плавающие кнопки контактов ===== */
.fab-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  padding-bottom: env(safe-area-inset-bottom);
}
.fab {
  display: flex;
  align-items: center;
  gap: 0;
  height: 52px;
  padding: 0;
  border-radius: 30px;
  background: var(--navy-850);
  border: 1px solid var(--glass-border);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.fab:hover {
  transform: translateY(-2px);
  border-color: var(--silver-500);
}
.fab__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.fab--whatsapp .fab__icon {
  background: rgba(60, 203, 106, 0.16);
  color: var(--whatsapp);
}
.fab--telegram .fab__icon {
  background: rgba(79, 163, 227, 0.16);
  color: var(--telegram);
}
.fab--phone .fab__icon {
  background: rgba(199, 210, 220, 0.14);
  color: var(--silver-200);
}
.fab__label {
  font-size: 13px;
  color: var(--silver-200);
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-width 0.35s var(--ease),
    opacity 0.25s var(--ease);
}
@media (min-width: 760px) {
  .fab:hover .fab__label {
    max-width: 140px;
    opacity: 1;
    padding-right: 16px;
  }
}

/* ===== Breadcrumbs ===== */
.crumbs {
  font-size: 13px;
  color: var(--slate-600);
  padding: 22px 0 0;
}
.crumbs a {
  color: var(--slate-400);
}
.crumbs a:hover {
  color: var(--silver-100);
}

/* ===== Страница услуги ===== */
.service-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 13, 22, 0.25) 0%,
    var(--navy-950) 96%
  );
}
.service-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 46px;
}

.prose {
  max-width: 760px;
}
.prose p {
  color: var(--silver-300);
  font-size: 16.5px;
}
.prose h2 {
  margin: 42px 0 16px;
}

.spec-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 30px 0 46px;
}
.spec-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--navy-850);
}
.spec-item b {
  display: block;
  color: var(--silver-100);
  font-size: 15px;
  margin-bottom: 4px;
}
.spec-item span {
  font-size: 13.5px;
  color: var(--slate-400);
}

.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-850), var(--navy-800));
  border: 1px solid var(--glass-border);
  padding: 44px;
  margin: 60px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cta-banner h3 {
  font-size: 24px;
  max-width: 420px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.related-list a {
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--silver-300);
}
.related-list a:hover {
  border-color: var(--silver-300);
  color: var(--silver-100);
}
