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

:root {
  /* Core (overridden by theme admin) — premium dark, brighter for readability */
  --bg-primary: #0d1326;
  --bg-secondary: #141b30;
  --bg-card: #1d2742;
  --bg-card-hover: #243152;
  --accent: #00d4ff;
  --accent-dark: #0099cc;
  --accent-glow: rgba(0,212,255,.18);
  --gold: #c8a04d;
  --gold-light: #d4b266;
  --text-primary: #ffffff;
  --text-secondary: #b8c4d8;   /* was #94a3b8 — brighter secondary text */
  --text-muted: #7f8da6;       /* was #64748b — brighter muted text */
  --success: #22c55e;
  --danger: #ef4444;
  --border: rgba(255,255,255,.10);       /* slightly more visible card borders */
  --border-light: rgba(255,255,255,.16);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 28px rgba(0,0,0,.35);
  --shadow-glow: 0 0 32px rgba(0,212,255,.18);
  --transition: .25s ease;

  /* Theme-admin extended vars (defaults match current design) */
  --link-color: var(--accent);
  --link-hover: #00b8d9;
  --btn-accent-bg: var(--accent);
  --btn-accent-color: var(--bg-primary);
  --btn-accent-hover: #00b8d9;
  --btn-gold-bg: var(--gold);
  --btn-gold-color: var(--bg-primary);
  --btn-outline-border: rgba(255,255,255,.3);
  --btn-shadow-on: 1;
  --card-border: var(--border);
  --card-border-hover: rgba(0,212,255,.25);
  --card-hover-lift: 1;
  --shadow-glow-color: rgba(0,212,255,.15);
  --price-color: var(--gold);
  --hero-bg: var(--bg-primary);
  --faq-bg: var(--bg-primary);
  --footer-bg: var(--bg-primary);
  --footer-text: var(--text-primary);
  --footer-text-secondary: var(--text-secondary);
  --footer-text-muted: var(--text-muted);
  --footer-border: var(--border);
  --gradients-on: 1;
  --gradient-from: #0a0f1e;
  --gradient-to: #0f1a33;
  --glow-on: 1;
  --header-bg: rgba(10,15,30,.92);
  --header-opacity: 0.92;
  --menu-color: var(--text-secondary);
  --menu-active: var(--text-primary);
  --menu-hover: var(--accent);
  --topbar-bg: rgba(10,15,30,.95);
  --header-blur: 1;
  --header-scroll-shadow: 1;
  --input-bg: rgba(255,255,255,.045);
  --input-color: var(--text-primary);
  --input-placeholder: var(--text-muted);
  --input-border: var(--border-light);
  --input-focus: var(--accent);
  --input-radius: 8px;
  --form-bg: var(--bg-card);
  --form-btn-bg: var(--accent);
  --anim-on: 1;
  --hover-on: 1;
  --wa-pulse-on: 1;
  --transition-speed: .25s;
  --hover-lift: 2px;
}

/* Theme animation toggles */
.no-animations .anim-fade,
.no-animations .anim-up { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-hover *:hover { transform: none !important; }
.no-wa-pulse .wa-pulse { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .anim-fade, .anim-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wa-pulse { display: none !important; }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  padding-top: 99px;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-speed, .25s) ease; }
a:hover { color: var(--link-hover, var(--accent)); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ═══════════════════════════════
   BUTTONS
   ═══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition); text-align: center;
  justify-content: center; white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-accent {
  background: linear-gradient(135deg, var(--btn-accent-bg, var(--accent)), var(--accent-dark));
  color: var(--btn-accent-color, var(--bg-primary)); font-weight: 700;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-accent:hover { color: var(--btn-accent-color, var(--bg-primary)); box-shadow: 0 0 40px var(--accent-glow); transform: translateY(calc(-1 * var(--hover-lift, 2px))); }

.btn-gold {
  background: linear-gradient(135deg, var(--btn-gold-bg, var(--gold)), var(--gold-light));
  color: var(--btn-gold-color, var(--bg-primary)); font-weight: 700;
}
.btn-gold:hover { color: var(--btn-gold-color, var(--bg-primary)); box-shadow: 0 4px 20px rgba(200,160,77,.3); transform: translateY(calc(-1 * var(--hover-lift, 2px))); }

.btn-outline-light {
  background: transparent; border: 2px solid var(--btn-outline-border, rgba(255,255,255,.3)); color: var(--text-primary);
}
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline-accent {
  background: transparent; border: 2px solid var(--accent); color: var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: var(--bg-primary); }

.btn-primary {
  background: var(--accent); color: var(--bg-primary); font-weight: 700;
}
.btn-primary:hover { background: var(--accent-dark); color: var(--bg-primary); }

/* ═══════════════════════════════
   HEADER
   ═══════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9990;
  transition: background var(--transition);
}

.header-top {
  background: var(--topbar-bg, rgba(10,15,30,.95)); padding: 7px 0; font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.header-city { color: var(--text-muted); }
.header-top-links { display: flex; align-items: center; gap: 20px; }
.header-top-links a { color: var(--text-secondary); }
.header-top-links a:hover { color: var(--accent); }

.btn-callback {
  background: var(--accent); color: var(--bg-primary) !important;
  padding: 4px 14px; border-radius: 4px; font-size: 12px; font-weight: 600;
}
.btn-callback:hover { background: var(--accent-dark); color: var(--bg-primary) !important; }

.header-main {
  background: var(--header-bg, rgba(10,15,30,.92)); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header.scrolled .header-main { background: rgba(10,15,30,.98); }

.header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { display: flex; align-items: center; }
.logo-text { font-size: 18px; font-weight: 400; color: var(--text-primary); letter-spacing: .5px; }
.logo-text strong { font-weight: 700; color: var(--accent); }
.logo-white .logo-text { color: var(--text-primary); }

/* Nav */
.nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--menu-color, var(--text-secondary)); border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.nav-list > li > a:hover { background: rgba(255,255,255,.06); color: var(--menu-hover, var(--accent)); }
.nav-list > li > a.active { background: rgba(255,255,255,.06); color: var(--menu-active, var(--text-primary)); }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 8px 0; margin-top: 0; z-index: 9995;
}
.dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown.dropdown-open .dropdown { display: block; }
@media (min-width: 769px) {
  .has-dropdown:hover > .dropdown { display: block; }
  .has-dropdown:hover > .dropdown-toggle::after { transform: rotate(225deg) translateY(-1px); }
}
.dropdown-toggle::after {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); margin-left: 8px; transition: transform .2s;
}
.has-dropdown.dropdown-open .dropdown-toggle::after { transform: rotate(225deg) translateY(-1px); }
.dropdown li a { display: block; padding: 9px 18px; font-size: 14px; color: var(--text-secondary); transition: all .15s; }
.dropdown li a:hover { background: rgba(255,255,255,.04); color: var(--accent); }

/* Header phone */
.header-phone {
  display: flex; align-items: center; gap: 6px; color: var(--text-primary);
  font-size: 14px; font-weight: 600; flex-shrink: 0;
}
.header-phone:hover { color: var(--accent); }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════
   TRUST BAR
   ═══════════════════════════════ */
.trust-bar {
  background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.trust-bar-inner { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  letter-spacing: .3px;
}
.trust-item svg { opacity: .7; }

/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--hero-bg, var(--bg-primary)) 0%, var(--gradient-to, #0f1a33) 50%, var(--hero-bg, var(--bg-primary)) 100%);
  padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 50%, rgba(0,212,255,.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 30% 30%, rgba(200,160,77,.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; }

.hero-content h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; color: var(--text-primary); }
.hero-sub { font-size: 18px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Shield animation */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; min-height: 320px; }

/* Floating stat cards — original RitmSecurity visual element */
.hero-floating-stat {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  animation: heroStatFloat 4s ease-in-out infinite;
}
.hero-stat-top {
  top: 8%; left: -6%;
  animation-delay: 0s;
}
.hero-stat-bottom {
  bottom: 12%; right: -8%;
  animation-delay: 2s;
}
.hero-stat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-stat-icon-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}
.hero-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
@keyframes heroStatFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (max-width: 1024px) {
  .hero-stat-top, .hero-stat-bottom { display: none; }
}
.shield-anim { position: relative; width: 280px; height: 280px; display: flex; align-items: center; justify-content: center; }
.shield-ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--accent-glow);
}
.shield-ring.ring-1 { width: 100%; height: 100%; animation: pulse-ring 3s ease-in-out infinite; }
.shield-ring.ring-2 { width: 75%; height: 75%; animation: pulse-ring 3s ease-in-out infinite .5s; border-color: rgba(0,212,255,.1); }
.shield-ring.ring-3 { width: 50%; height: 50%; animation: pulse-ring 3s ease-in-out infinite 1s; border-color: rgba(0,212,255,.08); }
.shield-icon { position: relative; z-index: 1; }
.shield-icon svg { filter: drop-shadow(0 0 20px rgba(0,212,255,.3)); }

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #020609;
  pointer-events: none;
}

.hero-visual-css .shield-anim::before,
.hero-visual-css .shield-anim::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual-css .shield-anim::before {
  inset: 34px;
  border: 1px solid rgba(198,161,91,.20);
  animation: heroScan 4.8s ease-in-out infinite;
}

.hero-visual-css .shield-anim::after {
  width: 160%;
  height: 1px;
  left: -30%;
  top: 50%;
  background: linear-gradient(90deg, transparent, rgba(31,143,77,.42), rgba(198,161,91,.25), transparent);
  transform: rotate(-18deg);
  animation: heroSweep 5.6s ease-in-out infinite;
}

