/* ============================================
СПЕЦТЕХ — Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --orange: #F07B00;
  --orange-light: #FF9A2E;
  --orange-dark: #C96200;
  --dark: #111418;
  --dark-2: #1A1F26;
  --dark-3: #242B34;
  --light: #F5F4F0;
  --light-2: #EDECEA;
  --gray: #8A8F99;
  --white: #FFFFFF;
  --text: #2C2F35;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--light);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,123,0,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* ============================================
   HEADER
   ============================================ */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 6px;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.logo img {
  height: 60px;
  width: auto;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}
.logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -125%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 132, 0, 0.58),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.62s ease;
  pointer-events: none;
  z-index: 3;
}
.logo img.logo-default { opacity: 1; }
.logo img.logo-hover {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 14px rgba(255, 132, 0, 0.78));
}
.logo:hover::after {
  left: 145%;
}
.logo:hover img.logo-default { opacity: 0; }
.logo:hover img.logo-hover { opacity: 1; }

/* NAV */
nav { display: flex; align-items: center; gap: 4px; }

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--orange);
  background: rgba(240,123,0,0.1);
}

.nav-arrow {
  font-size: 10px;
  transition: transform 0.3s;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-top: 2px solid var(--orange);
  border-radius: var(--radius);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: #ccc;
  border-bottom: 1px solid var(--dark-3);
  transition: var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
  color: var(--orange);
  background: rgba(240,123,0,0.08);
  padding-left: 24px;
}

.header-phones {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-phones a {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}
.header-phones a:hover { color: var(--orange); }

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE NAV */
.mobile-nav {
  display: none;
  background: var(--dark-2);
  border-top: 1px solid var(--dark-3);
  padding: 16px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  color: #ccc;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--dark-3);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--orange); padding-left: 32px; }
.mobile-nav .sub-link {
  padding-left: 40px;
  font-size: 13px;
  color: var(--gray);
}
.mobile-nav .sub-link:hover { color: var(--orange); padding-left: 48px; }

/* ============================================
   HERO / SLIDER
   ============================================ */

.hero {
  position: relative;
  height: 620px;
  margin-top: 72px;
  overflow: hidden;
  background: var(--dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,12,16,0.82) 0%,
    rgba(10,12,16,0.5) 55%,
    rgba(10,12,16,0.2) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 64px;
  max-width: 660px;
}

.hero-label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero h1 span { color: var(--orange); }

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* SLIDER DOTS */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* SLIDER ARROWS */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(240,123,0,0.85);
  border: none;
  color: white;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--orange); transform: translateY(-50%) scale(1.1); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ============================================
   SECTION STYLES
   ============================================ */

section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 40px);
  color: var(--dark);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 16px;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
}

.section-divider {
  width: 56px;
  height: 3px;
  background: var(--orange);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ============================================
   CARDS GRID
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}

.card-body { padding: 24px; }

.card-body h3 {
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 12px;
}

.card-specs {
  margin-bottom: 16px;
}
.card-specs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px dashed var(--light-2);
}
.card-specs li:last-child { border-bottom: none; }
.spec-icon { color: var(--orange); font-size: 12px; flex-shrink: 0; margin-top: 3px; }

.card-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid var(--light-2);
}

.price-label { font-size: 12px; color: var(--gray); }
.price-value {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

/* ============================================
   ABOUT STRIP
   ============================================ */

.about-strip {
  background: var(--dark-2);
  color: var(--white);
  padding: 72px 0;
}

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

.about-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 20px;
  color: var(--white);
}
.about-text h2 span { color: var(--orange); }
.about-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  font-size: 15px;
}

.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px;
}
.feature-box h4 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feature-box p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   SERVICES BOX (for tech pages)
   ============================================ */

