

/* Start:/local/templates/akademia/assets/css/style.css?178656242253499*/
/* ==========================================================================
   Academy of Cleaning - Modern Quiet Strict Redesign Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & Custom Properties (CSS Variables)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --slate-50: 210 40% 98%;
  --slate-100: 210 40% 96.1%;
  --slate-200: 214.3 31.8% 91.4%;
  --slate-300: 212.7 26.8% 83.9%;
  --slate-400: 215 20.2% 65.1%;
  --slate-500: 215.4 16.3% 46.9%;
  --slate-600: 215.3 19.3% 34.5%;
  --slate-700: 215.3 25% 26.7%;
  --slate-800: 217.2 32.6% 17.5%;
  --slate-900: 222.2 47.4% 11.2%;

  /* Brand green — derived from the AK leaf logo (#a4d92c → #4e6b0f), hue ~80 */
  --leaf-50: 80 55% 96%;
  --leaf-100: 80 52% 88%;
  --leaf-300: 78 69% 51%;   /* #a4d92c — bright lime highlight */
  --leaf-400: 82 63% 44%;   /* #82b529 — vivid brand fill */
  --leaf-500: 82 62% 35%;   /* accent for text/icons on light (legible) */
  --leaf-600: 80 68% 26%;   /* hover / deep leaf */
  --leaf-700: 79 82% 14%;   /* ink: dark text on bright fills */

  /* Semantic Mappings */
  --bg-primary: hsl(var(--slate-50));
  --bg-card: #ffffff;
  --text-main: hsl(var(--slate-900));
  --text-muted: hsl(var(--slate-500));
  --brand-primary: hsl(var(--slate-900));
  --brand-accent: hsl(var(--leaf-500));
  --brand-accent-hover: hsl(var(--leaf-600));
  --brand-fill: hsl(var(--leaf-400));         /* vivid lime for solid buttons */
  --brand-fill-hover: hsl(82 66% 30%);
  --brand-ink: hsl(var(--leaf-700));          /* dark text on the lime fill */
  --border-color: hsl(var(--slate-200));

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.03), 0 4px 6px -4px rgba(15, 23, 42, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.02);

  /* Layout */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Custom Styling */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: hsl(var(--slate-300));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--slate-400));
}

/* --------------------------------------------------------------------------
   3. Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--brand-accent); }
.font-montserrat { font-family: 'Montserrat', sans-serif; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: 1px solid var(--brand-primary);
}
.btn-primary:hover {
  background-color: #000000;
  border-color: #000000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--brand-fill);
  color: var(--brand-ink);
  border: 1px solid var(--brand-fill);
}
.btn-accent:hover {
  background-color: var(--brand-fill-hover);
  border-color: var(--brand-fill-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-primary);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  background-color: hsl(var(--slate-100));
  border-color: hsl(var(--slate-400));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-accent);
  background-color: hsl(var(--leaf-50));
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Desk & Mob)
   -------------------------------------------------------------------------- */
.topbar {
  background-color: hsl(var(--slate-900));
  color: hsl(var(--slate-300));
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--slate-800));
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  gap: 24px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand-accent);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-links a:hover {
  color: #ffffff;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--brand-ink);
  background-color: var(--brand-fill);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.topbar-cta:hover {
  background-color: var(--brand-fill-hover);
  color: #ffffff;
}

.topbar-cta svg {
  width: 13px;
  height: 13px;
}

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: visible;
  transition: padding var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-leaf {
  height: 40px;
  width: auto;
  display: block;
  transition: height var(--transition-normal);
}

.navbar.scrolled .logo-leaf {
  height: 36px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: #102948;
  white-space: nowrap;
}

.logo-sub {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 520px) {
  .logo-leaf {
    height: 34px;
  }
  .logo-title {
    font-size: 17px;
  }
  .logo-sub {
    font-size: 8px;
  }
  /* Compact call button — icon only, no number */
  .phone-num {
    display: none;
  }
}

/* Let the nav fill the full navbar height so dropdown items can stretch down
   to the navbar's bottom edge (where the mega-menu anchors). */
.navbar-wrapper > nav {
  align-self: stretch;
  display: flex;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  height: 100%;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Mega Menu Dropdown (Desktop)
   -------------------------------------------------------------------------- */
.nav-item-dropdown {
  position: static;
  /* Stretch to the full navbar height so the item's box reaches down to the
     dropdown — this removes the dead hover-gap between the link and the menu
     and anchors the menu at the bottom of the navbar. */
  align-self: stretch;
  display: flex;
  align-items: center;
}

.dropdown-caret {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.nav-item-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 2px solid var(--brand-accent);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 100;
}

.nav-item-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mega-menu-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-menu-group-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand-primary);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2px;
  transition: color var(--transition-fast);
}

.mega-menu-group-title:hover {
  color: var(--brand-accent);
}

.mega-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-menu-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 0 4px 10px;
  border-left: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast), padding-left var(--transition-fast);
  display: block;
}

.mega-menu-link:hover {
  color: var(--brand-accent);
  border-left-color: var(--brand-accent);
  padding-left: 14px;
}

/* --------------------------------------------------------------------------
   Simple Dropdown (Desktop) — clickable parent link with a short link list
   -------------------------------------------------------------------------- */
.nav-item-dropdown--simple {
  position: relative;
  /* Match the mega-menu: stretch to full navbar height so the dropdown drops
     from the bottom of the navbar and there is no dead hover-gap above it. */
  align-self: stretch;
  display: flex;
  align-items: center;
}

.simple-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 240px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--brand-accent);
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 100;
}

.nav-item-dropdown--simple:hover .simple-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.simple-dropdown-link {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.simple-dropdown-link:hover {
  color: var(--brand-accent);
  background-color: hsl(var(--slate-50));
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.phone-ico {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--brand-fill);
  color: var(--brand-ink);
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.phone-number:hover .phone-ico {
  background-color: var(--brand-fill-hover);
  color: #ffffff;
}

.phone-number:hover {
  color: var(--brand-accent);
}

.burger-btn {
  display: none;
  font-size: 24px;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   5. Hero / Intro Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 80px 0;
  background-color: #ffffff;
  position: relative;
}

/* Decorative background layer: floating bubbles + sparkles */
.hero-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-decor .bubble {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-bubble-float var(--dur, 14s) ease-in-out var(--delay, 0s) infinite;
}

.hero-decor .sparkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-sparkle-twinkle var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes hero-bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes hero-sparkle-twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-decor .bubble,
  .hero-decor .sparkle {
    animation: none;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-title span {
  font-weight: 800;
  display: block;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-bullet-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.hero-bullet-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.hero-bullet-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  color: var(--brand-primary);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Quick Estimate Widget Widget */
.hero-widget {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.hero-widget-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.hero-widget-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-widget-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.widget-select, .widget-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.widget-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234b5563' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 44px;
}

.widget-select:focus, .widget-input:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px hsl(var(--leaf-50));
}

.widget-price-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

.widget-price-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.widget-price-value {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--brand-accent);
}

/* --------------------------------------------------------------------------
   6. Services Cards & Filter Tabs (Mobile Slider)
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services {
  padding: 44px 0 80px;
  position: relative;
  z-index: 1;
}

/* Rounded top edge that curves up over the hero — the section owns its shape */
.services::before {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  top: -48px;
  height: 340px;
  background: var(--bg-primary);
  border-radius: 50%;
  z-index: -1;
}

.services::after {
  content: '';
  position: absolute;
  left: -5%;
  right: 40%;
  top: 100px;
  height: 220px;
  background: hsl(var(--border-color) / 0.6);
  border-radius: 50%;
  z-index: -1;
}

/* Mobile Friendly Category Selector */
.category-filter-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 40px;
  padding: 4px;
}

.category-filter-wrapper::-webkit-scrollbar {
  display: none;
}

.category-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: max-content;
  margin: 0 auto;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: hsl(var(--slate-400));
  color: var(--text-main);
}

