/* ============================================================
   Cardi Comfort — nyilvános oldal
   Az eredeti cardicomfort.ro formanyelve (zöld sávok, hullámos
   elválasztók, piros pirulagombok), mai tipográfiával és rácsokkal.
   ============================================================ */

:root {
  --green:      #8ec038;
  --green-deep: #5d8a1c;
  --green-dark: #3c5a12;
  --red:        #da2424;
  --red-dark:   #b61b1b;

  --ink:    #292d35;
  --ink-2:  #4a5260;
  --ink-3:  #78818f;
  --cream:  #f3f5ed;
  --paper:  #ffffff;
  --line:   #e4e8dd;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --pill: 999px;

  --sh-1: 0 1px 2px rgba(41, 45, 53, .05), 0 4px 14px rgba(41, 45, 53, .07);
  --sh-2: 0 2px 6px rgba(41, 45, 53, .06), 0 14px 36px rgba(41, 45, 53, .11);
  --sh-3: 0 10px 24px rgba(41, 45, 53, .10), 0 34px 70px rgba(41, 45, 53, .16);

  --wrap: 1200px;
  --gut:  20px;
  --wave: 150px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(15.5px, .3vw + 15px, 17px)/1.7 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, video { max-width: 100%; height: auto; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 700; line-height: 1.14; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.35rem); }
p  { margin: 0 0 1.1em; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* Keskeny kepernyon a felirat tobb sorba tort, es a -60px nem volt eleg:
   a doboz alja belelogott a fejlecbe. A szazalekos eltolas mindig fedi. */
.skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -110%);
  z-index: 100; padding: .7em 1.2em; background: var(--ink); color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm); text-decoration: none;
  max-width: 90vw; text-align: center;
}
.skip:focus { transform: translate(-50%, 0); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }

/* ---------------------------------------------------- címek */

.section-title {
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
  text-align: center; font-weight: 700; color: var(--ink);
}
.big { font-weight: 800; }
.big .line-1, .big .line-2 { display: block; }
.big .line-2 { color: var(--red); }
.split-title {
  margin-bottom: .7em; font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700;
  line-height: 1.22; color: var(--ink);
}
.split-title .lead-in { color: var(--ink); }
.split-title .accent { color: var(--red); }
.accent { color: var(--red); }

/* ---------------------------------------------------- hullám */

.wave { height: var(--wave); overflow: hidden; line-height: 0; }
.wave svg { width: 100%; height: 100%; stroke: none; }
@media (max-width: 760px) { :root { --wave: 50px; } }

/* ---------------------------------------------------- gombok */