.hero-media-image {
  width: min(380px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(198,161,91,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.46), 0 0 44px rgba(31,143,77,.14);
}

.hero-visual-video .hero-bg {
  opacity: .35;
}

.hero-visual-none .hero-container {
  grid-template-columns: minmax(0, 820px);
}

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

.hero-animation-off .shield-ring,
.hero-animation-off .shield-anim::before,
.hero-animation-off .shield-anim::after {
  animation: none !important;
}

@keyframes heroScan {
  0%, 100% { transform: scale(.92); opacity: .22; }
  50% { transform: scale(1.08); opacity: .55; }
}

@keyframes heroSweep {
  0%, 100% { transform: translateY(-82px) rotate(-18deg); opacity: 0; }
  18%, 62% { opacity: .7; }
  72% { transform: translateY(82px) rotate(-18deg); opacity: 0; }
}

/* ═══════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════ */
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 36px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section-more { text-align: center; margin-top: 40px; }

/* ═══════════════════════════════
   ADVANTAGES
   ═══════════════════════════════ */
.advantages { padding: 80px 0; background: var(--bg-secondary); }
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; justify-content: center; }
.adv-card {
  text-align: center; padding: 36px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all var(--transition);
}
.adv-card:hover { border-color: var(--accent-glow); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.adv-icon { color: var(--accent); margin-bottom: 16px; display: flex; justify-content: center; }
.adv-number { font-size: 40px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.adv-label { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.adv-text { font-size: 14px; color: var(--text-muted); }

/* ═══════════════════════════════
   SERVICES
   ═══════════════════════════════ */
/* ═══════════════════════════════
   OBJECT TYPES — choose your protected object
   ═══════════════════════════════ */
.object-types { padding: 80px 0; background: var(--bg-secondary); }
.object-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-content: center;
}
.object-card {
  display: block;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: transform var(--transition-speed, .25s) ease,
              border-color var(--transition-speed, .25s) ease,
              box-shadow var(--transition-speed, .25s) ease,
              background var(--transition-speed, .25s) ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}
.object-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.object-card:hover {
  transform: translateY(calc(-1 * var(--hover-lift, 2px) * 2));
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 36px var(--shadow-glow-color, rgba(0,212,255,.10));
  background: var(--bg-card-hover, var(--bg-card));
  color: var(--text-primary);
}
.object-card:hover::before { transform: scaleX(1); }
.object-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px var(--shadow-glow-color, rgba(0,212,255,.18));
  transition: transform var(--transition-speed, .25s) ease;
}
.object-card:hover .object-icon { transform: scale(1.05) rotate(-3deg); }
.object-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.object-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}
.object-cta {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  transition: gap var(--transition-speed, .25s) ease;
  gap: 4px;
}
.object-card:hover .object-cta { gap: 8px; }

@media (max-width: 768px) {
  .object-types { padding: 60px 0; }
  .object-types-grid { gap: 14px; grid-template-columns: repeat(2, 1fr); }
  .object-card { padding: 22px 18px; }
  .object-icon { width: 52px; height: 52px; margin-bottom: 14px; }
  .object-card h3 { font-size: 16px; }
  .object-card p { font-size: 13px; margin-bottom: 12px; }
}
@media (max-width: 480px) {
  .object-types-grid { grid-template-columns: 1fr; }
}

.services { padding: 80px 0; background: var(--bg-primary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; justify-content: center; }
.service-card {
  display: block; padding: 32px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all var(--transition);
  cursor: pointer; text-decoration: none; color: inherit;
}
.service-card:hover { border-color: rgba(0,212,255,.2); box-shadow: var(--shadow-glow); transform: translateY(-4px); color: inherit; }
.service-icon { color: var(--accent); margin-bottom: 20px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.service-card p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.5; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 10px; }

/* ═══════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════ */
.how-it-works { padding: 80px 0; background: var(--bg-secondary); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  text-align: center; position: relative; padding: 24px 16px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg-primary); font-size: 20px; font-weight: 800;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.step-line {
  position: absolute; top: 52px; left: calc(50% + 36px); right: calc(-50% + 36px);
  height: 2px; background: var(--border-light);
}
.step:last-child .step-line { display: none; }
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.step p { font-size: 14px; color: var(--text-secondary); }

/* ═══════════════════════════════
   CTA AUDIT
   ═══════════════════════════════ */
.cta-audit { padding: 80px 0; background: var(--bg-primary); }
.cta-audit-inner {
  background: linear-gradient(135deg, #1a2238 0%, #0f1a33 100%);
  border: 1px solid var(--border-light); border-radius: 16px;
  padding: 60px 48px; display: flex; align-items: center; gap: 48px;
  position: relative; overflow: hidden;
}
.cta-audit-inner::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,160,77,.1), transparent 70%);
  pointer-events: none;
}
.cta-audit-text { flex: 1; position: relative; z-index: 1; }
.cta-audit-text h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-audit-text p { font-size: 17px; color: var(--text-secondary); }
.cta-audit-actions { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; z-index: 1; }
.cta-phone { font-size: 14px; color: var(--text-secondary); }
.cta-phone strong { color: var(--text-primary); }
.cta-phone:hover { color: var(--accent); }

/* ═══════════════════════════════
   CASES
   ═══════════════════════════════ */
.cases { padding: 80px 0; background: var(--bg-secondary); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; justify-content: center; }
.case-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.case-card:hover { border-color: rgba(0,212,255,.2); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.case-img { height: 200px; background: linear-gradient(135deg, #1a2238, #0f1a33); display: flex; align-items: center; justify-content: center; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-placeholder { color: var(--text-muted); opacity: .3; }
.case-tag {
  display: inline-block; margin: 16px 16px 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--accent); background: rgba(0,212,255,.1); padding: 4px 10px; border-radius: 4px;
}
.case-card h4 { padding: 0 16px; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.case-card p { padding: 0 16px 20px; font-size: 14px; color: var(--text-secondary); }

/* ═══════════════════════════════
   REVIEWS
   ═══════════════════════════════ */
.reviews { padding: 80px 0; background: var(--bg-primary); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; justify-content: center; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all var(--transition);
}
.review-card:hover { border-color: rgba(200,160,77,.2); }
.review-stars { color: var(--gold); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg-primary); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.review-author strong { display: block; font-size: 14px; color: var(--text-primary); }
.review-author span { display: block; font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════
   CERTIFICATES
   ═══════════════════════════════ */
.certificates { padding: 80px 0; background: var(--bg-secondary); }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 20px; text-align: center;
  transition: all var(--transition);
}
.cert-card:hover { border-color: rgba(200,160,77,.2); }
.cert-placeholder { color: var(--text-muted); opacity: .4; margin-bottom: 16px; display: flex; justify-content: center; }
.cert-card img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }
.cert-card p { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.certificates .cert-card img { cursor: zoom-in; }

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 13, 25, .78);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.cert-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cert-lightbox-frame {
  position: relative;
  max-width: min(94vw, 1100px);
  max-height: calc(100vh - 72px);
  max-height: calc(100dvh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(10px) scale(.98);
  transition: transform .22s ease;
}

.cert-lightbox.open .cert-lightbox-frame {
  transform: translateY(0) scale(1);
}

.cert-lightbox-img {
  display: block;
  max-width: min(94vw, 1100px);
  max-height: calc(100vh - 130px);
  max-height: calc(100dvh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

.cert-lightbox-caption {
  max-width: min(94vw, 860px);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.cert-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
  transition: transform .18s ease, background .18s ease;
}

.cert-lightbox-close:hover,
.cert-lightbox-close:focus-visible {
  transform: scale(1.04);
  background: #fff;
  outline: none;
}

body.cert-lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .cert-lightbox {
    padding: 14px;
  }

  .cert-lightbox-img {
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 112px);
    max-height: calc(100dvh - 112px);
    border-radius: 10px;
  }

  .cert-lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .cert-lightbox-caption {
    font-size: 12px;
    border-radius: 12px;
  }
}

/* ═══════════════════════════════
   FAQ
   ═══════════════════════════════ */
.faq { padding: 80px 0; background: var(--faq-bg, var(--bg-primary)); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  text-align: left; font-family: inherit; transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question svg { flex-shrink: 0; color: var(--text-muted); transition: transform var(--transition); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 0 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ═══════════════════════════════
   LEAD FORM
   ═══════════════════════════════ */
.lead-form { padding: 80px 0; background: var(--bg-secondary); }
.lead-form-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.lead-form-info h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.lead-form-info p { font-size: 17px; color: var(--text-secondary); margin-bottom: 28px; }
.lead-contacts { display: flex; flex-direction: column; gap: 14px; }
.lead-contact-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--text-secondary);
  transition: color var(--transition);
}
.lead-contact-item:hover { color: var(--accent); }
.lead-contact-item svg { color: var(--accent); flex-shrink: 0; }

.lead-form-box {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px;
}
.lead-form-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }

.form-field { margin-bottom: 14px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); font-size: 15px; color: var(--text-primary);
  font-family: inherit; outline: none; transition: border-color var(--transition);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field select { cursor: pointer; }
.form-field select option { background: var(--bg-card); color: var(--text-primary); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 80px; }

.form-consent { margin-bottom: 18px; }
.form-consent label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); cursor: pointer;
}
.form-consent input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
.form-consent a { color: var(--accent); }

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.footer {
  background: var(--footer-bg, #060a16); padding: 60px 0 0;
  border-top: 1px solid var(--footer-border);
  color: var(--footer-text);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { }
.footer-desc { font-size: 14px; color: var(--footer-text-secondary); margin-top: 16px; line-height: 1.6; }
.footer-bin { font-size: 12px; color: var(--footer-text-muted); margin-top: 8px; }
.footer-contacts { margin-top: 16px; font-size: 14px; line-height: 1.8; }
.footer-contacts a { color: var(--footer-text-secondary); }
.footer-contacts a:hover { color: var(--accent); }

.footer-nav h5 {
  font-size: 14px; font-weight: 700; color: var(--footer-text);
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px;
}
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a { font-size: 14px; color: var(--footer-text-secondary); }
.footer-nav ul li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; margin-top: 40px;
  border-top: 1px solid var(--footer-border);
}
.footer-bottom p { font-size: 13px; color: var(--footer-text-muted); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--bg-primary); }

/* ═══════════════════════════════
   MOBILE STICKY CTA
   ═══════════════════════════════ */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90; background: rgba(10,15,30,.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px; gap: 10px;
  transform: translateY(100%); transition: transform .3s ease;
}
.mobile-cta.visible { transform: translateY(0); }
.mobile-cta-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700;
}
.mobile-cta-call { background: var(--accent); color: var(--bg-primary); }
.mobile-cta-wa { background: #25d366; color: #fff; }

/* ═══════════════════════════════
   CALLBACK POPUP
   ═══════════════════════════════ */
.callback-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
}
.callback-overlay.active { display: block; }
.callback-popup {
  display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 10010; background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 36px; width: 100%; max-width: 400px;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.callback-popup.active { display: block; }
.callback-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 28px; color: var(--text-muted);
  cursor: pointer; line-height: 1;
}
.callback-close:hover { color: var(--text-primary); }
.callback-popup h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.callback-popup p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.callback-form input {
  width: 100%; padding: 14px 16px; margin-bottom: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); font-size: 15px; color: var(--text-primary);
  font-family: inherit; outline: none;
}
.callback-form input:focus { border-color: var(--accent); }
.callback-form input::placeholder { color: var(--text-muted); }

