:root {
  --primary: #1E3A8A;
  --secondary: #3B82F6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --background: #F8FAFC;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-soft: #64748B;
  --border: #E2E8F0;
  --success: #22C55E;
  --popular: #6366F1;
  --warning: #F59E0B;
  --footer: #0F172A;
  --footer-text: #CBD5F5;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
}

body[data-theme="violet"] {
  --primary: #5B21B6;
  --secondary: #8B5CF6;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --shadow-strong: 0 18px 40px rgba(91, 33, 182, 0.12);
}

body[data-theme="blue"] {
  --primary: #1E3A8A;
  --secondary: #3B82F6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --shadow-strong: 0 18px 40px rgba(15, 23, 42, 0.12);
}

body[data-theme="teal"] {
  --primary: #0F766E;
  --secondary: #14B8A6;
  --accent-soft: rgba(20, 184, 166, 0.14);
  --shadow-strong: 0 18px 40px rgba(15, 118, 110, 0.12);
}

body[data-theme="rose"] {
  --primary: #BE185D;
  --secondary: #F43F5E;
  --accent-soft: rgba(244, 63, 94, 0.14);
  --shadow-strong: 0 18px 40px rgba(190, 24, 93, 0.12);
}

body[data-theme="amber"] {
  --primary: #B45309;
  --secondary: #F59E0B;
  --accent-soft: rgba(245, 158, 11, 0.16);
  --shadow-strong: 0 18px 40px rgba(180, 83, 9, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  letter-spacing: 0.3px;
  background-image:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.06), transparent 22%);
}

body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(20, 184, 166, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.92));
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--primary);
}

.loader-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 4px solid rgba(20, 184, 166, 0.16);
  border-top-color: var(--primary);
  animation: loaderSpin 0.9s linear infinite;
}

.page-loader p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 110px;
}

.section-tight {
  padding: 24px 0 0;
}

.page-intro {
  padding-top: 34px;
}

.page-intro-card {
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.92));
  box-shadow: var(--shadow-strong);
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.page-intro-card h1 {
  font-size: clamp(34px, 4vw, 46px);
  margin-top: 14px;
}

.page-intro-card p {
  max-width: 760px;
  margin-bottom: 0;
}

.page-intro-actions {
  display: flex;
  justify-content: flex-end;
}

.section-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.center-actions {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.about-copy h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 14px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 48px;
  line-height: 1.1;
  margin: 18px 0 16px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.8px;
  text-wrap: balance;
}

h3 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-family: "Space Grotesk", sans-serif;
  text-wrap: balance;
}

p {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  cursor: pointer;
  font-weight: 600;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.16);
}

.btn-primary:hover {
  background: #17306f;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: rgba(30, 58, 138, 0.25);
  box-shadow: var(--shadow);
}

.btn-catalog {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.18);
}

.btn-catalog:hover {
  background: linear-gradient(135deg, #0e665f, #0f766e);
  box-shadow: 0 18px 34px rgba(20, 184, 166, 0.24);
}

.btn-catalog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-120%);
}

.btn-catalog:hover::before {
  animation: catalogShine 0.95s ease;
}

.btn-catalog i:last-child {
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 252, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  color: var(--text);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.brand-text {
  font-size: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: 2px;
}

.nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
}

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

.nav-search-toggle {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.nav-search-toggle:hover,
.nav-search-toggle:focus-visible {
  transform: scale(1.05);
  color: var(--primary);
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: var(--shadow);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--primary);
}

.nav-dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.22s ease;
}

