/* =================================================================
   ГИДРОСТОК — МИНИМАЛИСТИЧНЫЙ ЭСТЕТИЧНЫЙ ДИЗАЙН
   Палитра: Белый (#ffffff), Синий (#0066eb, #00a8ff), Тёмно-синий/Чёрный (#071326, #030812)
   ================================================================= */

:root {
  --c-white: #ffffff;
  --c-blue: #0066eb;
  --c-blue-hover: #0052bd;
  --c-blue-light: #edf5ff;
  --c-blue-glow: rgba(0, 102, 235, 0.22);
  --c-cyan: #00a8ff;

  --c-navy-darkest: #030812;
  --c-navy-dark: #071326;
  --c-navy-surface: #0c1e3d;
  --c-navy-border: rgba(255, 255, 255, 0.1);

  --c-text-main: #071326;
  --c-text-muted: #52637a;
  --c-text-light: #8b9bb4;
  --c-text-on-dark: #e2e8f0;

  --c-bg-light: #f8fafd;
  --c-bg-alt: #f1f5f9;
  --c-border: rgba(7, 19, 38, 0.08);

  --c-wa: #25d366;
  --c-tg: #229ed9;
  --c-gold: #f59e0b;
  --c-success: #10b981;
  --c-danger: #ef4444;

  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(7, 19, 38, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(7, 19, 38, 0.08);
  --shadow-lg: 0 20px 48px -12px rgba(7, 19, 38, 0.14);
  --shadow-glow: 0 8px 28px rgba(0, 102, 235, 0.32);
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-base);
  color: var(--c-text-main);
  background-color: var(--c-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--c-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--c-cyan);
}

img, svg {
  vertical-align: middle;
}

/* Контейнеры */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 720px;
}

/* =================================================================
   ВЕРХНЯЯ ПОЛОСА И ШАПКА (HEADER)
   ================================================================= */
.top-notice {
  background: var(--c-navy-darkest);
  color: #8b9bb4;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-notice-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.emergency-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--c-white);
  font-weight: 600;
}

.emergency-pill::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--c-cyan);
  box-shadow: 0 0 10px var(--c-cyan);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 8, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.45));
}

.logo span {
  color: var(--c-white);
}

.logo b {
  color: var(--c-cyan);
  font-weight: 800;
}

/* Навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--c-cyan);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--c-white);
}

.nav a:hover::after {
  width: 100%;
}

/* Правый блок шапки */
.header-r {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Переключатель языка */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  padding: 2px;
}

.lang-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--c-blue);
  color: var(--c-white);
}

.lang-btn:hover:not(.active) {
  color: var(--c-white);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.header-phone svg {
  color: var(--c-cyan);
}

.header-phone:hover {
  background: rgba(0, 168, 255, 0.14);
  border-color: rgba(0, 168, 255, 0.4);
  color: var(--c-white);
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--c-white);
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* =================================================================
   КНОПКИ
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--c-blue), #0080ff);
  color: var(--c-white);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  background: linear-gradient(135deg, #0058cc, #006fe6);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 102, 235, 0.42);
  color: var(--c-white);
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-white);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--c-cyan);
  box-shadow: 0 0 20px rgba(0, 168, 255, 0.25);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 102, 235, 0.2);
}

.btn-block {
  width: 100%;
  border-radius: var(--radius-md);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* =================================================================
   ПЕРВЫЙ ЭКРАН (HERO) — ЧИСТАЯ ЭСТЕТИКА И СИММЕТРИЯ
   ================================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 102, 235, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(0, 168, 255, 0.14) 0%, transparent 45%),
    linear-gradient(180deg, var(--c-navy-darkest) 0%, var(--c-navy-dark) 100%);
  color: var(--c-white);
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 35%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, black 20%, transparent 75%);
  pointer-events: none;
}

.hero-box {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 255, 0.12);
  border: 1px solid rgba(0, 168, 255, 0.28);
  color: var(--c-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  margin-top: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 55%, var(--c-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
}

.stat-card {
  flex: 1 1 200px;
  max-width: 270px;
  min-width: 170px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 168, 255, 0.35);
  transform: translateY(-3px);
}

.stat-num {
  display: block;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: #8b9bb4;
  font-weight: 500;
}

