/* =====================================================================
   Esküvői Történet – arculat és komponensek
   Mobil-first. A színek és betűtípusok CSS-változókból módosíthatók.
   ===================================================================== */

/* --- Betűtípusok (önkiszolgált, nincs külső kérés) -------------------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
/* Playfair Display: a cli/install_fonts.sh tölti le (OFL licenc) → css/fonts-playfair.css.
   A layout csak akkor tölti be, ha a betűfájl létezik; addig Georgia a tartalék. */

/* --- Design tokenek --------------------------------------------------- */
:root {
  --c-ivory: #FAF7F2;
  --c-champagne: #E8DCC8;
  --c-gold: #B79B69;
  --c-gold-ink: #7A6440;      /* arany szöveghez: 5.2:1 kontraszt fehéren */
  --c-charcoal: #252525;
  --c-white: #FFFFFF;
  --c-rose: #D8C1BE;
  --c-text: #252525;
  --c-muted: #5E5A55;         /* 6.4:1 ivory háttéren */
  --c-line: #E3D8C6;
  --c-success: #2F6B47;
  --c-warning: #8A5A12;
  --c-error: #A3302B;
  --c-info: #2F5873;

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(37, 37, 37, .06);
  --shadow: 0 10px 30px -12px rgba(37, 37, 37, .18);
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --- Alapok ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--c-white); color: var(--c-text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-gold-ink); text-underline-offset: .18em; }
a:hover { color: var(--c-charcoal); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.2; margin: 0 0 .6em; color: var(--c-charcoal); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
hr.divider { border: 0; border-top: 1px solid var(--c-line); margin: 1.5rem 0; }
:focus-visible { outline: 3px solid var(--c-gold-ink); outline-offset: 2px; border-radius: 2px; }
/* Sötét háttéren világos fókuszjelzés (legalább 3:1 kontraszt, WCAG 1.4.11) */
.site-footer :focus-visible, .section-dark :focus-visible, .hero :focus-visible, .provider-hero :focus-visible, .btn-primary:focus-visible { outline-color: var(--c-champagne); box-shadow: 0 0 0 5px var(--c-charcoal); }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--c-muted); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: .5rem; top: -100px; z-index: 100; background: var(--c-charcoal); color: var(--c-white); padding: .6rem 1rem; }
.skip-link:focus { top: .5rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inline-form { display: inline; margin: 0; }

/* --- Gombok ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 500 .95rem/1.2 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-charcoal); color: var(--c-white); }
.btn-primary:hover { background: #000; color: var(--c-white); }
.hero .btn-primary, .section-dark .btn-primary { background: var(--c-champagne); color: var(--c-charcoal); }
.hero .btn-primary:hover, .section-dark .btn-primary:hover { background: var(--c-white); color: var(--c-charcoal); }
.btn-outline { border-color: var(--c-charcoal); color: var(--c-charcoal); background: transparent; }
.btn-outline:hover { background: var(--c-charcoal); color: var(--c-white); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: var(--c-white); background: rgba(255,255,255,.04); }
.btn-outline-light:hover { background: var(--c-white); color: var(--c-charcoal); }
.btn-ghost { color: var(--c-charcoal); background: transparent; }
.btn-ghost:hover { background: var(--c-ivory); color: var(--c-charcoal); }
.btn-link { background: none; border: 0; color: var(--c-gold-ink); text-decoration: underline; padding-inline: .4rem; }
.btn-danger { background: var(--c-error); color: var(--c-white); }
.btn-danger:hover { background: #7f211d; color: var(--c-white); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .875rem; }
.btn-lg { min-height: 52px; padding: .9rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* --- Fejléc és navigáció --------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--c-line);
}
/* A háttér és az elmosás egy álelemen van: ha maga a fejléc kapna backdrop-filtert, az a benne lévő
   position: fixed mobilmenü viszonyítási dobozává válna, és a menü a fejléc magasságára zsugorodna. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(250, 247, 242, .96); -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 52px; width: auto; }
.brand-text { font-family: var(--font-heading); font-size: 1.5rem; color: var(--c-charcoal); }
/* Szöveges logó – Cormorant Garamond (SIL OFL), csak a „Esküvői történet” betűire szűkítve (~6 KB) */
@font-face {
  font-family: "ET Wordmark"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-wordmark.woff2") format("woff2");
}
.brand-wordmark {
  font-family: "ET Wordmark", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-weight: 500; font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.05rem); line-height: 1; letter-spacing: .01em;
  color: var(--c-charcoal); white-space: nowrap;
}
.brand:hover .brand-wordmark { color: var(--c-gold-ink); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 24px; height: 2px; background: var(--c-charcoal); position: relative; transition: transform .25s var(--ease), background-color .25s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; } .nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-ivory); padding: 1.5rem var(--gutter) 2rem;
  overflow-y: auto; overscroll-behavior: contain; display: none; flex-direction: column; gap: 1.5rem; z-index: 60;
}
.main-nav.is-open { display: flex; }
.main-nav-list { list-style: none; margin: 0; padding: 0; }
.main-nav-list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--c-line); color: var(--c-charcoal); text-decoration: none; font-size: 1.1rem; }
.main-nav-list a.is-active { color: var(--c-gold-ink); }
.nav-account { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
body.nav-open { overflow: hidden; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .main-nav { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; background: none; overflow: visible; gap: 1.25rem; }
  .main-nav-list { display: flex; gap: .15rem; }
  .main-nav-list a { border: 0; padding: .5rem .5rem; font-size: .92rem; position: relative; white-space: nowrap; }
  /* Asztali nézetben a logó a főoldal linkje – a „Főoldal” menüpont csak a mobilmenüben marad (helytakarékosság) */
  .main-nav-list .nav-home { display: none; }
  .nav-account { flex-wrap: nowrap; }
  .main-nav-list a::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .2rem; height: 1px; background: var(--c-gold); transform: scaleX(0); transition: transform .25s var(--ease); }
  .main-nav-list a:hover::after, .main-nav-list a.is-active::after { transform: scaleX(1); }
}

