:root {
	--brand-a: #00DB99;
	--brand-b: #04A2AB;
	--brand-ink: #036b73;
	--navy: #182554;
	--ink: #182554;
	--body-text: #46516b;
	--muted: #6b7590;
	--paper: #f7f8fb;
	--surface: #ffffff;
	--border: #e3e6ef;
	--radius: 1rem;
	--shadow-sm: 0 1px 2px rgba(24,37,84,.05);
	--shadow-md: 0 18px 32px -14px rgba(24,37,84,.22);
}

html {
	scroll-behavior: smooth;
}
html, body {
	overscroll-behavior-y: none;
}
body {
	font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--body-text);
	background: var(--paper);
}
h1, h2, h3, h4, h5,
.navbar-brand-text,
.brand-serif {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--ink);
}
#bemutatkozas, #szakteruletek, #online_szolgaltatasok {
	scroll-margin-top: 90px;
}
.bi {
	vertical-align: -0.15em;
}

/* Navbar */
.site-navbar {
	background: rgba(255, 255, 255, .88) !important;
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 1px 0 rgba(24, 37, 84, .07);
}
.navbar-brand-text {
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.15;
}
a.nav-link {
	color: var(--ink) !important;
	font-weight: 500;
	text-align: center;
	border: none;
	border-radius: .6rem;
	padding: .55rem 1rem !important;
	transition: color .2s ease, background-color .2s ease;
}
a.nav-link:hover {
	color: var(--brand-ink) !important;
	background-color: rgba(4, 162, 171, .08);
	box-shadow: none;
}
a.nav-link.active {
	color: var(--brand-ink) !important;
	background-color: rgba(4, 162, 171, .1);
}
.dropdown-menu {
	border: none;
	border-radius: .75rem;
	box-shadow: var(--shadow-sm), var(--shadow-md);
	padding: .5rem;
	margin-top: .25rem;
}
.dropdown-item {
	border-radius: .5rem;
	padding: .55rem .9rem;
	font-weight: 500;
	color: var(--ink);
}
.dropdown-item:hover, .dropdown-item:focus {
	background-color: rgba(4, 162, 171, .08);
	color: var(--brand-ink);
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	padding-top: 7.5rem;
	padding-bottom: 4rem;
}
.hero::before {
	content: "";
	position: absolute;
	top: -140px;
	right: -160px;
	width: 460px;
	height: 460px;
	background: radial-gradient(circle, rgba(0, 219, 153, .22), rgba(4, 162, 171, 0) 70%);
	z-index: 0;
	pointer-events: none;
}
.hero .container {
	position: relative;
	z-index: 1;
}
.eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .78rem;
	font-weight: 700;
	color: var(--brand-ink);
	background: rgba(4, 162, 171, .1);
	padding: .4rem .9rem;
	border-radius: 999px;
	margin-bottom: 1.1rem;
}
.hero h1 {
	font-size: clamp(2rem, 4vw, 2.85rem);
	line-height: 1.18;
	margin-bottom: 1rem;
}
.hero .lead {
	font-size: 1.1rem;
	color: var(--muted);
	max-width: 32rem;
}
.rotating-text {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	background: linear-gradient(70deg, var(--brand-a), var(--brand-b));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	min-height: 2.6rem;
	margin: .5rem 0 1.75rem;
}
.hero-photo {
	border-radius: 1.5rem;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	aspect-ratio: 4 / 5;
}
.hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Page hero (subpages: single-column, shorter) */
.page-hero {
	position: relative;
	overflow: hidden;
	padding-top: 7.5rem;
	padding-bottom: 3rem;
}
.page-hero::before {
	content: "";
	position: absolute;
	top: -140px;
	right: -160px;
	width: 460px;
	height: 460px;
	background: radial-gradient(circle, rgba(0, 219, 153, .22), rgba(4, 162, 171, 0) 70%);
	z-index: 0;
	pointer-events: none;
}
.page-hero .container {
	position: relative;
	z-index: 1;
}
.page-hero h1 {
	font-size: clamp(1.9rem, 3.6vw, 2.6rem);
	line-height: 1.2;
	margin-bottom: 1rem;
}
.page-hero .lead {
	font-size: 1.1rem;
	color: var(--muted);
	max-width: 42rem;
}
.breadcrumb-link {
	font-size: .9rem;
	font-weight: 600;
	color: var(--brand-ink);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin-bottom: 1.25rem;
}
.breadcrumb-link:hover {
	color: var(--navy);
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}
.fade-in-up {
	animation: fadeInUp .8s ease both;
}

