/* =========================================================
   Kódműves – stíluslap
   A színek és betűk a :root változókban állíthatók át.
   ========================================================= */

/* Betűtípusok – helyben tárolva (fonts/ mappa), külső szolgáltatás nélkül. Licenc: SIL OFL */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff") format("woff");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff") format("woff");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}

:root {
  --paper: #F5F1E9;
  --paper-2: #ECE5D8;
  --white: #FBF9F5;
  --ink: #1E1A16;
  --ink-2: #121110;
  --muted: #5E554C;
  --muted-light: #B9AFA3;
  --rust: #994D27;
  --rust-dark: #7F3E1E;
  --peach: #D68C5A;
  --line: rgba(30, 26, 22, .14);

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: Georgia, "Times New Roman", serif;

  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-rust: 7px 8px 0 var(--rust);
  --shadow-peach: 7px 8px 0 var(--peach);
}

/* ---------- alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -.045em; line-height: .95; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -.035em; line-height: 1.05; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 920px; }
.section { padding: clamp(28px, 3vw, 42px) 0; position: relative; }
.bg-paper2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 36px; height: 36px; }

/* ---------- tipográfia ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 18px;
}
.bg-ink .eyebrow { color: var(--peach); }
.display { font-size: clamp(2.24rem, 6.3vw, 5.18rem); line-height: .9; }
.display em { font-style: normal; color: var(--rust); }
.display-lg { font-size: clamp(1.75rem, 3.92vw, 3.22rem); line-height: .93; }
.display-md { font-size: clamp(1.4rem, 2.52vw, 2.1rem); }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.55rem); color: var(--muted); max-width: 31em; margin: 34px 0 40px; line-height: 1.5; }
.body-lg { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 40em; margin-top: 26px; }
.body-lg.ink { color: var(--ink); }
.bg-ink .body-lg { color: var(--muted-light); }
.serif { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; }

/* ---------- gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 18px 30px; border-radius: 14px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--peach); outline-offset: 3px;
}
.btn-sm { padding: 14px 22px; font-size: .98rem; }
.btn-lg { padding: 24px 40px; font-size: 1.15rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-rust { background: var(--rust); color: var(--white); }
.btn-rust:hover { background: var(--rust-dark); }
.btn-peach { background: var(--peach); color: var(--ink); }
.btn-peach:hover { background: #E19B6B; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 233, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(30, 26, 22, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -.05em; }
.brand img { border-radius: 11px; }
.brand-light { color: var(--paper); }
.brand-light img { box-shadow: 0 0 0 2px var(--paper); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 1.05rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(18px, 2.4vw, 33px) 0 clamp(28px, 3vw, 42px); overflow: hidden; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco::before {
  content: ""; position: absolute; width: 980px; height: 980px; border-radius: 50%;
  border: 1.5px solid rgba(153, 77, 39, .14); left: 18%; top: 15%;
}
.hero-deco::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0 139px, rgba(30,26,22,.035) 139px 140px);
  mask-image: linear-gradient(90deg, transparent 40%, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .95fr; gap: 40px; align-items: center; }
.hero-flag {
  display: inline-block; margin: 38px 0 18px; padding: 16px 26px;
  background: var(--paper-2); border-left: 5px solid var(--rust);
  font-weight: 700; font-size: 1.2rem;
}
.hero-note { position: relative; padding-left: 30px; color: var(--muted); max-width: 36em; font-size: 1.05rem; }
.hero-note::before { content: ""; position: absolute; left: 0; top: .6em; width: 11px; height: 11px; border-radius: 50%; background: var(--peach); }

.hero-visual { position: relative; min-height: 560px; }
.mock-browser {
  position: absolute; right: 0; top: 60px; width: 88%;
  background: var(--white); border: 2.5px solid var(--ink); border-radius: 26px;
  box-shadow: var(--shadow-rust); overflow: hidden; transform: rotate(-1.2deg);
}
.mock-bar { background: var(--paper-2); border-bottom: 2.5px solid var(--ink); padding: 16px 20px; }
.mock-url { display: block; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-size: .9rem; color: var(--muted); }
.mock-body { padding: 70px 34px 34px; }
.mock-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; }
.mock-title { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.05em; line-height: .95; margin-bottom: 26px; }
.mock-line { display: block; height: 10px; border-radius: 6px; background: var(--paper-2); width: 82%; margin-bottom: 14px; }
.mock-line.short { width: 60%; }
.mock-btn { display: inline-block; margin: 18px 0 28px; background: var(--rust); color: var(--white); font-weight: 700; font-size: .85rem; padding: 12px 24px; border-radius: 8px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards span { height: 64px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper-2); }
.mock-code {
  position: absolute; left: -2%; top: 0; width: 62%; z-index: 2;
  background: var(--ink); color: var(--paper); border-radius: 16px;
  box-shadow: 10px 12px 0 var(--peach); transform: rotate(-2deg);
  animation: floaty 7s ease-in-out infinite;
}
.code-bar { display: flex; align-items: center; gap: 7px; padding: 16px 20px; border-bottom: 1px solid rgba(245,241,233,.12); }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--peach); opacity: .9; }
.code-bar i:nth-child(2) { opacity: .65; } .code-bar i:nth-child(3) { opacity: .4; }
.code-bar span { margin-left: auto; font-size: .82rem; color: var(--muted-light); letter-spacing: .04em; }
.mock-code pre { margin: 0; padding: 22px 24px 26px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .98rem; line-height: 2; white-space: pre; overflow: hidden; }
.mock-code b { color: var(--peach); font-weight: 400; }
.mock-code em { color: #E8C99A; font-style: normal; font-weight: 700; }
.mock-code s { color: #E8C99A; text-decoration: none; }
@keyframes floaty { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }

/* ---------- miért ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.why-intro { position: sticky; top: 120px; }
.why-tag { display: flex; align-items: center; gap: 14px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 700; color: var(--muted); }
.why-tag .ic { color: var(--rust); }
.why-list { border-top: 2px solid var(--ink); }
.why-list li { display: grid; grid-template-columns: 70px 1fr 40px; gap: 16px; padding: 34px 0; border-bottom: 2px solid var(--ink); }
.why-list .num { font-family: var(--f-display); font-weight: 800; color: var(--rust); font-size: 1.15rem; padding-top: 6px; }
.why-list h3 { font-size: clamp(1.2rem, 1.82vw, 1.61rem); margin-bottom: 12px; }
.why-list p { color: var(--muted); max-width: 30em; }
.why-list .ic { color: var(--rust); width: 30px; height: 30px; justify-self: end; transition: transform .3s ease; }
.why-list li:hover .ic { transform: rotate(-8deg) scale(1.1); }
.why-foot { display: flex; align-items: center; gap: 22px; margin-top: 70px; padding-top: 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 1.1rem; }
.why-foot .ic { color: var(--rust); }
.why-foot strong { color: var(--ink); }

/* ---------- referenciák ---------- */
.section-head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 980px; }
.ref-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.ref-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-peach); transition: transform .3s ease, box-shadow .3s ease;
}
.ref-card:nth-child(4n+2), .ref-card:nth-child(4n+3) { box-shadow: var(--shadow-rust); }
.ref-card:hover { transform: translate(-3px, -4px); box-shadow: 12px 14px 0 var(--peach); }
.ref-media {
  position: relative; aspect-ratio: 3 / 2; background-color: var(--ph, #3a3129);
  background-size: cover; background-position: center; color: var(--white);
  padding: 28px 32px; display: flex; flex-direction: column; overflow: hidden;
}
.ref-media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.05) 55%, rgba(0,0,0,.25) 100%),
              radial-gradient(circle at 80% 90%, rgba(214,140,90,.35), transparent 55%);
}
.ref-media > * { position: relative; }
.ref-no { font-weight: 700; letter-spacing: .2em; color: var(--peach); font-size: .9rem; }
.ref-overlay-title { font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em; line-height: .92; font-size: clamp(1.4rem, 2.52vw, 2.17rem); max-width: 8em; margin-top: 18px; }
.ref-overlay-title.serif { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.33rem, 2.1vw, 1.82rem); line-height: 1.05; }
.ref-overlay-title small { display: block; font-family: var(--f-body); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-top: 14px; }
.ref-tag { position: absolute; right: 26px; bottom: 26px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; background: rgba(30,26,22,.55); border: 1px solid rgba(255,255,255,.35); }
.ref-strip { position: absolute; left: 0; right: 0; bottom: 0; background: var(--rust); padding: 18px 28px; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.ref-body { padding: 36px 40px 42px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.ref-body > p:not(.ref-cat) { color: var(--muted); margin: 14px 0 28px; flex: 1; }
.ref-body h3 { font-size: clamp(1.4rem, 2.38vw, 1.96rem); }
.ref-cat { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 26px 0 8px; }
.pill { display: inline-block; border: 1.5px solid var(--rust); color: var(--rust); border-radius: 999px; padding: 7px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pill-muted { border-color: #7b7466; color: #5d5a4e; }
.pill-blue { border-color: #2f6aa6; color: #2f6aa6; }
.ref-dark { background: var(--ink-2); color: var(--paper); border: 1px solid rgba(245,241,233,.15); }
.ref-dark .ref-body > p:not(.ref-cat) { color: var(--muted-light); }
.ref-dark .ref-cat { color: var(--peach); }
.ref-dark .pill { border-color: var(--peach); color: var(--peach); }

.cta-card {
  margin-top: 34px; background: var(--white); color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-rust); padding: 44px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cta-card .eyebrow { margin-bottom: 10px; }
.cta-card p:last-child { color: var(--muted); margin-top: 14px; max-width: 36em; }

/* ---------- árak ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 48px 40px 44px;
}
.price-card h3 { font-size: clamp(1.26rem, 1.68vw, 1.61rem); margin-bottom: 30px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.82rem, 2.8vw, 2.66rem); letter-spacing: -.06em; line-height: .9; margin: 0; white-space: nowrap; }
.price-text { font-size: clamp(1.68rem, 2.66vw, 2.38rem); white-space: normal; }
.price-sub { font-weight: 700; color: var(--muted); margin: 12px 0 0; }
.price-desc { color: var(--muted); margin: 28px 0 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.checks { display: grid; gap: 16px; margin-bottom: 44px; flex: 1; align-content: start; }
.checks li { display: flex; gap: 16px; align-items: flex-start; }
.checks .ic { color: var(--rust); margin-top: 2px; }
.price-featured { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-rust); transform: translateY(-6px); }
.price-featured .price-sub, .price-featured .price-desc { color: var(--muted-light); }
.price-featured .price-desc { border-color: rgba(245,241,233,.18); }
.price-featured .checks .ic { color: var(--peach); }
.badge { position: absolute; top: 24px; right: 24px; border: 1.5px solid var(--peach); color: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.price-featured .eyebrow { margin-top: 32px; }
.price-custom { background: var(--paper-2); border-color: var(--rust); }
.note { display: flex; gap: 18px; align-items: center; margin: 0; padding: 26px 32px; border-radius: 18px; color: var(--muted); font-size: 1.08rem; }
.note .ic { color: var(--rust); }
.note strong { color: var(--ink); }
.note-dashed { border: 2px dashed var(--ink); margin-top: 52px; }
.note-solid { border: 2px solid var(--rust); background: #F0E7DC; margin-top: 20px; }

/* ---------- folyamat ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.steps li { border-top: 2px solid var(--peach); padding-top: 38px; }
.step-no { display: block; font-family: var(--f-display); font-weight: 800; color: var(--peach); font-size: 2.1rem; letter-spacing: -.04em; line-height: 1; margin-bottom: 30px; }
.steps h3 { margin-bottom: 22px; font-size: clamp(1.2rem, 1.68vw, 1.47rem); }
.steps p { color: var(--muted-light); }

/* ---------- rólam ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-grid p:not(.eyebrow):not(.body-lg) { color: var(--muted); max-width: 36em; margin-top: 26px; }
.portrait { margin: 0; padding: 16px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 28px; box-shadow: var(--shadow-rust); }
.portrait picture { display: block; }
.portrait-img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: 50% 30%;
  border-radius: 18px; border: 2px solid var(--ink);
  background-color: #5a4a3c;
}
.bg-box { margin-top: clamp(21px, 2.7vw, 33px); background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: 6px 7px 0 rgba(30,26,22,.08); }
.bg-box-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: center; margin-bottom: 40px; }
.bg-box-head .eyebrow { margin: 0; }
.bg-box-head p:last-child { color: var(--muted); font-size: 1.15rem; }
.bg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bg-cards article { background: var(--paper); border: 2px solid var(--ink); border-top: 4px solid var(--rust); border-radius: 18px; padding: 30px; }
.dot-no { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--rust); color: var(--white); font-weight: 700; font-size: .95rem; margin-bottom: 44px; }
.bg-cards h3 { font-size: 1.55rem; margin-bottom: 14px; }
.bg-cards p { color: var(--muted); font-size: 1rem; }
.practice-head { margin-top: clamp(24px, 3vw, 39px); margin-bottom: 48px; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.practice-grid article { background: var(--paper-2); border: 2px solid var(--ink); border-radius: 20px; padding: 40px 38px 46px; transition: box-shadow .25s ease, transform .25s ease; }
.practice-grid article:hover { transform: translate(-3px, -3px); box-shadow: 7px 8px 0 rgba(30,26,22,.12); }
.practice-grid .ic { color: var(--rust); margin-bottom: 40px; }
.practice-grid h3 { font-size: 1.6rem; margin-bottom: 22px; }
.practice-grid p { color: var(--muted); }
.cta-strip { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 20px; padding: 28px 32px 28px 38px; }
.cta-strip p { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-size: clamp(1.15rem, 1.82vw, 1.54rem); max-width: 22em; }

/* ---------- GYIK ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: none; border: 0; padding: 40px 0; cursor: pointer; text-align: left; color: var(--ink);
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.04em; font-size: clamp(1.15rem, 1.82vw, 1.5rem); line-height: 1.1;
  transition: color .2s ease;
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--rust); }
.faq-q i { position: relative; flex: none; width: 52px; height: 52px; border: 1.5px solid var(--ink); border-radius: 50%; transition: transform .3s ease, background-color .3s ease; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--rust); transform: translate(-50%, -50%); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--paper); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > p { overflow: hidden; color: var(--muted); max-width: 46em; font-size: 1.1rem; margin: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 36px; }

/* ---------- kapcsolat ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(40px, 6vw, 90px); align-items: start;
  background: var(--rust); color: var(--white); border: 2px solid var(--ink); border-radius: 30px;
  padding: clamp(28px, 3vw, 42px) clamp(28px, 6vw, 100px); box-shadow: 9px 11px 0 var(--rust-dark);
}
.contact-text p { margin-top: 30px; font-size: 1.2rem; opacity: .92; max-width: 30em; }
.contact-form { background: var(--paper); color: var(--ink); border-radius: 26px; padding: 36px 32px; }
.contact-form label { display: block; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 1.5px solid #C9C1B4; border-radius: 12px; padding: 16px 18px;
  transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--rust); outline: none; box-shadow: 0 0 0 3px rgba(153,77,39,.18); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input.invalid { border-color: #B3261E; }
.select-wrap { position: relative; margin-bottom: 26px; }
.select-wrap::after { content: ""; position: absolute; right: 20px; top: 50%; border: 6px solid transparent; border-top-color: var(--rust); transform: translateY(-25%); pointer-events: none; }
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.field-error { min-height: 1.2em; margin: 6px 0 14px; font-size: .9rem; color: #B3261E; }
.contact-form textarea { margin-bottom: 26px; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { margin: 16px 0 0; font-weight: 700; text-align: center; }
.form-status.ok { color: #2E6B34; }
.form-status.err { color: #B3261E; }
.form-foot { margin-top: 26px; text-align: center; color: var(--muted); font-size: .95rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- aloldalak (szolgáltatások, 404) ---------- */
.page-hero { padding: clamp(18px, 2.4vw, 33px) 0 clamp(28px, 3vw, 42px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .92rem; color: var(--muted); margin-bottom: clamp(18px, 2.4vw, 33px); }
.breadcrumb a { color: var(--rust); font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.page-hero h1 { max-width: 14em; }
.page-hero-btns { margin-top: 30px; }
.price-box { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-rust); }
.price-box .eyebrow { color: var(--peach); }
.price-box .price-sub { color: var(--muted-light); }
.price-box-note { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(245,241,233,.18); color: var(--muted-light); font-size: .95rem; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.split-grid h2 { margin-bottom: 26px; }
.checks-lg { gap: 18px; margin-bottom: 0; }
.checks-lg strong { color: var(--ink); }
.checks-lg span { color: var(--muted); }
.split-note { margin-top: 26px; color: var(--muted); font-size: 1rem; }
.split-note a, .cta-card p a { color: var(--rust); font-weight: 700; }
.cta-card-light { margin-top: 0; border: 2px solid var(--ink); }
.notfound .body-lg { margin-bottom: 0; }
.notfound-links { margin-top: 34px; }
.notfound-links a { color: var(--rust); font-weight: 700; }

/* ---------- lábléc ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(28px, 3vw, 42px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer .eyebrow { color: var(--peach); }
.footer-tag { margin-top: 26px; color: var(--muted-light); }
.footer-mail { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.1rem; }
.footer-mail:hover { color: var(--peach); }
.footer-mail .ic { color: var(--muted-light); width: 20px; }
.footer-mail + .footer-mail { margin-top: 12px; }
.footer-grid > div > .footer-mail { display: flex; width: fit-content; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--paper); }
.footer-links a:hover { color: var(--peach); }
.price-more { display: inline-block; margin: -12px 0 26px; font-weight: 700; font-size: .95rem; color: var(--rust); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; align-self: flex-start; }
.price-more:hover { color: var(--rust-dark); }
.price-featured .price-more { color: var(--peach); }
.contact-direct { font-size: 1.05rem !important; }
.contact-direct a { color: var(--white); font-weight: 700; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid rgba(245,241,233,.35); border-radius: 12px; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.socials a:hover { background: var(--peach); border-color: var(--peach); color: var(--ink); }
.socials .ic { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(245,241,233,.14); color: var(--muted-light); font-size: .92rem; }
.footer-bottom > p { white-space: nowrap; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 28px; }
.footer-nav a, .footer-nav button {
  background: none; border: 0; padding: 0; font: inherit; color: var(--muted-light);
  text-decoration: none; cursor: pointer; transition: color .2s ease;
}
.footer-nav a:hover, .footer-nav button:hover { color: var(--peach); }
.footer-bottom p { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--peach); }

/* ---------- süti-sáv ---------- */
.cookie {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(640px, calc(100% - 40px));
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 32px; box-shadow: 0 24px 60px rgba(30,26,22,.22);
  animation: cookie-in .5s ease;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-family: var(--f-body); font-weight: 700; letter-spacing: 0; font-size: 1.4rem; line-height: 1.2; margin-bottom: 14px; }
.cookie p { color: var(--muted); font-size: 1.02rem; }
.cookie-settings { display: grid; gap: 12px; margin: 18px 0 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.cookie-settings[hidden] { display: none; }
.switch { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.switch input { width: 20px; height: 20px; accent-color: var(--rust); }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.cookie-btns .btn { border-radius: 999px; padding: 15px 26px; }
.cookie-btns .btn-outline { margin-left: auto; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- előtűnés ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .ref-card.reveal.in:hover { transform: translate(-3px, -4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Tablet (1024 px alatt)
   ========================================================= */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 20px 40px rgba(30,26,22,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; max-width: 640px; width: 100%; margin: 40px auto 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .price-featured { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 480px; }
  .bg-cards, .practice-grid { grid-template-columns: 1fr; }
  .bg-box-head { grid-template-columns: 1fr; gap: 12px; }
  .dot-no { margin-bottom: 24px; }
  .contact-card { grid-template-columns: 1fr; }
  .page-hero-grid, .split-grid { grid-template-columns: 1fr; }
  .price-box { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
}

/* =========================================================
   Mobil (720 px alatt)
   ========================================================= */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .header-inner { height: 70px; }
  .brand { font-size: 1.45rem; }
  .brand img { width: 38px; height: 38px; }
  .hero-visual { display: none; }
  .btn-row .btn { width: 100%; }
  .btn-lg { padding: 20px 28px; }
  .hero-flag { font-size: 1.05rem; padding: 14px 20px; }
  .why-list li { grid-template-columns: 46px 1fr; padding: 28px 0; }
  .why-list .ic { display: none; }
  .why-foot { align-items: flex-start; margin-top: 46px; }
  .ref-grid { grid-template-columns: 1fr; gap: 28px; }
  .ref-body { padding: 28px 24px 32px; }
  .ref-media { padding: 22px 22px; }
  .ref-tag { right: 16px; bottom: 16px; font-size: .68rem; padding: 8px 10px; }
  .cta-card, .cta-strip { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .cta-strip .btn, .cta-card .btn { width: 100%; }
  .price-card { padding: 38px 26px 32px; }
  .note { align-items: flex-start; padding: 22px; font-size: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .faq-q { padding: 28px 0; }
  .faq-q i { width: 42px; height: 42px; }
  .contact-card { border-radius: 24px; }
  .contact-form { padding: 28px 20px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { gap: 12px 22px; }
  .cookie { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 24px 22px; }
  .cookie-btns .btn { width: 100%; }
  .cookie-btns .btn-outline { margin-left: 0; }
}
