@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');
/* ==========================================================================
   PROFMEISTERS — Сервисный центр по ремонту бытовой техники
   Обновленная стилизация: Светлая, яркая, вызывающая доверие цветовая гамма.
   Крупные, четкие шрифты для легкого чтения. Плавные переходы и скролл.
   ========================================================================== */

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

:root {
  /* Светлая и яркая палитра */
  --color-bg-page: #F8FAFC;
  --color-bg-white: #FFFFFF;
  --color-bg-subtle: #F1F5F9;
  --color-bg-accent-soft: #EFF6FF;

  /* Карточки и границы */
  --color-card-bg: #FFFFFF;
  --color-card-border: #E2E8F0;
  --color-card-border-hover: #93C5FD;
  
  /* Контрастный текст для удобного чтения без очков */
  --color-text-main: #0F172A;       /* Slate-900: глубокий, четкий */
  --color-text-sub: #334155;        /* Slate-700: комфортный для глаз */
  --color-text-muted: #64748B;      /* Slate-500: второстепенный */
  --color-text-light: #FFFFFF;      /* Белый для кнопок и темных акцентов */
  
  /* Доверительные яркие синие акценты (в стиле Лик-Сервис и ВК) */
  --color-accent: #0284C7;          /* Sky-600: сочный, надежный синий */
  --color-accent-hover: #0369A1;    /* Sky-700 */
  --color-accent-dark: #075985;
  --color-accent-light: #E0F2FE;    /* Небесно-голубой для подложек */
  --color-accent-gradient: linear-gradient(135deg, #0284C7 0%, #0077FF 100%);
  --color-accent-gradient-hover: linear-gradient(135deg, #0369A1 0%, #0060DF 100%);

  /* Тени и глубина */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 14px 28px -4px rgba(2, 132, 199, 0.16), 0 8px 12px -4px rgba(15, 23, 42, 0.05);

  --font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Плавная прокрутка страницы с учетом шапки */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-page);
  color: var(--color-text-sub);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

/* Описания — крупный нормальный шрифт, комфортный для чтения без очков */
.paragraph {
  color: var(--color-text-sub);
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

.paragraph strong {
  color: var(--color-text-main);
  font-weight: 700;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.85rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--color-accent-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  border: 1.5px solid var(--color-card-border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-large {
  padding: 1.05rem 2.2rem;
  font-size: 1.15rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.98rem;
  border-radius: 8px;
}

.btn-full {
  width: 100%;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-card-border);
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.logo-link:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.logo-img {
  height: 110px;
  width: auto;
  display: block;
}

#mainNav .menu--semak-main > ul {
  display: flex;
  list-style: none;
  gap: 1.85rem;
}

#mainNav .menu--semak-main > ul > li > a {
  color: var(--color-text-sub);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

#mainNav .menu--semak-main > ul > li > a:hover,
#mainNav .menu--semak-main > ul > li > a.active {
  color: var(--color-accent);
}

#mainNav .menu--semak-main > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

#mainNav .menu--semak-main > ul > li > a:hover::after,
#mainNav .menu--semak-main > ul > li > a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text-main);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.header-phone svg {
  stroke: var(--color-accent);
  transition: transform var(--transition-fast);
}

.header-phone:hover {
  color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.header-phone:hover svg {
  transform: scale(1.1);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-text-main);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  background-color: var(--color-bg-white);
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(0, 119, 255, 0.04) 0%, transparent 40%);
  border-bottom: 1px solid var(--color-card-border);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-accent-light);
  border: 1px solid #BAE6FD;
  color: #0369A1;
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.hero-title {
  font-size: 3.1rem;
  color: var(--color-text-main);
  margin-bottom: 1.35rem;
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.18;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-sub);
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-card-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background-color: var(--color-card-border);
}

/* HERO IMAGE & CARDS */
.hero-image-wrapper {
  position: relative;
}

.hero-card-preview {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-lg);
  background-color: var(--color-bg-white);
}

.hero-img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  display: block;
}

.floating-badge {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.9rem 1.35rem;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.floating-badge svg {
  stroke: var(--color-accent) !important;
  flex-shrink: 0;
}

.floating-badge strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-text-main);
  font-weight: 700;
}

