@import url('kvadrat.css');

:root {
  --color-bg: #f7f9fc;
  --color-bg-dark: #0f2347;
  --color-surface: #ffffff;
  --color-text: #0c1829;
  --color-text-muted: #5c6578;
  --color-accent: #122648;
  --color-accent-hover: #0a1628;
  --color-accent-soft: rgba(18, 38, 72, 0.07);
  --color-teal: #1a3d6b;
  --color-teal-light: #2d6a9f;
  --color-teal-soft: rgba(18, 38, 72, 0.05);
  --color-border: rgba(15, 35, 71, 0.1);
  --color-glass: rgba(255, 255, 255, 0.88);
  --gradient-hero: linear-gradient(152deg, #0a1628 0%, #122648 48%, #1a3d6b 100%);
  --gradient-accent: linear-gradient(135deg, #0a1628 0%, #1a3d6b 100%);
  --shadow-sm: 0 1px 3px rgba(15, 35, 71, 0.05), 0 4px 12px rgba(15, 35, 71, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 35, 71, 0.07), 0 12px 32px rgba(15, 35, 71, 0.06);
  --shadow-lg: 0 8px 24px rgba(15, 35, 71, 0.08), 0 24px 48px rgba(15, 35, 71, 0.06);
  --shadow-glow: 0 20px 50px rgba(15, 35, 71, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-width: 1180px;
  --header-height: 76px;
  --btn-height-lg: 3.25rem;
  --scroll-anchor-offset: calc(var(--header-height) + 1rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

#zayavka {
  scroll-margin-top: var(--scroll-anchor-offset);
}

#zayavka-bottom {
  scroll-margin-top: var(--scroll-anchor-offset);
}

#zayavka [data-form-scroll-target],
#zayavka-title,
#zayavka .home-section-head h2,
#zayavka-bottom .conversion-lead-head h2,
#zayavka > .container > h2,
.contacts-form-panel h2 {
  scroll-margin-top: var(--scroll-anchor-offset);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bg-dark);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--color-bg-dark);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--color-teal); }

.nav-desktop a.header-form-link:hover {
  color: #ffffff;
  background: var(--color-accent-hover);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--color-teal);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--color-teal-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--color-border);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile a.active {
  color: var(--color-teal);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-dark {
  background: var(--gradient-hero);
  color: white;
}

.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(38, 90, 143, 0.18), transparent),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: heroFadeIn 0.9s ease-out both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  position: relative;
  animation: heroFadeIn 0.9s ease-out 0.15s both;
}

.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: 380px;
  transition: transform 0.1s linear;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero-photo:hover img {
  transform: scale(1.06);
}

.hero-photo--main {
  grid-row: 1 / 3;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero-photo--secondary {
  animation: floatY 5s ease-in-out infinite;
}

.hero-photo--tertiary {
  animation: floatY 5s ease-in-out 1.2s infinite;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-stats-float {
  position: absolute;
  bottom: -1.25rem;
  left: -1rem;
  right: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  z-index: 2;
}

.hero-stats-float .stat-card {
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.82);
  padding: 1rem 0.75rem;
  animation: heroFadeIn 0.8s ease-out 0.4s both;
}

.hero-stats-float .stat-card strong {
  font-size: 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  opacity: 0.88;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

.page-hero .hero-actions {
  margin-top: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.stat-card span {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-teal));
  color: white;
  overflow: hidden;
}

.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.88), rgba(18, 38, 72, 0.75)),
    url('../img/hero-main.jpg') center / cover no-repeat;
  z-index: 0;
}

.page-hero--photo .container {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a:hover { opacity: 1; text-decoration: underline; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 40rem;
}

/* Blog article hero with cover image */
.page-hero--blog {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-teal) 50%, var(--color-teal-light) 100%);
}

.page-hero-blog-inner {
  display: grid;
  grid-template-columns: 1fr min(42%, 420px);
  gap: 2.5rem;
  align-items: center;
}