.btn {
  --bg: var(--red); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .85em 2.1em; border: 2px solid var(--bd); border-radius: var(--pill);
  background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-red { --bg: var(--red); --fg: #fff; }
.btn-red:hover { --bg: var(--green); --fg: #fff; }
.btn-green { --bg: var(--green); --fg: #fff; }
.btn-green:hover { --bg: var(--red); --fg: #fff; }
.btn-white { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-white:hover { --bg: transparent; --fg: #fff; }
.btn-lg { padding: .95em 2.4em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 1.6rem; }
.chev { width: 17px; height: 17px; }

/* ---------------------------------------------------- fejléc */

.site-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  padding-block: 1.1rem;
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.brand-logo { width: 42px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; color: var(--red);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
.brand-text small { font-size: .78rem; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }

.site-nav { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.6rem); }
.site-nav > a {
  position: relative; padding: .35em 0; color: #fff; font-weight: 600; font-size: .95rem;
  text-decoration: none; text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.site-nav > a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--red); transition: right .22s var(--ease);
}
.site-nav > a:hover::after, .site-nav > a[aria-current]::after { right: 0; }

/* belső oldalakon (nincs hero) a fejléc fehér sávban ül */
body[data-page="legal"] .site-head,
body[data-page="submit"] .site-head,
body[data-page=""] .site-head {
  position: sticky; background: #fff; border-bottom: 1px solid var(--line);
}
body[data-page="legal"] .brand-text small,
body[data-page="submit"] .brand-text small { color: var(--ink-3); text-shadow: none; }
body[data-page="legal"] .brand-text strong,
body[data-page="submit"] .brand-text strong { text-shadow: none; }
body[data-page="legal"] .site-nav > a,
body[data-page="submit"] .site-nav > a { color: var(--ink-2); text-shadow: none; }

.navtoggle, .burger { display: none; }
.burger { width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer; }
.burger span {
  display: block; height: 2px; margin: 5px 10px; background: #fff; border-radius: 2px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .4); transition: .2s var(--ease);
}
body[data-page="legal"] .burger span, body[data-page="submit"] .burger span { background: var(--ink); box-shadow: none; }

@media (max-width: 860px) {
  .burger { display: grid; align-content: center; }
  .site-nav {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gut) 1.25rem; background: #fff;
    box-shadow: var(--sh-2); transform: translateY(-130%); transition: transform .26s var(--ease);
  }
  .navtoggle:checked ~ .site-nav { transform: translateY(0); }
  .navtoggle:checked ~ .burger span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
  .navtoggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .navtoggle:checked ~ .burger span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }
  .site-nav > a { padding: .9em 0; border-bottom: 1px solid var(--line); color: var(--ink); text-shadow: none; font-size: 1.05rem; }
  .site-nav .btn { margin-top: 1rem; }
}

/* ---------------------------------------------------- hero */

.hero {
  position: relative; display: grid; align-items: center;
  min-height: min(100vh, 768px); padding: 6rem 0 3rem;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20, 24, 18, .45) 0%, rgba(20, 24, 18, .18) 55%, rgba(20, 24, 18, 0) 100%);
}
.hero-inner { max-width: 46rem; }
.hero h1 { margin-bottom: .45em; text-shadow: 0 2px 26px rgba(0, 0, 0, .45); }
.hero-sub {
  margin-bottom: 2em; font-size: clamp(.92rem, 1vw, 1.05rem); font-weight: 700;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
}

/* ---------------------------------------------------- zöld pipasáv */

.badges { background: var(--green); }
.badges-inner {
  display: grid; grid-template-columns: repeat(var(--badges, 6), minmax(0, 1fr));
  padding-block: clamp(1.5rem, 3vw, 2.2rem);
}
.badge {
  display: grid; justify-items: center; gap: .6rem;
  padding-inline: clamp(.2rem, .7vw, .55rem);
  border-left: 1px solid rgba(255, 255, 255, .55); text-align: center;
}
.badge:first-child { border-left: 0; }
.badge-tick {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--red); color: #fff;
}
.badge-tick svg { width: 19px; height: 19px; stroke-width: 2.8; }
/* a feliratok egy sorban állnak, bármennyi van: a betű a helyhez szűkül */
.badge-label {
  font-size: clamp(.68rem, .92vw, .86rem); font-weight: 700; line-height: 1.25;
  color: var(--ink); overflow-wrap: break-word;
}

@media (max-width: 860px) {
  .badges-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 0; }
  .badge-label { font-size: .86rem; }
}
@media (max-width: 420px) { .badges-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------- szöveg + videó */

.split { background: var(--cream); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.split-inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start;
}
.split-solo { grid-template-columns: minmax(0, 48rem); justify-content: center; }
.split-media { position: sticky; top: 1.5rem; }
.split-media video {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-lg); background: #11140e; box-shadow: var(--sh-2);
}

/* ---------------------------------------------------- rich text */

.rich > :last-child { margin-bottom: 0; }
.rich p { color: var(--ink-2); }
.rich strong { color: var(--ink); font-weight: 700; }
.rich ul, .rich ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.rich ol { counter-reset: n; }
.rich li { position: relative; padding-left: 1.6em; margin-bottom: .45em; color: var(--ink-2); }
.rich ul > li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 700;
}
.rich ol > li::before {
  counter-increment: n; content: counter(n) '.'; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--red);
}
.rich h4, .rich h5, .rich h6 { margin: 1.7em 0 .5em; font-size: 1.08rem; font-weight: 700; }
.rich-sm { font-size: .94rem; }
.rich-sm li { margin-bottom: .32em; }

/* ---------------------------------------------------- lenyílók */

