/* =============================================
   ЗА РАВНИНАМИ — Design System
   Tourism Landing • Light Glassmorphism
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --color-bg: #F0F5FA;
  --color-bg-hero: #E8EFF6;
  --color-surface: rgba(255, 255, 255, 0.75);
  --color-surface-solid: #FFFFFF;
  --color-text: #1A2332;
  --color-text-muted: #5A6B7F;
  --color-text-light: #8A9AB0;
  --color-primary: #3A7BD5;
  --color-primary-dark: #2A5FA5;
  --color-accent: #E8913A;
  --color-accent-dark: #D07A2A;
  --color-border: rgba(255, 255, 255, 0.4);
  --color-border-subtle: rgba(26, 35, 50, 0.08);
  --color-overlay: rgba(15, 25, 40, 0.4);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.06);

  /* Glass */
  --glass-blur: 20px;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);

  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index scale */
  --z-base: 1;
  --z-sticky: 10;
  --z-nav: 50;
  --z-modal: 100;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  cursor: default;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
[contenteditable="true"] {
  cursor: text;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
}

p {
  line-height: 1.6;
  max-width: 65ch;
  font-weight: 400;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: var(--z-nav);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glass);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-logo svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  text-transform: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface-solid);
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-search:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.08);
}

.nav-search svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* Mobile menu — hidden on desktop */
.nav-mobile {
  display: none;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-hero);
  padding-bottom: 4.5vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Desktop: Increased shift (+20px) for perfect optical balance */
  object-position: calc(50% + 20px) 30%;
  will-change: transform;
}

@media (max-width: 480px) {
  .hero-bg img {
    /* Mobile: Sync with desktop (+20px) for consistent balance */
    object-position: calc(50% + 20px) 30%;
  }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(240, 245, 250, 0.3) 0%,
      rgba(240, 245, 250, 0) 30%,
      rgba(240, 245, 250, 0) 50%,
      rgba(240, 245, 250, 0.5) 75%,
      rgba(240, 245, 250, 1) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-md);
  width: 100%;
  max-width: 900px;
  will-change: transform;
}

.hero-title-wrap {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.hero-slogan {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.hero-scroll-hint svg {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* --- Section Base --- */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow-x: hidden;
  /* Ensure stacking context */
}



.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.section-desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Locations Section --- */
.locations {
  background: var(--color-surface-solid);
  padding-top: 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.location-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 25, 40, 0.6) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.location-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.location-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* --- Services section text overrides --- */
#services .section-header {
  margin-bottom: 32px;
  /* Reduced gap to carousel */
}

#services .section-label {
  font-size: 1.8rem;
  /* Increased size (~2x) */
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}

#services .section-desc {
  display: none;
  /* Ensure description is hidden if present in HTML */
}

/* --- Services Coverflow Carousel --- */
.coverflow-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 48px;
  margin-bottom: 20px;
  overflow: visible;
}

.coverflow-stage {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 320px;
  margin: 0 auto;
  overflow: visible;
}

.coverflow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

.coverflow-arrow:hover {
  background: var(--color-surface-solid);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.1);
}

.coverflow-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--color-text);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.coverflow-arrow:focus,
.coverflow-arrow:focus-visible,
.coverflow-arrow:active {
  outline: none !important;
  box-shadow: var(--shadow-sm);
}

@media (hover: none) and (pointer: coarse) {
  .coverflow-arrow,
  .coverflow-arrow *,
  .coverflow-arrow::before,
  .coverflow-arrow::after {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  }

  .coverflow-arrow:active,
  .coverflow-arrow:focus,
  .coverflow-arrow:focus-visible {
    background: var(--glass-bg) !important;
    box-shadow: var(--shadow-sm) !important;
    transform: translateY(-50%) !important;
    outline: none !important;
  }
}

.coverflow-arrow--left {
  left: 0;
}

.coverflow-arrow--right {
  right: 0;
}

/* --- Service Card (coverflow item) --- */
.service-card {
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  left: 50%;
  top: 50%;
  transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease, opacity 350ms ease;
  will-change: transform;
}

/* Soft wide shadow (sibling element, below cards) */
.coverflow-shadow {
  display: none !important;
  /* Removed per user request */
  position: absolute;
  left: 50%;
  top: 50%;
  /* Prevent overflow on mobile */
  width: min(900px, 90vw);
  height: 280px;
  transform: translate(-50%, 0);
  background: radial-gradient(ellipse 50% 55% at 50% 0%, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0) 100%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 350ms ease, top 350ms ease;
}