.page-hero-blog-cover {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero-blog-cover img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.page-hero--blog:hover .page-hero-blog-cover img {
  transform: scale(1.03);
}

.page-hero--blog .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .page-hero-blog-inner {
    grid-template-columns: 1fr;
  }

  .page-hero-blog-cover {
    order: -1;
  }

  .page-hero-blog-cover img {
    height: 220px;
  }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s, background 0.2s, border-color 0.2s;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple 0.55s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to { transform: scale(2.5); opacity: 0; }
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(15, 35, 71, 0.2);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(15, 35, 71, 0.28);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px) scale(1.02);
}

.btn-outline:active {
  transform: scale(0.98);
}

.btn-dark {
  background: var(--color-teal);
  color: white;
  border-color: var(--color-teal);
}

.btn-dark:hover {
  background: var(--color-teal-light);
  border-color: var(--color-teal-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.85rem;
  background: var(--color-teal-soft);
  color: var(--color-teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.section-header--light .section-eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
}

.section--alt {
  background: var(--color-surface);
}

.section--tight {
  padding-top: 0;
  padding-bottom: 3rem;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card--visual {
  padding: 0;
  overflow: hidden;
}

.card--visual .card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card--visual:hover .card-image img {
  transform: scale(1.08);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
  pointer-events: none;
}

.card-image .card-icon {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  margin: 0;
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card-link {
  font-weight: 600;
  color: var(--color-teal);
  font-size: 0.9rem;
}

.card-link:hover { text-decoration: underline; }

/* Service page content */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  padding: 3.5rem 0 4.5rem;
  align-items: start;
}

.content-main h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
}

.content-main h2:first-child { margin-top: 0; }

.content-main p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.content-main ul, .content-main ol {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--color-text-muted);
}

.content-main li { margin-bottom: 0.5rem; }

.content-main li strong { color: var(--color-text); }

.content-layout--single {
  grid-template-columns: 1fr;
  max-width: 48rem;
}

.sidebar-card {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.sidebar-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.sidebar-card .btn { width: 100%; }

.sidebar-contacts {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.sidebar-contacts a {
  display: block;
  color: var(--color-teal);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-teal), var(--color-bg-dark));
  color: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
}

/* Blog article CTA — more prominent */
.article-content .cta-banner.cta-banner--promo {
  position: relative;
  margin-top: 3.5rem;
  margin-bottom: 0.5rem;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(145deg, var(--color-teal) 0%, var(--color-bg-dark) 52%, var(--color-accent-hover) 100%);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(15, 35, 71, 0.22);
  overflow: hidden;
}

.article-content .cta-banner.cta-banner--promo::before {
  content: '';
  position: absolute;
  top: -45%;
  right: -8%;
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.article-content .cta-banner.cta-banner--promo > * {
  position: relative;
  z-index: 1;
}

.cta-banner-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.article-content .cta-banner.cta-banner--promo h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.article-content .cta-banner.cta-banner--promo > p:not(.cta-banner-note) {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.55;
  opacity: 1;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.article-content .cta-banner.cta-banner--promo .cta-banner-actions {
  margin-top: 0.25rem;
}

.article-content .cta-banner.cta-banner--promo .cta-banner-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.35rem !important;
  padding: 0.55rem 1.15rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.95rem !important;
  font-weight: 600;
  opacity: 1 !important;
  color: rgba(255, 255, 255, 0.98);
  max-width: none;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: stretch;
}

.cta-banner-note {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
  opacity: 0.75 !important;
}

/* Call-to-action: phone-first conversion */
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--color-bg-dark);
  color: #ffffff !important;
  border: 2px solid var(--color-bg-dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 35, 71, 0.25);
  animation: callGlow 2.8s ease-in-out infinite;
}

.btn-call::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.35);
  animation: callRing 2.8s ease-out infinite;
  pointer-events: none;
}

.btn-call--sticky::before,
.conversion-fab::before {
  display: none;
}

.conversion-fab.btn-call {
  animation: fab-pulse 2.5s ease-in-out infinite;
}

@keyframes callGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(15, 35, 71, 0.25); }
  50% { box-shadow: 0 6px 28px rgba(38, 90, 143, 0.35); }
}

@keyframes callRing {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.12); opacity: 0; }
}

.btn-call:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(15, 35, 71, 0.32);
  animation: none;
}