/* =================================================================
   СЕКЦИИ И ТИПОГРАФИКА
   ================================================================= */
.section {
  padding: 88px 0;
  position: relative;
}

.section-alt {
  background-color: var(--c-bg-light);
}

.section-dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 102, 235, 0.18), transparent 65%),
    var(--c-navy-darkest);
  color: var(--c-white);
}

.section-darkest {
  background: var(--c-navy-darkest);
  color: var(--c-white);
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  background: var(--c-blue-light);
  color: var(--c-blue);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-dark .section-tag {
  background: rgba(0, 168, 255, 0.12);
  color: var(--c-cyan);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 800;
  color: var(--c-navy-dark);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.section-dark h2, .section-darkest h2 {
  color: var(--c-white);
}

.section-desc {
  font-size: 1.02rem;
  color: var(--c-text-muted);
  max-width: 520px;
  line-height: 1.55;
}

.section-head.center .section-desc {
  margin: 0 auto;
}

.section-dark .section-desc {
  color: #8b9bb4;
}

/* =================================================================
   УСЛУГИ И ЦЕНЫ — КАРТОЧКИ С ЧИСТОЙ ИЕРАРХИЕЙ
   ================================================================= */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
  flex: 1 1 320px;
  max-width: 380px;
  min-width: min(100%, 280px);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 235, 0.25);
}

.service-top {
  margin-bottom: 16px;
}

.service-badge {
  display: inline-block;
  background: var(--c-blue-light);
  color: var(--c-blue);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-badge-float {
  position: absolute;
  top: 12px;
  left: 12px;
  margin-bottom: 0;
  background: rgba(3, 8, 18, 0.78);
  color: var(--c-cyan);
  border: 1px solid rgba(0, 168, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.service-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  margin-top: auto;
  gap: 10px;
}

.service-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-navy-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* =================================================================
   ОБСЛУЖИВАЕМЫЕ ОБЪЕКТЫ (КАТЕГОРИИ КЛИЕНТОВ) — CUSTOM ICONS
   ================================================================= */
.section-objects {
  padding: 42px 0 24px;
  background: var(--c-white);
}

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

.object-card {
  background: #edf5ff;
  border: 1px solid rgba(0, 102, 235, 0.08);
  border-radius: 22px;
  padding: 34px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  box-shadow: 0 4px 18px rgba(0, 70, 180, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

.object-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 102, 235, 0.12);
  border-color: rgba(0, 102, 235, 0.25);
}

.object-icon {
  width: 56px;
  height: 56px;
  color: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.object-card:hover .object-icon {
  transform: scale(1.08);
}

.object-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.object-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #071326;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* =================================================================
   ПРЕИМУЩЕСТВА (ПОЧЕМУ МЫ) — КРУПНЫЕ ИКОНКИ С ТЕКСТОМ ВНИЗУ
   ================================================================= */
#why.section {
  padding: 68px 0;
}

#why .section-head {
  margin-bottom: 36px;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.why-card {
  flex: 1 1 170px;
  max-width: 200px;
  min-width: 155px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 235, 0.28);
}

.why-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--c-blue-light), #dcebff);
  color: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.55rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  transform: scale(1.06);
}

.why-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.why-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.why-card p {
  color: var(--c-text-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  margin-top: 4px;
}

/* =================================================================
   ТЕХНОЛОГИЯ (BENTO-СЕТКА ВМЕСТО СТЕНЫ ТЕКСТА)
   ================================================================= */
.article-wrapper {
  max-width: 980px;
  margin: 0 auto;
}

.article-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.article-item {
  flex: 1 1 380px;
  max-width: 550px;
  min-width: min(100%, 300px);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.article-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 235, 0.22);
}

.article-item h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--c-blue);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.article-item p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.55;
  margin: 0;
}

.article-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.article-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.article-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--c-blue);
  font-weight: 800;
}

.article-callout {
  background: var(--c-navy-dark);
  color: var(--c-white);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid rgba(0, 168, 255, 0.25);
}

.article-callout h4 {
  font-size: 0.95rem;
  color: var(--c-cyan);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.article-callout p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
  min-width: 240px;
}

/* =================================================================
   ФОРМА ЗАЯВКИ
   ================================================================= */
