/* =========================================================
   Luxabera — Wellness & Egészséges Életmód
   Designrendszer: ezüst + zöld + sötétzöld árnyalatok
   ========================================================= */

:root {
  /* Színpaletta */
  --green-900: #1c3327;
  --green-800: #243f30;
  --green-700: #2e4a3a;
  --green-600: #3b5d49;
  --green-500: #4a6e58;
  --green-400: #6a8f78;
  --green-300: #93b29f;
  --silver-700: #8a948e;
  --silver-500: #b6beb9;
  --silver-300: #d4dad6;
  --silver-200: #e3e8e4;
  --silver-100: #eef1ef;
  --paper:      #f6f8f6;
  --white:      #ffffff;
  --ink:        #1b231e;
  --gold:       #c8a96a;

  /* Tipográfia */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;

  /* Térközök */
  --sp-1: .5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem;
  --sp-5: 3rem; --sp-6: 4.5rem; --sp-7: 6.5rem;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 18px rgba(28,51,39,.08);
  --shadow-md: 0 18px 48px rgba(28,51,39,.14);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--green-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

p { color: #34433a; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.4rem); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--green-500);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content:""; width: 30px; height: 1px; background: var(--green-400); display:inline-block; }

.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .35s var(--ease), background .3s, box-shadow .3s; will-change: transform;
}
.btn--primary { background: var(--green-700); color: var(--silver-100); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-900); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--silver-500); }
.btn--ghost:hover { border-color: var(--green-600); background: var(--silver-200); }
.btn--light { background: var(--silver-100); color: var(--green-800); }
.btn--light:hover { background: var(--white); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,248,246,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--silver-300);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--green-900); letter-spacing: .02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--silver-300), var(--green-600));
  display:grid; place-items:center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.brand .mark::after { content:""; width: 12px; height: 12px; border-radius: 0 50% 50% 50%; background: var(--silver-100); transform: rotate(45deg); }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--green-800); position: relative; padding-block: .3rem; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background: var(--green-500); transition: width .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--green-800); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(105deg, rgba(28,51,39,.86) 0%, rgba(46,74,58,.55) 48%, rgba(214,221,216,.15) 100%);
}
.hero__inner { max-width: 660px; color: var(--silver-100); padding-block: var(--sp-6); }
.hero .eyebrow { color: var(--silver-300); }
.hero .eyebrow::before { background: var(--silver-300); }
.hero h1 { color: var(--white); margin: 1rem 0 1.3rem; }
.hero p { color: rgba(238,241,239,.9); font-size: 1.15rem; max-width: 52ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats { display: flex; gap: 2.6rem; margin-top: 3rem; flex-wrap: wrap; }
.hero__stats .num { font-family: var(--font-display); font-size: 2.3rem; color: var(--white); line-height: 1; }
.hero__stats .lbl { font-size: .82rem; color: var(--silver-300); letter-spacing: .04em; }

/* ---------- Section heads ---------- */
.head { max-width: 660px; margin-bottom: var(--sp-5); }
.head--center { margin-inline: auto; text-align: center; }
.head p { margin-top: 1rem; color: var(--green-700); font-size: 1.08rem; }

/* ---------- Feature grid (wellness education) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--white); border: 1px solid var(--silver-300); border-radius: var(--radius);
  padding: 2.2rem 1.9rem; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px; display:grid; place-items:center; margin-bottom: 1.3rem;
  background: linear-gradient(150deg, var(--silver-200), var(--green-300)); color: var(--green-900);
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .96rem; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 5/4; object-fit: cover; width:100%; }
.split__media .badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--white); border-radius: var(--radius-sm);
  padding: 1rem 1.3rem; box-shadow: var(--shadow-md); border: 1px solid var(--silver-300);
}
.split__media .badge strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-700); display:block; }
.split__media .badge span { font-size: .78rem; color: var(--silver-700); letter-spacing: .04em; }
.tick-list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.tick-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; color: #2c3a31; }
.tick-list li::before {
  content:""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef1ef' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

.bg-soft { background: var(--silver-100); }
.bg-deep { background: var(--green-900); color: var(--silver-200); }
.bg-deep h2, .bg-deep h3 { color: var(--white); }
.bg-deep p { color: rgba(227,232,228,.82); }
.bg-deep .eyebrow { color: var(--green-300); }
.bg-deep .eyebrow::before { background: var(--green-400); }

/* ---------- Product ---------- */
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.product__visual {
  background: radial-gradient(circle at 50% 35%, var(--silver-100), var(--silver-300));
  border-radius: var(--radius); padding: 2.5rem; display:grid; place-items:center; box-shadow: var(--shadow-sm);
}
.product__visual img { max-width: 320px; filter: drop-shadow(0 24px 30px rgba(28,51,39,.22)); }
.product__meta { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 1.4rem 0 1.8rem; }
.product__meta .chip { background: var(--silver-200); border: 1px solid var(--silver-300); border-radius: 999px; padding: .45rem 1rem; font-size: .82rem; color: var(--green-700); font-weight: 500; }
.product__specs { display: grid; gap: .7rem; margin-top: 1.4rem; border-top: 1px solid var(--silver-300); padding-top: 1.4rem; }
.product__specs div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.product__specs dt { color: var(--silver-700); }
.product__specs dd { color: var(--green-800); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--silver-300); border-radius: var(--radius-sm); background: var(--white); margin-bottom: 1rem; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--green-900); }
.faq__q .plus { flex: 0 0 24px; height: 24px; position: relative; transition: transform .3s; }
.faq__q .plus::before, .faq__q .plus::after { content:""; position:absolute; background: var(--green-500); border-radius: 2px; }
.faq__q .plus::before { width: 16px; height: 2px; top: 11px; left: 4px; }
.faq__q .plus::after { width: 2px; height: 16px; top: 4px; left: 11px; transition: transform .3s; }
.faq__item[aria-expanded="true"] .plus::after { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 1.5rem 1.4rem; font-size: .97rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); }
.contact__info li { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.contact__info .ico { flex:0 0 44px; height:44px; border-radius: 12px; background: var(--silver-200); display:grid; place-items:center; color: var(--green-700); }
.contact__info .ico svg { width: 20px; height: 20px; }
.contact__info span.t { font-size: .78rem; color: var(--silver-700); text-transform: uppercase; letter-spacing: .1em; display:block; }
.contact__info a, .contact__info p { color: var(--green-800); font-weight: 500; }

.form { background: var(--white); border: 1px solid var(--silver-300); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--green-800); margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--silver-500); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .96rem; background: var(--paper); color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(74,110,88,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #a23b3b; font-size: .8rem; margin-top: .35rem; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #b85555; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: #45554b; }
.check input { width: auto; margin-top: .25rem; }
.form-note { font-size: .8rem; color: var(--silver-700); margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--silver-300); padding-block: var(--sp-6) var(--sp-3); margin-top: var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.2rem; padding-bottom: var(--sp-4); border-bottom: 1px solid rgba(214,221,216,.16); }
.footer-grid .brand { color: var(--white); margin-bottom: 1rem; }
.footer-grid p { color: rgba(214,221,216,.8); font-size: .92rem; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a { display: block; color: rgba(214,221,216,.82); font-size: .92rem; margin-bottom: .7rem; transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: var(--sp-3); font-size: .82rem; color: rgba(214,221,216,.65); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--green-900); color: var(--silver-200); padding-block: var(--sp-6) var(--sp-5); }
.page-hero h1 { color: var(--white); margin-bottom: .8rem; }
.page-hero p { color: rgba(214,221,216,.85); max-width: 60ch; }
.breadcrumb { font-size: .82rem; color: var(--green-300); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.7rem; margin: 2.4rem 0 .9rem; }
.prose h3 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: #34433a; margin-bottom: .9rem; font-size: 1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: .5rem; }
.prose .updated { font-size: .85rem; color: var(--silver-700); margin-bottom: 2rem; padding: .8rem 1.1rem; background: var(--silver-100); border-radius: var(--radius-sm); display: inline-block; }
.prose a { color: var(--green-600); text-decoration: underline; text-underline-offset: 3px; }