.btn-call:hover::before {
  animation: none;
  opacity: 0;
}

.btn-call:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-call--lg,
.btn-submit-lead,
.hero-actions .btn,
.home-cta-actions .btn,
.conversion-strip-actions .btn,
.cta-banner-actions .btn,
.home-exit-actions .btn {
  min-height: var(--btn-height-lg);
  padding-block: 0;
  padding-inline: 1.85rem;
  font-size: 1rem;
  line-height: 1.3;
}

.btn-label-short {
  display: none;
}

.btn-call--sticky {
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  flex: 1;
}

.btn-call--sidebar {
  margin-bottom: 1rem;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.hero-trust {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.icon-phone {
  flex-shrink: 0;
}

.header-cta .icon-phone {
  width: 18px;
  height: 18px;
}

.header-cta-text {
  display: inline;
}

.header-form-link {
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}

.header-form-link:hover {
  background: var(--color-accent-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.sidebar-phone-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.05rem !important;
  margin-top: 0.75rem !important;
}

/* Sticky bottom call bar (mobile) */
.conversion-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: white;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.conversion-bar--visible {
  transform: translateY(0);
}

.conversion-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.conversion-bar-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.conversion-bar-text strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.conversion-bar-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.conversion-bar-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-sticky-form {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
  white-space: nowrap;
}

.btn-sticky-form:hover {
  border-color: var(--color-accent-hover);
  background: var(--color-accent-hover);
  color: #ffffff;
}

body.has-conversion-bar {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
}

/* Desktop floating call button */
.conversion-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 850;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
}

.conversion-fab .conversion-fab-label {
  font-weight: 700;
}

.header-phone-link {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--color-call, #1a1a1a);
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}

.header-phone-link:hover {
  color: #fff;
  opacity: 0.92;
}

.header-phone-text {
  display: none;
}

.header-form-link {
  display: none;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  white-space: nowrap;
}

.header-form-link:hover {
  background: var(--color-accent);
  color: #fff;
}

.form-trust-line {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
}

.form-section--pulse {
  animation: form-pulse 1.2s ease;
}

@keyframes form-pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 92, 38, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(196, 92, 38, 0); }
  100% { box-shadow: none; }
}

.conversion-float-cta {
  position: fixed;
  right: 1rem;
  bottom: calc(5rem + env(safe-area-inset-bottom, 0));
  z-index: 880;
  max-width: min(320px, calc(100vw - 2rem));
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.conversion-float-cta[hidden] {
  display: none;
}

.conversion-float-title {
  margin: 0 1.5rem 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.conversion-float-actions {
  display: flex;
  gap: 0.5rem;
}

.conversion-float-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
}

.conversion-float-dismiss {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}

.page-service .card-quick-cta {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.page-service .card-quick-call,
.page-service .card-quick-form {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.page-service .card-quick-call {
  background: var(--color-call, #1a1a1a);
  color: #fff;
  text-decoration: none;
}

.page-service .card-quick-form {
  background: var(--color-accent);
  color: #fff;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 4px 22px rgba(0, 0, 0, 0.55); }
}

/* Pre-footer conversion strip */
.conversion-strip {
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-teal));
  color: white;
  padding: 3rem 0;
}

.conversion-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.conversion-strip-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.conversion-strip-content p {
  opacity: 0.9;
  max-width: 28rem;
}

.conversion-strip-meta {
  margin-top: 0.65rem !important;
  font-size: 0.85rem !important;
  opacity: 0.75 !important;
}

.conversion-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: stretch;
}

.conversion-strip--mid {
  margin: 0;
}

/* Expanded pre-footer lead section */
.conversion-lead-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(42, 95, 95, 0.08), transparent 55%),
    var(--color-bg);
}

.conversion-lead-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.conversion-lead-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.75rem;
  color: var(--color-bg-dark);
}

.conversion-lead-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.conversion-lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.conversion-lead-panel-label,
.conversion-lead-form-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin: 0 0 1rem;
}

.conversion-lead-panel-intro .home-form-benefits {
  margin-bottom: 1.5rem;
}