.filter-btn.active {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: hsl(var(--slate-300));
}

.service-card-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.service-card-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.service-card-price {
  font-size: 15px;
  color: var(--text-muted);
}

.service-card-price strong {
  font-size: 24px;
  color: var(--brand-primary);
  font-family: 'Montserrat', sans-serif;
  margin-left: 8px;
}

.service-card-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.service-card-task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.service-card-task svg {
  width: 18px;
  height: 18px;
  color: var(--brand-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-btn {
  width: 100%;
}

/* Tier label divider ("Популярные услуги" / "Все услуги") */
.svc-tier-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 36px;
}

.svc-tier-label::before,
.svc-tier-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.svc-tier-label span {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.svc-tier-label span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-accent);
}

.svc-tier-label--catalog {
  margin-top: 72px;
}

/* Compact "all services" catalog */
.svc-catalog {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.svc-catalog-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-catalog-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-primary);
}

.svc-catalog-subtitle svg {
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.svc-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.svc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.svc-row:hover {
  border-color: var(--brand-accent);
  background-color: hsl(var(--leaf-50));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.svc-row-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.svc-row-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.svc-row-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.svc-row:hover .svc-row-price {
  color: var(--brand-accent-hover);
}

.svc-row-arrow {
  width: 16px;
  height: 16px;
  color: hsl(var(--slate-400));
  flex-shrink: 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.svc-row:hover .svc-row-arrow {
  color: var(--brand-accent);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   7. Redesigned Interactive Calculator
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.calc-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.calc-main {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.calc-step {
  margin-bottom: 40px;
}

.calc-step:last-child {
  margin-bottom: 0;
}

.calc-step-title {
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.calc-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* Step 1: Destination Selection */
.calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.calc-tab {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.calc-tab:hover {
  border-color: hsl(var(--slate-400));
}

.calc-tab.active {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary);
  color: #ffffff;
}

/* Step 2: Cleaning Type Selection */
.calc-types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.calc-types-grid[hidden],
.calc-house-rate[hidden],
.calc-type-card[hidden] {
  display: none;
}

.calc-type-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  min-height: 112px;
}

.calc-type-card:hover {
  border-color: hsl(var(--slate-400));
}

.calc-type-card.active {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 1px var(--brand-accent);
}

.calc-type-card strong {
  font-size: 15px;
  margin-bottom: 4px;
}

.calc-type-card span {
  font-size: 13px;
  color: var(--text-muted);
}

.calc-house-rate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid hsl(var(--leaf-400) / 0.45);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ffffff 0%, hsl(var(--leaf-300) / 0.12) 100%);
}

.calc-house-rate-kicker {
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background-color: hsl(var(--leaf-300) / 0.22);
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.calc-house-rate div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.calc-house-rate strong {
  font-size: 15px;
}

.calc-house-rate div span {
  color: var(--text-muted);
  font-size: 13px;
}

.calc-house-rate-price {
  color: var(--brand-accent);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

/* Step 3: Area Slider */
.calc-area-control {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

.calc-range {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: var(--radius-full);
  background: hsl(var(--slate-300));
  outline: none;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-accent);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-area-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-area-num {
  width: 90px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  text-align: center;
  font-weight: 700;
}

/* Step 4: Toggle Settings */
.calc-toggles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.toggle-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle-label strong {
  font-size: 15px;
}

.toggle-label span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Muted modern toggle button */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-switch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(var(--slate-300));
  transition: .2s;
  border-radius: 34px;
}

.slider-switch:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}

input:checked + .slider-switch {
  background-color: var(--brand-accent);
}

input:checked + .slider-switch:before {
  transform: translateX(20px);
}

.toggle-nested-block {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.toggle-nested-block.show {
  display: block;
}

.distance-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

/* Expandable Grid - Windows Selectors */
.window-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.window-options-grid.none {
  display: none;
}

.window-option-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
}

.window-option-card:hover {
  border-color: hsl(var(--slate-400));
}

.window-option-card.active {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 1px var(--brand-accent);
}

.window-thumb {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.window-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.window-title {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}

.window-price-badge {
  font-size: 12px;
  font-weight: 700;
  background-color: hsl(var(--slate-100));
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.window-counter {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.window-option-card.active .window-counter,
.dry-option-card.active .window-counter {
  display: flex;
}

.counter-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: hsl(var(--slate-200));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}

.counter-btn:hover {
  background-color: hsl(var(--slate-300));
}

.counter-value {
  font-size: 14px;
  font-weight: 700;
  width: 20px;
  text-align: center;
}

/* Expandable Grid - Dry Cleaning */
.dry-cleaning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.dry-option-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.dry-option-card:hover {
  border-color: hsl(var(--slate-400));
}

.dry-option-card.active {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 1px var(--brand-accent);
}

.dry-option-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.dry-option-name {
  font-size: 13px;
  font-weight: 600;
}

.dry-option-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-accent);
  white-space: nowrap;
}

.dry-option-card .window-counter {
  margin-top: auto;
  align-self: center;
}

/* Detailed Sidebar Summary Box */
.calc-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.summary-card {
  background-color: hsl(var(--slate-900));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}

.summary-title {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 24px;
  border-bottom: 1px solid hsl(var(--slate-800));
  padding-bottom: 12px;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 14px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed hsl(var(--slate-800));
  padding-bottom: 8px;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item-label {
  color: hsl(var(--slate-400));
  min-width: 0;
}

.summary-item-price {
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid hsl(var(--slate-800));
  margin-bottom: 10px;
}

.summary-total-label {
  font-size: 16px;
  font-weight: 600;
}

.summary-total-value {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--brand-accent);
}

.summary-disclaimer {
  font-size: 12px;
  color: hsl(var(--slate-500));
  line-height: 1.4;
}

/* Order Submission Box Form */
.booking-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.booking-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.booking-agree input {
  margin-top: 3px;
}

.booking-agree a {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. Why Choose Us (Corporate Grid)
   -------------------------------------------------------------------------- */
.why-us {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card-icon {
  width: 48px;
  height: 48px;
  background-color: hsl(var(--slate-100));
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--brand-accent);
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
}

.why-card-title {
  font-size: 18px;
}

.why-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Partners logo marquee — trust ribbon inside the "Почему доверяют" section */
.partners {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--border-color);
}

.partners-head {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.partners-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partners-scroll 70s linear infinite;
}

.partners:hover .partners-track {
  animation-play-state: paused;
}

.partners-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.partners-item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 160px;
  height: 72px;
  padding: 0 16px;
}

.partners-item img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partners-item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .partners-item {
    width: 124px;
    height: 60px;
    padding: 0 12px;
  }
  .partners-item img {
    max-height: 36px;
  }
}

/* --------------------------------------------------------------------------
   9. Testimonials & Portfolios
   -------------------------------------------------------------------------- */
.reviews-section {
  padding: 0 0 80px 0;
}

.reviews-carousel {
  position: relative;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  margin: 0 -15px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.review-slide {
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
  padding: 0 15px;
  align-self: stretch;
}

.review-item {
  height: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.reviews-nav {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.reviews-nav:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.reviews-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: hsl(var(--slate-300));
  cursor: pointer;
  transition: background-color 0.2s ease, width 0.2s ease;
}

.reviews-dot.active {
  width: 24px;
  border-radius: 5px;
  background-color: var(--brand-accent);
}

.review-content {
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  color: hsl(var(--slate-700));
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: hsl(var(--slate-200));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--brand-primary);
}

.review-author-info strong {
  display: block;
  font-size: 15px;
}

.review-author-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. Footer Section (Corporate Map / B2B)
   -------------------------------------------------------------------------- */
.footer {
  background-color: hsl(var(--slate-900));
  color: hsl(var(--slate-400));
  padding: 80px 0 32px;
  border-top: 1px solid hsl(var(--slate-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr 0.6fr 0.8fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-title {
  color: #ffffff;
}

.footer-logo .logo-sub {
  color: hsl(var(--slate-400));
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}

.footer-title {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--slate-800));
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: hsl(var(--slate-800));
  display: grid;
  place-items: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--brand-accent);
}

/* --------------------------------------------------------------------------
   11. Callbacks / Modal Popups
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-request-modal .modal-container {
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  color: var(--text-main);
}

.service-request-modal .booking-form > .btn {
  width: 100%;
  margin-top: 10px;
}

.service-request-form-status {
  min-height: 18px;
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   12. Mobile & Responsive Overrides
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 16px;
  }
  .nav-link {
    font-size: 13px;
  }
  .navbar-actions {
    gap: 12px;
  }
  .phone-number {
    font-size: 14px;
  }
  .navbar-actions .btn {
    padding: 6px 16px;
    font-size: 11px;
    height: 36px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-bullet-list {
    margin-bottom: 30px;
  }

  .calc-container {
    grid-template-columns: 1fr;
  }

  .calc-sidebar {
    position: static;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .topbar {
    display: none;
  }

  .navbar-wrapper {
    height: 60px;
  }

  .nav-menu {
    display: none;
  }

  .navbar-actions .btn {
    display: none;
  }

  .burger-btn {
    display: block;
  }

  .hero {
    padding: 60px 0;
  }

  /* Thin out background decor on mobile to avoid visual noise */
  .hero-decor-sparkles,
  .hero-decor .bubble:nth-child(n+4) {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-bullet-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .svc-catalog-grid {
    grid-template-columns: 1fr;
  }

  .svc-tier-label--catalog {
    margin-top: 48px;
  }

  .calc-main {
    padding: 24px;
  }

  .calc-tabs {
    grid-template-columns: 1fr;
  }

  .calc-types-grid {
    grid-template-columns: 1fr;
  }

  .window-options-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .review-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-widget {
    padding: 20px;
  }

  .window-options-grid {
    grid-template-columns: 1fr;
  }

  .dry-cleaning-grid {
    grid-template-columns: 1fr;
  }

  .calc-house-rate {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calc-house-rate-kicker {
    justify-self: start;
  }
}

/* Slide-out Mobile Panel */
.mobile-panel {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 250;
  box-shadow: var(--shadow-xl);
  transition: left var(--transition-normal);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-panel.open {
  left: 0;
}

.mobile-panel-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.mobile-panel-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.mobile-panel-close {
  font-size: 24px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.mobile-panel-contacts {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border-color);
  background-color: hsl(var(--slate-50));
}

.mobile-panel-contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-panel-contacts svg {
  width: 18px;
  height: 18px;
  color: var(--brand-accent);
}

/* --------------------------------------------------------------------------
   Mobile Accordion: Services Dropdown
   -------------------------------------------------------------------------- */

/* Scrollable nav list (in case many services expand) */
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  flex: 1;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list > li:first-child {
  border-top: 1px solid var(--border-color);
}

/* Row: link + toggle button side-by-side */
.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Top-level link */
.mobile-nav-link {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-main);
  padding: 14px 20px;
  display: block;
  flex: 1;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--brand-accent);
}

/* Accordion toggle button (top-level Services) */
.mobile-dropdown-toggle,
.mobile-submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 4px 14px 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.mobile-dropdown-toggle {
  padding-right: 16px;
}

.mobile-dropdown-toggle:hover,
.mobile-submenu-toggle:hover {
  color: var(--brand-accent);
}

.mobile-dropdown-toggle svg,
.mobile-submenu-toggle svg {
  transition: transform var(--transition-normal);
}

.mobile-dropdown-toggle.open svg,
.mobile-submenu-toggle.open svg {
  transform: rotate(180deg);
}

/* Level-1 submenu (Services categories) */
.mobile-submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: hsl(var(--slate-50));
}

.mobile-submenu.open {
  max-height: 1200px;
}

.mobile-submenu > li {
  border-top: 1px solid var(--border-color);
}

/* Level-1 links (e.g. "Уборка квартир") */
.mobile-submenu-link {
  display: block;
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 11px 20px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.mobile-submenu-link:hover {
  color: var(--brand-accent);
  background-color: hsl(var(--leaf-50));
}

/* Row inside submenu items that have children */
.mobile-submenu-item-dropdown .mobile-nav-row {
  padding-left: 0;
}

.mobile-submenu-item-dropdown .mobile-submenu-link {
  padding-left: 20px;
}

.mobile-submenu-item-dropdown .mobile-submenu-toggle {
  padding: 11px 12px 11px 8px;
}

/* Level-2 sub-submenu (e.g. "Ежедневная уборка" children) */
.mobile-sub-submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #ffffff;
}

.mobile-sub-submenu.open {
  max-height: 600px;
}

.mobile-sub-submenu > li {
  border-top: 1px solid var(--border-color);
}

/* Level-2 links */
.mobile-sub-link {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--slate-400));
  padding: 9px 20px 9px 36px;
  position: relative;
  transition: color var(--transition-fast);
}