.notice {
  background: var(--silver-100); border-left: 4px solid var(--green-500); border-radius: var(--radius-sm);
  padding: 1.3rem 1.6rem; margin: 1.6rem 0;
}
.notice strong { color: var(--green-900); }

/* ---------- Success page ---------- */
.success-wrap { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--sp-6); }
.success-card { max-width: 560px; }
.success-icon { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.8rem; background: linear-gradient(150deg, var(--green-400), var(--green-700)); display:grid; place-items:center; box-shadow: var(--shadow-md); animation: pop .6s var(--ease); }
.success-icon svg { width: 44px; height: 44px; }
@keyframes pop { 0%{transform:scale(.5); opacity:0;} 60%{transform:scale(1.1);} 100%{transform:scale(1); opacity:1;} }
.success-card .ref { display:inline-block; margin-top: 1.4rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--green-700); background: var(--silver-100); padding: .5rem 1.2rem; border-radius: 999px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); padding: 1.4rem 2rem 2rem; gap: 1rem; border-bottom: 1px solid var(--silver-300);
    box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 86vh; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.6rem; }
}

/* Accessibility */
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green-900); color: #fff; padding: .8rem 1.2rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto; } .reveal { opacity:1; transform:none; } }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  width: min(960px, calc(100% - 2rem)); background: var(--green-900); color: var(--silver-200);
  border-radius: var(--radius); padding: 1.3rem 1.6rem; box-shadow: var(--shadow-md); z-index: 150;
  display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; justify-content: space-between;
  transition: transform .4s var(--ease), opacity .4s;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { color: rgba(227,232,228,.85); font-size: .9rem; flex: 1 1 360px; }
.cookie-banner a { color: var(--green-300); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: .7rem; }
