/* ==========================================================================
   VET-PROFIL Kft. – egységes stíluslap
   --------------------------------------------------------------------------
   1. Betűtípus
   2. Arculati változók (színek, méretek)
   3. Alapok (reset, tipográfia, sorkizárás)
   4. Elrendezés és segédosztályok
   5. Gombok
   6. Fejléc és navigáció
   7. Hero és oldalfejlécek
   8. Fotók és galéria
   9. Tartalmi blokkok (számok, kártyák, előnyök, lépések, CTA, idővonal…)
  10. Termékkör
  11. GYIK
  12. Űrlapok
  13. Kapcsolat és kapcsolattartó
  14. Jogi szövegek
  15. Állapotoldalak (köszönjük, 404)
  16. Lábléc
  17. Animáció
   ========================================================================== */


/* 1. Betűtípus ------------------------------------------------------------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* 2. Arculati változók ----------------------------------------------------- */
:root {
  /* felületek */
  --bg: #fbf8f4;
  --surface: #ffffff;
  --surface-2: #f4ede4;
  --line: #e8e0d5;
  --line-strong: #d6cbbd;
  /* szöveg */
  --ink: #1f1d1b;
  --ink-2: #5a544d;
  --ink-3: #8a8279;
  /* márka */
  --brand-1: #f3bd6e;
  --brand-2: #e8873c;
  --brand-text: #a5520f;
  --brand-soft: #fcefe0;
  --brand-ring: rgba(236, 154, 74, .18);
  --grad: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  --red: #d8283a;
  --green: #3f8b4c;
  --dark: #1f1d1b;
  /* formák */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --shadow: 0 1px 2px rgba(31, 29, 27, .04), 0 8px 28px rgba(31, 29, 27, .06);
  /* elrendezés */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 9vw, 120px);
  --header-h: 78px;
}


/* 3. Alapok ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

/* Sorkizárás: a folyó szövegek sorkizártak, elválasztással */
main p,
main li,
.footer-brand p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
/* kivételek: középre zárt, címkeszerű és rövid elemek */
main .center p,
main .status p,
main .hero-note,
main .person-name p,
main .contact-list li,
main .steps li,
main .timeline li,
main .chips,
main .choices,
main .form-foot,
main nav li { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
main .status p { text-align: center; }
main .form-card > p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* linkek, e-mail-címek, URL-ek soha ne kapjanak elválasztójelet */
main a, .site-footer a { -webkit-hyphens: none; hyphens: none; }
/* keskeny kijelzőn a nagy betűs bevezetők sorkizárva túl nagy szóközöket kapnának */
@media (max-width: 480px) { main .lead { text-align: left; } }
main .steps li p,
main .timeline li p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }


