/* =========================================================
   Fungizol — közös stíluslap (styles.css)
   Botanikus, letisztult lábápolási arculat
   ========================================================= */

:root {
  --paper:      #F2F6F1;
  --paper-2:    #E9F0E9;
  --card:       #FFFFFF;
  --ink:        #16241D;
  --ink-soft:   #3C4C44;
  --forest:     #1E5744;
  --forest-2:   #164034;
  --sage:       #6E9E86;
  --mint:       #CDE7D8;
  --mint-2:     #E4F2EA;
  --amber:      #C2853A;
  --amber-2:    #E4B77A;
  --line:       #DBE5DD;
  --danger:     #B23A32;
  --shadow-sm:  0 1px 3px rgba(22, 36, 29, .08);
  --shadow-md:  0 14px 40px -18px rgba(22, 36, 29, .32);
  --shadow-lg:  0 30px 70px -30px rgba(22, 36, 29, .40);
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1180px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .4em;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--forest); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--amber);
  display: inline-block;
}

.section { padding: 104px 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--forest { background: var(--forest); color: #EAF3ED; }
.section--forest h2, .section--forest h3 { color: #FFFFFF; }
.section--forest p { color: #C6DCCF; }

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section-head p { font-size: 18px; margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn--primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--forest-2); transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: #fff; }
.btn--amber:hover { background: #A96F2C; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--forest); background: var(--mint-2); }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 246, 241, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { display: block; }
.brand-name {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-name span { color: var(--forest); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--forest);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--mint) 0%, transparent 55%),
    radial-gradient(90% 80% at -5% 110%, var(--mint-2) 0%, transparent 50%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--forest);
}
.hero-lead {
  font-size: 19px;
  max-width: 520px;
  margin-top: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.trust-item svg { flex: none; color: var(--forest); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -22px;
  bottom: 40px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
}
.hero-badge .num { font-family: "Fraunces", serif; font-size: 34px; font-weight: 600; color: var(--forest); line-height: 1; }
.hero-badge .lbl { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }

/* ---------- Marquee / logos strip ---------- */
.strip {
  background: var(--forest);
  color: #CFE3D8;
  padding: 20px 0;
  font-size: 14px;
  letter-spacing: .04em;
}
.strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.strip span { display: inline-flex; align-items: center; gap: 10px; }
.strip svg { color: var(--amber-2); flex: none; }

/* ---------- Benefits ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--mint); }
.card-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--mint-2);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 21px; }
.card p { margin-bottom: 0; font-size: 15.5px; }

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-media { position: relative; aspect-ratio: 4/3; background: var(--paper-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--amber); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 20px; margin-bottom: 6px; }
.product-body p { font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font-family: "Fraunces", serif; font-size: 24px; font-weight: 600; color: var(--forest); }
.price small { font-size: 13px; color: var(--sage); font-weight: 500; font-family: "Inter", sans-serif; }
.price .old { font-size: 15px; color: var(--sage); text-decoration: line-through; margin-right: 6px; font-family: "Inter", sans-serif; }

.bundle {
  margin-top: 32px;
  background: var(--forest);
  color: #EAF3ED;
  border-radius: var(--radius);
  padding: 34px 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-md);
}
.bundle h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.bundle p { color: #C6DCCF; margin: 0; }
.bundle-price { text-align: right; }
.bundle-price .price { color: var(--amber-2); font-size: 34px; }
.bundle-price .old { color: #9FBBAC; }

/* ---------- Ingredients ---------- */
.ingredients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ingredient { text-align: center; }
.ingredient-img {
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.ingredient-img img { width: 100%; height: 100%; object-fit: cover; }
.ingredient h3 { font-size: 19px; margin-bottom: 4px; }
.ingredient p { font-size: 14px; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 12px; }
.step-num {
  font-family: "Fraunces", serif;
  font-size: 52px;
  font-weight: 600;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 14px;
}
.section--forest .step-num { color: var(--sage); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 14px; font-size: 16px; }
.review-text { font-size: 16px; color: var(--ink); flex: 1; }
.review-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-person strong { font-size: 15px; display: block; }
.review-person span { font-size: 13px; color: var(--sage); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 24px 44px 24px 0;
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq-q:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 6px; }
.faq-q::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 28px; color: var(--forest);
  transition: transform .3s var(--ease);
  font-family: "Inter", sans-serif;
}
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 44px 24px 0; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: start;
}
.contact-info { }
.info-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: var(--mint-2);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.section--forest .info-ico { background: rgba(255,255,255,.1); color: var(--mint); }
.info-list strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); margin-bottom: 2px; }
.info-list a, .info-list span { color: inherit; font-size: 16.5px; }
.section--forest .info-list strong { color: var(--sage); }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 34px 38px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30,87,68,.12);
}
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(178,58,50,.12);
}
.field .error { color: var(--danger); font-size: 13px; margin-top: 6px; display: none; }
.field.has-error .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--forest); }
.check label { font-size: 14px; color: var(--ink-soft); font-weight: 400; margin: 0; }
.form-note { font-size: 13px; color: var(--sage); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  background: var(--mint-2);
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--forest-2);
  font-size: 15px;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-2);
  color: #BFD6CB;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: var(--amber-2); }
.footer-brand p { color: #A8C4B8; font-size: 15px; margin-top: 16px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; font-family: "Inter", sans-serif; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: #BFD6CB; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13.5px;
  color: #93B3A6;
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom nav a { color: #BFD6CB; }
.footer-bottom nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 90;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  max-width: 940px;
  margin: 0 auto;
  transform: translateY(160%);
  transition: transform .5s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { display: block; font-family: "Fraunces", serif; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.cookie-text p { margin: 0; font-size: 14px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie .btn { padding: 12px 22px; font-size: 15px; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-hero {
  background:
    radial-gradient(120% 100% at 90% -20%, var(--mint) 0%, transparent 55%);
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.legal-hero p { font-size: 17px; max-width: 640px; }
.breadcrumb { font-size: 14px; color: var(--sage); margin-bottom: 18px; }
.breadcrumb a { color: var(--forest); }
.legal-body { padding: 64px 0 96px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-wrap h2 {
  font-size: 26px;
  margin: 44px 0 12px;
  padding-top: 12px;
}
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap h3 { font-size: 19px; margin: 26px 0 8px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); font-size: 16.5px; }
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; margin: 0 0 18px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 44px;
}
.legal-toc h4 { margin: 0 0 12px; font-family: "Inter", sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.legal-toc a { font-size: 15px; }
.legal-updated { font-size: 14px; color: var(--sage); font-style: italic; margin-bottom: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .ingredients { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media img { height: 420px; }
  .cards, .steps, .reviews { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .legal-toc ol { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .products, .ingredients { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form { padding: 26px 22px 30px; }
  .form-row { grid-template-columns: 1fr; }
  .bundle { text-align: center; justify-content: center; }
  .bundle-price { text-align: center; }
  .hero-badge { left: 12px; bottom: 12px; }
  .cookie { padding: 20px; }
}