/* --- Értesítések ------------------------------------------------------ */
.flash-stack { padding-top: 1rem; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius); border-left: 4px solid; margin-bottom: .75rem; background: var(--c-ivory); }
.alert-success { border-color: var(--c-success); color: #1f4a31; background: #EEF5F0; }
.alert-error { border-color: var(--c-error); color: #7a231f; background: #FBEFEE; }
.alert-warning { border-color: var(--c-warning); color: #5f3e0c; background: #FBF4E7; }
.alert-info { border-color: var(--c-info); color: #234257; background: #EEF3F7; }
.alert-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.alert-action p { margin: 0; flex: 1 1 320px; }

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: var(--c-white); background: var(--c-charcoal); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,26,24,.88) 0%, rgba(28,26,24,.62) 45%, rgba(28,26,24,.12) 80%); }
.hero-inner { padding-block: 6rem 3rem; }
.hero-content { max-width: 34rem; }
.hero-title { color: var(--c-white); font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.08; margin-bottom: 1rem; letter-spacing: -.01em; }
.hero-lead { font-size: clamp(1rem, 2.4vw, 1.15rem); color: rgba(255,255,255,.92); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-overlay { background: linear-gradient(to left, rgba(28,26,24,.86) 0%, rgba(28,26,24,.66) 38%, rgba(28,26,24,.08) 68%); }
  .hero-inner { display: flex; justify-content: flex-end; padding-block: 5rem; }
  .hero-media { object-position: 30% 35%; }
}

/* --- Szekciók --------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-ivory { background: var(--c-ivory); }
.section-champagne { background: linear-gradient(180deg, #F3ECE0 0%, var(--c-ivory) 100%); }
.section-dark { background: var(--c-charcoal); color: rgba(255,255,255,.9); }
.section-dark .section-title { color: var(--c-white); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-title { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
.section-subtitle { font-size: 1.35rem; margin-top: 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--c-gold-ink); margin-bottom: .75rem; }
.eyebrow a { color: inherit; }
.eyebrow-light { color: var(--c-champagne); }
.lead { font-size: 1.1rem; color: var(--c-muted); }
.section-dark .lead { color: rgba(255,255,255,.82); }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } .split-form { align-items: start; grid-template-columns: 1.4fr .6fr; } }

.page-hero { background: var(--c-ivory); padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--c-line); }
.page-hero-compact { padding-block: 2rem 1.5rem; }
.page-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4rem; }

/* --- Kártyák, rácsok -------------------------------------------------- */
.card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.card-elevated { box-shadow: var(--shadow); border-color: transparent; }
.card-title { font-size: 1.35rem; }
.card-subtitle { font-size: 1.1rem; }
.card-grid, .feature-grid, .steps-grid, .category-grid, .plan-grid, .dash-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }

.steps-grid { counter-reset: step; }
.step { padding: 1.5rem 0; border-top: 1px solid var(--c-line); }
.step h3 { font-size: 1.25rem; }
.step-no { font-family: var(--font-heading); font-size: 2rem; color: var(--c-gold); display: block; margin-bottom: .5rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1100px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.category-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin-bottom: 2rem; }
.category-grid > li { display: flex; }
.category-chip { width: 100%; text-decoration: none; color: var(--c-text); transition: border-color .2s; }
.category-chip:hover { border-color: var(--c-gold); color: var(--c-text); }
.category-chip { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.category-name { font-weight: 500; }
.category-count { font-size: .82rem; color: var(--c-muted); }

.feature-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.feature { background: var(--c-white); border-radius: var(--radius-lg); padding: 1.6rem; border: 1px solid var(--c-line); }
.feature h3 { font-size: 1.25rem; position: relative; padding-top: 1rem; }
.feature h3::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 1px; background: var(--c-gold); }

.empty-state { text-align: center; border: 1px dashed var(--c-gold); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3rem) 1.5rem; background: rgba(250, 247, 242, .6); max-width: 760px; margin-inline: auto; }
.empty-title { font-family: var(--font-heading); font-size: 1.35rem; color: var(--c-charcoal); }

.check-steps { list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: s; }
.check-steps li { counter-increment: s; padding: .6rem 0 .6rem 2.4rem; position: relative; border-bottom: 1px solid var(--c-line); }
.check-steps li::before { content: counter(s); position: absolute; left: 0; top: .55rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid var(--c-gold); color: var(--c-gold-ink); font-size: .8rem; display: grid; place-items: center; }

.plan-mini { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.plan-mini li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.plan-mini strong { color: var(--c-champagne); font-weight: 500; }

.plan-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.plan-card { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 2rem 1.6rem; background: var(--c-white); }
.plan-card-highlight { border-color: var(--c-gold); box-shadow: var(--shadow); }
.plan-name { font-size: 1.5rem; }
.plan-price strong { font-family: var(--font-heading); font-size: 2rem; font-weight: 500; }
.plan-price span { color: var(--c-muted); }
.plan-features { padding-left: 1.1rem; }
.plan-features li { margin-bottom: .35rem; }

.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.4rem; color: var(--c-gold-ink); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--c-muted); padding-bottom: 1rem; }