.more > summary { cursor: pointer; list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary .chev { transition: transform .2s var(--ease); }
.more[open] > summary .chev { transform: rotate(180deg); }

.sum-pill {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .72em 1.8em; border: 2px solid transparent; border-radius: var(--pill);
  font-weight: 700; font-size: .95rem; transition: .22s var(--ease);
}
.sum-red   { background: var(--red);   color: #fff; }
.sum-red:hover   { background: var(--green); }
.sum-green { background: var(--green); color: #fff; }
.sum-green:hover { background: var(--red); }
.sum-white { background: #fff; color: var(--ink); border-color: #fff; }
.sum-white:hover { background: transparent; color: #fff; }

.sum-round {
  display: grid; place-items: center; width: 38px; height: 38px; margin-top: .6rem;
  border: 1.5px solid var(--line); border-radius: 50%; color: var(--ink-2);
  transition: .2s var(--ease);
}
.sum-round:hover { border-color: var(--red); color: var(--red); }
.sum-round .chev { width: 19px; height: 19px; }

.more { margin-top: 1.4rem; }
.more-body { padding-top: 1.2rem; animation: reveal .3s var(--ease); }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } }
.more-center { margin-top: .4rem; text-align: center; }
.more-center > summary { justify-content: center; }
.btn-row .more { margin-top: 0; }

/* ---------------------------------------------------- kerek kártyák */

.cards { background: var(--paper); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.card-grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.card-ring {
  width: clamp(11rem, 16vw, 13.5rem); aspect-ratio: 1; margin-bottom: 1.5rem;
  padding: 14px; border-radius: 50%; background: var(--cream);
  transition: transform .3s var(--ease);
}
.card:hover .card-ring { transform: translateY(-5px); }
.card-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.card h3 { margin-bottom: .15em; font-weight: 800; }
.card-sub { margin-bottom: 1em; font-size: .92rem; font-weight: 700; color: var(--green); }
.card .rich { max-width: 22rem; }
.card .more { margin-top: auto; padding-top: 1.3rem; }

/* ---------------------------------------------------- kiemelt blokkok */

.feature { padding-block: clamp(3rem, 7vw, 5rem); }
.feature-soft  { background: var(--cream); }
.feature-plain { background: var(--paper); }
.feature-green { background: var(--green); }

.feature-green .big .line-1 { color: var(--ink); }
.feature-green .big .line-2 { color: #fff; }
.feature-green .rich p, .feature-green .rich li { color: var(--ink); }
.feature-green .rich strong { color: var(--ink); }
.feature-green .rich ul > li::before { color: #fff; }

.feature-inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center;
}
.feature-flip .feature-media { order: 2; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------------------------------------------------- számsáv */

.stats {
  background: var(--ink) url('../media/images/back-background-min.jpg') center / cover no-repeat fixed;
  color: #fff;
}
.stats-inner {
  display: grid; gap: 1.6rem 1rem; padding-block: clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); text-align: center;
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-num {
  font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; line-height: 1;
  letter-spacing: -.03em; color: var(--green);
}
.stat-label { font-size: .9rem; color: rgba(255, 255, 255, .8); }

/* ---------------------------------------------------- vélemények */

.quotes { position: relative; background: var(--cream); padding-block: clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.leaf { position: absolute; pointer-events: none; opacity: .9; }
.leaf-l { left: -40px; top: 12%; width: 152px; height: 707px; background: url('../media/images/p1.png') no-repeat center / contain; }
.leaf-r { right: -20px; top: 4%; width: 100px; height: 773px; background: url('../media/images/p2.png') no-repeat center / contain; }
@media (max-width: 1100px) { .leaf { display: none; } }

.quote-box { display: flex; align-items: center; gap: clamp(.5rem, 3vw, 2rem); }
.quote-track { flex: 1; min-width: 0; }
.quote { margin: 0; text-align: center; animation: reveal .35s var(--ease); }
.quote-mark { display: block; font-size: 3.8rem; font-weight: 800; line-height: .55; color: var(--green); }
.quote blockquote {
  max-width: 44rem; margin: 1.2rem auto 1.8rem;
  font-size: clamp(.95rem, 1.1vw, 1.05rem); font-style: italic; color: var(--ink-2);
}
.quote figcaption { display: grid; justify-items: center; gap: .6rem; font-weight: 700; font-size: .92rem; }
.avatar { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.quote-nav {
  flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--line); border-radius: 50%; background: transparent;
  color: var(--ink-2); cursor: pointer; transition: .2s var(--ease);
}
.quote-nav:hover { border-color: var(--red); color: var(--red); }
.quote-nav svg { width: 20px; height: 20px; }
.quote-nav[hidden] { display: none; }

/* ---------------------------------------------------- Basic Info */

.infos { background: var(--paper); padding-block: clamp(2.5rem, 6vw, 4rem); }
.info-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start;
}
.info-lead .info-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.info-lead h3 { margin: 1.4rem 0 .6rem; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; }
.info-side { display: grid; gap: 0; }
.info-side .info {
  display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.25rem;
  padding-block: 1.5rem; border-top: 1px solid var(--line);
}
.info-side .info:first-child { border-top: 0; padding-top: 0; }
.info-side .info-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.info-side h3 { margin-bottom: .4em; font-size: 1.08rem; font-weight: 800; }
.tag { margin: 0 0 .25em; font-size: .82rem; font-weight: 700; color: var(--green); }
.info-cta { display: flex; justify-content: flex-start; padding-top: 1.6rem; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-side .info { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------- árak */

.pricing { background: var(--green); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2vw, 2rem); }
.pricing-inner {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 15rem) minmax(0, 3fr); align-items: start;
}
/* négy csomagtól a bevezető a rács fölé kerül, hogy legyen helyük */
.pricing-wide .pricing-inner { grid-template-columns: 1fr; }
.pricing-wide .pricing-head {
  display: grid; gap: .6rem 2.5rem; align-items: start;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
}
.pricing-wide .pricing-head .big { grid-row: span 2; margin: 0; }
.pricing-wide .pricing-head .rich p + p { border-top: 0; padding-top: 0; }
@media (max-width: 760px) { .pricing-wide .pricing-head { grid-template-columns: 1fr; } }
.pricing-head .big { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.pricing-head .big .line-1 { color: var(--ink); }
.pricing-head .big .line-2 { color: #fff; }
.pricing-head .rich p { color: var(--ink); font-size: .9rem; }
.pricing-head .rich p + p { padding-top: 1em; border-top: 1px solid rgba(255, 255, 255, .5); }

.plan-grid {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  gap: clamp(1rem, 1.8vw, 1.6rem);
}
.plan { flex: 1 1 15.5rem; max-width: 24rem; }
.pricing-wide .plan { flex: 1 1 19rem; }
.pricing-wide .plan-star { top: -12px; right: -8px; }
@media (max-width: 560px) { .plan { flex-basis: 100%; max-width: none; } }
.plan {
  display: flex; flex-direction: column; position: relative; min-width: 0;
  padding: clamp(1.5rem, 2.2vw, 2rem) clamp(1.25rem, 1.8vw, 1.6rem);
  background: #fff; border-radius: var(--r); box-shadow: var(--sh-2); text-align: center;
}
.plan-featured { background: var(--cream); box-shadow: var(--sh-3); }
.plan-featured .plan-name, .plan-featured .plan-price, .plan-featured .plan-tag { color: var(--red); }
.plan-featured .plan-brand { color: var(--red); }
.plan-star {
  position: absolute; top: -14px; right: -10px;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--red); color: #fff; box-shadow: var(--sh-1);
}
.plan-star svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }

.plan-tag { margin: 0 0 1rem; font-size: .98rem; font-weight: 700; color: var(--ink); }
.plan-brand { color: var(--red); }
.plan-featured .plan-brand { color: var(--red); }
.plan-old { margin: 0 0 .35em; font-size: 1.05rem; color: var(--ink-2); }
.plan-name {
  margin: 0 0 .05em; font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 700; line-height: 1.15; color: var(--ink);
}
.plan-price {
  margin: 0 0 1.2rem; font-size: clamp(2.1rem, 3vw, 2.7rem); font-weight: 800;
  line-height: 1; letter-spacing: -.03em; color: var(--ink);
}
.plan-unit { margin-left: .14em; font-size: .85rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }

.plan-list { margin: 0 0 1.2rem; padding: 0; list-style: none; text-align: left; font-size: .9rem; }
.plan-list li { display: flex; align-items: start; gap: .6em; margin-bottom: .55em; color: var(--ink-2); }
.tick {
  flex: 0 0 auto; display: grid; place-items: center; width: 19px; height: 19px; margin-top: .18em;
  border-radius: 50%; background: var(--green); color: #fff;
}
.tick svg { width: 12px; height: 12px; stroke-width: 3; }

/* a szovegbe szurt pipa: ugyanaz az ikon, csak sorba igazitva */
.tick-ic { display: inline-grid; width: 1.05em; height: 1.05em; margin: 0 .18em 0 0; vertical-align: -.17em; }
.tick-ic svg { width: .68em; height: .68em; }

.menu-caption { margin: 0 0 .4rem; font-size: .84rem; color: var(--ink-3); text-align: left; }
.menu-list { margin: 0 0 1rem; padding: 0; list-style: none; text-align: left; font-size: .87rem; }
.menu-list li { display: grid; gap: .1rem; padding: .5em 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.menu-list li:first-child { border-top: 0; }
.menu-day { font-weight: 700; color: var(--ink); font-size: .82rem; }
.plan .more-body { text-align: left; }
.plan > .btn { margin-top: auto; }
.plan .more + .btn { margin-top: 1.2rem; }

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

/* ---------------------------------------------------- lábléc */

.site-foot { background: var(--ink); color: #fff; font-size: .92rem; }
.foot-inner {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem); padding-block: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1.4fr repeat(var(--fcols, 3), minmax(0, 1fr));
}
.foot-brand strong { display: block; font-size: 1.15rem; font-weight: 800; color: #fff; }
.foot-brand p { margin: .25em 0 1.25em; color: var(--green); }
.foot-col .rich-foot p { margin: 0 0 .8em; }
.foot-col .rich-foot > :last-child { margin-bottom: 0; }
.foot-col .rich-foot ul { margin: 0 0 .8em; padding-left: 1.1em; }
/* A .rich alapszine sotet szurke — a sotet lablecben ettol alig latszott.
   Itt minden szoveg ugyanolyan eros, mint a dokumentum-linkek. */
.site-foot .rich p,
.site-foot .rich li,
.site-foot .rich strong,
.site-foot .rich h4,
.site-foot .rich h5,
.site-foot .rich h6 { color: #fff; }
.foot-col h3 {
  margin-bottom: .8em; font-size: .76rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
}
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--green); text-decoration: underline; }
.social { display: flex; gap: .6rem; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; transition: .2s var(--ease);
}
.social a:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.social svg path { fill: currentColor; stroke: none; }
.foot-note {
  display: flex; justify-content: center; padding-block: 1.2rem; padding-inline: var(--gut);
  border-top: 1px solid rgba(255, 255, 255, .22); font-size: .84rem; color: #fff;
  text-align: center;
}
@media (max-width: 860px) { .foot-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- nyelvváltó */

/* Feher alapon all, hogy a fenykep folott is mind a ket nyelv latsszon. */
.langs {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: var(--pill); background: #fff;
  border: 1px solid rgba(41, 45, 53, .12); box-shadow: var(--sh-1);
}
.langs a {
  display: block; padding: .3em .75em; border-radius: var(--pill);
  color: var(--ink-2); font-size: .82rem; font-weight: 700; letter-spacing: .03em;
  text-decoration: none; text-shadow: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.langs a:hover { color: var(--ink); background: rgba(41, 45, 53, .08); }
.langs a.on { background: var(--red); color: #fff; }
.langs a.on:hover { background: var(--red); color: #fff; }

.langs-home { position: absolute; top: 50%; right: clamp(var(--gut), 4vw, 60px); transform: translateY(-50%); }
.home-brand { display: flex; align-items: center; }
.home-brand-inner { flex: 1; }

@media (max-width: 860px) {
  .site-nav .langs { align-self: flex-start; }
}

/* ---------------------------------------------------- főoldal */

/* Egy képernyőt kitöltő nyitólap: zöld hullám + logó fent, két fél képernyős
   fotó középen, krém hullám alul a feliratokkal és a gombokkal. */
.home {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  height: 100svh; min-height: 32rem; background: var(--cream);
}
.home-wave { position: absolute; left: 0; right: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.home-wave svg { display: block; width: 100%; height: 100%; }
.home-wave path { stroke: none; }
.home-wave-top { top: 0; height: 150px; }
.home-wave-bottom { bottom: 0; height: 250px; }

.home-brand { position: absolute; top: 10px; left: 0; right: 0; z-index: 4; }
.home-brand-inner {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: clamp(var(--gut), 4vw, 60px);
}
.home-logo { width: 48px; height: 48px; flex: none; }
.home-brand-text { display: grid; line-height: 1.2; }
.home-brand-text strong { color: var(--red); font-size: 20px; font-weight: 800; }
.home-brand-text small { color: #fff; font-size: 13px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }

.home-split { flex: 1; display: flex; min-height: 0; }
.home-pane { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; text-align: center; }
.home-photo {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.home-pane:hover .home-photo { transform: scale(1.04); }

/* a felirat a krém hullámon ül, ezért sötét szöveg */
.home-pane-text { position: absolute; left: 0; right: 0; bottom: 69px; z-index: 3; padding-inline: 1rem; }
.home-pane-text h2 {
  margin: 0 0 1rem; font-size: clamp(1rem, 2.3vw, 2rem);
  font-weight: 400; line-height: 1.3; color: var(--ink);
}
.home-go {
  display: inline-block; border-radius: var(--pill);
  background: var(--red); color: #fff; font-weight: 500; text-decoration: none;
  font-size: clamp(1rem, 1.6vw, 1.375rem); line-height: 1.3;
  padding: clamp(.3rem, .7vw, .625rem) clamp(1.25rem, 2.8vw, 2.5rem);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.home-go:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }

.home-foot {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 6; margin: 0;
  padding-inline: var(--gut);
  text-align: center; font-size: 12px; color: var(--ink-2);
}
.home-foot a { color: var(--ink-2); }

@media (max-width: 768px) {
  .home-pane-text { bottom: 125px; }
  .home-wave-top { height: 110px; }

  /* Telefonon a nyelvvaltot nem lebegtetjuk a markanev fole: egy sorba
     kerul vele, kulonben a ket elem egymasra csuszik. */
  .home-brand { padding-inline: var(--gut); gap: 10px; }
  .home-brand-inner { min-width: 0; padding-inline: 0; }
  .langs-home { position: static; transform: none; flex: 0 0 auto; }
  .home-logo { width: 40px; height: 40px; }
  .home-brand-text { min-width: 0; }
  .home-brand-text strong { font-size: 17px; }
  .home-brand-text small { font-size: 12px; }
}

@media (max-width: 380px) {
  /* a felirat itt mar harom sorra tort es felcsuszott a fotora */
  .home-pane-text { bottom: 100px; padding-inline: .6rem; }
  .home-brand-text strong { font-size: 15px; }
  .home-brand-text small { font-size: 11px; }
  .home-logo { width: 34px; height: 34px; }
  .home-foot { font-size: 11px; }
}
/* egyetlen ajánló esetén ne vágjuk félbe a képet */
.home[style*="--panes:1"] .home-pane-text { max-width: 36rem; margin-inline: auto; }

/* ---------------------------------------------------- dokumentumok */

.doc { padding-block: clamp(2.5rem, 6vw, 4rem); }
.doc-inner { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
.doc-nav { position: sticky; top: 5.5rem; display: grid; gap: .25rem; }
.doc-nav a { padding: .7em .9em; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; }
.doc-nav a:hover { background: var(--cream); color: var(--ink); }
.doc-article { max-width: 46rem; scroll-margin-top: 6rem; }
/* a nyitó gomb ide görget, ne bújjon a fejléc alá */
.pricing { scroll-margin-top: 1rem; }
.doc-article + .doc-article { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.doc-article h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 860px) {
  .doc-inner { grid-template-columns: 1fr; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; gap: .4rem; }
  .doc-nav a { background: var(--cream); }
}

/* ---------------------------------------------------- eredmény lap */

.result { display: grid; place-items: center; min-height: 70vh; padding-block: clamp(2.5rem, 6vw, 5rem); }
.result-card {
  max-width: 34rem; margin-inline: auto; padding: clamp(2rem, 4vw, 3rem); text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.result-card h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.result-card p { color: var(--ink-2); }
.result-icon {
  width: 56px; height: 56px; margin: 0 auto 1.25rem; padding: 12px;
  border-radius: 50%; background: rgba(142, 192, 56, .18); color: var(--green-deep); stroke-width: 2.5;
}
.result-text { color: var(--ink-2); }
.result-text > :last-child { margin-bottom: 0; }
.result-text ul, .result-text ol { margin: 0 0 1rem; padding-left: 1.3em; text-align: left; }
.result-text li { margin-bottom: .35rem; }
.result-ref { font-size: .85rem; color: var(--ink-3); }
.result-ref code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.result-err ul { margin: 0 0 1.75rem; padding: 0; list-style: none; text-align: left; }
.result-err li { padding: .7em 1em; margin-bottom: .5rem; border-radius: var(--r-sm); background: #fdecec; color: #8f1a1a; font-size: .93rem; }
.result-card .btn { margin-top: .5rem; }

/* ---------------------------------------------------- párbeszédpanel */

.sheet {
  width: min(100%, 40rem); max-height: calc(100dvh - 2rem); padding: 0;
  border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-3); color: var(--ink);
  overflow: auto; overscroll-behavior: contain;
}
.sheet-head {
  position: sticky; top: calc(clamp(1.5rem, 3vw, 2.25rem) * -1); z-index: 2;
  margin: calc(clamp(1.5rem, 3vw, 2.25rem) * -1) calc(clamp(1.5rem, 3vw, 2.25rem) * -1) 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem) 1rem;
  background: linear-gradient(#fff 72%, rgba(255, 255, 255, 0));
}
.sheet::backdrop { background: rgba(33, 33, 33, .8); }
.sheet[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(40px) scale(.94); } }
.sheet-body { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.sheet-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.sheet-head h2 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.65rem); color: var(--red); text-align: center; flex: 1; }
.sheet-x {
  flex: 0 0 auto; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--cream); color: var(--ink-2); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.sheet-x:hover { background: var(--line); color: var(--ink); }
.sheet-lead {
  margin: -.4rem 0 0; padding: .8em 0; border-block: 1px solid var(--line);
  color: var(--ink); font-size: .94rem; font-weight: 600; text-align: center;
}
.sheet-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.sheet-hint { margin: 0; font-size: .85rem; color: var(--ink-3); }
.sheet-foot .btn { margin-left: auto; }

/* ---------------------------------------------------- űrlap */

.field { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; }
.field > span, .field > legend { font-size: .88rem; font-weight: 700; color: var(--ink); padding: 0; }
.field > span small, .field > legend small { font-weight: 500; color: var(--ink-3); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: .72em .9em; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: .95rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(142, 192, 56, .22); outline: none; }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--red); }
textarea { resize: vertical; min-height: 5rem; }
select {
  appearance: none; padding-right: 2.4em; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5260' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; background-size: 18px;
}
.grid-2 { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.choices { display: grid; gap: .5rem; }
.choices-set { display: grid; gap: .5rem; }
.choices-label { margin: .6rem 0 .1rem; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.choices-label:first-child { margin-top: 0; }

/* hat csomag fölött két oszlopba rendezzük a választékot
   (görgetni magát a panelt kell — a lista belsejében nincs külön görgetés) */
.choices-dense .choices-set { grid-template-columns: 1fr 1fr; }
.choices-dense .choice { padding: .65em .8em; }
.choices-dense .choice span { font-size: .9rem; }
@media (max-width: 620px) { .choices-dense .choices-set { grid-template-columns: 1fr; } }
.choice {
  display: flex; align-items: center; gap: .75rem; padding: .8em 1em;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: .16s var(--ease);
}
.choice:hover { border-color: var(--green); background: var(--cream); }
.choice:has(input:checked) { border-color: var(--green); background: rgba(142, 192, 56, .12); }
.choice input { flex: 0 0 auto; width: 1.15em; height: 1.15em; accent-color: var(--green-deep); }
.choice span { display: grid; font-weight: 600; font-size: .95rem; }
.choice small { font-weight: 500; color: var(--ink-3); }

.segmented { display: flex; gap: .5rem; }
.segmented label { flex: 1; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: block; padding: .72em; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  text-align: center; font-weight: 600; font-size: .95rem; cursor: pointer; transition: .16s var(--ease);
}
.segmented label:hover span { border-color: var(--green); }
.segmented input:checked + span { border-color: var(--green); background: rgba(142, 192, 56, .14); }
.segmented input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.check { display: flex; align-items: start; gap: .7rem; font-size: .9rem; color: var(--ink-2); }
.check input { flex: 0 0 auto; margin-top: .15em; width: 1.15em; height: 1.15em; accent-color: var(--green-deep); }

/* ------------------------------------------- kalóriakalkulátor panel
   Az eredeti oldal kalkulátorának szűk, soronként címke + mező felépítése. */

.sheet-calc { width: min(100%, 25.5rem); }
.sheet-calc .sheet-body { gap: .75rem; padding: 1.15rem 1.15rem 2rem; }
.sheet-calc .sheet-head { margin: -1.15rem -1.15rem 0; padding: 1.15rem 1.15rem .6rem; top: -1.15rem; }
.sheet-calc .sheet-head { align-items: center; }
.sheet-calc .sheet-head h2 { font-size: 1.5rem; font-weight: 600; order: 2; margin-top: .6rem; }
/* az eredetin sima szürke x áll a jobb felső sarokban */
.sheet-calc .sheet-x {
  order: 3; align-self: start; width: auto; height: auto; padding: 0 .15em;
  background: none; color: var(--ink-3); font-size: 1.6rem;
}
.sheet-calc .sheet-x:hover { background: none; color: var(--ink); }
.sheet-calc .sheet-lead { font-size: .95rem; }

.calc-line { display: flex; align-items: center; gap: .5rem; }
.calc-line > label {
  flex: 0 0 120px; font-size: 1.05rem; font-weight: 600; color: var(--ink);
}
.calc-line input {
  width: 72px; height: 34px; padding: 0 .6em; border: 1.5px solid var(--green);
  border-radius: 15px; font-size: 1rem; text-align: center;
  -moz-appearance: textfield; appearance: textfield;
}
.calc-line input::-webkit-outer-spin-button,
.calc-line input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-line input.calc-email { width: 100%; max-width: 195px; text-align: left; padding: 0 .8em; }
.calc-unit { color: var(--green-deep); font-weight: 600; }

.calc-group { margin: 0; padding: 0; border: 0; }
.calc-group legend { padding: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.calc-opts { display: grid; gap: .45rem; padding: .35rem 0 .2rem 30px; }
.calc-opt { position: relative; display: block; padding-left: 28px; cursor: pointer; }
.calc-opt input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.calc-opt > span {
  display: block; color: var(--green-deep); font-size: 1.05rem; font-weight: 600; line-height: 1.3;
}
.calc-opt > span::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  border: 1px solid #552d35; border-radius: 50%; background: #fff;
}
.calc-opt > span::after {
  content: ''; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--green); opacity: 0; transform: scale(0);
  transition: .2s var(--ease);
}
.calc-opt input:checked + span::after { opacity: 1; transform: scale(1); }
.calc-opt input:focus-visible + span::before { outline: 3px solid var(--red); outline-offset: 2px; }
/* a leírás az eredetihez hasonlóan a név mellett fut tovább */
.calc-desc { margin-left: .35em; color: var(--ink); font-size: .7rem; font-weight: 400; line-height: 1.35; }

.calc-check { margin-top: .5rem; font-size: .82rem; }
.calc-send { display: flex; justify-content: center; margin-top: 1.4rem; }
.calc-send .btn { border-radius: 15px; padding: .6em 3.1em; font-size: 1rem; }

@media (max-width: 420px) {
  .calc-line > label { flex-basis: 100px; font-size: .95rem; }
  .calc-group legend, .calc-opt > span { font-size: .95rem; }
  .calc-opts { padding-left: 18px; }
}

/* ---------------------------------------------------- reszponzív */

@media (max-width: 860px) {
  .split-inner, .feature-inner { grid-template-columns: 1fr; }
  .feature-flip .feature-media { order: 0; }
  .split-media { position: static; }
  .quote-box { flex-direction: column; }
  .quote-nav { order: 2; }
  .quote-prev { position: absolute; left: var(--gut); bottom: 2.4rem; }
  .quote-next { position: absolute; right: var(--gut); bottom: 2.4rem; }
  .quotes .wrap { position: relative; padding-bottom: 1rem; }
  .stats { background-attachment: scroll; }
}
