/* ==========================================================================
   Soti Ordination – fő stíluslap
   Színek: a fő szín és árnyalatai a Soti Inhalte bővítményből jönnek (--c-*)
   ========================================================================== */

:root {
	--c-primary: #EE7A30;
	--c-on-primary: #17232B;
	--c-primary-dark: #8f491d;
	--c-primary-soft: #fdefe6;
	--c-primary-tint: #fad7c1;
	--c-footer: #3a2a22;

	--bg: #F6F4EF;
	--surface: #FFFFFF;
	--ink: #17232B;
	--ink-2: #33414B;
	--text: #43515C;
	--muted: #52606B;
	--line: #E6E2D8;
	--line-2: #E1DCD0;
	--line-soft: #ECE8DF;
	--btn-line: #CFC9BC;
	--field-bg: #FBFAF7;
	--field-line: #DDD7CA;

	--f-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--f-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--gutter: clamp(16px, 5.5vw, 80px);
	--max: 1280px;
	--r-sm: 14px;
	--r-md: 22px;
	--r-lg: 28px;
	--r-xl: 32px;
	--shadow: 0 24px 60px rgba(23, 35, 43, 0.12);
	--sec-y: clamp(64px, 8vw, 112px);
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; border-radius: 6px; }
.soti-icon { flex-shrink: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 16px; }
.muted { color: var(--muted); font-size: 15px; }
body.modal-open { overflow: hidden; }

/* ---------- Tipográfia ---------- */
.eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-primary-dark);
}
.eyebrow--ink { color: inherit; }
.sec-head { display: flex; flex-direction: column; gap: 14px; }
.sec-head--center { align-items: center; text-align: center; }
.sec-title {
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.1;
	letter-spacing: -.02em;
}
.sec-title--sm { font-size: clamp(28px, 3vw, 36px); }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.band .sec-head:not(.sec-head-row .sec-head) { margin-bottom: 48px; }
.prose p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--c-primary-dark); font-weight: 600; text-decoration: underline; }

/* ---------- Gombok ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
	text-align: center;
}
.btn:hover { opacity: 1; transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--primary { background: var(--c-primary); color: var(--c-on-primary); }
.btn--primary:hover { box-shadow: 0 10px 24px color-mix(in srgb, var(--c-primary) 35%, transparent); }
.btn--ghost { border-color: var(--btn-line); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.btn--light { background: #fff; color: var(--c-primary-dark); font-weight: 700; min-height: 52px; padding: 0 24px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--c-primary-dark); }

.pill {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
	font-size: 14px;
	font-weight: 600;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }
.badge { align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary-dark); font-size: 13px; font-weight: 700; }

.icon-tile {
	width: 56px; height: 56px;
	border-radius: 16px;
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.icon-tile--sm { width: 48px; height: 48px; border-radius: 14px; }
.icon-tile--lg { width: 60px; height: 60px; border-radius: 18px; }

/* ---------- Szabadság-sáv ---------- */
.vacation-bar { background: var(--c-primary-dark); color: #fff; font-size: 14px; }
.vacation-bar__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; min-height: 44px; padding: 8px 0; text-align: center; }