.services-section { background: var(--light-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.service-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-item:hover .service-img img {
  transform: scale(1.05);
}
.service-item h3 {
  padding: 24px 22px;
  text-align: center;
  font-size: 16px;
  color: var(--dark);
  margin: 0;
}
.service-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.service-item h4 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 8px;
}
.service-item p {
  font-size: 13px;
  color: var(--gray);
}

/* SERVICE BLOCK (for uslugi page) */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-block:hover .service-image img {
  transform: scale(1.05);
}

.service-content h2 {
  font-size: 32px;
  color: var(--dark);
  margin: 12px 0 16px;
  text-transform: uppercase;
}

.service-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* SERVICE BLOCK LARGE (for demontazh page) */
.service-block-large {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
  transition: all 0.3s ease;
}

.service-image-large {
  width: 100%;
  height: 280px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.service-image-large img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
}

.service-block-large .service-card {
  background: transparent;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.service-block-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  border-left-width: 6px;
}

.service-block-large .service-card:hover {
  transform: none;
  box-shadow: none;
  border-left-width: 0;
}

.service-block-large:hover .service-image-large img {
  transform: scale(1.1);
}

/* SERVICES GRID (new design for uslugi page) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  border-left-width: 6px;
}

.service-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

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

.service-card h3 {
  font-size: 22px;
  color: var(--dark);
  margin: 24px 28px 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service-card > p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0 28px 20px;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  margin: 0 28px 24px;
  padding: 0;
}

.service-list li {
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
  font-size: 16px;
}

.service-card .btn {
  align-self: flex-start;
  margin: 0 28px 28px;
}

/* ============================================
   SEO TEXT
   ============================================ */

.seo-section { background: var(--white); }

.seo-text-section {
  background: var(--light);
  padding: 60px 0;
}

.seo-text-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.seo-text-content h2 {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--dark);
  margin: 0 0 24px;
  text-align: center;
}

.seo-text-content h3 {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--dark-2);
  margin: 32px 0 14px;
  border-left: 4px solid var(--orange);
  padding-left: 16px;
}

.seo-text-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.seo-text-content a {
  color: var(--orange);
  font-weight: 500;
  transition: var(--transition);
}

.seo-text-content a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

.seo-text-content strong {
  color: var(--dark);
  font-weight: 600;
}

.seo-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.seo-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.6;
}

.seo-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-size: 12px;
}

.seo-content {
  max-width: 800px;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 28px;
  color: var(--dark);
  margin: 28px 0 12px;
}
.seo-content h3 {
  font-size: 20px;
  color: var(--dark-2);
  margin: 22px 0 10px;
}
.seo-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 14px;
}
.seo-content ul {
  margin: 12px 0 18px 16px;
}
.seo-content ul li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
  list-style: none;
}
.seo-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .seo-text-content {
    padding: 32px 24px;
  }
  .seo-text-content h3 {
    margin: 24px 0 12px;
  }
}

/* ============================================
   FORM
   ============================================ */

.form-section {
  background: var(--dark);
  padding: 80px 0;
}

.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--dark-2);
  border-radius: 16px;
  border: 1px solid var(--dark-3);
  border-top: 3px solid var(--orange);
  padding: 48px;
}

