:root {
  --color-primary: #2F6B3F;
  --color-secondary: #7FB77E;
  --color-accent: #F7C85C;
  --color-soft: #FFF6C0;
  --color-text: #1f2a1f;
  --color-white: #ffffff;
  --font-main: "Segoe UI", Tahoma, Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-h1: clamp(2rem, 4vw, 3.2rem);
  --font-size-h2: clamp(1.5rem, 2.8vw, 2.2rem);
  --shadow-card: 0 8px 24px rgba(47, 107, 63, 0.15);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --shadow-soft: 0 6px 18px rgba(17, 46, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-soft), #f6ffe9);
  line-height: 1.55;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 200, 92, 0.45);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(247, 200, 92, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(247, 200, 92, 0);
  }
}

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

a:hover,
a:focus-visible {
  color: #204b2c;
  opacity: 0.9;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 246, 192, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(47, 107, 63, 0.15);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3) 0;
  gap: var(--space-2);
}

.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-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 600;
}

.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(47, 107, 63, 0.7), rgba(47, 107, 63, 0.7)), url("../images/product.jpg") center/cover no-repeat;
  display: grid;
  align-items: center;
}

.hero-overlay {
  padding: var(--space-7) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(47, 107, 63, 0.22);
}

.hero-content,
.hero-media,
.hero-form,
.section .card {
  animation: fadeUp 0.6s ease both;
}

.badge {
  display: inline-block;
  background: var(--color-accent);
  border-radius: var(--radius-s);
  padding: var(--space-1) var(--space-2);
  font-weight: 600;
}

.hero-points {
  margin: var(--space-3) 0 0;
  padding-left: 1.2rem;
}

.hero-points li {
  margin-bottom: var(--space-1);
}

h1 {
  margin: var(--space-3) 0 var(--space-2);
  font-size: var(--font-size-h1);
  color: var(--color-primary);
}

h2 {
  font-size: var(--font-size-h2);
  color: var(--color-primary);
  margin-top: 0;
}

h3 {
  margin-top: 0;
}

.subtitle {
  font-size: 1.1rem;
}

.price-wrap {
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
}

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

.old-price {
  margin: 0;
  text-decoration: line-through;
  color: #6e6e6e;
}

.disclaimer {
  margin-top: var(--space-3);
  font-size: 0.95rem;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
}

label {
  display: block;
  margin-top: var(--space-2);
  font-weight: 600;
}

input,
textarea,
button {
  width: 100%;
  border: 1px solid #b9d7b8;
  border-radius: var(--radius-s);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-primary);
}

textarea {
  resize: vertical;
}

button,
.cta-email {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  margin-top: var(--space-3);
  transition: background 0.25s ease, transform 0.2s ease;
}

button:hover,
button:focus-visible,
.cta-email:hover,
.cta-email:focus-visible {
  background: #214c2d;
  transform: translateY(-1px);
}

.error {
  color: #ab2222;
  min-height: 1.2em;
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.consent input {
  width: auto;
  margin-top: 0.2rem;
}

.section {
  padding: var(--space-6) 0 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.person {
  font-weight: 700;
  margin-bottom: 0;
}

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

.unique-block {
  border: 1px solid rgba(127, 183, 126, 0.45);
  box-shadow: var(--shadow-soft);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.compare-panel {
  overflow: hidden;
}

.compare-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.tab-btn {
  width: auto;
  margin-top: 0;
  border-radius: 999px;
  background: #e7f3d2;
  color: var(--color-primary);
  border: 1px solid #b7d9b4;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
}

.tab-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.tab-content {
  display: none;
  border: 1px solid #d4ead0;
  border-radius: var(--radius-s);
  padding: var(--space-3);
  background: #fcfff7;
}

.tab-content.active {
  display: block;
  animation: fadeUp 0.35s ease;
}

.accordion {
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  margin: 0;
  background: #f3fbeb;
  color: var(--color-primary);
  border: 1px solid #cde5cb;
  font-weight: 700;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-content {
  max-height: 220px;
}

.faq-content p {
  margin: var(--space-3) 0 0;
}

.cta-email {
  display: inline-block;
  width: auto;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-s);
}

.cta-email {
  animation: pulseGlow 2.5s infinite;
}

.map-wrap iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius-s);
}

.site-footer {
  margin-top: var(--space-6);
  padding: var(--space-4) 0;
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-line a {
  color: var(--color-white);
}

.cookie-banner {
  position: fixed;
  bottom: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  z-index: 30;
}

.cookie-content {
  background: var(--color-white);
  border: 1px solid #d0e8ce;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cookie-actions button {
  width: auto;
  margin-top: 0;
}

.cookie-settings {
  margin-bottom: var(--space-2);
}

.page-main {
  padding: var(--space-6) 0;
}

.policy article {
  margin-bottom: var(--space-4);
}

.policy-block {
  border-left: 4px solid var(--color-secondary);
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-form {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .nav-list {
    gap: var(--space-2);
  }

  .hero-overlay {
    padding: var(--space-6) 0;
  }

  .cookie-actions button {
    width: 100%;
  }

  .faq-item.open .faq-content {
    max-height: 280px;
  }
}