/* ==========================================================================
   ТОВ «ПРОФДЕЗІНФЕКЦІЯ ЗАКАРПАТТЯ» - Головні стилі (CSS3)
   Clean, Modern, Responsive & CMS-Ready
   ========================================================================== */

:root {
  /* Офіційний червоний колір захисного щита логотипу */
  --brand-red: #C8102E;
  --brand-red-dark: #A30D24;
  --brand-red-light: #FEE2E2;
  --brand-red-gradient: linear-gradient(135deg, #C8102E 0%, #DC2626 100%);
  --brand-red-glow: 0 0 20px rgba(200, 16, 46, 0.4);

  /* Глибокий темно-синій санітарно-медичний колір */
  --brand-navy: #0A2540;
  --brand-navy-dark: #06182B;
  --brand-navy-light: #EBF4FC;
  --brand-navy-gradient: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);

  --primary: #0A2540;
  --primary-dark: #06182B;
  --primary-blue: #0F4C81;
  --primary-light: #F1F5F9;

  --accent: #C8102E;
  --accent-dark: #A30D24;
  --accent-light: #FEE2E2;
  --accent-gradient: linear-gradient(135deg, #C8102E 0%, #DC2626 100%);

  --eco-green: #10B981;
  --eco-green-light: #D1FAE5;
  --accent-orange: #F97316;
  --danger: #C8102E;
  --warning: #F59E0B;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(200, 16, 46, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --content-width: 1240px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

ul, ol {
  list-style: none;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Helpers */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--brand-red-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #A30D24 0%, #BE123C 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.45);
}

.btn-danger,
.btn-emergency {
  background: linear-gradient(135deg, #C8102E 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
}

.btn-danger:hover,
.btn-emergency:hover {
  background: linear-gradient(135deg, #A30D24 0%, #B91C1C 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.45);
}

.btn-secondary {
  background: var(--brand-navy-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #06182B 0%, #0A2540 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--brand-red);
  border: 2px solid var(--brand-red);
}

.btn-outline:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.btn-white {
  background: #FFFFFF;
  color: var(--brand-navy);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10, 37, 64, 0.12);
}

.btn-white:hover {
  background: var(--brand-navy-light);
  color: var(--brand-navy);
  transform: translateY(-2px);
  border-color: var(--brand-navy);
}

.btn-sm {
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */

.topbar {
  background: var(--primary-dark);
  color: #E2E8F0;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-socials span {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-right: 0.15rem;
}

.topbar-socials a,
.topbar-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  flex-shrink: 0;
}

.topbar-socials a svg,
.topbar-social-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}

.topbar-socials a:hover,
.topbar-social-btn:hover {
  transform: translateY(-2px) scale(1.12);
  color: #FFFFFF;
}

.topbar-socials a.viber:hover,
.topbar-social-btn.viber:hover {
  background: #7360F2;
  box-shadow: 0 3px 10px rgba(115, 96, 242, 0.45);
}

.topbar-socials a.telegram:hover,
.topbar-social-btn.telegram:hover {
  background: #229ED9;
  box-shadow: 0 3px 10px rgba(34, 158, 217, 0.45);
}

.topbar-socials a.whatsapp:hover,
.topbar-social-btn.whatsapp:hover {
  background: #25D366;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.45);
}

/* Messenger Pills in Footer & Cards */
.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1;
}

.social-pill-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

.social-pill-btn:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
}

.social-pill-btn.viber {
  background: rgba(115, 96, 242, 0.2);
  border: 1px solid rgba(115, 96, 242, 0.4);
}
.social-pill-btn.viber:hover {
  background: #7360F2;
  box-shadow: 0 4px 12px rgba(115, 96, 242, 0.4);
}

.social-pill-btn.telegram {
  background: rgba(34, 158, 217, 0.2);
  border: 1px solid rgba(34, 158, 217, 0.4);
}
.social-pill-btn.telegram:hover {
  background: #229ED9;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4);
}

.social-pill-btn.whatsapp {
  background: rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.social-pill-btn.whatsapp:hover {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.social-pill-btn.instagram {
  background: rgba(225, 48, 108, 0.18);
  border: 1px solid rgba(225, 48, 108, 0.4);
}
.social-pill-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.social-pill-btn.tiktok {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.social-pill-btn.tiktok:hover {
  background: #000000;
  box-shadow: -2px 0 10px rgba(0, 242, 234, 0.5), 2px 0 10px rgba(255, 0, 79, 0.5);
  border-color: #00f2fe;
}

.social-pill-btn.facebook {
  background: rgba(24, 119, 242, 0.2);
  border: 1px solid rgba(24, 119, 242, 0.4);
}
.social-pill-btn.facebook:hover {
  background: #1877F2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1.25rem;
  transition: padding 0.25s ease;
}

.site-header.scrolled .header-inner {
  padding: 0.45rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(200, 16, 46, 0.22);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 5px 16px rgba(200, 16, 46, 0.32);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-text-name {
  font-weight: 900;
  font-size: 1.15rem;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand-text-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  white-space: nowrap;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
  position: relative;
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
  display: inline-block;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--brand-red);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}

.header-phone-box {
  display: flex;
  flex-direction: column;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--eco-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.phone-status::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--eco-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: pulseDot 2s infinite;
}

.header-phone-box .phone-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-phone-box .phone-val {
  font-weight: 800;
  color: #0F172A;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.header-phone-box .phone-val:hover {
  color: var(--brand-red);
}

.mobile-toggle {
  display: none;
  background: #F1F5F9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--brand-red-light);
  color: var(--brand-red);
  border-color: var(--brand-red);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #0C2138 0%, #040D18 75%, #02070D 100%);
  color: #FFFFFF;
  padding: 2.75rem 0 2.25rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #F8FAFC;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-badge:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
}

.badge-status-dot {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  opacity: 0.95;
  box-shadow: none;
  animation: badge-dot-subtle 3s infinite ease-in-out;
}

@keyframes badge-dot-subtle {
  0%, 100% { opacity: 0.65; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.badge-shield-icon {
  width: 17px;
  height: 17px;
  color: #34D399;
  flex-shrink: 0;
  filter: none;
}

.badge-extra-tag {
  background: rgba(255, 255, 255, 0.07);
  color: #E2E8F0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  margin-left: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-arrow-icon {
  color: #64748B;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: -0.15rem;
}

.hero-badge:hover .badge-arrow-icon {
  transform: translateX(3px);
  color: #E2E8F0;
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #34D399;
}

.hero-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: #34D399;
  line-height: 1;
}

.stat-label {
  font-size: 0.825rem;
  color: #94A3B8;
  margin-top: 0.35rem;
}

/* Hero Cases Quick-Action Button */
.hero-cases-action {
  margin-top: 1.75rem;
}

.btn-hero-cases {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(10, 37, 64, 0.75) 100%);
  border: 1px solid rgba(52, 211, 153, 0.45);
  padding: 0.65rem 1.25rem 0.65rem 0.85rem;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 0 15px rgba(52, 211, 153, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-cases:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28) 0%, rgba(15, 76, 129, 0.9) 100%);
  border-color: rgba(52, 211, 153, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35), inset 0 0 20px rgba(52, 211, 153, 0.25);
  color: #FFFFFF;
}

.btn-hero-cases-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.25);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.6);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}

.btn-hero-cases-text {
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

.btn-hero-cases-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #A7F3D0;
  background: rgba(52, 211, 153, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.btn-hero-cases-arrow {
  color: #34D399;
  transition: transform 0.25s ease;
  margin-left: 0.15rem;
}

.btn-hero-cases:hover .btn-hero-cases-arrow {
  transform: translateX(4px);
  color: #6EE7B7;
}

/* Hero Lead Card */
.hero-card {
  background: #FFFFFF;
  color: var(--text-main);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.hero-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

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

/* ==========================================================================
   TRUST BADGES / BENEFITS
   ========================================================================== */

.trust-section {
  padding: 2.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-heading {
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.trust-section-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  color: var(--brand-navy);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0.65rem 0;
}

.trust-section-subtitle {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ===========================
   WORKS PHOTO SLIDER
=========================== */
.works-slider-wrapper {
  position: relative;
  margin: 2.25rem 0 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  user-select: none;
  touch-action: pan-y;
  background: #060f1a;
}

.works-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.works-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.works-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.works-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 7s ease;
}

.works-slide.active .works-slide-img {
  transform: scale(1.06);
}

.works-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.25rem 2rem 1.6rem;
  background: linear-gradient(to top, rgba(2, 7, 13, 0.9) 0%, rgba(2, 7, 13, 0.55) 60%, transparent 100%);
  color: #fff;
}

.works-slide-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(52, 211, 153, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #6EE7B7;
  padding: 0.2em 0.75em;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}

.works-slide-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin: 0;
}

/* Arrows */
.works-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(4, 13, 24, 0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.works-slider-arrow:hover {
  background: rgba(52, 211, 153, 0.28);
  border-color: rgba(52, 211, 153, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.works-slider-prev { left: 1rem; }
.works-slider-next { right: 1rem; }

/* Dots */
.works-slider-dots {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.works-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.works-dot.active {
  background: #34D399;
  border-color: #34D399;
  transform: scale(1.3);
}

.works-dot:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.25);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}


.trust-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-height: 80px;
  padding: 1.25rem 1rem;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.trust-item:hover {
  border-color: rgba(200, 16, 46, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: #FFFFFF;
}

.trust-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: #FEE2E2;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.trust-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.trust-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.section-padding {
  padding: 2.5rem 0;
}

/* ==========================================================================
   SERVICES SECTION (Full horizontal showcase with neat horizontal lines)
   ========================================================================== */
.services-section-wrapper {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #E8EEF5;
  border-bottom: 1px solid #E8EEF5;
}

/* Decorative Section Tag Flank Lines (horizontal) */
.section-tag-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.section-tag-wrapper .section-tag {
  margin-bottom: 0;
}

.tag-flank-line {
  display: inline-block;
  width: 44px;
  height: 2px;
  border-radius: 2px;
}

.tag-flank-line.left {
  background: linear-gradient(90deg, transparent, var(--brand-red));
}

.tag-flank-line.right {
  background: linear-gradient(90deg, var(--brand-red), transparent);
}

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

/* Neat horizontal separator between header and slider */
.services-header-separator {
  height: 1px;
  max-width: 680px;
  margin: 1.25rem auto 0;
  background: linear-gradient(90deg, transparent 0%, rgba(203, 213, 225, 0.8) 20%, rgba(200, 16, 46, 0.4) 50%, rgba(203, 213, 225, 0.8) 80%, transparent 100%);
}

@media (max-width: 640px) {
  .tag-flank-line {
    width: 24px;
  }
  .services-main-catalog-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ==========================================================================
   SERVICES NAVIGATION HUB (Styled identical to instructions-nav)
   ========================================================================== */
.services-hero-section + .services-nav-section {
  /* no gap between hero and nav */
}

.services-nav-section {
  position: relative;
  isolation: isolate;
  background: #FAFAF9;
  padding: 1.5rem 0 1.75rem;
  scroll-margin-top: 85px;
}

.services-nav-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Anchor to the top so filtering shorter lists cannot recenter the logo. */
  background: url('../logo.png') center top 24px / min(90vw, 420px) auto no-repeat;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: 0.045;
  pointer-events: none;
}

.services-nav-hub {
  position: relative;
  padding: 0;
  margin-bottom: 0;
  color: var(--primary-dark);
}

.services-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.services-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.75rem 0.55rem;
  border-radius: var(--radius-md);
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.3;
  user-select: none;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.services-tab-btn:hover {
  background: #F1F5F9;
  color: var(--primary-dark);
}

.services-tab-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  border-color: var(--brand-navy);
}

.service-tab-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  transition: all 0.25s ease;
}

.services-tab-btn:hover .service-tab-icon {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #B91C1C;
}

.services-tab-btn.active .service-tab-icon {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #FFFFFF;
}

.service-tab-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  overflow: hidden;
}

.service-tab-name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1E293B;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-tab-hint {
  color: #64748B;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.25;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-tab-btn.active .service-tab-hint {
  color: #CBD5E1;
}

.services-tab-btn.active .service-tab-name {
  color: #FFFFFF;
}

/* Quick Jumper Links (Clean, Technical, No Emojis) */
.services-quick-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #E2E8F0;
  gap: 0.75rem;
}

.services-quick-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}

.services-quick-title svg {
  color: #EF4444;
}

.services-quick-count {
  font-size: 0.74rem;
  color: #475569;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #E2E8F0;
  white-space: nowrap;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
}

.services-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.service-quick-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #DDE2E7;
  border-radius: 12px;
  text-decoration: none;
  color: #1E293B;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}

.service-quick-btn:hover {
  background: #FFFFFF;
  border-color: #94A3B8;
  color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.services-tab-btn:focus-visible,
.service-quick-btn:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

.service-quick-icon-wrap {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  transition: all 0.2s ease;
}

.service-quick-btn:hover .service-quick-icon-wrap {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #FFFFFF;
}

.service-quick-label {
  flex-grow: 1;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #334155;
  transition: color 0.2s ease;
}

.service-quick-btn:hover .service-quick-label {
  color: #0F172A;
}

.service-quick-chevron {
  flex-shrink: 0;
  color: #64748B;
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-quick-btn:hover .service-quick-chevron {
  color: #B91C1C;
  transform: translateY(2px);
}

/* Responsive layout for Services Nav */
@media (max-width: 1200px) {
  .services-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .services-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-nav-hub {
    padding: 1rem 0 0;
  }
  .services-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .services-tab-btn {
    padding: 0.65rem 0.5rem;
    gap: 0.5rem;
  }
  .services-quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .services-nav {
    grid-template-columns: 1fr;
  }
}

.services-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-grid::-webkit-scrollbar,
.products-grid::-webkit-scrollbar,
.card-slider::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.card-slider {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.card-slider.is-dragging {
  cursor: grabbing !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.card-slider.is-dragging * {
  pointer-events: none !important;
}

.slider-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.35rem auto 0;
  padding: 0;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8102E 0%, #E01E37 100%);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.38);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: linear-gradient(135deg, #092C4D 0%, #0F4C81 100%);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 18px rgba(9, 44, 77, 0.35);
}

.slider-arrow:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.25);
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.slider-arrow[data-slider-prev]:hover svg {
  transform: translateX(-2px);
}

.slider-arrow[data-slider-next]:hover svg {
  transform: translateX(2px);
}

.slider-arrow:focus-visible, .btn:focus-visible, .filter-btn:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.4);
  outline-offset: 3px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  flex: 0 0 min(370px, calc(100% - 0.75rem));
  min-height: 380px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: start;
}