/* Buttons */
.btn-brand {
	background: linear-gradient(70deg, var(--brand-b), var(--navy));
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: .85rem 1.9rem;
	font-weight: 600;
	box-shadow: 0 12px 24px -10px rgba(4, 162, 171, .55);
	transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn-brand:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 16px 28px -10px rgba(4, 162, 171, .6);
}
.btn-outline-brand {
	border: 1.5px solid var(--border);
	color: var(--ink);
	border-radius: 999px;
	padding: .8rem 1.8rem;
	font-weight: 600;
	background: #fff;
	transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-outline-brand:hover {
	border-color: var(--brand-b);
	color: var(--brand-ink);
	transform: translateY(-2px);
}
@media (max-width: 420px) {
	.hero .cta-row,
	.page-hero .cta-row {
		flex-direction: column;
		align-items: stretch;
	}
	.hero .btn-brand,
	.hero .btn-outline-brand,
	.page-hero .btn-brand,
	.page-hero .btn-outline-brand {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* Sections & cards */
.section {
	padding-block: 4.5rem;
}
.section-sm {
	padding-block: 2.5rem;
}
.card {
	border: 0;
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm), var(--shadow-md);
	background: var(--surface);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 1px 2px rgba(24, 37, 84, .08), 0 26px 42px -16px rgba(24, 37, 84, .26);
}
.card-img-top {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.card-img-link {
	display: block;
	overflow: hidden;
}
.card-img-link .card-img-top {
	transition: transform .3s ease;
}
.card-img-link:hover .card-img-top {
	transform: scale(1.04);
}
.card-title {
	font-weight: 700;
	margin-bottom: 1rem;
}
.card-text, .card p, .card li {
	text-align: left;
	color: var(--body-text);
}
.list-group-item {
	background: transparent;
	border-color: var(--border);
}
.card table a {
	color: var(--brand-ink);
	text-decoration: none;
	font-weight: 500;
}
.card table a:hover {
	text-decoration: underline;
}
.card-link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 600;
	color: var(--brand-ink);
	text-decoration: none;
}
.card-link:hover {
	color: var(--navy);
}

/* Category icon badge (subpages) */
.category-icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(0, 219, 153, .15), rgba(4, 162, 171, .15));
	color: var(--brand-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	flex-shrink: 0;
}
.category-header {
	display: flex;
	align-items: center;
	gap: .85rem;
	margin-bottom: 1rem;
}
.category-header .card-title {
	margin-bottom: 0;
}

/* Highlight panel */
.panel-highlight {
	background: linear-gradient(135deg, rgba(0, 219, 153, .1), rgba(4, 162, 171, .08));
	border: 1px solid var(--border);
	border-radius: 1.5rem;
	padding: 2.5rem;
}

/* Accordion */
.accordion-item {
	border: 1px solid var(--border);
}
.accordion-button {
	font-weight: 600;
	color: var(--ink);
}
.accordion-button:not(.collapsed) {
	color: var(--brand-ink);
	background-color: rgba(4, 162, 171, .06);
	box-shadow: none;
}
.accordion-button:focus {
	box-shadow: 0 0 0 .2rem rgba(4, 162, 171, .15);
}

/* Location band */
.location-band {
	position: relative;
	min-height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	background-image: linear-gradient(rgba(16, 27, 63, .78), rgba(16, 27, 63, .78)), url('pecs.webp');
	background-size: cover;
	background-position: center;
	border-radius: 1.5rem;
	padding: 2.5rem 1.5rem;
}
.location-band h3 {
	color: #fff;
	margin-bottom: .5rem;
}
.location-band .bi {
	color: var(--brand-a);
}

/* Testimonials */
.testimonial-card {
	position: relative;
}
.testimonial-quote-icon {
	font-size: 1.8rem;
	color: var(--brand-a);
	line-height: 1;
}
.testimonial-text {
	font-style: italic;
	color: var(--body-text);
}
.testimonial-author {
	font-weight: 700;
	color: var(--ink);
}
.testimonial-date {
	color: var(--muted);
	font-size: .85rem;
}

/* Blog */
.article-body {
	max-width: 42rem;
	margin: 0 auto;
}
.article-body h2 {
	font-size: 1.4rem;
	margin-top: 2.25rem;
	margin-bottom: .85rem;
}
.article-body p, .article-body li {
	color: var(--body-text);
}
.article-body ul, .article-body ol {
	padding-left: 1.25rem;
}
.article-meta {
	color: var(--muted);
	font-size: .9rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-weight: 600;
}
.article-disclaimer {
	background: var(--paper);
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: 1.25rem 1.5rem;
	font-size: .9rem;
	color: var(--muted);
	margin-top: 2.5rem;
}
.blog-card-img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Contact form */
.form-label {
	font-weight: 600;
	color: var(--ink);
	font-size: .92rem;
}
.form-control, .form-select {
	border-color: var(--border);
	padding: .65rem .9rem;
	border-radius: .6rem;
}
.form-control:focus, .form-select:focus {
	border-color: var(--brand-b);
	box-shadow: 0 0 0 .2rem rgba(4, 162, 171, .15);
}
.form-consent {
	color: var(--muted);
	font-size: .85rem;
}
.form-consent a {
	color: var(--brand-ink);
}

/* Footer */
.site-footer {
	background: var(--navy);
	color: rgba(255, 255, 255, .82);
	padding-block: 3.5rem;
	margin-top: 1rem;
}
.site-footer h6 {
	color: #fff;
	font-family: 'Inter', sans-serif;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .78rem;
	font-weight: 700;
	margin-bottom: 1rem;
}
.site-footer a {
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
}
.site-footer a:hover {
	color: var(--brand-a);
}
.site-footer .table {
	--bs-table-bg: transparent;
	--bs-table-color: rgba(255, 255, 255, .82);
	--bs-table-striped-bg: transparent;
	--bs-table-striped-color: rgba(255, 255, 255, .82);
	--bs-table-active-bg: transparent;
	--bs-table-hover-bg: transparent;
	color: rgba(255, 255, 255, .82);
}
.site-footer table td {
	background-color: transparent;
	color: rgba(255, 255, 255, .82);
	border-color: rgba(255, 255, 255, .12);
	padding-top: .4rem;
	padding-bottom: .4rem;
}
.site-footer hr {
	border-color: rgba(255, 255, 255, .14);
}
.site-footer .brand-serif {
	color: #fff;
}

/* Ügyfélportál - üzenetszál */
.msg-thread {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}
.msg-bubble {
	max-width: 80%;
	padding: .8rem 1.1rem;
	border-radius: .9rem;
	border: 1px solid var(--border);
	background: var(--paper);
}
.msg-bubble p, .card .msg-bubble p {
	white-space: pre-line;
	color: var(--ink);
	font-weight: 500;
}
.msg-bubble-admin {
	align-self: flex-start;
	border-top-left-radius: .25rem;
}
.msg-bubble-client {
	align-self: flex-end;
	background: var(--navy);
	border-color: var(--navy);
	border-top-right-radius: .25rem;
}
.msg-bubble-client p, .card .msg-bubble-client p {
	color: #fff;
}
.msg-bubble-client .msg-meta {
	color: rgba(255, 255, 255, .85);
}
.msg-meta {
	display: block;
	font-size: .78rem;
	font-weight: 700;
	color: var(--brand-ink);
	margin-bottom: .35rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* Admin - törlés mód */
.delete-mode-toggle .btn-outline-brand {
	padding: .45rem 1.1rem;
	font-size: .85rem;
}
.delete-mode-toggle .badge {
	font-size: .78rem;
	font-weight: 600;
	padding: .5rem .8rem;
}
.btn-delete {
	border: 1.5px solid #dc3545;
	color: #dc3545;
	border-radius: 999px;
	padding: .3rem .9rem;
	font-size: .82rem;
	font-weight: 600;
	background: #fff;
	transition: background .2s ease, color .2s ease;
}
.btn-delete:hover {
	background: #dc3545;
	color: #fff;
}