/* ═══════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════ */
.anim-fade { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.anim-up { opacity: 0; transform: translateY(30px); transition: opacity .5s ease, transform .5s ease; }
.anim-fade.visible, .anim-up.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.services-grid .service-card:nth-child(2) { transition-delay: .1s; }
.services-grid .service-card:nth-child(3) { transition-delay: .2s; }
.services-grid .service-card:nth-child(4) { transition-delay: .15s; }
.services-grid .service-card:nth-child(5) { transition-delay: .25s; }
.services-grid .service-card:nth-child(6) { transition-delay: .3s; }
.advantages-grid .adv-card:nth-child(2) { transition-delay: .1s; }
.advantages-grid .adv-card:nth-child(3) { transition-delay: .2s; }
.advantages-grid .adv-card:nth-child(4) { transition-delay: .3s; }

/* ═══════════════════════════════
   BREADCRUMB
   ═══════════════════════════════ */
.breadcrumb {
  padding: 12px 0; background: var(--bg-secondary);
  border-bottom: 1px solid var(--border); font-size: 13px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-muted); margin: 0 8px; }
.breadcrumb span:last-child { color: var(--text-secondary); }

/* ═══════════════════════════════
   SERVICE PAGE (internal)
   ═══════════════════════════════ */
.service-hero {
  padding: 60px 0; background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}
.service-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.service-hero p { font-size: 18px; color: var(--text-secondary); max-width: 700px; }

.service-content { padding: 60px 0; background: var(--bg-secondary); }
.service-content-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.service-text p { font-size: 16px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.service-features { list-style: none; }
.service-features li {
  padding: 12px 0 12px 28px; position: relative;
  font-size: 15px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
}
.service-image {
  height: 300px; background: linear-gradient(135deg, var(--bg-card), #0f1a33);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); opacity: .3; border: 1px solid var(--border);
}
.service-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); opacity: 1; }

.service-cta {
  padding: 60px 0; background: var(--bg-primary);
  text-align: center;
}
.service-cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.service-cta p { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════
   CASES PAGE
   ═══════════════════════════════ */
.cases-page { padding: 60px 0; background: var(--bg-secondary); }
.cases-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ═══════════════════════════════
   NEWS (override for dark theme)
   ═══════════════════════════════ */
.news-section { padding: 60px 0; background: var(--bg-secondary); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover { border-color: rgba(0,212,255,.15); transform: translateY(-3px); }
.news-card-img { height: 180px; background: linear-gradient(135deg, #1a2238, #0f1a33); overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px; }
.news-card-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: block; }
.news-card-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.news-card-title a { color: var(--text-primary); }
.news-card-title a:hover { color: var(--accent); }
.news-card-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.news-empty { text-align: center; padding: 80px 20px; color: var(--text-secondary); }
.news-pagination { display: flex; justify-content: center; gap: 8px; }
.news-pagination a, .news-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; transition: all var(--transition);
}
.news-pagination a { background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border); }
.news-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.news-pagination span { background: var(--accent); color: var(--bg-primary); }

/* News article */
.news-article { padding: 60px 0; background: var(--bg-secondary); }
.news-article-inner { max-width: 800px; margin: 0 auto; }
.news-article-date { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.news-article-title { font-size: 32px; font-weight: 700; line-height: 1.2; margin-bottom: 24px; }
.news-article-gallery { margin-bottom: 32px; }
.news-article-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.news-article-img img { width: 100%; }
.news-article-text { font-size: 16px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 40px; }
.news-article-nav { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.news-nav-btn {
  flex: 1; display: block; padding: 16px 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.news-nav-btn:hover { border-color: var(--accent); color: var(--text-primary); }
.news-nav-btn span { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.news-nav-btn strong { font-size: 14px; color: var(--text-primary); }
.news-nav-next { text-align: right; }
.news-back-link { color: var(--accent); font-size: 14px; font-weight: 600; }

/* ═══════════════════════════════
   CONTACTS PAGE
   ═══════════════════════════════ */
.contact-application { padding: 60px 0; background: var(--bg-secondary); }
.contact-application-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact-application-info { }
.contact-eyebrow {
  display: inline-block; font-size: 13px; color: var(--accent); text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 700; margin-bottom: 12px;
}
.contact-application-info h1 { font-size: 32px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.contact-application-info > p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.5; }

/* Contact info cards */
.contact-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.contact-info-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 20px;
  transition: all var(--transition); text-decoration: none; color: inherit;
}
.contact-info-card:hover { border-color: rgba(0,212,255,.2); background: rgba(0,212,255,.03); }
.contact-info-card span {
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-muted); font-weight: 700;
}
.contact-info-card strong {
  font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.4;
}
a.contact-info-card:hover strong { color: var(--accent); }

/* Lead form card */
.lead-form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.lead-form-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.lead-form-card > p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }

/* Lead form fields */
.lead-field { margin-bottom: 16px; }
.lead-field label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 6px;
}
.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%; padding: 13px 16px;
  background: var(--input-bg, rgba(255,255,255,.05)); border: 1px solid var(--input-border, var(--border-light));
  border-radius: var(--input-radius, var(--radius-sm)); font-size: 15px; color: var(--input-color, var(--text-primary));
  font-family: inherit; outline: none; transition: border-color var(--transition-speed, .25s) ease;
}
.lead-field input::placeholder,
.lead-field textarea::placeholder { color: var(--input-placeholder, var(--text-muted)); }
.lead-field select { cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.lead-field select option { background: var(--bg-card); color: var(--text-primary); }
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus { border-color: var(--input-focus, var(--accent)); }
.lead-field textarea { resize: vertical; min-height: 80px; }

/* Privacy checkbox */
.privacy-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  margin-bottom: 18px; line-height: 1.4;
}
.privacy-check input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.privacy-check a { color: var(--accent); }

