:root {
  --bg: #f2eee4;
  --paper: #fffaf0;
  --card: #fff8ea;
  --surface: #f9f3e5;
  --text: #153b2a;
  --muted: #567261;
  --line: #d2c8b2;
  --brand: #1f5e41;
  --brand-2: #2d7b57;
  --accent: #bd8140;
  --shadow: 0 20px 45px rgba(24, 62, 45, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(45, 123, 87, 0.15), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(189, 129, 64, 0.17), transparent 26%),
    linear-gradient(180deg, #f6f1e7 0%, #f2eee4 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

body.offer-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 100px;
  display: grid;
  gap: 26px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

.card-clean {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 249, 234, 0.82));
  border: 1px solid rgba(210, 200, 178, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.top-strip {
  border-bottom: 1px solid rgba(21, 59, 42, 0.14);
  background: linear-gradient(90deg, #1f5e41, #245f45 45%, #2d7b57);
  color: #f5f9f6;
}

.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  position: relative;
}

.marquee-track {
  min-width: 100%;
  flex: 0 0 100%;
  display: inline-flex;
  justify-content: space-evenly;
  gap: 28px;
  padding: 10px 0;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-track span {
  opacity: 0.95;
}

.track-a {
  animation: marquee-a 24s linear infinite;
}

.track-b {
  animation: marquee-b 24s linear infinite;
}

@keyframes marquee-a {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes marquee-b {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0%);
  }
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-radius: 999px;
  border: 1px solid rgba(210, 200, 178, 0.85);
  background: rgba(255, 249, 233, 0.78);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 10px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #edf4ec, #d8ead7);
  border: 1px solid rgba(31, 94, 65, 0.25);
}

.brand-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand);
  stroke-width: 1.8;
  fill: none;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(31, 94, 65, 0.25);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.call-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  background: linear-gradient(135deg, #1f5e41, #2c7a57);
  color: #f0f8f4;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease;
}

.call-btn:hover {
  transform: translateY(-1px);
}

.product-page {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.product-main,
.product-side {
  padding: 20px;
}

.product-main {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-media-frame {
  border-radius: 22px;
  border: 1px solid rgba(210, 200, 178, 0.75);
  background: linear-gradient(150deg, #f5efe0, #ede2ca);
  padding: 6px;
}

.focus-main-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #efe5cf;
}

.focus-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.focus-main-wrap img.is-switching {
  animation: image-swap 460ms cubic-bezier(0.22, 0.8, 0.22, 1);
}

@keyframes image-swap {
  0% {
    opacity: 0;
    transform: scale(1.08) translateY(6px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

.product-side {
  display: grid;
  gap: 16px;
}

.thumb-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.thumb-nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31, 94, 65, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.thumb-nav svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand);
  stroke-width: 2;
  fill: none;
}

.focus-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.focus-thumb {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #f1e7d4;
  min-height: 0;
}

.focus-thumb.active {
  border-color: var(--brand);
}

.focus-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-pricing {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(247, 237, 216, 0.9));
  border: 1px solid rgba(210, 200, 178, 0.8);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 10px;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-2);
  font-weight: 700;
}

.product-pricing h1 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.15;
}

.rating-line {
  font-size: 0.92rem;
  color: var(--muted);
}

.rating-line span {
  font-weight: 700;
  color: var(--text);
}

.focus-price {
  font-size: 1.9rem;
  color: var(--brand);
  font-family: "Fraunces", serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.focus-price span {
  font-size: 1rem;
  color: #8e8e87;
  text-decoration: line-through;
  font-family: "Sora", sans-serif;
}

.save-badge {
  font-style: normal;
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(45, 123, 87, 0.13);
  color: var(--brand-2);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.focus-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.buy-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.qty-box {
  border-radius: 12px;
  border: 1px solid rgba(31, 94, 65, 0.2);
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.qty-box button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  font-size: 1.05rem;
  background: #f1ebdc;
  color: var(--text);
  cursor: pointer;
}

#qtyVal {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.solid-btn {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  padding: 0 20px;
  background: linear-gradient(135deg, #1f5e41, #2d7b57);
  color: #f6faf7;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 40px;
}

.service-boxes {
  margin-top: 10px;
  display: grid;
  gap: 9px;
}

.service-box {
  border: 1px solid rgba(210, 200, 178, 0.8);
  border-radius: 12px;
  background: rgba(255, 252, 245, 0.84);
  padding: 10px 12px;
}

.service-box p {
  font-size: 0.84rem;
  color: var(--muted);
}

.service-box p:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}

.service-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.service-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
}

.description-section,
.plans-section,
.reviews-page,
.faq-section,
.contact-section {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(210, 200, 178, 0.82);
  background: rgba(255, 249, 233, 0.84);
  box-shadow: var(--shadow);
}

.description-section h2,
.plans-section h2,
.reviews-page h2,
.faq-section h2,
.contact-section h2 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  margin-bottom: 10px;
}

.description-section p {
  color: var(--muted);
  max-width: 78ch;
}

.plans-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  padding: 18px;
  border-radius: 16px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(210, 200, 178, 0.86);
}

.plan-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-card strong {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  color: var(--brand);
}

.featured-plan {
  background: linear-gradient(145deg, rgba(31, 94, 65, 0.12), rgba(250, 244, 229, 0.95));
  border-color: rgba(31, 94, 65, 0.28);
}

.reviews-block {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.feedback-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  border-radius: 16px;
}

.score-box {
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  background: rgba(31, 94, 65, 0.1);
}

.score {
  font-size: 2.1rem;
  line-height: 1;
  font-family: "Fraunces", serif;
}

.stars {
  color: #c87f2f;
  letter-spacing: 0.08em;
}