.floating-badge span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.badge-top {
  top: 2rem;
  left: -1.5rem;
}

.badge-bottom {
  bottom: 2rem;
  right: -1.5rem;
}

/* TRUST STRIP */
.trust-strip {
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-card-border);
  border-bottom: 1px solid var(--color-card-border);
  padding: 1.85rem 0;
}

.trust-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.trust-item svg {
  stroke: var(--color-accent) !important;
  flex-shrink: 0;
}

/* SECTIONS COMMON */
.section {
  padding: 5.5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.45rem;
  color: var(--color-text-main);
  margin-bottom: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--color-text-sub);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* ABOUT SECTION */
.about-section {
  background-color: var(--color-bg-white);
}

.about-section .section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.about-text-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.about-text-column .paragraph {
  margin-bottom: 1.25rem;
}

.about-text-column .paragraph:last-of-type {
  margin-bottom: 1.75rem;
}

.about-image-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.image-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: stretch;
}

.img-main {
  width: 84%;
  height: 100%;
  min-height: 400px;
  max-height: 520px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-md);
  display: block;
  object-fit: cover;
}

.img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 54%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-md);
  border: 4px solid var(--color-bg-white);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  z-index: 2;
}

.about-bullets {
  display: grid;
  gap: 1.25rem;
  margin-top: auto;
}

