/* HADIETA – Handó Zsófia dietetikus */
:root {
  --bg: #f7f3ed;
  --bg-alt: #ede6db;
  --card: #fffdf9;
  --ink: #2f2d2a;
  --muted: #6b665e;
  --line: #ddd4c6;
  --olive: #6d7858;
  --olive-dark: #525b41;
  --olive-soft: #e3e6d8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(47, 45, 42, .05), 0 12px 32px -12px rgba(47, 45, 42, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--olive-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive); font-weight: 500; margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 500 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--olive-dark); color: #fff; }
.btn--primary:hover { background: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 237, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { font-family: var(--serif); font-size: 2rem; line-height: 1; letter-spacing: -.02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-weight: 500; letter-spacing: .24em; font-size: .9rem; }
.brand-text span { font-size: .66rem; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px;
  background: var(--olive); transition: right .25s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { right: 0; }
.nav .btn { padding: 11px 20px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px 20px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--olive-dark); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--olive); flex: none; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 66% center;
  border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -24px; bottom: 36px; background: var(--card); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow); max-width: 240px;
}
.hero-badge strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; display: block; line-height: 1; }
.hero-badge span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-badge { left: 12px; bottom: 16px; }
}

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul {
  list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.trust li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--muted); }
.trust svg { width: 22px; height: 22px; color: var(--olive); flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; object-position: 64% 30%; box-shadow: var(--shadow); }
.about-quote {
  margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.35;
  border-left: 2px solid var(--olive); padding-left: 20px; color: var(--olive-dark);
}
.timeline { list-style: none; margin: 32px 0 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--olive);
}
.timeline b { display: block; font-weight: 500; font-size: .85rem; letter-spacing: .12em; color: var(--olive); }
.timeline span { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } }

/* Specialties */
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.spec {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px;
  display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s, transform .2s;
}
.spec:hover { border-color: var(--olive); transform: translateY(-2px); }
.spec-num { font-family: var(--serif); font-size: 1.3rem; color: var(--olive); line-height: 1.3; min-width: 26px; }
.spec h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; margin: 0 0 4px; line-height: 1.4; letter-spacing: 0; }
.spec p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 30px;
  display: flex; flex-direction: column; position: relative;
}
.plan--featured { border-color: var(--olive); box-shadow: var(--shadow); }
.plan-tag {
  position: absolute; top: -13px; left: 30px; background: var(--olive-dark); color: #fff;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan h3 { margin-bottom: 6px; }
.plan-sub { color: var(--muted); font-size: .95rem; min-height: 3.2em; }
.plan-price { font-family: var(--serif); font-size: 2.8rem; line-height: 1; margin: 12px 0 4px; }
.plan-price small { font-family: var(--sans); font-size: .95rem; color: var(--muted); margin-left: 4px; }
.plan-dur { font-size: .88rem; color: var(--olive-dark); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { position: relative; padding: 7px 0 7px 28px; font-size: .95rem; border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--olive); border-bottom: 1.5px solid var(--olive); transform: rotate(-45deg);
}
.plan li.no { color: var(--muted); }
.plan li.no::before { border: 0; height: 1.5px; width: 11px; top: 18px; background: var(--muted); transform: none; }
.plans-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.extra {
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap;
}
.extra h3 { font-size: 1.35rem; margin-bottom: 4px; }
.extra p { margin: 0; color: var(--muted); font-size: .93rem; max-width: 38ch; }
.extra .price { font-family: var(--serif); font-size: 1.7rem; white-space: nowrap; }
.extra-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pay-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 28px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plans-extra { grid-template-columns: 1fr; max-width: 520px; margin: 22px auto 0; } }
@media (max-width: 480px) { .extra-side { align-items: flex-start; } }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 2.2rem; color: var(--olive); line-height: 1;
}
.steps li::after { content: ""; position: absolute; top: 18px; left: 56px; right: -10px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; letter-spacing: 0; margin-bottom: 6px; line-height: 1.4; }
.steps p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 28px 64px; }
  .steps li::after { top: 44px; left: 18px; right: auto; bottom: 8px; width: 1px; height: auto; }
}

/* Booking */
.booking { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.booking-frame {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 420px;
}
.booking-frame iframe { width: 100%; height: 700px; border: 0; display: block; }
.booking-fallback { padding: 40px 34px; text-align: center; }
.booking-fallback svg { width: 44px; height: 44px; color: var(--olive); margin: 0 auto 14px; }
.booking-fallback p { color: var(--muted); }
.booking-fallback .hero-actions { justify-content: center; margin-top: 20px; }
.check { list-style: none; padding: 0; margin: 24px 0 0; }
.check li { padding: 6px 0 6px 30px; position: relative; }
.check li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--olive); border-bottom: 1.5px solid var(--olive); transform: rotate(-45deg);
}
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-cover { aspect-ratio: 16 / 10; background: var(--olive-soft); overflow: hidden; position: relative; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-cover--type { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.post-cover--type span { font-family: var(--serif); font-size: 1.9rem; font-style: italic; color: var(--olive-dark); line-height: 1.15; }
.post-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; }
.post-body h3 { font-size: 1.45rem; margin-bottom: 8px; }
.post-body p { color: var(--muted); font-size: .94rem; margin: 0 0 16px; flex: 1; }
.post-more { font-size: .92rem; font-weight: 500; color: var(--olive-dark); }
.post-card.soon { pointer-events: none; opacity: .7; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.7rem; color: var(--olive); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); }
.contact-list { list-style: none; padding: 0; margin: 28px 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--olive); flex: none; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--olive-dark); text-decoration: underline; }
.map {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10;
  background: var(--olive-soft); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map p { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.map .btn { padding: 10px 18px; font-size: .9rem; }
.map.loaded { padding: 0; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-soft);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b4553c; }
.field .err { display: none; color: #a24a33; font-size: .83rem; margin-top: 5px; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.consent input { margin-top: 5px; accent-color: var(--olive-dark); width: 17px; height: 17px; flex: none; }
.consent.invalid { color: #a24a33; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .94rem; display: none; }
.form-status.ok { display: block; background: var(--olive-soft); color: var(--olive-dark); }
.form-status.fail { display: block; background: #f5e1da; color: #8a3c27; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* CTA band */
.cta-band { background: var(--olive-dark); color: #f3f1ea; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe2d4; max-width: 56ch; margin: 0 auto 28px; }
.cta-band .btn--primary { background: #fff; color: var(--olive-dark); }
.cta-band .btn--primary:hover { background: var(--bg-alt); }

/* Footer */
.footer { background: var(--ink); color: #c9c3b8; padding: 64px 0 28px; font-size: .92rem; }
.footer a { color: #e9e4db; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 4px 0; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-text span { color: #a9a296; }
.footer-bottom { border-top: 1px solid #45423d; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Article pages */
.page-head { padding: clamp(48px, 7vw, 88px) 0 32px; }
.article { max-width: 740px; margin: 0 auto; padding: 0 20px 96px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 0 auto 44px; max-width: 980px; aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 2rem; margin-top: 1.6em; }
.article h3 { font-size: 1.4rem; margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: 6px; }
.article .box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin: 28px 0; }
.article .box h3 { margin-top: 0; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.recipe-meta b { color: var(--ink); font-weight: 500; }
.back { display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; text-decoration: none; margin-bottom: 20px; }
.disclaimer { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 44px; }
.legal h2 { font-size: 1.6rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
