:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #f1f4f6;
  --text: #1f2933;
  --text-soft: #4a5563;
  --line: #d9e1e6;
  --accent: #00a651;
  --accent-dark: #008a45;
  --dark: #1f252f;
  --radius: 18px;
  --shadow-soft: 0 14px 34px rgba(31, 37, 47, 0.08);
  --shadow-deep: 0 22px 48px rgba(31, 37, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
  font-size: 1.06rem;
}

a {
  color: inherit;
}

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

.topbar {
  background: var(--dark);
  color: #ebf1f5;
  font-size: 0.95rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
}

.topbar p {
  margin: 0;
  color: #ebf1f5;
}

.topbar a {
  text-decoration: none;
  font-weight: 700;
  color: #dff8b8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-mark {
  display: block;
  width: clamp(180px, 20vw, 244px);
  height: auto;
}

.logo-main {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
}

.logo-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.header-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-icon-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5dee6;
  border-radius: 999px;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  fill: #17202c;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  border-color: #9ed4b4;
  background: #f2fbf5;
  transform: translateY(-1px);
}

.main-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: #253243;
  font-weight: 700;
  font-size: 0.97rem;
}

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

.nav-shop {
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.52rem 1rem;
}

.nav-shop:hover,
.nav-shop:focus-visible {
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  padding: clamp(2.2rem, 4.4vw, 4.2rem) 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 166, 81, 0.14), transparent 40%),
    radial-gradient(circle at 94% 20%, rgba(31, 37, 47, 0.1), transparent 35%),
    linear-gradient(180deg, #f7fafb 0%, #eef3f6 100%);
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.45fr 0.72fr;
  gap: 1.2rem;
  align-items: stretch;
}

