:root {
	/* Exact shared finish from the existing consultation CTA. */
	--gold-surface: linear-gradient(120deg, #f9e6a7 0%, #d4a63d 40%, #fff2c9 55%, #ba8424 100%);
	--gold-border: 1px solid rgba(173, 118, 20, 0.55);
	--gold-ink: #2f1b00;
	--gold-text-shadow: 0 1px 0 rgba(255, 245, 212, 0.65);
	--gold-shadow: 0 10px 24px rgba(123, 84, 16, 0.28), inset 0 1px 0 rgba(255, 248, 223, 0.9), inset 0 -1px 0 rgba(135, 86, 16, 0.3);
	--gold-shadow-hover: 0 14px 30px rgba(123, 84, 16, 0.34), inset 0 1px 0 rgba(255, 248, 223, 0.95), inset 0 -1px 0 rgba(135, 86, 16, 0.34);
	--gold-shine: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.78) 48%, transparent 64%);
	--bg: #f3f6f8;
	--surface: #ffffff;
	--surface-soft: #ecf2f4;
	--text: #132330;
	--text-soft: #445867;
	--primary: #0f766e;
	--primary-strong: #0b5f58;
	--accent: #d97706;
	--line: #d4dee3;
	--radius-lg: 24px;
	--radius-md: 16px;
	--radius-sm: 12px;
	--shadow: 0 20px 55px rgba(11, 31, 46, 0.1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Manrope", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at 10% -10%, rgba(15, 118, 110, 0.15), transparent 42%),
		radial-gradient(circle at 90% 20%, rgba(217, 119, 6, 0.14), transparent 40%),
		var(--bg);
	line-height: 1.65;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.shell {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.site-main {
	overflow: hidden;
}

.section {
	padding: 72px 0;
}

.section-head {
	max-width: 760px;
	margin-bottom: 28px;
}

.eyebrow {
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--primary);
}

.contact-main-title {
	margin: 0 0 12px;
	font-family: "Manrope", sans-serif;
	font-size: clamp(1.9rem, 3.2vw, 3.2rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: none;
	color: var(--primary);
}

.section-head > h1 {
	font-family: "Manrope", sans-serif;
	font-size: clamp(1.9rem, 3.2vw, 3.2rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: none;
	color: var(--primary);
}

h1,
h2,
h3,
h4 {
	font-family: "Fraunces", serif;
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin-top: 0;
}

h1 {
	font-size: clamp(2rem, 4vw, 4.35rem);
	margin-bottom: 14px;
}

h2 {
	font-size: clamp(1.7rem, 2.8vw, 3rem);
	margin-bottom: 12px;
}

h3 {
	font-size: clamp(1.2rem, 2.1vw, 1.5rem);
	margin-bottom: 10px;
}

p {
	margin: 0 0 16px;
	color: var(--text-soft);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.01em;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), #15837a);
	color: #fff;
	box-shadow: 0 14px 34px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
	background: linear-gradient(135deg, var(--primary-strong), var(--primary));
}

.btn-ghost {
	border: 1px solid rgba(19, 35, 48, 0.18);
	background: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
	border-color: rgba(19, 35, 48, 0.36);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	padding: 10px 0;
	background: transparent;
	transition: padding 0.2s ease;
}

.site-header.is-scrolled {
	padding: 8px 0;
}

.site-header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 28px;
	align-items: center;
	min-height: 78px;
	padding: 10px 16px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
	box-shadow: 0 14px 32px rgba(8, 20, 29, 0.12);
	backdrop-filter: blur(16px) saturate(1.35);
	-webkit-backdrop-filter: blur(16px) saturate(1.35);
	transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled .site-header-inner {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
	border-color: rgba(255, 255, 255, 0.4);
	box-shadow: 0 14px 30px rgba(8, 20, 29, 0.16);
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.site-brand .custom-logo-link {
	flex: 0 0 auto;
}

.custom-logo-link img {
	max-height: 56px;
	width: auto;
}

.site-brand-meta {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
	line-height: 1.2;
}

.site-brand-name {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #173245;
	white-space: nowrap;
}

.site-brand-tagline {
	font-size: 0.98rem;
	font-weight: 500;
	color: #3d5565;
	white-space: nowrap;
}

.site-title {
	font-family: "Fraunces", serif;
	font-size: 1.5rem;
	font-weight: 700;
}

.site-nav {
	justify-self: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.site-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-menu a {
	padding: 8px 12px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	color: #233848;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.site-menu a:hover,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
	color: var(--primary);
	background: rgba(255, 255, 255, 0.38);
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 16px;
	min-width: 170px;
	position: relative;
	overflow: hidden;
	border-radius: 999px;
	background: var(--gold-surface);
	background-size: 180% 180%;
	border: var(--gold-border);
	color: var(--gold-ink);
	font-weight: 700;
	font-size: 0.92rem;
	white-space: nowrap;
	text-shadow: var(--gold-text-shadow);
	box-shadow: var(--gold-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
	animation: gold-glow 4.8s ease-in-out infinite;
}

.header-cta .header-cta-text {
	position: relative;
	z-index: 2;
}

.header-cta::before,
.matea-float__btn::before,
.matea-float__head::before {
	content: "";
	position: absolute;
	inset: -1px;
	background: var(--gold-shine);
	transform: translateX(-140%);
	animation: gold-shine 3.2s ease-in-out infinite;
	z-index: 1;
	pointer-events: none;
}

.header-cta:hover {
	transform: translateY(-1px);
	filter: saturate(1.08) brightness(1.02);
	box-shadow: var(--gold-shadow-hover);
}

.skip-link {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1000;
	transform: translateY(-200%);
	padding: 12px 18px;
	background: #fff;
	color: #0f766e;
}
.skip-link:focus { transform: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid #0f766e;
	outline-offset: 3px;
}
.news-archive-link { margin-top: 24px; }
.news-archive .post-card h2 { font-size: 1.2rem; }
.news-pagination ul { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; }
.news-pagination a, .news-pagination .current { display: inline-block; padding: 8px 12px; }
.news-pagination .current { font-weight: 700; }

.hero-actions .header-cta {
	min-width: 170px;
}

.nav-toggle {
	display: none;
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	padding: 9px 14px;
	font-weight: 700;
	font-size: 0.82rem;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.hero-section {
	position: relative;
	padding: 84px 0 34px;
}

.hero-glow {
	position: absolute;
	inset: 15% auto auto 50%;
	width: min(50vw, 640px);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(15, 118, 110, 0.25), transparent 60%);
	transform: translateX(-50%);
	pointer-events: none;
	filter: blur(8px);
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 36px;
	align-items: stretch;
}

.hero-content p {
	font-size: 1.08rem;
	max-width: 68ch;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.hero-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 32px;
}

.hero-metrics > div {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(19, 35, 48, 0.1);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
}

.hero-metrics strong {
	display: block;
	font-size: 1.4rem;
	font-family: "Fraunces", serif;
	color: #081721;
}

.hero-metrics span {
	font-size: 0.88rem;
	font-weight: 700;
	color: #4a5f6d;
}

.hero-card {
	background: linear-gradient(180deg, #ffffff, #ecf3f4);
	border: 1px solid rgba(19, 35, 48, 0.1);
	box-shadow: var(--shadow);
	border-radius: var(--radius-lg);
	padding: 26px;
	align-self: center;
}

.hero-card-title {
	font-weight: 800;
	font-size: 1rem;
	color: #132330;
	margin-bottom: 14px;
}

.hero-card ul {
	margin: 0;
	padding-left: 18px;
	color: #304758;
}

.hero-card li {
	margin: 0 0 10px;
}

.service-grid,
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.news-carousel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
}

.news-carousel-viewport {
	overflow: hidden;
}

.news-carousel-track {
	display: flex;
	transition: transform 0.36s ease;
	will-change: transform;
}

.news-slide {
	flex: 0 0 100%;
}

.news-carousel-arrow {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(19, 35, 48, 0.2);
	background: rgba(255, 255, 255, 0.76);
	color: #132330;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.news-carousel-arrow:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.service-card,
.post-card {
	background: var(--surface);
	border: 1px solid rgba(19, 35, 48, 0.1);
	border-radius: var(--radius-md);
	padding: 22px;
	box-shadow: 0 10px 30px rgba(19, 35, 48, 0.05);
}

.service-card {
	position: relative;
	overflow: hidden;
}

.service-card::after {
	content: "";
	position: absolute;
	width: 130px;
	height: 130px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(15, 118, 110, 0.17), transparent 65%);
	right: -25px;
	top: -25px;
	z-index: 0;
	pointer-events: none;
}

.post-card-link h2,
.post-card-link h3 {
	margin: 0 0 10px;
}

.post-card:hover {
	transform: translateY(-3px);
	transition: transform 0.2s ease;
}

.content-panel {
	background: var(--surface);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(19, 35, 48, 0.1);
	padding: clamp(22px, 4vw, 40px);
	box-shadow: 0 14px 40px rgba(19, 35, 48, 0.08);
}

.content-panel > *:last-child {
	margin-bottom: 0;
}

.content-panel h2,
.content-panel h3,
.content-panel h4 {
	margin-top: 30px;
}

.content-panel ul,
.content-panel ol {
	padding-left: 22px;
}

.content-panel table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.content-panel th,
.content-panel td {
	padding: 10px 12px;
	border: 1px solid var(--line);
	text-align: left;
}

.contact-intro-panel {
	margin-top: 18px;
}

.contact-map-wrap {
	margin-top: 18px;
	display: grid;
	gap: 16px;
}

.contact-map-frame {
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(19, 35, 48, 0.12);
	background: #e9eff2;
	box-shadow: 0 12px 34px rgba(19, 35, 48, 0.08);
	height: clamp(280px, 42vw, 460px);
}

.contact-map-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.contact-map-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.contact-map-btn {
	min-width: 230px;
}

.cta-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	padding: clamp(24px, 3vw, 34px);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(120deg, rgba(15, 118, 110, 0.12), rgba(217, 119, 6, 0.12)),
		var(--surface);
	border: 1px solid rgba(19, 35, 48, 0.12);
}

.post-meta {
	font-size: 0.88rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--primary);
}

.post-nav {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid var(--line);
	padding-top: 20px;
}

.pagination-wrap {
	margin-top: 24px;
}

.pagination-wrap .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid rgba(19, 35, 48, 0.15);
	font-weight: 700;
}

.pagination-wrap .page-numbers.current {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.empty-state {
	padding: 34px;
	background: var(--surface);
	border: 1px solid rgba(19, 35, 48, 0.12);
	border-radius: var(--radius-md);
	text-align: center;
}

/* Unified glass effect for white content panels/cards. */
.hero-metrics > div,
.hero-card,
.service-card,
.post-card,
.content-panel,
.cta-panel,
.empty-state {
	position: relative;
	overflow: hidden;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16));
	border: 1px solid rgba(255, 255, 255, 0.56);
	box-shadow:
		0 16px 42px rgba(8, 24, 36, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.82),
		inset 0 -1px 0 rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(22px) saturate(1.4) contrast(1.06);
	-webkit-backdrop-filter: blur(22px) saturate(1.4) contrast(1.06);
}

.hero-metrics > div::before,
.hero-card::before,
.service-card::before,
.post-card::before,
.content-panel::before,
.cta-panel::before,
.empty-state::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.02) 100%);
	pointer-events: none;
	z-index: 0;
}