.conversion-lead-panel-form .home-form-card {
  padding: 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.form-section--expanded {
  padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
}

.form-section--expanded .home-form-panel {
  margin-bottom: 0;
}

#zayavka.form-section--inview .home-form-panel,
#zayavka.form-section--inview .conversion-lead-panel,
#zayavka-bottom.form-section--inview .conversion-lead-panel,
.conversion-lead-section.form-section--inview .conversion-lead-panel {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(42, 95, 95, 0.12);
}

.form-section--pulse .home-form-panel,
.form-section--pulse .conversion-lead-panel {
  animation: form-pulse 1.2s ease;
}

@keyframes form-pulse {
  0%, 100% { box-shadow: var(--shadow-md); }
  50% { box-shadow: 0 0 0 4px rgba(42, 95, 95, 0.18), var(--shadow-lg); }
}

/* Homepage hero — unified conversion panel */
.hero-conversion-panel {
  margin-top: 1.75rem;
  padding: 1.35rem 1.35rem 1.15rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.hero-conversion-head {
  margin-bottom: 1rem;
}

.home-intent-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.35rem;
}

.hero-conversion-hint {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.home-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.home-intent-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 5.25rem;
  padding: 0.75rem 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: white;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.home-intent-btn:hover,
.home-intent-btn.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.home-intent-emoji {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.home-intent-text {
  display: block;
  max-width: 9.5rem;
}

.hero-conversion-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-conversion-contact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  min-width: 0;
}

.hero-conversion-contact-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.home-messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.home-messenger-links a {
  padding: 0.38rem 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.home-messenger-links a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: min(100%, 16rem);
}

.hero-trust-list li {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
}

.hero-trust-list li:not(:last-child)::after {
  content: '·';
  margin: 0 0.45rem;
  opacity: 0.45;
}

/* Legacy aliases */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-trust-pill {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.92;
}

.home-intent {
  margin-top: 2rem;
}

.home-intent-panel {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.home-messenger-bar {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-messenger-label {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-bottom: 0.55rem;
}

.home-cta-wrap {
  padding: 0 0 3.5rem;
}

.home-cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--gradient-accent);
  color: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
}

.home-cta-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.home-cta-card--soft {
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-teal) 55%, var(--color-teal-light) 100%);
}

.home-cta-card > * {
  position: relative;
  z-index: 1;
}

.home-cta-band-text {
  flex: 1;
  min-width: min(100%, 280px);
}

.home-cta-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.32rem 0.8rem;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.home-cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.home-cta-card p {
  opacity: 0.92;
  max-width: 34rem;
  line-height: 1.6;
}

.home-cta-meta {
  margin-top: 0.75rem !important;
  font-size: 0.86rem !important;
  font-weight: 600;
  opacity: 0.82 !important;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.home-cta-actions .btn-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.home-cta-actions .btn-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.home-form-section {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(18, 38, 72, 0.06), transparent),
    var(--color-bg);
}

.home-form-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.home-form-intro .form-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin-bottom: 0.75rem;
}

.home-form-intro .form-section-lead {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.home-form-benefits {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
}

.home-form-benefits li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2rem;
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 0.94rem;
  border-bottom: 1px solid var(--color-border);
}

.home-form-benefits li:last-child {
  border-bottom: none;
}

.home-form-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l2.5 2.5L10 3' stroke='%232a5f5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.65rem no-repeat;
}

.home-form-call {
  margin-bottom: 1.35rem;
  width: 100%;
}