.hero-slider {
  position: relative;
  min-height: 430px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid #d6e0e7;
  background: linear-gradient(130deg, #1f252f 0%, #2b3643 60%, #364252 100%);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 26%, rgba(0, 166, 81, 0.36), transparent 43%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 35%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  color: #f8fbfd;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slide p {
  color: #d4dde5;
  max-width: 660px;
}

.hero-slide h1,
.hero-slide h2 {
  color: #fff;
  max-width: 720px;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.slide-tag {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.9rem;
  padding: 0.32rem 0.68rem;
  border: 1px solid rgba(0, 166, 81, 0.62);
  border-radius: 999px;
  color: #d7ff9d !important;
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.hero-dots {
  position: absolute;
  left: clamp(1.4rem, 3vw, 2.4rem);
  bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  z-index: 2;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid #d4dde5;
  background: transparent;
  cursor: pointer;
}

.dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
  border-color: var(--accent);
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
}

.hero-panel h2 {
  margin-bottom: 0.9rem;
}

.hero-panel ol {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.hero-panel li + li {
  margin-top: 0.55rem;
}

.panel-link {
  font-weight: 700;
  color: var(--accent-dark);
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.86rem 1.24rem;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-ghost {
  padding: 0.86rem 1.24rem;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #fff;
}

.section-label {
  margin-bottom: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.trust,
.shop-categories,
.benefits,
.guide,
.community,
.faq,
.cta {
  padding: clamp(2.8rem, 5vw, 4.7rem) 0;
}

.shop-categories {
  background: #ffffff;
}

.category-intro {
  max-width: 900px;
}

.category-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}

.category-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "main side1"
    "main side2";
  gap: 0.45rem;
  width: min(100%, 290px);
  margin: 0.35rem 0 0.85rem;
}

.category-collage a {
  display: block;
  text-decoration: none;
}

.category-collage a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(180deg, #ffffff 0%, #eff8f3 100%);
  border: 1px solid #d3e3da;
  border-radius: 12px;
  padding: 0.32rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.category-collage a:hover img,
.category-collage a:focus-visible img {
  border-color: #8cc8a4;
  background: linear-gradient(180deg, #ffffff 0%, #e9f7ef 100%);
  transform: translateY(-1px);
}

.category-collage .tile-main {
  grid-area: main;
  min-height: 152px;
}

.category-collage .tile-side1 {
  grid-area: side1;
  min-height: 74px;
}

.category-collage .tile-side2 {
  grid-area: side2;
  min-height: 74px;
}

.category-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.54rem 0.85rem;
}

.category-link:hover,
.category-link:focus-visible {
  background: var(--accent-dark);
}

.trust {
  background: #fff;
}

.trust-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, #f6f9fb 100%);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
}

.trust-card a {
  color: var(--accent-dark);
  font-weight: 700;
}

.benefits {
  background: linear-gradient(180deg, #eef3f5 0%, #f8fbfc 100%);
}

.benefits-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.18rem;
}

.benefit ul {
  margin: 0;
  padding-left: 1.12rem;
}

.benefit li + li {
  margin-top: 0.48rem;
}

.guide {
  background: #fff;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1rem;
}

.guide-intro {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  background: #f9fbfd;
  box-shadow: var(--shadow-soft);
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.guide-card-image {
  display: block;
  width: min(100%, 360px);
  height: auto;
  border-radius: 14px;
  border: 1px solid #d6e6dc;
  background: #f8fbf9;
  margin: 0.25rem 0 0.9rem;
}

.faq {
  background: #f5f8fa;
}

.faq-wrap {
  width: min(920px, 92%);
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.78rem 0.95rem;
}

.faq-list details + details {
  margin-top: 0.72rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #1f2933;
}

.faq-list p {
  margin: 0.7rem 0 0;
}

.community {
  background: #ffffff;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.community-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
}

.social-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #d8e9de;
  border-radius: 999px;
  background: #f6fcf8;
}

.social-brand img {
  display: block;
  width: 32px;
  height: 32px;
}

.social-brand-name {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  color: #1b3a2a;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 0.25rem;
}

.social-link {
  text-decoration: none;
  border: 1px solid #cfe5da;
  background: #f4fbf7;
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  font-weight: 700;
  color: #1b3a2a;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.social-link-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0;
}

.social-link-icon svg {
  width: 28px;
  height: 28px;
  fill: #163228;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: #9dd0b5;
  background: #e9f8ef;
  transform: translateY(-1px);
}

.cta {
  background: linear-gradient(125deg, #1f252f 0%, #2a3340 60%, #354151 100%);
}

.cta-inner {
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(0, 166, 81, 0.45);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.6rem, 4vw, 2.8rem);
}

.cta h2,
.cta p {
  color: #f5fafc;
}

.cta p {
  max-width: 760px;
  margin: 0 auto 1.15rem;
}

.btn-lg {
  min-width: 280px;
  padding: 1rem 1.65rem;
  font-size: 1.02rem;
}

.site-footer {
  background: #11161d;
  color: #d6dee5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2.1rem 0 1.5rem;
}

.site-footer h2 {
  font-size: 1.08rem;
  color: #f3f7fb;
}

.site-footer p {
  margin: 0 0 0.45rem;
  color: #c6d1da;
}

.site-footer a {
  color: #dff8b8;
}

.footer-cookie-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: #dff8b8;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-cookie-btn:hover,
.footer-cookie-btn:focus-visible {
  color: #f2ffd7;
}

.footer-bottom {
  border-top: 1px solid #2d3745;
  padding: 0.95rem 0 1.25rem;
  font-size: 0.93rem;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 47;
  display: grid;
  place-items: center;
  padding: clamp(0.7rem, 2vw, 1.2rem);
}

.policy-modal[hidden] {
  display: none;
}

.policy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 23, 0.58);
}

.policy-modal-card {
  position: relative;
  z-index: 1;
  width: min(900px, 96vw);
  max-height: min(86vh, 900px);
  overflow: auto;
  background: #ffffff;
  border: 1px solid #d4dee8;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 24px 56px rgba(10, 15, 23, 0.28);
  padding: clamp(1rem, 2.2vw, 1.6rem);
}

.policy-modal-card p {
  margin-bottom: 0.8rem;
}

.policy-modal-card h3 {
  margin-top: 1.05rem;
}

.policy-modal-close {
  position: sticky;
  top: 0.35rem;
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid #d2dde8;
  background: #ffffff;
  border-radius: 999px;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.policy-meta {
  margin-top: 0.9rem;
  font-size: 0.94rem;
  color: #5c6878;
}

.has-policy-modal {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(17, 23, 31, 0.96);
  border-top: 1px solid rgba(137, 154, 171, 0.35);
  box-shadow: 0 -12px 32px rgba(10, 15, 23, 0.32);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
  padding: 0.85rem 0;
}

.cookie-banner p {
  margin: 0;
  color: #dbe5ef;
  font-size: 0.95rem;
}

.cookie-policy-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #dff8b8;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-policy-link:hover,
.cookie-policy-link:focus-visible {
  color: #f1ffd2;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.cookie-btn {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.58rem 0.84rem;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
}

.cookie-btn-accept {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cookie-btn-accept:hover,
.cookie-btn-accept:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.cookie-btn-reject {
  background: transparent;
  border-color: rgba(219, 229, 239, 0.7);
  color: #dbe5ef;
}

.cookie-btn-reject:hover,
.cookie-btn-reject:focus-visible {
  border-color: #ffffff;
  color: #ffffff;
}

.has-cookie-banner .floating-shop {
  bottom: 104px;
}

.floating-shop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 35;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.72rem 1.18rem;
  box-shadow: 0 16px 30px rgba(0, 138, 69, 0.36);
}

.floating-shop:hover,
.floating-shop:focus-visible {
  background: var(--accent-dark);
}

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

  .hero-slider {
    min-height: 410px;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 4%;
    width: min(320px, 92vw);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 0.55rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .main-nav a {
    display: block;
    padding: 0.58rem;
    border-radius: 8px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: #f2f6f8;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-right {
    gap: 0.55rem;
  }

  .header-social {
    margin-left: 0.3rem;
  }

  .menu-toggle {
    display: inline-block;
  }

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

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .topbar {
    display: none;
  }

  .header-inner {
    gap: 0.45rem;
  }

  .logo-mark {
    width: 160px;
  }

  .social-icon-link {
    width: 32px;
    height: 32px;
  }

  .social-icon-link svg {
    width: 17px;
    height: 17px;
  }

  .hero-slider {
    min-height: 0;
    display: flex;
    flex-direction: column;
    touch-action: pan-y;
  }

  .hero-slide {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    transform: none;
    justify-content: flex-start;
    padding-bottom: 1rem;
  }

  .hero-slide.is-active {
    display: flex;
    will-change: transform, opacity;
  }

  .hero-dots {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 0.45rem 0 1rem clamp(1.4rem, 3vw, 2.4rem);
    z-index: 2;
  }

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

  .slide-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .cookie-banner {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .cookie-banner-inner {
    padding: 0.75rem 0;
  }

  .cookie-banner p {
    font-size: 0.92rem;
  }

  .policy-modal-card {
    width: min(96vw, 96vw);
    max-height: 88vh;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .has-cookie-banner .floating-shop {
    bottom: 158px;
  }

  .floating-shop {
    right: 12px;
    bottom: 12px;
  }
}