.bullet-card {
  display: flex;
  gap: 1.15rem;
  background-color: var(--color-bg-white);
  padding: 1.35rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.bullet-card:hover {
  border-color: var(--color-card-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bullet-icon {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  padding: 0.65rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  flex-shrink: 0;
}

.bullet-icon svg {
  stroke: var(--color-accent) !important;
}

.bullet-card h4 {
  font-size: 1.18rem;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.bullet-card p {
  font-size: 1.05rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* SERVICES SECTION */
.services-section {
  background-color: var(--color-bg-page);
  border-top: 1px solid var(--color-card-border);
  border-bottom: 1px solid var(--color-card-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

.service-image {
  height: 220px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

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

.service-body {
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.35rem;
  color: var(--color-text-main);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Описание услуги — четкое, крупное, легко читаемое */
.service-desc {
  color: var(--color-text-sub);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.65rem;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-bg-subtle);
}

.service-link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.02rem;
}

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

/* WHY SECTION & FEATURES GRID */
.why-section {
  background-color: var(--color-bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.feature-card {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.75rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.feature-card:hover {
  background-color: var(--color-bg-white);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: var(--color-accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.feature-icon svg {
  stroke: var(--color-accent) !important;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--color-text-main);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

/* Описание преимуществ — увеличенный комфортный шрифт */
.feature-card p {
  color: var(--color-text-sub);
  font-size: 1.05rem;
  line-height: 1.6;
}

.specs-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.75rem;
  background-color: var(--color-bg-accent-soft);
  border: 1px solid #BFDBFE;
  border-radius: var(--border-radius-md);
  padding: 1.65rem 2.25rem;
  box-shadow: var(--shadow-sm);
}

.spec-bar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1E3A8A;
}

.spec-bar-item svg {
  stroke: var(--color-accent) !important;
}

/* PROCESS SECTION (Контрастный блок с белыми буквами на темном фото-фоне) */
.process-section {
  position: relative;
  background-color: #0b1726;
  background-image: linear-gradient(rgba(11, 23, 38, 0.88), rgba(11, 23, 38, 0.88)), url('../assets/semak/repair-process-background-14e79a2b.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-section .section-tag {
  color: #38BDF8;
}

.process-section .section-title {
  color: #FFFFFF;
}

.process-section .section-subtitle {
  color: #E2E8F0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.step-item {
  background-color: rgba(20, 36, 58, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.step-item:hover {
  transform: translateY(-5px);
  border-color: #38BDF8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.step-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #38BDF8;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-item h3 {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.step-item p {
  color: #F1F5F9;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* REVIEWS SECTION */
.reviews-section {
  background-color: var(--color-bg-page);
  border-bottom: 1px solid var(--color-card-border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: var(--color-accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.reviewer-name {
  font-size: 1.18rem;
  color: var(--color-text-main);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.review-meta {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.review-content {
  color: var(--color-text-sub);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 1.65rem;
  flex-grow: 1;
}

.review-content p {
  margin: 0;
}

.review-tag {
  display: inline-block;
  background-color: var(--color-accent-light);
  color: #0369A1;
  padding: 0.4rem 0.95rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  width: fit-content;
  border: 1px solid #BAE6FD;
}

/* CONTACT SECTION & FORM */
.contact-section {
  position: relative;
  background-color: var(--color-bg-white);
  background-image: linear-gradient(rgba(248, 250, 252, 0.94), rgba(248, 250, 252, 0.94)), url('../assets/semak/contact-background-ddc2b090.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--color-card-border);
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-details {
  display: grid;
  gap: 1.65rem;
  margin-top: 2.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.contact-icon {
  background-color: var(--color-accent-light);
  padding: 0.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  stroke: var(--color-accent) !important;
}

.detail-label {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.detail-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  transition: color var(--transition-fast);
}

.detail-value:hover {
  color: var(--color-accent);
}

.vk-link {
  color: var(--color-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.vk-link:hover {
  text-decoration: underline;
  color: var(--color-accent-hover);
}

.lead-form {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.5rem;
  color: var(--color-text-main);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.form-subtitle {
  color: var(--color-text-sub);
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 1.65rem;
}

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

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

.form-input {
  width: 100%;
  background-color: var(--color-bg-white);
  border: 1.5px solid #CBD5E1;
  border-radius: var(--border-radius-sm);
  padding: 0.9rem 1.1rem;
  color: var(--color-text-main);
  font-family: var(--font-family);
  font-size: 1.05rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
  background-color: var(--color-bg-white);
}

.form-textarea {
  resize: vertical;
}

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.65rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.form-agree input {
  margin-top: 0.25rem;
  accent-color: var(--color-accent);
}

.form-agree a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* FOOTER (Солидный темно-синий корпоративный стиль) */
.site-footer {
  background-color: #0B192C;
  border-top: 1px solid #1E293B;
  padding: 4.5rem 0 2.5rem;
  color: #CBD5E1;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3.5rem;
}

.footer-about .logo-link {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-desc {
  color: #94A3B8;
  font-size: 1rem;
  line-height: 1.65;
  margin: 1.25rem 0;
}

.footer-copyright {
  color: #64748B;
  font-size: 0.92rem;
}

.footer-heading {
  font-size: 1.18rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 1.02rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: #38BDF8;
  padding-left: 4px;
}

.footer-phone {
  font-weight: 700;
  font-size: 1.25rem;
  color: #FFFFFF !important;
}

.footer-phone:hover {
  color: #38BDF8 !important;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: -120px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  padding: 1.25rem 0;
  transition: bottom var(--transition-normal);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.cookie-text {
  font-size: 1rem;
  color: var(--color-text-sub);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
}

/* SLIDER STYLES (REVIEWS) */
#i5e7h8 {
  position: relative;
}

#i5e7h8 .slider-wrapper {
  position: relative;
  margin: 0 -0.5rem;
}

#i5e7h8 .reviews-slider {
  width: 100%;
}

#i5e7h8 .reviews-slider:not(.slick-initialized) {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.5rem 1.5rem;
}

#i5e7h8 .reviews-slider:not(.slick-initialized)::-webkit-scrollbar {
  display: none;
}

#i5e7h8 .reviews-slider:not(.slick-initialized) .review-card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  min-width: 290px;
}

#i5e7h8 .slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

#i5e7h8 .slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0.5rem 0 1.25rem;
}

#i5e7h8 .slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  align-items: stretch;
}

#i5e7h8 .slick-slide {
  height: auto;
  display: flex !important;
  padding: 0 0.75rem;
  box-sizing: border-box;
}

#i5e7h8 .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-bg-white);
  border: 1.5px solid var(--color-card-border);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

#i5e7h8 .slider-btn:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

#i5e7h8 .slider-btn-prev {
  left: -24px;
}

#i5e7h8 .slider-btn-next {
  right: -24px;
}

#i5e7h8 .slider-pagination,
#i5e7h8 .slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0 0;
}

#i5e7h8 .slick-dots li {
  margin: 0;
  display: inline-block;
}

#i5e7h8 .slick-dots li button,
#i5e7h8 .slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #CBD5E1;
  border: none;
  font-size: 0;
  line-height: 0;
  color: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

#i5e7h8 .slick-dots li.slick-active button,
#i5e7h8 .slider-dot.is-active {
  background-color: var(--color-accent);
  width: 28px;
  border-radius: 6px;
}

/* SECTION SPECIFIC ID OVERRIDES */
#irfo7s .service-footer {
  justify-content: center;
}

#irfo7s .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#ie0e0f {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: stretch;
}

#ie0e0f .img-main {
  width: 84%;
  height: 100%;
  min-height: 400px;
  max-height: 520px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-card-border);
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

#ie0e0f .img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 54%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-md);
  border: 4px solid var(--color-bg-white);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  z-index: 2;
}

#kontakty .contact-card-wrapper {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-lg);
}

#kontakty .lead-form {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-card-border);
}

#kontakty .form-input {
  background-color: var(--color-bg-white);
  border: 1.5px solid #CBD5E1;
  color: var(--color-text-main);
}

#kontakty .form-input:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-card-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 3rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  #i5e7h8 .reviews-slider:not(.slick-initialized) .review-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-white);
    border-bottom: 2px solid var(--color-accent);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    padding: 1.75rem;
    display: none;
    z-index: 999;
  }

  .main-nav.is-open {
    display: block;
  }

  #mainNav .menu--semak-main > ul {
    flex-direction: column;
    gap: 1.25rem;
  }

  #mainNav .menu--semak-main > ul > li > a {
    font-size: 1.15rem;
    display: block;
    padding: 0.5rem 0;
  }

  .btn-header {
    display: none;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .stat-divider {
    display: none;
  }

  .badge-top, .badge-bottom {
    position: static;
    margin: 0.75rem 0;
  }

  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .about-section .section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-column {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  #ie0e0f {
    min-height: 320px;
    height: auto;
  }

  #ie0e0f .img-main {
    width: 88%;
    min-height: 280px;
    height: auto;
  }

  #ie0e0f .img-sub {
    width: 52%;
    bottom: 0;
    right: 0;
  }

  #i5e7h8 .slider-btn {
    display: none;
  }

  #i5e7h8 .slider-wrapper {
    margin: 0;
  }

  #i5e7h8 .reviews-slider:not(.slick-initialized) .review-card {
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 576px) {
  .logo-img {
    height: 85px;
  }
  
  .header-phone svg {
    display: none;
  }
  
  .header-phone {
    font-size: 17px;
    padding: 0;
  }
  
  .section, .site-footer {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.12rem;
  }

  .paragraph {
    font-size: 1.08rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    gap: 2rem;
  }
  
  .footer-about .logo-link {
    display: flex;
    width: fit-content;
    margin: 0 auto;
  }
  
  #kontakty .contact-card-wrapper {
    padding: 1.5rem;
  }

  #kontakty .lead-form {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   КНОПКА "НАВЕРХ" (BACK TO TOP)
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 100px;
  bottom: 100px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-accent-gradient);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-gradient-hover);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5);
  color: #FFFFFF;
}