.hero-metrics > div > *,
.hero-card > *,
.service-card > *,
.post-card > *,
.content-panel > *,
.cta-panel > *,
.empty-state > * {
	position: relative;
	z-index: 1;
}

.cta-panel {
	background:
		linear-gradient(120deg, rgba(15, 118, 110, 0.08), rgba(217, 119, 6, 0.08)),
		linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.16));
}

.site-footer {
	margin-top: 44px;
	padding: 40px 0 24px;
	border-top: 1px solid rgba(19, 35, 48, 0.13);
	background: linear-gradient(180deg, rgba(236, 242, 244, 0.8), rgba(243, 246, 248, 1));
}

.site-footer-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.footer-title {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 800;
	color: #1f3647;
	margin: 0 0 10px;
}

.footer-text {
	max-width: 42ch;
}

.footer-menu,
.footer-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li + li {
	margin-top: 8px;
}

.footer-link {
	font-weight: 700;
	color: var(--primary);
}

.site-footer-bottom {
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid rgba(19, 35, 48, 0.1);
}

.comments-wrap {
	margin-top: 24px;
}

.comment-list {
	padding-left: 20px;
}

.comment-list .comment {
	margin-bottom: 14px;
}

input:not([type="submit"]),
textarea,
select {
	width: 100%;
	padding: 11px 12px;
	border-radius: 10px;
	border: 1px solid rgba(19, 35, 48, 0.2);
	background: #fff;
}