/* Positions set by JS via inline styles: transform, z-index */

/* ─── Service Info Block (below carousel) ─── */
/* ─── Service Info Block (below carousel) ─── */
.service-info {
  text-align: center;
  margin-top: 92px;
  padding: 0 20px 0;
  /* Removed bottom padding completely to rely on min-height or natural spacing */
  min-height: 420px;
}

@media (max-width: 768px) {
  .service-info {
    min-height: 460px;
    /* Keep services info block height stable on mobile to prevent section jump */
    margin-bottom: 20px;
    /* Explicit small gap on mobile */
  }
}

.service-info__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  transition: opacity 250ms ease;
  background: none;
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
}

.service-info__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  min-height: auto;
  /* Allow natural flow */
  transition: opacity 250ms ease;
}

.service-info__list li {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  background: none;
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
}

.service-info__list li::before {
  content: '— ';
  color: var(--color-primary);
}

.service-info__details {
  display: flex;
  justify-content: center;
  margin: 10px 0 14px;
}

.service-info__details-link {
  margin: 0 auto !important;
  min-width: 200px;
  justify-content: center;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-info__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.service-info__manager {
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #4EA7FF, #8C7CFF, #FF7A59);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.service-info__icons {
  display: flex;
  gap: 10px;
}

.service-info__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-info__icon svg {
  width: 20px;
  height: 20px;
}

.service-info__icon--phone {
  background: #F5842A;
}

.service-info__icon--tg {
  background: #2AABEE;
}

.service-info__icon--wa {
  background: #25D366;
}

.service-info__icon:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.service-card:hover {
  border-color: rgba(58, 123, 213, 0.15);
}

.service-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: var(--radius-md);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.service-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.service-desc {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #1A2332 0%, #2C3E50 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(58, 123, 213, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .section-title {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.cta-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.cta-icons {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
}

.cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

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

.cta-icon:hover {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  filter: brightness(1.1);
}

/* Reusing colors from service icons */
.cta-icon--phone {
  background: #F5842A;
  background: linear-gradient(135deg, #FF9F4A, #F5842A);
}

.cta-icon--tg {
  background: #2AABEE;
  background: linear-gradient(135deg, #4AC3FF, #2AABEE);
}

.cta-icon--wa {
  background: #25D366;
  background: linear-gradient(135deg, #4EFF85, #25D366);
}

@media (max-width: 480px) {
  .cta-icons {
    gap: 16px;
  }

  .cta-icon {
    width: 56px;
    height: 56px;
  }

  .cta-icon svg {
    width: 28px;
    height: 28px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 145, 58, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232, 145, 58, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* --- Footer --- */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border-subtle);
  padding: 30px 0 20px;
}

/* Overlay removed */

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.55fr 0.75fr;
  gap: clamp(18px, 2.4vw, 30px);
  margin-bottom: 20px;
  /* Reduced from var(--space-xl) */
}

/* On mobile/narrow screens, it stacks anyway via media query?
   I should check if there is a media query affecting footer-grid.
   If not, I might need one.
*/

.footer-brand {
  text-align: left !important;
  padding: 0;
  margin: 0;
}

.footer-brand-title {
  text-align: left !important;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  /* Preserve font if inherited from nav-logo or body */
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text);
  font-size: 1rem;
  /* Match nav-logo size roughly */
  display: flex !important;
  align-items: center !important;
  gap: 10px;
}

.footer-brand-text {
  display: block;
  margin: 0;
  padding: 0;
}

.footer-emblem-inline {
  width: 140px;
  /* Increased size significantly */
  height: 28px;
  /* Slightly taller */
  background-image: url("foto%20sayta/zastavka/D277C7AA-64C0-4FEE-B15A-CB6B0E8D50C5.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  opacity: 1;
  flex-shrink: 0;
  display: inline-block;
  /* Ensure block layout */
}

.footer-brand p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.footer-emblem {
  width: 160px;
  height: 160px;
  background-image: url("foto%20sayta/zastavka/D277C7AA-64C0-4FEE-B15A-CB6B0E8D50C5.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  opacity: 0.25;
  margin-top: 14px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.contacts-col,
.services-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.services-col {
  gap: 8px !important;
  min-width: 0;
}

.contacts-col {
  justify-self: end;
  align-items: flex-start;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  column-gap: 14px;
  row-gap: 2px;
}

.contacts-col h4,
.services-col h4 {
  margin-bottom: 4px !important;
  /* Extra spacing + gap */
}

.contact-item,
.service-item {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  line-height: normal;
}

.footer-col a {
  margin-bottom: var(--space-sm);
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.services-list-grid .service-item {
  margin-bottom: 0 !important;
  padding: 4px 0 !important;
  line-height: normal;
  font-size: 0.875rem;
  white-space: nowrap;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-admin-link {
  display: inline-block;
  margin-top: 6px;
  /* Removed explicit underline to match 'admin-link' request */
  opacity: 0.9;
}

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

.admin-link {
  text-decoration: none !important;
}

.admin-link:hover,
.admin-link:focus,
.admin-link:active {
  text-decoration: none !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  /* Reduced from var(--space-md) ~ 24px */
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) clamp(18px, 3vw, 28px);
  }

  .services-list-grid {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    column-gap: 12px;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 12px;
    width: calc(100% - 32px);
    padding: 10px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-search {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Mobile menu overlay */
  .nav-mobile {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .nav-mobile.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-mobile a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color var(--transition-fast);
  }

  .nav-mobile a:hover {
    color: var(--color-primary);
  }

  .nav-mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .hero-title-wrap {
    padding: 24px 32px;
  }

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

  .hero-slogan {
    font-size: 0.8rem;
  }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .coverflow-wrap {
    padding: 0 36px;
  }

  .coverflow-stage {
    height: 240px;
  }

  .service-card {
    width: 130px;
    height: 130px;
  }

  .coverflow-arrow {
    width: 36px;
    height: 36px;
  }

  .coverflow-arrow svg {
    width: 16px;
    height: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contacts-col {
    justify-self: start;
  }

  .services-list-grid {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    column-gap: 20px;
    row-gap: 4px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 375px) {
  html {
    font-size: 14px;
  }

  .hero-title-wrap {
    padding: 20px 24px;
  }
}

.text-gradient {
  background: linear-gradient(90deg, #4EA7FF, #8C7CFF, #FF7A59);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-shine {
  animation: textShine 5s linear infinite;
}

@keyframes textShine {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 220% 50%;
  }
}

/* Градиент ТОЛЬКО для текста (фон не трогает) */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
label,
small,
strong,
em,
blockquote,
figcaption,
dt,
dd,
button,
input,
textarea,
select,
.nav-logo,
.nav-links a,
.section-title,
.section-desc,
.service-title,
.service-desc,
.location-name,
.location-sub,
.footer h4,
.footer p,
.footer span,
.footer a,
.footer-brand-title,
.footer-brand-text {
  background: linear-gradient(90deg, #4EA7FF, #8C7CFF, #FF7A59);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Если где-то текст должен быть обычным (без градиента), добавь класс .no-gradient */
.no-gradient {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: inherit !important;
}

/* ДОКРАСИТЬ СЛОГАН И ТЕКСТ В HERO */
.hero-slogan,
.hero-subtitle,
.hero__subtitle,
.hero-content p,
.hero-content span,
.hero-content small,
.hero-content div,
.hero-content .subtitle,
.hero-content .tagline {
  background: linear-gradient(90deg, #4EA7FF, #8C7CFF, #FF7A59);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Parallax Hero Background (smooth clouds) ===== */
:root {
  --hero-parallax: 0px;
  /* controlled by JS */
  --hero-parallax-scale: 1.06;
  /* slight zoom to avoid edges */
  --hero-fade-opacity: 1;
  --hero-fade-blur: 0px;
  --hero-fade-brightness: 1;
  --hero-white-fog: 0;
}

.hero {
  overflow: hidden;
  /* important so moving bg doesn't show borders */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  isolation: isolate;
  background: #fff;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 68% at 50% 14%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 22%,
      rgba(255, 255, 255, 0.16) 42%,
      rgba(255, 255, 255, 0.50) 60%,
      rgba(255, 255, 255, 0.84) 78%,
      rgba(255, 255, 255, 1) 100%);
  opacity: var(--hero-white-fog);
  transition: opacity 180ms linear;
  z-index: 1;
}

/* Works if your hero background is an <img> inside .hero-bg */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity, filter;
  transform: translate3d(0, var(--hero-parallax), 0) scale(var(--hero-parallax-scale));
  opacity: var(--hero-fade-opacity);
  filter: blur(var(--hero-fade-blur)) brightness(var(--hero-fade-brightness));
  transition: opacity 140ms linear, filter 140ms linear;
  /* micro-smoothing */
  z-index: 0;
}

/* Keep new Elbrus image fully readable in hero composition */
#heroImg {
  object-fit: contain;
  object-position: center 62%;
}

/* If your background is NOT an <img> but a background-image on .hero-bg,
   uncomment this block and remove the .hero-bg img block above

.hero-bg{
  will-change: transform;
  transform: translate3d(0, var(--hero-parallax), 0) scale(var(--hero-parallax-scale));
  transition: transform 60ms linear;
}
*/

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none !important;
    transform: none !important;
  }

  .hero-bg::after {
    opacity: 0 !important;
  }

  .hero-bg img {
    opacity: 1 !important;
    filter: none !important;
  }
}



/* ===== Gradient line icons (no рамки) ===== */
.icon-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  padding: 10px 12px;
  border-radius: 18px;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  /* лёгкая тень сразу */
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.icon-svg {
  width: 120px;
  height: 120px;
  overflow: visible;
}

.icon-line {
  stroke: url(#iconGradient);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

/* ===== Matrix Block (ruki.png + title) ===== */
.matrix-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  will-change: transform;
}

.matrix-block .section-title {
  margin-top: -50px;
}

.matrix-img {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  will-change: transform;
}

.matrix-desc {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform;
}

.matrix-desc p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 65ch;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.matrix-desc p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .matrix-desc p {
    font-size: 1rem;
    line-height: 1.5;
  }


}

/* ===== ATV Card (interactive quad icon) ===== */
.atv-card {
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 22px 18px;
  border-radius: 26px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 18px 55px rgba(26, 35, 50, .10);
  border: 1px solid rgba(26, 35, 50, .06);
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.atv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(26, 35, 50, .14);
}

/* pseudo-3D stage */
.atv-3d {
  width: 260px;
  height: 160px;
  perspective: 900px;
}

.atv-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform-style: preserve-3d;
  transform: rotateX(18deg) rotateY(-22deg) translateZ(0);
  transition: transform 260ms ease, filter 260ms ease;
  filter: drop-shadow(0 18px 36px rgba(26, 35, 50, .12));
}

.atv-title {
  font-family: var(--font-body);
  font-weight: 650;
  letter-spacing: .01em;
}

.atv-hint {
  font-family: var(--font-body);
  font-size: 12px;
  opacity: .65;
}

/* spin via class */
.atv-svg.is-spinning {
  animation: atvSpin 3s linear infinite;
}

@keyframes atvSpin {
  0% {
    transform: rotateX(18deg) rotateY(-22deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(18deg) rotateY(-22deg) rotateZ(360deg);
  }
}

/* dropdown */
.atv-dropdown {
  width: min(520px, 92vw);
}

.atv-drop-inner {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(26, 35, 50, .06);
  box-shadow: 0 18px 55px rgba(26, 35, 50, .10);
}

.atv-drop-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.atv-drop-list {
  line-height: 1.6;
  opacity: .9;
}

/* ===== Matrix Divider Styles ===== */
.matrix-content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  margin-top: -76px;
  text-align: center;
  will-change: transform;
}

.matrix-divider {
  display: block;
  margin: 20px auto;
  width: min(900px, 80%);
  height: auto;
  object-fit: contain;
  position: static;
  z-index: auto;
}

.matrix-divider--top {
  margin-top: 0;
  /* Reduced gap between hands block and lower text/divider block */
}



@media (max-width: 768px) {
  .matrix-content-wrapper {
    margin-top: -42px;
  }

  /* No special overrides needed if using min(900px, 80%) and auto margins */
}

/* ===== Disable Selection & Highlights for Carousel ===== */
.service-card,
.service-icon,
.service-icon img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
}

.service-card:focus,
.service-card:active {
  outline: none !important;
  box-shadow: none !important;
  /* Reset focus highlight if any */
}

/* ===== GALLERY SECTION ===== */
.gallery {
  /* Inherit section padding BUT override top to reduce gap */
  padding-top: 0;
  padding-bottom: var(--space-2xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  min-height: 200px;
  /* Avoid collapse if loading */
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  /* Square thumbnails or maintain aspect ratio */
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  background: var(--color-surface);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  /* Slight lift */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

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

.gallery-empty {
  text-align: center;
  padding: 40px;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  /* Subtle bg */
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border-subtle);
}

.btn-load-more {
  display: flex !important;
  /* Override potential hidden status when active, and flex for centering content */
  margin: 40px auto 0;
  min-width: 200px;
  justify-content: center;

  /* Gradient Style Override */
  background: linear-gradient(90deg, #4EA7FF, #8C7CFF, #FF7A59);
  background-size: 200% auto;
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(78, 167, 255, 0.3), 0 4px 20px rgba(255, 122, 89, 0.3);
  transition: all 0.4s ease;
}

.btn-load-more:hover,
.btn-load-more:focus,
.btn-load-more:active {
  background: linear-gradient(90deg, #4EA7FF, #8C7CFF, #FF7A59) !important;
  background-size: 200% auto !important;
  background-position: right center !important;
  box-shadow: 0 6px 28px rgba(78, 167, 255, 0.4), 0 6px 28px rgba(255, 122, 89, 0.4) !important;
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #fff !important;
}

/* Shared Sweep Hover Effect */
.btn-sweep-hover {
  background-size: 200% auto !important;
  transition: all 0.4s ease !important;
}

.btn-sweep-hover:hover,
.btn-sweep-hover:focus {
  background-position: right center !important;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  /* Above everything */
  display: flex;
  /* Flex to center */
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  visibility: hidden;
}

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

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 40, 0.78);
  /* Dark glassmorphism */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.lightbox-caption {
  display: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #0f1928;
  /* Dark controls */
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2002;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: none;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  font-size: 3rem;
  z-index: 2005;
  /* Matches arrow z-index */
  cursor: pointer;

  /* Vibrant Text Gradient (Blue -> Purple -> Red) */
  background: linear-gradient(90deg, #0056D2, #6F42C1, #D90429);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* Premium readability on white overlay */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));

  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;

  user-select: none;
  -webkit-user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.15) rotate(90deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  /* Fix to screen edges */
  top: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-surface);
  /* Fallback */
  color: #fff;
  z-index: 2005;
  /* Ensure above content/overlay */
  /* Premium shadow: slightly colored, deeper */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  opacity: 0.95;
  /* More visible by default */
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-prev {
  left: 24px;
  /* Vibrant Blue-Purple Gradient */
  background: linear-gradient(135deg, #0056D2, #6F42C1);
}

.lightbox-next {
  right: 24px;
  /* Vibrant Orange-Red Gradient */
  background: linear-gradient(135deg, #FF4500, #D90429);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

@media (max-width: 1024px) {
  /* Tablet overrides removed as new fixed positioning works for all screens */

  .lightbox-close {
    right: 0;
    top: -50px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  /* On mobile, keep arrows fixed but slighty smaller or same */
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    /* Slightly smaller on mobile */
    height: 44px;
    top: 50%;
    /* Keep gradient backgrounds from global rule */
  }

  .lightbox-prev {
    left: 12px;
    /* Closer to edge on mobile */
    transform: translateY(-50%);
  }

  .lightbox-next {
    right: 12px;
    transform: translateY(-50%);
  }


}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile */
  }
}

/* ===== Footer Layout & Brand Typography ===== */
.footer-brand-title {
  display: block !important;
  margin: 0 0 5px 0 !important;
  font-size: clamp(19px, 4.7vw, 26px) !important;
  /* Scales to match emblem width approx */
  font-weight: 800 !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Prevent wrapping */
}

/* Apply gradient to the text span inside */
.footer-brand-title span,
.footer-brand-text {
  background: linear-gradient(90deg, #4EA7FF, #8C7CFF, #FF7A59) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  display: inline-block !important;
  /* Ensure gradient works */
}

.footer-emblem {
  display: block !important;
  margin: 0 0 8px 0 !important;
  width: 220px !important;
  height: auto !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Hide legacy classes */
.footer-logo-img,
.footer-logo-mark,
.footer-emblem-inline {
  display: none !important;
}

/* ===== Disable Image Dragging & Selection ===== */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  /* Disable callout on mobile */
  -webkit-tap-highlight-color: transparent;
  /* Remove grey tap highlight */
}

/* Specific decorative elements */
.footer-emblem,
.matrix-img,
.matrix-divider,
.hero-bg,
.service-icon img,
.footer-logo-mark {
  pointer-events: none !important;
  /* Fully disable interaction */
  user-select: none !important;
  -webkit-user-drag: none !important;
}

/* --- About Page Specifics --- */
#about-page-content .about-content {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  #about-page-content .about-content {
    padding-left: 16px;
    padding-right: 16px;
  }
}