.nav-dropdown.open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 220px;
  padding: 0 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-strong);
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  pointer-events: none;
  z-index: 10;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  padding: 10px;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.nav-dropdown-menu a:hover {
  background: rgba(20, 184, 166, 0.08);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-search-panel {
  position: relative;
  z-index: 20;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.nav-search-panel.open {
  max-height: 72vh;
  opacity: 1;
  transform: translateY(0);
}

.nav-search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 18px;
}

.nav-search-shell i {
  color: var(--primary);
}

.nav-search-input {
  flex: 1;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 0 16px;
  color: var(--text);
  outline: none;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.nav-search-input:focus {
  border-color: rgba(20, 184, 166, 0.42);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.nav-search-clear {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text-soft);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.nav-search-clear:hover,
.nav-search-clear:focus-visible {
  transform: scale(1.05);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.nav-search-results {
  max-height: calc(72vh - 92px);
  overflow-y: auto;
  padding-bottom: 18px;
}

.nav-search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.nav-search-group {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.nav-search-group-title {
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-search-list {
  display: grid;
  gap: 10px;
}

.nav-search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-search-result:hover,
.nav-search-result:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(20, 184, 166, 0.28);
  background: rgba(20, 184, 166, 0.04);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.nav-search-result-icon,
.nav-search-result-thumb {
  flex: none;
}

.nav-search-result-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary);
}

.nav-search-result-thumb {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(226, 232, 240, 0.65);
  border: 1px solid var(--border);
}

.nav-search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-search-result-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.nav-search-result-copy strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.nav-search-result-copy span {
  color: var(--text-soft);
  font-size: 12px;
}

.nav-search-result-category .nav-search-result-copy {
  gap: 0;
}

.nav-search-empty {
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-soft);
  font-size: 14px;
}

.nav-search-empty strong {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 30%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.03), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-text {
  font-size: 17px;
  line-height: 1.75;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card,
.floating-card,
.trust-item,
.about-panel,
.feature-card,
.video-banner,
.machine-card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius);
}

.stat-card strong {
  display: block;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  padding-left: 8px;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  min-height: 580px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.02));
  box-shadow: var(--shadow-strong);
  animation: floatCard 6.5s ease-in-out infinite;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  animation: floatCard 5.5s ease-in-out infinite;
}

.floating-card i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.floating-card strong {
  display: block;
  margin-bottom: 3px;
}

.floating-card span {
  color: var(--text-soft);
  font-size: 14px;
}

.floating-left {
  left: -12px;
  bottom: 78px;
}

.floating-right {
  right: -8px;
  top: 72px;
  animation-delay: 0.8s;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--radius);
  justify-content: center;
  color: var(--text);
  font-weight: 600;
}

.trust-item i {
  color: var(--secondary);
  font-size: 18px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.machine-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.machine-card {
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  display: grid;
  gap: 10px;
  height: 100%;
  animation: riseIn 0.8s ease both;
}

.machine-card:nth-child(2) {
  animation-delay: 0.08s;
}

.machine-card:nth-child(3) {
  animation-delay: 0.16s;
}

.machine-card:nth-child(4) {
  animation-delay: 0.24s;
}

.machine-card:hover,
.feature-card:hover,
.video-banner:hover,
.about-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.machine-card.is-hidden {
  display: none;
}

.machine-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 6px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  border-radius: 22px;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.feature-content {
  padding: 24px;
}

.video-banner {
  margin-top: 24px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
}

.video-content {
  padding: 32px;
}

.video-visual {
  min-height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(59, 130, 246, 0.24), transparent 50%),
    linear-gradient(135deg, rgba(30, 58, 138, 0.98), rgba(59, 130, 246, 0.92));
}

.play-card {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.about-section {
  padding-top: 20px;
}

.about-teaser .about-copy {
  align-content: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.about-media {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-strong);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-copy {
  padding: 12px 4px 0 4px;
  display: grid;
  gap: 16px;
}

.about-copy p {
  margin: 0;
}

.reviews-section {
  padding-top: 24px;
}

.reviews-teaser .reviews-grid {
  margin-top: 4px;
}

.category-section {
  padding-top: 24px;
}

.category-hero {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  box-shadow: var(--shadow-strong);
  margin-bottom: 30px;
}

.category-hero h2 {
  font-size: 40px;
  line-height: 1.1;
  margin: 14px 0 14px;
  font-family: "Space Grotesk", sans-serif;
}

.category-hero p {
  margin-bottom: 0;
  max-width: 640px;
}

.category-hero-media {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.category-hero-media img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-hero-media img {
  min-height: 280px;
}

.category-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.product-image {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(59, 130, 246, 0.05));
}

.product-slider {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(59, 130, 246, 0.05));
}

.product-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.product-slide {
  flex: 0 0 100%;
  height: 100%;
}

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

.product-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  z-index: 2;
}

.product-slider-nav:hover {
  background: rgba(15, 23, 42, 0.86);
}

.product-slider-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-slider-nav.prev {
  left: 12px;
}

.product-slider-nav.next {
  right: 12px;
}

.product-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.product-slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
  padding: 0;
}

.product-slider-dot.is-active {
  width: 22px;
  background: #fff;
}