.back-to-top:active {
  transform: translateY(0) scale(0.96);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF !important;
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Адаптивные стили для кнопки "Наверх" */
@media (max-width: 768px) {
  .back-to-top {
    width: 30px;
    height: 30px;
    right: 100px;
    bottom: 100px;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
  }
}
/* Drupal render wrappers and task-specific layout fixes. */
.contact-icon .contact-vk-icon {fill:var(--color-accent);stroke:none!important}
.site-header {position:relative;top:auto;z-index:20;backdrop-filter:none;-webkit-backdrop-filter:none}
.site-header #mainNav .menu--semak-main > ul > li > a {text-transform:uppercase}
.page.front #mainNav .menu--semak-main > ul > li > a[href="/"] {color:var(--color-accent)} .page.front #mainNav .menu--semak-main > ul > li > a[href="/"]::after {width:100%}
.services-section .services-grid {display:block} .services-section .view-content {display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:2rem}
.services-section .views-row {min-width:0} .services-section .service-card {height:100%}
.reviews-section .view-content {display:flex;gap:1.5rem;overflow:visible} .reviews-section .views-row {flex:0 0 calc((100% - 3rem)/3);min-width:0}
.reviews-section .reviews-slider {overflow:hidden}
.reviews-section .reviews-slider > .region {width:100%;min-width:0;flex:0 0 100%}
.reviews-section .review-card {height:100%} .reviews-section .reviews-slider {min-width:0}
.inner-main {padding:80px 0;min-height:60vh;background:var(--color-bg-page)} .inner-main h1 {margin-bottom:2rem}
.inner-main .view-id-semak_services .view-content {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
.inner-main .view-id-semak_reviews .view-content {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}
.inner-main .views-row {min-width:0} .inner-main .service-card,.inner-main .review-card {height:100%}
.inner-main .service-card--listing .service-footer {margin-top:auto}
/* Anonymous review form is an actual Drupal node form, not a duplicated Webform. */
.review-form-section {margin:0 0 2rem;padding:0;background:transparent}
.review-form-section .review-page-title {margin:0 0 2rem}
.review-form-section .review-form-trigger {display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.75rem 1.65rem;border:0;border-radius:8px;background:var(--color-accent-gradient);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.review-form-section .review-form-trigger:focus-visible,.review-form-section .review-form-close:focus-visible {outline:2px solid var(--color-accent);outline-offset:3px}
.review-form-section .review-form-panel {max-width:800px;margin-top:2rem}
.review-form-section .review-form-panel[hidden],.review-form-section .review-form-trigger[hidden] {display:none!important}
.review-form-section .block-formblock {margin:0;padding:2.5rem;background:var(--color-bg-white);border:1px solid var(--color-card-border);border-radius:var(--border-radius-md);box-shadow:var(--shadow-sm)}
.review-form-section .block-formblock > h2 {font-size:2rem;line-height:1.2;margin:0 0 1.75rem;color:var(--color-text-main)}
.review-form-section .node-review-form .form-item {margin:0 0 1.2rem}
.review-form-section .node-review-form .form-item > label,.review-form-section .node-review-form .form-item > .form-required {display:block;margin-bottom:.4rem;color:var(--color-text-main);font-weight:600}
.review-form-section .node-review-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),.review-form-section .node-review-form textarea,.review-form-section .node-review-form select {display:block;width:100%;padding:.82rem 1rem;background:#fff;border:1px solid #CBD5E1;border-radius:8px;color:var(--color-text-main);font:inherit}
.review-form-section .node-review-form textarea {min-height:136px;resize:vertical}
.review-form-section .node-review-form input:focus,.review-form-section .node-review-form textarea:focus {outline:2px solid var(--color-accent);outline-offset:2px}
.review-form-section .node-review-form .form-actions {display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}
.review-form-section .node-review-form .form-actions :is(input,button)[type=submit] {max-width:100%;padding:.85rem 1.6rem;border:0;border-radius:8px;background:var(--color-accent-gradient);color:#fff;font:inherit;font-weight:700;white-space:normal;text-align:center;justify-content:center;cursor:pointer}
.review-form-section .node-review-form .form-actions :is(input,button)[type=submit]:focus-visible {outline:2px solid var(--color-accent);outline-offset:3px}
.review-form-section .review-form-close {max-width:100%;padding:.85rem 1.6rem;border:1px solid var(--color-accent);border-radius:8px;background:#fff;color:var(--color-accent);font:inherit;font-weight:700;white-space:normal;cursor:pointer}
.review-form-section .review-form-close:hover {background:var(--color-bg-page)}
@media(max-width:767px){.review-form-section .block-formblock{padding:1.5rem}.review-form-section .block-formblock > h2{font-size:1.5rem}}
.inner-main .service-detail-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:2rem}
.inner-main .service-detail-media img {display:block;width:100%;height:auto;border-radius:var(--border-radius-md)}
.inner-main .service-detail-content {min-width:0;overflow-wrap:anywhere;font-size:1.1rem;line-height:1.75;color:var(--color-text-main)}
.inner-main .service-detail-content p {margin:0 0 1.25rem}
.inner-main .service-detail-content :is(ul,ol) {margin:0 0 1.25rem;padding-left:1.5rem}
.inner-main .tabs ul,.inner-main ul.nav-tabs {display:flex;flex-direction:row;gap:1rem;flex-wrap:wrap;list-style:none;padding:0;margin:0 0 1.5rem}
.contact-info-col .contact-details {margin-top:1.05rem}
.contact-form-col .webform-submission-form {display:block} .contact-form-col .form-item {margin-bottom:1.35rem}
.contact-form-col input:not([type=checkbox]),.contact-form-col textarea {width:100%;padding:.9rem 1.1rem;border:1.5px solid #CBD5E1;border-radius:var(--border-radius-sm);font-family:var(--font-family);font-size:1.05rem;line-height:normal}
.contact-form-col textarea {height:88px}
.contact-form-col .form-item label {display:block;font-size:.98rem;font-weight:600;margin-bottom:.45rem} .contact-form-col input[type=checkbox] {width:auto}
.contact-form-col .form-item-privacy {display:grid;grid-template-columns:13px minmax(0,1fr);column-gap:.65rem;align-items:start;margin-bottom:1.65rem;font-size:.9rem;line-height:1.45;color:var(--color-text-muted)}
.contact-form-col .form-item-privacy input {grid-column:1;margin-top:.25rem}
.contact-form-col .form-item-privacy label {grid-column:2;margin:0;font-size:inherit;font-weight:400}
.contact-form-col .form-item-privacy .description {grid-column:2;margin:0}
.contact-form-col button[type=submit] {width:100%;height:46px;min-height:0;background:var(--color-accent-gradient);border:0;color:white;border-radius:8px;padding:0 1.75rem;font:inherit;font-weight:700;cursor:pointer;display:inline-flex;justify-content:center;align-items:center}
.service-card.contextual-region,.review-card.contextual-region {position:relative} .service-card > .contextual,.review-card > .contextual {z-index:600}
/* Editorial Views retain the reference grids without styling contextual controls. */
.process-section .steps-grid,.why-section .features-grid {display:block}
.process-section .steps-grid .view-content {display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:2rem}
.why-section .features-grid .view-content {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.75rem}
.process-section .views-row,.why-section .views-row {min-width:0;height:100%}
.process-section .step-item,.why-section .feature-card {height:100%}
.process-section .step-item > .contextual,.why-section .feature-card > .contextual,.why-section .spec-bar-item > .contextual {z-index:600}
.why-section .specs-bar .region-benefits-specs {width:100%}
.why-section .specs-bar .view-content {display:flex;justify-content:space-around;flex-wrap:wrap;gap:1.75rem}
.why-section .specs-bar .views-row {height:auto}
.process-section .step-item .field--name-field-step-number {font-size:2.6rem;color:#38BDF8;font-weight:800;line-height:1;margin-bottom:1rem}
.process-section .step-item .field--name-field-step-heading {font-size:1.25rem;line-height:1.25;color:#fff;font-weight:700;margin-bottom:.65rem}
.process-section .step-item .field--name-field-step-description {color:#F1F5F9;font-size:1.05rem;line-height:1.6}
.why-section .feature-card .field--name-field-benefit-heading {font-size:1.25rem;line-height:1.25;color:var(--color-text-main);font-weight:700;margin-bottom:.65rem}
.why-section .feature-card .field--name-field-benefit-description {color:var(--color-text-sub);font-size:1.05rem;line-height:1.6}
.why-section .feature-card .field--name-field-benefit-icon {display:none}
.why-section .spec-bar-item .field--name-field-spec-text {font:inherit;color:inherit}
.about-section .about-text-column .field--name-body {display:contents}
.inner-main .about-detail .field--name-field-about-detail {font-size:1.1rem;line-height:1.75;color:var(--color-text-main)}
.inner-main .about-detail .field--name-field-about-detail p {margin:0 0 1.25rem}
@media(max-width:991px){.reviews-section .views-row{flex-basis:calc((100% - 1.5rem)/2)}.inner-main .view-id-semak_services .view-content{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.services-section .view-content,.inner-main .view-id-semak_services .view-content,.inner-main .view-id-semak_reviews .view-content{grid-template-columns:1fr}.reviews-section .views-row{flex-basis:100%}.contact-form-col textarea{height:114px}}
/* Fixed cookie notice: its height is content-dependent, not the old 120px offset. */
.cookie-banner{bottom:0;transform:translateY(100%);visibility:hidden;pointer-events:none;transition:transform var(--transition-normal),visibility var(--transition-normal);padding:.75rem 0}
.cookie-banner.show{bottom:0;transform:translateY(0);visibility:visible;pointer-events:auto}
.cookie-container{gap:1rem}
.cookie-text{margin:0;font-size:.9rem;line-height:1.4;min-width:0}
.cookie-container #cookieAccept{flex:0 0 auto;min-height:40px;white-space:nowrap}
/* Grid items must shrink inside the card; the contact details set the old min-content track. */
.contact-card-wrapper > .contact-info-col,.contact-card-wrapper > .contact-form-col{min-width:0}
.contact-detail-item > div:last-child{min-width:0;overflow-wrap:anywhere}
.contact-form-col .lead-form{min-width:0;max-width:100%}
@media screen and (max-width:1200px){
  .contact-card-wrapper{min-width:0}
  #i5e7h8 .slider-btn-prev{left:-8px}
  #i5e7h8 .slider-btn-next{right:-8px}
}
/* Keep all three header groups on one line before the mobile menu takes over. */
@media screen and (min-width:992px) and (max-width:1200px){
  .header-container{gap:1rem}
  #mainNav .menu--semak-main > ul{gap:1rem}
  #mainNav .menu--semak-main > ul > li > a{font-size:1rem;white-space:nowrap}
  .header-actions{gap:.75rem}
  .header-phone{font-size:1rem;white-space:nowrap;padding:.3rem 0}
  .header-phone svg{display:none}
  .header-actions .btn-header{font-size:1rem;padding:.75rem 1rem}
}
@media screen and (max-width:991px){
  .contact-card-wrapper{grid-template-columns:minmax(0,1fr)}
  .mobile-toggle{display:flex}
  .btn-header{display:none}
  .main-nav{position:fixed;top:73px;left:0;width:100%;background-color:var(--color-bg-white);border-bottom:2px solid var(--color-accent);box-shadow:0 10px 25px rgba(15,23,42,.1);padding:1.75rem;display:none;z-index:999}
  .main-nav.is-open{display:block}
  #mainNav .menu--semak-main > ul{flex-direction:column;gap:1.25rem}
  #mainNav .menu--semak-main > ul > li > a{font-size:1.15rem;display:block;padding:.5rem 0}
}
@media screen and (max-width:768px){
  .hero-section .hero-stats{display:none}
  .back-to-top{right:30px;bottom:max(100px,calc(var(--semak-cookie-height,0px) + 16px))}
  .cookie-container{flex-direction:row;align-items:center;gap:.75rem}
  .cookie-banner{padding:.625rem 0}
  .cookie-text{font-size:.875rem;line-height:1.35}
  /* The View wrapper, not the outer bar, distributes rows with space-around. */
  .why-section .view-id-semak_service_specs.view-display-id-block_1 .view-content{flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:.85rem}
  .why-section .view-id-semak_service_specs.view-display-id-block_1 .views-row{width:100%;min-width:0;justify-content:flex-start;text-align:left}
  .why-section .view-id-semak_service_specs.view-display-id-block_1 .views-row svg{flex:0 0 20px}
  .why-section .view-id-semak_service_specs.view-display-id-block_1 .block-content{min-width:0}
}
@media screen and (max-width:576px){
  .cookie-container{flex-direction:column;align-items:stretch;gap:.5rem}
  .cookie-container #cookieAccept{width:100%;min-height:38px;padding:.45rem 1rem}
  .contact-detail-item{gap:.75rem}
  .section-title,.inner-main h1{overflow-wrap:anywhere}
  .hero-container{grid-template-columns:minmax(0,1fr)}
  .hero-content,.hero-image-wrapper{min-width:0}
}
@media screen and (max-width:360px){
  .hero-cta-group .btn{width:100%;max-width:100%;white-space:normal}
}