.form-wrapper h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 8px;
}
.form-wrapper > p {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,123,0,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.form-group select option { background: var(--dark-2); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  margin-top: 8px;
}
.form-submit .btn { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }

.form-note {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* SUCCESS MESSAGE */
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}
.form-success.show { display: block; }
.form-success .check { font-size: 56px; margin-bottom: 16px; }
.form-success h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
}
.form-success p { color: var(--gray); }

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--dark);
  border-top: 3px solid var(--orange);
  color: var(--white);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 220px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 13px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-contacts li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.footer-contacts li a {
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-contacts li a:hover { color: var(--orange); }
.footer-contacts .icon { color: var(--orange); flex-shrink: 0; }

/* MESSENGERS */
.messengers {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.messenger-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}
.messenger-btn img { width: 22px; height: 22px; }
.messenger-btn.viber { background: rgba(125,86,154,0.2); color: #9B72CF; border: 1px solid rgba(125,86,154,0.3); }
.messenger-btn.viber:hover { background: #7B569A; color: white; }
.messenger-btn.telegram { background: rgba(41,182,246,0.15); color: #29B6F6; border: 1px solid rgba(41,182,246,0.2); }
.messenger-btn.telegram:hover { background: #0088CC; color: white; }
.messenger-btn.whatsapp { background: rgba(37,211,102,0.15); color: #25D366; border: 1px solid rgba(37,211,102,0.2); }
.messenger-btn.whatsapp:hover { background: #25D366; color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   TECH PAGE — Inner
   ============================================ */

.page-hero {
  position: relative;
  height: 460px;
  margin-top: 72px;
  overflow: hidden;
}
.page-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,12,16,0.85) 0%, rgba(10,12,16,0.4) 60%);
}
.page-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
  max-width: 700px;
}
.page-hero-content .hero-label { margin-bottom: 14px; }
.page-hero-content h1 { font-size: clamp(28px, 4.5vw, 52px); color: var(--white); margin-bottom: 12px; }
.page-hero-content h1 span { color: var(--orange); }
.page-hero-content p { font-size: 16px; color: rgba(255,255,255,0.75); }

/* SPECS TABLE */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.specs-table tr { border-bottom: 1px solid var(--light-2); }
.specs-table tr:hover td { background: rgba(240,123,0,0.04); }
.specs-table td {
  padding: 13px 16px;
  font-size: 15px;
}
.specs-table td:first-child {
  font-weight: 500;
  color: var(--gray);
  width: 45%;
}
.specs-table td:last-child { color: var(--dark); font-weight: 600; }

/* GALLERY */
.gallery-section { background: var(--light-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================
   PRICES PAGE
   ============================================ */

.prices-section { background: var(--white); }
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.price-table thead tr {
  background: var(--dark);
  color: var(--white);
}
.price-table th {
  padding: 16px 18px;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}
.price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--light-2);
  color: var(--text);
}
.price-table tbody tr:hover td { background: rgba(240,123,0,0.04); }
.price-table .price-col {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
}
.price-table .cat-row td {
  background: var(--light-2);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
}

/* ============================================
   CONTACTS PAGE
   ============================================ */

.contacts-section { background: var(--white); }
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 20px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--light-2);
  border-radius: var(--radius);
  margin-bottom: 14px;
  border-left: 3px solid var(--orange);
}
.contact-icon {
  font-size: 22px;
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
}
.contact-card h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 4px;
}
.contact-card p, .contact-card a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}
.contact-card a:hover { color: var(--orange); }