input[type="submit"],
button,
.wp-element-button {
	cursor: pointer;
}

input[type="submit"],
.wp-element-button {
	border: none;
	background: var(--primary);
	color: #fff;
	padding: 11px 16px;
	border-radius: 10px;
	font-weight: 700;
}

.alignwide {
	margin-left: min(0px, -4vw);
	margin-right: min(0px, -4vw);
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
}

.reveal {
	opacity: 1;
	transform: none;
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-reveal-pending {
	opacity: 0;
	transform: translateY(18px);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes gold-shine {
	0% {
		transform: translateX(-140%);
	}
	55%,
	100% {
		transform: translateX(160%);
	}
}

@keyframes gold-glow {
	0%,
	100% {
		background-position: 8% 50%;
	}
	50% {
		background-position: 92% 50%;
	}
}

/* Floating widget */
.matea-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
}

/* Same gold finish as the consultation CTA; retain the existing hit area. */
.matea-float__btn {
  background: var(--gold-surface);
  background-size: 180% 180%;
  color: var(--gold-ink);
  border: var(--gold-border);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
  min-width: 106.71875px;
  min-height: 50px;
  padding: 13px 19px;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-shadow: var(--gold-text-shadow);
  box-shadow: var(--gold-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: gold-glow 4.8s ease-in-out infinite;
}
.matea-float__btn::before { z-index: -1; }
.matea-float__btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.08) brightness(1.02);
  box-shadow: var(--gold-shadow-hover);
}

