:root {
  --color-primary: #FF6B9D;
  --color-secondary: #FFD93D;
  --color-tertiary: #6CB4E8;
  --color-accent: #957BD5;
  --color-dark: #2C3E50;
  --color-text: #34495E;
  --color-light: #F8F9FA;
  --color-white: #FFFFFF;
  --color-border: #E9ECEF;

  --font-primary: 'Quicksand', sans-serif;
  --font-secondary: 'Poppins', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 50%;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-light);
  line-height: 1.6;
  font-size: 0.95rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header-main {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
  padding-bottom: var(--space-md);
  z-index: 9999;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-md);
}

.logo-text {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  word-break: break-word;
  line-height: 1.2;
}

.nav-main {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-link.active {
  background: var(--color-white);
  color: var(--color-primary);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
  padding: var(--space-xs);
  background: transparent;
  border: none;
}

.burger-line {
  width: 1.5rem;
  height: 0.2rem;
  background: var(--color-white);
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.4rem, 0.4rem);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -0.4rem);
}

.hero-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(120deg, var(--color-tertiary) 0%, var(--color-secondary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  top: -100px;
  right: -100px;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  bottom: -50px;
  left: -50px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.hero-text {
  color: var(--color-white);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  opacity: 0.95;
}

.btn-primary {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-secondary {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.section-default {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  display: block;
  margin: var(--space-sm) auto 0;
  border-radius: var(--radius-sm);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  text-align: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-content {
  padding: var(--space-md);
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.product-price {
  font-size: 1.8rem;
  color: var(--color-primary);
  font-weight: 700;
  margin: var(--space-sm) 0;
}

.product-description {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.contact-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-tertiary) 100%);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  top: -50px;
  left: -80px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.contact-info {
  color: var(--color-white);
}

.contact-info h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.info-icon {
  font-size: 1.3rem;
  color: var(--color-secondary);
}

.contact-form {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-dark);
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.form-checkbox {
  margin-top: 0.2rem;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--color-text);
  cursor: pointer;
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-iframe {
  width: 100%;
  height: 350px;
  border: none;
}

.footer-main {
  background: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--color-light);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-secondary);
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  animation: slideUp var(--transition-base);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.privacy-popup.show {
  display: block;
}

.popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.popup-text {
  flex: 1;
  font-size: 0.9rem;
}

.popup-actions {
  display: flex;
  gap: var(--space-sm);
}

.btn-accept {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.btn-accept:hover {
  background: var(--color-accent);
}

.btn-decline {
  padding: var(--space-xs) var(--space-md);
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.btn-decline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.thankyou-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-icon {
  font-size: 5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.error-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.error-content {
  max-width: 600px;
}

.error-number {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.policy-section {
  margin-bottom: var(--space-lg);
}

.policy-section h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.policy-section p,
.policy-section ul {
  margin-bottom: var(--space-sm);
}

.policy-section ul {
  padding-left: var(--space-md);
}

.policy-section li {
  margin-bottom: var(--space-xs);
}

@media (max-width: 878px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    gap: var(--space-xs);
  }

  .nav-main.active {
    display: flex;
  }

  .burger-menu {
    display: flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .popup-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .error-number {
    font-size: 5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 90%;
  }

  .header-content {
    padding: 0 var(--space-sm);
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .logo-text {
    font-size: 1.3rem;

  }

  .hero-section {
    padding: var(--space-lg) 0;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .product-image {
    height: 200px;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .map-iframe {
    height: 300px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 85%;
  }

  .logo-text {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
    word-wrap: break-word;
  }

  .hero-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  h1 {
    font-size: 1.6rem;
    word-wrap: break-word;
  }

  h2 {
    font-size: 1.3rem;
    word-wrap: break-word;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .btn-primary,
  .btn-secondary {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .info-item {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }

  .form-label {
    font-size: 0.85rem;
  }

  .form-input,
  .form-textarea {
    font-size: 0.85rem;
    padding: 0.6rem;
  }

  .checkbox-label {
    font-size: 0.8rem;
  }

  .popup-text {
    font-size: 0.8rem;
  }

  .footer-main {
    font-size: 0.75rem;
  }

  .footer-link {
    font-size: 0.75rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .map-iframe {
    height: 250px;
  }

  .product-image {
    height: 180px;
  }

  .card-image {
    height: 160px;
  }
}