/* Внутрішня сторінка послуг лишається повним каталогом, а не слайдером. */
.services-grid:not(.card-slider) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  overflow: visible;
  padding: 0;
  gap: 1.75rem;
}
.services-grid:not(.card-slider) .service-card {
  flex: initial;
  min-height: 0;
  padding: 2rem;
  scroll-snap-align: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10, 37, 64, 0.12);
  border-color: rgba(200, 16, 46, 0.35);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.service-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF1F2 0%, #FEE2E2 100%);
  color: var(--brand-red);
  border: 1px solid rgba(200, 16, 46, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(200, 16, 46, 0.1);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-box svg [fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}

.service-card:hover .service-icon-box {
  background: var(--brand-red-gradient);
  color: #FFFFFF;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.35);
}

.service-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  background: #FEE2E2;
  color: var(--brand-red);
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: var(--radius-full);
}

.service-badge.badge-navy {
  background: #EBF4FC;
  color: #0F4C81;
  border-color: rgba(15, 76, 129, 0.25);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.55;
}

.service-features {
  margin-bottom: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-color);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* ==========================================================================
   HACCP & B2B SECTION
   ========================================================================== */

.haccp-section {
  background: radial-gradient(ellipse at 50% 0%, #0C2138 0%, #040D18 75%, #02070D 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.haccp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.haccp-content .section-tag {
  background: rgba(200, 16, 46, 0.25);
  color: #FECACA;
  border: 1px solid rgba(200, 16, 46, 0.4);
}

.haccp-content .section-title {
  color: #FFFFFF;
}

.haccp-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.haccp-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.haccp-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.haccp-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #34D399;
}

.haccp-card-desc {
  font-size: 0.85rem;
  color: #E2E8F0;
  line-height: 1.5;
}

/* ==========================================================================
   PRODUCTS CATALOG
   ========================================================================== */

.products-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.15rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.products-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  flex: 0 0 min(300px, calc(100% - 0.75rem));
  min-height: 320px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  scroll-snap-align: start;
}

/* Повний каталог товарів не обмежується горизонтальною стрічкою. */
.products-grid:not(.card-slider) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  overflow: visible;
  padding: 0;
}
.products-grid:not(.card-slider) .product-card {
  flex: initial;
  min-height: 0;
  padding: 1.75rem;
  scroll-snap-align: none;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 185px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F8FAFC;
  margin-bottom: 1.15rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-features {
  margin-bottom: 1rem;
}

.product-features li {
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  padding-left: 1.25rem;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-dark);
}

/* Products Delivery & Logistics Badge */
.products-delivery-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  margin: 1.25rem auto 1.5rem;
  padding: 0.85rem 1.35rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
}

.delivery-banner-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.delivery-banner-icon {
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.delivery-banner-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}

.delivery-banner-item span {
  display: block;
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.35;
}

.delivery-banner-divider {
  width: 1px;
  height: 38px;
  background: #CBD5E1;
}

@media (max-width: 768px) {
  .products-delivery-banner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
  }
  .delivery-banner-divider {
    display: none;
  }
}

.services-catalog-cta-wrap,
.products-catalog-cta-wrap {
  margin: 1.6rem auto 0.5rem;
  display: flex;
  justify-content: center;
}

.btn-catalog-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 1.65rem;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #0F4C81 0%, #0A2540 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px -1px rgba(15, 76, 129, 0.3), 0 2px 6px -1px rgba(10, 37, 64, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-catalog-cta::before {
  display: none !important;
}

.btn-catalog-cta:hover {
  background: linear-gradient(135deg, #C8102E 0%, #A50D24 100%) !important;
  border-color: rgba(200, 16, 46, 0.4);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(200, 16, 46, 0.4), 0 3px 8px rgba(10, 37, 64, 0.12);
}

.btn-catalog-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-catalog-cta-icon svg {
  width: 15px;
  height: 15px;
}

.btn-catalog-cta:hover .btn-catalog-cta-icon {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: scale(1.08);
}

.btn-catalog-arrow {
  width: 16px;
  height: 16px;
  color: #93C5FD;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-catalog-cta:hover .btn-catalog-arrow {
  transform: translateX(4px);
  color: #FFFFFF;
}

@media (max-width: 480px) {
  .btn-catalog-cta {
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 320px;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   INSTRUCTIONS & KNOWLEDGE BASE
   ========================================================================== */

.instructions-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
}

.instructions-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.instructions-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.35;
}

.instructions-tab-btn:hover {
  background: #F1F5F9;
  color: var(--brand-red);
  border-color: rgba(200, 16, 46, 0.3);
  transform: translateY(-2px);
}

.instructions-tab-btn.active {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
  transform: translateY(-1px);
}

.instructions-content-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.instruction-block {
  display: none;
}

.instruction-block.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.instruction-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.instruction-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.instruction-section {
  margin-bottom: 2rem;
}

.instruction-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.instruction-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.instruction-list li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

.alert-box {
  background: #FEF3C7;
  border-left: 4px solid var(--warning);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #92400E;
}

/* ==========================================================================
   REQUISITES & ABOUT US
   ========================================================================== */

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

.requisites-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.requisites-table {
  width: 100%;
  border-collapse: collapse;
}

.requisites-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.requisites-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 35%;
}

.requisites-table td:last-child {
  font-weight: 600;
  color: var(--text-main);
}

.requisites-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   CONTACT SECTION & MAP
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(200, 16, 46, 0.2);
  color: #FECACA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 0.2rem;
}

.contact-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transition: var(--transition);
}

.social-pill-btn:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* Map frame */
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 380px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER (High-Tech, Clean, Premium Glassmorphic)
   ========================================================================== */

.site-footer {
  background: radial-gradient(ellipse at 50% 0%, #0D2642 0%, #051424 55%, #02070D 100%);
  color: #94A3B8;
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr 1fr 1.6fr;
  gap: 2.75rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  backdrop-filter: blur(8px);
}

.footer-brand .brand-text-name {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.footer-brand .brand-text-sub {
  color: #94A3B8;
  font-size: 0.8rem;
}

.footer-brand-desc {
  margin: 1.15rem 0 1.25rem;
  line-height: 1.65;
  color: #CBD5E1;
  font-size: 0.88rem;
}

/* Official Credentials Micro-card */
.footer-requisites-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  color: #94A3B8;
  line-height: 1.55;
  backdrop-filter: blur(10px);
}

.footer-req-row {
  margin-bottom: 0.25rem;
}

.footer-req-row:last-child {
  margin-bottom: 0;
}

.footer-req-row strong {
  color: #E2E8F0;
}

.footer-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.4rem 0.85rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-full);
  color: #6EE7B7;
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-license-badge svg {
  color: #34D399;
  flex-shrink: 0;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.01em;
}

.footer-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 14px;
  background: #34D399;
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.22s ease;
  font-size: 0.9rem;
}

.footer-links a::before {
  content: '›';
  color: rgba(52, 211, 153, 0.5);
  font-size: 1.15rem;
  line-height: 1;
  transition: all 0.22s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-links a:hover::before {
  color: #34D399;
  transform: translateX(2px);
}

/* Contact Hotline Card */
.footer-contact-card {
  background: linear-gradient(145deg, rgba(14, 35, 60, 0.75) 0%, rgba(7, 21, 38, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer-hotline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34D399;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.footer-hotline-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulseGlow 1.8s infinite;
}

.footer-phone-main {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-phone-main svg {
  color: #34D399;
  flex-shrink: 0;
}

.footer-phone-main:hover {
  color: #34D399;
  transform: translateX(3px);
}

.footer-phone-secondary {
  color: #94A3B8;
  font-size: 0.95rem;
  display: block;
  text-decoration: none;
  padding-left: 1.85rem;
  transition: all 0.25s ease;
}

.footer-phone-secondary:hover {
  color: #E2E8F0;
}

.footer-social-block {
  margin-top: 1rem;
}

.footer-social-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.footer-social-grid,
.footer-messengers-grid {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.825rem;
  color: #94A3B8;
  position: relative;
  z-index: 2;
}

.footer-trust-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  color: #CBD5E1;
}

.footer-developer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: #94A3B8;
}

.footer-developer .developer-label {
  color: #94A3B8;
  font-weight: 400;
  white-space: nowrap;
}

.developer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #F1F5F9;
  text-decoration: none;
  padding: 0;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.developer-badge:hover {
  background: rgba(52, 211, 153, 0.2);
  border-color: #34D399;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.3);
}

.developer-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}


@media (max-width: 900px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-top: 1.5rem;
  }
  .footer-trust-badges {
    justify-content: center;
  }
}


/* Floating Back-to-Top button */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.back-to-top-btn:hover {
  background: linear-gradient(135deg, #0F4C81 0%, #C8102E 100%);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 22px rgba(200, 16, 46, 0.35);
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   FLOATING SPEED DIAL (Viber, Telegram, Phone, WhatsApp)
   ========================================================================== */

.speed-dial-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.75rem;
}

.speed-dial-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200, 16, 46, 0.45);
  transition: background-color 180ms ease, box-shadow 180ms ease;
  position: relative;
  animation: none;
}

.speed-dial-main:hover {
  background: var(--accent-dark);
}

.speed-dial-items {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.speed-dial-wrapper.open .speed-dial-items {
  opacity: 1;
  visibility: visible;
}

.speed-dial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transition: background-color 180ms ease, box-shadow 180ms ease;
  position: relative;
}

.speed-dial-btn:hover {
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
}

.speed-dial-main svg, .speed-dial-btn svg { display: block; flex-shrink: 0; }

.speed-dial-btn.viber { background: #7360F2; }
.speed-dial-btn.telegram { background: #229ED9; }
.speed-dial-btn.whatsapp { background: #25D366; }
.speed-dial-btn.phone { background: var(--primary); }

.speed-dial-tooltip {
  position: absolute;
  right: 58px;
  background: #1E293B;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.speed-dial-btn:hover .speed-dial-tooltip {
  opacity: 1;
}

/* ==========================================================================
   MODAL WINDOWS & TOAST
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-backdrop.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F1F5F9;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: #E2E8F0;
  color: var(--danger);
}

.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: #064E3B;
  color: #ECFDF5;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
}

.toast.show {
  transform: translateX(0);
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVENESS
   ========================================================================== */

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.home-page .service-card:nth-child(n+4) .service-features li:nth-child(n+3),
.home-page .product-card .product-features li:nth-child(n+4) {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

/* ==========================================================================
   HACCP FLAGSHIP SPOTLIGHT STYLES
   ========================================================================== */
.haccp-spotlight {
  position: relative;
  background: linear-gradient(135deg, #0A2540 0%, #06182B 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.25);
  border: 1px solid rgba(200, 16, 46, 0.35);
  overflow: hidden;
  margin-top: 1.5rem;
}

.haccp-spotlight::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.haccp-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  background: rgba(200, 16, 46, 0.2);
  border: 1px solid rgba(200, 16, 46, 0.5);
  color: #FECDD3;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.haccp-spotlight-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.haccp-spotlight-title span {
  color: #FDA4AF;
}

.haccp-spotlight-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.haccp-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.haccp-perk-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.haccp-perk-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: rgba(200, 16, 46, 0.4);
}

.haccp-perk-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.haccp-perk-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.haccp-perk-text {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* HACCP Lead Editorial Card (Clean Balanced Typography) */
.haccp-lead-card {
  max-width: 920px;
  margin: 0 auto 2.5rem;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--brand-red);
  border-radius: 18px;
  padding: 1.6rem 2.25rem;
  text-align: left;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: all 0.3s ease;
}

.haccp-lead-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.haccp-lead-text {
  color: #F8FAFC;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
  font-weight: 400;
}

.haccp-lead-text strong {
  color: #FFFFFF;
  font-weight: 800;
}

.haccp-lead-sub {
  color: #CBD5E1;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
}

.haccp-lead-sub strong {
  color: #FDA4AF;
  font-weight: 700;
}

@media (max-width: 768px) {
  .haccp-lead-card {
    padding: 1.25rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 2rem;
  }
  .haccp-lead-text {
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .haccp-lead-sub {
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

/* ==========================================================================
   PORTFOLIO & REAL CASE STUDIES (DARK ANIMATED SECTION)
   ========================================================================== */
.cases-section,
.animated-dark-bg,
.page-header {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #0C2138 0%, #040D18 75%, #02070D 100%);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cases-section {
  padding: 2.5rem 0;
}

.page-header {
  padding: 2.75rem 0 2.25rem;
  color: #FFFFFF;
  text-align: center;
  border-top: none;
}

.cases-section .container,
.animated-dark-bg .container,
.hero-section .container,
.haccp-section .container,
.page-header .container {
  position: relative;
  z-index: 2;
}

/* Animated Ambient Light Orbs */
.anim-bg-glow,
.cases-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.45;
  will-change: transform;
  z-index: 1;
}

.cases-bg-glow.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.45) 0%, rgba(200, 16, 46, 0) 70%);
  top: -150px;
  left: -100px;
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

.cases-bg-glow.orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(10, 37, 64, 0) 70%);
  bottom: -200px;
  right: -100px;
  animation: orbFloat2 24s ease-in-out infinite alternate;
}

.cases-bg-glow.orb-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, rgba(15, 76, 129, 0) 70%);
  top: 40%;
  left: 55%;
  animation: orbFloat3 20s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(140px, 100px, 0) scale(1.2); }
  100% { transform: translate3d(60px, 180px, 0) scale(0.9); }
}

@keyframes orbFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-150px, -120px, 0) scale(1.25); }
  100% { transform: translate3d(-70px, -200px, 0) scale(1.05); }
}

@keyframes orbFloat3 {
  0% { transform: translate3d(0, 0, 0) scale(0.85); }
  50% { transform: translate3d(-100px, 80px, 0) scale(1.3); }
  100% { transform: translate3d(100px, -60px, 0) scale(1); }
}

/* Glowing Accent Scan Line */
.anim-glow-line,
.cases-glow-line { display: none !important; }

@keyframes glowScan {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Emerald Section Tag for Dark Atmospheric Sections (matching .hero-badge) */
.section-tag-emerald,
.cases-section .section-tag,
.page-header .section-tag,
.animated-dark-bg .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 0.3rem 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
}

.section-tag-emerald::before,
.cases-section .section-tag::before,
.page-header .section-tag::before,
.animated-dark-bg .section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: none;
  flex-shrink: 0;
}

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

.cases-section .section-subtitle {
  color: #94A3B8;
}

/* Products Slider (100% container width, floating arrows, perfectly aligned) */
.products-slider-wrap {
  position: relative;
  width: 100%;
  margin-top: 1.25rem !important;
}

.prod-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #0F172A;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-slider-arrow:hover {
  background: #FFFFFF;
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.25);
}

.prod-slider-arrow svg {
  fill: currentColor;
  pointer-events: none;
}

.prod-slider-prev {
  left: -20px;
}

.prod-slider-next {
  right: -20px;
}