/* Form status/error */
.form-error { font-size: 13px; color: #ff4d4d; margin-bottom: 12px; }
.form-status { font-size: 13px; color: var(--accent); margin-top: 12px; }

/* Submit button */
.lead-submit {
  width: 100%; padding: 16px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all var(--transition);
}
.lead-submit:disabled { opacity: .4; cursor: not-allowed; }

/* Map section */
.contacts-map { padding: 60px 0; background: var(--bg-primary); }
.contacts-map .section-title { margin-bottom: 4px; }
#map-placeholder {
  width: 100%; height: 400px; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--text-muted);
}
#map-placeholder iframe { width: 100%; height: 100%; border: 0; }
.map-pin-anim { animation: map-bounce 2s infinite; }
@keyframes map-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.map-note { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero { padding: 70px 0 60px; }
  .hero-content h1 { font-size: 38px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .cases-page-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-audit-inner { flex-direction: column; text-align: center; padding: 40px 32px; }
  .lead-form-inner { grid-template-columns: 1fr; }
  .service-content-inner { grid-template-columns: 1fr; }
  .contact-application-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .header-top { display: none; }
  .nav { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(10,15,30,.98); z-index: 99; padding: 20px; overflow-y: auto; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 14px 16px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .dropdown { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.03); padding: 0; margin-top: 0; border-radius: 0; }
  .dropdown li a { padding: 12px 32px; font-size: 15px; }
  .dropdown-toggle::after { display: none; }
  .has-dropdown .dropdown { display: block; }
  .burger { display: flex; }
  .header-phone { display: none; }
  .lang-select { display: none; }

  .hero-content h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }

  .trust-bar-inner { gap: 16px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .trust-item { white-space: nowrap; font-size: 12px; }

  .section-title { font-size: 28px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .adv-number { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .step-line { display: none; }
  .cases-grid, .cases-page-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-application-info h1 { font-size: 26px; }
  .lead-form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .mobile-cta { display: flex; }

  .news-article-title { font-size: 24px; }
  .news-article-nav { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 26px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .adv-card { padding: 24px 16px; }
  .callback-popup { margin: 0 16px; max-width: calc(100% - 32px); }
}

/* ═══════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════ */
.whatsapp-wrap {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  display: flex; align-items: center; gap: 10px;
}
.whatsapp-fixed {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.whatsapp-fixed:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); color: #fff; }
.wa-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #25d366; animation: wa-pulse 2s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.15); opacity: 0; }
}
.wa-tooltip {
  background: var(--bg-card, #1a2238); color: var(--text-primary, #fff);
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.whatsapp-wrap:hover .wa-tooltip { opacity: 1; }

/* Move up when mobile CTA is visible */
@media (max-width: 768px) {
  .whatsapp-wrap { bottom: 80px; right: 16px; }
}

/* ═══════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: rgba(10,15,30,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light, rgba(255,255,255,.12));
  padding: 16px 20px; transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.cookie-show { transform: translateY(0); }
.cookie-banner.cookie-hide { transform: translateY(100%); }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cookie-inner p { font-size: 13px; color: var(--text-secondary, #94a3b8); flex: 1; }
.cookie-inner p a { color: var(--accent, #00d4ff); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s;
}
.cookie-btn-accept { background: var(--accent, #00d4ff); color: var(--bg-primary, #0a0f1e); }
.cookie-btn-accept:hover { opacity: .9; }
.cookie-btn-decline { background: rgba(255,255,255,.08); color: var(--text-secondary, #94a3b8); border: 1px solid var(--border-light, rgba(255,255,255,.12)); }
.cookie-btn-decline:hover { background: rgba(255,255,255,.12); }

@media (max-width: 768px) {
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* Ritm Security Services theme: restrained security agency palette */
:root {
  --bg-primary: #080d12;
  --bg-secondary: #0f171f;
  --bg-card: #16212b;
  --bg-card-hover: #1c2a36;
  --accent: #1f8f4d;
  --accent-dark: #126238;
  --accent-glow: rgba(31,143,77,.18);
  --gold: #c6a15b;
  --gold-light: #e0bd73;
  --text-primary: #f7faf7;
  --text-secondary: #aeb9b2;
  --text-muted: #748176;
  --success: #2bb864;
  --danger: #c94747;
  --border: rgba(255,255,255,.09);
  --border-light: rgba(255,255,255,.14);
  --shadow: 0 4px 28px rgba(0,0,0,.42);
  --shadow-glow: 0 0 34px rgba(31,143,77,.18);
}

body {
  background:
    radial-gradient(ellipse 820px 460px at 70% 0%, rgba(31,143,77,.08), transparent 62%),
    var(--bg-primary);
}

a:hover,
.logo-text strong,
.adv-icon,
.service-icon,
.trust-item,
.section-kicker,
.contact-eyebrow,
.footer-nav ul li a:hover,
.privacy-check a,
.cookie-inner p a {
  color: var(--gold);
}

.logo-icon rect {
  fill: var(--accent);
}

.logo-icon path {
  fill: var(--bg-primary);
}

.header-top,
.header-main {
  background: rgba(8,13,18,.96);
}

.header.scrolled .header-main,
.nav {
  background: rgba(8,13,18,.98);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  background: rgba(31,143,77,.13);
  color: var(--text-primary);
}

.dropdown {
  background: #121d26;
  border-color: rgba(198,161,91,.18);
}

.dropdown li a:hover {
  background: rgba(31,143,77,.10);
  color: var(--gold);
}

.hero {
  background:
    linear-gradient(135deg, #080d12 0%, #0d1a22 52%, #08100d 100%);
}

.hero-bg {
  background:
    radial-gradient(ellipse 640px 420px at 75% 48%, rgba(31,143,77,.13) 0%, transparent 70%),
    radial-gradient(ellipse 460px 320px at 28% 28%, rgba(198,161,91,.08) 0%, transparent 70%);
}

.btn-accent,
.btn-primary,
.btn-callback,
.mobile-cta-call,
.cookie-btn-accept,
.lead-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #f7faf7 !important;
  box-shadow: 0 10px 28px rgba(31,143,77,.22);
}

.btn-accent:hover,
.btn-primary:hover,
.btn-callback:hover,
.cookie-btn-accept:hover {
  background: linear-gradient(135deg, #27a85d, var(--accent-dark));
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(31,143,77,.30);
}

.btn-outline-light,
.btn-outline-accent {
  border-color: rgba(198,161,91,.46);
  color: var(--text-primary);
}

.btn-outline-light:hover,
.btn-outline-accent:hover {
  background: rgba(198,161,91,.12);
  border-color: var(--gold);
  color: var(--gold);
}

.service-card,
.adv-card,
.case-card,
.news-card,
.review-card,
.cert-card,
.lead-form-box,
.lead-form-card,
.contact-info-card,
.faq-item,
.callback-popup {
  background: linear-gradient(180deg, rgba(22,33,43,.98), rgba(13,22,29,.98));
  border-color: rgba(198,161,91,.12);
}

.service-card:hover,
.adv-card:hover,
.case-card:hover,
.news-card:hover,
.contact-info-card:hover {
  border-color: rgba(31,143,77,.34);
  box-shadow: 0 16px 42px rgba(0,0,0,.34), var(--shadow-glow);
}

.adv-number,
.step-num,
.service-card h3,
.case-tag,
.news-date {
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea,
.lead-field input,
.lead-field select,
.lead-field textarea,
.callback-form input {
  background: rgba(255,255,255,.045);
  border-color: rgba(198,161,91,.16);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus,
.callback-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,143,77,.12);
}

.footer {
  background: #070b0f;
  border-top: 1px solid rgba(198,161,91,.12);
}

.footer-bottom {
  border-top-color: rgba(198,161,91,.10);
}

@media (max-width: 768px) {
  body.nav-open .nav.open {
    background: #080d12 !important;
  }

  body.nav-open .nav.open .nav-list > li > a {
    background: rgba(255,255,255,.045);
    border-color: rgba(198,161,91,.14);
  }
}

/* Ritm Security Services targeted fixes: mobile menu, floating buttons, overflow */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

.btn,
.mobile-cta-btn,
.contact-info-card,
.catalog-card,
.service-card {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .header {
    z-index: 1000;
  }

  .nav {
    top: 64px;
    z-index: 1001;
    padding: 16px 20px 104px;
    background: rgba(10,15,30,.99);
    border-top: 1px solid var(--border);
  }

  .nav-list > li > a {
    min-height: 48px;
  }

  .has-dropdown .dropdown {
    display: none;
  }

  .has-dropdown.dropdown-open .dropdown {
    display: block;
  }

  .dropdown-toggle::after {
    display: inline-block;
  }

  .trust-bar-inner {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .trust-item {
    white-space: normal;
    text-align: center;
  }

  .mobile-cta {
    z-index: 120;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .whatsapp-wrap {
    right: 16px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 130;
  }

  body.cookies-visible .whatsapp-wrap {
    bottom: calc(184px + env(safe-area-inset-bottom));
  }

  .wa-tooltip {
    display: none;
  }

  .cookie-banner {
    z-index: 140;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn {
    white-space: normal;
    min-height: 44px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-content h1 {
    line-height: 1.15;
  }

  .callback-popup {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  body.cookies-visible .whatsapp-wrap {
    bottom: calc(210px + env(safe-area-inset-bottom));
  }
}

/* Ritm Security Services fix: compact consultation form on contacts page */
.lead-form-card > .lead-form {
  padding: 0;
  background: transparent;
}

.lead-form-card {
  max-width: 560px;
  padding: 28px;
}

.lead-form-card h2 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.lead-form-card > p {
  margin-bottom: 22px;
}

.lead-form-card .lead-field {
  margin-bottom: 14px;
}

.lead-form-card .lead-field input,
.lead-form-card .lead-field select {
  min-height: 48px;
  padding: 11px 16px;
}

.lead-form-card .lead-field textarea {
  min-height: 104px;
  padding: 12px 16px;
}

.lead-form-card .privacy-check {
  margin: 4px 0 18px;
}

.lead-form-card .lead-submit {
  min-height: 52px;
  padding: 13px 18px;
}

@media (max-width: 768px) {
  .lead-form-card {
    max-width: none;
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .lead-form-card {
    padding: 20px 16px;
  }

  .lead-form-card h2 {
    font-size: 22px;
  }

  .lead-form-card .lead-field textarea {
    min-height: 92px;
  }
}

/* Ritm Security Services fix: full-screen mobile menu overlay */
@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
  }

  body.nav-open .header {
    z-index: 5000;
  }

  body.nav-open .nav.open {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 18px 20px 120px !important;
    background: #0a0f1e !important;
    border-top: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0,0,0,.55);
    z-index: 4999 !important;
  }

  body.nav-open .nav.open .nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100%;
  }

  body.nav-open .nav.open .nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
  }

  body.nav-open .nav.open .dropdown {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    padding: 6px !important;
    background: rgba(255,255,255,.035) !important;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: none !important;
  }

  body.nav-open .nav.open .has-dropdown:not(.dropdown-open) > .dropdown {
    display: none !important;
  }

  body.nav-open .nav.open .has-dropdown.dropdown-open > .dropdown {
    display: block !important;
  }

  body.nav-open .nav.open .dropdown li a {
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 8px;
    border-bottom: 0;
  }

  body.nav-open .whatsapp-wrap,
  body.nav-open .mobile-cta,
  body.nav-open [class*="floating"],
  body.nav-open [class*="float"],
  body.nav-open [class*="fixed-call"],
  body.nav-open [class*="call-fixed"],
  body.nav-open [class*="phone-fixed"] {
    display: none !important;
  }
}

/* Final fixed-header layer: overrides mobile menu and floating layers safely */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9990 !important;
}

body {
  padding-top: 99px;
}

.dropdown {
  z-index: 9995;
}

.callback-overlay {
  z-index: 10000;
}

.callback-popup {
  z-index: 10010;
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .header,
  body.nav-open .header {
    z-index: 9990 !important;
  }

  .nav,
  body.nav-open .nav.open {
    top: 64px !important;
    z-index: 9980 !important;
  }
}

@media (max-width: 768px) {
  .hero-visual-image .hero-visual {
    display: flex;
  }

  .hero-media-image {
    width: 100%;
    max-height: 240px;
    border-radius: 16px;
  }

  .hero-visual-video .hero-visual,
  .hero-visual-none .hero-visual {
    display: none !important;
  }

  .hero-visual-none .hero-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-visual-image .hero-visual {
    display: flex;
  }
}

/* Visual polish layer: subtle modern motion and refined surfaces */
:root {
  --surface-soft: rgba(255,255,255,.045);
  --surface-strong: rgba(255,255,255,.075);
  --focus-ring: 0 0 0 3px rgba(31,143,77,.22);
  --card-hover-shadow: 0 18px 50px rgba(0,0,0,.36), 0 0 34px rgba(31,143,77,.16);
}

body {
  background:
    radial-gradient(ellipse 900px 520px at 78% 0%, rgba(31,143,77,.10), transparent 64%),
    radial-gradient(ellipse 700px 420px at 12% 18%, rgba(198,161,91,.055), transparent 66%),
    linear-gradient(180deg, #080d12 0%, #0a1117 42%, #080d12 100%);
}

.header {
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.header.scrolled .header-main {
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
}

.header-main,
.header-top {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-list > li > a,
.dropdown li a,
.btn,
.btn-callback,
.mobile-cta-btn,
.cookie-btn,
.lead-submit,
.pc-submit,
.pc-mobile-open,
.pc-reset,
.pc-tab,
.pc-qty-btn {
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  transform: translateY(-1px);
}

.dropdown {
  transform-origin: top center;
}

.has-dropdown:hover > .dropdown,
.has-dropdown.dropdown-open > .dropdown {
  animation: menuDrop .18s ease both;
}

@keyframes menuDrop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero,
.price-calc-hero {
  position: relative;
  overflow: hidden;
}

.hero::after,
.price-calc-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,161,91,.32), transparent);
  pointer-events: none;
}

.hero-content h1,
.price-calc-hero h1,
.section-title {
  text-wrap: balance;
}

.section-header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.services,
.advantages,
.cases,
.news-section,
.contacts-section,
.price-calc {
  position: relative;
}

.service-card,
.adv-card,
.case-card,
.news-card,
.review-card,
.cert-card,
.contact-info-card,
.lead-form-box,
.lead-form-card,
.faq-item,
.pc-card,
.pc-summary {
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.20);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.service-card:hover,
.adv-card:hover,
.case-card:hover,
.news-card:hover,
.review-card:hover,
.cert-card:hover,
.contact-info-card:hover,
.faq-item:hover,
.pc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198,161,91,.28) !important;
  box-shadow: var(--card-hover-shadow);
}

.pc-card.selected {
  border-color: rgba(31,143,77,.68) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.36), 0 0 38px rgba(31,143,77,.24);
}

.case-img img,
.news-card-img img,
.pc-img {
  transition: transform .35s ease, filter .35s ease;
}

.case-card:hover .case-img img,
.news-card:hover .news-card-img img,
.pc-card:hover .pc-img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

.btn:hover,
.btn-callback:hover,
.lead-submit:hover,
.pc-submit:not(:disabled):hover,
.pc-mobile-open:hover,
.mobile-cta-btn:hover,
.cookie-btn:hover {
  transform: translateY(-2px);
}

.btn:active,
.btn-callback:active,
.lead-submit:active,
.pc-submit:active,
.pc-mobile-open:active,
.pc-qty-btn:active,
.mobile-cta-btn:active {
  transform: translateY(0) scale(.99);
}

.btn:focus-visible,
.btn-callback:focus-visible,
.nav-list a:focus-visible,
.dropdown a:focus-visible,
.burger:focus-visible,
.pc-tab:focus-visible,
.pc-reset:focus-visible,
.pc-qty-btn:focus-visible,
.pc-mobile-open:focus-visible,
.pc-submit:focus-visible,
.whatsapp-fixed:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.form-field input,
.form-field select,
.form-field textarea,
.lead-field input,
.lead-field select,
.lead-field textarea,
.callback-form input,
.pc-field input,
.pc-field textarea {
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus,
.callback-form input:focus,
.pc-field input:focus,
.pc-field textarea:focus {
  background: rgba(255,255,255,.065);
  box-shadow: var(--focus-ring);
}

.pc-qty-btn:hover,
.pc-reset:hover,
.pc-tab:hover {
  border-color: rgba(198,161,91,.38);
  background: rgba(198,161,91,.08);
  color: var(--text-primary);
}

.pc-mobile-bar {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pc-summary {
  scrollbar-width: thin;
  scrollbar-color: rgba(198,161,91,.42) rgba(255,255,255,.05);
}

.callback-overlay.active {
  animation: overlayFade .18s ease both;
}

.callback-popup.active {
  animation: modalIn .22s ease both;
}

@keyframes overlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)) scale(.98); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.whatsapp-fixed {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.whatsapp-fixed:hover {
  transform: translateY(-2px) scale(1.06);
}

.ui-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .52s ease var(--reveal-delay, 0ms), transform .52s ease var(--reveal-delay, 0ms);
}

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

@media (max-width: 768px) {
  .service-card,
  .adv-card,
  .case-card,
  .news-card,
  .review-card,
  .cert-card,
  .contact-info-card,
  .lead-form-box,
  .lead-form-card,
  .faq-item,
  .pc-card {
    border-radius: 12px;
  }

  .service-card:hover,
  .adv-card:hover,
  .case-card:hover,
  .news-card:hover,
  .review-card:hover,
  .cert-card:hover,
  .contact-info-card:hover,
  .faq-item:hover,
  .pc-card:hover {
    transform: none;
  }

  .pc-mobile-bar {
    border-top-color: rgba(198,161,91,.28);
  }
}

/* FAQ: premium accordion */
.faq {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(31, 143, 77, .16), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(198, 161, 91, .12), transparent 32%),
    linear-gradient(180deg, #070c10 0%, #0b1318 52%, #070c10 100%);
}

.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(31, 143, 77, .08), transparent),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 18px);
  opacity: .72;
}

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

