/* Arteolin — 0002_HU_SUST_CL — egyedi "meleg apotheka" design */

:root {
  --ink: #2b241d;
  --paper: #fbf3e7;
  --amber: #c1611c;
  --amber-dark: #9c4b12;
  --amber-light: #f6e3d0;
  --teal: #1f4b4a;
  --teal-light: #e4efee;
  --card: #ffffff;
  --line: #ecdfc9;
  --muted: #7a6d5c;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(43, 36, 29, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3, h4, blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 16px;
}

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-dark);
  background: var(--amber-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h2.head { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
p.lead { color: var(--muted); max-width: 560px; font-size: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-radius: 10px;
  padding: 15px 26px;
  font-family: "DM Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-amber {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 10px 22px rgba(193, 97, 28, 0.32);
}
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }
.btn-arrow::after { content: "→"; }

/* Header */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 243, 231, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.wordmark { font-family: "Fraunces", serif; font-size: 23px; font-weight: 700; text-decoration: none; color: var(--ink); }
.wordmark em { font-style: normal; color: var(--amber); }

.links { display: flex; gap: 30px; }
.links a {
  text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 600;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.links a:hover { border-color: var(--amber); }

.masthead-cta { display: flex; align-items: center; gap: 16px; }
.burger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

@media (max-width: 880px) {
  .links {
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--card);
    flex-direction: column; padding: 18px 22px; gap: 14px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .links.open { display: flex; }
  .burger { display: block; }
  .masthead-cta .btn span.full { display: none; }
}

/* Hero */
.hero { padding: 56px 0 70px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 0.95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 48px); }
.hero .lead { margin-bottom: 24px; }

.stat-row { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.stat-row .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.stat-row b { font-size: 15px; }
.stat-row span.muted { color: var(--muted); font-size: 14px; }

.price-line { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.price-line .was { color: var(--muted); text-decoration: line-through; font-size: 17px; }
.price-line .now { font-family: "Fraunces", serif; font-size: 32px; font-weight: 700; color: var(--teal); }
.price-line .off { background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

.perks { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.perks span { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }

.hero-media { position: relative; display: flex; justify-content: center; }
.hero-media .blob {
  position: absolute; inset: 0; margin: auto; width: 88%; height: 88%;
  background: radial-gradient(circle at 35% 30%, var(--amber-light), transparent 70%),
              radial-gradient(circle at 70% 75%, var(--teal-light), transparent 65%);
  border-radius: 50% 45% 55% 50% / 50% 55% 45% 50%;
  z-index: 0;
}
.hero-media img { position: relative; z-index: 1; max-width: 78%; margin: 0 auto; filter: drop-shadow(0 22px 30px rgba(43,36,29,0.18)); }
.floating-card {
  position: absolute; z-index: 2; bottom: 6%; left: 4%;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 16px; font-size: 13px; display: flex; align-items: center; gap: 10px;
}
.floating-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }

/* Context / problem strip */
.context { padding: 30px 0 64px; }
.context .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 46px; align-items: center; }
.context img { border-radius: var(--radius); box-shadow: var(--shadow); }
.context-list { list-style: none; margin: 22px 0 0; padding: 0; }
.context-list li {
  display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink);
}
.context-list li:first-child { border-top: none; }
.context-list li .mark { color: var(--amber); font-weight: 700; flex-shrink: 0; }

/* Benefits — numbered editorial list */
.benefits { padding: 64px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; margin-top: 40px; }
.benefit-row { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.benefit-row:nth-child(1), .benefit-row:nth-child(2) { border-top: none; }
.benefit-row .idx { font-family: "Fraunces", serif; font-size: 32px; font-weight: 700; color: var(--amber-light); line-height: 1; -webkit-text-stroke: 1.5px var(--amber); }
.benefit-row h3 { font-size: 17px; margin-bottom: 4px; }
.benefit-row p { font-size: 14px; color: var(--muted); margin: 0; }

/* Ingredients — scroll strip */
.ingredients { padding: 64px 0; }
.ingredient-track {
  display: flex; gap: 18px; overflow-x: auto; padding: 10px 4px 20px;
  scroll-snap-type: x mandatory;
  margin-top: 36px;
}
.ingredient-track::-webkit-scrollbar { height: 6px; }
.ingredient-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.ing-card {
  scroll-snap-align: start;
  flex: 0 0 220px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.ing-card .badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  overflow: hidden;
}
.ing-card .badge img { width: 40px; height: 40px; object-fit: contain; }
.ing-card h3 { font-size: 15px; margin-bottom: 6px; }
.ing-card p { font-size: 13px; color: var(--muted); margin: 0; }
.track-hint { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: -6px; }

/* Usage — vertical timeline */
.usage { padding: 64px 0; background: var(--teal); color: #fff; }
.usage .head, .usage .lead { color: #fff; }
.usage .lead { color: rgba(255,255,255,0.75); }
.timeline { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.timeline-step { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 22px; }
.timeline-step img { border-radius: 10px; margin-bottom: 16px; width: 100%; height: 150px; object-fit: cover; }
.timeline-step .num { font-family: "Fraunces", serif; font-size: 14px; color: var(--amber-light); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 8px; }
.timeline-step h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.timeline-step p { font-size: 13.5px; color: rgba(255,255,255,0.75); margin: 0; }

/* Reviews — masonry pull-quotes */
.reviews { padding: 64px 0; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.quote-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.quote-card .mark { font-family: "Fraunces", serif; font-size: 46px; color: var(--amber-light); line-height: 1; margin-bottom: 4px; }
.quote-card p.txt { font-size: 14.5px; color: var(--ink); margin: 0 0 18px; }
.quote-person { display: flex; align-items: center; gap: 10px; }
.quote-person img.av, .quote-person .av-fallback {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.quote-person .av-fallback {
  background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.quote-person .who b { display: block; font-size: 13.5px; }
.quote-person .who span { font-size: 12px; color: var(--muted); }

/* Order — split panel */
.order { padding: 70px 0; }
.order-panel {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.order-info { background: var(--teal); color: #fff; padding: 40px 34px; }
.order-info h2 { color: #fff; font-size: 26px; }
.order-info ul { list-style: none; padding: 0; margin: 22px 0 0; }
.order-info li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.15); font-size: 14px; display: flex; gap: 10px; }
.order-info li:first-child { border-top: none; }
.order-info .price-line .now { color: #fff; }
.order-form-panel { background: var(--card); padding: 40px 34px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit; background: var(--paper);
}
.field input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.field .err { color: #b3401f; font-size: 12.5px; margin-top: 4px; display: none; }
.field.bad input { border-color: #b3401f; }
.field.bad .err { display: block; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 12.5px; color: var(--muted); }
.consent.bad { color: #b3401f; }
.consent input { margin-top: 3px; }

.order-done { display: none; text-align: center; padding: 30px 0; }
.order-done.show { display: block; }
.order-done .check { font-size: 38px; margin-bottom: 10px; color: var(--teal); }
.order-form.hide { display: none; }

@media (max-width: 760px) {
  .order-panel { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { padding: 64px 0; }
.faq-rows { max-width: 760px; margin: 40px auto 0; }
.faq-row { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: var(--card); border: none; cursor: pointer;
  padding: 17px 20px; font-size: 15.5px; font-weight: 700; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center; color: var(--ink);
}
.faq-q .chev { color: var(--amber); transition: transform 0.2s ease; }
.faq-row.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; background: var(--card); }
.faq-row.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 20px 18px; margin: 0; font-size: 14px; color: var(--muted); }

/* Final CTA */
.cta-band { padding: 60px 0; text-align: center; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

/* Legal pages */
.legal { padding: 50px 0 70px; max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: 30px; margin-bottom: 22px; }
.legal h2 { font-size: 18px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal ul { padding-left: 20px; }
.legal-flag {
  background: var(--amber-light); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 18px; font-size: 13.5px; color: var(--amber-dark); margin-bottom: 28px;
}

/* Footer */
.site-foot { background: var(--ink); color: #d9d0c2; padding: 50px 0 28px; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 30px; margin-bottom: 30px; }
.foot-grid h4 { color: #fff; font-family: "Fraunces", serif; font-size: 15px; margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: #d9d0c2; text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; color: #a89a83; line-height: 1.7; }
.foot-bottom { margin-top: 16px; color: #8a7c67; }

/* Responsive */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .context .wrap { grid-template-columns: 1fr; }
  .context img { order: -1; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-row:nth-child(2) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .order-panel { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