.products-slider-wrap .products-grid.card-slider {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  flex-wrap: nowrap !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.25rem;
  margin-top: 0;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.products-slider-wrap .products-grid.card-slider::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* 4 equal product cards on desktop, exactly filling 100% container width */
.products-slider-wrap .products-grid.card-slider .product-card {
  flex: 0 0 calc((100% - 3.75rem) / 4) !important;
  width: calc((100% - 3.75rem) / 4) !important;
  max-width: calc((100% - 3.75rem) / 4) !important;
  min-width: calc((100% - 3.75rem) / 4) !important;
  box-sizing: border-box;
  scroll-snap-align: start;
}

/* Equal vertical typography rhythm for product cards */
.products-slider-wrap .product-card .product-title {
  min-height: 2.75rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.products-slider-wrap .product-card .product-desc {
  min-height: 3.75rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.products-slider-wrap .product-card .product-price-row {
  margin-top: auto !important;
}

@media (max-width: 1140px) and (min-width: 821px) {
  .products-slider-wrap .products-grid.card-slider .product-card {
    flex: 0 0 calc((100% - 2.5rem) / 3) !important;
    width: calc((100% - 2.5rem) / 3) !important;
    max-width: calc((100% - 2.5rem) / 3) !important;
    min-width: calc((100% - 2.5rem) / 3) !important;
  }
}

@media (max-width: 820px) and (min-width: 521px) {
  .products-slider-wrap .products-grid.card-slider .product-card {
    flex: 0 0 calc((100% - 1.25rem) / 2) !important;
    width: calc((100% - 1.25rem) / 2) !important;
    max-width: calc((100% - 1.25rem) / 2) !important;
    min-width: calc((100% - 1.25rem) / 2) !important;
  }
  .prod-slider-arrow {
    width: 38px;
    height: 38px;
  }
  .prod-slider-prev {
    left: -10px;
  }
  .prod-slider-next {
    right: -10px;
  }
}

@media (max-width: 520px) {
  .products-slider-wrap .products-grid.card-slider .product-card {
    flex: 0 0 calc(100% - 2rem) !important;
    width: calc(100% - 2rem) !important;
    max-width: calc(100% - 2rem) !important;
    min-width: calc(100% - 2rem) !important;
  }
  .prod-slider-arrow {
    display: none !important;
  }
}

/* Services Slider (100% container width, floating arrows, perfectly aligned) */
.services-slider-wrap {
  position: relative;
  width: 100%;
  margin-top: 1.25rem !important;
}

.services-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #0F172A;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-slider-arrow:hover {
  background: #FFFFFF;
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.25);
}

.services-slider-arrow svg {
  fill: currentColor;
  pointer-events: none;
}

.services-slider-prev {
  left: -20px;
}

.services-slider-next {
  right: -20px;
}

.services-slider-wrap .services-grid.card-slider {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  flex-wrap: nowrap !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.25rem;
  margin-top: 0;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.services-slider-wrap .services-grid.card-slider::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* 4 equal cards on desktop, exactly filling 100% container width */
.services-slider-wrap .services-grid.card-slider .service-card {
  flex: 0 0 calc((100% - 3.75rem) / 4) !important;
  width: calc((100% - 3.75rem) / 4) !important;
  max-width: calc((100% - 3.75rem) / 4) !important;
  min-width: calc((100% - 3.75rem) / 4) !important;
  box-sizing: border-box;
  scroll-snap-align: start;
}

/* Equal vertical typography rhythm for service cards */
.services-slider-wrap .service-card .service-title {
  min-height: 2.75rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.services-slider-wrap .service-card .service-desc {
  min-height: 3.75rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.services-slider-wrap .service-card .service-footer {
  margin-top: auto !important;
}

@media (max-width: 1140px) and (min-width: 821px) {
  .services-slider-wrap .services-grid.card-slider .service-card {
    flex: 0 0 calc((100% - 2.5rem) / 3) !important;
    width: calc((100% - 2.5rem) / 3) !important;
    max-width: calc((100% - 2.5rem) / 3) !important;
    min-width: calc((100% - 2.5rem) / 3) !important;
  }
}

@media (max-width: 820px) and (min-width: 521px) {
  .services-slider-wrap .services-grid.card-slider .service-card {
    flex: 0 0 calc((100% - 1.25rem) / 2) !important;
    width: calc((100% - 1.25rem) / 2) !important;
    max-width: calc((100% - 1.25rem) / 2) !important;
    min-width: calc((100% - 1.25rem) / 2) !important;
  }
  .services-slider-arrow {
    width: 38px;
    height: 38px;
  }
  .services-slider-prev {
    left: -10px;
  }
  .services-slider-next {
    right: -10px;
  }
}

@media (max-width: 520px) {
  .services-slider-wrap .services-grid.card-slider .service-card {
    flex: 0 0 calc(100% - 2rem) !important;
    width: calc(100% - 2rem) !important;
    max-width: calc(100% - 2rem) !important;
    min-width: calc(100% - 2rem) !important;
  }
  .services-slider-arrow {
    display: none !important;
  }
}

/* Cases Slider Floating Arrows (100% width aligned with gallery) */
.cases-slider-wrap {
  position: relative;
  width: 100%;
}

.cases-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 33, 56, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cases-slider-prev {
  left: -20px;
}

.cases-slider-next {
  right: -20px;
}

.cases-slider-arrow:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

.cases-slider-arrow svg {
  fill: currentColor;
  pointer-events: none;
}

/* cases-grid becomes a flex card-slider when inside slider wrap */
.cases-slider-wrap .cases-grid.card-slider {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.5rem;
  margin-top: 0;
  padding: 0.75rem 0.25rem 1rem;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.cases-slider-wrap .cases-grid.card-slider::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.cases-slider-wrap .cases-grid.card-slider .case-card {
  flex: 0 0 calc((100% - 3rem) / 3) !important;
  width: calc((100% - 3rem) / 3) !important;
  max-width: calc((100% - 3rem) / 3) !important;
  min-width: calc((100% - 3rem) / 3) !important;
  box-sizing: border-box;
  scroll-snap-align: start;
}

@media (max-width: 520px) {
  .cases-slider-arrow {
    display: none !important;
  }
}

.services-slider-wrap .services-grid.card-slider,
.products-slider-wrap .products-grid.card-slider {
  flex: 1;
  min-width: 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}


.case-card {
  background: linear-gradient(160deg, rgba(14, 33, 56, 0.85) 0%, rgba(7, 20, 36, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(200, 16, 46, 0.25);
}

.case-card:hover::before {
  opacity: 1;
}

.case-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.case-facility-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34D399;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.case-facility-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.case-card:hover .case-facility-icon {
  transform: scale(1.06);
  background: rgba(16, 185, 129, 0.22);
  border-color: #34D399;
  color: #FFFFFF;
}

.case-company-name {
  font-weight: 800;
  font-size: 1.02rem;
  color: #FFFFFF;
  line-height: 1.3;
}

.case-location {
  font-size: 0.78rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.case-location svg {
  color: #10B981;
}

.case-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  background: rgba(16, 185, 129, 0.14);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.case-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.case-kpi {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F1F5F9;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.case-task {
  font-size: 0.88rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.case-task strong {
  color: #FFFFFF;
}

.case-result-box {
  margin-top: auto;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #10B981;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.84rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.case-result-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.case-result-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.case-result-text {
  margin: 0;
  color: #CBD5E1;
  font-size: 0.84rem;
  line-height: 1.5;
}

.cases-gallery-block {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cases-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cases-gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #10B981;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cases-gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.cases-gallery-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.cases-cta-banner {
  background: linear-gradient(135deg, rgba(14, 35, 62, 0.95) 0%, rgba(9, 24, 44, 0.98) 100%) !important;
  border: 1px solid rgba(200, 16, 46, 0.35) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 16, 46, 0.15) !important;
}

@media (prefers-reduced-motion: reduce) {
  .cases-bg-glow,
  .cases-glow-line {
    animation: none !important;
  }
}

/* ==========================================================================
   DETAILED SERVICES FULL CATALOG STYLES (services.html)
   ========================================================================== */
.service-detail-block {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px -5px rgba(10, 37, 64, 0.06), 0 4px 12px -2px rgba(10, 37, 64, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  scroll-margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.service-detail-block:hover {
  border-color: #CBD5E1;
  box-shadow: 0 24px 48px -12px rgba(10, 37, 64, 0.12), 0 8px 24px -4px rgba(10, 37, 64, 0.05);
}

.service-detail-block.service-target-active {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.14), 0 20px 42px -10px rgba(10, 37, 64, 0.14);
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: nowrap;
}

.service-detail-header > div:not(.service-detail-icon),
.service-detail-title-wrap {
  flex: 1 1 0%;
  min-width: 0;
}

.service-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1.5px solid rgba(200, 16, 46, 0.18);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  box-shadow: 0 10px 22px -6px rgba(200, 16, 46, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.service-detail-block:hover .service-detail-icon {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 14px 26px -4px rgba(200, 16, 46, 0.3);
}

.service-detail-icon svg {
  width: 38px;
  height: 38px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail-icon svg [fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}

.service-detail-heading {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0A2540;
  line-height: 1.28;
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

.service-detail-header p {
  color: #64748B;
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

/* Descriptive lead quote box */
.service-detail-desc,
.service-detail-block > div:not(.service-detail-header):not(.service-spec-grid):not(.service-detail-footer):not(.cases-bg-glow):not(.cases-glow-line):not(.service-detail-banner):not(.service-card-nav) {
  background: #F8FAFC;
  border-left: 4px solid #0F4C81;
  border-top: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  border-radius: 0 14px 14px 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  position: relative;
}

/* Specifications Grid (4 clean micro-cards) */
.service-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
  margin: 1.75rem 0;
  padding: 0;
  background: transparent;
  border: none;
}

.service-spec-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-spec-item:hover {
  background: #FAFCFF;
  border-color: rgba(15, 76, 129, 0.35);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.08);
  transform: translateY(-2px);
}

.service-spec-item h5 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0F4C81;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.service-spec-item p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  font-weight: 500;
}

/* Service Detail Features Checklist */
.service-detail-block .service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
}

.service-detail-block .service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #1E293B;
  font-weight: 500;
  line-height: 1.5;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  transition: all 0.2s ease;
}

.service-detail-block .service-features li:hover {
  background: #FFFFFF;
  border-color: rgba(15, 76, 129, 0.25);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.04);
}

.service-detail-block .service-features svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  fill: #059669;
  margin-top: 1px;
  filter: drop-shadow(0 1px 2px rgba(5, 150, 105, 0.2));
}

/* Service Detail Footer & Pricing */
.service-detail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid #E2E8F0;
}

.service-detail-footer > div:first-child {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.65rem 1.25rem;
}

.service-price-pill {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--brand-red);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

/* Specific Dark Mode Enhancements for Flagship НАССР Card */
.service-detail-block.haccp-spotlight {
  background: linear-gradient(135deg, #0A2540 0%, #06182B 100%);
  border: 1.5px solid rgba(200, 16, 46, 0.45);
  box-shadow: 0 20px 45px rgba(10, 37, 64, 0.3);
}

.service-detail-block.haccp-spotlight:hover {
  border-color: rgba(200, 16, 46, 0.8);
  box-shadow: 0 25px 55px rgba(10, 37, 64, 0.4), 0 0 20px rgba(200, 16, 46, 0.2);
}

.service-detail-block.haccp-spotlight > div:not(.service-detail-header):not(.service-spec-grid):not(.service-detail-footer):not(.cases-bg-glow):not(.cases-glow-line):not(.service-detail-banner):not(.service-card-nav) {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--brand-red);
  border-top-color: rgba(255, 255, 255, 0.1);
  border-right-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
}

.service-detail-block.haccp-spotlight .service-spec-grid {
  background: transparent !important;
  border: none !important;
}

.service-detail-block.haccp-spotlight .service-spec-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

.service-detail-block.haccp-spotlight .service-spec-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(200, 16, 46, 0.5) !important;
}

.service-detail-block.haccp-spotlight .service-spec-item h5 {
  color: #FDA4AF !important;
}

.service-detail-block.haccp-spotlight .service-spec-item p {
  color: #CBD5E1 !important;
}

.service-detail-block.haccp-spotlight .service-features li {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC !important;
}

.service-detail-block.haccp-spotlight .service-features li:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(200, 16, 46, 0.4) !important;
}

.service-detail-block.haccp-spotlight .service-detail-footer {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
}

.service-detail-block.haccp-spotlight .service-detail-footer > div:first-child {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 768px) {
  .service-detail-block {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }
  .service-detail-header {
    gap: 1rem;
    flex-wrap: nowrap;
  }
  .service-detail-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 14px;
  }
  .service-detail-icon svg {
    width: 26px;
    height: 26px;
  }
  .service-detail-heading {
    font-size: 1.45rem;
  }
  .service-spec-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-block .service-features {
    grid-template-columns: 1fr;
  }
  .service-detail-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .service-detail-footer > div:first-child {
    width: 100%;
    text-align: center;
  }
  .service-detail-footer > div:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .service-detail-footer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   INSTRUCTIONS & PROTOCOLS (instructions.html)
   ========================================================================== */
.instructions-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.instructions-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: #F1F5F9;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.instructions-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
}

.instructions-tab-btn:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--brand-red);
}

.instructions-tab-btn.active {
  background: #FFFFFF;
  color: var(--brand-red);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08);
  border-color: rgba(200, 16, 46, 0.2);
}

.instructions-content-panel {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.instruction-block {
  display: none;
  animation: fadeIn 0.3s ease;
}

.instruction-block.active {
  display: block;
}

.instruction-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.instruction-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-color);
}

.instruction-section {
  margin-bottom: 1.75rem;
}

.instruction-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.6rem;
}

.instruction-list {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: #334155;
  line-height: 1.55;
}

.instruction-list li {
  line-height: 1.55;
}

.alert-box {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  background: #EFF6FF;
  border-left: 4px solid #2563EB;
  color: #1E3A8A;
}

/* ==========================================================================
   CHECKLISTS & FAQ (instructions.html)
   ========================================================================== */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin: 1.5rem 0 2rem;
}

.checklist-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.checklist-card.card-danger {
  border-top: 5px solid var(--brand-red);
}

.checklist-card.card-success {
  border-top: 5px solid #10B981;
}

.checklist-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-color);
}

.checklist-header-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

.checklist-card.card-danger .checklist-header-title {
  color: var(--brand-red);
}

.checklist-card.card-success .checklist-header-title {
  color: #047857;
}

.checklist-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #1E293B;
  line-height: 1.5;
}

.checklist-bullet {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 2px;
}

.checklist-card.card-danger .checklist-bullet {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.checklist-card.card-success .checklist-bullet {
  background: #D1FAE5;
  color: #047857;
}

/* FAQ Styles */
.faq-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.05);
}

.faq-item details {
  padding: 1.25rem 1.5rem;
}

.faq-item summary {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-red);
  transition: transform 0.2s ease;
}

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

.faq-answer {
  margin-top: 0.85rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px dashed #E2E8F0;
  padding-top: 0.85rem;
}

/* Compact Home FAQ Grid (Two-column, tight padding) */
.faq-section-compact {
  padding: 2rem 0 2.25rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}
