:root {
  --accent: #ffb502;
  --teal: #78a29a;
  --dark: #2b2b2b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.no-scroll {
  overflow: hidden;
}

.section-pad {
  padding: 44px 0;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #222;
}

.hero-frame {
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 24px;
}

.popup.hidden {
  display: none;
}

.popup-content {
  position: relative;
  width: min(520px, 95vw);
  border-radius: 28px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.popup-wide {
  width: min(860px, 95vw);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  color: #777;
}

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  height: 44px;
  width: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 26px;
  line-height: 44px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(255, 181, 2, 0.3);
  transition: transform 0.2s ease;
}

.review-arrow.left {
  left: -5px;
}

.review-arrow.right {
  right: -5px;
}

.review-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.menu-link {
  color: #2b2b2b;
}

.menu-link:hover {
  color: var(--accent);
}

.logo-fly {
  animation: logo-fly 0.9s ease-out both;
  transform-origin: center;
  will-change: transform, opacity;
}

@keyframes logo-fly {
  0% {
    transform: translateY(-14px) scale(0.6) rotate(-35deg);
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 181, 2, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(255, 181, 2, 0.38);
}

.btn-secondary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 24px rgba(120, 162, 154, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(120, 162, 154, 0.38);
}

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

.btn-wide {
  min-width: 220px;
}

.faq-item {
  border-bottom: 2px solid #ffb502;
  padding-bottom: 16px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #2b2b2b;
  text-align: left;
  padding: 8px 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: #666;
  font-size: 15px;
  padding-right: 48px;
}

.faq-item.active .faq-answer {
  max-height: 420px;
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--teal);
  border-radius: 2px;
}

.faq-icon::before {
  width: 20px;
  height: 3px;
  top: 10px;
  left: 2px;
}

.faq-icon::after {
  width: 3px;
  height: 20px;
  top: 2px;
  left: 10px;
  transition: opacity 0.2s ease;
}

.faq-item.active .faq-icon::after {
  opacity: 0;
}

.form-message {
  min-height: 16px;
}

[data-review-dots] button {
  background: transparent;
}

[data-review-dots] button.active {
  background: var(--accent);
}

@media (max-width: 768px) {
  .section-pad {
    padding: 36px 0;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-fly {
    animation: none;
  }
}
