:root {
  --color-primary: #41B06E;
  --color-secondary: #8DECB4;
  --color-accent: #141E46;
  --color-light: #FFF5E0;
  --color-white: #ffffff;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --shadow-sm: 0 2px 8px rgba(20, 30, 70, 0.08);
  --shadow-md: 0 4px 16px rgba(20, 30, 70, 0.12);
  --shadow-lg: 0 8px 32px rgba(20, 30, 70, 0.16);
  --transition: 0.3s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-light);
  color: var(--color-accent);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(1.75rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.5rem); }
p { font-size: clamp(0.875rem, 2vw, 1.05rem); }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

button {
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 245, 224, 0.95) 0%, rgba(255, 245, 224, 0) 100%);
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--color-accent);
  z-index: 94;
}

.nav {
  position: relative;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-accent);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  padding: 0;
  z-index: 101;
  position: relative;
}

.burger span {
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transition: all 0.3s ease;
  border-radius: 3px;
  display: block;
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1rem 3rem;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.hero-text {
  animation: fadeInUp 1s ease;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-accent);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.hero-image {
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
  margin: 15px 0;
}

.btn-primary:hover {
  background: #359959;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.section {
  padding: 4rem 1rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.section-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--color-accent);
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid,
.products-grid,
.testimonials-grid,
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card,
.testimonial-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover,
.product-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-title,
.product-title {
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.service-description,
.product-description {
  color: var(--color-accent);
  opacity: 0.8;
  font-size: 0.95rem;
}

.asymmetric-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.asymmetric-content {
  padding: 1rem;
}

.asymmetric-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.feature-text p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-info {
  padding: 1.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1rem 0;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--color-secondary);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  margin: 1rem 0 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.125rem;
}

.author-info p {
  font-size: 0.85rem;
  opacity: 0.7;
}

.contact-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.map-container {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid rgba(20, 30, 70, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.85rem;
  cursor: pointer;
}

.footer {
  background: var(--color-accent);
  color: var(--color-light);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--color-light);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-link:hover {
  opacity: 1;
  color: var(--color-secondary);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 30, 70, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1rem;
}

.popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  font-size: 1.5rem;
  color: var(--color-accent);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--color-light);
}

.popup h3 {
  margin-bottom: 1rem;
}

.popup p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.thank-you-section,
.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.thank-you-content,
.error-content {
  max-width: 600px;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  animation: scaleIn 0.6s ease;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 1rem 4rem;
}

.policy-content h1 {
  margin-bottom: 2rem;
}

.policy-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.policy-content p {
  margin-bottom: 1rem;
}

.policy-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 640px) {
  .services-grid,
  .products-grid,
  .testimonials-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .asymmetric-section {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }
  
  .nav-list {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    flex-direction: row !important;
    padding: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  
  .burger {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .services-grid,
  .products-grid,
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .burger {
    display: flex !important;
  }
  
  .nav-list {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
    overflow-y: auto;
  }
  
  .nav-list.active {
    display: flex;
    transform: translateX(0);
  }
  
  .nav-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(20, 30, 70, 0.1);
  }
  
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .hero {
    padding: 5rem 1rem 3rem;
  }
  
  .product-image {
    height: 200px;
  }
}

@media (max-width: 360px) {
  .section {
    padding: 2.5rem 0.75rem;
  }
  
  .hero {
    padding: 4.5rem 0.75rem 2.5rem;
  }
  
  .service-card,
  .testimonial-card {
    padding: 1.25rem;
  }
  
  .contact-section {
    padding: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