.faq-compact-header {
  margin-bottom: 1.25rem;
}
.faq-compact-header .section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.35rem;
}
.faq-compact-header .section-subtitle {
  font-size: 0.9rem;
  margin-bottom: 0;
}
.faq-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.faq-compact-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-compact-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.faq-compact-item:hover {
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.06);
}
.faq-compact-item details {
  padding: 0.85rem 1.15rem;
}
.faq-compact-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-compact-item summary::-webkit-details-marker {
  display: none;
}
.faq-compact-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-red);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-compact-item details[open] summary::after {
  content: '−';
}
.faq-compact-answer {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #E2E8F0;
  color: #475569;
  font-size: 0.865rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .faq-compact-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .faq-compact-item details {
    padding: 0.75rem 1rem;
  }
}

.faq-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}

.faq-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-red) 0%, var(--primary-dark) 100%);
  opacity: 0.85;
}

.faq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.07);
}

.faq-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.faq-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(200, 16, 46, 0.08);
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.4;
  margin: 0;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.faq-card-answer {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.62;
  margin: 0;
  padding-left: 2.5rem;
}

.faq-card-answer a {
  color: var(--brand-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .faq-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .faq-card {
    padding: 1.15rem 1.15rem;
  }
  .faq-card-answer {
    padding-left: 0;
    margin-top: 0.35rem;
  }
}

/* Responsive Navigation Adjustment: between 1080px and 1220px, tighten gaps */
@media (max-width: 1220px) {
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.9rem;
  }
  .brand-text-name {
    font-size: 1.05rem;
  }
  .brand-text-sub {
    font-size: 0.68rem;
  }
}

/* Switch to mobile hamburger at 1080px to completely prevent any menu wrapping */
@media (max-width: 1080px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--border-color);
    display: none;
    gap: 0.5rem;
    align-items: stretch;
  }

  .nav-menu.open {
    display: flex;
    max-height: calc(100dvh - 200px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-link {
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid #F1F5F9;
  }

  .nav-link::after {
    display: none;
  }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .haccp-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .works-slider { aspect-ratio: 16 / 8; }
  .instructions-container { width: 100%; }
  .instructions-nav { grid-template-columns: repeat(2, 1fr); }
  .cases-slider-wrap .cases-grid.card-slider .case-card {
    flex: 0 0 calc((100% - 1.5rem) / 2) !important;
    width: calc((100% - 1.5rem) / 2) !important;
    max-width: calc((100% - 1.5rem) / 2) !important;
    min-width: calc((100% - 1.5rem) / 2) !important;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .topbar { display: none; }
  .header-phone-box { display: none; }

  .hero-badge { font-size: 0.85rem; padding: 0.45rem 0.9rem; }
  .hero-title { font-size: 2.15rem; }
  .section-title { font-size: 1.85rem; }
  .hero-section,
  .page-header { padding: 2rem 0 1.75rem; }
  .section-padding { padding: 1.85rem 0; }
  .section-header { margin-bottom: 1.15rem; }
  .haccp-features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .works-slider { aspect-ratio: 4 / 3; }
  .works-slider-arrow { width: 36px; height: 36px; }
  .works-slide-caption { padding: 1.5rem 1rem 1rem; }
  .services-slider-arrow,
  .prod-slider-arrow,
  .cases-slider-arrow { width: 36px; height: 36px; }
  .cases-slider-wrap .cases-grid.card-slider .case-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }
  .instructions-nav { grid-template-columns: 1fr; }
  .instructions-content-panel { padding: 1.5rem 1rem; }
  .slider-hint { display: none; }
  .slider-toolbar { justify-content: center; align-items: center; }
  .card-slider .service-card { flex-basis: calc(100% - 1.25rem); min-height: 0; }
  .card-slider .product-card { flex-basis: calc(100% - 2rem); min-height: 0; }
  .services-grid:not(.card-slider) { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }

  .speed-dial-wrapper {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* ==========================================================================
   CERTIFICATES & QUALIFICATION SECTION
   ========================================================================== */
.certificates-section {
  background: #F8FAFC;
  position: relative;
}

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

.cert-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-red);
}

.cert-thumb-wrapper {
  position: relative;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.cert-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.cert-card:hover .cert-thumb {
  transform: scale(1.02);
}

.cert-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.cert-thumb-wrapper:hover .cert-zoom-overlay {
  opacity: 1;
}

.cert-zoom-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.cert-meta {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  background: rgba(16, 185, 129, 0.12);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cert-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.cert-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cert-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F1F5F9;
  padding-top: 0.85rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Lightbox Modal for Certificates */
.cert-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 43, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cert-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cert-modal-wrapper {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 2rem;
  width: 38px;
  height: 38px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cert-modal-close:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  transform: scale(1.1);
}

.cert-modal-image-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-height: 80vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-modal-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

.cert-modal-caption {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.75rem;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Footer Socials Heading */
.footer-social-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-social-grid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

100% { transform: rotate(7deg); }
}


  100% { transform: rotate(-7deg); }
}




/* ==========================================================================
   ENHANCED CONTACTS PAGE (contacts.html)
   ========================================================================== */
.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.contact-quick-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.06);
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   ENHANCED CONTACTS PAGE (contacts.html)
   ========================================================================== */

/* Company Requisites Card */
.company-requisites-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
  position: relative;
}

.req-data-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.25rem;
}

@media (max-width: 860px) {
  .req-data-grid-2col {
    grid-template-columns: 1fr;
  }
}

.req-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 1.5rem;
}

.req-header-left h2 {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.req-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.req-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.req-tags-wrap {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.req-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F4C81;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
}

.req-data-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.req-data-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  font-size: 0.92rem;
  transition: background 0.2s;
}

.req-data-item:hover {
  background: #F1F5F9;
}

.req-label {
  font-weight: 600;
  color: #64748B;
  font-size: 0.86rem;
}

.req-value {
  color: #1E293B;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.req-value strong {
  color: var(--primary-dark);
  font-weight: 800;
}

.req-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F4C81;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: all 0.2s;
  vertical-align: middle;
}

.req-copy-pill:hover {
  background: #0F4C81;
  color: #FFFFFF;
  border-color: #0F4C81;
}

.req-actions-bar {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #F1F5F9;
  flex-wrap: wrap;
}

/* Premium Contact Request Card */
.contact-request-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: 0 12px 36px rgba(10, 37, 64, 0.06);
}

.contact-request-header {
  margin-bottom: 1.5rem;
}

.contact-request-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 0.45rem;
}

.contact-request-sub {
  font-size: 0.92rem;
  color: #64748B;
  line-height: 1.5;
}

/* Type Switcher (Юрособа / Приватна) */
.client-type-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: #F1F5F9;
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.client-type-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.client-type-btn.active {
  background: #FFFFFF;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.form-trust-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #64748B;
  margin-top: 1rem;
  text-align: center;
  justify-content: center;
}

/* Service Geography / Zones Section (Clean White Block) */
.service-zones-section {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.service-zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.zone-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(10, 37, 64, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, background 0.25s;
}

.zone-card:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.09);
  border-color: rgba(15, 76, 129, 0.35);
}

.zone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #0F4C81;
  background: #EFF6FF;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  align-self: flex-start;
  margin-bottom: 0.85rem;
}

.zone-time {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--brand-red);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.zone-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.zone-cities {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Fleet Standards 3-Items Bar */
.fleet-standards-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: #0A2540;
  border-radius: 18px;
  padding: 2rem;
  color: #FFFFFF;
}

.fleet-std-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.fleet-std-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fleet-std-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.fleet-std-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

/* Cooperation Steps Section */
.cooperation-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.coop-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.04);
  transition: transform 0.2s;
}

.coop-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
}

.coop-step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
}

.coop-step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.coop-step-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

/* Location Map & Interactive Navigation Bar */
.location-card-wrapper {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10, 37, 64, 0.06);
}

.location-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.location-nav-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-nav-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.location-nav-addr {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.location-nav-sub {
  font-size: 0.85rem;
  color: #64748B;
}

.location-nav-buttons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.nav-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--primary-dark);
  transition: all 0.2s;
}

.nav-btn-link:hover {
  background: var(--primary-dark);
  color: #FFFFFF;
  border-color: var(--primary-dark);
}

.nav-btn-link.primary {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

.nav-btn-link.primary:hover {
  background: #A00C24;
}

.location-map-frame {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

/* Responsive adjustments for Contacts page */
@media (max-width: 1100px) {
  .contact-quick-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -1.5rem;
  }
  .service-zones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cooperation-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-main-grid {
    grid-template-columns: 1fr;
  }
  .fleet-standards-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-quick-grid {
    grid-template-columns: 1fr;
    margin-top: -1rem;
  }
  .service-zones-grid {
    grid-template-columns: 1fr;
  }
  .cooperation-steps-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .req-data-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .company-requisites-card,
  .contact-request-card {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }
  .location-nav-bar {
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }
  .location-nav-buttons {
    flex-direction: column;
  }
  .nav-btn-link {
    justify-content: center;
  }
}

/* ==========================================================================
   CONTACTS PAGE: LUXURY DIRECT CONTACT HUB, FORM & REQUISITES SPEC
   ========================================================================== */

/* 1. Direct Contact Hub Cards (3 equal columns) */
.contact-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-hub-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.contact-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 76, 129, 0.35);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.09);
}

.contact-hub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
}

.contact-hub-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.contact-hub-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.contact-hub-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: pulse 2s infinite;
}

.contact-hub-status.blue {
  background: #EFF6FF;
  color: #1E40AF;
  border-color: #BFDBFE;
}

.contact-hub-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.contact-hub-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.contact-hub-phones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-hub-phone-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-hub-phone-link:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.contact-hub-phone-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.contact-hub-phone-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0F4C81;
  background: #FFFFFF;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
}

.contact-hub-messengers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-msg-btn.telegram {
  background: #0088cc;
  color: #FFFFFF;
}

.contact-msg-btn.telegram:hover {
  background: #0077b5;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.contact-msg-btn.viber {
  background: #7360f2;
  color: #FFFFFF;
}

.contact-msg-btn.viber:hover {
  background: #6250db;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.contact-hub-email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  margin-bottom: 1.25rem;
}

.contact-hub-email-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-red);
  text-decoration: none;
}

.contact-hub-address-box {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 0.88rem;
  color: #1E293B;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* 2. Centered Order Form Section */
.contact-order-centered {
  max-width: 860px;
  margin: 0 auto;
}

.contact-order-trust-strip {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-order-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* 3. Executive Requisites Compact Passport Card */
#requisites .section-subtitle {
  max-width: 860px;
}

.req-card-compact {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 2rem 2.25rem;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.req-compact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #F1F5F9;
}

.req-compact-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.req-company-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.req-company-sub {
  font-size: 0.8rem;
  color: #64748B;
}

.req-edrpou-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  flex-shrink: 0;
}

.req-edrpou-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-red);
  letter-spacing: 0.04em;
}

.req-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1.4rem;
  margin: 1.35rem 0;
}

.req-compact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.req-compact-item:hover {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.req-compact-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.req-compact-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.4;
  word-break: break-word;
}

.req-compact-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 1.25rem;
}

.req-compact-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0F4C81;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.req-compact-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Cooperation Section on Slate Background */
.cooperation-section {
  background: #F1F5F9;

}

.cooperation-section .coop-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.04);
  position: relative;
  overflow: hidden;
}

.cooperation-section .coop-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--primary-dark) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cooperation-section .coop-step-card:hover::before {
  opacity: 1;
}

/* Contacts FAQ Section */
.contacts-faq-section {
  background: #F8FAFC;

}

.contacts-faq-section .faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.02);
  transition: all 0.2s ease;
}

.contacts-faq-section .faq-item:hover {
  border-color: rgba(15, 76, 129, 0.3);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.06);
}

/* Responsive adjustments */
@media (max-width: 1040px) {
  .contact-hub-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 1.5rem auto 0;
  }
}

@media (max-width: 768px) {
  .req-card-compact {
    padding: 1.25rem 1rem;
  }
  .req-compact-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .req-compact-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .req-compact-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}


/* Compact HACCP section on the home page - Tech Bio-Safety Engineering Theme */
.haccp-section-compact {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 4.5vw, 3.5rem) 0;
  background-color: #F8FAFC;
  background-image:
    radial-gradient(120% 120% at 50% 0%, #FFFFFF 0%, #F1F5F9 55%, #E8EEF5 100%),
    radial-gradient(circle, rgba(15, 76, 129, 0.08) 1.25px, transparent 1.25px);
  background-size: 100% 100%, 24px 24px;
  background-position: 0 0, 0 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #CBD5E1;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.9), 0 10px 30px -10px rgba(10, 37, 64, 0.04);
}

.haccp-section-compact .cases-bg-glow,
.haccp-section-compact .cases-glow-line { display: none; }

.haccp-ambient-glow {
  position: absolute;
  top: -30%;
  left: 35%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.05) 0%, rgba(5, 150, 105, 0.04) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.haccp-watermark-shield {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%) rotate(-4deg);
  width: clamp(220px, 26vw, 340px);
  height: clamp(260px, 30vw, 400px);
  color: #0F4C81;
  opacity: 0.055;
  pointer-events: none;
  z-index: 1;
}

.haccp-compact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.75rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.haccp-compact-info { min-width: 0; }

.haccp-compact-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.haccp-compact-badges .service-badge {
  position: static;
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  line-height: 1.5;
  white-space: normal;
}

.haccp-compact-badges .badge-navy {
  background: #FFFFFF;
  color: #0F4C81;
  border: 1px solid #CBD5E1;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.03);
}

