:root {
  --color-bg-primary: #1E1B4B;
  --color-bg-secondary: #4C1D95;
  --color-accent: #EAB308;
  --color-text-primary: #F8F9FA;
  --color-text-secondary: #CBD5E1;
  --color-button: #4C1D95;
  --color-button-hover: #5B21B6;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 50%;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(234, 179, 8, 0.3);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  margin-bottom: var(--space-sm);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: #FCD34D;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 27, 75, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  transform: translateY(0);
  transition: transform var(--transition-smooth);
}

.header.hidden {
  transform: translateY(-100%);
}

.header.scrolled {
  background: rgba(30, 27, 75, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: var(--space-xs) 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #FCD34D);
  z-index: 10000;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-accent), #FCD34D);
  color: var(--color-bg-primary);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #FCD34D, var(--color-accent));
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(234, 179, 8, 0.6);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  color: var(--color-text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--color-accent), #FCD34D);
  -webkit-background-clip: text;
  background-clip: text;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease 0.2s both;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-button);
  color: var(--color-text-primary);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn:hover {
  background: var(--color-button-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-bg-primary);
}

.btn-accent:hover {
  background: #FCD34D;
  box-shadow: var(--shadow-glow);
}

.card {
  background: rgba(76, 29, 149, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(234, 179, 8, 0.2);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.product-card {
  background: rgba(76, 29, 149, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-button));
}

.product-info {
  padding: var(--space-md);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: var(--space-sm);
}

.asymmetric-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.asymmetric-item {
  position: relative;
  padding: var(--space-xl);
  background: rgba(76, 29, 149, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.asymmetric-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 10%;
}

.asymmetric-item:nth-child(even) {
  margin-left: 10%;
  margin-right: 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(76, 29, 149, 0.3);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  background: rgba(30, 27, 75, 0.5);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-input {
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.footer {
  background: rgba(30, 27, 75, 0.8);
  padding: var(--space-lg) 0;
  text-align: center;
  border-top: 1px solid rgba(234, 179, 8, 0.2);
  margin-top: var(--space-2xl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.footer-link:hover {
  color: var(--color-accent);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--color-bg-primary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  margin: var(--space-md);
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.popup-title {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.popup-text {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  line-height: 1.8;
}

.popup-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.error-message {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: var(--space-lg);
}

.icon {
  font-size: 1.5rem;
  color: var(--color-accent);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.hero-background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(76, 29, 149, 0.1));
  backdrop-filter: blur(20px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: -50px;
  animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  animation: floatShape 18s ease-in-out infinite;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 15%;
  animation: floatShape 12s ease-in-out infinite reverse;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.3), transparent);
  top: 20%;
  left: 10%;
  animation: orbFloat 25s ease-in-out infinite;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(76, 29, 149, 0.3), transparent);
  bottom: 20%;
  right: 15%;
  animation: orbFloat 20s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -50px) scale(1.1);
  }
}

.hero-badge {
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.hero-cta {
  position: relative;
  overflow: hidden;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.textiles-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.fabric-pattern {
  position: absolute;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(234, 179, 8, 0.05) 10px,
    rgba(234, 179, 8, 0.05) 20px
  );
  opacity: 0.3;
}

.pattern-1 {
  width: 100%;
  height: 100%;
  animation: patternMove 30s linear infinite;
}

.pattern-2 {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 15px,
    rgba(76, 29, 149, 0.05) 15px,
    rgba(76, 29, 149, 0.05) 30px
  );
  animation: patternMove 25s linear infinite reverse;
}

.pattern-3 {
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.1), transparent);
  top: -50%;
  left: -50%;
  animation: patternRotate 40s linear infinite;
}

.textile-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.15), transparent);
  border-radius: 50%;
  animation: textilePulse 4s ease-in-out infinite;
}

@keyframes patternMove {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(50px, 50px);
  }
}