/* 4. Elrendezés és segédosztályok ----------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(880px + 2 * var(--gutter)); }
.wrap--narrow { max-width: calc(720px + 2 * var(--gutter)); }

.section { padding: var(--section) 0; }
.section--tint { background: var(--surface-2); }
.section--white { background: var(--surface); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }
.link { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.fineprint { font-size: .85rem; margin: 12px 0 0; }

.mt-s { margin-top: 20px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 40px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Szakaszcímke – a logó piros-zöld vonalaira utal */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-text); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; flex: none; width: 34px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 42%, transparent 42% 58%, var(--green) 58% 100%);
}
h1 > .eyebrow { display: flex; width: fit-content; margin-bottom: 18px; line-height: 1.5; }
h2.eyebrow { font-size: .8rem; letter-spacing: .14em; line-height: 1.5; }
.h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--tight { margin-bottom: 4px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Rácsok */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > * { min-width: 0; }
.split--top { align-items: start; }
.split .photo { aspect-ratio: 5 / 4; }

@media (max-width: 1020px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
}


/* 5. Gombok ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.25; text-align: center; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--grad); color: var(--ink); box-shadow: 0 6px 20px rgba(232, 135, 60, .28); }
.btn--primary:hover { box-shadow: 0 10px 28px rgba(232, 135, 60, .38); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* telefonon a gombok kitöltik a sort, a hosszú felirat tördelhető */
@media (max-width: 560px) {
  .btn { white-space: normal; padding: 12px 22px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}


/* 6. Fejléc és navigáció --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; transition: color .15s, background-color .15s;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; min-width: 50px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--ink-2);
}
.lang:hover { color: var(--ink); border-color: var(--ink); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-extra { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 12px; }
  .nav .nav-mobile-extra .btn { width: 100%; border-radius: 999px; padding: 12px 22px; font-size: 1rem; }
  .nav .btn--primary { color: var(--ink); background: var(--grad); }
  .nav .btn--dark { color: #fff; background: var(--ink); }
}
@media (max-width: 420px) {
  :root { --header-h: 70px; }
  .brand img { height: 34px; }
  .header-inner { gap: 10px; }
  .lang { height: 40px; min-width: 44px; padding: 0 10px; }
  .nav-toggle { width: 42px; height: 42px; }
}


/* 7. Hero és oldalfejlécek ------------------------------------------------- */
.hero { padding: clamp(36px, 7vw, 96px) 0 clamp(48px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 32px; }
.hero-media { position: relative; }
.hero-media .photo { aspect-ratio: 4 / 4.4; border-radius: var(--radius-xl); }
.hero-badge {
  position: absolute; left: -24px; bottom: 32px; z-index: 2; max-width: 280px;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: var(--surface); border-radius: 16px; box-shadow: var(--shadow);
}
.hero-badge img { width: 40px; height: 40px; flex: none; }
.hero-badge strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.hero-badge span { font-size: .85rem; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media .photo { aspect-ratio: 16 / 11; }
  .hero-badge { left: 14px; bottom: 14px; right: auto; max-width: calc(100% - 28px); padding: 12px 16px; }
}

.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }
.page-hero .lead { margin-bottom: 0; }


/* 8. Fotók és galéria ------------------------------------------------------ */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.history-photo { aspect-ratio: 4 / 3; margin-top: 36px; border-radius: var(--radius-lg); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .photo { aspect-ratio: 4 / 3; }
.gallery .photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery .photo { border-radius: var(--radius-sm); }
  .gallery .photo:first-child,
  .gallery .photo:nth-child(even):last-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}


/* 9. Tartalmi blokkok ------------------------------------------------------ */
/* Számok sáv */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat { padding: 30px 28px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat b { flex: none; min-width: 7.2rem; font-size: 1.45rem; }
}

/* Kártyák */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; }
a.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.icon {
  width: 54px; height: 54px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-text);
  display: inline-flex; align-items: center; justify-content: center; flex: none; margin-bottom: 22px;
}
.icon svg { width: 28px; height: 28px; }
/* telefonon az ikon a cím mellé kerül – tömörebb, rendezettebb kártyák */
@media (max-width: 640px) {
  .card:has(> .icon) { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; }
  .card > .icon { width: 44px; height: 44px; border-radius: 12px; margin: 0; }
  .card > .icon svg { width: 22px; height: 22px; }
  .card > .icon + h3 { margin: 0; }
  .card:has(> .icon) > :not(.icon):not(h3) { grid-column: 1 / -1; margin-top: 12px; }
}

/* Termékkártyák (termékkép + szöveg) */
.product-media {
  --pad: 14px;
  position: relative; display: block; aspect-ratio: 6 / 5; min-height: 0; margin-bottom: 22px;
  border-radius: 14px; background: radial-gradient(circle at 50% 60%, #fff 0%, var(--brand-soft) 70%);
}
/* minden termékkép azonos magasságú, középre igazítva */
.product-media img {
  position: absolute; top: var(--pad); left: 50%; transform: translateX(-50%);
  height: calc(100% - 2 * var(--pad)); width: auto; max-width: calc(100% - 2 * var(--pad)); object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(31, 29, 27, .16)); transition: transform .3s ease;
}
a.product-card:hover .product-media img { transform: translateX(-50%) translateY(-4px) scale(1.03); }
@media (max-width: 640px) {
  .product-card, a.product-card { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: center; }
  .product-card .product-media { --pad: 10px; width: 96px; height: 96px; aspect-ratio: auto; margin: 0; border-radius: 12px; }
  .product-card h3 { margin: 0; }
  .product-card p { grid-column: 1 / -1; margin-top: 14px; }
  .product-card > * { min-width: 0; }
  .product-card h3 { font-size: 1.12rem; -webkit-hyphens: auto; hyphens: auto; }
}
@media (max-width: 380px) {
  .product-card, a.product-card { grid-template-columns: 76px 1fr; column-gap: 14px; }
  .product-card .product-media { --pad: 8px; width: 76px; height: 76px; }
}