/* ---------- Fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand:hover { opacity: 1; }
.brand-mono {
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--c-primary); color: var(--c-on-primary);
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--f-serif); font-size: 19px; font-weight: 500; flex-shrink: 0;
}
.brand-logo { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--f-serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.brand-tag { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; line-height: 1.3; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a { display: block; padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .15s; }
.nav-list a:hover { background: var(--bg); opacity: 1; }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; }
.lang-switch a { display: block; padding: 6px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch a.is-active { background: var(--ink); color: #fff; }

.nav-toggle { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 7vw, 104px); }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__content { display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.025em; }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text); max-width: 540px; }
.check-line { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.check-line__icon { width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary-dark); display: inline-flex; align-items: center; justify-content: center; }
.hero .btn-row { padding-top: 8px; }
.hero__contacts { display: flex; flex-wrap: wrap; gap: 20px 32px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.contact-mini { display: flex; align-items: center; gap: 12px; color: var(--c-primary-dark); }
.contact-mini span { display: flex; flex-direction: column; color: var(--ink); }
.contact-mini small { font-size: 12.5px; color: var(--muted); }
.contact-mini strong { font-size: 16px; font-weight: 600; }

.hero__visual { position: relative; min-height: 620px; }
.hero__media { position: absolute; top: 0; right: 0; width: min(540px, 92%); height: 580px; border-radius: var(--r-xl); background: var(--c-primary-tint); overflow: hidden; }
.hero__blob { position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--c-primary-soft); }
.hero__img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.hero__img.is-placeholder { display: flex; align-items: center; justify-content: center; color: var(--c-primary-dark); opacity: .5; }
.hours-card { position: absolute; left: 0; bottom: 0; width: 300px; background: #fff; border-radius: var(--r-md); padding: 26px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.hours-card__head { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.hours-card__head .soti-icon { color: var(--c-primary-dark); }

/* ---------- Nyitvatartás listák ---------- */
.hours { display: flex; flex-direction: column; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { font-weight: 400; }
.hours dd { font-weight: 600; text-align: right; white-space: nowrap; }
.hours--card { gap: 8px; font-size: 14.5px; }
.hours--card dt { color: var(--muted); }
.hours--big .hours-row { padding: 14px 0; border-bottom: 1px solid rgba(23, 35, 43, .16); font-size: 16.5px; }
.hours--big .hours-row:last-child { border-bottom: 0; }
.hours--big dd { font-weight: 700; }
.hours--big .is-closed dd, .hours--compact .is-closed dd { font-weight: 400; }
.hours--compact { gap: 10px; font-size: 15px; }
.hours--compact dd { font-weight: 700; }
.hours--footer { gap: 12px; font-size: 15px; }
.hours--footer dd { color: #fff; font-weight: 400; }

/* ---------- Sávok és kártyák ---------- */
.band { padding: var(--sec-y) 0; }
.band--white { background: var(--surface); }
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card { background: var(--bg); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.feature-card h3 { font-size: 21px; line-height: 1.3; font-weight: 700; }
.feature-card p { color: var(--muted); }

/* ---------- Orvosok ---------- */
.doctors { padding: var(--sec-y) 0 calc(var(--sec-y) - 56px); }
.doctors .sec-head { margin-bottom: 32px; }
.doctor { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 5vw, 72px); align-items: start; padding: 32px 0 56px; }
.doctor--flip { grid-template-columns: 7fr 5fr; }
.doctor--flip .doctor__photo { order: 2; }
.doctor__photo { position: sticky; top: 130px; }
.doctor__img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: var(--r-lg); background: var(--c-primary-tint); }
.doctor__img.is-placeholder { display: flex; align-items: center; justify-content: center; color: var(--c-primary-dark); }
.doctor__img.is-placeholder .soti-icon { opacity: .55; }
.doctor__body { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.doctor__head { display: flex; flex-direction: column; gap: 8px; }
.doctor__name { font-family: var(--f-serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.015em; line-height: 1.15; }
.doctor__sub { color: var(--muted); line-height: 1.55; }
.doctor__quote { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 23px); line-height: 1.45; color: var(--c-primary-dark); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats--1 { grid-template-columns: minmax(0, 1fr); max-width: 280px; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats li { background: #fff; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-family: var(--f-serif); font-size: 30px; font-weight: 500; color: var(--c-primary-dark); line-height: 1.2; }
.stats span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; }
.tags li.is-hl { background: var(--c-primary-soft); border-color: transparent; color: var(--c-primary-dark); }

/* ---------- Csapat ---------- */
.member { display: flex; flex-direction: column; gap: 6px; }
.member__img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 24px; background: var(--c-primary-soft); margin-bottom: 12px; }
.member__img.is-placeholder { display: flex; align-items: center; justify-content: center; color: var(--c-primary-dark); }
.member__img.is-placeholder .soti-icon { opacity: .45; }
.member__text { display: flex; flex-direction: column; gap: 6px; }
.member__name { font-size: 19px; font-weight: 700; line-height: 1.3; }
.member__role { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Idézetek ---------- */
.quotes { background: var(--c-primary-dark); color: #fff; padding: clamp(64px, 7vw, 96px) 0; }
.quotes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.quote { display: flex; flex-direction: column; gap: 20px; }
.quote__mark { font-family: var(--f-serif); font-size: 72px; line-height: .6; color: var(--c-primary-tint); }
.quote blockquote { font-family: var(--f-serif); font-style: italic; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.35; }
.quote figcaption { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary-tint); }

/* ---------- Időpont CTA ---------- */
.section-cta { padding: var(--sec-y) 0; }
.cta-card { background: #fff; border-radius: var(--r-xl); padding: clamp(32px, 4.5vw, 56px) clamp(24px, 4.5vw, 64px); display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.cta-card__main { display: flex; flex-direction: column; gap: 18px; }
.cta-card__main .sec-title { font-size: clamp(30px, 3vw, 40px); }
.cta-card__main p { font-size: 17px; line-height: 1.65; color: var(--text); }
.cta-card .btn-row { padding-top: 6px; }
.notfall { background: var(--c-primary-soft); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.notfall:hover { opacity: 1; }
.notfall__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary-dark); }
.notfall__num { font-family: var(--f-serif); font-size: 56px; line-height: 1; font-weight: 500; color: var(--c-primary-dark); }
.notfall__text { font-size: 15px; line-height: 1.55; }

/* ---------- Aloldalak ---------- */
.page-hero { padding: clamp(48px, 5.5vw, 80px) 0 clamp(40px, 4.5vw, 64px); }
.page-hero .container { display: flex; flex-direction: column; gap: 20px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -.025em; }
.page-lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--text); max-width: 720px; }
.page-lead--wide { max-width: 820px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.page-body { padding-bottom: var(--sec-y); }
.page-body--tight { padding-bottom: 64px; }

.split { display: grid; gap: 32px; align-items: start; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.split--5-7 { grid-template-columns: 5fr 7fr; align-items: stretch; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.split--5-7 .stack { gap: 16px; }

.panel { background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.panel--letter { padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px); gap: 36px; }
.panel--form { padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px); gap: 24px; scroll-margin-top: 130px; }
.panel--primary { background: var(--c-primary); color: var(--c-on-primary); gap: 24px; }
.panel--primary .hours--compact .hours-row { gap: 24px; }
.panel--grow { flex-grow: 1; border-radius: 24px; padding: 32px; gap: 16px; }
.panel__title { display: flex; align-items: center; gap: 12px; font-family: var(--f-serif); font-size: 26px; font-weight: 500; line-height: 1.2; }
.panel__title--sm { font-family: var(--f-sans); font-size: 18px; font-weight: 700; }
.panel:not(.panel--primary) .panel__title .soti-icon { color: var(--c-primary-dark); }

.letter__head { display: flex; flex-direction: column; gap: 16px; }
.letter__motto { font-family: var(--f-serif); font-style: italic; font-size: clamp(21px, 2vw, 25px); line-height: 1.4; color: var(--c-primary-dark); }
.rules { display: flex; flex-direction: column; }
.rule { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line-soft); }
.rule > div { display: flex; flex-direction: column; gap: 8px; }
.rule__title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.rule p { color: var(--text); line-height: 1.65; }
.rule a { color: var(--c-primary-dark); font-weight: 600; text-decoration: underline; word-break: break-word; }
.letter__sign { display: flex; flex-direction: column; gap: 6px; padding-top: 32px; border-top: 1px solid var(--line-soft); color: var(--text); }
.letter__sign strong { font-family: var(--f-serif); font-size: 22px; font-weight: 500; color: var(--ink); }

.vac-list { display: flex; flex-direction: column; gap: 10px; }
.vac-list li { padding: 12px 16px; border-radius: 12px; background: var(--bg); font-size: 15.5px; font-weight: 600; }
.stack > .notfall { flex-direction: row; align-items: center; gap: 24px; border-radius: var(--r-lg); padding: 36px 40px; flex-wrap: wrap; }
.stack > .notfall .notfall__label { width: 100%; }
.stack > .notfall .notfall__num { font-size: 54px; }
.stack > .notfall .notfall__text { flex: 1 1 200px; }

.service-card { background: #fff; border-radius: var(--r-lg); padding: 40px; min-height: 320px; display: flex; flex-direction: column; gap: 20px; }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-card__num { font-family: var(--f-serif); font-size: 20px; color: #A39C8C; }
.service-card__title { font-size: 22px; line-height: 1.3; font-weight: 700; }
.service-card p { color: var(--muted); line-height: 1.65; }
.service-card--cta { background: var(--c-primary); color: var(--c-on-primary); justify-content: space-between; gap: 24px; }
.service-card--cta > div { display: flex; flex-direction: column; gap: 14px; }
.service-card--cta p { color: inherit; }
.service-card__cta-title { font-family: var(--f-serif); font-size: 30px; line-height: 1.2; font-weight: 500; }
.service-card--cta .btn { align-self: flex-start; max-width: 100%; word-break: break-all; }

.contact-card { background: #fff; border-radius: 24px; padding: 28px 32px; display: flex; align-items: center; gap: 20px; color: var(--ink); }
.contact-card > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-card small { font-size: 13.5px; color: var(--muted); }
.contact-card strong { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }

/* ---------- Űrlap ---------- */
.soti-form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 600; }
.form-field input, .form-field textarea {
	width: 100%;
	min-height: 54px;
	padding: 0 18px;
	border-radius: var(--r-sm);
	border: 1.5px solid var(--field-line);
	background: var(--field-bg);
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { padding: 16px 18px; min-height: 200px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); background: #fff; }
.form-field--captcha input { width: 120px; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--text); }
.form-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--c-primary); flex-shrink: 0; }
.form-consent a { color: var(--c-primary-dark); font-weight: 600; text-decoration: underline; }
.form-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.soti-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.soti-alert { padding: 16px 20px; border-radius: var(--r-sm); font-weight: 600; line-height: 1.5; }
.soti-alert--ok { background: #e8f5ec; color: #1d5a31; }
.soti-alert--err { background: #fdecea; color: #8a1f17; }
.panel--form .wpcf7 input:not([type=submit]):not([type=checkbox]), .panel--form .wpcf7 textarea { width: 100%; padding: 14px 18px; border-radius: var(--r-sm); border: 1.5px solid var(--field-line); background: var(--field-bg); font: inherit; }
.panel--form .wpcf7 input[type=submit] { background: var(--c-primary); color: var(--c-on-primary); border: 0; border-radius: 999px; padding: 16px 32px; font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- Térkép ---------- */
.page-body--map { padding-bottom: var(--sec-y); }
.map { position: relative; height: 380px; border-radius: var(--r-lg); background: var(--c-primary-tint); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.map::before, .map::after { content: ""; position: absolute; background: var(--c-primary-soft); }
.map::before { left: 0; right: 0; top: 50%; height: 2px; }
.map::after { top: 0; bottom: 0; left: 38%; width: 2px; box-shadow: 34vw 0 0 var(--c-primary-soft); }
.map.is-loaded::before, .map.is-loaded::after { display: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 0 16px; }
.map__pin { width: 64px; height: 64px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(23, 35, 43, .2); }
.map__consent strong { background: #fff; padding: 10px 18px; border-radius: 999px; font-size: 15px; }
.map__consent small { font-size: 12.5px; color: var(--c-primary-dark); font-weight: 600; max-width: 360px; }

/* ---------- Általános oldal ---------- */
.prose--page { max-width: 860px; }
.prose--page h2, .prose--page h3 { font-family: var(--f-serif); font-weight: 500; margin: 1.2em 0 .4em; line-height: 1.2; }
.prose--page h2 { font-size: 28px; }
.prose--page h3 { font-size: 22px; }
.prose--page ul, .prose--page ol { padding-left: 1.3em; list-style: disc; color: var(--ink-2); }
.prose--page li + li { margin-top: .35em; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--c-footer); color: #D6DEE2; padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.brand--footer { color: #fff; }
.brand--footer .brand-mono { width: 44px; height: 44px; background: #fff; color: var(--c-primary-dark); font-size: 18px; }
.brand--footer .brand-logo { height: 48px; }
.brand--footer .brand-name { font-size: 22px; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: #B7C4CB; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-title { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB0B9; padding-bottom: 6px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-links a { color: #fff; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #9FB0B9; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a, .footer-cookie { color: #fff; }
.footer-cookie { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-cookie:hover { opacity: .85; }

/* ---------- Szabadság ablak ---------- */
.vac-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.vac-modal[hidden] { display: none; }
.vac-modal__backdrop { position: absolute; inset: 0; background: rgba(23, 35, 43, .5); animation: soti-fade .25s ease; }
.vac-modal__box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); animation: soti-pop .3s cubic-bezier(.2, .9, .3, 1.2); }
.vac-modal__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--c-primary-soft); color: var(--c-primary-dark); display: flex; align-items: center; justify-content: center; }
.vac-modal__box h2 { font-family: var(--f-serif); font-weight: 500; font-size: 30px; line-height: 1.15; }
.vac-modal__box p { color: var(--text); }
.vac-modal__box .btn { margin-top: 8px; }
@keyframes soti-fade { from { opacity: 0; } }
@keyframes soti-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }


/* ==========================================================================
   Animációk
   ========================================================================== */
/* Görgetéskor beúszó elemek (csak ha fut a JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.js .reveal.is-in, .reveal-all .reveal { opacity: 1; transform: none; }
.js .doctor__photo.reveal { transform: translateY(26px) scale(.98); }
.js .doctor__photo.reveal.is-in { transform: none; }

/* Hero: betöltéskor egymás után jelenik meg */
.js .hero__content > * { animation: soti-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero__content > *:nth-child(2) { animation-delay: .08s; }
.js .hero__content > *:nth-child(3) { animation-delay: .16s; }
.js .hero__content > *:nth-child(4) { animation-delay: .24s; }
.js .hero__content > *:nth-child(5) { animation-delay: .32s; }
.js .hero__content > *:nth-child(6) { animation-delay: .4s; }
.js .hero__media { animation: soti-zoom 1s cubic-bezier(.2, .7, .2, 1) .1s both; }
.js .hours-card { animation: soti-rise .9s cubic-bezier(.2, .7, .2, 1) .45s both, soti-float 6s ease-in-out 1.6s infinite; }
.hero__blob { animation: soti-blob 14s ease-in-out infinite; }
.pill__dot { animation: soti-pulse 2.4s ease-out infinite; }
@keyframes soti-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes soti-zoom { from { opacity: 0; transform: scale(.96); } }
@keyframes soti-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes soti-blob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.06); } }
@keyframes soti-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-primary) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }

/* Kártyák: finom emelkedés egér alatt */
.feature-card, .service-card, .contact-card, .member, .stats li, .tags li, .cta-card .notfall, .vac-list li {
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.feature-card:hover, .service-card:hover, .contact-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 35, 43, .08); opacity: 1; }
.service-card--cta:hover { box-shadow: 0 18px 40px color-mix(in srgb, var(--c-primary) 35%, transparent); }
.member:hover .member__img { transform: scale(1.02); }
.member__img { transition: transform .4s ease; }
.icon-tile { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background-color .25s ease; }
.feature-card:hover .icon-tile, .service-card:hover .icon-tile, .contact-card:hover .icon-tile, .rule:hover .icon-tile { transform: rotate(-6deg) scale(1.08); }
.link-arrow .soti-icon, .btn .soti-icon { transition: transform .2s ease; }
.link-arrow:hover .soti-icon, .btn:hover .soti-icon { transform: translateX(4px); }
.nav-list a { position: relative; }