.haccp-compact-title {
  margin: 0 0 0.85rem;
  color: var(--primary-dark);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.haccp-compact-title span {
  display: inline-block;
  color: var(--brand-red);
}

.haccp-compact-text {
  max-width: 820px;
  margin: 0 0 1.25rem;
  color: #475569;
  font-size: 0.985rem;
  line-height: 1.7;
}

/* 3 Standout White Guarantee Feature Cards */
.haccp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.haccp-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 14px -2px rgba(10, 37, 64, 0.05), 0 2px 6px -1px rgba(10, 37, 64, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.haccp-feature-card:hover {
  transform: translateY(-3px);
  border-color: #CBD5E1;
  box-shadow: 0 10px 22px -4px rgba(10, 37, 64, 0.09), 0 3px 8px -1px rgba(10, 37, 64, 0.04);
}

.haccp-feature-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(5, 150, 105, 0.09);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.haccp-feature-icon svg {
  width: 20px;
  height: 20px;
}

.haccp-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.haccp-feature-title {
  color: #0F172A;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.haccp-feature-desc {
  color: #64748B;
  font-size: 0.775rem;
  line-height: 1.45;
}

/* Actions Column */
.haccp-compact-actions {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.haccp-btn-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  width: 100%;
  max-width: 100%;
  padding: 0.95rem 1.6rem;
  border-radius: 14px;
  background: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 20px -3px rgba(200, 16, 46, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.haccp-btn-highlight svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.haccp-btn-highlight:hover {
  background: var(--brand-red-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(200, 16, 46, 0.45);
}

.haccp-btn-highlight:hover svg {
  transform: translateX(4px);
}

.haccp-audit-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #475569;
  font-size: 0.775rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .haccp-compact-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .haccp-compact-actions {
    align-items: flex-start;
  }
  .haccp-btn-highlight {
    width: auto;
  }
  .haccp-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .haccp-compact-badges { gap: 0.4rem; }
  .haccp-features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .haccp-btn-highlight {
    width: 100%;
  }
  .haccp-compact-actions {
    align-items: stretch;
  }
  .haccp-audit-hint {
    justify-content: center;
  }
}




/* Qualification benefits above the certificate previews. */
.why-us-risk-block { margin: 0 0 2rem; }
.why-us-risk-danger {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.4rem;
  border: 1px solid #F1D6D9;
  border-left: 3px solid var(--brand-red);
  border-radius: 12px;
  background: #FFF7F7;
  color: #6B3941;
  font-size: 0.9rem;
  line-height: 1.65;
}
.why-us-risk-danger > svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--brand-red); }
.why-us-risk-danger strong { display: block; margin-bottom: 0.25rem; color: #812238; font-weight: 700; }
.why-us-advantages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.why-us-adv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.5rem 1.25rem;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 3px 12px rgba(10, 37, 64, 0.025);
}
.why-us-adv-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #F1F5F9;
  font-size: 1.3rem;
  line-height: 1;
}
.why-us-adv-item > div { min-width: 0; }
.why-us-adv-item strong { display: block; margin-bottom: 0.5rem; color: var(--brand-navy); font-size: 1rem; font-weight: 750; line-height: 1.4; }
.why-us-adv-item > div > span { display: block; color: #64748B; font-size: 0.875rem; line-height: 1.65; overflow-wrap: anywhere; }

.why-us-advantages.home-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-bottom: 2.25rem !important;
}

@media (max-width: 1000px) {
  .why-us-advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-us-advantages.home-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  .why-us-advantages { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .why-us-advantages.home-benefits { grid-template-columns: minmax(0, 1fr) !important; }
  .why-us-risk-danger { padding: 1rem; gap: 0.65rem; font-size: 0.85rem; }
  .why-us-adv-item { padding: 1.15rem 1rem; gap: 0.75rem; }
  .why-us-adv-item strong { margin-bottom: 0.3rem; }
}

/* Shared responsive repairs for the current page markup. */
.brand-logo, .brand-text-group, .footer-grid > *, .footer-brand-header > div { min-width: 0; }
.brand-logo { flex-shrink: 1; }
.brand-text-name, .brand-text-sub { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; gap: 0.5rem; }
  .header-inner > .brand-logo { width: 100%; }
  .header-inner > .header-cta { width: 100%; justify-content: space-between; }
  .header-inner .brand-text-name { font-size: 0.95rem; }
  .header-inner .brand-text-sub { font-size: 0.6rem; }
}
.footer-logo-img { flex-shrink: 0; }
.contact-phone-link { display: flex; align-items: center; min-height: 30px; font-size: 0.875rem; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.header-phone-box .contact-phone-link { color: #0A2540; }
.contact-phone-link:hover { color: var(--brand-red); }
footer .contact-phone-link { color: #E2E8F0; }
footer .contact-phone-link:hover { color: #6EE7B7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-block: 1.25rem; }
.hero-services-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: #E2E8F0; font-weight: 600; font-size: 0.9rem; }
.hero-grid > *, .form-grid-2 > * { min-width: 0; }
.instruction-tab-copy { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.instruction-tab-name { font-size: 0.875rem; line-height: 1.35; }
.instruction-tab-hint { color: #64748B; font-size: 0.7rem; font-weight: 400; line-height: 1.4; }
.instruction-tab-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #E2E8F0; }
.instructions-tab-btn { gap: 0.65rem; text-align: left; justify-content: flex-start; min-width: 0; }
.instruction-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; color: #64748B; font-size: 0.85rem; }
/* Precise Anchor Target Scroll Offsets (Never covered by sticky header, never lands in middle) */
section[id],
article[id],
.service-detail-block,
.cases-section,
.certificates-section,
.haccp-section-compact,
.faq-section-compact,
.instruction-block,
#services,
#cases,
#trust,
#certificates,
#products,
#faq,
#orderRequest {
  scroll-margin-top: 95px;
}

@media (max-width: 768px) {
  html { scroll-padding-top: 95px; }
  section[id],
  article[id],
  .service-detail-block,
  .cases-section,
  .certificates-section,
  .haccp-section-compact,
  .faq-section-compact,
  .instruction-block,
  #services,
  #cases,
  #trust,
  #certificates,
  #products,
  #faq,
  #orderRequest {
    scroll-margin-top: 90px;
  }
  .container { padding-inline: 1rem; }
  .hero-title { font-size: clamp(1.75rem, 6.5vw, 2.4rem); overflow-wrap: anywhere; }
  .hero-badge { max-width: 100%; border-radius: 9px; font-size: 0.75rem; gap: 0.5rem; }
  .hero-badge svg, .badge-status-dot { flex-shrink: 0; }
  .badge-extra-tag { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .hero-services-link { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
  .stat-val { font-size: clamp(1.1rem, 4vw, 1.6rem); line-height: 1.2; }
  .stat-label { font-size: 0.75rem; }
  .btn-hero-cases { max-width: 100%; flex-wrap: wrap; border-radius: 16px; }
  .certificates-grid, .checklist-grid, .cases-grid:not(.card-slider), .products-grid:not(.card-slider) { grid-template-columns: minmax(0, 1fr); }
  .instructions-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
  .instructions-tab-btn { flex-direction: column; align-items: flex-start; padding: 0.75rem; }
  .instruction-tools .btn { width: 100%; }
  .form-control { min-width: 0; min-height: 48px; font-size: 16px; }
  .modal-backdrop { padding: 0.75rem; }
  .modal-content { max-height: calc(100dvh - 1.5rem); overflow-y: auto; overscroll-behavior: contain; padding: 3.75rem 1.25rem 1.5rem; }
  .modal-close { width: 44px; height: 44px; top: 0.65rem; right: 0.65rem; }
  .contact-hub-phone-link, .contact-hub-email-box { flex-wrap: wrap; gap: 0.5rem; }
  .contact-hub-email-val { overflow-wrap: anywhere; min-width: 0; }
  .btn-lg { max-width: 100%; white-space: normal; }
  .footer-brand .brand-text-name { font-size: 0.95rem; }
  .footer-brand .brand-text-sub { font-size: 0.7rem; }
}
body:has(.modal-backdrop.open), body:has(.cert-modal-backdrop.open) { overflow: hidden; }
body:has(.modal-backdrop.open) .speed-dial-wrapper,
body:has(.cert-modal-backdrop.open) .speed-dial-wrapper,
body:has(.form-control:focus) .speed-dial-wrapper { visibility: hidden; pointer-events: none; }
/* Screen mode: hide print letterhead */
.instructions-print-header {
  display: none !important;
}

/* Note: Full @media print styles are located at the end of this file for maximum cascade priority */



/* ==========================================================================
   CLEAN AMBIENT SECTION ELEVATION (Soft Shadows Instead of Hard Dividers)
   ========================================================================== */

/* Dark Hero casts a smooth, soft ambient shadow down onto the light services section */
.hero-section {
  position: relative;
  z-index: 3;
  box-shadow: 0 16px 36px -6px rgba(2, 7, 13, 0.28);
}

/* Light Services section has a clean, subtle elevation */
.services-section-wrapper {
  position: relative;
  z-index: 2;
  border-top: none !important;
  border-bottom: 1px solid #EDF2F7 !important;
}

/* Dark Cases section: soft ambient shadow on both top and bottom */
.cases-section {
  position: relative;
  z-index: 3;
  box-shadow: 0 -16px 36px -4px rgba(2, 7, 13, 0.25), 0 16px 36px -4px rgba(2, 7, 13, 0.25);
  border-top: none !important;
  border-bottom: none !important;
}

/* Light Trust / Benefits section */
.trust-section {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
}

/* Light Certificates section */
.certificates-section {
  position: relative;
  z-index: 1;
  background: #F8FAFC;
  border-top: 1px solid #EDF2F7;
  border-bottom: 1px solid #EDF2F7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}


/* Products preview section */
#products {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
}

/* FAQ section with soft top boundary */
.faq-section-compact {
  position: relative;
  z-index: 1;
  background: #F8FAFC;
  border-top: 1px solid #EDF2F7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 -4px 18px rgba(10, 37, 64, 0.02);
}

/* Dark Footer: soft ambient shadow on top */
.site-footer {
  position: relative;
  z-index: 3;
  box-shadow: 0 -16px 36px -4px rgba(2, 7, 13, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* ==========================================================================
   DYNAMIC INTERACTIVE CAROUSEL & VIBRANT CARDS (Services & Products)
   ========================================================================== */

50% { transform: scale(1.3); opacity: 1; }
}

/* ==========================================================================
   EXECUTIVE COMPACT & PREMIUM CARDS: SERVICES & PRODUCTS (Homepage Showcase)
   ========================================================================== */

/* 1. Services Section & Slider Wrapper */
.services-section-wrapper {
  background-color: #F8FAFC !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(15, 76, 129, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 90% 100%, rgba(200, 16, 46, 0.025) 0%, transparent 50%),
    linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 50%, #FAFBFD 100%) !important;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0 !important;
  border-top: 1px solid #EDF2F7 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  position: relative !important;
  overflow: hidden !important;
}

.services-section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(15, 76, 129, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.65;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 88%);
  z-index: 1;
}

.services-section-wrapper .container {
  position: relative;
  z-index: 2;
}

.services-header-separator {
  height: 1px;
  max-width: 440px;
  margin: 0.85rem auto 0;
  background: #E2E8F0;
}

.services-slider-wrap {
  margin-top: 1rem !important;
}

/* 2. Sleek Modern Service Card with Thematic Photography */
.service-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  flex: 0 0 auto;
  min-height: 385px !important;
  padding: 0.85rem !important;
  box-shadow: 0 4px 16px -2px rgba(10, 37, 64, 0.04), 0 2px 6px -1px rgba(10, 37, 64, 0.02) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.service-card:hover {
  transform: translateY(-4px) !important;
  border-color: #CBD5E1 !important;
  box-shadow: 0 16px 36px -8px rgba(10, 37, 64, 0.1), 0 4px 12px -2px rgba(10, 37, 64, 0.04) !important;
}

.service-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 160px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #F1F5F9 !important;
  margin-bottom: 0.85rem !important;
  flex-shrink: 0 !important;
}

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

.service-card:hover .service-img-wrapper .service-img {
  transform: scale(1.05) !important;
}

.service-img-wrapper .service-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 2 !important;
  font-size: 0.7rem !important;
  font-weight: 750 !important;
  padding: 0.25rem 0.65rem !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

.service-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin-bottom: 0.35rem !important;
  line-height: 1.32 !important;
  letter-spacing: -0.01em !important;
  padding: 0 0.15rem !important;
}

.service-desc {
  font-size: 0.84rem !important;
  color: #64748B !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex-grow: 1 !important;
  padding: 0 0.15rem !important;
}

.service-footer {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-top: auto !important;
  padding-top: 0.65rem !important;
  border-top: 1px solid #F1F5F9 !important;
}

.service-footer .btn {
  min-height: 36px !important;
  padding: 0.4rem 0.85rem !important;
  font-size: 0.84rem !important;
  border-radius: 10px !important;
  flex: 1 1 0% !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* 3. Products Section & Slider Wrapper */
#products.section-padding {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%) !important;
  padding: clamp(2rem, 3.5vw, 2.5rem) 0 !important;
  border-top: 1px solid #EDF2F7 !important;
}

.products-slider-wrap {
  margin-top: 1rem !important;
}

/* 4. Sleek Compact Product Card on Slider */
.product-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  flex: 0 0 auto;
  min-height: 290px !important;
  padding: 1.1rem !important;
  box-shadow: 0 4px 16px -2px rgba(10, 37, 64, 0.04), 0 2px 6px -1px rgba(10, 37, 64, 0.02) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.product-card:hover {
  transform: translateY(-4px) !important;
  border-color: #CBD5E1 !important;
  box-shadow: 0 16px 36px -8px rgba(10, 37, 64, 0.1), 0 4px 12px -2px rgba(10, 37, 64, 0.04) !important;
}

.product-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 125px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #F8FAFC !important;
  margin-bottom: 0.65rem !important;
  border: 1px solid #E2E8F0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

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

.product-card:hover .product-img {
  transform: scale(1.05) !important;
}

.product-badge {
  align-self: flex-start !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 0.18rem 0.55rem !important;
  background: #EFF6FF !important;
  color: #0F4C81 !important;
  border: 1px solid rgba(15, 76, 129, 0.18) !important;
  border-radius: 999px !important;
  margin-bottom: 0.45rem !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

.product-title {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.product-desc {
  font-size: 0.785rem !important;
  color: #64748B !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex-grow: 0 !important;
}

/* On Homepage Slider, limit features to 2 compact items */
.products-grid.card-slider .product-features {
  margin-bottom: 0.6rem !important;
  padding-top: 0.45rem !important;
  border-top: 1px dashed #E2E8F0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
}

.products-grid.card-slider .product-features li {
  font-size: 0.74rem !important;
  color: #475569 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: 0 !important;
}

.products-grid.card-slider .product-features li:nth-child(n+3) {
  display: none !important;
}

.product-price-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-top: auto !important;
  padding-top: 0.6rem !important;
  border-top: 1px solid #F1F5F9 !important;
}

.product-price {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #0F4C81 !important;
  background: #F8FAFC !important;
  padding: 0.22rem 0.55rem !important;
  border-radius: 8px !important;
  border: 1px solid #E2E8F0 !important;
  white-space: nowrap !important;
}

.product-price-row .btn {
  min-height: 35px !important;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.825rem !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
  white-space: nowrap !important;
}

/* 5. Responsive tweaks */
@media (max-width: 640px) {
  .service-card {
    flex: 0 0 min(265px, calc(100% - 0.5rem)) !important;
    padding: 0.75rem !important;
    min-height: 365px !important;
  }
  .service-img-wrapper {
    height: 145px !important;
  }
  .product-card {
    flex: 0 0 min(250px, calc(100% - 0.5rem)) !important;
    padding: 1rem !important;
  }
}




/* ==========================================================================
   HARMONIZED SECTION HEADERS (Services & Products aligned with site standard)
   ========================================================================== */
.services-section-wrapper .section-header,
#products .section-header {
  margin-bottom: 1.75rem;
}

.services-section-wrapper .section-title,
#products .section-title {
  margin-bottom: 0.5rem;
}

.services-section-wrapper .section-subtitle,
#products .section-subtitle {
  max-width: 640px;
  margin: 0 auto;
}

.tag-flank-line,
.services-header-separator {
  display: none !important;
}


/* ==========================================================================
   SERVICES MEGA-DROPDOWN (Executive Navigation Hub)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link-dropdown-wrap {
  display: inline-flex;
  align-items: center;
}

.nav-link-dropdown {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}

.dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #64748B;
  display: inline-block;
  vertical-align: middle;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.mobile-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--brand-red);
}

.dropdown-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  color: #64748B;
  cursor: pointer;
}

/* Hover bridge to keep dropdown open during mouse transit */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -30px;
  right: -30px;
  height: 20px;
  display: none;
}

.nav-item-dropdown:hover::after {
  display: block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-40%) translateY(8px);
  width: 710px;
  max-width: calc(100vw - 32px);
  white-space: normal;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 25px 50px -12px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.04);
  padding: 0.85rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  z-index: 1050;
  text-align: left;
}