/* Célcsoport címkék */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px 10px 12px; font-weight: 600; font-size: .96rem; line-height: 1.3;
}
.chip svg { width: 22px; height: 22px; flex: none; color: var(--brand-text); }

/* Előnyök */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 34px 30px 34px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.feature:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.feature h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 12px; }
.feature h3 svg { width: 24px; height: 24px; color: var(--brand-text); flex: none; }
.feature p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.feature a { color: var(--brand-text); }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { padding: 24px 0; border-left: 0; }
}

/* Lépések */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: clamp(22px, 3vw, 28px); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: .9rem; font-weight: 800; letter-spacing: .08em; color: var(--brand-text); margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-2); font-size: .96rem; margin: 0; }
@media (max-width: 1020px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 12px; } }

/* Sötét CTA sáv */
.cta-band {
  position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: var(--radius-xl);
  padding: clamp(28px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: var(--grad); opacity: .18; filter: blur(10px); pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; min-width: 0; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: rgba(255, 255, 255, .72); margin: 0; max-width: 56ch; }
.cta-band .eyebrow { color: var(--brand-1); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; gap: 24px; border-radius: var(--radius-lg); } }

/* Állatorvosi háttér blokk */
.vet {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
}
.vet > * { min-width: 0; }
.vet .icon { margin: 0; width: 64px; height: 64px; border-radius: 20px; }
.vet .icon svg { width: 32px; height: 32px; }
.vet h3 { font-size: 1.4rem; }
.vet p { color: var(--ink-2); }
.vet p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .vet { grid-template-columns: 1fr; gap: 18px; } }

/* Idővonal */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 32px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand-2);
}
.timeline b { display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 4px; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .3em; }
.timeline p { color: var(--ink-2); margin: 0; }
@media (max-width: 560px) { .timeline li { padding-left: 32px; } }