.map-placeholder {
  background: var(--dark-3);
  border-radius: 12px;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 15px;
  gap: 12px;
  border: 2px dashed rgba(255,255,255,0.1);
}
.map-placeholder span { font-size: 40px; }

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
  background: var(--light-2);
  padding: 12px 0;
  margin-top: 72px;
}
.breadcrumbs nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
}
.breadcrumbs a { color: var(--gray); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { color: var(--orange); }
.breadcrumbs .current { color: var(--dark); font-weight: 500; }

/* ============================================
RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    overflow-x: visible;
  }
  nav, .header-phones { display: none; }
  .burger { display: flex; }
  .slider-arrow { display: none; }
  .card-price .btn {
  padding: 10px 16px;
  font-size: 13px;
  }
  .specs-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .specs-grid > div {
    max-width: 100% !important;
    overflow: visible !important;
  }
  .card {
    max-width: 100%;
    overflow: visible;
  }
  .specs-table {
    width: 100%;
    overflow-x: auto;
    display: block;
  }
  .logo img { height: 36px; }

  .hero { height: 500px; }
  .hero-content { padding: 0 24px; max-width: 100%; }

  .page-hero { height: 340px; }
  .page-hero-content { padding: 0 24px; }

  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 28px 20px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .cards-grid { grid-template-columns: 1fr; }

  .about-features { grid-template-columns: 1fr; }
  .stats-row { gap: 20px; }
  .stat-num { font-size: 30px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  section { padding: 52px 0; }

  .messengers { flex-wrap: wrap; }

  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block.reverse { direction: ltr; }
  .service-image img { height: 300px; }

  .services-grid { grid-template-columns: 1fr; gap: 28px; }
  .services-grid > .service-card {
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    border-left: none;
    border-top: 4px solid var(--orange);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(0,0,0,0.14);
  }
  .services-grid > .service-card h3 {
    font-size: 21px;
    margin: 22px 24px 12px;
    line-height: 1.18;
  }
  .services-grid > .service-card > p {
    font-size: 15px;
    margin: 0 24px 18px;
    line-height: 1.65;
  }
  .services-grid > .service-card .service-list { margin: 0 24px 22px; }
  .services-grid > .service-card .service-list li {
    font-size: 14px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .services-grid > .service-card .btn {
    margin: 0 24px 24px;
    align-self: center;
    width: calc(100% - 48px);
    text-align: center;
  }
  .services-grid > .service-card .service-card-img {
    width: calc(100% - 24px);
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 12px 12px 0;
    border-radius: 11px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  }

  .service-block-large {
    gap: 0;
    max-width: 100%;
  }
  .service-image-large {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }
  .service-image-large img {
    min-height: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .service-block-large .service-card {
    max-width: 100%;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .service-card .btn {
    width: 70%;
    align-self: center;
    margin: 0 auto 20px;
    text-align: center;
  }
  .service-block-large .service-card .btn {
    width: calc(100% - 48px);
    margin: 0 24px 24px;
  }
}

/* ============================================
   INTRO LOGO ANIMATION
   ============================================ */

body.intro-lock {
  overflow: hidden;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(240,123,0,0.16), transparent 34%),
    linear-gradient(180deg, #050607 0%, #0b0e11 54%, #030405 100%);
  opacity: 1;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.site-intro.hide {
  opacity: 0;
  visibility: hidden;
}

.site-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.035) 50%, transparent 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 120px);
  transform: translateX(-100%);
  animation: introScan 2.4s ease-out forwards;
}

.site-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 140px rgba(0,0,0,0.92);
  pointer-events: none;
}

.site-intro__grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(240,123,0,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,123,0,0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 68%);
  animation: introGrid 3.8s ease-out forwards;
}

.site-intro__logo-mark {
  position: relative;
  z-index: 2;
  width: clamp(150px, 19vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 30px rgba(240,123,0,0.36));
  animation: introMarkIn 0.85s cubic-bezier(.2,.9,.2,1) forwards;
}

.site-intro__gear {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: clamp(14px, 2.1vw, 28px) solid #6f747a;
  background:
    radial-gradient(circle, transparent 0 47%, rgba(0,0,0,0.5) 48% 100%),
    conic-gradient(from 20deg, #f07b00, #c65d00 18%, #7d8288 28%, #d7d9db 42%, #555b62 58%, #f07b00 76%, #2a2f35 100%);
  box-shadow:
    inset 0 0 18px rgba(0,0,0,0.75),
    0 0 26px rgba(240,123,0,0.38);
  animation: introGearSpin 2.6s cubic-bezier(.2,.8,.2,1) forwards;
}

.site-intro__gear span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28%;
  height: 118%;
  background: linear-gradient(180deg, #f07b00, #444a51);
  border-radius: 4px;
  transform-origin: center;
}

.site-intro__gear span:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg); }
.site-intro__gear span:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg); }
.site-intro__gear span:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg); }
.site-intro__gear span:nth-child(4) { transform: translate(-50%, -50%) rotate(135deg); }

.site-intro__gear::before {
  content: '';
  position: absolute;
  inset: 24%;
  z-index: 2;
  border-radius: 50%;
  background: #060708;
  box-shadow: inset 0 0 18px rgba(240,123,0,0.24);
}