.product-content {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.product-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.product-content p {
  margin-bottom: 0;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 30px;
  align-items: start;
}

.product-detail-panel,
.product-detail-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.product-detail-panel {
  overflow: hidden;
}

.product-detail-sidebar {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.product-gallery-wrap {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  min-height: 560px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
}

.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-gallery-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
  opacity: 1;
  border-color: rgba(20, 184, 166, 0.55);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-main {
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-strong);
  display: grid;
  place-items: center;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.product-detail-sidebar h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.product-detail-subtitle {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

.product-detail-text {
  margin: 0;
  color: var(--text-soft);
}

.product-spec-card {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.product-spec-heading {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.product-spec-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.product-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-detail-meta > div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
}

.product-detail-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.product-detail-meta strong {
  font-size: 15px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.machine-empty {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-soft);
  text-align: center;
}

.review-card {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  height: 100%;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  animation: riseIn 0.8s ease both;
}

.review-card:nth-child(2) {
  animation-delay: 0.1s;
}

.review-card:nth-child(3) {
  animation-delay: 0.2s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 991px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery-wrap {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .product-detail-sidebar {
    padding: 22px;
  }

  .product-gallery-wrap {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .product-gallery-thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .product-gallery-thumb {
    flex: 0 0 68px;
  }

  .product-gallery-main {
    min-height: 360px;
  }

  .product-detail-meta {
    grid-template-columns: 1fr;
  }
}

.review-top strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 4px;
}

.review-top span {
  color: var(--text-soft);
  font-size: 14px;
}

.review-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.18);
  animation: floatAvatar 5s ease-in-out infinite;
}

.review-stars {
  display: flex;
  gap: 6px;
  color: #f59e0b;
}

.review-card p {
  margin: 0;
  color: var(--text-soft);
}

.contact-section {
  padding-top: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.map-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-info-card i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.contact-info-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-info-card a,
.contact-info-card span {
  color: var(--text-soft);
}

.contact-form {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-strong);
  align-self: start;
  animation: riseIn 0.85s ease both;
}

.form-header {
  margin-bottom: 22px;
}

.form-header h3 {
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.captcha-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  background: #fff;
}

.field-full {
  grid-column: 1 / -1;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.captcha-box strong {
  font-size: 18px;
  color: var(--text);
}

.captcha-refresh {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(30, 58, 138, 0.18);
}

.captcha-field {
  align-self: end;
}

.submit-btn {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: #ef4444;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 80px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-col p {
  color: rgba(203, 213, 245, 0.78);
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 18px;
}

.footer-col a {
  display: block;
  color: rgba(203, 213, 245, 0.88);
  margin-bottom: 12px;
}

.footer-col span {
  display: block;
  color: rgba(203, 213, 245, 0.88);
  line-height: 1.7;
}

.footer-col a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(203, 213, 245, 0.6);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.12);
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatAvatar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

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

@keyframes catalogShine {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(180%);
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

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

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

@media (max-width: 1100px) {
  .nav-shell {
    position: relative;
  }

  .nav-search-toggle {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: 10px;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.98);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 8px 0;
  }

  .nav-dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    margin-top: 0;
    box-shadow: none;
    background: rgba(248, 250, 252, 0.92);
    padding: 0;
    overflow: hidden;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
    margin-top: 8px;
    padding: 10px;
  }

  .nav-search-shell {
    padding: 0 0 14px;
  }

  .nav-search-panel.open {
    max-height: 84vh;
  }

  .nav-search-results {
    max-height: calc(84vh - 88px);
  }

  .nav-search-results-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .about-grid,
  .reviews-grid,
  .category-hero,
  .category-products-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: auto;
  }

  .hero-image-frame {
    min-height: 460px;
  }

  .floating-left {
    left: 10px;
    bottom: 18px;
  }

  .floating-right {
    right: 10px;
    top: 18px;
  }

  .contact-info-grid,
  .form-grid,
  .captcha-row,
  .two-col {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }
}

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

  .page-intro {
    padding-top: 24px;
  }

  .page-intro-card {
    padding: 22px;
  }

  .section-heading {
    text-align: left;
    margin-bottom: 24px;
  }

  h1 {
    font-size: 36px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 28px;
  }

  .hero-stats,
  .trust-grid,
  .machine-grid,
  .reviews-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-image-frame {
    min-height: 380px;
  }

  .video-content {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .hero-visual {
    display: grid;
    gap: 14px;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .page-intro-grid,
  .page-intro-actions {
    grid-template-columns: 1fr;
    justify-content: flex-start;
  }

  .category-hero h2 {
    font-size: 32px;
  }

  .section-actions,
  .center-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: 30px;
  }

  .btn {
    min-height: 46px;
  }

  .machine-card,
  .about-panel,
  .contact-form {
    padding: 18px;
  }

  .map-card iframe {
    min-height: 300px;
  }
}