/* Vissza a tetejére */
.to-top {
	position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 60;
	width: 52px; height: 52px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--c-primary); color: var(--c-on-primary);
	box-shadow: 0 12px 28px rgba(23, 35, 43, .22);
	opacity: 0; visibility: hidden; transform: translateY(16px);
	transition: opacity .3s ease, transform .3s ease, visibility .3s, box-shadow .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23, 35, 43, .28); }
.to-top svg { transition: transform .2s ease; }
.to-top:hover svg { transform: translateY(-2px); }
body.modal-open .to-top, body.nav-open .to-top { opacity: 0; visibility: hidden; }

/* Térkép a cookie-bannerhez kötve */
.map--gated .scc-placeholder { position: relative; z-index: 1; background: transparent; min-height: 0; padding: 0; }
.map--gated .map__open { display: none; }
.map--gated.scc-loaded { background: var(--line); }
.map--gated.scc-loaded::before, .map--gated.scc-loaded::after { display: none; }
.map--gated.scc-loaded .map__open { display: inline-flex; }

/* Térkép (azonnal betöltve) */
.map.is-loaded { background: var(--line); }
.map__open {
	position: absolute; left: 16px; bottom: 16px; z-index: 2;
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px;
	font-size: 14px; font-weight: 600; box-shadow: 0 8px 20px rgba(23, 35, 43, .15);
}
.map__open .soti-icon { color: var(--c-primary-dark); }