.home-form-card .lead-form {
  border: none;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.home-form-card {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.card-quick-cta {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
}

.card-quick-call,
.card-quick-form {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.card-quick-call {
  background: var(--color-bg-dark);
  color: white !important;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-quick-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.card-quick-form {
  background: var(--color-surface);
  color: var(--color-teal);
  border: 1px solid var(--color-border);
}

.card-quick-form:hover {
  background: var(--color-teal-soft);
  border-color: rgba(0, 0, 0, 0.25);
}

.page-home .feature-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.page-home .gallery-strip {
  margin-top: 2.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-home .conversion-strip {
  background: transparent;
  padding: 0 0 4rem;
  color: inherit;
}

.page-home .conversion-strip-inner {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: var(--shadow-lg);
}

.page-home .conversion-strip--mid {
  padding-bottom: 0;
  margin-bottom: -1rem;
}

.page-home .conversion-strip-meta {
  opacity: 0.82 !important;
}

.page-home .btn-call:not(.conversion-fab) {
  position: relative;
  animation: none;
}

.page-home .btn-call:not(.conversion-fab)::before {
  display: none;
}

.page-home .hero-actions .btn-call,
.page-home .home-form-call,
.page-home .home-cta-card .btn-call {
  animation: callGlow 3s ease-in-out infinite;
}

.page-home .hero-actions .btn-call::before,
.page-home .home-form-call::before,
.page-home .home-cta-card .btn-call::before {
  display: block;
}

/* Homepage hero — one viewport on desktop (Full HD) */
@media (min-width: 901px) {
  .page-home .hero {
    min-height: calc(100svh - var(--header-height));
    padding: clamp(1rem, 2.2vh, 2rem) 0 clamp(0.85rem, 1.6vh, 1.5rem);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: clip;
  }

  .page-home .hero > .container.hero-inner {
    align-items: center;
    gap: clamp(1.35rem, 2.5vw, 2.25rem);
  }

  .page-home .hero-badge {
    margin-bottom: clamp(0.5rem, 1vh, 0.85rem);
    font-size: 0.74rem;
    padding: 0.28rem 0.72rem;
  }

  .page-home .hero h1 {
    font-size: clamp(1.7rem, 1.6vw + 0.85rem, 2.55rem);
    margin-bottom: clamp(0.6rem, 1.1vh, 0.95rem);
    line-height: 1.12;
  }

  .page-home .hero-lead {
    font-size: clamp(0.9rem, 0.35vw + 0.72rem, 1.05rem);
    margin-bottom: clamp(0.75rem, 1.4vh, 1.2rem);
    line-height: 1.48;
    max-width: 30rem;
  }

  .page-home .hero-actions {
    gap: 0.65rem;
  }

  .page-home .hero-actions .btn-call--lg,
  .page-home .hero-actions .btn-outline {
    min-height: clamp(2.75rem, 5.5vh, var(--btn-height-lg));
    font-size: clamp(0.88rem, 0.25vw + 0.78rem, 0.98rem);
  }

  .page-home .hero-conversion-panel {
    margin-top: clamp(0.65rem, 1.3vh, 1.1rem);
    padding: clamp(0.7rem, 1.3vh, 1.05rem) clamp(0.8rem, 1.2vw, 1.15rem);
  }

  .page-home .hero-conversion-head {
    margin-bottom: clamp(0.45rem, 0.9vh, 0.75rem);
  }

  .page-home .hero-conversion-hint {
    font-size: clamp(0.74rem, 0.3vw + 0.62rem, 0.84rem);
    line-height: 1.35;
  }

  .page-home .home-intent-grid {
    gap: clamp(0.35rem, 0.75vh, 0.5rem);
  }

  .page-home .home-intent-btn {
    min-height: clamp(3.35rem, 7.8vh, 4.5rem);
    padding: clamp(0.4rem, 0.9vh, 0.6rem) 0.4rem;
    font-size: clamp(0.67rem, 0.28vw + 0.54rem, 0.75rem);
    gap: clamp(0.22rem, 0.5vh, 0.38rem);
  }

  .page-home .home-intent-emoji {
    width: clamp(1.7rem, 3.2vh, 2rem);
    height: clamp(1.7rem, 3.2vh, 2rem);
    font-size: clamp(0.82rem, 1.6vh, 0.98rem);
  }

  .page-home .hero-conversion-footer {
    margin-top: clamp(0.5rem, 1vh, 0.75rem);
    padding-top: clamp(0.5rem, 0.9vh, 0.7rem);
  }

  .page-home .hero-trust-list li {
    font-size: 0.68rem;
  }

  .page-home .home-messenger-links a {
    padding: 0.32rem 0.65rem;
    font-size: 0.72rem;
  }

  .page-home .hero-visual {
    padding-bottom: 0.25rem;
  }

  .page-home .hero-gallery {
    min-height: 0;
    height: clamp(260px, 40vh, 380px);
  }

  .page-home .hero-stats-float {
    bottom: 0.35rem;
    left: 0;
    right: 0;
    gap: 0.5rem;
  }

  .page-home .hero-stats-float .stat-card {
    padding: 0.65rem 0.5rem;
  }

  .page-home .hero-stats-float .stat-card strong {
    font-size: 1.2rem;
  }

  .page-home .hero-stats-float .stat-card span {
    font-size: 0.68rem;
  }
}

@media (min-width: 901px) and (max-height: 940px) {
  .page-home .hero-conversion-hint {
    display: none;
  }

  .page-home .hero h1 {
    font-size: clamp(1.55rem, 1.4vw + 0.75rem, 2.2rem);
  }

  .page-home .hero-lead {
    margin-bottom: 0.7rem;
  }

  .page-home .home-intent-btn {
    min-height: 3.15rem;
  }

  .page-home .hero-gallery {
    height: clamp(240px, 36vh, 320px);
  }

  .page-home .hero-conversion-footer {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
  }
}

.page-home .reviews-summary-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.page-home .review-card {
  border-radius: var(--radius-lg);
}

.home-scroll-nudge {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(5rem + env(safe-area-inset-bottom, 0));
  z-index: 880;
  max-width: 480px;
  margin: 0 auto;
  animation: nudgeIn 0.45s ease-out;
}

@keyframes nudgeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-scroll-nudge-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--color-glass);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.home-scroll-nudge-inner p {
  flex: 1;
  min-width: 180px;
  font-size: 0.88rem;
  margin: 0;
  color: var(--color-text);
}

.home-scroll-nudge-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.home-scroll-nudge-dismiss {
  width: 2rem;
  height: 2rem;
  border: none;
  background: var(--color-bg);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background 0.2s;
}

.home-scroll-nudge-dismiss:hover {
  background: var(--color-border);
}

.home-exit-modal[hidden] {
  display: none;
}

.home-exit-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.home-exit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.home-exit-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 2.25rem 2rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: nudgeIn 0.35s ease-out;
}

.home-exit-dialog h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0.75rem 0 0.5rem;
}

.home-exit-dialog p {
  color: var(--color-text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.home-exit-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-exit-note {
  margin-top: 1rem !important;
  font-size: 0.85rem !important;
  color: var(--color-text-muted);
}

.home-exit-close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: var(--color-bg);
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background 0.2s;
}

.home-exit-close:hover {
  background: var(--color-border);
}

body.home-modal-open {
  overflow: hidden;
}

.conversion-bar--home {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.conversion-bar--home .conversion-bar-text strong {
  font-size: 0.88rem;
  color: var(--color-text);
}

.conversion-bar--home .conversion-bar-text span {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

/* Legacy aliases */
.home-cta-band { padding: 0; background: none; color: inherit; }
.home-cta-band-inner { display: contents; }
.home-cta-band--reviews { background: none; }

.form-alt a[data-cta="form-call"] {
  font-weight: 700;
  color: var(--color-teal);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-teal));
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.07);
}

.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.blog-card-image .blog-emoji {
  position: absolute;
  bottom: 0.75rem;
  right: 0.85rem;
  z-index: 1;
  font-size: 1.75rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.blog-card-body { padding: 1.5rem; }

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.blog-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-teal);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.35rem;
}

/* Article */
.article-content {
  max-width: 720px;
  padding: 3rem 0 4.5rem;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.15rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-content ul, .article-content ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--color-text-muted);
}