.request-box {
  background: rgba(12, 30, 61, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: var(--c-white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.request-box .section-head {
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.form-full {
  grid-column: 1 / -1;
}

.input-field {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.input-field::placeholder {
  color: #64748b;
}

.input-field:focus {
  outline: none;
  border-color: var(--c-cyan);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.18);
}

select.input-field {
  cursor: pointer;
}

select.input-field option {
  background: var(--c-navy-dark);
  color: var(--c-white);
}

textarea.input-field {
  resize: vertical;
  min-height: 80px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.form-privacy {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 12px;
  text-align: center;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

.form-status.show {
  display: block;
}

.form-status.ok {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-status.err {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* =================================================================
   ОТЗЫВЫ
   ================================================================= */
.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
}

.review-card {
  flex: 1 1 300px;
  max-width: 380px;
  min-width: min(100%, 280px);
  background: var(--c-bg-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  background: var(--c-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 235, 0.22);
}

.review-stars {
  color: var(--c-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--c-text-main);
  line-height: 1.55;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  border-top: 1px solid var(--c-border);
  padding-top: 12px;
}

.author-name {
  font-weight: 700;
  color: var(--c-navy-dark);
}

.author-date {
  color: var(--c-text-light);
}

/* Форма нового отзыва */
.add-review-box {
  background: var(--c-bg-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}

.add-review-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  margin-bottom: 16px;
  text-align: center;
}

.star-rating-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.star-rating-picker span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text-muted);
}

.stars-interactive {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.stars-interactive input {
  display: none;
}

.stars-interactive label {
  font-size: 1.6rem;
  color: #cbd5e1;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.stars-interactive input:checked ~ label,
.stars-interactive label:hover,
.stars-interactive label:hover ~ label {
  color: var(--c-gold);
  transform: scale(1.08);
}

.light-form .input-field {
  background: var(--c-white);
  border-color: var(--c-border);
  color: var(--c-text-main);
  margin-bottom: 12px;
}

.light-form .input-field:focus {
  background: var(--c-white);
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 235, 0.12);
}

/* =================================================================
   КОНТАКТЫ
   ================================================================= */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 235, 0.22);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-blue-light);
  color: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-info h3 {
  font-size: 0.75rem;
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-info p, .contact-info a {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--c-navy-dark);
}

.contact-info a:hover {
  color: var(--c-blue);
}

/* Блок мессенджеров в контактах */
.messenger-box {
  background: var(--c-navy-dark);
  color: var(--c-white);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.messenger-text h3 {
  font-size: 1.15rem;
  color: var(--c-white);
  margin-bottom: 4px;
}

.messenger-text p {
  color: #8b9bb4;
  font-size: 0.9rem;
}

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

.btn-tg, .btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  color: var(--c-white);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.btn-tg {
  background: var(--c-tg);
}

.btn-tg:hover {
  background: #1d8bc0;
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--c-wa);
}

.btn-wa:hover {
  background: #20ba5a;
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-tg svg, .btn-wa svg {
  width: 20px;
  height: 20px;
}

/* =================================================================
   ПЛАВАЮЩИЕ ИКОНКИ (FAB)
   ================================================================= */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  box-shadow: 0 8px 24px rgba(3, 8, 18, 0.28);
  transition: var(--transition);
  position: relative;
}

.fab:hover {
  transform: scale(1.08);
  color: var(--c-white);
}

.fab svg {
  width: 26px;
  height: 26px;
}

.fab-wa {
  background-color: var(--c-wa);
}

.fab-tg {
  background-color: var(--c-tg);
}

.fab::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 64px;
  background: var(--c-navy-darkest);
  color: var(--c-white);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: var(--transition);
}

.fab:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* =================================================================
   ПОДВАЛ (FOOTER)
   ================================================================= */
.footer {
  background: var(--c-navy-darkest);
  color: #64748b;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

.footer-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-admin-link {
  color: #64748b;
  font-size: 0.8rem;
  margin-left: 14px;
}

.footer-admin-link:hover {
  color: var(--c-cyan);
}

.footer-top-link {
  color: #94a3b8;
  font-weight: 600;
}

/* =================================================================
   ИЗОБРАЖЕНИЯ УСЛУГ И ФОТО К ОТЗЫВАМ
   ================================================================= */
.service-card.has-image {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.service-card.has-image .service-top,
.service-card.has-image .service-bottom {
  padding-left: 22px;
  padding-right: 22px;
}

.service-card.has-image .service-bottom {
  padding-bottom: 22px;
}

.service-img-wrap {
  width: 100%;
  height: 165px;
  overflow: hidden;
  background: var(--c-navy-dark);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 16px;
  position: relative;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.review-photo-wrap {
  margin: 10px 0 14px;
}

.review-photo-link {
  display: inline-block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--c-border);
  text-decoration: none;
  transition: var(--transition);
}

.review-photo-link:hover {
  transform: translateY(-2px);
  border-color: var(--c-blue);
}

.review-photo-thumb {
  display: block;
  width: 110px;
  height: 76px;
  object-fit: cover;
}

.photo-zoom-badge {
  display: block;
  background: rgba(7, 19, 38, 0.88);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 6px;
  text-align: center;
  font-weight: 600;
}

.file-upload-wrap {
  margin-bottom: 14px;
  padding: 10px 14px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.file-upload-wrap label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-text-muted);
  cursor: pointer;
}

.file-upload-wrap input[type="file"] {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  max-width: 100%;
}

/* =================================================================
   АДАПТИВНОСТЬ (MOBILE-RESPONSIVE)
   ================================================================= */
@media (max-width: 1180px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 0.86rem;
  }

  .header-r {
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .hero-stats {
    gap: 12px;
  }

  .stat-card {
    flex: 1 1 calc(50% - 6px);
    max-width: 340px;
  }

  .objects-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .services-grid {
    gap: 16px;
  }

  .service-card {
    flex: 1 1 calc(50% - 10px);
    max-width: 440px;
  }

  .header-phone {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--c-navy-darkest);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav.open {
    max-height: 400px;
  }

  .nav a {
    padding: 15px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
  }

  .nav a::after {
    display: none;
  }

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

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .top-notice-in {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
  }

  .stat-card {
    flex: 1 1 calc(50% - 5px);
    max-width: calc(50% - 5px);
    min-width: 0;
    padding: 16px 12px;
  }

  .stat-num {
    font-size: 1.55rem;
  }

  .why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .why-card {
    flex: 1 1 calc(50% - 5px);
    max-width: calc(50% - 5px);
    min-width: 0;
    padding: 20px 10px 16px;
    gap: 10px;
  }

  .section-objects {
    padding: 20px 0 10px;
  }

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

  .object-card {
    padding: 12px 3px 10px;
    border-radius: 14px;
    gap: 7px;
    min-height: 98px;
  }

  .object-icon {
    width: 28px;
    height: 28px;
  }

  .object-title {
    font-size: 0.65rem;
    line-height: 1.18;
    letter-spacing: -0.015em;
    word-break: break-word;
    hyphens: auto;
  }

  .why-icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
    border-radius: 16px;
  }

  .services-grid,
  .article-grid,
  .reviews-grid,
  .contacts-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .service-card,
  .article-item,
  .review-card,
  .contact-card {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 20px;
  }

  .request-box {
    padding: 28px 20px;
  }

  .add-review-box {
    padding: 24px 18px;
  }

  .messenger-box {
    padding: 22px 18px;
    text-align: center;
    justify-content: center;
  }

  .messenger-btns {
    width: 100%;
    justify-content: center;
  }

  .messenger-btns .btn-tg,
  .messenger-btns .btn-wa {
    flex: 1;
    justify-content: center;
    min-width: 135px;
  }

  .fab {
    width: 48px;
    height: 48px;
  }

  .fab svg {
    width: 24px;
    height: 24px;
  }

  .fab-container {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .fab::before {
    display: none;
  }

  .footer-in {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .logo {
    font-size: 1.25rem;
    gap: 8px;
  }

  .logo svg {
    width: 26px;
    height: 26px;
  }

  .service-card.has-image .service-top,
  .service-card.has-image .service-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-card.has-image .service-bottom {
    padding-bottom: 18px;
  }
}

@media (max-width: 360px) {
  .objects-grid {
    gap: 4px;
  }

  .object-card {
    padding: 10px 2px 8px;
    border-radius: 10px;
    gap: 5px;
    min-height: 90px;
  }

  .object-icon {
    width: 24px;
    height: 24px;
  }

  .object-title {
    font-size: 0.58rem;
    line-height: 1.15;
  }
}

