:root {
  --primary-accent: #f59e0b;
  --primary-accent-hover: #d97706;
  --secondary-accent: #0284c7;
  --dark-bg: #090d16;
  --card-bg: rgba(17, 24, 39, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --max-w: 80rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--dark-bg);
  color: var(--slate-200);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

::selection {
  background: var(--primary-accent);
  color: var(--slate-950);
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #090d16; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #f59e0b; }

.tech-grid {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
}
.tech-radial-glow {
  background: radial-gradient(circle at 50% 0%, rgba(245,158,11,0.12) 0%, rgba(9,13,22,0) 70%);
}

.glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
  border-color: rgba(245,158,11,0.35);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5), 0 0 20px -5px rgba(245,158,11,0.15);
}

.feature-card { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,0.4);
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6), 0 0 20px -5px rgba(245,158,11,0.15);
}

.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

:root {
  --header-height: 124px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height, 124px);
}
main { flex: 1; }

.icon { width: 1em; height: 1em; flex-shrink: 0; vertical-align: middle; }

/* Fixed Header Wrapper */
.sticky-header-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(2, 6, 23, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sticky-header-wrapper.is-scrolled {
  background: rgba(2, 6, 23, 0.98) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

section[id] {
  scroll-margin-top: calc(var(--header-height, 124px) + 1rem);
}

/* Top bar */
.top-bar {
  background: rgba(2, 6, 23, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: var(--slate-400);
  padding: 0.4rem 0;
  position: relative;
  z-index: 50;
}
.top-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
@media (min-width: 1024px) {
  .top-bar__inner { flex-direction: row; justify-content: space-between; }
}
.top-bar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  text-align: center;
}
@media (max-width: 767px) {
  .top-bar__left { display: none; }
}
@media (min-width: 768px) { .top-bar__left { justify-content: flex-start; text-align: left; } }
.top-bar__sep { display: none; color: #475569; }
@media (min-width: 1024px) { .top-bar__sep { display: inline; } }
.top-bar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.top-bar__links a { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--slate-300); transition: color 0.2s; }
.top-bar__links a:hover { color: #fbbf24; }

.top-bar__phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}
.top-phone {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.top-phone .phone-val {
  color: var(--primary-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.top-phone:hover .phone-val {
  color: #fde68a;
  text-decoration: underline;
}
.phone-sep {
  color: #475569;
  font-size: 0.7rem;
  user-select: none;
}
@media (max-width: 640px) {
  .phone-sep { display: none; }
  .top-bar__phones {
    justify-content: center;
    gap: 0.2rem 0.5rem;
  }
  .top-phone { font-size: 0.68rem; }
}

.top-bar__cta {
  margin-left: 0.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.top-bar__cta .icon { width: 0.875rem; height: 0.875rem; }
@media (max-width: 767px) {
  .top-bar__cta { display: none; }
}
@media (min-width: 1024px) {
  .top-bar__links { justify-content: flex-end; flex-wrap: nowrap; }
  .top-bar__cta { margin-left: 0.5rem; }
}

/* Header */
.site-header {
  position: relative;
  z-index: 40;
  transition: all 0.3s;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.site-header.is-scrolled {
  background: rgba(9, 13, 22, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
  border-bottom-color: rgba(255,255,255,0.1);
}
.header__inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand__logo {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom right, #f59e0b, #d97706);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-950);
  box-shadow: 0 10px 15px -3px rgba(245,158,11,0.2);
  transition: transform 0.2s;
}
.brand:hover .brand__logo { transform: scale(1.05); }
.brand__logo .icon { width: 1.5rem; height: 1.5rem; transition: transform 0.5s; }
.brand:hover .brand__logo .icon { transform: rotate(45deg); }
.brand__title { font-weight: 800; font-size: 1.25rem; color: #fff; transition: color 0.2s; }
@media (min-width: 640px) { .brand__title { font-size: 1.5rem; } }
.brand:hover .brand__title { color: #fbbf24; }
.brand__title span { color: var(--primary-accent); }
.brand__sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-400); margin-top: -0.15rem; }
@media (min-width: 640px) { .brand__sub { font-size: 11px; } }

.nav-desktop {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-left: auto;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-300);
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
@media (min-width: 1280px) {
  .nav-desktop { gap: 1.35rem; font-size: 0.875rem; }
}
@media (min-width: 1440px) {
  .nav-desktop { gap: 1.75rem; }
}
.nav-desktop a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}
.nav-desktop a:hover { color: #fbbf24; }
.badge-top {
  background: rgba(245,158,11,0.2);
  color: #fbbf24;
  font-size: 10px;
  padding: 0.1rem 0.375rem;
  border-radius: 0.25rem;
  font-weight: 700;
  border: 1px solid rgba(245,158,11,0.3);
  white-space: nowrap;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.5rem; font-weight: 700; transition: all 0.2s;
}
.btn-amber {
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  background: var(--primary-accent);
  color: var(--slate-950);
  box-shadow: 0 4px 6px -1px rgba(245,158,11,0.2);
}
@media (min-width: 640px) { .btn-amber { font-size: 0.875rem; } }
.btn-amber:hover { background: #fbbf24; }
.btn-amber:active { transform: scale(0.95); }

.menu-toggle-tablet { display: none; padding: 0.5rem; border-radius: 0.5rem; color: var(--slate-300); }
.menu-toggle-tablet:hover { color: #fff; background: var(--slate-800); }
@media (min-width: 640px) { .menu-toggle-tablet { display: flex; } }
@media (min-width: 1024px) { .menu-toggle-tablet { display: none; } }

.menu-toggle-mobile { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .menu-toggle-mobile { display: none; } }
.btn-phone-mobile {
  padding: 0.5rem; border-radius: 0.5rem;
  background: rgba(245,158,11,0.1);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.3);
}
.btn-phone-mobile:hover { background: var(--primary-accent); color: var(--slate-950); }
.menu-btn { padding: 0.5rem; border-radius: 0.5rem; color: var(--slate-300); }
.menu-btn:hover { color: #fff; background: var(--slate-800); }
.menu-btn .icon-close { color: #fbbf24; }

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-height, 124px);
  z-index: 95;
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--slate-800);
  overflow-y: auto;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer__inner { max-width: 32rem; margin: 0 auto; padding: 1.5rem; }
.mobile-drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 0;
  font-size: 1rem; font-weight: 600;
  color: var(--slate-200);
  border-bottom: 1px solid rgba(30,41,59,0.8);
}
.mobile-drawer__link:hover { color: #fbbf24; }

.mobile-drawer__phones {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.mobile-phones-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.mobile-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-phone-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}
.mobile-phone-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-accent);
  letter-spacing: 0.02em;
}


/* Sections */
.section { padding: 4rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); position: relative; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section--hero { padding-top: 2.5rem; padding-bottom: 4rem; overflow: hidden; }
@media (min-width: 768px) { .section--hero { padding-top: 4rem; padding-bottom: 6rem; } }
.section--muted { background: rgba(2, 6, 23, 0.6); }
.section--dark { background: var(--dark-bg); }
.section--gallery { background: rgba(2, 6, 23, 0.8); }
.section--contacts { background: rgba(2, 6, 23, 0.9); }
.section--waterjets {
  background: linear-gradient(to bottom, var(--slate-950), #0a101d, var(--slate-950));
}

.section-head { text-align: center; max-width: 48rem; margin: 0 auto 3.5rem; }
.section-head--sm { margin-bottom: 2.5rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; text-transform: uppercase; font-weight: 800;
  letter-spacing: 0.1em; color: var(--primary-accent);
  background: rgba(245,158,11,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(245,158,11,0.2);
}
.section-label--inline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 1.5rem; font-weight: 800; color: #fff;
  margin: 0.75rem 0 0;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-desc { font-size: 0.875rem; color: var(--slate-400); margin-top: 0.75rem; line-height: 1.625; }
.section-desc--light { color: var(--slate-300); }

.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.hero-glow-1, .hero-glow-2 {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  filter: blur(64px);
}
.hero-glow-1 { top: 25%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 350px; background: rgba(245,158,11,0.1); }
.hero-glow-2 { bottom: 2.5rem; right: 2.5rem; width: 450px; height: 450px; background: rgba(2,132,199,0.1); }

.pulse-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: rgba(30,41,59,0.8);
  border: 1px solid rgba(245,158,11,0.3);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse-subtle 3s infinite ease-in-out;
}
.pulse-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #fbbf24; animation: ping 1s cubic-bezier(0,0,0.2,1) infinite; }
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 3rem; } }

.hero h1 {
  font-size: 1.875rem; font-weight: 900; color: #fff;
  line-height: 1.12; margin: 0 0 1.5rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.text-gradient {
  background: linear-gradient(to right, #fbbf24, #fcd34d, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.check-list { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-item { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--slate-300); }
.check-item .icon { width: 1.25rem; height: 1.25rem; color: #fbbf24; margin-top: 0.125rem; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 1rem; }
.btn-gradient {
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  background: linear-gradient(to right, #f59e0b, #d97706);
  color: var(--slate-950);
  box-shadow: 0 10px 15px -3px rgba(245,158,11,0.25);
}
.btn-gradient:hover { background: linear-gradient(to right, #fbbf24, #f59e0b); }
.btn-outline {
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(30,41,59,0.9);
  color: var(--slate-200);
  border: 1px solid var(--slate-700);
}
.btn-outline:hover { background: var(--slate-700); border-color: #475569; }

.trust-row {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(30,41,59,0.8);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem;
  font-size: 0.75rem; color: var(--slate-400);
}
.trust-row span { display: flex; align-items: center; gap: 0.5rem; }

.hero-card { border-radius: 1rem; padding: 1rem; position: relative; overflow: hidden; }
@media (min-width: 640px) { .hero-card { padding: 1.25rem; } }
.hero-card__badge {
  position: absolute; top: 1.75rem; right: 1.75rem; z-index: 10;
  background: rgba(2,6,23,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245,158,11,0.4);
  color: #fbbf24;
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: flex; align-items: center; gap: 0.375rem;
}
.hero-card__img-wrap {
  position: relative; height: 16rem; border-radius: 0.75rem; overflow: hidden;
  margin-bottom: 1rem; background: var(--slate-950);
}
@media (min-width: 640px) { .hero-card__img-wrap { height: 19rem; } }
.hero-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.hero-card:hover .hero-card__img-wrap img { transform: scale(1.05); }
.hero-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--slate-950), rgba(2,6,23,0.2), transparent);
}
.hero-card__caption { position: absolute; bottom: 0.75rem; left: 0.75rem; right: 0.75rem; }
.hero-card__tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #fbbf24;
  background: rgba(69,26,3,0.7);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(245,158,11,0.3);
}
.hero-card__caption p { font-size: 0.875rem; font-weight: 700; color: #fff; margin: 0.25rem 0 0; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mini-card {
  background: rgba(15,23,42,0.8);
  border-radius: 0.5rem;
  padding: 0.625rem;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 0.625rem;
}
.mini-card img { width: 3rem; height: 3rem; border-radius: 0.25rem; object-fit: cover; flex-shrink: 0; }
.mini-card__label { font-size: 10px; font-weight: 600; text-transform: uppercase; }
.mini-card__label--amber { color: #fbbf24; }
.mini-card__label--sky { color: #38bdf8; }
.mini-card__text { font-size: 0.75rem; font-weight: 500; color: var(--slate-200); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-card__footer {
  margin-top: 1rem; padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem;
}
.link-amber { color: #fbbf24; font-weight: 700; display: inline-flex; align-items: center; gap: 0.25rem; }
.link-amber:hover { color: #fcd34d; }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 1024px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metric-card { border-radius: 0.75rem; padding: 1.25rem; border-left: 4px solid; }
.metric-card--amber { border-left-color: var(--primary-accent); }
.metric-card--sky { border-left-color: #0ea5e9; }
.metric-card--emerald { border-left-color: #10b981; }
.metric-card--purple { border-left-color: #a855f7; }
.metric-val { font-size: 1.5rem; font-weight: 900; }
@media (min-width: 640px) { .metric-val { font-size: 1.875rem; } }
.metric-val--amber { color: #fbbf24; }
.metric-val--sky { color: #38bdf8; }
.metric-val--emerald { color: #34d399; }
.metric-val--purple { color: #c084fc; }
.metric-title { font-size: 0.75rem; font-weight: 600; color: #fff; margin-top: 0.25rem; }
@media (min-width: 640px) { .metric-title { font-size: 0.875rem; } }
.metric-desc { font-size: 0.75rem; color: var(--slate-400); margin: 0.125rem 0 0; }

/* Service cards */
.svc-card { border-radius: 0.75rem; padding: 1.5rem; border-left: 4px solid; display: flex; flex-direction: column; justify-content: space-between; }
.svc-card--amber { border-left-color: var(--primary-accent); }
.svc-card--sky { border-left-color: #0ea5e9; }
.svc-card--red { border-left-color: #ef4444; }
.svc-card--emerald { border-left-color: #10b981; }
.svc-card--purple { border-left-color: #a855f7; }
.svc-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.svc-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.5rem;
  background: rgba(30,41,59,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fbbf24;
}
.svc-icon .icon { width: 1.5rem; height: 1.5rem; }
.svc-badge {
  font-size: 11px; font-weight: 600; color: var(--slate-400);
  background: rgba(30,41,59,0.6);
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.svc-card h3 { font-size: 1.125rem; font-weight: 700; color: #fff; margin: 0 0 0.5rem; line-height: 1.375; }
.svc-card__desc { font-size: 0.75rem; color: var(--slate-400); margin-bottom: 1rem; line-height: 1.625; }
@media (min-width: 640px) { .svc-card__desc { font-size: 0.875rem; } }
.svc-list { margin-bottom: 1.5rem; }
.svc-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.75rem; color: var(--slate-300); margin-bottom: 0.5rem; }
.svc-list .icon { width: 1rem; height: 1rem; color: var(--primary-accent); margin-top: 0.125rem; }
.svc-card__foot {
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
}
.svc-card__foot a { font-size: 0.75rem; font-weight: 600; color: #fbbf24; display: inline-flex; align-items: center; gap: 0.25rem; }
.svc-card__foot a:hover { color: #fcd34d; }
.svc-card__foot button { font-size: 0.75rem; color: var(--slate-400); }
.svc-card__foot button:hover { color: #fff; }

/* Services grid layout */
.services-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid > :nth-child(7):last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid > :nth-child(7):last-child {
    grid-column: 2;
    max-width: 100%;
    margin: 0;
  }
}

/* Restoration groups */
.group-card { border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; justify-content: space-between; }
.group-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.group-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fbbf24;
}
.group-item { margin-bottom: 1rem; }
.group-item__title { font-size: 0.875rem; font-weight: 600; color: var(--slate-200); }
.group-item:hover .group-item__title { color: #fbbf24; }
.group-item__desc { font-size: 0.75rem; color: var(--slate-400); margin-top: 0.125rem; line-height: 1.625; }

/* Before/After */
.ba-panel { border-radius: 1rem; padding: 1rem; border: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; }
@media (min-width: 640px) { .ba-panel { padding: 1.75rem; } }
.ba-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab-btn {
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--slate-800);
  color: var(--slate-300);
  transition: all 0.2s;
}
.tab-btn:hover { background: var(--slate-700); }
.tab-btn.is-active {
  background: var(--primary-accent);
  color: var(--slate-950);
  box-shadow: 0 4px 6px -1px rgba(245,158,11,0.2);
}

.ba-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5);
  touch-action: pan-y;
  height: 320px;
  cursor: ew-resize;
  border: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 640px) { .ba-container { height: 450px; } }
.ba-container.dragging { outline: 2px solid rgba(245,158,11,0.5); }

.ba-before-img, .ba-after-wrapper img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after-wrapper {
  position: absolute; top: 0; left: 0; height: 100%;
  overflow: hidden;
  will-change: width;
}
.ba-after-wrapper img { max-width: none; }

.ba-slider-handle {
  position: absolute; top: 0; bottom: 0; width: 3px;
  background: #f59e0b;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 20;
  box-shadow: 0 0 12px rgba(245,158,11,0.8);
}
.ba-slider-button {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px;
  background: #0f172a;
  border: 2px solid #f59e0b;
  color: #f59e0b;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6), 0 0 10px rgba(245,158,11,0.5);
  cursor: ew-resize;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.ba-slider-handle:hover .ba-slider-button,
.ba-container.dragging .ba-slider-button {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #1e293b;
}

.ba-badge {
  position: absolute;
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.ba-badge-before { top: 1rem; right: 1rem; background: rgba(220,38,38,0.85); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.ba-badge-after { top: 1rem; left: 1rem; background: rgba(16,185,129,0.85); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

.ba-caption { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .ba-caption { flex-direction: row; align-items: center; justify-content: space-between; } }
.ba-caption h4 { font-size: 0.875rem; font-weight: 700; color: #fff; margin: 0; }
.ba-caption p { font-size: 0.75rem; color: var(--slate-300); margin: 0.25rem 0 0; max-width: 48rem; line-height: 1.625; }
.ba-hint { font-size: 11px; color: var(--slate-400); font-style: italic; flex-shrink: 0; }

/* Waterjets */
.label-sky {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.3);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.brand-card { border-radius: 0.75rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; justify-content: space-between; }
.brand-card:hover { border-color: rgba(14,165,233,0.4); }
.brand-tag {
  font-size: 10px; text-transform: uppercase; font-weight: 700;
  color: #38bdf8;
  background: rgba(8,47,73,0.8);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(14,165,233,0.3);
}
.brand-card h3 { font-size: 1.25rem; font-weight: 800; color: #fff; margin: 0.75rem 0 0.25rem; }
.brand-card:hover h3 { color: #7dd3fc; }
.brand-parent { font-size: 0.75rem; color: #fbbf24; font-weight: 600; margin-bottom: 0.5rem; }
.brand-card p { font-size: 0.75rem; color: var(--slate-400); line-height: 1.625; margin: 0; }
.brand-card__btn {
  width: 100%; margin-top: 1rem; padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.brand-card__btn button {
  width: 100%; text-align: center;
  font-size: 0.75rem; font-weight: 600;
  color: var(--slate-300);
  padding: 0.375rem;
  border-radius: 0.25rem;
  background: rgba(30,41,59,0.6);
  transition: all 0.2s;
}
.brand-card__btn button:hover { background: #0284c7; color: #fff; }

.waterjet-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .waterjet-layout { grid-template-columns: 7fr 5fr; } }
.comp-card {
  background: rgba(15,23,42,0.8);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}
.comp-card:hover { border-color: rgba(245,158,11,0.3); }
.comp-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 0.375rem; display: flex; align-items: center; gap: 0.5rem; }
.comp-num {
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: rgba(245,158,11,0.2);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.media-thumb {
  position: relative; border-radius: 0.75rem; overflow: hidden;
  background: var(--slate-950);
  cursor: pointer;
  margin-bottom: 1rem;
}
.media-thumb--tall { height: 15rem; }
.media-thumb--short { height: 11rem; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.media-thumb:hover img { transform: scale(1.05); }
.media-thumb__grad { position: absolute; inset: 0; background: linear-gradient(to top, var(--slate-950), transparent); }
.media-thumb__bar {
  position: absolute; bottom: 0.75rem; left: 0.75rem; right: 0.75rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem;
}
.media-thumb__bar span:first-child { font-weight: 600; color: #fff; }
.zoom-hint { color: #fbbf24; display: flex; align-items: center; gap: 0.25rem; }

.info-box { background: rgba(15,23,42,0.9); border-radius: 0.75rem; padding: 1rem; border: 1px solid rgba(255,255,255,0.05); }
.btn-sky {
  width: 100%; margin-top: 0.5rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  background: #0ea5e9;
  color: var(--slate-950);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-sky:hover { background: #38bdf8; }

/* Machining pillars */
.pillar-card { border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 640px) { .pillar-card { padding: 2rem; } }
.pillar-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.625rem; border-radius: 0.25rem; display: inline-block; margin-bottom: 1rem; }
.pillar-tag--amber { color: #fbbf24; background: rgba(69,26,3,0.7); border: 1px solid rgba(245,158,11,0.3); }
.pillar-tag--sky { color: #38bdf8; background: rgba(8,47,73,0.7); border: 1px solid rgba(14,165,233,0.3); }

.video-responsive-wrapper {
  position: relative; width: 100%; padding-bottom: 56.25%; height: 0;
  overflow: hidden; border-radius: 0.75rem;
  background: var(--slate-950);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.video-responsive-wrapper video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.heat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; font-size: 0.75rem; color: var(--slate-300); }
.heat-cell { background: rgba(2,6,23,0.6); padding: 0.5rem; border-radius: 0.25rem; border: 1px solid rgba(255,255,255,0.05); }
.heat-cell strong { color: #fbbf24; display: block; font-size: 0.75rem; }
.heat-cell span { font-size: 11px; color: var(--slate-400); }

.layout-7-5 { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .layout-7-5 { grid-template-columns: 7fr 5fr; } }
.layout-6-6 { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .layout-6-6 { grid-template-columns: 1fr 1fr; } }

.box-dark { background: rgba(15,23,42,0.8); border-radius: 0.75rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,0.05); }
.box-dark--red { border-color: rgba(239,68,68,0.2); }

/* Gallery */
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.gallery-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item { border-radius: 0.75rem; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; }
.gallery-item:hover { border-color: rgba(245,158,11,0.4); }
.gallery-item.is-hidden { display: none; }
.gallery-item__img {
  position: relative; height: 12rem; overflow: hidden; background: var(--slate-950);
}
@media (min-width: 640px) { .gallery-item__img { height: 13rem; } }
.gallery-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover .gallery-item__img img { transform: scale(1.08); }
.gallery-item__hover {
  position: absolute; inset: 0;
  background: rgba(2,6,23,0.4);
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s;
}
.gallery-item:hover .gallery-item__hover { opacity: 1; }
.gallery-eye {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(245,158,11,0.9);
  color: var(--slate-950);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.75);
  transition: transform 0.2s;
}
.gallery-item:hover .gallery-eye { transform: scale(1); }
.gallery-tag {
  position: absolute; top: 0.625rem; right: 0.625rem;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  color: #fbbf24;
  background: rgba(2,6,23,0.8);
  backdrop-filter: blur(8px);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(245,158,11,0.3);
}
.gallery-item__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.gallery-item__body h4 { font-size: 0.875rem; font-weight: 700; color: #fff; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-item:hover .gallery-item__body h4 { color: #fbbf24; }
.gallery-item__body p { font-size: 0.75rem; color: var(--slate-400); margin: 0.25rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.625; }
.gallery-item__foot {
  margin-top: 0.75rem; padding-top: 0.625rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--slate-400);
}
.gallery-item__foot span:last-child { color: #fbbf24; font-weight: 600; }

/* Calculator */
.calc-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .calc-layout { grid-template-columns: 7fr 5fr; } }
.calc-form { border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 640px) { .calc-form { padding: 2rem; } }
.calc-form h3 { font-size: 1.125rem; font-weight: 700; color: #fff; margin: 0 0 0.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--slate-300); margin-bottom: 0.375rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.custom-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  transition: all 0.2s ease;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.custom-input:focus {
  border-color: #f59e0b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
select.custom-input { background: var(--slate-900); border-color: var(--slate-700); }
textarea.custom-input { resize: vertical; min-height: 4.5rem; }

input[type="range"] { width: 100%; height: 0.5rem; accent-color: #f59e0b; cursor: pointer; background: var(--slate-800); border-radius: 0.5rem; appearance: none; }
.range-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--slate-500); margin-top: 0.25rem; }
.qty-val { font-size: 0.875rem; font-weight: 700; color: #fbbf24; }
.field-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.375rem; }

.calc-result {
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(245,158,11,0.3);
  background: rgba(15,23,42,0.9);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
@media (min-width: 640px) { .calc-result { padding: 2rem; } }
.result-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.result-box { background: rgba(2,6,23,0.8); padding: 1rem; border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.05); }
.result-box__label { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--slate-400); margin-bottom: 0.25rem; }
.result-box__val { font-size: 1.125rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .result-box__val { font-size: 1.25rem; } }
.result-box__val--green { color: #34d399; }
.result-box__sub { font-size: 11px; color: var(--slate-400); margin-top: 0.125rem; }

.btn-tg { width: 100%; padding: 0.75rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.75rem; background: #0284c7; color: #fff; margin-top: 0.625rem; box-shadow: 0 10px 15px -3px rgba(2,132,199,0.2); }
@media (min-width: 640px) { .btn-tg { font-size: 0.875rem; } }
.btn-tg:hover { background: #0ea5e9; }
.btn-wa { width: 100%; padding: 0.75rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.75rem; background: #059669; color: #fff; margin-top: 0.625rem; box-shadow: 0 10px 15px -3px rgba(5,150,105,0.2); }
.btn-wa:hover { background: #10b981; }
.btn-quote-full { width: 100%; padding: 0.75rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.75rem; background: var(--primary-accent); color: var(--slate-950); margin-top: 0.625rem; box-shadow: 0 10px 15px -3px rgba(245,158,11,0.2); }
.btn-quote-full:hover { background: #fbbf24; }

/* Contacts */
.contact-info-card { border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 640px) { .contact-info-card { padding: 1.75rem; } }
.info-row { display: flex; align-items: flex-start; gap: 0.875rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon--amber { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); color: #fbbf24; }
.info-icon--sky { background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.3); color: #38bdf8; }
.info-icon--emerald { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.info-icon--purple { background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.3); color: #c084fc; }
.info-label { font-size: 0.75rem; color: var(--slate-400); text-transform: uppercase; font-weight: 600; display: block; }
.info-value { font-size: 0.875rem; font-weight: 700; color: #fff; margin-top: 0.125rem; }
@media (min-width: 640px) { .info-value { font-size: 1rem; } }
.info-value--phone { font-size: 1rem; font-weight: 800; color: #fbbf24; }
.info-value--phone:hover { color: #fcd34d; }
.info-sub { font-size: 0.75rem; color: var(--slate-400); margin-top: 0.125rem; }
.messenger-links { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; font-size: 0.75rem; }
.messenger-links a { display: flex; align-items: center; gap: 0.25rem; font-weight: 600; }
.messenger-links .tg { color: #38bdf8; }
.messenger-links .wa { color: #34d399; }
.messenger-links .dot { color: #475569; }

.directors-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.director-contact-row {
  display: flex;
  align-items: center;
  padding: 0.2rem 0;
}

.requisites-bar {
  background: rgba(15,23,42,0.9);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) { .requisites-bar { flex-direction: row; align-items: center; justify-content: space-between; } }
.btn-copy {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  color: var(--slate-200);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.375rem;
}
.btn-copy:hover { background: var(--slate-700); }

.upload-zone {
  border: 1px dashed var(--slate-700);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  background: rgba(15,23,42,0.4);
}
.form-note { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 11px; color: var(--slate-500); padding-top: 0.25rem; }

.contact-map-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.map-frame { width: 100%; height: 16rem; border-radius: 0.75rem; overflow: hidden; background: var(--slate-900); border: 1px solid rgba(255,255,255,0.05); }
.map-frame--fill {
  flex: 1;
  min-height: 21rem;
  height: 100%;
}
@media (min-width: 640px) { .map-frame:not(.map-frame--fill) { height: 20rem; } }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(1) contrast(1.25) brightness(0.9) hue-rotate(180deg); }

/* Footer */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  font-size: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 0 2rem;
}
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h4 { font-size: 0.875rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.75rem; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid a:hover { color: #fbbf24; }
.footer-spec li { color: var(--slate-400); margin-bottom: 0.375rem; }
.footer-directors {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-directors a:hover {
  text-decoration: underline;
}
.social-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.social-row a {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-300);
  transition: all 0.2s;
}
.social-row a:hover { color: #fbbf24; border-color: var(--primary-accent); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  color: var(--slate-500);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.btn-top { display: flex; align-items: center; gap: 0.375rem; color: var(--slate-400); }
.btn-top:hover { color: #fbbf24; }

/* Modals */
.modal-overlay {
  position: fixed; inset: 0; z-index: 50;
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}
.modal-overlay.is-open { display: flex; }
.modal-overlay--lightbox { background: rgba(0,0,0,0.9); backdrop-filter: blur(12px); }

.modal {
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 1rem;
  max-width: 28rem;
  width: 100%;
  padding: 1.5rem;
  position: relative;
}
.modal--success { max-width: 24rem; text-align: center; border-color: rgba(16,185,129,0.4); }
.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  padding: 0.25rem; border-radius: 0.25rem;
  color: var(--slate-400);
}
.modal__close:hover { color: #fff; }
.modal h3 { font-size: 1.125rem; font-weight: 700; color: #fff; margin: 0 0 0.25rem; }
.modal p.sub { font-size: 0.75rem; color: var(--slate-400); margin: 0 0 1rem; line-height: 1.625; }

.send-via-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-300);
  margin: 1rem 0 0.5rem;
}
.messenger-send {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid transparent;
  transition: transform 0.15s, filter 0.15s, background 0.15s;
}
.msg-btn .icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.msg-btn:hover { filter: brightness(1.08); }
.msg-btn:active { transform: scale(0.97); }
.msg-btn--wa { background: #128C7E; }
.msg-btn--wa:hover { background: #25D366; color: #052e16; }
.msg-btn--viber { background: #665CAC; }
.msg-btn--viber:hover { background: #7c6fd4; }
.msg-btn--tg { background: #0284c7; }
.msg-btn--tg:hover { background: #0ea5e9; color: #0f172a; }
.msg-btn--max { background: #5b21b6; }
.msg-btn--max:hover { background: #7c3aed; }

.lightbox-inner { max-width: 64rem; width: 100%; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-top { width: 100%; display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.75rem; color: #fff; }
.lightbox-viewport {
  position: relative; width: 100%;
  max-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--slate-950);
  border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-viewport img { max-height: 70vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  padding: 0.625rem; border-radius: 50%;
  background: rgba(15,23,42,0.8);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
}
.lightbox-nav:hover { background: var(--primary-accent); color: var(--slate-950); }
.lightbox-nav--prev { left: 0.75rem; }
.lightbox-nav--next { right: 0.75rem; }
.lightbox-caption { width: 100%; padding-top: 0.75rem; text-align: left; }
.lightbox-caption h4 { font-size: 1rem; font-weight: 700; color: #fff; margin: 0; }
.lightbox-caption p { font-size: 0.75rem; color: var(--slate-300); margin: 0.125rem 0 0; }

.success-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgba(16,185,129,0.2);
  color: #34d399;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}
.btn-emerald {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  background: #10b981;
  color: var(--slate-950);
  font-weight: 700;
  font-size: 0.875rem;
}
.btn-emerald:hover { background: #34d399; }

.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 60;
  background: var(--primary-accent);
  color: var(--slate-950);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  font-size: 0.75rem;
  display: none;
  animation: toast-bounce 0.6s ease;
}
@media (min-width: 640px) { .toast { font-size: 0.875rem; } }
.toast.is-visible { display: block; }
@keyframes toast-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.hidden-sm-inline { display: none; }
@media (min-width: 640px) { .hidden-sm-inline { display: inline; } }

.text-amber { color: var(--primary-accent); }
.text-sky { color: #38bdf8; }
.text-emerald { color: #34d399; }
.text-red { color: #f87171; }
.text-purple { color: #c084fc; }
.text-white { color: #fff; }
.text-muted { color: var(--slate-400); }
.text-sm { font-size: 0.875rem; }
.fw-bold { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.gap-lg { gap: 2rem; }
.rounded-2xl { border-radius: 1rem; }
.w-full { width: 100%; }