.nav-item-dropdown:not(.dropdown-dismissed):hover .dropdown-menu,
.nav-item-dropdown:not(.dropdown-dismissed):focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-40%) translateY(0);
}

.nav-item-dropdown.dropdown-dismissed .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.65rem 0.6rem;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dropdown-header-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
}

.dropdown-header-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0F4C81;
  background: #EFF6FF;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, 0.12);
}

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

.dropdown-col-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  position: relative;
}

.dropdown-item:hover {
  background: #F8FAFC;
  transform: translateX(3px);
}

.dropdown-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  color: #0F4C81;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dropdown-item-icon svg {
  display: block;
  transition: transform 0.2s ease;
}

.dropdown-item:hover .dropdown-item-icon {
  background: #0F4C81;
  border-color: #0F4C81;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25);
  transform: scale(1.05);
}

.dropdown-item-haccp:hover .dropdown-icon-haccp {
  background: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-grow: 1;
}

.dropdown-item-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
  transition: color 0.18s ease;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item:hover .dropdown-item-title {
  color: #0F4C81;
}

.dropdown-item-haccp:hover .dropdown-item-title {
  color: var(--brand-red);
}

.dropdown-item-sub {
  font-size: 0.7rem;
  color: #64748B;
  margin-top: 1px;
  line-height: 1.2;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item-price-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0F4C81;
  background: #F1F5F9;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.dropdown-item:hover .dropdown-item-price-tag {
  background: #EFF6FF;
  color: #0F4C81;
  font-weight: 800;
}

.dropdown-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-badge {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(200, 16, 46, 0.08);
  color: var(--brand-red);
  border: 1px solid rgba(200, 16, 46, 0.16);
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.dropdown-footer {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid #F1F5F9;
}

.dropdown-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0F4C81;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-all-btn:hover {
  background: #0F4C81;
  border-color: #0F4C81;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
  transform: translateY(-1px);
}

.dropdown-all-btn svg {
  transition: transform 0.2s ease;
}

.dropdown-all-btn:hover svg {
  transform: translateX(3px);
}

/* Mobile responsive navigation (max-width: 1080px) */
@media (max-width: 1080px) {
  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-link-dropdown-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #F1F5F9;
  }
  .nav-link-dropdown {
    flex-grow: 1;
    border-bottom: none !important;
  }
  .dropdown-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    margin-right: 0.25rem;
  }
  .nav-item-dropdown.mobile-open .dropdown-mobile-toggle svg {
    transform: rotate(180deg);
  }
  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 14px;
    padding: 0.6rem;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-item-dropdown.mobile-open .dropdown-menu {
    display: block;
  }
  .dropdown-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }
  .dropdown-item {
    padding: 0.45rem 0.5rem;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 0.65rem;
    row-gap: 0.25rem;
  }
  .dropdown-item-icon {
    grid-row: 1 / 3;
  }
  .dropdown-item-price-tag {
    grid-column: 2;
    justify-self: start;
    margin-left: 0;
  }
  .dropdown-footer {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
  }
  .dropdown-all-btn {
    justify-content: center;
    padding: 0.5rem;
  }
}

/* ==========================================================================
   Services Page Improvements: Trust Badges, Detail Banners, Jump-to-Nav
   ========================================================================== */
.page-header-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  margin-top: 1.5rem;
}

.page-header-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #E2E8F0;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.page-header-trust-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-header-trust-item svg {
  color: #38BDF8;
  flex-shrink: 0;
}

/* Service Detail Banner (Photo) */
.service-detail-banner {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.06);
  background: #0A2540;
}

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

.service-detail-block:hover .service-detail-banner img {
  transform: scale(1.03);
}

.service-banner-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.service-banner-badge svg {
  color: var(--brand-red);
}

.service-detail-block.haccp-spotlight .service-detail-banner {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.service-detail-block.haccp-spotlight .service-banner-badge {
  background: rgba(15, 23, 42, 0.92);
}

/* Service Card Utility / Navigation Bar */
.service-card-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  position: relative;
}

.service-card-nav-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #94A3B8;
  letter-spacing: 0.01em;
}

.service-card-nav-hint svg {
  color: #10B981;
  flex-shrink: 0;
}

.service-card-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 9px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.service-card-nav-link svg {
  transition: transform 0.22s ease;
  color: var(--brand-red);
}

.service-card-nav-link:hover {
  color: var(--brand-red);
  background: #FFF1F2;
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 3px 10px rgba(200, 16, 46, 0.08);
  transform: translateY(-1px);
}

.service-card-nav-link:hover svg {
  transform: translateY(-2px);
}

/* HACCP Spotlight Dark Mode Overrides */
.service-detail-block.haccp-spotlight .service-card-nav {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.service-detail-block.haccp-spotlight .service-card-nav-hint {
  color: #94A3B8;
}

.service-detail-block.haccp-spotlight .service-card-nav-hint svg {
  color: #34D399;
}

.service-detail-block.haccp-spotlight .service-card-nav-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #F1F5F9;
}

.service-detail-block.haccp-spotlight .service-card-nav-link svg {
  color: #FDA4AF;
}

.service-detail-block.haccp-spotlight .service-card-nav-link:hover {
  background: rgba(200, 16, 46, 0.3);
  border-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.25);
}

@media (max-width: 768px) {
  .page-header-trust {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .page-header-trust-item {
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
  .service-detail-banner {
    height: 190px;
    border-radius: 14px;
    margin-bottom: 1.25rem;
  }
  .service-banner-badge {
    bottom: 8px;
    left: 8px;
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
  }
  .service-card-nav {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
  }
  .service-card-nav-link {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.86rem;
  }
  .service-card-nav-hint {
    justify-content: center;
    font-size: 0.76rem;
    text-align: center;
  }
}

/* ==========================================================================
   Services Page Hero: Balanced 2-Column Grid & Green Zakarpattia Silhouette Map (Compact & Sleek)
   ========================================================================== */
.services-hero-section {
  position: relative;
  padding: 1.45rem 0 1.35rem;
  background: radial-gradient(ellipse at 50% 0%, #0C2138 0%, #040D18 75%, #02070D 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: #FFFFFF;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.services-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.services-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  margin-bottom: 0.6rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.76rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.services-hero-badge-tag {
  color: #10B981;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.services-hero-badge-sub {
  color: #CBD5E1;
  font-weight: 500;
}

.services-hero-title {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.22;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.services-hero-title span {
  background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-hero-desc {
  font-size: 0.97rem;
  line-height: 1.5;
  color: #CBD5E1;
  margin-bottom: 0.9rem;
  max-width: 660px;
}

.services-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.services-hero-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 6px 18px -4px rgba(220, 38, 38, 0.5);
}

.services-hero-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.services-hero-jump-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.services-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 660px;
}

.services-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.services-hero-trust-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.services-hero-trust-item svg {
  color: #38BDF8;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Map Card */
.services-hero-map-col {
  position: relative;
  width: 100%;
}

.zakarpattia-map-card {
  position: relative;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 16px;
  padding: 0.85rem 1.05rem 0.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.08);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.zakarpattia-map-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 42px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(16, 185, 129, 0.15);
}

.zk-map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.zk-map-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #10B981;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.zk-map-pulse-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #10B981;
}

.zk-map-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0.1rem 0 0;
  letter-spacing: -0.01em;
}

.zk-map-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 999px;
  color: #34D399;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.zk-map-graphic-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.2rem 0.45rem;
}

.zk-map-svg {
  width: 100%;
  height: auto;
  max-height: 145px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.2));
  transition: transform 0.3s ease;
}

.zakarpattia-map-card:hover .zk-map-svg {
  transform: scale(1.01);
}

.zk-map-shape {
  fill: url(#zkGreenGrad);
  stroke: #10B981;
  stroke-width: 1.15;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.zakarpattia-map-card:hover .zk-map-shape {
  stroke: #34D399;
}

.zk-map-card-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.4rem;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 0.4rem 0.65rem;
  margin-top: 0.3rem;
}

.zk-map-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.zk-map-stat-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.15;
}

.zk-map-stat-lbl {
  font-size: 0.64rem;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 0.1rem;
  white-space: nowrap;
}