.mobile-sub-link::before {
  content: '—';
  position: absolute;
  left: 20px;
  color: var(--brand-accent);
  font-size: 10px;
  opacity: 0.7;
}

.mobile-sub-link:hover {
  color: var(--brand-accent);
}

/* ==========================================================================
   NOTIFICATION MODAL
   ========================================================================== */
.modal-notif-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-notif-icon--success {
  background: hsl(var(--leaf-100));
  color: hsl(var(--leaf-600));
}

.modal-notif-icon--error {
  background: #fee2e2;
  color: #dc2626;
}

.modal-notif-icon svg {
  width: 28px;
  height: 28px;
}

.modal-notif-message {
  text-align: center;
  font-size: 14px;
  color: hsl(var(--slate-600));
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-notif .btn {
  width: 100%;
}

/* End */


/* Start:/local/templates/akademia/assets/css/content.css?178656242227803*/
/* ========================================================================== 
   Inner content pages
   ========================================================================== */

.inner-page {
  background: var(--bg-primary);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 88% 12%, hsl(var(--leaf-300) / 0.2), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, hsl(var(--slate-50)) 70%);
  border-bottom: 1px solid var(--border-color);
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 430px;
  height: 430px;
  border: 1px solid hsl(var(--leaf-400) / 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 72px;
  align-items: center;
}

.page-hero-content {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--text-muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--brand-accent);
}

.breadcrumbs span[aria-hidden='true'] {
  color: hsl(var(--slate-300));
}

.page-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
}

.page-lead {
  max-width: 820px;
  color: hsl(var(--slate-600));
  font-size: 18px;
  line-height: 1.75;
}

.page-fact-card {
  position: relative;
  padding: 32px;
  color: #ffffff;
  background: hsl(var(--slate-900));
  border: 1px solid hsl(var(--slate-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.page-fact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  width: 72px;
  height: 3px;
  background: hsl(var(--leaf-300));
}

.page-fact-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: hsl(var(--leaf-300));
  background: hsl(var(--slate-800));
  border-radius: var(--radius-md);
  place-items: center;
}

.page-fact-icon svg {
  width: 25px;
  height: 25px;
}

.page-fact-label {
  display: block;
  margin-bottom: 8px;
  color: hsl(var(--leaf-300));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.page-fact-card strong {
  display: block;
  margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  line-height: 1.35;
}

.page-fact-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-fact-card li {
  position: relative;
  padding-left: 20px;
  color: hsl(var(--slate-300));
  font-size: 14px;
}

.page-fact-card li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  background: hsl(var(--leaf-300));
  border-radius: 50%;
}

.content-section {
  padding: 80px 0;
}

.content-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.content-heading h2,
.content-cta h2,
.contact-section-title {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.5px;
}

.service-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
}