.contact-quick a { font-size: 1.15rem; }
.dash-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; }
.settings-stack { display: grid; gap: 1.5rem; max-width: 860px; }

.badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .78rem; background: var(--c-ivory); border: 1px solid var(--c-line); }
.badge-approved { background: #EEF5F0; border-color: #bcd8c6; color: var(--c-success); }
.badge-pending, .badge-draft { background: #FBF4E7; border-color: #ead7b4; color: var(--c-warning); }
.badge-suspended, .badge-rejected { background: #FBEFEE; border-color: #e7c4c1; color: var(--c-error); }

.data-list { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: .6rem 1.5rem; margin: 0; }
.data-list dt { color: var(--c-muted); }
.data-list dd { margin: 0; }
.data-list-compact { margin-bottom: 1.25rem; }

.table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.table th { font-weight: 600; color: var(--c-muted); }

.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose .notice { background: #FBF4E7; border-left: 4px solid var(--c-warning); padding: .9rem 1.1rem; }

/* --- Űrlapok ----------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: .35rem; }
.form-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
label { font-weight: 500; font-size: .92rem; }
.req { color: var(--c-error); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"],
input[type="url"], input[type="search"], input[type="datetime-local"], input[type="time"], input[type="month"], select, textarea {
  width: 100%; min-height: 46px; padding: .65rem .85rem; font: inherit; font-size: 1rem; color: var(--c-text);
  background: var(--c-white); border: 1px solid #CFC4B2; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, input:focus-within, select:focus, textarea:focus { border-color: var(--c-gold-ink); box-shadow: 0 0 0 3px rgba(122, 100, 64, .45); outline: none; }
input[readonly] { background: var(--c-ivory); color: var(--c-muted); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--c-error); }
textarea { min-height: 120px; resize: vertical; }
.hint { font-size: .82rem; color: var(--c-muted); margin: 0; }
.field-error { font-size: .85rem; color: var(--c-error); margin: 0; }
.form-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .65rem; }
.form-check input { width: 24px; height: 24px; margin-top: .2rem; accent-color: var(--c-charcoal); }
.form-check label { font-weight: 400; }
.form-check .field-error { grid-column: 2; }
.password-field { position: relative; }
.password-field input { padding-right: 4.5rem; }
.password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-height: 38px; border: 0; background: transparent; color: var(--c-gold-ink); cursor: pointer; font: 500 .85rem var(--font-body); padding: 0 .75rem; }

/* --- Hitelesítési oldalak --------------------------------------------- */
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: clamp(2rem, 6vw, 4rem) var(--gutter); background: var(--c-ivory); }
.auth-card { width: 100%; max-width: 460px; }
.auth-card-wide { max-width: 720px; }
.auth-title { font-size: clamp(1.7rem, 4vw, 2.2rem); }
.auth-links { margin: 1rem 0 0; font-size: .92rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--c-line); margin-bottom: 1.5rem; }
.tab { padding: .7rem 1rem; text-decoration: none; color: var(--c-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.is-active { color: var(--c-charcoal); border-color: var(--c-gold); }
.error-code { font-family: var(--font-heading); font-size: 4rem; color: var(--c-gold); margin: 0; line-height: 1; }
.debug { text-align: left; white-space: pre-wrap; font-size: .75rem; background: var(--c-ivory); padding: 1rem; overflow-x: auto; }

/* --- Lábléc ------------------------------------------------------------- */
.site-footer { background: var(--c-charcoal); color: rgba(255,255,255,.78); padding-top: 3.5rem; font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: var(--c-champagne); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-title { font-family: var(--font-heading); font-size: 1.6rem; color: var(--c-white); margin-bottom: .3rem; }
.footer-slogan { color: var(--c-champagne); font-style: italic; }
.footer-heading { font-family: var(--font-body); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-champagne); font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem; font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* --- Mozgáscsökkentés és nyomtatás ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, .btn { display: none !important; }
  body { color: #000; }
}

/* =====================================================================
   Esküvőtervező (3. fázis)
   ===================================================================== */
.container-wide { max-width: 1440px; }
.narrow-wide { max-width: 1000px; }
.h3 { font-size: 1.25rem; }
.label { font-weight: 500; font-size: .92rem; }
.text-error { color: var(--c-error); }
.text-success { color: var(--c-success); }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.section-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.section-bar .section-title { margin: 0; }
.split-top { align-items: start; margin-top: 1.5rem; }
@media (min-width: 900px) { .split-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.card + .card, .card + form.card, form.card + .card, form.card + form.card, .stat-grid + .card, .budget-bar + .card { margin-top: 1.25rem; }
.fieldset { border: 0; border-top: 1px solid var(--c-line); padding: 1.25rem 0 0; margin: 0; display: grid; gap: 1rem; }
.fieldset legend { font-family: var(--font-heading); font-size: 1.2rem; padding-right: .75rem; }
.form-grid-3 { display: grid; gap: 1rem; }
@media (min-width: 720px) { .form-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.danger-zone { border-color: #e7c4c1; margin-top: 2rem; }
input[type="time"], input[type="search"], input[type="file"] { width: 100%; min-height: 46px; padding: .55rem .75rem; font: inherit; border: 1px solid #CFC4B2; border-radius: var(--radius); background: var(--c-white); }
input[type="file"] { padding: .5rem; }
code { background: var(--c-ivory); padding: .1rem .35rem; border-radius: 3px; font-size: .88em; }

/* Stílusválasztó */
.style-picker { display: flex; flex-wrap: wrap; gap: .5rem; }
.style-option { position: relative; font-weight: 400; }
.style-option input { position: absolute; opacity: 0; inset: 0; }
.style-option span { display: inline-block; padding: .55rem 1rem; border: 1px solid #CFC4B2; border-radius: 999px; cursor: pointer; min-height: 44px; line-height: 1.7; }
.style-option input:checked + span { background: var(--c-charcoal); color: var(--c-white); border-color: var(--c-charcoal); }
.style-option input:focus-visible + span { outline: 3px solid var(--c-gold-ink); outline-offset: 2px; }

/* Tervező fejléc és lépések */
.planner-head { background: var(--c-ivory); border-bottom: 1px solid var(--c-line); }
.planner-head-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; padding-bottom: .75rem; }
.planner-head .eyebrow { margin-bottom: .25rem; }
.planner-title { font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0; color: var(--c-charcoal); line-height: 1.2; }
.planner-meta { margin: .25rem 0 0; color: var(--c-muted); font-size: .92rem; }
.countdown { margin: 0; text-align: right; display: flex; flex-direction: column; line-height: 1.1; }
.countdown strong { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 500; color: var(--c-gold-ink); }
.countdown span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.planner-nav { overflow-x: auto; scrollbar-width: thin; position: relative; } /* relative: a rejtett (sr-only) címkék is a görgethető sávon belül maradjanak */
.planner-steps { list-style: none; margin: 0; padding: 0 0 .25rem; display: flex; gap: .25rem; white-space: nowrap; }
.planner-step { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem .8rem; text-decoration: none; color: var(--c-muted); border-bottom: 2px solid transparent; font-size: .92rem; min-height: 44px; }
.planner-step:hover { color: var(--c-charcoal); }
.planner-step.is-active { color: var(--c-charcoal); border-color: var(--c-gold); }
.planner-step-no { display: inline-grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; border: 1px solid var(--c-line); font-size: .75rem; background: var(--c-white); }
.planner-step.is-done .planner-step-no { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-charcoal); font-weight: 600; }
@media (min-width: 1024px) { .planner-steps { flex-wrap: wrap; white-space: normal; } .planner-step { padding: .6rem .65rem; } }

/* Statisztikai kártyák */
.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin-bottom: 1.5rem; }
.stat-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; }
.stat-card-alert { border-color: var(--c-error); background: #FBEFEE; }
.stat-label { font-family: var(--font-body); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 .35rem; font-weight: 600; }
.stat-value { font-family: var(--font-heading); font-size: 2rem; margin: 0; line-height: 1.15; color: var(--c-charcoal); }
.stat-value small { font-size: .55em; color: var(--c-muted); }
.stat-money { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.stat-sub { margin: .35rem 0 0; font-size: .85rem; color: var(--c-muted); }
progress, meter { width: 100%; height: 10px; margin-top: .5rem; -webkit-appearance: none; appearance: none; border: 0; border-radius: 999px; background: var(--c-ivory); overflow: hidden; display: block; }
progress::-webkit-progress-bar { background: var(--c-ivory); border-radius: 999px; }
progress::-webkit-progress-value { background: var(--c-gold); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--c-gold); border-radius: 999px; }
meter::-webkit-meter-bar { background: var(--c-ivory); border: 0; border-radius: 999px; height: 10px; }
meter::-webkit-meter-optimum-value { background: var(--c-success); }
meter::-webkit-meter-suboptimum-value { background: var(--c-warning); }
meter::-webkit-meter-even-less-good-value { background: var(--c-error); }
.dash-columns { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .dash-columns { grid-template-columns: 1fr 1fr; } }
.dash-columns .card + .card { margin-top: 0; }
.suggestions { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.suggestions a { display: grid; gap: .15rem; padding: .85rem 1rem; border: 1px solid var(--c-line); border-left: 3px solid var(--c-gold); border-radius: var(--radius); text-decoration: none; color: var(--c-text); }
.suggestions a:hover { background: var(--c-ivory); }
.suggestions span { font-size: .88rem; color: var(--c-muted); }
.deadline-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.deadline-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.deadline-list time { white-space: nowrap; font-size: .88rem; }

/* Feladatlista */
.filter-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--c-line); margin-bottom: 1rem; overflow-x: auto; }
.filter-tabs a { padding: .6rem .9rem; text-decoration: none; color: var(--c-muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.filter-tabs a.is-active { color: var(--c-charcoal); border-color: var(--c-gold); }
.task-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.task { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
.task-title { margin: 0; font-weight: 500; }
.task.is-done .task-title { text-decoration: line-through; color: var(--c-muted); }
.task-meta { margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; color: var(--c-muted); }
.task.is-late .task-meta time { color: var(--c-error); font-weight: 500; }
.task-desc { margin: .4rem 0 0; font-size: .92rem; color: var(--c-muted); }
.check-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--c-gold); background: var(--c-white); cursor: pointer; font-size: 1.1rem; color: var(--c-white); display: grid; place-items: center; }
.task.is-done .check-btn { background: var(--c-gold); }
.check-btn:hover { background: var(--c-ivory); color: var(--c-gold-ink); }
.inline-edit { margin-top: .4rem; }
.inline-edit summary { cursor: pointer; color: var(--c-gold-ink); font-size: .88rem; display: inline-block; min-height: 32px; }
.inline-edit[open] { background: var(--c-ivory); padding: .75rem; border-radius: var(--radius); }
.inline-edit .form { margin: .5rem 0; }
.form-inline { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }

/* Költségvetés */
.inline-field-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.inline-field-form input { width: 12rem; }
.inline-field-form .field-error { flex-basis: 100%; }
.budget-bar-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .88rem; color: var(--c-muted); margin: 0; }
.cat-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.cat-bars li { display: grid; grid-template-columns: 1fr; gap: .2rem; }
@media (min-width: 720px) { .cat-bars li { grid-template-columns: 180px 1fr 160px; align-items: center; gap: 1rem; } .cat-bars progress { margin: 0; } }
.cat-bar-value { font-variant-numeric: tabular-nums; text-align: right; font-size: .92rem; }
.stat-grid-6 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.stat-grid-5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }

/* Reszponzív táblázat: mobilon kártyák */
@media (max-width: 767px) {
  .table-responsive thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-responsive, .table-responsive tbody, .table-responsive tr, .table-responsive td { display: block; width: 100%; }
  .table-responsive tr { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: .5rem .75rem; margin-bottom: .75rem; background: var(--c-white); }
  .table-responsive td { border: 0; padding: .3rem 0; text-align: left; display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; }
  .table-responsive td[data-label]::before { content: attr(data-label); color: var(--c-muted); font-size: .82rem; }
  .table-responsive td:not([data-label]) { display: block; }
  .table-responsive td.num { text-align: left; }
}

/* Vendéglista */
.filter-bar { display: grid; gap: .75rem; margin-bottom: 1rem; align-items: end; }
@media (min-width: 768px) { .filter-bar { grid-template-columns: 2fr 1fr 1fr auto; } }
.badge-rsvp-accepted { background: #EEF5F0; border-color: #bcd8c6; color: var(--c-success); }
.badge-rsvp-declined { background: #F3F1EE; color: var(--c-muted); }
.badge-rsvp-maybe { background: #FBF4E7; border-color: #ead7b4; color: var(--c-warning); }

/* Ültetési rend */
.seating-summary { margin: 0 0 .5rem; }
.seating-help { margin-bottom: 1rem; }
.seating { display: grid; gap: 1rem; }
@media (min-width: 900px) { .seating { grid-template-columns: 260px 1fr; align-items: start; } }
.seating-pool { background: var(--c-ivory); border: 1px dashed var(--c-gold); border-radius: var(--radius-lg); padding: 1rem; max-height: 70vh; overflow-y: auto; }
@media (min-width: 900px) { .seating-pool { position: sticky; top: calc(var(--header-h) + 1rem); } }
.seating-pool-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .75rem; }
.guest-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; min-height: 44px; }
.guest-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .7rem; min-height: 36px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: 999px; font-size: .88rem; cursor: grab; user-select: none; touch-action: none; }
.guest-chip:hover { border-color: var(--c-gold); }
.guest-chip.is-declined { opacity: .6; text-decoration: line-through; }
.guest-chip.is-dragging { opacity: .35; }
.guest-chip-count { font-size: .75rem; color: var(--c-gold-ink); font-weight: 600; }
.guest-chip-flag { color: var(--c-warning); font-size: .6rem; }
.guest-chip-ghost { position: fixed; z-index: 1000; pointer-events: none; transform: translate(-50%, -120%); box-shadow: var(--shadow); cursor: grabbing; }
body.is-dragging-guest { cursor: grabbing; }
.seating-board { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); position: relative; }
.seating-board.is-free { display: block; background-image: radial-gradient(var(--c-line) 1px, transparent 1px); background-size: 20px 20px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.seating-board.is-free .seat-table { position: absolute; width: 180px; }
.seating-board.is-free .empty-state { margin: 2rem; }
.seat-table { background: var(--c-white); border: 1.5px solid var(--c-champagne); padding: .75rem; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.seat-table.shape-round { border-radius: 28px; }
.seat-table.shape-rect { border-radius: 6px; }
.seat-table.is-over { border-color: var(--c-error); background: #FDF6F5; }
.seat-table.is-drop-target, .seating-pool.is-drop-target { border-color: var(--c-gold-ink); box-shadow: 0 0 0 3px rgba(183,155,105,.35); }
.seat-table-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .5rem; padding-bottom: .4rem; border-bottom: 1px solid var(--c-line); }
.seating-board.is-free .seat-table-head { cursor: move; touch-action: none; }
.seat-table-head h3 { font-size: 1rem; margin: 0; }
.seat-table-count { font-size: .8rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.seat-table.is-over .seat-table-count { color: var(--c-error); font-weight: 600; }
.seat-table .guest-chips { min-height: 52px; }
.seating.is-saving { cursor: progress; }
.manage-list { list-style: none; margin: 0; padding: 0; }
.manage-list li { border-bottom: 1px solid var(--c-line); padding: .5rem 0; }

/* Menetrend */
.timeline { list-style: none; margin: 0 0 1.5rem; padding: 0; border-left: 2px solid var(--c-champagne); }
.timeline-item { display: grid; grid-template-columns: 1fr; gap: .25rem; padding: 0 0 1.25rem 1.25rem; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--c-gold); }
@media (min-width: 640px) { .timeline-item { grid-template-columns: 7rem 1fr; gap: 1rem; } }
.timeline-time { margin: 0; font-family: var(--font-heading); font-size: 1.25rem; color: var(--c-gold-ink); }
.timeline-title { font-size: 1.2rem; margin: 0 0 .2rem; }

/* Társszervezők */
.member-list { list-style: none; padding: 0 1.25rem; }
.member-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--c-line); }
.member-list li:last-child { border-bottom: 0; }
.member-list li > div { display: grid; }
.wedding-list .card-title a { text-decoration: none; color: var(--c-charcoal); }

/* =====================================================================
   Szolgáltatói rendszer (4. fázis)
   ===================================================================== */
.breadcrumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--c-gold); }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs-light, .breadcrumbs-light a { color: rgba(255,255,255,.85); }
.search-bar { display: grid; gap: .75rem; background: var(--c-ivory); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 1rem; align-items: end; }
@media (min-width: 720px) { .search-bar { grid-template-columns: repeat(3, 1fr); } }
/* Rugalmas oszlopok: a dátummező (natív naptárikonnal) sem csúszhat rá a szomszédos mezőre. */
.search-bar > .form-row { min-width: 0; }
.search-bar input, .search-bar select { min-width: 0; max-width: 100%; }
.search-bar input[type="date"] { height: 46px; }
@media (min-width: 1100px) {
  .search-bar { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); }
  .search-bar .search-q { grid-column: span 2; }
}
.result-count { color: var(--c-muted); font-size: .9rem; }
.provider-grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.provider-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.provider-card:hover { box-shadow: var(--shadow); }
.provider-card-media { display: block; aspect-ratio: 4 / 3; background: var(--c-champagne); overflow: hidden; }
.provider-card-media picture, .provider-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.provider-card-placeholder { display: grid; place-items: center; height: 100%; font-family: var(--font-heading); font-size: 3rem; color: var(--c-gold-ink); }
.provider-card-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .35rem; }
.provider-card-badges { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.provider-card-title { font-size: 1.2rem; margin: 0; }
.provider-card-title a { color: var(--c-charcoal); text-decoration: none; }
.provider-card-title a::after { content: ""; position: absolute; inset: 0; }
.provider-card { position: relative; }
.provider-card-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; font-size: .9rem; color: var(--c-muted); }
.rating { color: var(--c-charcoal); }
.rating span[aria-hidden] { color: var(--c-gold); }
.rating-lg { font-size: 1.05rem; margin: .25rem 0 0; color: var(--c-white); }
.badge-sponsored { background: var(--c-charcoal); color: var(--c-white); border-color: var(--c-charcoal); }
.badge-featured { background: var(--c-champagne); border-color: var(--c-gold); color: var(--c-charcoal); }
.badge-unread { background: var(--c-gold); color: var(--c-charcoal); border-color: var(--c-gold); font-weight: 600; }
.badge-booking-booked { background: #EEF5F0; border-color: #bcd8c6; color: var(--c-success); }
.badge-booking-cancelled { background: #F3F1EE; color: var(--c-muted); }
.badge-booking-offer_received, .badge-booking-negotiating { background: #FBF4E7; border-color: #ead7b4; color: var(--c-warning); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin: 1rem 0 2rem; }
.link-cloud ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.link-cloud a { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; font-size: .88rem; color: var(--c-charcoal); }
.link-cloud a[aria-current] { background: var(--c-charcoal); color: var(--c-white); }
.city-intro { margin-bottom: 1.5rem; max-width: 820px; }

/* Adatlap */
.preview-banner { background: #FBF4E7; border-bottom: 1px solid #ead7b4; padding: .75rem var(--gutter); text-align: center; font-size: .92rem; }
.provider-hero { position: relative; min-height: 320px; display: flex; align-items: flex-end; background: var(--c-charcoal); color: var(--c-white); isolation: isolate; overflow: hidden; }
.provider-hero-plain { min-height: 220px; background: linear-gradient(135deg, #3a3631, var(--c-charcoal)); }
.provider-hero > picture, .provider-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.provider-id picture { flex-shrink: 0; }
.provider-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,26,24,.85), rgba(28,26,24,.15) 70%); }
.provider-hero-inner { padding-block: 2rem 1.75rem; width: 100%; }
.provider-id { display: flex; gap: 1.25rem; align-items: flex-end; }
.provider-logo { width: 96px; height: 96px; border-radius: 12px; border: 3px solid var(--c-white); background: var(--c-white); object-fit: cover; flex-shrink: 0; }
.provider-name { color: var(--c-white); font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 0; }
.provider-sub { margin: .25rem 0 0; color: rgba(255,255,255,.88); }
.provider-layout { display: grid; gap: 2rem; padding-block: 2rem 3rem; }
@media (min-width: 960px) { .provider-layout { grid-template-columns: 1fr 340px; align-items: start; } .provider-side { position: sticky; top: calc(var(--header-h) + 1rem); } }
.provider-section { margin-bottom: 2.5rem; }
.provider-section h2 { font-size: 1.6rem; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.gallery-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--c-ivory); }
.gallery-grid picture, .gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.gallery-grid a:hover .gallery-img { transform: scale(1.03); }
.gallery-caption { display: block; font-size: .8rem; color: var(--c-muted); margin-top: .25rem; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.side-card { display: grid; gap: .75rem; }
.side-card + .side-card { margin-top: 1rem; }
.side-price { margin: 0; display: grid; }
.side-price small { color: var(--c-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.side-price strong { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 500; }
.contact-list { margin: .5rem 0 0; display: grid; gap: .1rem; }
.contact-list dt { font-size: .78rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: .5rem; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.social-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.booked-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .92rem; }
.review-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.review { border-bottom: 1px solid var(--c-line); padding-bottom: 1rem; }
.review.card { border-bottom: 1px solid var(--c-line); }
.review-head { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .35rem; }
.stars { color: var(--c-gold-ink); letter-spacing: .05em; }
.stars-off { color: var(--c-line); }
.review-reply { background: var(--c-ivory); border-left: 3px solid var(--c-gold); padding: .6rem .9rem; margin-top: .5rem; }
.rating-input { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.rating-input legend { font-weight: 500; font-size: .92rem; margin-bottom: .35rem; width: 100%; }
.rating-input label { border: 1px solid var(--c-line); border-radius: 999px; padding: .4rem .8rem; font-weight: 400; cursor: pointer; min-height: 40px; display: inline-flex; gap: .3rem; align-items: center; }

/* Űrlapelemek */
.check-grid { display: grid; gap: .35rem .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.check-item { font-weight: 400; display: inline-flex; gap: .45rem; align-items: center; min-height: 36px; }
.check-item input { width: 22px; height: 22px; accent-color: var(--c-charcoal); }
fieldset[disabled] { opacity: .6; }
.lock-note { color: var(--c-gold-ink); }
.form-inline .grow { flex: 1 1 220px; }
.recipient-box { background: var(--c-ivory); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.recipient-box ul { margin: .25rem 0 .75rem; }

/* Üzenetek */
.conversation-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.conversation a { display: grid; gap: .15rem; padding: .9rem .5rem; border-bottom: 1px solid var(--c-line); text-decoration: none; color: var(--c-text); position: relative; }
.conversation a:hover { background: var(--c-ivory); }
.conversation.is-unread .conv-name { font-weight: 600; }
.conv-subject { font-size: .88rem; color: var(--c-muted); }
.conv-preview { font-size: .9rem; color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-time { font-size: .8rem; color: var(--c-muted); }
@media (min-width: 640px) { .conv-time { position: absolute; right: .5rem; top: .9rem; } }
.thread-layout { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .thread-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.inquiry-facts { margin-bottom: 1.25rem; }
.message-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .75rem; }
.message { max-width: 85%; background: var(--c-ivory); border: 1px solid var(--c-line); border-radius: 14px 14px 14px 4px; padding: .7rem 1rem; }
.message.is-mine { margin-left: auto; background: #F3ECE0; border-radius: 14px 14px 4px 14px; }
.message-meta { font-size: .78rem; color: var(--c-muted); margin: 0 0 .25rem; }
.message-body { overflow-wrap: anywhere; }
.is-unread-row td { font-weight: 500; }

/* Szolgáltatói felület */
.status-card { margin-bottom: 1.5rem; border-color: var(--c-gold); }
.page-provider .card + .plan-grid, .page-provider .plan-grid + .card { margin-top: 1.5rem; }
.day-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.day-bars li { display: grid; grid-template-columns: 3.5rem 1fr 2.5rem; gap: .5rem; align-items: center; font-size: .8rem; }
.day-bars progress { margin: 0; height: 8px; }
.day-value { text-align: right; font-variant-numeric: tabular-nums; }
.gallery-admin { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery-admin li { border: 1px solid var(--c-line); border-radius: var(--radius); padding: .5rem; display: grid; gap: .4rem; }
.gallery-admin li.is-hidden-by-plan { opacity: .55; }
.thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.thumb-logo { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; margin-bottom: .75rem; }
.thumb-cover { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--radius); margin-bottom: .75rem; }
.upload-form { margin-top: .5rem; }

/* Admin */
.admin-head { background: #F1EEE9; }
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; }
.fieldset-card { border: 1px solid var(--c-line); margin: 0 0 1.25rem; }
.fieldset-card legend { padding: 0 .5rem; }
.admin-list details > summary { cursor: pointer; min-height: 32px; }
.admin-list details[open] > summary { margin-bottom: 1rem; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.admin-row-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: .5rem; }
.wp-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.compare-table th[scope="row"] { color: var(--c-muted); font-weight: 500; white-space: nowrap; }
.compare-table thead th { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 500; }
.nav-account .badge-unread { margin-left: .25rem; }

/* Fiókmenü (fejléc) */
.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::after { content: "▾"; margin-left: .35rem; font-size: .75rem; }
.account-menu-list { list-style: none; margin: .5rem 0 0; padding: .4rem 0; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); min-width: 220px; }
.account-menu-list a, .account-menu-logout { display: block; width: 100%; text-align: left; padding: .6rem 1rem; color: var(--c-charcoal); text-decoration: none; background: none; border: 0; font: inherit; font-size: .95rem; cursor: pointer; min-height: 44px; }
.account-menu-list a:hover, .account-menu-logout:hover { background: var(--c-ivory); }
.account-menu-logout { color: var(--c-gold-ink); border-top: 1px solid var(--c-line); }
@media (min-width: 1200px) {
  .account-menu-list { position: absolute; right: 0; top: 100%; box-shadow: var(--shadow); z-index: 60; }
}

/* Blog (7. fázis) */
.blog-grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.blog-card { position: relative; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--c-champagne), var(--c-ivory)); overflow: hidden; }
.blog-card-media picture, .blog-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-placeholder { display: block; height: 100%; }
.blog-card-body { padding: 1.1rem 1.2rem 1.4rem; display: grid; gap: .45rem; }
.blog-card-meta { margin: 0; }
.blog-card-title { font-size: 1.25rem; line-height: 1.3; margin: 0; }
.blog-card-title a { color: var(--c-charcoal); text-decoration: none; }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; }
.blog-card-title a:focus-visible { outline: none; }
.blog-card:focus-within { outline: 2px solid var(--c-gold-ink); outline-offset: 2px; }
.blog-card-excerpt { margin: 0; color: var(--c-muted); font-size: .95rem; }
.chip-nav ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-nav a { display: inline-block; padding: .4rem .85rem; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white); text-decoration: none; font-size: .9rem; color: var(--c-charcoal); }
.chip-nav a[aria-current] { background: var(--c-charcoal); border-color: var(--c-charcoal); color: var(--c-white); }
.chip-nav a[aria-current] .muted { color: var(--c-champagne); }
.blog-byline { margin: .5rem 0 0; }
.blog-cover { margin-top: 0; margin-bottom: 0; }
.blog-cover picture, .blog-cover-img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.blog-article .prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.blog-article .prose figure { margin: 2rem 0; }
.blog-article .prose figcaption { font-size: .9rem; color: var(--c-muted); margin-top: .4rem; }
.blog-article .prose blockquote { border-left: 3px solid var(--c-gold); margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; font-family: var(--font-heading); font-size: 1.2rem; }
.blog-article .prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.blog-article .prose th, .blog-article .prose td { border-bottom: 1px solid var(--c-line); padding: .5rem .6rem; text-align: left; }
.text-center { text-align: center; }
.section-cta { text-align: center; margin: 0; }
.admin-gallery { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.admin-gallery li { border: 1px solid var(--c-line); border-radius: var(--radius); padding: .6rem; background: var(--c-white); display: grid; gap: .4rem; }
.admin-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.admin-gallery input { font-family: ui-monospace, monospace; font-size: .78rem; width: 100%; }
.provider-picker { max-height: 260px; overflow: auto; border: 1px solid var(--c-line); border-radius: var(--radius); padding: .5rem .75rem; background: var(--c-white); display: grid; gap: .25rem; }
.admin-thumb { border-radius: var(--radius); border: 1px solid var(--c-line); height: auto; max-width: 100%; }
.form-row-end { align-self: end; }

/* 2. fázis: inspirációk, GYIK, gyorsindító */
.story-gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.story-gallery figure { margin: 0; }
.story-gallery picture, .story-gallery-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.story-gallery figcaption { font-size: .88rem; color: var(--c-muted); margin-top: .35rem; }
.faq-group-title { font-size: 1.5rem; margin: 2.25rem 0 .5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-group-title:first-child { margin-top: 0; }
.quickstart { display: grid; gap: .9rem; }
.quickstart .form-row { margin: 0; }
.story-status { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.consent-box { border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-ivory); padding: 1rem 1.1rem; display: grid; gap: .6rem; }
.consent-box .check-item { align-items: flex-start; min-height: 0; }
.consent-box .check-item input { margin-top: .3rem; flex: none; }
.link-list { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .45rem; }

/* 8. fázis – akadálymentesség: legalább 24×24 px-es érintési cél az önálló linkeknél (WCAG 2.5.8) */
.contact-list dd a, .provider-aside dd a, .card-subtitle a, .social-links a { display: inline-block; min-height: 24px; padding-block: 2px; }

/* Illusztrációs fotók (hangulatképek) */
.category-chip.has-media { padding: 0; overflow: hidden; gap: 0; }
.category-chip.has-media .category-name { padding: .85rem 1rem 0; }
.category-chip.has-media .category-count { padding: 0 1rem .9rem; }
.category-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-champagne); }
.category-media picture, .category-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.category-chip.has-media:hover .category-img { transform: scale(1.04); }
.page-hero-media .container { display: grid; gap: 2rem; align-items: center; }
.page-hero-figure { display: none; margin: 0; }
@media (min-width: 820px) {
  .page-hero-media .container { grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 300px); }
  .page-hero-figure { display: block; }
}
.page-hero-figure picture, .page-hero-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tools-layout { display: grid; gap: 1.5rem; align-items: start; }
.tools-media { margin: 0; }
.tools-media picture, .tools-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; max-height: 520px; }
@media (max-width: 899px) { .tools-media { display: none; } }
@media (min-width: 900px) { .tools-layout { grid-template-columns: 300px minmax(0, 1fr); } .tools-layout .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .category-img { transition: none; } }
@media (max-width: 599px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .category-chip.has-media .category-name { padding: .6rem .7rem 0; font-size: .92rem; }
  .category-chip.has-media .category-count { padding: 0 .7rem .7rem; }
}

/* Süti-tájékoztató sáv (bal alsó sarok) */
.cookie-banner {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 55; width: min(380px, calc(100vw - 2rem));
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: .6rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-title { font-family: var(--font-heading); font-size: 1.15rem; margin: 0; color: var(--c-charcoal); }
.cookie-text { margin: 0; font-size: .9rem; color: var(--c-muted); line-height: 1.55; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { min-height: 44px; }
@media (max-width: 480px) { .cookie-banner { left: .5rem; right: .5rem; bottom: .5rem; width: auto; } }
.footer-link-button { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.9); cursor: pointer; min-height: 24px; text-align: left; }
.footer-link-button:hover { color: var(--c-champagne); text-decoration: underline; }
@media print { .cookie-banner { display: none !important; } }