.site-intro__blade {
  position: relative;
  z-index: 3;
  width: 70%;
  height: 28%;
  background: linear-gradient(135deg, #f07b00 0 28%, #d8dadc 29% 46%, #616870 47% 100%);
  clip-path: polygon(0 12%, 76% 12%, 100% 50%, 76% 88%, 0 88%, 19% 50%);
  transform: skewX(-14deg) scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 24px rgba(240,123,0,0.42);
  animation: introBladeIn 0.55s ease-out 0.65s forwards;
}

.site-intro__brand {
  position: relative;
  z-index: 3;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(50px, 9vw, 138px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  text-shadow:
    0 0 16px rgba(240,123,0,0.85),
    0 0 48px rgba(240,123,0,0.44),
    0 8px 32px rgba(0,0,0,0.8);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  animation: introBrandIn 0.72s cubic-bezier(.2,.9,.2,1) 1.05s forwards;
}

.site-intro__tagline {
  position: relative;
  z-index: 3;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(13px, 1.4vw, 21px);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.68);
  opacity: 0;
  transform: translateY(12px);
  animation: introTaglineIn 0.55s ease-out 1.38s forwards;
}

.site-intro__sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.site-intro__sparks span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240,123,0,0.95), transparent);
  opacity: 0;
  transform-origin: left center;
  animation: introSpark 0.9s ease-out forwards;
}

.site-intro__sparks span:nth-child(1) { transform: rotate(14deg); animation-delay: 0.8s; }
.site-intro__sparks span:nth-child(2) { transform: rotate(162deg); animation-delay: 0.94s; }
.site-intro__sparks span:nth-child(3) { transform: rotate(224deg); animation-delay: 1.08s; }
.site-intro__sparks span:nth-child(4) { transform: rotate(315deg); animation-delay: 1.18s; }
.site-intro__sparks span:nth-child(5) { transform: rotate(46deg); animation-delay: 1.28s; }

@keyframes introScan {
  to { transform: translateX(100%); }
}

@keyframes introGrid {
  from { transform: scale(1.08); opacity: 0; }
  40% { opacity: 0.24; }
  to { transform: scale(1); opacity: 0.14; }
}

@keyframes introMarkIn {
  from { opacity: 0; transform: scale(0.72) rotate(-18deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes introGearSpin {
  from { transform: rotate(-80deg); }
  to { transform: rotate(0deg); }
}

@keyframes introBladeIn {
  to { transform: skewX(-14deg) scaleX(1); }
}

@keyframes introBrandIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introTaglineIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introSpark {
  0% { opacity: 0; translate: 0 0; scale: 0.4 1; }
  35% { opacity: 1; }
  100% { opacity: 0; translate: 260px 0; scale: 1 1; }
}

@media (max-width: 768px) {
  .site-intro {
    gap: 18px;
  }
  .site-intro__logo-mark {
    width: clamp(138px, 42vw, 210px);
  }
  .site-intro__brand {
    letter-spacing: 0.04em;
  }
  .site-intro__tagline {
    letter-spacing: 0.18em;
    text-align: center;
    padding: 0 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro {
    display: none;
  }
}

/* ============================================
   MOBILE BUTTON NORMALIZATION
   ============================================ */

@media (max-width: 768px) {
  .hero-buttons,
  .specs-grid div[style*="display:flex"],
  .service-content div[style*="display:flex"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .hero-buttons .btn,
  .specs-grid .btn,
  .service-content .btn {
    width: min(274px, 100%) !important;
    min-height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 22px;
    line-height: 1.25;
  }

  .card-price .btn,
  .service-card .btn {
    width: min(274px, 100%) !important;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .form-submit .btn {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* LANGUAGE SWITCH */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  border-radius: 4px;
  color: rgba(255,255,255,0.78);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.lang-link:hover,
.lang-link.active {
  color: var(--white);
  background: var(--orange);
}

@media (max-width: 1024px) {
  .language-switch { margin-left: auto; }
}