.service-check-grid li {
  position: relative;
  min-height: 64px;
  padding: 20px 22px 20px 54px;
  color: hsl(var(--slate-700));
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.service-check-grid li::before {
  content: '✓';
  position: absolute;
  top: 18px;
  left: 20px;
  display: grid;
  width: 25px;
  height: 25px;
  color: var(--brand-ink);
  background: var(--brand-fill);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  place-items: center;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.editorial-card {
  position: relative;
  min-height: 100%;
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.editorial-card-number {
  display: block;
  margin-bottom: 24px;
  color: var(--brand-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.editorial-card p,
.editorial-feature p {
  color: hsl(var(--slate-600));
  font-size: 16px;
  line-height: 1.75;
}

.editorial-feature {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 36px;
  background: hsl(var(--leaf-50));
  border: 1px solid hsl(var(--leaf-300) / 0.45);
  border-radius: var(--radius-lg);
}

.editorial-feature-icon {
  display: grid;
  width: 64px;
  height: 64px;
  color: var(--brand-accent);
  background: #ffffff;
  border: 1px solid hsl(var(--leaf-300) / 0.45);
  border-radius: var(--radius-md);
  place-items: center;
}

.editorial-feature-icon svg {
  width: 30px;
  height: 30px;
}

.editorial-feature a {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-cta {
  padding: 64px 0;
  color: #ffffff;
  background: hsl(var(--slate-900));
}

.content-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.content-cta h2 {
  margin-bottom: 10px;
  color: #ffffff;
}

.content-cta p {
  color: hsl(var(--slate-400));
}

.content-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-outline--light {
  color: #ffffff;
  border-color: hsl(var(--slate-600));
}

.btn-outline--light:hover {
  color: #ffffff;
  background: hsl(var(--slate-800));
  border-color: hsl(var(--slate-500));
}

/* About page — light CTA variant */
.about-content-cta {
  background: var(--bg-primary);
  color: hsl(var(--slate-800));
}

.about-content-cta h2 {
  color: hsl(var(--slate-900));
}

.about-content-cta p {
  color: hsl(var(--slate-500));
}

.about-content-cta .btn-outline--light {
  color: hsl(var(--slate-700));
  border-color: hsl(var(--slate-300));
}

.about-content-cta .btn-outline--light:hover {
  color: hsl(var(--slate-900));
  background: hsl(var(--slate-100));
  border-color: hsl(var(--slate-400));
}

/* Contacts */

.contact-cards-section {
  position: relative;
  z-index: 2;
  margin-top: -30px;
  padding-bottom: 72px;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 18px;
  min-height: 132px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  display: grid;
  grid-row: 1 / 3;
  align-self: center;
  width: 44px;
  height: 44px;
  color: var(--brand-accent);
  background: hsl(var(--leaf-50));
  border-radius: var(--radius-md);
  place-items: center;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h2 {
  margin-bottom: 4px;
  font-size: 17px;
}

.contact-card p,
.contact-card a {
  color: hsl(var(--slate-600));
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-card > a:hover {
  color: var(--brand-accent);
}

.contact-map-section {
  padding: 0 0 80px;
}

.contact-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.contact-section-head p {
  max-width: 480px;
  color: var(--text-muted);
}

.contact-map {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: hsl(var(--slate-100));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  color: var(--text-muted);
  background:
    linear-gradient(45deg, transparent 48%, hsl(var(--slate-200)) 49%, hsl(var(--slate-200)) 51%, transparent 52%),
    hsl(var(--slate-100));
  background-size: 36px 36px;
  place-items: center;
  pointer-events: none;
}

.contact-map-frame[data-loaded='true'] + .contact-map-placeholder {
  display: none;
}

.contact-map-placeholder span {
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
}

.contact-feedback-section {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.contact-feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 72px;
  align-items: start;
}

.contact-feedback-copy {
  position: sticky;
  top: 120px;
}

.contact-feedback-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 36px);
}

.contact-feedback-copy > p {
  margin-bottom: 28px;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-feedback-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  color: hsl(var(--slate-600));
  background: hsl(var(--leaf-50));
  border-left: 3px solid var(--brand-fill);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
}

.contact-feedback-note svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
}

.contact-form-card {
  padding: 36px;
  background: hsl(var(--slate-50));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form-field {
  display: grid;
  gap: 8px;
}

.contact-form-field--wide {
  grid-column: 1 / -1;
}

.contact-form-label {
  color: hsl(var(--slate-700));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form-input {
  height: 50px;
  padding: 0 15px;
}

.contact-form-textarea {
  min-height: 140px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px hsl(var(--leaf-50));
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
}

.contact-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 360px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.contact-form-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.contact-form-submit[disabled] {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.contact-form-status {
  display: none;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.contact-form-status[data-state='success'] {
  display: block;
  color: hsl(var(--leaf-700));
  background: hsl(var(--leaf-100));
}

.contact-form-status[data-state='error'] {
  display: block;
  color: #991b1b;
  background: #fee2e2;
}

/* Privacy policy
   -------------------------------------------------------------------------- */
.legal-document {
  display: block;
  max-width: 920px;
  margin: 0 auto;
}

.legal-document > .row:not(.mb-4) {
  display: none;
}

.legal-document > .row.mb-4 {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.legal-document > .row.mb-4:first-of-type {
  display: none;
}

.legal-document .col {
  min-width: 0;
}

.legal-document h3 {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.4;
}

.legal-document h4 {
  display: block;
  margin: 54px 0 20px;
  padding: 42px 0 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.25px;
  scroll-margin-top: 110px;
}

.legal-document > .row.mb-4:nth-of-type(2) h4 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-document .descr {
  margin: 0 0 20px;
  padding: 0;
  color: hsl(var(--slate-700));
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  line-height: 1.8;
}

.legal-document .ol {
  display: grid;
  gap: 12px;
  margin: 0;
}

.legal-clause {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 0;
  color: hsl(var(--slate-700));
  border: 0;
  font-size: 16px;
  line-height: 1.8;
}

.legal-clause:first-child {
  padding-top: 0;
}

.legal-clause:last-child {
  padding-bottom: 0;
}

.legal-clause-number {
  padding-top: 1px;
  color: hsl(var(--slate-500));
  font-size: 13px;
  font-weight: 700;
}

.legal-document .descr a,
.legal-clause-text a {
  color: var(--brand-accent);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: hsl(var(--leaf-400) / 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-document .descr a:hover,
.legal-document .descr a:focus-visible,
.legal-clause-text a:hover,
.legal-clause-text a:focus-visible {
  color: var(--brand-accent-hover);
  text-decoration-color: currentColor;
}

@media (max-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 40px;
  }

  .contact-feedback-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-feedback-copy {
    position: static;
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding: 42px 0 52px;
  }

  .page-hero-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid {
    gap: 32px;
  }

  .breadcrumbs {
    margin-bottom: 26px;
  }

  .page-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .page-fact-card {
    padding: 28px;
  }

  .content-section,
  .contact-feedback-section {
    padding: 56px 0;
  }

  .service-check-grid,
  .contact-card-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .service-check-grid {
    margin-bottom: 40px;
  }

  .editorial-card,
  .editorial-feature,
  .contact-form-card {
    padding: 26px;
  }

  .editorial-feature {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .content-cta-inner,
  .contact-section-head,
  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .content-cta-actions,
  .content-cta-actions .btn,
  .contact-form-submit {
    width: 100%;
  }

  .contact-cards-section {
    margin-top: -16px;
    padding-bottom: 56px;
  }

  .contact-card {
    min-height: 0;
  }

  .contact-map-section {
    padding-bottom: 56px;
  }

  .contact-map {
    min-height: 340px;
  }

  .contact-form-field--wide {
    grid-column: auto;
  }

  .contact-form-consent {
    max-width: none;
  }

  .legal-document h4 {
    margin-top: 42px;
    padding-top: 34px;
  }

  .legal-clause,
  .legal-clause:first-child,
  .legal-clause:last-child {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    font-size: 15px;
    line-height: 1.72;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 31px;
  }

  .service-check-grid li {
    padding-right: 16px;
  }

  .editorial-card,
  .editorial-feature,
  .contact-form-card,
  .contact-card {
    padding: 22px;
  }

  .contact-map {
    min-height: 300px;
    border-radius: var(--radius-md);
  }

}

/* ==========================================================================
   About page — serious, corporate presentation
   ========================================================================== */
.about-hero {
  position: relative;
  padding: 0;
  background: hsl(var(--slate-900));
  border-bottom: 0;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, hsl(var(--leaf-400) / 0.22), transparent 38%),
    radial-gradient(circle at 12% 92%, hsl(var(--leaf-300) / 0.12), transparent 42%);
  pointer-events: none;
}

.about-hero::after {
  content: '';
  position: absolute;
  right: -180px;
  top: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid hsl(var(--leaf-300) / 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: stretch;
  min-height: 520px;
}

.about-hero .breadcrumbs {
  color: hsl(var(--slate-400));
  margin-bottom: 28px;
}

.about-hero .breadcrumbs a:hover {
  color: hsl(var(--leaf-300));
}

.about-hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: hsl(var(--leaf-300));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.about-hero-mark svg {
  width: 22px;
  height: 22px;
  color: hsl(var(--leaf-300));
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 0 72px;
  max-width: 760px;
}

.about-hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.05;
}

.about-hero .page-lead {
  max-width: 700px;
  color: hsl(var(--slate-300));
  font-size: 17px;
  line-height: 1.75;
}

.about-hero-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 44px 40px;
  background: hsl(var(--slate-800) / 0.55);
  border-left: 3px solid hsl(var(--leaf-400));
  backdrop-filter: blur(2px);
}

.about-hero-aside-label {
  display: block;
  margin-bottom: 10px;
  color: hsl(var(--leaf-300));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.about-hero-aside-title {
  display: block;
  margin-bottom: 24px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.about-hero-aside-list {
  display: grid;
  gap: 12px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.about-hero-aside-list li {
  position: relative;
  padding-left: 22px;
  color: hsl(var(--slate-200));
  font-size: 15px;
  line-height: 1.5;
}

.about-hero-aside-list li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  background: hsl(var(--leaf-300));
  border-radius: 50%;
}

.about-hero-aside-since {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid hsl(var(--slate-700));
}

.about-hero-aside-since-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: hsl(var(--leaf-300));
  line-height: 1;
}

.about-hero-aside-since-text {
  color: hsl(var(--slate-400));
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Stats strip — continues the dark slab as a metric band */
.about-stats {
  padding: 0;
  background: hsl(var(--slate-900));
  border-top: 1px solid hsl(var(--slate-700));
  border-bottom: 1px solid hsl(var(--slate-700));
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-stats-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 34px 26px;
  border-right: 1px solid hsl(var(--slate-800));
}

.about-stats-item:last-child {
  border-right: 0;
}

.about-stats-value {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.1;
}

.about-stats-label {
  color: hsl(var(--slate-400));
  font-size: 13px;
  line-height: 1.5;
}

/* Services — editorial ruled register (cardless, icon-led index) */
.about-services {
  padding: 88px 0 84px;
}

.about-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 20px 56px;
  align-items: end;
  max-width: none;
  margin-bottom: 42px;
}

.about-section-head-note {
  padding-bottom: 6px;
  color: hsl(var(--slate-500));
  font-size: 15px;
  line-height: 1.65;
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-services-grid li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 24px 18px 24px 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal);
}

.about-services-grid li:nth-child(1),
.about-services-grid li:nth-child(2) {
  border-top: 1px solid var(--border-color);
}

/* Lime accent rail that wipes down on hover */
.about-services-grid li::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--brand-fill);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-normal);
}

.about-services-name {
  color: hsl(var(--slate-800));
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  transition: color var(--transition-normal), transform var(--transition-normal);
}

.about-services-marker {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: hsl(var(--slate-500));
  background: hsl(var(--slate-50));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: color var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
}

.about-services-marker svg {
  width: 20px;
  height: 20px;
}

.about-services-grid li:hover {
  background: hsl(var(--leaf-50) / 0.6);
}

.about-services-grid li:hover::after {
  transform: scaleY(1);
}

.about-services-grid li:hover .about-services-name {
  color: hsl(var(--slate-900));
  transform: translateX(4px);
}

.about-services-grid li:hover .about-services-marker {
  color: var(--brand-ink);
  background: var(--brand-fill);
  border-color: var(--brand-fill);
}

/* Reveal each row as it scrolls into view (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .about-services-grid li {
      opacity: 0;
      transform: translateY(16px);
      animation: about-svc-reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 22%;
    }

    @keyframes about-svc-reveal {
      to {
        opacity: 1;
        transform: none;
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-services-grid li:hover .about-services-name {
    transform: none;
  }
}

/* Approach — editorial two-column with sticky lead */
.about-approach {
  background: hsl(var(--slate-50));
}

.about-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.about-approach-lead {
  position: sticky;
  top: 120px;
}

.about-approach-lead h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -1px;
  line-height: 1.08;
}

.about-approach-intro {
  color: hsl(var(--slate-600));
  font-size: 17px;
  line-height: 1.7;
}

.about-approach-panels {
  display: grid;
  gap: 22px;
}

.about-approach-card {
  padding: 34px 34px 32px;
}

.about-approach-card .editorial-card-number {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.about-approach-card p {
  color: hsl(var(--slate-600));
  font-size: 16px;
  line-height: 1.78;
}

/* Principles — reuse white why-cards on slate-50 */
.about-principles {
  padding: 88px 0;
  background: var(--bg-primary);
}

.about-principles-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.about-principles-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -1px;
  line-height: 1.08;
}

.about-principles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Technology */
.about-technology {
  padding: 80px 0;
  background: hsl(var(--leaf-50));
}

.about-technology-body {
  max-width: 960px;
}

.about-technology-body p {
  color: hsl(var(--slate-700));
  font-size: 17px;
  line-height: 1.78;
}

.about-technology-body p + p {
  margin-top: 18px;
}

.about-technology-body a {
  color: var(--brand-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: hsl(var(--leaf-400) / 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.about-technology-body a:hover {
  color: var(--brand-accent-hover);
  text-decoration-color: currentColor;
}

/* About — responsive */
@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

  .about-section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }

  .about-services-grid {
    column-gap: 40px;
  }

  .about-approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-approach-lead {
    position: static;
  }

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

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

  .about-stats-item:nth-child(2) {
    border-right: 0;
  }

  .about-stats-item:nth-child(1),
  .about-stats-item:nth-child(2) {
    border-bottom: 1px solid hsl(var(--slate-800));
  }

}

@media (max-width: 767px) {
  .about-hero {
    padding: 40px 0 0;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .about-hero-content {
    padding: 24px 0 36px;
  }

  .about-hero h1 {
    font-size: 34px;
  }

  .about-hero .page-lead {
    font-size: 15.5px;
    line-height: 1.65;
  }

  .about-hero-aside {
    padding: 32px 22px;
    border-left: 0;
    border-top: 3px solid hsl(var(--leaf-400));
    background: hsl(var(--slate-800));
  }

  .about-hero-aside-title {
    font-size: 21px;
  }

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

  .about-stats-item {
    border-right: 0;
    border-bottom: 1px solid hsl(var(--slate-800));
    padding: 26px 18px;
  }

  .about-stats-item:last-child {
    border-bottom: 0;
  }

  .about-services,
  .about-principles,
  .about-technology {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about-services-grid,
  .about-principles-grid {
    grid-template-columns: 1fr;
  }

  .about-services-grid li {
    padding: 20px 4px;
    gap: 18px;
  }

  .about-services-grid li:nth-child(2) {
    border-top: 0;
  }

  .about-approach-card,
  .about-principle {
    padding: 26px;
  }

  .about-technology-body p {
    font-size: 15.5px;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 30px;
    letter-spacing: -0.8px;
  }

  .about-hero-aside-since-year {
    font-size: 28px;
  }

  .about-services-name {
    font-size: 14.5px;
  }

  .about-approach-card .editorial-card-number,
  .about-principles-head h2,
  .about-approach-lead h2 {
    letter-spacing: -0.4px;
  }
}

/* End */


/* Start:/local/templates/akademia/assets/css/service-pages.css?178656242230819*/
.services-page {
  background: hsl(var(--slate-50));
}

.services-page li::marker {
    color: var(--brand-accent);
    font-weight: 800;
}

.service-index-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 78px;
  background:
    radial-gradient(circle at 88% 15%, hsl(var(--leaf-300) / 0.24), transparent 30%),
    linear-gradient(140deg, #fff 0%, hsl(var(--slate-50)) 70%);
  border-bottom: 1px solid var(--border-color);
}

.service-index-hero::after {
  content: '';
  position: absolute;
  right: -170px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid hsl(var(--leaf-400) / 0.22);
  border-radius: 50%;
}

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

.service-index-hero h1,
.svc-hero h1,
.service-not-found h1 {
  max-width: 920px;
  margin: 0 0 22px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.service-index-hero > .container > p,
.svc-hero-desc,
.service-not-found p {
  max-width: 780px;
  color: hsl(var(--slate-600));
  font-size: 18px;
  line-height: 1.75;
}

.service-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .85px;
  text-transform: uppercase;
}

.service-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
}

.service-index-grid-section,
.service-block {
  padding: 76px 0;
}

.service-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-index-card {
  position: relative;
  display: flex;
  min-height: 250px;
  padding: 28px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-index-card:hover {
  transform: translateY(-5px);
  border-color: hsl(var(--leaf-400));
  box-shadow: var(--shadow-lg);
}

.service-index-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.service-index-card-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  color: hsl(var(--leaf-600));
  background: hsl(var(--leaf-100));
  border: 1px solid hsl(var(--leaf-300) / .75);
  border-radius: 14px;
}

.service-index-card-icon svg {
  width: 23px;
  height: 23px;
}

.service-index-card h2,
.service-index-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.service-index-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.service-index-card li a,
.service-index-card p {
  color: hsl(var(--slate-600));
  font-size: 14px;
  line-height: 1.55;
}

.service-index-card li a:hover {
  color: var(--brand-accent);
}

.service-card-more {
  margin-top: auto;
  color: var(--brand-accent);
  font-size: 14px;
  font-weight: 750;
}

.svc-hero {
  padding: 36px 0 64px;
  background: hsl(var(--slate-50));
}

.svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
}

.svc-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.svc-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.02em;
  line-height: 1.12;
}

.svc-hero-desc {
  max-width: 610px;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.65;
}

.svc-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.svc-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  color: hsl(var(--slate-900));
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.svc-route span { color: var(--brand-accent); }
.svc-route:hover { color: var(--brand-accent); border-color: var(--brand-accent); box-shadow: var(--shadow-sm); }

.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.svc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  max-width: 610px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.svc-fact { color: hsl(var(--slate-600)); font-size: 14px; }
.svc-fact strong { color: hsl(var(--slate-900)); }

.estimate-card {
  position: sticky;
  top: 96px;
  padding: 28px;
  color: #fff;
  background: hsl(var(--slate-900));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.estimate-title {
  margin: 0 0 6px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 750;
}

.estimate-sub { margin: 0 0 20px; color: hsl(var(--slate-400)); font-size: 13px; }
.estimate-field { margin-bottom: 14px; }
.estimate-label { display: block; color: hsl(var(--slate-400)); font-size: 12px; font-weight: 650; letter-spacing: .5px; text-transform: uppercase; }

.estimate-card select,
.estimate-card input[type='number'] {
  width: 100%;
  margin-top: 7px;
  padding: 11px 14px;
  color: #fff;
  background: hsl(var(--slate-800));
  border: 1px solid hsl(var(--slate-700));
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
}

.estimate-card select:focus,
.estimate-card input:focus { outline: 2px solid hsl(var(--leaf-300)); outline-offset: 1px; }

.estimate-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 16px 0;
  border-top: 1px solid hsl(var(--slate-700));
}

.estimate-result-label { color: hsl(var(--slate-400)); font-size: 14px; }
.estimate-result-value { color: hsl(var(--leaf-300)); font-family: 'Montserrat', sans-serif; font-size: 27px; font-weight: 800; white-space: nowrap; }
.estimate-note { margin: 10px 0 0; color: hsl(var(--slate-500)); font-size: 12px; line-height: 1.5; }
.estimate-card .btn { width: 100%; margin-top: 14px; }

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.service-promise-card {
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(145deg, hsl(var(--slate-800)), hsl(var(--slate-950)));
  border: 1px solid hsl(var(--slate-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.service-promise-card > span {
  display: block;
  margin-bottom: 12px;
  color: hsl(var(--leaf-300));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.service-promise-card strong {
  display: block;
  margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 23px;
  line-height: 1.35;
}

.service-promise-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-promise-card li {
  position: relative;
  padding-left: 21px;
  color: hsl(var(--slate-300));
  font-size: 14px;
}

.service-promise-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: hsl(var(--leaf-300));
}

.service-promise-card .btn { width: 100%; margin-top: 26px; }

.service-block:nth-of-type(even) {
  background: #fff;
}

.service-block-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.service-block-heading span {
  display: block;
  margin-bottom: 9px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.service-block-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -.7px;
}

.service-child-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-child-card {
  display: flex;
  min-height: 220px;
  padding: 30px;
  flex-direction: column;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}

.service-child-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--leaf-400));
}

.service-child-card strong {
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
}

.service-child-card span {
  color: hsl(var(--slate-600));
  font-size: 14px;
  line-height: 1.6;
}

.service-child-card em {
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand-accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.service-richtext {
  color: hsl(var(--slate-700));
  font-size: 16px;
  line-height: 1.8;
}

.service-richtext > * + * {
  margin-top: 18px;
}

.service-richtext h2,
.service-richtext h3 {
  margin-top: 42px;
  color: hsl(var(--slate-900));
}

.service-richtext ul,
.service-richtext ol {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.service-richtext a {
  color: var(--brand-ink);
  text-decoration: underline;
}

.service-richtext a:hover {
  color: var(--brand-fill);
}

.service-media-list {
  display: grid;
  gap: 18px;
}

.service-media-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.service-media-item p {
  margin: 0;
}

.service-media-img {
  width: 150px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .service-media-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.service-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.service-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.service-table th,
.service-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.service-table th {
  color: #fff;
  background: hsl(var(--slate-800));
  font-size: 13px;
}

.service-table tr:last-child td {
  border-bottom: 0;
}

.scope-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

.scope-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.scope-table th,
.scope-table td { padding: 11px 16px; border-bottom: 1px solid var(--border-color); }
.scope-table thead th { color: hsl(var(--slate-600)); background: hsl(var(--slate-50)); font-size: 12px; text-align: center; text-transform: uppercase; }
.scope-table thead th:first-child { text-align: left; }
.scope-table td:first-child { max-width: 380px; }
.scope-table td:not(:first-child) { color: hsl(var(--slate-600)); text-align: center; white-space: nowrap; }
.scope-table tbody tr:last-child td { border-bottom: 0; }
.scope-group td { color: hsl(var(--slate-700)); background: hsl(var(--slate-50)); font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.scope-item-name { display: block; color: hsl(var(--slate-900)); font-weight: 650; }
.scope-item-desc { display: block; margin-top: 2px; color: hsl(var(--slate-600)); font-size: 12.5px; }
.scope-yes { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; color: hsl(var(--leaf-600)); background: hsl(var(--leaf-100)); border-radius: 50%; }
.scope-no { color: hsl(var(--slate-300)); }

.service-block--form {
  color: #fff;
  background: hsl(var(--slate-900)) !important;
  padding: 72px 0;
}

.order-section,
.service-block--children.subservices,
.service-block--prices.price-section,
.service-block--scope.scope-section {
  padding: 72px 0;
}

.service-block--prices.price-section,
.service-block--scope.scope-section {
  background: #fff;
  border-block: 1px solid var(--border-color);
}

.service-not-found {
  min-height: 60vh;
  padding: 110px 0;
}

@media (max-width: 1024px) {
  .service-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .estimate-card { position: static; }
  .service-child-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .service-index-hero,
  .svc-hero { padding: 24px 0 52px; }
  .service-index-grid-section,
  .service-block { padding: 52px 0; }
  .service-index-grid,
  .svc-hero-grid,
  .service-child-grid { grid-template-columns: 1fr; }
  .service-index-card { min-height: 0; padding: 26px; }
  .service-promise-card { padding: 28px; }
  .service-detail-actions .btn { width: 100%; }
}

/* ---- Breadcrumbs ---- */
    .breadcrumbs {
      padding: 18px 0 0;
    }
    .breadcrumbs ol {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      list-style: none;
      margin: 0;
      padding: 0;
      font-size: 13px;
      color: var(--text-muted);
    }
    .breadcrumbs a {
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.15s ease;
    }
    .breadcrumbs a:hover { color: var(--brand-accent); }
    .breadcrumbs li + li::before {
      content: "/";
      margin-right: 8px;
      color: hsl(var(--slate-300));
    }
    .breadcrumbs [aria-current="page"] { color: var(--text-main); font-weight: 500; }

    /* ---- Service hero ---- */
    .svc-hero { padding: 36px 0 64px; }
    .svc-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 380px;
      gap: 48px;
      align-items: start;
    }
    .svc-eyebrow {
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--brand-accent);
      margin-bottom: 14px;
    }
    .svc-hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(30px, 4vw, 44px);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.12;
      margin: 0 0 18px;
      color: var(--text-main);
    }
    .svc-hero-desc {
      font-size: 16px;
      line-height: 1.65;
      color: var(--text-muted);
      max-width: 560px;
      margin: 0 0 22px;
    }
    .svc-hero-desc strong { color: var(--text-main); }

    /* Маршруты к подуслугам (перелинковка подкатегорий) */
    .svc-routes {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 26px;
    }
    .svc-route {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 16px;
      border: 1px solid var(--border-color);
      border-radius: 999px;
      background: var(--bg-card);
      color: var(--text-main);
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    }
    .svc-route svg { color: var(--brand-accent); flex: none; }
    .svc-route:hover {
      border-color: var(--brand-accent);
      color: var(--brand-accent);
      box-shadow: var(--shadow-sm);
    }
    .svc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

    .svc-facts {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 28px;
      padding-top: 22px;
      border-top: 1px solid var(--border-color);
      max-width: 560px;
    }
    .svc-fact { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-muted); }
    .svc-fact svg { color: var(--brand-accent); flex: none; }
    .svc-fact strong { color: var(--text-main); font-weight: 600; }

    /* Карточка быстрой оценки (тёмная, в стиле summary-card) */
    .estimate-card {
      background: hsl(var(--slate-900));
      border-radius: var(--radius-lg, 16px);
      padding: 28px;
      color: #fff;
      position: sticky;
      top: 96px;
    }
    .estimate-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      font-weight: 700;
      margin: 0 0 6px;
      color: #fff; /* перекрываем глобальный цвет заголовков на тёмной карточке */
    }
    .estimate-sub { font-size: 13px; color: hsl(var(--slate-400)); margin: 0 0 20px; }
    .estimate-field { margin-bottom: 14px; }
    .estimate-label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: hsl(var(--slate-400));
      margin-bottom: 7px;
    }
    .estimate-card select,
    .estimate-card input[type="number"] {
      width: 100%;
      padding: 11px 14px;
      border-radius: 10px;
      border: 1px solid hsl(var(--slate-700));
      background: hsl(var(--slate-800));
      color: #fff;
      font: inherit;
      font-size: 15px;
    }
    .estimate-card select:focus,
    .estimate-card input:focus { outline: 2px solid hsl(var(--leaf-300)); outline-offset: 1px; }
    .estimate-result {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 0;
      margin-top: 6px;
      border-top: 1px solid hsl(var(--slate-700));
    }
    .estimate-result-label { font-size: 14px; color: hsl(var(--slate-400)); }
    .estimate-result-value {
      font-family: 'Montserrat', sans-serif;
      font-size: 27px;
      font-weight: 800;
      letter-spacing: -0.01em;
      color: hsl(var(--leaf-300));
      white-space: nowrap;
    }
    .estimate-note { font-size: 12px; color: hsl(var(--slate-500)); margin: 10px 0 0; }
    .estimate-card .btn { width: 100%; margin-top: 14px; }

    /* ---- Прайс-матрица ---- */
    .price-section { padding: 72px 0; background: var(--bg-card); border-block: 1px solid var(--border-color); }
    .price-section--dark { background: var(--bg-primary); }
    .price-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-lg, 16px); margin-bottom: 20px; margin-top: 20px;}
    .price-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
      min-width: 640px;
      background: var(--bg-card);
    }
    .price-table th, .price-table td {
      padding: 13px 18px;
      text-align: left;
      border-bottom: 1px solid var(--border-color);
    }
    .price-table thead th {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.4px;
      text-transform: uppercase;
      color: var(--text-muted);
      background: var(--bg-primary);
      white-space: nowrap;
    }
    .price-table tbody tr:last-child td { border-bottom: none; }
    .price-table tbody tr:nth-child(even) td { background: var(--bg-primary); }
    .price-table td:first-child { color: var(--text-muted); white-space: nowrap; }
    .price-table td:not(:first-child) {
      font-weight: 600;
      font-variant-numeric: tabular-nums;
      color: var(--text-main);
      white-space: nowrap;
    }
    .price-table tr.price-table-group td {
      background: var(--bg-primary);
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.4px;
      text-align: center;
      color: var(--text-main);
    }

    /* ---- Виды клининга: карточки подуслуг ---- */
    .subservices { padding: 72px 0; }
    .subservice-note {
      max-width: 720px;
      margin: 26px auto 0;
      text-align: center;
      font-size: 15px;
      line-height: 1.6;
      color: var(--text-muted);
    }

    /* ---- Что входит: матрица частот ---- */
    .scope-section { padding: 72px 0; background: var(--bg-card); border-block: 1px solid var(--border-color); }
    .scope-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-lg, 16px); margin-bottom: 20px;}
    .scope-table {
      width: 100%;
      min-width: 760px;
      border-collapse: collapse;
      font-size: 14px;
      background: var(--bg-card);
    }
    .scope-table th, .scope-table td { padding: 11px 16px; border-bottom: 1px solid var(--border-color); }
    .scope-table thead th {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.4px;
      text-transform: uppercase;
      color: var(--text-muted);
      background: var(--bg-primary);
      text-align: center;
      white-space: nowrap;
    }
    .scope-table thead th:first-child { text-align: left; }
    .scope-table tbody tr:last-child td { border-bottom: none; }
    .scope-table td:first-child { max-width: 380px; }
    .scope-table td:not(:first-child) { text-align: center; white-space: nowrap; color: var(--text-muted); }
    .scope-item-name { display: block; font-weight: 600; color: var(--text-main); }
    .scope-item-desc { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
    .scope-yes {
      display: inline-flex;
      width: 22px; height: 22px;
      align-items: center; justify-content: center;
      border-radius: 999px;
      background: hsl(var(--leaf-100));
      color: hsl(var(--leaf-600));
      vertical-align: middle;
    }
    .scope-no { color: hsl(var(--slate-300)); }
    .scope-group td {
      background: var(--bg-primary);
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.4px;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    /* ---- SEO-текст (оригинальный текст страницы) ---- */
    .seo-text { padding: 72px 0 0; }
    .seo-text-inner { max-width: 800px; margin: 0 auto; }
    .seo-text h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: 26px;
      font-weight: 700;
      letter-spacing: -0.01em;
      margin: 0 0 18px;
      color: var(--text-main);
    }
    .seo-text p {
      font-size: 15.5px;
      line-height: 1.7;
      color: var(--text-muted);
      margin: 0 0 16px;
    }
    .seo-text p strong, .seo-text li strong { color: var(--text-main); }
    .seo-text ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
    .seo-text li {
      position: relative;
      padding-left: 26px;
      font-size: 15.5px;
      line-height: 1.7;
      color: var(--text-muted);
    }
    .seo-text li::before {
      content: "";
      position: absolute;
      left: 0; top: 9px;
      width: 8px; height: 8px;
      border-radius: 999px;
      background: var(--brand-fill);
    }
    .seo-text a { color: var(--brand-accent); text-decoration: none; font-weight: 600; }
    .seo-text a:hover { text-decoration: underline; }

    /* ---- Как заказать ---- */
    .order-section { padding: 72px 0; }
    .order-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 380px;
      gap: 48px;
      align-items: start;
    }
    .order-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
    .order-step { display: flex; gap: 16px; align-items: flex-start; }
    .order-step-num {
      flex: none;
      width: 38px; height: 38px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 999px;
      background: hsl(var(--leaf-100));
      color: hsl(var(--leaf-600));
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
      font-size: 15px;
    }
    .order-step h3 { margin: 6px 0 4px; font-size: 16px; font-weight: 600; color: var(--text-main); }
    .order-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
    .order-phone {
      margin-top: 28px;
      padding: 18px 22px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg, 16px);
      display: flex; align-items: center; gap: 14px;
      background: var(--bg-card);
    }
    .order-phone svg { color: var(--brand-accent); flex: none; }
    .order-phone a { font-family: 'Montserrat', sans-serif; font-size: 19px; font-weight: 700; color: var(--text-main); text-decoration: none; }
    .order-phone a:hover { color: var(--brand-accent); }
    .order-phone span { display: block; font-size: 13px; color: var(--text-muted); }

    /* ---- Responsive ---- */
    @media (max-width: 1024px) {
      .svc-hero-grid, .order-grid { grid-template-columns: 1fr; gap: 32px; }
      .estimate-card { position: static; }
    }
    @media (max-width: 640px) {
      .svc-hero { padding-top: 24px; }
      .price-section, .subservices, .scope-section, .order-section { padding: 52px 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      .svc-route, .breadcrumbs a { transition: none; }
    }

/* Physical service pages: shared editorial treatments. */
.service-static-page {
  background: var(--bg-primary);
}

.service-static-page > .svc-hero,
.service-static-page > .service-index-hero {
  position: relative;
  background: #fff;
  border-bottom: 0;
}

.service-static-page > .svc-hero + section,
.service-static-page > .service-index-hero + section {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
}

/* The first content section repeats the soft oval transition used by
   .services::before on the homepage. */
.service-static-page > .svc-hero + section::before,
.service-static-page > .service-index-hero + section::before {
  content: '';
  position: absolute;
  right: -10%;
  left: -10%;
  top: -48px;
  height: 340px;
  z-index: -1;
  background: var(--bg-primary);
  border-radius: 50%;
  pointer-events: none;
}
.service-static-page .service-promise-card--solid {
  background: hsl(var(--slate-900));
  border: 1px solid hsl(var(--slate-800));
  color: #fff;
  opacity: 1;
}
.service-static-page .service-promise-card--solid strong { color: #fff; }
.service-static-page .service-promise-card--solid li { color: hsl(var(--slate-300)); }
.service-story-section { padding: 72px 0; }
.service-story-section--surface { background: var(--bg-card); border-block: 1px solid var(--border-color); }
.service-proof-strip { padding: 28px 0; color: #fff; background: hsl(var(--slate-900)); }
.service-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: hsl(var(--slate-700)); }
.service-proof-item { padding: 24px 28px; background: hsl(var(--slate-900)); }
.service-proof-item strong { display: block; margin-bottom: 6px; color: hsl(var(--leaf-300)); font-family: 'Montserrat', sans-serif; }
.service-proof-item span { color: hsl(var(--slate-300)); font-size: 14px; line-height: 1.5; }
.service-richtext { color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.service-richtext > * + * { margin-top: 18px; }
.service-richtext h2, .service-richtext h3 { margin-top: 36px; color: var(--text-main); }
.service-richtext ul, .service-richtext ol { display: grid; gap: 10px; padding-left: 24px; }
.service-block-heading { max-width: 820px; margin-bottom: 30px; }
.service-block-heading > span { display: block; margin-bottom: 8px; color: var(--brand-accent); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.service-block-heading h2 { margin: 0; font-size: clamp(27px, 3.5vw, 40px); }
.service-static-page .subservices .service-card { display: flex; flex-direction: column; }
.service-static-page .subservices .service-card-desc {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}
.service-static-page .subservices .service-card-btn { margin-top: auto; }
.service-static-page .order-section .lead-form-shell { margin: 0; }

.service-question-section {
  padding: 46px 0;
  background: var(--bg-primary);
}

.service-question-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(230px, auto);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  padding: 34px 38px;
  border: 1px solid hsl(var(--leaf-200));
  border-radius: 24px;
  background:
    linear-gradient(115deg, hsl(var(--leaf-50)) 0%, #fff 68%),
    #fff;
  box-shadow: 0 18px 48px rgb(15 23 42 / 8%);
}

.service-question-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -150px;
  width: 330px;
  height: 330px;
  border: 58px solid hsl(var(--leaf-100));
  border-radius: 50%;
  opacity: .55;
  pointer-events: none;
}

.service-question-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  background: hsl(var(--leaf-600));
  border-radius: 18px 18px 18px 6px;
  box-shadow: 0 12px 24px rgb(34 197 94 / 20%);
}

.service-question-icon svg {
  width: 32px;
  height: 32px;
}

.service-question-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .85px;
  text-transform: uppercase;
}

.service-question-copy h2 {
  margin: 0 0 8px;
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -.5px;
}

.service-question-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-question-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.service-question-actions .btn {
  width: 100%;
  white-space: nowrap;
}

.service-question-phone {
  display: grid;
  gap: 1px;
  color: var(--text-muted);
  text-align: center;
  text-decoration: none;
}

.service-question-phone span {
  font-size: 11px;
}

.service-question-phone strong {
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.service-question-phone:hover strong {
  color: var(--brand-accent);
}

@media (max-width: 900px) {
  .service-question-card {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 30px;
  }

  .service-question-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px 16px 16px 5px;
  }

  .service-question-actions {
    grid-column: 2;
    grid-template-columns: minmax(210px, 260px) auto;
    align-items: center;
    justify-content: start;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .service-proof-grid { grid-template-columns: 1fr; }
  .service-story-section { padding: 52px 0; }

  .service-question-section {
    padding: 36px 0;
  }

  .service-question-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 22px;
    border-radius: 20px;
  }

  .service-question-icon {
    width: 50px;
    height: 50px;
  }

  .service-question-icon svg {
    width: 27px;
    height: 27px;
  }

  .service-question-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .service-question-phone {
    text-align: left;
  }
}

/* End */
/* /local/templates/akademia/assets/css/style.css?178656242253499 */
/* /local/templates/akademia/assets/css/content.css?178656242227803 */
/* /local/templates/akademia/assets/css/service-pages.css?178656242230819 */