/* Panel */
.matea-float__panel{
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 280px;
  max-width: calc(100vw - 32px);

  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.25);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.matea-float__panel.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* HLAVIČKA PANELU – rovnaký gradient ako tlačidlo */
.matea-float__head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  padding: 12px 14px;
  background: var(--gold-surface);
  background-size: 180% 180%;
  color: var(--gold-ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-shadow: var(--gold-text-shadow);
  box-shadow: inset 0 1px 0 rgba(255, 248, 223, 0.9), inset 0 -1px 0 rgba(135, 86, 16, 0.3);
  animation: gold-glow 4.8s ease-in-out infinite;
  border-bottom: none;
}

.matea-float__head > * { position: relative; z-index: 2; }

/* Firemné údaje */
.matea-float__company{
  font-size: 13px;
  line-height: 1.35;
}

.matea-float__company strong{
  font-size: 14px;
  font-weight: 800;
}

/* Zavretie */
.matea-float__close{
  border: 0;
  background: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--gold-ink);
}

/* Obsah */
.matea-float__body{
  padding: 14px;
  display: grid;
  gap: 10px;
}

.matea-float__link{
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  color: #000;
}

.matea-float__link:hover{
  background: #f5f5f5;
}

/* Preserve the original component; keep inactive controls out of the tab order. */
.matea-float { display: none; }
.matea-float.is-float-ready { display: block; z-index: 50; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
.matea-float[hidden] { display: none; }
.matea-float__panel { visibility: hidden; max-height: calc(100dvh - 112px); overflow-y: auto; overscroll-behavior: contain; }
.matea-float__panel.is-open { visibility: visible; }
.matea-float__head { border-radius: 16px 16px 0 0; }
.matea-float__close { min-width: 44px; min-height: 44px; padding: 0; line-height: 1; flex: 0 0 auto; }
.matea-float__link { display: flex; align-items: center; min-height: 44px; }
.has-matea-float .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) {
 .matea-float__btn, .matea-float__btn::before, .matea-float__head, .matea-float__head::before { animation: none; }
 .matea-float__btn, .matea-float__panel { transition: none; }
}


@media (max-width: 1024px) {
	.site-header-inner {
		grid-template-columns: auto auto;
		grid-template-areas:
			"brand toggle"
			"nav nav";
		gap: 12px 16px;
		padding: 12px;
		min-height: unset;
		border-radius: 18px;
	}

	.site-brand {
		grid-area: brand;
		gap: 10px;
	}

	.site-brand-name {
		font-size: 0.72rem;
	}

	.site-brand-tagline {
		font-size: 0.88rem;
	}

	.nav-toggle {
		grid-area: toggle;
		display: none;
		justify-self: end;
	}
	.site-header.is-nav-ready .nav-toggle { display: inline-flex; }

	.site-nav {
		grid-area: nav;
		justify-self: stretch;
		display: block;
		padding: 0;
		background: transparent;
		border: 0;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.site-nav.is-open {
		display: block;
	}
	.site-header.is-nav-ready .site-nav:not(.is-open) { display: none; }

	.site-menu {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px;
		background: rgba(255, 255, 255, 0.36);
		border: 1px solid rgba(255, 255, 255, 0.28);
		border-radius: 12px;
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
	}

	.site-header .header-cta {
		display: none;
	}

	.hero-grid,
	.cta-panel,
	.site-footer-grid {
		grid-template-columns: 1fr;
	}

	.news-carousel {
		grid-template-columns: minmax(0, 1fr);
	}

	.news-carousel-arrow {
		display: none;
	}
}

@media (max-width: 360px) {
	.site-brand-tagline { white-space: normal; }
}

@media (max-width: 900px) {
	.section {
		padding: 56px 0;
	}

	.service-grid,
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero-metrics {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.shell {
		width: min(1180px, calc(100% - 30px));
	}

	.hero-section {
		padding-top: 58px;
	}

	.site-brand-tagline {
		font-size: 0.82rem;
	}

	.service-grid,
	.post-grid {
		grid-template-columns: 1fr;
	}

	.content-panel {
		padding: 20px;
	}

	.contact-map-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.contact-map-btn {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header-cta, .header-cta::before, .reveal, .news-carousel-track {
    animation: none !important;
    transition: none !important;
  }
  .reveal.is-reveal-pending { opacity: 1; transform: none; }
}