.faq .section-header {
  max-width: 760px;
  margin: 0 auto 34px;
}

.faq .section-header::before {
  content: 'FAQ';
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(198, 161, 91, .28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(198, 161, 91, .08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid rgba(198, 161, 91, .14);
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(20, 34, 43, .92), rgba(10, 18, 24, .96)),
    radial-gradient(circle at 0 0, rgba(31, 143, 77, .12), transparent 38%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 161, 91, .34);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .3), 0 0 0 1px rgba(31, 143, 77, .08);
}

.faq-item.open {
  border-color: rgba(31, 143, 77, .46);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .34), 0 0 28px rgba(31, 143, 77, .12);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(31, 143, 77, .75);
  outline-offset: -4px;
}

.faq-num {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--gold);
  background: rgba(31, 143, 77, .14);
  border: 1px solid rgba(31, 143, 77, .28);
  font-size: 13px;
  font-weight: 900;
}

.faq-question-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq-icon,
.faq-question > svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(198, 161, 91, .09);
  border: 1px solid rgba(198, 161, 91, .16);
  transition: transform .24s ease, color .24s ease, background .24s ease, border-color .24s ease;
}

.faq-icon svg,
.faq-question > svg {
  width: 20px;
  height: 20px;
}

.faq-item.open .faq-icon,
.faq-item.open .faq-question > svg {
  transform: rotate(180deg);
  color: #ffffff;
  background: rgba(31, 143, 77, .72);
  border-color: rgba(31, 143, 77, .82);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .34s ease, opacity .24s ease;
}

.faq-item.open .faq-answer {
  max-height: 420px;
  opacity: 1;
}

.faq-answer-inner {
  margin: 0 22px 22px 82px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(198, 161, 91, .16);
  position: relative;
}