/* ==========================================================================
   Reszponzív
   ========================================================================== */
@media (max-width: 1180px) {
	.nav-toggle { display: inline-flex; }
	.site-header__inner { min-height: 80px; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 20px;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: 16px var(--gutter) 24px;
		box-shadow: 0 24px 40px rgba(23, 35, 43, .08);
		display: none;
	}
	.nav-open .site-nav { display: flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
	.nav-list a { padding: 14px 16px; font-size: 17px; border-radius: var(--r-sm); }
	.header-actions { justify-content: space-between; flex-wrap: wrap; }
	.header-actions .btn { flex: 1 1 auto; min-height: 52px; }
}

@media (max-width: 1080px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__visual { min-height: 0; display: grid; gap: 0; }
	.hero__media { position: relative; width: 100%; height: clamp(320px, 60vw, 520px); }
	.hours-card { position: relative; width: min(340px, calc(100% - 32px)); margin: -96px 0 0 16px; }
	.card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.doctor, .doctor--flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.doctor--flip .doctor__photo { order: 0; }
	.doctor__photo { position: static; max-width: 520px; }
	.split--7-5, .split--5-7 { grid-template-columns: minmax(0, 1fr); }
	.cta-card { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 720px) {
	body { font-size: 15.5px; }
	.brand-tag { display: none; }
	.brand-name { font-size: 18px; }
	.brand-mono { width: 42px; height: 42px; font-size: 17px; }
	.nav-toggle__label { display: none; }
	.nav-toggle { padding: 10px 12px; }
	.vacation-bar { font-size: 13px; }
	.card-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.card-grid--4 { gap: 20px 16px; }
	.feature-card, .service-card { padding: 28px; min-height: 0; }
	.stats, .stats--2 { grid-template-columns: minmax(0, 1fr); }
	.stats li { flex-direction: row; align-items: baseline; gap: 14px; }
	.stats strong { font-size: 26px; flex-shrink: 0; }
	.quotes__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.btn-row .btn { flex: 1 1 100%; }
	.form-grid { grid-template-columns: minmax(0, 1fr); }
	.form-foot .btn { flex: 1 1 100%; }
	.contact-card { padding: 22px; gap: 16px; }
	.contact-card strong { font-size: 17px; }
	.rule { gap: 16px; }
	.stack > .notfall { padding: 28px; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.map { height: 320px; }
	.sec-head-row { margin-bottom: 32px; }
	.band .sec-head:not(.sec-head-row .sec-head) { margin-bottom: 32px; }
}

@media (max-width: 420px) {
	.card-grid--4 { grid-template-columns: minmax(0, 1fr); }
	.member { flex-direction: row; align-items: center; gap: 16px; }
	.member__img { width: 96px; flex-shrink: 0; margin: 0; border-radius: 18px; }
	.member__img.is-placeholder .soti-icon { width: 28px; height: 28px; }
}

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

@media print {
	.reveal { opacity: 1 !important; transform: none !important; }
	.to-top { display: none !important; }
	.vacation-bar, .site-header .site-nav, .nav-toggle, .map, .vac-modal { display: none !important; }
	.site-header { position: static; }
	body { background: #fff; }
}
