:root {
  --color-primary: #434E78;
  --color-secondary: #607B8F;
  --color-accent: #F7E396;
  --color-highlight: #E97F4A;
  --color-text: #2c3e50;
  --color-text-light: #5a6c7d;
  --color-bg: #ffffff;
  --color-bg-light: #f8f9fa;

  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Playfair Display', serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
  --transition-fast: 0.15s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 0.875rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-highlight);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  background-color: var(--color-bg);
  padding: var(--space-md) 0;
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.875rem;
  color: var(--color-text);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-highlight);
  transition: width var(--transition);
}

.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-color: var(--color-primary);
  transition: opacity var(--transition);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  min-height: 60vh;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.hero-content p {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

.hero-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 1s ease;
  transition: transform var(--transition-slow);
}

.hero-image:hover {
  transform: scale(1.02);
}

.hero-content {
  animation: slideInLeft 0.8s ease;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-primary);
  color: var(--color-bg);
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--color-secondary);
}

.btn-accent {
  background-color: var(--color-highlight);
}

.btn-accent:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 127, 74, 0.4);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.section {
  padding: var(--space-3xl) 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.section.visible {
  opacity: 1;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-size: 2rem;
}

.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split-screen.reverse {
  grid-template-columns: 1fr 1fr;
}

.split-screen.reverse .split-content {
  order: 2;
}

.split-screen.reverse .split-image {
  order: 1;
}

.split-content h2 {
  margin-bottom: var(--space-lg);
}

.split-image {
  animation: fadeIn 1s ease;
}

.split-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-slow), box-shadow var(--transition);
}

.split-image img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.split-content {
  animation: fadeInUp 0.8s ease;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.product-card {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card {
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-md);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-highlight);
  margin-top: var(--space-md);
}

.contact-section {
  background-color: var(--color-bg-light);
  padding: var(--space-3xl) 0;
  border-radius: var(--border-radius-lg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: var(--space-sm);
  border: 1px solid #ddd;
  border-radius: var(--border-radius-md);
  font-size: 0.875rem;
  font-family: var(--font-primary);
  transition: border-color var(--transition);
}

.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;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 2px;
}

.checkbox-group label {
  font-size: 0.8125rem;
  font-weight: normal;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item i {
  color: var(--color-highlight);
  font-size: 1.25rem;
  margin-top: 2px;
}

.map-container {
  margin-top: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.footer {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-menu {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-menu a {
  color: var(--color-bg);
  font-size: 0.8125rem;
  opacity: 0.9;
}

.footer-menu a:hover {
  opacity: 1;
}

.cta-section {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-accent);
  border-radius: var(--border-radius-lg);
  margin: var(--space-2xl) 0;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  transition: opacity var(--transition);
}

.popup-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.popup-content {
  background-color: var(--color-bg);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.popup-content h2 {
  margin-bottom: var(--space-md);
}

.popup-content p {
  font-size: 0.8125rem;
  margin-bottom: var(--space-sm);
}

.popup-close {
  margin-top: var(--space-lg);
  width: 100%;
}

.error-page {
  text-align: center;
  padding: var(--space-3xl) 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-page h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  color: var(--color-highlight);
}

.thank-you-page {
  text-align: center;
  padding: var(--space-3xl) 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-page h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.thank-you-page p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: var(--space-xl) 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .split-screen {
    grid-template-columns: 1fr;
  }

  .split-screen.reverse .split-content,
  .split-screen.reverse .split-image {
    order: 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-menu {
    justify-content: center;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .error-page h1 {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-card {
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(67, 78, 120, 0.1);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-highlight);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-highlight);
  margin-bottom: var(--space-md);
  display: inline-block;
  transition: transform var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-bg);
  padding: var(--space-3xl) 0;
  margin: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.stat-item:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
  animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
  animation-delay: 0.4s;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.testimonials-section {
  background-color: var(--color-bg-light);
  padding: var(--space-3xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.testimonial-card {
  background-color: var(--color-bg);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-highlight);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.875rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) {
  animation-delay: 0.1s;
}

.process-step:nth-child(2) {
  animation-delay: 0.2s;
}

.process-step:nth-child(3) {
  animation-delay: 0.3s;
}

.process-step:nth-child(4) {
  animation-delay: 0.4s;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-highlight), var(--color-primary));
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--space-md);
  transition: transform var(--transition);
}

.process-step:hover .step-number {
  transform: scale(1.1) rotate(360deg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  aspect-ratio: 4/3;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.interactive-card {
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  cursor: pointer;
}

.interactive-card:hover {
  border-color: var(--color-highlight);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.highlight-box {
  background: linear-gradient(135deg, var(--color-accent), rgba(247, 227, 150, 0.3));
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--color-highlight);
  margin: var(--space-xl) 0;
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-highlight), var(--color-primary));
  z-index: 10001;
  transition: width 0.1s ease;
}

.nz-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: var(--space-md);
}

.accordion-header {
  padding: var(--space-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition);
}

.accordion-header:hover {
  background-color: var(--color-bg-light);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--space-md);
}

.accordion-content.active {
  max-height: 500px;
  padding: var(--space-md);
}

.accordion-icon {
  transition: transform var(--transition);
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}