.faq-answer-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.faq-answer p {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

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

@media (max-width: 768px) {
  .faq {
    padding: 66px 0;
  }

  .faq .section-header {
    margin-bottom: 24px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-question {
    gap: 10px;
    padding: 16px;
    font-size: 15px;
  }

  .faq-num {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 12px;
  }

  .faq-icon,
  .faq-question > svg {
    width: 32px;
    height: 32px;
  }

  .faq-answer-inner {
    margin: 0 16px 18px 62px;
    padding-top: 14px;
  }

  .faq-answer-inner::before {
    top: 14px;
  }

  .faq-answer p {
    font-size: 14px;
    line-height: 1.65;
  }
}

@media (max-width: 420px) {
  .faq-question {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .faq-num {
    display: none;
  }

  .faq-answer-inner {
    margin-left: 16px;
  }
}

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

  .ui-reveal,
  .anim-fade,
  .anim-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Light premium full-site polish */
html.theme-light,
html.theme-light body,
body.theme-light {
  color-scheme: light;
  background:
    radial-gradient(980px 540px at 78% -8%, rgba(22,163,74,.13), transparent 66%),
    radial-gradient(740px 420px at 10% 18%, rgba(200,160,77,.10), transparent 64%),
    linear-gradient(180deg, #f7f9fb 0%, #ffffff 42%, #f5f7f9 100%) !important;
  color: #0f172a !important;
}

/* Auto-fit uploaded images */
.case-img,
.news-card-img,
.catalog-img,
.service-image,
.cert-card,
.pc-card,
.review-avatar,
.hero-preview-visual,
.extra-photo,
.img-mgr-item,
.pc-photo-tools,
.lead-form-card,
.contact-info-card {
  min-width: 0;
}

.case-img,
.news-card-img,
.catalog-img,
.service-image {
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 50% 35%, rgba(22,163,74,.10), transparent 70%),
    linear-gradient(135deg, #f8fafc, #eef2f7);
}

.case-img img,
.news-card-img img,
.service-image img,
.catalog-img img,
.cert-card img,
.pc-img,
.review-avatar img,
.hero-preview-visual img,
.extra-photo img,
.img-mgr-item img,
.pc-photo-preview,
.lead-form-card img,
.contact-info-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}

.case-img img,
.news-card-img img,
.service-image img,
.catalog-img img,
.pc-img {
  padding: 10px;
}

.case-img img[src=""],
.news-card-img img[src=""],
.service-image img[src=""],
.catalog-img img[src=""],
.pc-img[src=""] {
  display: none !important;
}

.hero-media-image,
.hero-visual-video video,
.hero-bg video {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.news-article-img img {
  width: 100% !important;
  height: auto !important;
  max-height: min(70vh, 720px);
  object-fit: contain !important;
  object-position: center center !important;
  background: #f8fafc;
}

@media (max-width: 768px) {
  .case-img,
  .news-card-img,
  .catalog-img,
  .service-image {
    min-height: 180px;
  }

  .case-img img,
  .news-card-img img,
  .service-image img,
  .catalog-img img,
  .pc-img {
    padding: 8px;
  }
}

html.theme-light .header {
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 12px 34px rgba(15,23,42,.10) !important;
}
html.theme-light .header-top {
  background: rgba(247,249,251,.94) !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
}
html.theme-light .header-main,
html.theme-light .header.scrolled .header-main {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid rgba(15,23,42,.09) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
html.theme-light .header-city,
html.theme-light .header-top-links a,
html.theme-light .header-phone,
html.theme-light .logo-text,
html.theme-light .footer .logo-text {
  color: #0f172a !important;
}
html.theme-light .logo-text strong,
html.theme-light .footer .logo-text strong,
html.theme-light .trust-item,
html.theme-light .nav-list > li > a:hover {
  color: var(--accent, #16a34a) !important;
}
html.theme-light .nav { background: transparent !important; }
html.theme-light .nav-list > li > a {
  color: #475569 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}
html.theme-light .nav-list > li > a:hover,
html.theme-light .nav-list > li > a.active {
  color: #0f172a !important;
  background: rgba(22,163,74,.10) !important;
  border-color: rgba(22,163,74,.20) !important;
}
html.theme-light .dropdown {
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 18px 46px rgba(15,23,42,.13) !important;
}
html.theme-light .dropdown li a {
  color: #334155 !important;
  background: transparent !important;
}
html.theme-light .dropdown li a:hover {
  color: var(--accent, #16a34a) !important;
  background: rgba(22,163,74,.08) !important;
}
html.theme-light .btn-callback {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(22,163,74,.22) !important;
}
html.theme-light .btn-callback:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #15803d, #166534) !important;
}

html.theme-light .trust-bar {
  background: rgba(255,255,255,.86) !important;
  border-top: 1px solid rgba(15,23,42,.07) !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.08) !important;
}

html.theme-light .hero,
html.theme-light .price-calc-hero,
html.theme-light .service-hero,
html.theme-light .page-hero,
html.theme-light .scout-hero {
  background:
    linear-gradient(120deg, rgba(255,255,255,.98), rgba(235,250,242,.92) 58%, rgba(245,247,249,.98)),
    var(--bg-primary, #f5f7f9) !important;
  color: #0f172a !important;
}
html.theme-light .hero-bg,
html.theme-light .hero-overlay {
  background:
    radial-gradient(640px 420px at 72% 48%, rgba(22,163,74,.16), transparent 70%),
    radial-gradient(440px 300px at 25% 28%, rgba(200,160,77,.10), transparent 72%) !important;
  opacity: 1 !important;
}
html.theme-light .hero-content h1,
html.theme-light .price-calc-hero h1,
html.theme-light .service-hero h1,
html.theme-light .page-hero h1,
html.theme-light .section-title,
html.theme-light .section-header h2,
html.theme-light .lead-form-info h2,
html.theme-light .contact-application-info h1,
html.theme-light .service-cta h2,
html.theme-light .cta-audit-text h2,
html.theme-light .callback-popup h3,
html.theme-light .lead-form-box h3,
html.theme-light .news-article-title {
  color: #0f172a !important;
}
html.theme-light .hero-sub,
html.theme-light .price-calc-hero p,
html.theme-light .service-hero p,
html.theme-light .page-hero p,
html.theme-light .section-subtitle,
html.theme-light .section-header p,
html.theme-light .lead-form-info p,
html.theme-light .contact-application-info > p,
html.theme-light .service-cta p,
html.theme-light .cta-audit-text p,
html.theme-light .callback-popup p,
html.theme-light .lead-form-box p,
html.theme-light .news-card-excerpt,
html.theme-light .news-article-text,
html.theme-light .service-text p,
html.theme-light .service-features li {
  color: #475569 !important;
}

html.theme-light section,
html.theme-light .services,
html.theme-light .advantages,
html.theme-light .steps,
html.theme-light .cases,
html.theme-light .reviews,
html.theme-light .certificates,
html.theme-light .lead-form,
html.theme-light .contact-application,
html.theme-light .contacts-map,
html.theme-light .cases-page,
html.theme-light .news-section,
html.theme-light .news-article,
html.theme-light .service-content,
html.theme-light .service-cta,
html.theme-light .catalog-section,
html.theme-light .price-calc {
  background: transparent !important;
}
html.theme-light .faq {
  background:
    radial-gradient(760px 420px at 20% 10%, rgba(22,163,74,.12), transparent 68%),
    linear-gradient(180deg, #f8fafc, #ffffff) !important;
  color: #0f172a !important;
}

html.theme-light .cta-audit { background: transparent !important; }
html.theme-light .cta-audit-inner {
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(236,253,245,.96)) !important;
  border: 1px solid rgba(22,163,74,.18) !important;
  box-shadow: 0 22px 58px rgba(15,23,42,.10) !important;
  color: #0f172a !important;
}
html.theme-light .cta-audit-inner::before {
  background: radial-gradient(circle, rgba(200,160,77,.18), transparent 72%) !important;
}
html.theme-light .cta-phone,
html.theme-light .cta-phone strong { color: #0f172a !important; }
html.theme-light .cta-phone:hover { color: var(--accent, #16a34a) !important; }

html.theme-light .adv-card,
html.theme-light .service-card,
html.theme-light .object-card,
html.theme-light .case-card,
html.theme-light .review-card,
html.theme-light .cert-card,
html.theme-light .faq-item,
html.theme-light .contact-info-card,
html.theme-light .lead-form-card,
html.theme-light .lead-form-box,
html.theme-light .callback-popup,
html.theme-light .news-card,
html.theme-light .news-nav-btn,
html.theme-light .pc-card,
html.theme-light .pc-summary,
html.theme-light .catalog-card,
html.theme-light .wf-card,
html.theme-light .benefit-card,
html.theme-light .summary-card,
html.theme-light #map-placeholder {
  background: #ffffff !important;
  border-color: rgba(15,23,42,.09) !important;
  color: #0f172a !important;
  box-shadow: 0 18px 44px rgba(15,23,42,.08) !important;
}
html.theme-light .adv-card:hover,
html.theme-light .service-card:hover,
html.theme-light .object-card:hover,
html.theme-light .case-card:hover,
html.theme-light .review-card:hover,
html.theme-light .cert-card:hover,
html.theme-light .faq-item:hover,
html.theme-light .contact-info-card:hover,
html.theme-light .lead-form-card:hover,
html.theme-light .news-card:hover,
html.theme-light .pc-card:hover,
html.theme-light .catalog-card:hover,
html.theme-light .wf-card:hover {
  border-color: rgba(22,163,74,.28) !important;
  box-shadow: 0 24px 58px rgba(15,23,42,.11), 0 0 0 1px rgba(22,163,74,.08) !important;
}
html.theme-light .service-card h3,
html.theme-light .object-card h3,
html.theme-light .case-card h4,
html.theme-light .review-author strong,
html.theme-light .cert-card p,
html.theme-light .pc-card h3,
html.theme-light .faq-question,
html.theme-light .lead-form-card h2,
html.theme-light .contact-info-card strong,
html.theme-light .news-card-title,
html.theme-light .news-card-title a,
html.theme-light .news-nav-btn strong,
html.theme-light .catalog-card h3,
html.theme-light .wf-card h3,
html.theme-light .summary-card h3 {
  color: #0f172a !important;
}
html.theme-light .service-card p,
html.theme-light .object-card p,
html.theme-light .case-card p,
html.theme-light .review-text,
html.theme-light .pc-desc,
html.theme-light .faq-answer p,
html.theme-light .contact-info-card span,
html.theme-light .pc-empty,
html.theme-light .pc-note,
html.theme-light .news-card-date,
html.theme-light .news-nav-btn span,
html.theme-light .catalog-card p,
html.theme-light .catalog-specs,
html.theme-light .map-note {
  color: #475569 !important;
}

html.theme-light .case-img,
html.theme-light .news-card-img,
html.theme-light .service-image,
html.theme-light .catalog-img {
  background:
    linear-gradient(135deg, rgba(22,163,74,.10), rgba(200,160,77,.12)),
    #eef6f1 !important;
  color: #64748b !important;
  opacity: 1 !important;
}
html.theme-light .case-placeholder,
html.theme-light .cert-placeholder,
html.theme-light .service-image svg,
html.theme-light .case-img svg,
html.theme-light .catalog-img svg {
  color: #64748b !important;
  opacity: .70 !important;
}
html.theme-light .case-tag,
html.theme-light .catalog-badge {
  color: #15803d !important;
  background: rgba(22,163,74,.10) !important;
}

html.theme-light .btn-accent,
html.theme-light .btn-primary,
html.theme-light .mobile-cta-call,
html.theme-light .pc-submit,
html.theme-light .pc-mobile-open,
html.theme-light .lead-submit,
html.theme-light .callback-form .btn,
html.theme-light .callback-form button[type="submit"] {
  background: linear-gradient(135deg, var(--accent, #16a34a), var(--accent-dark, #15803d)) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(22,163,74,.24) !important;
}
html.theme-light .btn-gold {
  background: linear-gradient(135deg, var(--gold, #c8a04d), var(--gold-light, #d4b266)) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(200,160,77,.22) !important;
}
html.theme-light .btn-outline-light,
html.theme-light .btn-outline-accent {
  color: #0f172a !important;
  border-color: rgba(15,23,42,.18) !important;
  background: rgba(255,255,255,.74) !important;
}
html.theme-light .btn-outline-light:hover,
html.theme-light .btn-outline-accent:hover {
  color: var(--accent, #16a34a) !important;
  border-color: rgba(22,163,74,.35) !important;
  background: rgba(22,163,74,.08) !important;
}

html.theme-light input,
html.theme-light textarea,
html.theme-light select,
html.theme-light .form-field input,
html.theme-light .form-field textarea,
html.theme-light .form-field select,
html.theme-light .lead-field input,
html.theme-light .lead-field textarea,
html.theme-light .lead-field select,
html.theme-light .callback-form input,
html.theme-light .pc-field input,
html.theme-light .pc-field textarea {
  background: #ffffff !important;
  border-color: rgba(15,23,42,.15) !important;
  color: #0f172a !important;
}
html.theme-light input::placeholder,
html.theme-light textarea::placeholder { color: #94a3b8 !important; }
html.theme-light select option,
html.theme-light .form-field select option,
html.theme-light .lead-field select option {
  background: #ffffff !important;
  color: #0f172a !important;
}
html.theme-light input:focus,
html.theme-light textarea:focus,
html.theme-light select:focus,
html.theme-light .lead-field input:focus,
html.theme-light .lead-field textarea:focus,
html.theme-light .lead-field select:focus,
html.theme-light .callback-form input:focus,
html.theme-light .pc-field input:focus,
html.theme-light .pc-field textarea:focus {
  border-color: var(--accent, #16a34a) !important;
  box-shadow: 0 0 0 3px rgba(22,163,74,.10) !important;
}
html.theme-light .form-consent label,
html.theme-light .privacy-check,
html.theme-light .pc-consent,
html.theme-light .lead-field label,
html.theme-light .pc-field label {
  color: #475569 !important;
}
html.theme-light .form-error { color: #dc2626 !important; }
html.theme-light .form-status { color: #15803d !important; }

html.theme-light .callback-overlay { background: rgba(15,23,42,.48) !important; }
html.theme-light .callback-close { color: #64748b !important; }
html.theme-light .callback-close:hover { color: #0f172a !important; }

html.theme-light .pc-price,
html.theme-light .pc-total strong,
html.theme-light .pc-mobile-total strong,
html.theme-light .cfg-total-price {
  color: var(--gold, #c8a04d) !important;
}
html.theme-light .pc-qty,
html.theme-light .pc-qty-btn,
html.theme-light .pc-tab,
html.theme-light .pc-reset,
html.theme-light .cfg-control button,
html.theme-light .cfg-control input {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15,23,42,.14) !important;
}
html.theme-light .pc-tab.active,
html.theme-light .pc-card.selected {
  border-color: rgba(22,163,74,.42) !important;
  box-shadow: 0 18px 44px rgba(22,163,74,.10) !important;
}
html.theme-light .pc-tab.active {
  background: var(--accent, #16a34a) !important;
  color: #ffffff !important;
}
html.theme-light .pc-line,
html.theme-light .pc-total { border-color: rgba(15,23,42,.10) !important; }
html.theme-light .pc-line span { color: #475569 !important; }
html.theme-light .pc-status.ok { background: rgba(22,163,74,.10) !important; color: #166534 !important; border-color: rgba(22,163,74,.20) !important; }
html.theme-light .pc-status.err { background: rgba(220,38,38,.08) !important; color: #991b1b !important; border-color: rgba(220,38,38,.20) !important; }

html.theme-light .footer {
  background: #0d1326 !important;
  color: #ffffff !important;
  border-top-color: rgba(255,255,255,.08) !important;
}
html.theme-light .footer .logo-text { color: #ffffff !important; }
html.theme-light .footer p,
html.theme-light .footer li,
html.theme-light .footer span,
html.theme-light .footer a,
html.theme-light .footer-desc,
html.theme-light .footer-contacts a,
html.theme-light .footer-bottom p {
  color: #b8c4d8 !important;
}
html.theme-light .footer h5,
html.theme-light .footer-nav h5,
html.theme-light .footer-contacts strong {
  color: #ffffff !important;
}
html.theme-light .footer a:hover { color: var(--accent, #16a34a) !important; }
html.theme-light .social-link { background: rgba(255,255,255,.08) !important; color: #b8c4d8 !important; }

@media (max-width: 768px) {
  html.theme-light .nav,
  html.theme-light body.nav-open .nav.open {
    background: #ffffff !important;
    border-top: 1px solid rgba(15,23,42,.08) !important;
    box-shadow: 0 18px 48px rgba(15,23,42,.16) !important;
  }
  html.theme-light body.nav-open .nav.open .nav-list,
  html.theme-light body.nav-open .nav.open .dropdown { background: #ffffff !important; }
  html.theme-light body.nav-open .nav.open .nav-list > li > a,
  html.theme-light body.nav-open .nav.open .dropdown li a {
    color: #0f172a !important;
    border-bottom-color: rgba(15,23,42,.08) !important;
  }
  html.theme-light .burger span { background: #0f172a !important; }
  html.theme-light .pc-mobile-bar,
  html.theme-light .mobile-cta {
    background: rgba(255,255,255,.96) !important;
    border-top-color: rgba(15,23,42,.10) !important;
    box-shadow: 0 -12px 34px rgba(15,23,42,.12) !important;
  }
  html.theme-light .mobile-cta-btn { color: #ffffff !important; }
  html.theme-light .callback-popup,
  html.theme-light .pc-summary {
    background: #ffffff !important;
    color: #0f172a !important;
  }
  html.theme-light .cta-audit-inner { padding: 34px 22px !important; }
  html.theme-light .case-img,
  html.theme-light .news-card-img { min-height: 160px; }
}

/* Center card grids when admin leaves only one or two visible items */
.services-grid,
.cases-grid,
.cases-page-grid,
.reviews-grid,
.news-grid {
  justify-content: center;
}

@media (min-width: 769px) {
  .services-grid,
  .cases-grid,
  .cases-page-grid,
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
  }

  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  }

  .certs-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    justify-content: center;
  }

  .services-grid > *,
  .cases-grid > *,
  .cases-page-grid > *,
  .reviews-grid > *,
  .news-grid > *,
  .certs-grid > * {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .cases-grid,
  .cases-page-grid,
  .reviews-grid,
  .news-grid,
  .certs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* AI security assistant */
.ai-bot-widget {
  --ai-button-color: #16a34a;
  --ai-panel-color: #ffffff;
  position: fixed;
  right: 26px;
  bottom: 104px;
  z-index: 9988;
  font-family: inherit;
}
.ai-bot-widget.ai-bot-left {
  left: 26px;
  right: auto;
}
.ai-bot-widget.ai-bot-left .ai-bot-panel {
  left: 0;
  right: auto;
}
.ai-bot-button {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ai-button-color), #0f7a3a);
  color: #fff;
  box-shadow: 0 18px 42px rgba(22,163,74,.28);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ai-bot-button:hover { transform: translateY(-2px); box-shadow: 0 22px 52px rgba(22,163,74,.34); }
.ai-bot-button-dot {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9b45f;
  box-shadow: 0 0 0 5px rgba(217,180,95,.16);
}
.ai-bot-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(650px, calc(100vh - 130px));
  background: var(--ai-panel-color);
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(15,23,42,.22);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.ai-bot-widget.open .ai-bot-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ai-bot-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: linear-gradient(135deg, #0f172a, #12351f);
  color: #fff;
}
.ai-bot-head strong { display: block; font-size: 17px; }
.ai-bot-head span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.72); }
.ai-bot-close {
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.ai-bot-messages {
  height: 270px;
  overflow: auto;
  padding: 16px;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}
.ai-msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.ai-msg-bot { background: #edf7f0; color: #132238; border: 1px solid rgba(22,163,74,.12); }
.ai-msg-user { margin-left: auto; background: #132238; color: #fff; }
.ai-msg-typing { color: #64748b; font-style: italic; }
.ai-msg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #132238;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(19,34,56,.14);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ai-msg-link:hover,
.ai-msg-link:focus-visible {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(22,163,74,.22);
  outline: none;
}
button.ai-msg-link,
.ai-msg-action {
  border: 0;
  font: inherit;
  cursor: pointer;
}
.ai-bot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  background: #fff;
}
.ai-bot-quick button {
  border: 1px solid rgba(22,163,74,.18);
  background: #f0fbf4;
  color: #166534;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.ai-bot-form,
.ai-bot-lead {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(15,23,42,.08);
  background: #fff;
}
.ai-bot-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.ai-bot-form input,
.ai-bot-lead input,
.ai-bot-lead textarea {
  width: 100%;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: #0f172a;
  background: #fff;
}
.ai-bot-lead {
  display: grid;
  gap: 8px;
}
.ai-bot-lead textarea { min-height: 70px; resize: vertical; }
.ai-bot-lead label { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #526070; }
.ai-bot-form button,
.ai-bot-lead button {
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  background: var(--ai-button-color);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 768px) {
  .ai-bot-widget {
    right: 18px;
    bottom: 92px;
  }
  .ai-bot-widget.ai-bot-left {
    left: 18px;
    right: auto;
  }
  body:has(.pc-mobile-bar) .ai-bot-widget {
    bottom: 132px;
  }
  .ai-bot-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 88px;
    width: auto;
    max-height: calc(100vh - 118px);
    border-radius: 20px;
  }
  .ai-bot-widget.ai-bot-left .ai-bot-panel {
    left: 12px;
    right: 12px;
  }
  .ai-bot-messages { height: min(330px, 42vh); }
}

@media (prefers-reduced-motion: reduce) {
  .ai-bot-button,
  .ai-bot-panel {
    transition: none !important;
  }
}

/* Unified floating action stack: AI above, WhatsApp below */
:root {
  --floating-action-right: 24px;
  --floating-action-bottom: 26px;
  --floating-action-size: 58px;
  --floating-action-gap: 14px;
}

.ai-bot-widget {
  right: var(--floating-action-right) !important;
  bottom: calc(var(--floating-action-bottom) + var(--floating-action-size) + var(--floating-action-gap)) !important;
  left: auto !important;
  z-index: 9988 !important;
}

.ai-bot-widget.ai-bot-left {
  left: var(--floating-action-right) !important;
  right: auto !important;
}

.whatsapp-wrap {
  right: var(--floating-action-right) !important;
  bottom: var(--floating-action-bottom) !important;
  left: auto !important;
  z-index: 9987 !important;
}

.ai-bot-button,
.whatsapp-fixed {
  width: var(--floating-action-size) !important;
  height: var(--floating-action-size) !important;
}

body.cookies-visible .ai-bot-widget {
  bottom: calc(var(--floating-action-bottom) + var(--floating-action-size) + var(--floating-action-gap) + 92px) !important;
}

body.cookies-visible .whatsapp-wrap {
  bottom: calc(var(--floating-action-bottom) + 92px) !important;
}

body.nav-open .ai-bot-widget,
body.nav-open .whatsapp-wrap {
  display: none !important;
}

@media (max-width: 768px) {
  :root {
    --floating-action-right: 16px;
    --floating-action-bottom: calc(18px + env(safe-area-inset-bottom));
    --floating-action-size: 52px;
    --floating-action-gap: 10px;
  }

  .ai-bot-button,
  .whatsapp-fixed {
    border-radius: 18px !important;
  }

  .whatsapp-fixed {
    border-radius: 50% !important;
  }

  .wa-tooltip {
    display: none !important;
  }

  body:has(.mobile-cta.visible),
  body:has(.pc-mobile-bar) {
    --floating-action-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  body.cookies-visible {
    --floating-action-bottom: calc(150px + env(safe-area-inset-bottom));
  }

  .ai-bot-panel {
    bottom: calc(var(--floating-action-bottom) + var(--floating-action-size) + var(--floating-action-gap)) !important;
  }
}

/* Final floating widgets alignment fix: AI above WhatsApp, one stable column */
:root {
  --fab-stack-right: 24px;
  --fab-stack-bottom: 26px;
  --fab-stack-size: 58px;
  --fab-stack-gap: 12px;
  --fab-panel-gap: 14px;
}

.ai-bot-widget,
.ai-bot-widget.ai-bot-left {
  position: fixed !important;
  left: auto !important;
  right: var(--fab-stack-right) !important;
  bottom: calc(var(--fab-stack-bottom) + var(--fab-stack-size) + var(--fab-stack-gap)) !important;
  z-index: 9992 !important;
}

.whatsapp-wrap {
  position: fixed !important;
  left: auto !important;
  right: var(--fab-stack-right) !important;
  bottom: var(--fab-stack-bottom) !important;
  z-index: 9991 !important;
}

.ai-bot-button,
.whatsapp-fixed {
  width: var(--fab-stack-size) !important;
  height: var(--fab-stack-size) !important;
}

.ai-bot-widget .ai-bot-panel,
.ai-bot-widget.ai-bot-left .ai-bot-panel {
  left: auto !important;
  right: 0 !important;
  bottom: calc(var(--fab-stack-size) + var(--fab-panel-gap)) !important;
  display: flex;
  flex-direction: column;
  max-height: min(680px, calc(100vh - 150px)) !important;
}

.ai-bot-head {
  flex: 0 0 auto;
}

.ai-bot-close {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
}

.ai-bot-messages {
  flex: 1 1 auto;
  min-height: 130px;
}

body.cookies-visible .ai-bot-widget,
body.cookies-visible .ai-bot-widget.ai-bot-left {
  bottom: calc(var(--fab-stack-bottom) + var(--fab-stack-size) + var(--fab-stack-gap) + 92px) !important;
}

body.cookies-visible .whatsapp-wrap {
  bottom: calc(var(--fab-stack-bottom) + 92px) !important;
}

@media (max-width: 768px) {
  :root {
    --fab-stack-right: 14px;
    --fab-stack-bottom: calc(18px + env(safe-area-inset-bottom));
    --fab-stack-size: 52px;
    --fab-stack-gap: 10px;
    --fab-panel-gap: 10px;
  }

  body:has(.mobile-cta.visible),
  body:has(.pc-mobile-bar) {
    --fab-stack-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  body.cookies-visible {
    --fab-stack-bottom: calc(142px + env(safe-area-inset-bottom));
  }

  .ai-bot-widget,
  .ai-bot-widget.ai-bot-left {
    left: auto !important;
    right: var(--fab-stack-right) !important;
    bottom: calc(var(--fab-stack-bottom) + var(--fab-stack-size) + var(--fab-stack-gap)) !important;
  }

  .whatsapp-wrap {
    left: auto !important;
    right: var(--fab-stack-right) !important;
    bottom: var(--fab-stack-bottom) !important;
  }

  .ai-bot-widget .ai-bot-panel,
  .ai-bot-widget.ai-bot-left .ai-bot-panel {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(var(--fab-stack-bottom) + var(--fab-stack-size) + var(--fab-stack-gap)) !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100vh - 96px - var(--fab-stack-bottom)) !important;
    max-height: calc(100dvh - 96px - var(--fab-stack-bottom)) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .ai-bot-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    align-items: center !important;
    padding: 14px 16px !important;
  }

  .ai-bot-close {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    font-size: 26px !important;
    line-height: 1 !important;
  }

  .ai-bot-messages {
    height: auto !important;
    min-height: 150px !important;
    max-height: calc(100dvh - 330px) !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .ai-bot-quick {
    flex: 0 0 auto;
    max-height: 92px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ai-bot-lead {
    flex: 0 0 auto;
    max-height: 260px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ai-bot-form {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr) 86px !important;
    padding-bottom: max(14px, env(safe-area-inset-bottom)) !important;
  }

  .ai-bot-form input,
  .ai-bot-form button {
    min-height: 44px;
  }

  .wa-tooltip {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .ai-bot-widget .ai-bot-panel,
  .ai-bot-widget.ai-bot-left .ai-bot-panel {
    left: 8px !important;
    right: 8px !important;
    max-height: calc(100dvh - 84px - var(--fab-stack-bottom)) !important;
  }

  .ai-bot-head strong {
    font-size: 15px !important;
  }

  .ai-bot-head span {
    font-size: 11px !important;
  }

  .ai-bot-form {
    grid-template-columns: 1fr !important;
  }
}

/* Hard fix for floating buttons: same X-axis, AI directly above WhatsApp */
:root {
  --ritm-float-right: 24px;
  --ritm-float-bottom: 28px;
  --ritm-float-size: 58px;
  --ritm-float-gap: 12px;
}

.whatsapp-wrap,
.ai-bot-widget,
.ai-bot-widget.ai-bot-left {
  position: fixed !important;
  left: auto !important;
  right: var(--ritm-float-right) !important;
  width: var(--ritm-float-size) !important;
  height: var(--ritm-float-size) !important;
  margin: 0 !important;
}

.whatsapp-wrap {
  bottom: var(--ritm-float-bottom) !important;
  z-index: 9991 !important;
  display: block !important;
}

.ai-bot-widget,
.ai-bot-widget.ai-bot-left {
  bottom: calc(var(--ritm-float-bottom) + var(--ritm-float-size) + var(--ritm-float-gap)) !important;
  z-index: 9992 !important;
}

.ai-bot-button,
.whatsapp-fixed {
  width: var(--ritm-float-size) !important;
  height: var(--ritm-float-size) !important;
  margin: 0 !important;
}

.wa-tooltip {
  position: absolute !important;
  right: calc(100% + 10px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: max-content !important;
  max-width: 220px;
}

.ai-bot-widget .ai-bot-panel,
.ai-bot-widget.ai-bot-left .ai-bot-panel {
  left: auto !important;
  right: 0 !important;
  bottom: calc(var(--ritm-float-size) + 14px) !important;
}

body.cookies-visible .whatsapp-wrap {
  bottom: calc(var(--ritm-float-bottom) + 92px) !important;
}

body.cookies-visible .ai-bot-widget,
body.cookies-visible .ai-bot-widget.ai-bot-left {
  bottom: calc(var(--ritm-float-bottom) + var(--ritm-float-size) + var(--ritm-float-gap) + 92px) !important;
}

@media (max-width: 768px) {
  :root {
    --ritm-float-right: 14px;
    --ritm-float-bottom: calc(18px + env(safe-area-inset-bottom));
    --ritm-float-size: 52px;
    --ritm-float-gap: 10px;
  }

  body:has(.mobile-cta.visible),
  body:has(.pc-mobile-bar) {
    --ritm-float-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  body.cookies-visible {
    --ritm-float-bottom: calc(142px + env(safe-area-inset-bottom));
  }

  .wa-tooltip {
    display: none !important;
  }

  .ai-bot-widget .ai-bot-panel,
  .ai-bot-widget.ai-bot-left .ai-bot-panel {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(var(--ritm-float-bottom) + var(--ritm-float-size) + var(--ritm-float-gap)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 96px - var(--ritm-float-bottom)) !important;
    max-height: calc(100dvh - 96px - var(--ritm-float-bottom)) !important;
    overflow: hidden !important;
  }
}

/* Stable AI bot panel: internal scroll, reliable close, no page scroll on mobile */
.ai-bot-widget .ai-bot-panel {
  display: flex !important;
  flex-direction: column !important;
  overscroll-behavior: contain;
}

/* Managed social links from admin panel */
.managed-social-header,
.managed-social-footer,
.managed-social-contacts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.managed-social-header {
  margin-left: 8px;
}

.managed-social-footer {
  gap: 10px;
}

.managed-social-contacts {
  margin-top: 14px;
}

.managed-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  text-decoration: none;
  flex: 0 0 auto;
}

.managed-social-btn:hover,
.managed-social-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22,163,74,.35);
  box-shadow: 0 14px 34px rgba(22,163,74,.18);
  outline: none;
}

.managed-social-btn svg {
  display: block;
}

.managed-social-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.managed-social-whatsapp { color: #16a34a; }
.managed-social-telegram { color: #229ed9; }
.managed-social-instagram { color: #d9468c; }
.managed-social-facebook { color: #1877f2; }
.managed-social-youtube { color: #ff0033; }
.managed-social-email,
.managed-social-phone,
.managed-social-maps,
.managed-social-2gis { color: #15803d; }

.managed-social-floating {
  position: fixed !important;
  right: var(--ritm-float-right, 24px) !important;
  bottom: calc(var(--ritm-float-bottom, 28px) + var(--ritm-float-size, 58px) + var(--ritm-float-size, 58px) + var(--ritm-float-gap, 12px) + var(--ritm-float-gap, 12px)) !important;
  z-index: 9990 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: var(--ritm-float-size, 58px);
  pointer-events: none;
}

.managed-social-floating .managed-social-btn {
  width: 48px;
  height: 48px;
  pointer-events: auto;
  background: #ffffff;
}

body.cookies-visible .managed-social-floating {
  bottom: calc(var(--ritm-float-bottom, 28px) + var(--ritm-float-size, 58px) + var(--ritm-float-size, 58px) + var(--ritm-float-gap, 12px) + var(--ritm-float-gap, 12px) + 92px) !important;
}

body.nav-open .managed-social-floating {
  display: none !important;
}

@media (max-width: 768px) {
  .managed-social-header {
    display: none;
  }

  .managed-social-floating {
    right: var(--ritm-float-right, 14px) !important;
    bottom: calc(var(--ritm-float-bottom, 18px) + var(--ritm-float-size, 52px) + var(--ritm-float-size, 52px) + var(--ritm-float-gap, 10px) + var(--ritm-float-gap, 10px)) !important;
    gap: 8px;
    width: var(--ritm-float-size, 52px);
  }

  .managed-social-floating .managed-social-btn {
    width: 44px;
    height: 44px;
  }

  body.ai-bot-open .managed-social-floating {
    display: none !important;
  }
}

.ai-bot-head,
.ai-bot-quick,
.ai-bot-form,
.ai-bot-lead {
  flex: 0 0 auto;
}

.ai-bot-messages {
  flex: 1 1 auto;
  min-height: 0;
  overscroll-behavior: contain;
}

.ai-bot-widget.lead-open .ai-bot-quick,
.ai-bot-widget.lead-open .ai-bot-form {
  display: none !important;
}

.ai-bot-widget.lead-open .ai-bot-messages {
  height: auto !important;
  max-height: 150px !important;
  min-height: 80px !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
}

.ai-bot-widget.lead-open .ai-bot-lead {
  display: grid !important;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
}

.ai-bot-lead input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
}

@media (max-width: 768px) {
  body.ai-bot-open {
    overflow: hidden !important;
    touch-action: none;
  }

  body.ai-bot-open .ai-bot-widget,
  body.ai-bot-open .ai-bot-widget * {
    touch-action: auto;
  }

  .ai-bot-widget.open .ai-bot-panel,
  .ai-bot-widget.ai-bot-left.open .ai-bot-panel {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(var(--ritm-float-bottom, 18px) + var(--ritm-float-size, 52px) + var(--ritm-float-gap, 10px)) !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 20px !important;
  }

  .ai-bot-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    align-items: center !important;
  }

  .ai-bot-close {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 26px !important;
  }

  .ai-bot-widget.lead-open .ai-bot-messages {
    max-height: 115px !important;
    min-height: 72px !important;
  }

  .ai-bot-widget.lead-open .ai-bot-lead {
    padding: 14px 16px max(18px, env(safe-area-inset-bottom)) !important;
  }

  .ai-bot-lead input,
  .ai-bot-lead textarea,
  .ai-bot-lead button {
    min-height: 46px;
  }

  .ai-bot-lead textarea {
    min-height: 92px;
  }
}
