/* ===========================================================
   AstroDaimon – közös stíluslap
   Színvilág: meleg pergamen, éjkék, antik arany, halvány zsálya
   =========================================================== */

:root {
  --bg:            #faf6ef;
  --bg-alt:        #f3ece0;
  --surface:       #ffffff;
  --ink:           #1e2740;
  --ink-soft:      #3c4661;
  --muted:         #6b6f7c;
  --accent:        #b0803a;
  --accent-dark:   #8d6428;
  --accent-soft:   #e8dcc3;
  --sage:          #6e8574;
  --line:          #e3d9c8;
  --shadow:        0 1px 2px rgba(30,39,64,.05), 0 8px 28px rgba(30,39,64,.06);
  --radius:        14px;
  --maxw:          1080px;
  --serif:         "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:          "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 780px; }

/* ---------- Tipográfia ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.4em; }
h3 { font-size: 1.22rem; color: var(--accent-dark); margin-top: 2em; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

a { color: var(--accent-dark); }

strong { color: var(--ink); font-weight: 600; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1em;
  font-weight: 600;
}

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--accent-dark);
  border-left: 3px solid var(--accent-soft);
  padding: .2em 0 .2em 1.4em;
  margin: 2em 0;
}

.divider {
  text-align: center;
  color: var(--accent);
  letter-spacing: .8em;
  margin: 3.5rem 0;
  font-size: 1rem;
  user-select: none;
}

ul.clean { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.clean li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: .55em;
}
ul.clean li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: .8em;
  line-height: 1.9;
}

/* ---------- Fejléc ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent-soft);
  box-shadow: 0 2px 8px rgba(30,39,64,.18);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  color: var(--ink);
  line-height: 1.1;
}
.brand-tag {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .95rem;
  padding: 7px 13px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a.active {
  background: var(--ink);
  color: #f6eedf;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 460px at 78% -10%, rgba(176,128,58,.16), transparent 65%),
    linear-gradient(180deg, #1b2338 0%, #232d47 55%, #2a3450 100%);
  color: #e9e2d4;
  padding: 92px 0 84px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 24%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.6px 1.6px at 32% 62%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.2px 1.2px at 58% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.8px 1.8px at 74% 48%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.3px 1.3px at 88% 74%, rgba(255,255,255,.65), transparent),
    radial-gradient(1.1px 1.1px at 22% 82%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 46% 88%, rgba(255,255,255,.45), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fdf8ee; margin-bottom: .35em; }
.hero .eyebrow { color: var(--accent-soft); }
.hero p {
  color: #cfc9bb;
  font-size: 1.13rem;
  max-width: 640px;
}

/* Belső oldalak fejrésze */
.page-head {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--line);
  padding: 62px 0 48px;
}
.page-head h1 { margin-bottom: .25em; }
.page-head p { color: var(--muted); margin: 0; max-width: 700px; }

/* ---------- Gombok ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: .96rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #1d1608;
}
.btn-primary:hover { background: #c28f45; }

.btn-ghost {
  border: 1px solid rgba(233,226,212,.45);
  color: #e9e2d4;
}
.btn-ghost:hover { background: rgba(233,226,212,.12); }

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}
.btn-outline:hover { background: var(--accent-soft); }

/* ---------- Szekciók ---------- */

section.band { padding: 72px 0; }
section.band.alt { background: var(--bg-alt); }

.section-title { margin-top: 0; }

/* ---------- Kártyák ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(30,39,64,.1);
}
.card h3 { margin-top: 0; color: var(--ink); }
.card p:last-child { margin-bottom: 0; }

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1rem;
  margin-bottom: 14px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  margin: 28px 0;
}
.panel h3 { margin-top: 0; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

/* ---------- Táblázat ---------- */

.table-scroll { overflow-x: auto; margin: 30px 0; }

table.price {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.price th, table.price td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.price thead th {
  background: var(--ink);
  color: #f1e9da;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
table.price tbody tr:last-child td { border-bottom: none; }
table.price tbody tr:nth-child(even) { background: #fdfaf5; }
table.price td.name { font-weight: 600; color: var(--ink); }
table.price td.price-cell {
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--accent-dark);
}

/* ---------- Lépések ---------- */

ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 30px 0 0; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 58px;
  border-left: 1px solid var(--line);
  margin-left: 17px;
}
ol.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: -17px; top: -4px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: .95rem;
}
ol.steps li .step-title {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: .2em;
}

/* ---------- Képek ---------- */

.kep-band { padding: 56px 0 0; }
.kep-band + section.band { padding-top: 48px; }

figure.kep {
  margin: 0 auto;
  max-width: 480px;
}
figure.kep img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
figure.kep figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Megrendelési e-mail cím ---------- */