/* „Röviden” tényblokk */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* 10. Termékkör ------------------------------------------------------------ */
.cat {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line);
}
.cat > * { min-width: 0; }
.cat:first-of-type { border-top: 0; padding-top: 0; }
.cat:nth-of-type(even) .cat-visual { order: 2; }
.cat-visual { position: relative; aspect-ratio: 5 / 4; }
.cat-visual .photo { position: absolute; inset: 0; border-radius: var(--radius-lg); }
/* termékkép a fotó sarkában, fehér lapon */
.cat-product {
  position: absolute; left: 18px; bottom: 18px; z-index: 2; width: 32%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; padding: 14px;
  background: var(--surface); border-radius: 20px; box-shadow: 0 10px 30px rgba(31, 29, 27, .18);
}
.cat-product img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(31, 29, 27, .15)); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5520f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
main .ticks li { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
@media (max-width: 820px) {
  .cat { grid-template-columns: 1fr; gap: 24px; }
  .cat:nth-of-type(even) .cat-visual { order: 0; }
  .cat-visual { aspect-ratio: 16 / 10; }
  .cat-product { left: 12px; bottom: 12px; width: 28%; max-width: 120px; border-radius: 14px; padding: 8px; }
}


/* 11. GYIK ----------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 clamp(18px, 3vw, 24px); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; padding: 20px 36px 20px 0; position: relative; font-size: 1.04rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--ink-2); border-bottom: 2.5px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); margin: 0 0 20px; }


/* 12. Űrlapok -------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 48px); box-shadow: var(--shadow); min-width: 0; }
.form-title { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid > * { min-width: 0; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; gap: 16px; } }

.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a544d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); background-color: #fff; box-shadow: 0 0 0 4px var(--brand-ring); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; container-type: inline-size; }
.legend-note { display: inline-block; white-space: nowrap; font-weight: 500; color: var(--ink-3); font-size: .85rem; margin-left: 6px; }

/* Választható kategóriakártyák */
.choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
@container (min-width: 600px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-box {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px;
  padding: 12px 16px 12px 18px; border-radius: 14px; background: var(--bg); border: 1.5px solid var(--line);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.choice:hover .choice-box { border-color: var(--line-strong); background: #fff; }
.choice-label { flex: 1; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.choice-tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #cfc5b8; background: #fff; transition: background-color .15s, border-color .15s; }
.choice input:checked + .choice-box { border-color: var(--brand-2); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(236, 154, 74, .12); }
.choice input:checked + .choice-box .choice-tick {
  border-color: var(--brand-2);
  background: var(--brand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.choice input:focus-visible + .choice-box { outline: 3px solid var(--brand-2); outline-offset: 2px; }

/* Hozzájárulás + küldés */
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; max-width: 560px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-2); flex: none; }
.check a { color: var(--brand-text); }
@media (max-width: 560px) { .form-foot { flex-direction: column; align-items: stretch; } .form-foot .btn { width: 100%; } }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: none; border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 22px; font-weight: 600; }
.alert--error { background: #fdecee; color: #8f1d29; border: 1px solid #f5c2c8; }
.alert a { color: inherit; }
.alert.is-visible { display: block; }


/* 13. Kapcsolat és kapcsolattartó ----------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.contact-list li > div { min-width: 0; }
.contact-list .icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--ink-3); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list span { font-weight: 700; font-size: 1.08rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand-text); }

.data-table { width: 100%; border-collapse: collapse; font-size: .96rem; table-layout: fixed; }
.data-table th, .data-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.data-table th { color: var(--ink-3); font-weight: 600; width: 44%; padding-right: 16px; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
@media (max-width: 420px) { .data-table { font-size: .9rem; } .data-table th { width: 46%; padding-right: 10px; } }

.person {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 32px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px);
}
.person > * { min-width: 0; }
.person > .icon { margin: 0; width: 64px; height: 64px; border-radius: 20px; }
.person > .icon svg { width: 30px; height: 30px; }
.person-name h3 { font-size: 1.4rem; margin-bottom: .15em; }
.person-name p { margin: 0; color: var(--ink-2); font-weight: 600; }
.person-contacts { grid-template-columns: auto auto; gap: 16px 32px; }
@media (max-width: 900px) {
  .person { grid-template-columns: auto 1fr; }
  .person-contacts { grid-column: 1 / -1; grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .person { gap: 18px 16px; }
  .person > .icon { width: 52px; height: 52px; border-radius: 16px; }
}


/* 14. Jogi szövegek -------------------------------------------------------- */
.prose > * { max-width: 780px; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.5rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--brand-text); overflow-wrap: anywhere; }


/* 15. Állapotoldalak ------------------------------------------------------- */
.status { text-align: center; }
.status h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.status .lead { margin-left: auto; margin-right: auto; }
.status-icon { width: 72px; height: 72px; border-radius: var(--radius-lg); }


/* 16. Lábléc --------------------------------------------------------------- */
main { padding-bottom: var(--section); }
/* ha az oldal színes háttérű szakasszal zárul, az közvetlenül a lábléchez illeszkedik */
main:has(> .section--white:last-child, > .section--tint:last-child) { padding-bottom: 0; }
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: clamp(48px, 7vw, 88px) 0 32px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-brand img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-title { color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-legal {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .85rem; color: rgba(255, 255, 255, .5);
}
.footer-legal .ids { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { margin-top: 40px; flex-direction: column; }
  .footer-legal .ids { flex-direction: column; gap: 4px; }
}


/* 16/b. Sütihozzájárulás ---------------------------------------------------- */
.linklike { font: inherit; color: rgba(255, 255, 255, .82); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.linklike:hover { color: #fff; }
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(440px, calc(100% - 40px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(31, 29, 27, .18); padding: 22px 22px 20px;
}
.consent[hidden] { display: none; }
.consent-title { font-weight: 800; font-size: 1.02rem; margin: 0 0 6px; }
.consent-text { font-size: .9rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 16px; }
.consent-text a { color: var(--brand-text); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .btn { width: 100%; }
@media (max-width: 480px) { .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; } }

/* 17. Animáció ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.card { transition: none; }
}