.zk-map-stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-hero-content {
    align-items: center;
    text-align: center;
  }
  .services-hero-desc {
    max-width: 100%;
  }
  .services-hero-actions {
    justify-content: center;
  }
  .services-hero-trust {
    justify-content: center;
  }
  .zakarpattia-map-card {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .services-hero-section {
    padding: 1.25rem 0 1.15rem;
  }
  .services-hero-title {
    font-size: 1.45rem;
  }
  .services-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .services-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .services-hero-trust {
    flex-direction: column;
    align-items: stretch;
  }
  .services-hero-trust-item {
    justify-content: center;
  }
  .zk-map-card-footer {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .zk-map-stat-divider {
    display: none;
  }
}
/* Mobile usability and consolidated contact / request sections. */
.order-modal-title { font-size: clamp(1.35rem, 5vw, 1.65rem); line-height: 1.25; color: var(--primary-dark); margin-bottom: .65rem; }
.order-modal-description { color: #475569; line-height: 1.55; margin-bottom: 1.25rem; }
.order-submit { width: 100%; min-height: 48px; }
.modal-content .form-group { margin-bottom: 1rem; }
.order-modal-note { font-size: .8rem; line-height: 1.5; color: #64748B; margin: .8rem 0 0; }
.modal-content:focus { outline: none; }
.home-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 2rem; }
.home-certificates-title { text-align: center; font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.work-photos-details { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); padding-top: .5rem; color: #fff; }
.work-photos-details > summary { cursor: pointer; padding: 1rem .25rem; font-weight: 700; }
.work-photos-details .works-slider-wrapper { margin-top: .75rem; }
.contact-first { background: #fff; }
.contact-first-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.contact-first-card { min-width: 0; padding: 1.5rem; border: 1px solid #E2E8F0; border-radius: 16px; background: #F8FAFC; }
.contact-first-card h3 { font-size: 1rem; margin-bottom: .75rem; color: #0A2540; }
.contact-first-card p { color: #475569; line-height: 1.6; margin-bottom: .75rem; }
.contact-first-card a { color: #0A2540; overflow-wrap: anywhere; }
.contact-first-card .contact-phone-link { font-size: 1.1rem; min-height: 44px; }
.contact-first-card .btn { margin-top: 1rem; }
.contact-route { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.service-more { margin-bottom: 1.25rem; }
.service-more > summary { padding: .85rem 0; font-weight: 700; cursor: pointer; color: inherit; }
.service-more[open] > summary { margin-bottom: .75rem; }
@media (min-width: 769px) {
  .service-more > summary { display: none !important; }
}
.service-detail-header > div { min-width: 0; }
.product-title { white-space: normal; overflow: visible; text-overflow: clip; -webkit-line-clamp: unset; }
.products-grid:not(.card-slider) .product-desc { display: block !important; -webkit-line-clamp: unset !important; max-height: none; overflow: visible !important; }
@media (max-width: 768px) {
  .contact-first-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .contact-first-card { padding: 1.15rem; }
  .contact-first-card .btn { width: 100%; }
  .home-benefits { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .home-benefits .why-us-adv-item { padding: 1rem; }
  .section-header { margin-bottom: 1rem; }
  .service-detail-block { padding: 1.15rem; }
  .service-detail-heading { overflow-wrap: break-word; }
  .service-detail-footer { gap: .75rem; }
  .service-detail-footer .btn { min-height: 44px; white-space: normal; }
  .service-detail-banner { height: 190px; }
  .service-banner-badge { max-width: calc(100% - 28px); font-size: .7rem; }
  .services-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-tab-btn { align-items: flex-start; flex-direction: column; padding: .65rem; }
  .service-tab-name { font-size: .82rem; }
  .service-tab-hint { font-size: .72rem; }
  .service-tab-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .services-nav-hub { padding-top: 0; }
  .services-quick-title { font-size: .72rem; }
  .service-quick-btn { min-height: 48px; }
  .modal-content { width: 100%; padding: 3.25rem 1.15rem 1.15rem; }
  .form-control { font-size: 16px; min-height: 48px; }
  .modal-close, .mobile-toggle, .dropdown-mobile-toggle { min-width: 44px; min-height: 44px; }
  .product-card { min-width: 0; }
  .product-title { font-size: 1rem; line-height: 1.4; }
  .card-slider > .reveal { opacity: 1; transform: none; }
  .speed-dial-wrapper { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  body:has(.nav-menu.open) .speed-dial-wrapper { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.mobile-phone-action { display: none; }
@media (max-width: 1080px) {
  .mobile-phone-action { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; height: 44px; border: 1px solid #DDE2E7; border-radius: 8px; color: #0A2540; background: #F8FAFC; }
}
@media (max-width: 600px) {
  .header-cta { gap: .5rem; }
  .header-cta > .btn { margin-right: auto; }
}
/* Match the new sections to the site's navy, red and outlined-icon language. */
.home-benefits { gap: 1rem; }
.home-benefits .why-us-adv-item { border-radius: 16px; border: 1px solid #E2E8F0; background: #fff; box-shadow: 0 4px 14px rgba(10,37,64,.04); padding: 1.25rem; gap: 1rem; }
.home-benefits .why-us-adv-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: #FFF1F2; color: var(--brand-red); border: 1px solid #FECdd3; }
.home-benefits .why-us-adv-item strong { color: var(--brand-navy); font-size: 1rem; margin-bottom: .35rem; }
.home-benefits .why-us-adv-item > div > span { font-size: .875rem; line-height: 1.6; }
.home-certificates-title { color: var(--brand-navy); padding-top: 1.5rem; border-top: 1px solid #E2E8F0; }
.contact-first { background: #F8FAFC; }
.contact-first-card { position: relative; background: #fff; box-shadow: 0 4px 16px rgba(10,37,64,.04); padding: 1.5rem; }
.contact-first-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; border-radius: 12px; background: #FFF1F2; border: 1px solid #FECDD3; color: var(--brand-red); }
.contact-first-card h3 { font-size: 1.1rem; font-weight: 800; }
.contact-first-card:first-child { background: linear-gradient(135deg, #0A2540, #061726); border-color: #173D5C; }
.contact-first-card:first-child h3, .contact-first-card:first-child .contact-phone-link { color: #fff; }
.contact-first-card:first-child .contact-first-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.contact-first-card .contact-phone-link { font-weight: 800; letter-spacing: -.02em; }
.contact-first-card .contact-phone-link:hover { color: #F87171; }
.contact-route { text-decoration: none; border-bottom: 1px solid #CBD5E1; gap: .5rem; }
.contact-route:hover { color: var(--brand-red); border-color: var(--brand-red); }
#orderModal .modal-content { border: 1px solid #E2E8F0; border-top: 4px solid var(--brand-red); border-radius: 20px; }
.order-modal-tag { margin-bottom: .85rem; font-size: .65rem; }
.order-modal-title { font-weight: 800; letter-spacing: -.025em; }
.order-modal-description { font-size: .9rem; color: #64748B; }
#orderModal .form-control { background: #F8FAFC; border-radius: 10px; }
.order-modal-note { padding-top: .8rem; border-top: 1px solid #E2E8F0; }
.service-more > summary, .work-photos-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; border-radius: 10px; padding: .8rem 1rem; font-size: .875rem; }
.service-more > summary::-webkit-details-marker, .work-photos-details > summary::-webkit-details-marker { display: none; }
.service-more > summary { color: #0F4C81; background: #F1F5F9; border: 1px solid #E2E8F0; }
.service-more > summary::after, .work-photos-details > summary::after { content: ''; width: 8px; height: 8px; flex: 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: .25rem; }
.service-more[open] > summary::after, .work-photos-details[open] > summary::after { transform: rotate(225deg); }
.haccp-spotlight .service-more > summary, .work-photos-details > summary { color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); }
.work-photos-details { border-top: 0; }
.service-more > summary:focus-visible, .work-photos-details > summary:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; }
@media (max-width: 768px) {
  .home-benefits .why-us-adv-item { padding: 1rem; gap: .8rem; }
  .contact-first-card { padding: 1.25rem; }
  .contact-first-card:not(:first-child) .contact-first-icon { float: left; margin: 0 .8rem .7rem 0; }
  .contact-first-card:not(:first-child) h3 { min-height: 42px; display: flex; align-items: center; }
  .contact-first-card p { clear: both; font-size: .9rem; }
  #orderModal .modal-content { padding-top: 3.2rem; }
  .order-modal-tag { margin-bottom: .65rem; }
}
/* Service articles stay still while reading; only controls respond to hover. */
@media (min-width: 769px) {
  .service-detail-block, .service-detail-block:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(10,37,64,.05);
    transition: border-color 180ms ease;
  }
  .service-detail-block.haccp-spotlight,
  .service-detail-block.haccp-spotlight:hover {
    box-shadow: 0 10px 28px rgba(10,37,64,.16);
  }
  .service-detail-block .service-detail-icon,
  .service-detail-block:hover .service-detail-icon {
    transform: none;
    box-shadow: none;
    transition: none;
  }
  .service-detail-block .service-detail-banner img,
  .service-detail-block:hover .service-detail-banner img {
    transform: none;
    transition: none;
  }
  .service-detail-block .service-spec-item,
  .service-detail-block .service-spec-item:hover {
    transform: none;
    background: #fff;
    border-color: #E2E8F0;
    box-shadow: none;
    transition: none;
  }
  .service-detail-block .service-features li,
  .service-detail-block .service-features li:hover {
    background: #F8FAFC;
    border-color: #E2E8F0;
    box-shadow: none;
    transition: none;
  }
  .service-detail-block.haccp-spotlight .service-spec-item:hover {
    background: rgba(255,255,255,.06) !important;
    border-color: rgba(255,255,255,.12) !important;
  }
  .service-detail-block.haccp-spotlight .service-features li:hover {
    background: rgba(255,255,255,.05) !important;
    border-color: rgba(255,255,255,.12) !important;
  }
  .service-detail-block .cases-bg-glow,
  .service-detail-block .cases-glow-line {
    animation: none;
    will-change: auto;
  }
}
/* Compact service navigation, complete product photos and persistent form feedback. */
.service-title-mobile { display: none; }
.coverage-details > summary { display: none; }
.lead-feedback { padding: .85rem 1rem; margin: 0 0 1rem; border: 1px solid #FECDD3; background: #FFF1F2; color: #9F1239; border-radius: 10px; font-size: .875rem; line-height: 1.5; }
.lead-success { padding: 1.25rem; border: 1px solid #A7F3D0; background: #ECFDF5; border-radius: 14px; }
.lead-success h3 { color: #065F46; font-size: 1.25rem; margin-bottom: .65rem; }
.lead-success p { color: #334155; line-height: 1.6; margin-bottom: 1.25rem; }
.lead-success .btn { width: 100%; }
[data-lead-form][hidden], .lead-success[hidden], .lead-feedback[hidden] { display: none !important; }
.product-img-wrapper { height: 200px !important; background: #F8FAFC !important; }
.product-img { object-fit: cover !important; padding: 0 !important; }
.instructions-nav { background: rgba(255,255,255,.72); border: 1px solid #E2E8F0; }
.instructions-tab-btn.active { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); box-shadow: 0 4px 12px rgba(15,23,42,.16); }
.instructions-tab-btn.active .instruction-tab-name { color: #fff; }
.instructions-tab-btn.active .instruction-tab-hint { color: #CBD5E1; }
.instructions-tab-btn.active .instruction-tab-icon { color: #fff; background: var(--brand-red); }
.instruction-tab-icon { color: #475569; background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 10px; }
@media (max-width: 768px) {
  .speed-dial-wrapper {
    display: flex !important;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .speed-dial-main {
    width: 52px;
    height: 52px;
  }
  .speed-dial-btn {
    width: 44px;
    height: 44px;
  }
  .speed-dial-tooltip {
    display: none !important;
  }
  .coverage-details > summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem; cursor: pointer; list-style: none; padding: .85rem 1rem; border: 1px solid rgba(16,185,129,.3); border-radius: 12px; background: rgba(16,185,129,.06); color: #D1FAE5; font-size: .8rem; font-weight: 600; }
  .coverage-details > summary::after { content: '+'; font-size: 1.2rem; }
  .coverage-details[open] > summary::after { content: '−'; }
  .coverage-details > summary::-webkit-details-marker { display: none; }
  .coverage-details[open] > summary { margin-bottom: .75rem; }
  .services-hero-grid { gap: 1rem; }
  .service-detail-block:not([style*="display: none"]) { display: flex !important; flex-direction: column; padding: 1.1rem; }
  .service-detail-header { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: .65rem .75rem; margin-bottom: .9rem; order: 0; }
  .service-detail-header > div:not(.service-detail-icon) { display: contents; }
  .service-detail-header .service-detail-icon { grid-column: 1; grid-row: 1; width: 40px; height: 40px; border-radius: 10px; box-shadow: none; }
  .service-detail-header .service-detail-icon svg { width: 24px; height: 24px; }
  .service-detail-header .service-detail-heading { grid-column: 2; grid-row: 1; align-self: center; font-size: 1.25rem; line-height: 1.25; margin: 0; }
  .service-detail-header > div:not(.service-detail-icon) > div { grid-column: 1 / -1; grid-row: 2; margin-bottom: 0 !important; }
  .service-detail-header p { grid-column: 1 / -1; grid-row: 3; font-size: .875rem !important; line-height: 1.55; }
  .service-title-full { display: none; }
  .service-title-mobile { display: inline; }
  .service-detail-footer { order: 1; margin-top: 0; padding-top: .85rem; gap: .65rem; }
  .service-detail-footer > div:first-child { width: 100%; padding: .6rem .8rem; text-align: left; }
  .service-detail-footer > div:last-child { gap: .5rem; }
  .service-detail-footer .btn { padding: .65rem .8rem; font-size: .85rem; }
  .service-more { order: 2; margin: .85rem 0 0; }
  .service-card-nav { order: 3; margin-top: .85rem; padding-top: .85rem; }
  .service-detail-block .service-badge { font-size: .65rem; padding: .2rem .5rem; }
  .product-img-wrapper { height: 190px !important; }
}
@media (min-width: 769px) {
  .work-photos-details > summary { display: none; }
}
/* Shared compact document collection on the home and services pages. */
.documents-showcase { border-top: 1px solid #E2E8F0; padding-top: 1.5rem; }
.documents-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }
.documents-heading-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; color: var(--brand-red); background: #FFF1F2; border: 1px solid #FECDD3; border-radius: 12px; }
.documents-heading h2, .documents-heading h3 { margin: 0; color: var(--brand-navy); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.documents-heading p { margin: .35rem 0 0; color: #64748B; font-size: .85rem; line-height: 1.5; }
.documents-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.document-card { display: grid; grid-template-columns: 124px minmax(0,1fr); gap: 1.25rem; padding: 1.25rem; border: 1px solid #E2E8F0; border-radius: 16px; background: #fff; box-shadow: 0 4px 16px rgba(10,37,64,.04); }
.document-preview { position: relative; align-self: start; display: grid; place-items: center; width: 100%; height: 174px; padding: .55rem; background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 10px; cursor: zoom-in; }
.document-preview img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(10,37,64,.12)); }
.document-preview > span { position: absolute; right: 5px; bottom: 5px; width: 27px; height: 27px; display: grid; place-items: center; background: #fff; color: var(--brand-navy); border: 1px solid #E2E8F0; border-radius: 7px; }
.document-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.document-label { display: inline-block; font-size: .65rem; line-height: 1.4; font-weight: 700; color: #0F4C81; background: #EFF6FF; border: 1px solid #DBEAFE; border-radius: 6px; padding: .2rem .45rem; margin-bottom: .6rem; }
.document-info h3 { font-size: 1rem; font-weight: 800; color: var(--brand-navy); line-height: 1.3; margin: 0 0 .25rem; }
.document-specialty { font-size: .85rem; line-height: 1.4; color: #334155; margin: 0 0 .35rem; }
.document-issuer { font-size: .75rem; line-height: 1.4; color: #64748B; margin: 0 0 .7rem; }
.document-reference { font-size: .72rem; font-weight: 600; color: #475569; margin-bottom: .5rem; }
.document-open { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: auto; padding: .35rem 0; text-align: left; font: inherit; font-size: .8rem; font-weight: 700; color: var(--brand-red); border: none; background: transparent; cursor: pointer; }
.document-open:hover { color: var(--brand-navy); }
.document-preview:focus-visible, .document-open:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; }
@media (max-width: 900px) { .documents-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 480px) {
  .documents-heading { align-items: flex-start; gap: .65rem; }
  .documents-heading-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
  .documents-heading p { font-size: .8rem; }
  .document-card { grid-template-columns: 80px minmax(0,1fr); padding: .9rem; gap: .85rem; }
  .document-preview { height: 114px; padding: .35rem; }
  .document-info h3 { font-size: .95rem; }
  .document-specialty { font-size: .8rem; }
  .document-label { font-size: .6rem; }
}
/* ==========================================================================
   Hero Visual Card Component (Products, Instructions, Contacts)
   ========================================================================== */
.hero-visual-card {
  position: relative;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 16px;
  padding: 0.85rem 1.05rem 0.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.08);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-visual-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 42px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(16, 185, 129, 0.15);
}

.hero-visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #10B981;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-visual-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero-visual-card .zk-map-graphic-wrap {
  min-height: 120px;
}

/* ==========================================================================
   404 ERROR PAGE STYLES & ANIMATIONS
   ========================================================================== */
.error-page-wrapper {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #0F2D4A 0%, #061524 75%);
}

.error-page-card {
  max-width: 680px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 2.75rem 2rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.1);
}

.error-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.error-radar-scanner {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  border: 2px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2), inset 0 0 25px rgba(16, 185, 129, 0.15);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(2, 6, 23, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.error-radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(52, 211, 153, 0.25);
}
.error-radar-circle.c1 { width: 130px; height: 130px; }
.error-radar-circle.c2 { width: 80px; height: 80px; }

.error-radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform-origin: 0 0;
  background: conic-gradient(from 0deg, rgba(52, 211, 153, 0.45) 0deg, rgba(52, 211, 153, 0.0) 60deg);
  animation: radarSpin 3.5s linear infinite;
  pointer-events: none;
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.error-bug-mascot {
  position: relative;
  z-index: 2;
  font-size: 3.2rem;
  animation: bugWiggle 2.5s ease-in-out infinite;
  display: inline-block;
  user-select: none;
}

@keyframes bugWiggle {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-5px) rotate(-8deg) scale(1.05); }
  75% { transform: translateY(-3px) rotate(8deg) scale(1.05); }
}

.error-code-num {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #34D399 0%, #10B981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.25rem 0 0.75rem 0;
  letter-spacing: -0.03em;
}

.error-heading {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.error-desc {
  color: #94A3B8;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 2rem auto;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-emergency-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  text-align: left;
}

.error-emergency-text {
  font-size: 0.85rem;
  color: #CBD5E1;
}

.error-emergency-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.error-emergency-link {
  color: #34D399;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.error-emergency-link:hover {
  color: #6EE7B7;
  text-decoration: underline;
}

/* ==========================================================================
   Mobile Polish & Touch UX Enhancements
   ========================================================================== */
@media (max-width: 600px) {
  .requisites-table,
  .requisites-table tbody,
  .requisites-table tr,
  .requisites-table td {
    display: block;
    width: 100% !important;
  }
  .requisites-table td {
    padding: 0.35rem 0 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .requisites-table td:first-child {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-top: 0.65rem !important;
  }
  .requisites-table td:last-child {
    font-size: 0.95rem;
    font-weight: 600;
    padding-bottom: 0.65rem !important;
    border-bottom: 1px dashed var(--border-color);
  }
  .requisites-table tr:last-child td:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .error-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .error-emergency-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .services-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Compact Mobile Hero Blocks (Fast UX & Less Vertical Scrolling)
   ========================================================================== */
@media (max-width: 768px) {
  /* Inner Pages Hero: Hide heavy decorative column on mobile and make hero compact */
  .services-hero-map-col {
    display: none !important;
  }
  .services-hero-section,
  .page-hero-section {
    padding: 1.15rem 0 0.95rem !important;
  }
  .services-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }
  .services-hero-content {
    align-items: flex-start;
  }
  .services-hero-badge {
    padding: 0.22rem 0.6rem !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.72rem !important;
    gap: 0.4rem !important;
  }
  .services-hero-title {
    font-size: clamp(1.35rem, 5.2vw, 1.7rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }
  .services-hero-desc {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.75rem !important;
    color: #94A3B8 !important;
  }

  /* Home Page (index.html) Hero: Compact layout, typography and spacing */
  .hero-section {
    padding: 1.25rem 0 1rem !important;
  }
  .hero-grid {
    gap: 1.15rem !important;
  }
  .hero-badge {
    padding: 0.3rem 0.75rem !important;
    margin-bottom: 0.65rem !important;
    font-size: 0.75rem !important;
    gap: 0.45rem !important;
  }
  .hero-title {
    font-size: clamp(1.4rem, 5.4vw, 1.8rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.65rem !important;
    letter-spacing: -0.015em !important;
  }
  .hero-desc {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.85rem !important;
    color: #94A3B8 !important;
  }
  .hero-actions {
    gap: 0.65rem !important;
    margin-bottom: 0.85rem !important;
  }
  .hero-actions .btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.88rem !important;
  }
  .hero-stats {
    padding-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    gap: 0.5rem !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .stat-val {
    font-size: 1.2rem !important;
    line-height: 1.1 !important;
  }
  .stat-label {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    color: #94A3B8 !important;
  }
  .hero-cases-action {
    margin-bottom: 0.25rem !important;
  }
  .btn-hero-cases {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.82rem !important;
    gap: 0.6rem !important;
  }

  /* Compact Hero Form Card on Home Page */
  .hero-card {
    padding: 1.15rem 1rem !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25) !important;
  }
  .hero-card-title {
    font-size: 1.12rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.25 !important;
  }
  .hero-card-desc {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }
  .lead-form .form-group {
    margin-bottom: 0.55rem !important;
  }
  .lead-form .form-label {
    font-size: 0.75rem !important;
    margin-bottom: 0.2rem !important;
  }
  .lead-form .form-control {
    min-height: 42px !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }
  .lead-form .form-note {
    font-size: 0.72rem !important;
    margin-top: 0.45rem !important;
  }
}




/* Photographs added through the service editor. */
.service-extra-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; margin: 1.5rem 0; }
.service-extra-gallery figure { margin: 0; }
.service-extra-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
.service-extra-gallery figcaption { margin-top: .5rem; color: var(--text-muted); font-size: .9rem; }

.product-stock-status { display: none !important; }

.product-photo-gallery { position: relative !important; }
.product-photo-gallery .product-img:not(:first-of-type) { display: none !important; }
.product-card .product-img { cursor: zoom-in; }
.product-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
}
.product-gallery-btn:hover { background: var(--brand-navy); color: #fff; }
.product-gallery-btn.prev { left: 8px; }
.product-gallery-btn.next { right: 8px; }
.product-gallery-counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(10, 37, 64, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 3;
  pointer-events: none;
}

.product-img-wrapper[hidden],.cases-gallery-block[hidden],.service-img[hidden],.service-detail-block img[hidden] { display:none; }

.documents-showcase[hidden] { display:none; }

/* ==========================================================================
   Prominent "Перелік послуг" Button & Mobile Services Navigation Highlight
   ========================================================================== */
.hero-services-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(10, 37, 64, 0.88) 100%);
  border: 1.5px solid rgba(52, 211, 153, 0.65);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 18px rgba(16, 185, 129, 0.2), inset 0 0 12px rgba(52, 211, 153, 0.12);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-services-link:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.34) 0%, rgba(15, 76, 129, 0.95) 100%);
  border-color: #6EE7B7;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.35), 0 0 22px rgba(52, 211, 153, 0.28);
}

.hero-services-link-text {
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-services-link-arrow {
  color: #34D399;
  font-size: 1.05rem;
  font-weight: 900;
  transition: transform 0.25s ease;
}

.hero-services-link:hover .hero-services-link-arrow {
  transform: translateX(4px);
  color: #6EE7B7;
}

.services-quick-count,
.services-quick-title svg {
  display: none !important;
}

@media (max-width: 1080px) {
  .nav-link-dropdown-wrap {
    background: linear-gradient(135deg, #FFF1F2 0%, #F8FAFC 100%);
    border: 1.5px solid rgba(200, 16, 46, 0.28) !important;
    border-radius: 12px;
    padding: 0.2rem 0.35rem 0.2rem 0.65rem;
    margin-bottom: 0.15rem;
  }
  .nav-link-dropdown {
    color: var(--brand-navy) !important;
    font-weight: 800 !important;
  }
  .dropdown-mobile-toggle {
    width: auto !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 0.75rem !important;
    gap: 0.35rem;
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(200, 16, 46, 0.25);
  }
  .dropdown-mobile-toggle::before {
    content: 'Перелік послуг';
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .dropdown-mobile-toggle .dropdown-chevron {
    color: #FFFFFF !important;
  }
}

@media (max-width: 768px) {
  .hero-actions .hero-services-link {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    padding: 0.6rem 1rem !important;
    font-size: 0.95rem !important;
    border-width: 1.5px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.26);
  }
  .services-catalog-cta-wrap .btn-catalog-cta {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    font-size: 0.94rem;
    justify-content: center;
    box-shadow: 0 8px 22px -2px rgba(200, 16, 46, 0.38);
  }
  .services-quick-header {
    background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(10, 37, 64, 0.14);
  }
  .services-quick-title {
    color: #FFFFFF !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.06em;
  }
  .service-quick-btn {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-left: 4px solid var(--brand-red);
    box-shadow: 0 3px 10px rgba(10, 37, 64, 0.06);
    padding: 0.75rem 0.9rem;
  }
  .service-quick-icon-wrap {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: #0F4C81;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }
  .service-quick-label {
    color: #0F172A;
    font-weight: 700;
    font-size: 0.9rem;
  }
  .service-quick-chevron {
    color: var(--brand-red);
  }
  .service-card-nav-link {
    background: #EFF6FF;
    border: 1.5px solid #93C5FD;
    color: #0F4C81;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(15, 76, 129, 0.08);
  }
}

/* ==========================================================================
   Doctor Direct Contact Modal (#doctorContactModal)
   ========================================================================== */
.doctor-contact-modal-content {
  max-width: 450px !important;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem !important;
  text-align: center;
  border-radius: 22px !important;
  border: 1px solid #E2E8F0 !important;
  border-top: 4px solid var(--brand-red) !important;
  background: #FFFFFF !important;
  box-shadow: 0 25px 50px -12px rgba(10, 37, 64, 0.35) !important;
}

.doctor-avatar-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.doctor-modal-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 0.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.doctor-modal-sub {
  font-size: 0.86rem;
  color: #64748B;
  margin: 0 0 1.1rem;
  line-height: 1.45;
}

.doctor-modal-phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #0A2540 0%, #0F3456 100%);
  color: #FFFFFF;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 1px solid rgba(52, 211, 153, 0.32);
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.16);
}

.doctor-modal-phone-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.doctor-modal-phone-val {
  font-size: clamp(1.25rem, 4.5vw, 1.48rem);
  font-weight: 900;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: inline-block;
  transition: color 0.2s ease;
}

.doctor-modal-phone-val:hover {
  color: #34D399;
}

.doctor-modal-phone-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: #D1FAE5;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-top: 0.2rem;
  line-height: 1.3;
}

.badge-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  flex-shrink: 0;
  display: inline-block;
}

.doctor-modal-channels {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.doctor-channel-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  text-decoration: none;
  color: #0F172A;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-channel-card.call {
  background: #FFF1F2;
  border-color: #FECDD3;
}

.doctor-channel-card:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.08);
}

.channel-icon-wrap {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.channel-icon-wrap.call {
  background: var(--brand-red);
  box-shadow: 0 4px 10px rgba(200, 16, 46, 0.25);
}

.channel-icon-wrap.viber {
  background: #7360F2;
  box-shadow: 0 4px 10px rgba(115, 96, 242, 0.25);
}

.channel-icon-wrap.telegram {
  background: #2AABEE;
  box-shadow: 0 4px 10px rgba(42, 171, 238, 0.25);
}

.channel-icon-wrap.whatsapp {
  background: #25D366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  flex-grow: 1;
  min-width: 0;
}

.channel-info strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  display: block;
}

.channel-info span {
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.3;
  display: block;
}

.channel-action-arrow {
  font-size: 1.05rem;
  font-weight: 800;
  color: #94A3B8;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.doctor-channel-card:hover .channel-action-arrow {
  transform: translateX(3px);
  color: var(--brand-navy);
}

@media (max-width: 480px) {
  .doctor-contact-modal-content {
    padding: 1.75rem 1.1rem 1.25rem !important;
  }
  .doctor-modal-phone-card {
    padding: 0.85rem 0.9rem;
  }
  .doctor-channel-card {
    padding: 0.65rem 0.75rem;
    gap: 0.7rem;
  }
  .channel-icon-wrap {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }
}

/* ==========================================================================
   OFFICIAL A4 PRINT STYLESHEET (instructions.html)
   Placed at the end of the stylesheet to ensure absolute cascade priority
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 14mm;
  }

  *, *::before, *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html, body {
    background: #FFFFFF !important;
    color: #0F172A !important;
    font-size: 9.5pt !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Suppress automatic link URL / pseudo-content */
  a[href]:after,
  a:after {
    content: none !important;
  }

  /* Hide all site framing, nav, popups, dials, and interactive tools */
  .topbar,
  .site-header,
  .services-hero-section,
  .page-hero-section,
  .hero-section,
  .page-header,
  .site-footer,
  .speed-dial-wrapper,
  .modal-backdrop,
  .cert-modal-backdrop,
  .instructions-nav,
  .instruction-tools,
  .btn,
  .toast,
  #siteToast,
  .cases-bg-glow,
  .cases-glow-line,
  .scroll-top-btn,
  #scrollTopBtn,
  .product-lightbox,
  .haccp-ambient-glow {
    display: none !important;
  }

  .section-padding {
    padding: 0 !important;
    margin: 0 !important;
  }

  .container,
  .instructions-container,
  .instructions-content-panel {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  /* Print Letterhead: clean, crisp, zero halo */
  .instructions-print-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.25rem !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1.15rem !important;
    border-bottom: 2px solid #0F172A !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .print-header-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
  }

  .print-logo-img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
    border: none !important;
    outline: none !important;
  }

  .print-brand-info {
    display: flex !important;
    flex-direction: column !important;
  }

  .print-company-name {
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
  }

  .print-company-sub {
    font-size: 0.75rem !important;
    color: #475569 !important;
    margin-top: 0.2rem !important;
    line-height: 1.3 !important;
  }

  .print-header-contacts {
    text-align: right !important;
    font-size: 0.8rem !important;
    color: #334155 !important;
    line-height: 1.4 !important;
    flex-shrink: 0 !important;
  }

  .print-header-contacts strong {
    color: #0F172A !important;
  }

  /* Only active tab is printed, all others are hidden */
  .instruction-block {
    display: none !important;
  }

  .instruction-block.active {
    display: block !important;
    animation: none !important;
  }

  .instruction-title {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 0.45rem 0 !important;
    line-height: 1.3 !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
  }

  .instruction-lead {
    font-size: 0.92rem !important;
    color: #334155 !important;
    margin: 0 0 1rem 0 !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid #CBD5E1 !important;
    line-height: 1.45 !important;
  }

  /* Checklists (Tab 1 #full-prep): 2 balanced columns, aligned borders & items */
  .instructions-content-panel .checklist-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem !important;
    margin: 0 0 0.85rem 0 !important;
    align-items: stretch !important;
  }

  .instructions-content-panel .checklist-card {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    border: 1px solid #94A3B8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 0.75rem 0.85rem !important;
    background: #FFFFFF !important;
    margin: 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .instructions-content-panel .checklist-card.card-danger {
    border-top: 4px solid var(--brand-red) !important;
  }

  .instructions-content-panel .checklist-card.card-success {
    border-top: 4px solid #059669 !important;
  }

  .checklist-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    margin-bottom: 0.55rem !important;
    padding-bottom: 0.45rem !important;
    border-bottom: 1px solid #E2E8F0 !important;
  }

  .checklist-header > span {
    font-size: 1.1rem !important;
    line-height: 1 !important;
  }

  .checklist-header-title {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .checklist-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
  }

  .checklist-item {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    color: #1E293B !important;
  }

  .checklist-bullet {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-top: 1px !important;
    border: 1px solid currentColor !important;
    background: transparent !important;
  }

  .alert-box {
    margin: 0.85rem 0 0 0 !important;
    padding: 0.7rem 0.95rem !important;
    border: 1px solid #94A3B8 !important;
    border-left: 4px solid var(--brand-red) !important;
    border-radius: 6px !important;
    background: #FFF1F2 !important;
    color: #881337 !important;
    font-size: 8.5pt !important;
    line-height: 1.4 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Instruction Sections (Tab 2 #full-patron & Tab 3 #full-ozone) */
  .instruction-section {
    margin-bottom: 0.85rem !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .instruction-heading {
    font-size: 10pt !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 0.35rem 0 !important;
    line-height: 1.3 !important;
  }

  .instruction-section p {
    font-size: 9pt !important;
    line-height: 1.45 !important;
    color: #334155 !important;
    margin: 0 0 0.4rem 0 !important;
  }

  .instruction-list {
    padding-left: 0 !important;
    margin: 0 0 0.5rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    list-style: none !important;
  }

  .instruction-list li {
    padding-left: 1.2rem !important;
    margin-bottom: 0 !important;
    font-size: 9pt !important;
    line-height: 1.4 !important;
    color: #1E293B !important;
    position: relative !important;
  }

  .instruction-list li::before {
    content: '•' !important;
    position: absolute !important;
    left: 0.2rem !important;
    top: -2px !important;
    font-size: 1.1rem !important;
    color: #0F172A !important;
  }

  /* FAQ Cards (Tab 4 #full-faq) */
  #full-faq .section-header {
    margin-bottom: 1rem !important;
    text-align: left !important;
  }

  #full-faq .section-tag {
    display: none !important;
  }

  #full-faq .section-title {
    font-size: 1.25rem !important;
    color: #0F172A !important;
    margin: 0 0 0.35rem 0 !important;
  }

  #full-faq .section-subtitle {
    font-size: 0.88rem !important;
    color: #475569 !important;
    margin: 0 0 0.85rem 0 !important;
    padding-bottom: 0.65rem !important;
    border-bottom: 1px solid #CBD5E1 !important;
  }

  .faq-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .faq-card {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    border: 1px solid #94A3B8 !important;
    border-radius: 8px !important;
    padding: 0.75rem 0.85rem !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .faq-card::before {
    display: none !important;
  }

  .faq-card-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 0.4rem !important;
  }

  .faq-card-icon {
    display: none !important;
  }

  .faq-card-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .faq-card-answer {
    font-size: 0.8rem !important;
    color: #334155 !important;
    line-height: 1.4 !important;
    padding-left: 0 !important;
    margin: 0 !important;
  }

  /* All detail elements inside instructions must stay expanded */
  details {
    display: block !important;
  }

  details > summary {
    display: block !important;
    font-weight: 700 !important;
  }

  details[open] > summary {
    margin-bottom: 0.35rem !important;
  }

  h2, h3, h4 {
    page-break-after: avoid !important;
    break-after: avoid !important;
  }
}