@keyframes patternRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes textilePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes letterSlide {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(90deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.lighting-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.light-ray {
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(234, 179, 8, 0.2), transparent);
  width: 2px;
  height: 100%;
  animation: rayMove 8s ease-in-out infinite;
}

.ray-1 {
  left: 20%;
  animation-delay: 0s;
}

.ray-2 {
  left: 50%;
  animation-delay: 2s;
  width: 3px;
}

.ray-3 {
  left: 80%;
  animation-delay: 4s;
}

.light-orb {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.4), rgba(234, 179, 8, 0.1), transparent);
  border-radius: 50%;
  animation: lightPulse 3s ease-in-out infinite;
  filter: blur(40px);
}

.light-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
  animation: particleFloat 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 40%;
  left: 30%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  top: 60%;
  left: 60%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  top: 30%;
  left: 75%;
  animation-delay: 3s;
}

.particle:nth-child(5) {
  top: 70%;
  left: 25%;
  animation-delay: 4s;
}

.particle:nth-child(6) {
  top: 50%;
  left: 85%;
  animation-delay: 5s;
}

@keyframes rayMove {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-20px);
  }
}

@keyframes lightPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.7;
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(30px, -30px);
    opacity: 1;
  }
}

@keyframes lightingReveal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lightFlicker {
  0%, 100% {
    text-shadow: 0 0 40px rgba(234, 179, 8, 0.8);
  }
  50% {
    text-shadow: 0 0 60px rgba(234, 179, 8, 1), 0 0 80px rgba(234, 179, 8, 0.6);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.6);
  }
}

.contact-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.contact-wave {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(234, 179, 8, 0.1), transparent);
  border-radius: 50%;
  animation: waveMove 15s ease-in-out infinite;
}

.wave-1 {
  top: -50%;
  left: -50%;
  animation-delay: 0s;
}

.wave-2 {
  top: -30%;
  left: -30%;
  animation-delay: 5s;
  background: radial-gradient(ellipse, rgba(76, 29, 149, 0.1), transparent);
}

.wave-3 {
  top: -10%;
  left: -10%;
  animation-delay: 10s;
  background: radial-gradient(ellipse, rgba(234, 179, 8, 0.08), transparent);
}

.contact-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(234, 179, 8, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

.contact-dots {
  position: absolute;
  width: 100%;
  height: 100%;
}

.dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: dotPulse 3s ease-in-out infinite;
}

.dot:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.dot:nth-child(2) {
  top: 30%;
  left: 25%;
  animation-delay: 0.5s;
}

.dot:nth-child(3) {
  top: 15%;
  left: 45%;
  animation-delay: 1s;
}

.dot:nth-child(4) {
  top: 40%;
  left: 60%;
  animation-delay: 1.5s;
}

.dot:nth-child(5) {
  top: 25%;
  left: 80%;
  animation-delay: 2s;
}

.dot:nth-child(6) {
  top: 60%;
  left: 15%;
  animation-delay: 2.5s;
}

.dot:nth-child(7) {
  top: 70%;
  left: 40%;
  animation-delay: 3s;
}

.dot:nth-child(8) {
  top: 55%;
  left: 70%;
  animation-delay: 3.5s;
}

.dot:nth-child(9) {
  top: 80%;
  left: 85%;
  animation-delay: 4s;
}

@keyframes waveMove {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(50px, 50px) scale(1.1);
    opacity: 0.5;
  }
}