.article-content li { margin-bottom: 0.5rem; }

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-text);
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.article-figure {
  margin: 2rem 0 2.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
}

.article-figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.article-figure:hover img {
  transform: scale(1.02);
}

.article-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.hero-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-tags .blog-tag {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.article-checklist {
  margin: 0 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
}

.article-checklist li {
  margin-bottom: 0.65rem;
  line-height: 1.6;
}

.article-checklist li::marker {
  color: var(--color-teal);
}

.article-faq {
  margin: 1.5rem 0 2rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--color-surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

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

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

.faq-item p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.article-keywords {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.article-keywords-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-right: 0.25rem;
}

.blog-tag--sm {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
}

.article-sources {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}

.article-sources h2 {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
}

.article-sources-note {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.article-sources-list {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

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

.article-sources-list a:hover {
  color: var(--color-text-muted);
}

.article-sources-publisher {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* Features row */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform 0.3s, background 0.3s;
}

.feature-item:hover {
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.04);
}

.feature-item .icon {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.feature-item:hover .icon {
  transform: scale(1.15) rotate(-4deg);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { color: white; margin-bottom: 1rem; }

.site-footer .logo-mark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: white;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: #fff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-legal-link {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  opacity: 0.85;
}

.footer-legal-link:hover {
  opacity: 1;
}

.footer-dev {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
  padding-top: 0.15rem;
}

.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.22s, border-color 0.22s, background 0.22s, transform 0.22s, box-shadow 0.22s;
}

.dev-credit:hover {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.dev-credit-label {
  white-space: nowrap;
}

.dev-credit-logo {
  display: block;
  height: 13px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.22s;
}

.dev-credit:hover .dev-credit-logo {
  opacity: 1;
}

/* Contact section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-item .icon { font-size: 1.25rem; }

.contact-item strong { display: block; margin-bottom: 0.15rem; }

.contact-item span, .contact-item a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-item a { color: var(--color-teal); font-weight: 600; }

/* Lead form */
.lead-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.lead-form--compact { padding: 1.5rem; }

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-group .req { color: var(--color-text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.form-group textarea { resize: vertical; min-height: 9rem; }

.lead-form--compact .form-group textarea {
  min-height: 7.5rem;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

.btn-full { width: 100%; }

.form-alt {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

.form-alt a {
  color: var(--color-teal);
  font-weight: 600;
}

.form-alt a:hover { text-decoration: underline; }

.form-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-message--success {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.form-message--error {
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-text);
  border: 2px solid var(--color-bg-dark);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-teal);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.social-link:hover { background: rgba(0, 0, 0, 0.15); }

.form-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-section-lead {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

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

.blog-filter-btn {
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: white;
}

.sidebar-card .lead-form {
  border: none;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.sidebar-card .lead-form .form-alt { display: none; }

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }

body.is-loaded .hero-content,
body.is-loaded .hero-visual {
  animation-play-state: running;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-strip-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 140px;
  box-shadow: var(--shadow-sm);
}

.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-strip-item:hover img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *,
  .hero-content, .hero-visual, .hero-photo--main,
  .hero-photo--secondary, .hero-photo--tertiary,
  .btn-call, .conversion-fab {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.contact-form-wrap {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-form-wrap .section-eyebrow {
  margin-bottom: 0.65rem;
}

.contact-form-wrap .form-section-title {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.contact-form-wrap .form-section-lead {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.contact-form-wrap .home-form-card {
  padding: 0;
  border: none;
  background: transparent;
}

/* Reviews (2GIS) */
.reviews-summary-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.reviews-summary-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 8rem;
}

.reviews-summary-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-teal);
}

.reviews-summary-stars {
  color: var(--color-accent);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin: 0.35rem 0 0.5rem;
}

.reviews-summary-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.reviews-summary-brand p {
  color: var(--color-text-muted);
  margin: 0.75rem 0 1.25rem;
  max-width: 34rem;
}

.reviews-2gis-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--color-bg-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

.reviews-2gis-link {
  display: inline-flex;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: start;
}

.review-avatar,
.review-reply-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal);
  background: rgba(0, 0, 0, 0.1);
}

.review-author {
  display: block;
  font-size: 0.98rem;
}

.review-meta,
.review-reply-label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

.review-rating {
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.review-text {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.review-reply {
  margin-top: auto;
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--color-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.review-reply-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.review-reply p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .content-layout,
  .footer-grid,
  .contact-grid,
  .features-row,
  .gallery-strip,
  .reviews-summary-card { grid-template-columns: 1fr; }

  .reviews-summary-score {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .hero-gallery {
    min-height: 280px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-photo--main {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    min-height: 200px;
  }

  .hero-stats-float {
    position: static;
    margin-top: 1.25rem;
    grid-template-columns: 1fr;
  }

  .hero-stats { grid-template-columns: repeat(3, 1fr); }

  .nav-desktop, .header-cta { display: none; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
  }

  .conversion-fab { display: none; }

  .conversion-fab--service,
  .conversion-fab--blog {
    display: inline-flex;
    right: 1rem;
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0));
    padding: 0.75rem 1.1rem;
    font-size: 0.88rem;
  }

  .header-form-link,
  .header-phone-link {
    display: inline-flex;
  }

  .header-phone-text {
    display: inline;
  }

  .conversion-float-cta {
    right: 0.75rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
  }

  .home-intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-conversion-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-trust-list {
    justify-content: flex-start;
  }

  .home-cta-band-inner,
  .home-cta-card {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions,
  .home-cta-actions,
  .conversion-strip-actions,
  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .page-hero .hero-actions .btn,
  .conversion-strip-actions .btn,
  .cta-banner-actions .btn,
  .home-form-call,
  .btn-submit-lead {
    width: 100%;
    justify-content: center;
  }

  .conversion-strip-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .conversion-lead-panel {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .conversion-lead-panel-intro .home-form-call {
    width: 100%;
  }

  .home-form-shell {
    grid-template-columns: 1fr;
    padding: 1.35rem;
    gap: 1.35rem;
  }

  .home-form-card {
    padding: 1.25rem;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }

  .page-home .conversion-strip-inner {
    padding: 1.5rem 1.25rem;
  }

  .home-scroll-nudge {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
  }

  .home-scroll-nudge-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .home-scroll-nudge-actions {
    width: 100%;
  }

  .home-scroll-nudge-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .conversion-bar-inner {
    padding: 0.65rem 0;
    gap: 0.65rem;
  }

  .conversion-bar-text strong {
    font-size: 0.82rem;
  }

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

  .sidebar-card { position: static; }
}

@media (min-width: 901px) {
  .conversion-bar { display: none; }
  body.has-conversion-bar { padding-bottom: 0; }
}

@media (max-width: 600px) {
  :root {
    --btn-height-lg: 3rem;
  }

  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .hero { padding: 3rem 0; }

  .hero-stats { grid-template-columns: 1fr; }

  .home-intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .home-intent-btn {
    min-height: 4.6rem;
    padding: 0.65rem 0.45rem;
    font-size: 0.74rem;
  }

  .home-intent-emoji {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .home-intent-btn:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    min-height: auto;
    padding: 0.7rem 1rem;
    gap: 0.55rem;
  }

  .home-intent-btn:last-child .home-intent-text {
    max-width: none;
  }

  .hero-conversion-panel {
    margin-top: 1.35rem;
    padding: 1.05rem 0.95rem 0.95rem;
    border-radius: var(--radius-lg);
  }

  .hero-conversion-hint {
    font-size: 0.82rem;
  }

  .hero-conversion-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .hero-trust-list li {
    font-size: 0.72rem;
  }

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

  .section { padding: 3rem 0; }

  .btn-call--lg,
  .btn-submit-lead,
  .hero-actions .btn,
  .home-cta-actions .btn,
  .conversion-strip-actions .btn,
  .cta-banner-actions .btn,
  .home-exit-actions .btn {
    padding-inline: 1.15rem;
    font-size: 0.92rem;
  }

  .btn-label-full {
    display: none;
  }

  .btn-label-short {
    display: inline;
  }

  .home-cta-card {
    padding: 1.35rem 1.15rem;
  }

  .home-form-shell {
    padding: 1.15rem;
  }

  .article-content .cta-banner.cta-banner--promo {
    padding: 1.75rem 1.15rem;
    margin-top: 2.5rem;
  }

  .article-content .cta-banner.cta-banner--promo h2 {
    font-size: 1.55rem;
  }

  .cta-banner {
    padding: 2rem 1.15rem;
  }

  .page-home .hero-actions .btn-call::before,
  .page-home .home-form-call::before,
  .page-home .home-cta-card .btn-call::before {
    display: none;
  }
}