.mail-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 26px;
  margin: 28px 0;
}
.mail-box .cimke {
  display: block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5em;
}
.mail-box .sor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.mail-box .cim {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3.4vw, 1.6rem);
  color: var(--accent-dark);
  word-break: break-all;
  user-select: all;
}
.mail-box .magyarazat {
  margin: 1em 0 0;
  font-size: .92rem;
  color: var(--muted);
}

/* E-mail cím szövegként, gomb helyett */

.mail-chip {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px dashed var(--accent);
  color: var(--accent-dark);
  background: rgba(176,128,58,.07);
  user-select: all;
  word-break: break-all;
}
.mail-chip em {
  font-family: var(--sans);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  user-select: none;
  margin-right: .5em;
}
.cta .mail-chip em, .hero .mail-chip em { color: rgba(240,226,198,.7); }
.cta .mail-chip,
.hero .mail-chip {
  border-color: rgba(232,220,195,.6);
  color: #f0e2c6;
  background: rgba(232,220,195,.10);
}

.mail-cim {
  color: var(--accent-dark);
  font-weight: 600;
  user-select: all;
  word-break: break-all;
}
.site-footer .mail-cim { color: #e2d7c1; font-weight: 400; }

/* ---------- Süti sáv ---------- */

.suti-sav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -8px 32px rgba(30,39,64,.14);
  transform: translateY(105%);
  transition: transform .3s ease;
}
.suti-sav.latszik { transform: none; }

.suti-belso {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 12px 34px;
  align-items: start;
}
.suti-szoveg { grid-column: 1; }
.suti-szoveg h2 { font-size: 1.2rem; margin: 0 0 .4em; }
.suti-szoveg p { margin: 0; font-size: .92rem; }

.suti-kategoriak {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .92rem;
}
.suti-kat { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.suti-kat input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.suti-kat input:disabled { cursor: default; opacity: .65; }
.suti-kat em { color: var(--muted); font-size: .85em; font-style: normal; }

.suti-gombok { grid-column: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.suti-gombok .btn { padding: 10px 20px; font-size: .9rem; }

@media (max-width: 780px) {
  .suti-belso { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .suti-szoveg, .suti-kategoriak, .suti-gombok { grid-column: 1; grid-row: auto; }
  .suti-sav { max-height: 82vh; overflow-y: auto; }
}

.footer-linkbtn {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.footer-linkbtn:hover { text-decoration: underline; }

/* ---------- Rólunk ---------- */

.person-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 1.6em;
}
.person-photo {
  width: 132px;
  height: 132px;
  flex: 0 0 132px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--accent-soft);
  box-shadow: var(--shadow);
}
.person-head h2 { margin: 0 0 .15em; }
.person-head .role { margin: 0; }

@media (max-width: 520px) {
  .person-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 34px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.person h2 {
  margin-top: 0;
  color: var(--accent-dark);
  font-size: 1.6rem;
}
.person .role {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4em;
}

.signature {
  margin: 1.4em 0 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-dark);
}

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

.doc { font-size: .97rem; }
.doc h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
  padding-bottom: .35em;
  border-bottom: 1px solid var(--line);
}
.doc h3 { font-size: 1.08rem; margin-top: 1.8em; }
.doc h4 { margin-top: 1.5em; color: var(--ink); }
.doc ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.doc li { margin-bottom: .45em; }
.doc .meta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 28px;
}
.doc .meta p { margin: 0 0 .35em; }
.doc .meta p:last-child { margin-bottom: 0; }
.doc .dl { margin: 0 0 1.4em; }
.doc .dl p { margin: 0 0 .3em; }
.doc .closing {
  margin-top: 3em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  color: var(--ink);
}
.doc a { word-break: break-word; }

/* ---------- CTA sáv ---------- */

.cta {
  background: linear-gradient(180deg, #1e2740, #2a3450);
  color: #e9e2d4;
  text-align: center;
  padding: 70px 0;
}
.cta h2 { color: #fdf8ee; margin-top: 0; }
.cta p { color: #c9c3b6; max-width: 560px; margin: 0 auto 8px; }
.cta .btn-row { justify-content: center; }

/* ---------- Lábléc ---------- */

.site-footer {
  background: #171e30;
  color: #a9b0c2;
  padding: 54px 0 34px;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
}
.site-footer h4 {
  color: #f0e7d6;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--sans);
  margin-bottom: 1em;
}
.site-footer a { color: #d8cdb8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  margin-top: 38px;
  padding-top: 20px;
  font-size: .85rem;
  color: #7e869a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Mobil ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 66px 0 58px; }
  .header-inner { justify-content: center; text-align: center; }
  .nav { justify-content: center; }
  .person { padding: 26px 22px 20px; }
  section.band { padding: 54px 0; }
}
