:root {
  --primary: #E85D4C;
  --secondary: #F9A826;
  --accent: #7B2D8E;
  --bg: #FFF9F5;
  --bg-alt: #FFF0E6;
  --text: #2D1810;
  --text-muted: #6B5750;
  --border: #E8D5CC;
  --success: #5CB85C;
  --gradient-start: #E85D4C;
  --gradient-end: #F9A826;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka One', cursive;
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(232, 93, 76, 0.4);
  color: white;
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(232, 93, 76, 0.3), 0 10px 30px rgba(232, 93, 76, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary);
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  border: 3px solid var(--primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(232, 93, 76, 0.3);
}

input, textarea, select {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 93, 76, 0.15);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(45, 24, 16, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(45, 24, 16, 0.15);
}

.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(45, 24, 16, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: white;
  border: none;
  text-align: left;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question:focus {
  outline: none;
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 2px var(--primary);
}

.faq-question .icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-question.active .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50px;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item .step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(232, 93, 76, 0.3);
}

.pricing-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(45, 24, 16, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(45, 24, 16, 0.15);
}

.pricing-card.featured {
  border: 3px solid var(--primary);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 5px 40px;
  font-size: 0.85rem;
  font-family: 'Fredoka One', cursive;
  transform: rotate(45deg);
}

.pricing-price {
  font-family: 'Fredoka One', cursive;
  font-size: 3rem;
  color: var(--primary);
  margin: 1.5rem 0;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(45, 24, 16, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Fredoka One', cursive;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: 'Fredoka One', cursive;
  color: var(--primary);
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 24, 16, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--secondary);
  box-shadow: 0 8px 25px rgba(249, 168, 38, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(249, 168, 38, 0.4);
}

.team-name {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content.active {
  max-height: 500px;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(232, 93, 76, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9990;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
}

.scroll-top-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(232, 93, 76, 0.4), 0 4px 20px rgba(232, 93, 76, 0.4);
}

.header-shadow {
  box-shadow: 0 4px 20px rgba(45, 24, 16, 0.1);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9998;
  box-shadow: -4px 0 20px rgba(45, 24, 16, 0.15);
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--primary);
  padding-left: 10px;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text);
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.mobile-menu-close:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(232, 93, 76, 0.3);
}

.burger-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.burger-btn:hover {
  color: var(--primary);
}

.burger-btn:focus {
  outline: none;
  color: var(--primary);
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.animate-fade-in.visible {
  opacity: 1;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-pulse-soft {
  animation: pulse 2s ease-in-out infinite;
}

.counter {
  font-family: 'Fredoka One', cursive;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flavor-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(45, 24, 16, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flavor-card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(45, 24, 16, 0.12);
}

.flavor-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center center;
  flex-shrink: 0;
}

.flavor-card-content {
  padding: 1.25rem;
  flex-grow: 1;
}

.flavor-card-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.flavor-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.advantage-big {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 24px;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.advantage-big::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.advantage-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.advantage-list-item:last-child {
  border-bottom: none;
}

.advantage-list-item .icon-wrapper {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: white;
  padding: 1.25rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-popup.visible {
  transform: translateY(0);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 24, 16, 0.7);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.checkbox-wrapper label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-wrapper label a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-item .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .flavor-card {
    flex-direction: column;
    align-items: stretch;
  }

  .flavor-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .flavor-card-content {
    text-align: center;
    padding: 1rem 1.25rem 1.5rem;
  }

  .team-card img {
    width: 140px;
    height: 140px;
  }

  .scroll-top-btn {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
  }

  .counter {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .advantage-big {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