.bars {
  display: grid;
  gap: 8px;
}

.bar-line {
  display: grid;
  grid-template-columns: 26px 1fr 46px;
  gap: 8px;
  align-items: center;
  font-size: 0.86rem;
}

.bar-line small {
  text-align: right;
  color: var(--muted);
}

.bar-line .line {
  height: 8px;
  border-radius: 999px;
  background: #e5dcc7;
  overflow: hidden;
}

.bar-line .line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f5e41, #2d7b57);
}

.review-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.review-item {
  border: 1px solid rgba(210, 200, 178, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 14px;
}

.review-item h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 6px;
}

.review-item h4 span {
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.review-item .stars {
  margin-bottom: 6px;
}

.review-item p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.review-form {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
}

.review-form h3 {
  margin-bottom: 2px;
  font-size: 1.2rem;
}

.review-form label {
  font-size: 0.88rem;
  color: var(--muted);
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(31, 94, 65, 0.2);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
  font: inherit;
  color: var(--text);
}

.review-form textarea {
  resize: vertical;
  min-height: 130px;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: none;
  border-color: rgba(31, 94, 65, 0.65);
  box-shadow: 0 0 0 3px rgba(31, 94, 65, 0.12);
}

.review-submit {
  justify-self: start;
  min-width: 180px;
}

.faq-section {
  display: grid;
  gap: 10px;
}

.faq-section details {
  border-radius: 12px;
  border: 1px solid rgba(210, 200, 178, 0.85);
  background: rgba(255, 255, 255, 0.78);
  padding: 12px 14px;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-section p {
  margin-top: 8px;
  color: var(--muted);
}

.contact-section p {
  color: var(--muted);
}

.contact-grid {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.contact-grid a {
  border-radius: 10px;
  border: 1px solid rgba(210, 200, 178, 0.88);
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  font-size: 0.92rem;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 36px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.25), transparent 28%),
    linear-gradient(135deg, #173a2a, #1f5e41 48%, #2d7b57);
  color: #edf6f1;
  display: grid;
  gap: 22px;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  box-shadow: var(--shadow);
}

.site-footer > div:nth-child(2),
.site-footer > div:nth-child(3),
.site-footer > div:nth-child(4) {
  padding-left: 18px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 8px;
}

.site-footer p,
.site-footer a {
  color: rgba(237, 246, 241, 0.9);
  font-size: 0.9rem;
}

.site-footer a {
  display: block;
  margin-bottom: 5px;
}

.footer-credit {
  grid-column: 1 / -1;
  margin-top: 16px;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.footer-credit a {
  display: inline-block;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-style: italic;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #f4fff8;
}

.social-row {
  margin-top: 10px;
  display: inline-flex;
  gap: 8px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(237, 246, 241, 0.45);
  display: grid;
  place-items: center;
}

.social-row svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.offer-popup.active {
  opacity: 1;
  visibility: visible;
}

.offer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 34, 25, 0.58);
  backdrop-filter: blur(3px);
}

.offer-card {
  position: relative;
  width: min(560px, calc(100% - 26px));
  border-radius: 20px;
  border: 1px solid rgba(210, 200, 178, 0.8);
  background:
    radial-gradient(circle at 90% 10%, rgba(45, 123, 87, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 251, 242, 0.98), rgba(247, 237, 216, 0.98));
  box-shadow: 0 28px 60px rgba(10, 28, 20, 0.32);
  padding: 24px;
  display: grid;
  gap: 10px;
  transform: translateY(14px) scale(0.96);
  transition: transform 0.28s ease;
}

.offer-popup.active .offer-card {
  transform: translateY(0) scale(1);
}

.offer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(31, 94, 65, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
}

.offer-tag {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 700;
}

.offer-card h3 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.2;
}

.offer-card p {
  color: var(--muted);
}

.offer-cta {
  margin-top: 6px;
  justify-self: start;
  min-width: 230px;
  min-height: 46px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    border-radius: 22px;
    gap: 14px;
    justify-items: center;
    text-align: center;
  }

  .product-page {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 10% 8%, rgba(45, 123, 87, 0.16), transparent 24%),
      linear-gradient(180deg, #f6f1e7 0%, #f2eee4 100%);
  }

  main {
    width: calc(100% - 20px);
    gap: 16px;
  }

  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 14px;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
    text-align: left;
    border-radius: 18px;
    z-index: 999;
  }

  .site-header.menu-open {
    box-shadow: 0 18px 34px rgba(24, 62, 45, 0.2);
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    width: 100%;
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(31, 94, 65, 0.15);
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    font-size: 0.84rem;
    padding: 8px 2px;
  }

  .call-btn {
    display: none;
    grid-column: 1 / -1;
  }

  .site-header.menu-open .call-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }

  .product-main,
  .product-side,
  .description-section,
  .plans-section,
  .reviews-page,
  .faq-section,
  .contact-section {
    padding: 16px;
    border-radius: 18px;
  }

  .thumb-controls {
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
  }

  .thumb-nav {
    width: 36px;
    height: 36px;
  }

  .focus-thumbs {
    gap: 8px;
  }

  .focus-thumb {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .buy-row {
    grid-template-columns: 1fr;
  }

  .qty-box {
    justify-content: center;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .review-list {
    grid-template-columns: 1fr;
  }

  .review-submit {
    width: 100%;
    justify-self: stretch;
  }

  .site-footer {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    padding: 20px;
    margin-bottom: 20px;
  }

  .offer-card {
    padding: 20px 16px 16px;
  }

  .offer-cta {
    width: 100%;
    justify-self: stretch;
  }

  .site-footer > div:nth-child(2),
  .site-footer > div:nth-child(3),
  .site-footer > div:nth-child(4) {
    padding-left: 0;
  }
}
