:root {
  --color-primary: #97A87A;
  --color-secondary: #A8BBA3;
  --color-bg: #FCF9EA;
  --color-accent: #FFA239;
  --color-text: #24321d;
  --color-white: #ffffff;
  --color-muted: #5d6b50;
  --color-dark: #1f2a18;
  --font-base: "Segoe UI", Arial, sans-serif;
  --font-heading: "Aptos Display", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --shadow-soft: 0 8px 22px rgba(36, 50, 29, 0.14);
  --shadow-hover: 0 10px 28px rgba(36, 50, 29, 0.2);
  --shadow-strong: 0 16px 32px rgba(36, 50, 29, 0.24);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 56px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: linear-gradient(180deg, #fcf9ea 0%, #f6f2df 100%);
  scroll-behavior: smooth;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 249, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(151, 168, 122, 0.3);
}

.top-header .container {
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
  border-radius: 50%;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  font-size: 0.97rem;
}

.main-nav a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(rgba(25, 39, 20, 0.58), rgba(25, 39, 20, 0.58)), url("../images/product.jpg") center/cover no-repeat;
}

.hero-content {
  width: min(1120px, 92%);
  background: rgba(252, 249, 234, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(151, 168, 122, 0.35);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0 0 var(--space-sm);
}

.hero .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md);
  color: var(--color-dark);
}

.badge-row {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-md);
}

.rating {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-soft);
  min-width: 210px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.price-old {
  text-decoration: line-through;
  opacity: 0.75;
  color: var(--color-muted);
}

.price-new {
  font-size: 1.8rem;
  color: var(--color-accent);
  font-weight: 700;
}

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(151, 168, 122, 0.35);
}

.form-card h2 {
  margin: 0 0 var(--space-sm);
}

form {
  display: grid;
  gap: var(--space-sm);
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea,
button,
select {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(36, 50, 29, 0.25);
  padding: 10px 12px;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline input {
  width: auto;
}

.error {
  min-height: 18px;
  color: #b31919;
  font-size: 0.82rem;
}

.btn {
  background: var(--color-accent);
  color: #2d1a00;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  min-height: 44px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

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

.content-section h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: var(--space-lg);
  font-family: var(--font-heading);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(151, 168, 122, 0.28);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}

.faq-item h3 {
  margin-top: 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.highlight-card {
  background: linear-gradient(155deg, #ffffff, #f4f8ed);
  border: 1px solid rgba(151, 168, 122, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.principles {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  background: #f2f6e9;
  border: 1px solid rgba(151, 168, 122, 0.45);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.planner {
  padding: var(--space-lg);
}

.planner-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.planner-tab {
  width: auto;
  padding: 10px 16px;
  border: 1px solid rgba(36, 50, 29, 0.28);
  border-radius: 999px;
  background: #f2f6e9;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.planner-tab:hover,
.planner-tab:focus-visible {
  transform: translateY(-1px);
  background: var(--color-secondary);
}

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

.planner-panel {
  display: none;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: #f9fcf3;
  border: 1px solid rgba(151, 168, 122, 0.33);
  animation: fadeIn 0.35s ease;
}

.planner-panel.active {
  display: block;
}

.cta {
  background: linear-gradient(135deg, #8fa273, #6f8457);
  color: var(--color-white);
  padding: var(--space-xl) 0;
}

.cta-box {
  display: grid;
  gap: var(--space-md);
  justify-items: center;
  text-align: center;
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

footer {
  background: #27331d;
  color: #f3f6ee;
  padding: var(--space-lg) 0;
}

.footer-top {
  display: grid;
  gap: var(--space-md);
  justify-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-accent);
}

.policy-main {
  padding: var(--space-xl) 0;
}

.policy-main article {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  border: 1px solid rgba(151, 168, 122, 0.28);
}

.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 94%);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: var(--space-md);
  z-index: 1100;
  display: none;
}

.cookie-banner.active {
  display: block;
}

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

.cookie-settings {
  display: none;
  margin-top: var(--space-sm);
  gap: var(--space-xs);
}

.cookie-settings.active {
  display: grid;
}

.thank-you {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: var(--space-xl) 0;
}

.fade-in-up {
  animation: fadeUp 0.7s ease both;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: var(--space-sm);
    font-size: 0.92rem;
  }
}