@keyframes gridMove {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(50px, 50px);
  }
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.8;
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes contactTitleReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wordSlide {
  from {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(30, 27, 75, 0.98);
    flex-direction: column;
    padding: var(--space-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    z-index: 999;
  }

  .nav.active {
    transform: translateX(0);
  }

  .burger {
    display: flex;
  }

  .asymmetric-item:nth-child(odd),
  .asymmetric-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-content {
    padding: var(--space-md);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  section[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: var(--space-md) var(--space-sm);
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: clamp(0.875rem, 4vw, 1rem);
    padding: 0 var(--space-xs);
  }

  .floating-shape {
    display: none;
  }

  .gradient-orb {
    display: none;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-md);
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
  }

  .card {
    padding: var(--space-md);
  }

  .asymmetric-item {
    padding: var(--space-md);
  }

  .product-grid {
    gap: var(--space-md);
  }

  .contact-form {
    padding: var(--space-md);
  }

  .form-input,
  .form-textarea {
    font-size: 16px;
  }

  .popup-content {
    margin: var(--space-sm);
    padding: var(--space-md);
    max-height: 90vh;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .container {
    padding: 0 var(--space-xs);
    max-width: 100%;
    overflow-x: hidden;
  }

  .section {
    padding: var(--space-md) 0;
    overflow-x: hidden;
  }

  .hero {
    min-height: 70vh;
    padding-top: 60px;
    overflow-x: hidden;
  }

  .hero-content {
    padding: var(--space-sm);
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.5rem, 10vw, 2rem);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    word-break: break-word;
  }

  .hero-title span {
    display: inline-block;
  }

  .hero-subtitle {
    font-size: clamp(0.8rem, 4vw, 0.875rem);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    padding: 0;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 0.35rem var(--space-xs);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.1em;
  }

  .hero-badge p {
    font-size: 0.65rem;
    margin: 0;
  }

  .btn {
    padding: 0.7rem var(--space-sm);
    font-size: 0.8rem;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn i {
    font-size: 0.7rem;
  }

  .btn + .btn {
    margin-top: var(--space-xs);
    margin-left: 0;
  }

  h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }

  h2 {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }

  h3 {
    font-size: clamp(1.1rem, 6vw, 1.5rem);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
  }

  h4 {
    font-size: clamp(1rem, 5vw, 1.25rem);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
  }

  p {
    font-size: clamp(0.8rem, 3vw, 0.875rem);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
  }

  .card {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
  }

  .card .icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
  }

  .product-card {
    margin-bottom: var(--space-md);
    width: 100%;
    max-width: 100%;
  }

  .product-image {
    height: 180px;
    object-fit: cover;
  }

  .product-title {
    font-size: clamp(1rem, 5vw, 1.1rem);
    margin-bottom: var(--space-xs);
  }

  .product-price {
    font-size: clamp(1.1rem, 6vw, 1.25rem);
  }

  .product-info {
    padding: var(--space-sm);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .asymmetric-item {
    padding: var(--space-sm);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: var(--space-md);
  }

  .asymmetric-item img {
    width: 100%;
    height: auto;
    margin-top: var(--space-sm);
    max-width: 100%;
  }

  .asymmetric-layout {
    display: flex;
    flex-direction: column;
  }

  .contact-form {
    padding: var(--space-sm);
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .form-group {
    margin-bottom: var(--space-sm);
    width: 100%;
  }

  .form-label {
    font-size: 0.75rem;
    margin-bottom: var(--space-xs);
  }

  .form-input,
  .form-textarea {
    padding: var(--space-xs);
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    box-sizing: border-box;
  }

  .form-textarea {
    min-height: 100px;
    resize: vertical;
  }

  .checkbox-group {
    margin-top: var(--space-sm);
  }

  .checkbox-label {
    font-size: 0.75rem;
    line-height: 1.5;
    padding-left: var(--space-md);
  }

  .checkbox-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }

  .header-content {
    padding: 0 var(--space-xs);
    flex-wrap: wrap;
  }

  .logo {
    font-size: clamp(0.9rem, 4vw, 1rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .footer-content {
    padding: var(--space-sm) var(--space-xs);
    font-size: 0.7rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
  }

  .footer-link {
    font-size: 0.7rem;
    padding: var(--space-xs);
  }

  .footer-content p {
    font-size: 0.7rem;
    line-height: 1.5;
    margin-bottom: var(--space-xs);
  }

  .popup-content {
    margin: var(--space-xs);
    padding: var(--space-sm);
    max-width: calc(100% - 16px);
    max-height: 90vh;
    overflow-y: auto;
  }

  .popup-title {
    font-size: clamp(1.1rem, 5vw, 1.25rem);
    margin-bottom: var(--space-sm);
  }

  .popup-text {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .popup-text p {
    font-size: 0.8rem;
  }

  .popup-buttons {
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
  }

  .popup-buttons .btn {
    width: 100%;
    margin: 0;
  }

  .map-container {
    height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .error-code {
    font-size: clamp(2.5rem, 18vw, 5rem);
    margin-bottom: var(--space-sm);
  }

  .error-message {
    font-size: clamp(1rem, 5vw, 1.25rem);
    padding: 0 var(--space-xs);
  }

  .icon {
    font-size: 1.25rem;
  }

  .hero-scroll-indicator {
    bottom: var(--space-sm);
    font-size: 0.9rem;
  }

  .hero-scroll-indicator i {
    font-size: 1rem;
  }

  .textile-glow,
  .light-orb,
  .contact-wave,
  .gradient-orb {
    display: none;
  }

  .fabric-pattern,
  .light-ray,
  .contact-grid,
  .floating-shape {
    opacity: 0.15;
  }

  .light-particles .particle,
  .contact-dots .dot {
    display: none;
  }

  .hero-cta {
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .hero-cta + .hero-cta {
    margin-top: var(--space-xs);
    margin-left: 0;
  }

  section[style*="grid-template-columns"] {
    display: block !important;
  }

  section[style*="grid-template-columns"] > * {
    width: 100%;
    margin-bottom: var(--space-md);
  }

  section[style*="display: grid"] {
    display: block !important;
  }

  section[style*="display: flex"] {
    flex-direction: column !important;
  }

  section[style*="gap:"] > * {
    margin-bottom: var(--space-sm);
  }

  div[style*="grid-template-columns"] {
    display: block !important;
  }

  div[style*="grid-template-columns"] > * {
    width: 100% !important;
    margin-bottom: var(--space-md) !important;
  }

  div[style*="display: grid"] {
    display: block !important;
  }

  div[style*="display: flex"] {
    flex-direction: column !important;
    flex-wrap: wrap;
  }

  div[style*="gap:"] > * {
    margin-bottom: var(--space-xs);
  }

  div[style*="position: sticky"] {
    position: relative !important;
    top: auto !important;
  }

  div[style*="min-height:"] {
    min-height: auto !important;
  }

  div[style*="height: 500px"],
  div[style*="height: 400px"],
  div[style*="height: 350px"] {
    height: 250px !important;
  }

  div[style*="padding: var(--space-2xl)"] {
    padding: var(--space-md) var(--space-sm) !important;
  }

  div[style*="padding: var(--space-xl)"] {
    padding: var(--space-sm) !important;
  }

  div[style*="margin-top: var(--space-2xl)"] {
    margin-top: var(--space-md) !important;
  }

  div[style*="margin-bottom: var(--space-2xl)"] {
    margin-bottom: var(--space-md) !important;
  }

  div[style*="font-size: clamp(3rem"] {
    font-size: clamp(1.5rem, 8vw, 2rem) !important;
  }

  div[style*="font-size: clamp(2.5rem"] {
    font-size: clamp(1.25rem, 7vw, 1.75rem) !important;
  }

  .contact-info-card {
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
  }

  .contact-info-card h4 {
    font-size: clamp(1rem, 5vw, 1.1rem);
  }

  .contact-info-card p {
    font-size: clamp(0.8rem, 3vw, 0.875rem);
  }

  .section-header {
    text-align: center;
    margin-bottom: var(--space-md);
  }

  .section-header h2 {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }

  .product-card[style*="height: 350px"],
  .product-card[style*="height: 400px"] {
    height: auto !important;
  }

  .product-card[style*="height: 350px"] .product-image,
  .product-card[style*="height: 400px"] .product-image {
    height: 180px !important;
  }

  iframe {
    max-width: 100%;
    height: auto;
    min-height: 220px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .burger {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .burger span {
    height: 2px;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: var(--space-md);
    right: var(--space-md);
    font-size: 1rem;
  }

  .scroll-progress {
    height: 2px;
  }
}

