/*
Theme Name: Respira Galicia
Theme URI: https://respiragalicia.com/
Author: Respira Galicia
Description: Tema corporativo oscuro y editorial para Respira Galicia, inspirado en su identidad visual dorada.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: respira-galicia
*/

:root {
	--rg-black: #050608;
	--rg-ink: #0a0d11;
	--rg-panel: #101419;
	--rg-panel-soft: #151a20;
	--rg-ivory: #f5f0e8;
	--rg-muted: #c9c1b4;
	--rg-soft: #8f979c;
	--rg-gold: #c99342;
	--rg-gold-bright: #e5b45d;
	--rg-gold-dark: #7a5224;
	--rg-steel: #8da0a9;
	--rg-line: rgba(201, 147, 66, 0.42);
	--rg-line-soft: rgba(245, 240, 232, 0.1);
	--rg-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
	--rg-max: 1180px;
	--rg-pad: clamp(20px, 4vw, 56px);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	overflow-x: clip;
}

body {
	margin: 0;
	background:
		linear-gradient(90deg, rgba(201, 147, 66, 0.035) 1px, transparent 1px),
		linear-gradient(180deg, rgba(201, 147, 66, 0.03) 1px, transparent 1px),
		var(--rg-black);
	background-size: 72px 72px;
	color: var(--rg-ivory);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0;
	overflow-x: hidden;
	overflow-x: clip;
}

body.admin-bar .site-header {
	top: 32px;
}

img,
svg {
	display: block;
	max-width: 100%;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 16px;
	z-index: 100;
	background: var(--rg-gold-bright);
	color: var(--rg-black);
	padding: 10px 14px;
	font-weight: 800;
}

.skip-link:focus {
	left: 16px;
}

.screen-reader-text,
.rg-honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(5, 6, 8, 0.86);
	border-bottom: 1px solid var(--rg-line);
	backdrop-filter: blur(18px);
}

.site-header__inner {
	width: min(1680px, calc(100% - (var(--rg-pad) * 2)));
	margin: 0 auto;
	min-height: 150px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 4vw, 58px);
}

.site-branding {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: max-content;
}

.site-logo-image {
	display: block;
	width: auto;
	object-fit: contain;
}

.site-logo-image--header {
	height: clamp(118px, 8vw, 150px);
	max-width: min(360px, 44vw);
}

.site-logo-image--footer {
	height: clamp(64px, 7vw, 96px);
	max-width: 220px;
}

.custom-logo {
	width: auto;
	max-height: 64px;
}

.brand-mark {
	position: relative;
	width: 58px;
	height: 58px;
	color: var(--rg-gold-bright);
	border-bottom: 3px solid currentColor;
	transform: skewX(-8deg);
}

.brand-mark span {
	position: absolute;
	bottom: 4px;
	width: 8px;
	background: linear-gradient(180deg, var(--rg-gold-bright), var(--rg-gold));
	border-radius: 1px 1px 0 0;
}

.brand-mark span:nth-child(1) {
	left: 14px;
	height: 30px;
}

.brand-mark span:nth-child(2) {
	left: 27px;
	height: 42px;
}

.brand-mark span:nth-child(3) {
	left: 40px;
	height: 50px;
}

.brand-mark::before,
.brand-mark::after {
	content: "";
	position: absolute;
	bottom: 0;
	height: 3px;
	background: currentColor;
	transform-origin: left center;
}

.brand-mark::before {
	left: 0;
	width: 32px;
	transform: rotate(-45deg);
}

.brand-mark::after {
	right: -1px;
	width: 26px;
	transform: rotate(38deg);
}

.brand-text {
	display: grid;
	line-height: 1;
	text-transform: uppercase;
}

.brand-text strong {
	font-size: clamp(1.15rem, 2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: 0.09em;
}

.brand-text span {
	color: var(--rg-gold-bright);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.46em;
}

.site-nav {
	display: flex;
	justify-content: flex-end;
}

.site-menu-panel {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(18px, 3vw, 44px);
	min-width: 0;
}

.site-menu-toggle {
	display: none;
}

.submenu-toggle {
	display: none;
}

.site-nav > ul {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: clamp(14px, 2.4vw, 34px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-nav li {
	position: relative;
	min-width: 0;
	list-style: none;
}

.site-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 40px;
	color: var(--rg-muted);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.site-nav .menu-item-has-children > a {
	padding-right: 16px;
}

.site-nav .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: translateY(-62%) rotate(45deg);
	opacity: 0.75;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--rg-gold-bright);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
	color: var(--rg-ivory);
}

.site-nav a:hover::after,
.site-nav a:focus::after {
	transform: scaleX(1);
}

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	min-width: 230px;
	padding: 10px 0;
	margin: 0;
	display: grid;
	gap: 0;
	list-style: none;
	background: rgba(5, 6, 8, 0.98);
	border: 1px solid var(--rg-line);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity 160ms ease,
		visibility 160ms ease,
		transform 160ms ease;
}

.site-nav .sub-menu .sub-menu {
	top: -10px;
	left: calc(100% + 1px);
}

.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav .sub-menu a {
	width: 100%;
	min-height: 44px;
	padding: 0 18px;
	color: var(--rg-muted);
	font-size: 0.74rem;
	white-space: nowrap;
}

.site-nav .sub-menu a::after {
	display: none;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus {
	background: rgba(201, 147, 66, 0.12);
	color: var(--rg-ivory);
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--rg-gold);
	color: var(--rg-gold-bright);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus {
	background: var(--rg-gold-bright);
	color: var(--rg-black);
}

.rg-main {
	overflow: hidden;
}

.rg-main > * {
	margin-block-start: 0;
}

.rg-main .wp-block-group,
.rg-main .wp-block-html,
.rg-main .wp-block-heading,
.rg-main .wp-block-buttons,
.rg-main .wp-block-button {
	margin-top: 0;
	margin-bottom: 0;
}

.rg-section {
	border-bottom: 1px solid var(--rg-line);
}

.rg-section__inner {
	width: min(var(--rg-max), calc(100% - (var(--rg-pad) * 2)));
	margin: 0 auto;
	padding: clamp(56px, 8vw, 104px) 0;
}

.rg-kicker {
	margin: 0 0 8px;
	color: var(--rg-gold-bright);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.rg-title {
	margin: 0;
	color: var(--rg-ivory);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 4.3rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: 0;
}

.rg-title span,
.rg-gold {
	color: var(--rg-gold-bright);
}

.rg-copy {
	max-width: 650px;
	color: var(--rg-muted);
}

.rg-rule {
	width: 48px;
	height: 2px;
	margin: 20px 0;
	background: var(--rg-gold-bright);
}

.rg-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid var(--rg-gold);
	background: transparent;
	color: var(--rg-ivory);
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.rg-button--primary {
	background: linear-gradient(135deg, var(--rg-gold-bright), var(--rg-gold));
	color: var(--rg-black);
	box-shadow: 0 12px 34px rgba(201, 147, 66, 0.2);
}

.rg-button:hover,
.rg-button:focus {
	transform: translateY(-1px);
	border-color: var(--rg-gold-bright);
}

.wp-block-button.rg-button {
	display: inline-flex;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.wp-block-button.rg-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid var(--rg-gold);
	border-radius: 0;
	background: transparent;
	color: var(--rg-ivory);
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wp-block-button.rg-button--primary .wp-block-button__link {
	background: linear-gradient(135deg, var(--rg-gold-bright), var(--rg-gold));
	color: var(--rg-black);
	box-shadow: 0 12px 34px rgba(201, 147, 66, 0.2);
}

.wp-block-button.rg-button:hover .wp-block-button__link,
.wp-block-button.rg-button:focus-within .wp-block-button__link {
	border-color: var(--rg-gold-bright);
	transform: translateY(-1px);
}

.rg-button svg {
	width: 18px;
	height: 18px;
}

.rg-hero {
	position: relative;
	min-height: clamp(520px, 70svh, 680px);
	display: flex;
	align-items: center;
	background:
		linear-gradient(90deg, rgba(5, 6, 8, 0.98) 0%, rgba(5, 6, 8, 0.92) 34%, rgba(5, 6, 8, 0.58) 58%, rgba(5, 6, 8, 0.18) 100%),
		linear-gradient(180deg, rgba(5, 6, 8, 0.16), rgba(5, 6, 8, 0.9)),
		url("assets/img/respira-hero.jpg") center right / cover no-repeat;
	border-bottom: 1px solid var(--rg-line);
}

.rg-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 96px;
	background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.92));
	pointer-events: none;
}

.rg-hero__inner {
	position: relative;
	z-index: 1;
	width: min(var(--rg-max), calc(100% - (var(--rg-pad) * 2)));
	margin: 0 auto;
	padding: clamp(48px, 6vw, 88px) 0;
}

.rg-hero__content {
	max-width: 600px;
}

.rg-hero .rg-title {
	font-size: clamp(2.4rem, 4.2vw, 4.7rem);
	text-transform: uppercase;
}

.rg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 30px;
}

.rg-main .wp-block-buttons.rg-hero__actions {
	margin-top: clamp(28px, 3vw, 42px);
}

.divisions {
	background:
		linear-gradient(180deg, rgba(141, 160, 169, 0.06), transparent 44%),
		var(--rg-black);
}

.rg-section-heading {
	max-width: 820px;
	margin: 0 auto clamp(34px, 5vw, 56px);
	text-align: center;
}

.rg-main .wp-block-group.rg-section-heading {
	margin: 0 auto clamp(42px, 5vw, 72px);
}

.rg-section-heading .rg-title {
	font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.division-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid var(--rg-line-soft);
	border-bottom: 1px solid var(--rg-line-soft);
}

.division-card {
	position: relative;
	min-height: 300px;
	padding: 32px clamp(14px, 2vw, 24px);
	display: grid;
	justify-items: center;
	align-content: start;
	text-align: center;
}

.division-card + .division-card {
	border-left: 1px solid var(--rg-line);
}

.rg-icon {
	width: 54px;
	height: 54px;
	margin-bottom: 22px;
	color: var(--rg-gold-bright);
}

.rg-icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
}

.division-card h3,
.value-card h3,
.contact-card h3 {
	margin: 0 0 14px;
	color: var(--rg-ivory);
	font-size: 0.98rem;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.division-card p,
.value-card p,
.method-card p,
.contact-card p {
	margin: 0;
	color: var(--rg-muted);
	font-size: 0.95rem;
}

.division-card::after {
	content: "";
	width: 38px;
	height: 2px;
	margin-top: 24px;
	background: var(--rg-gold-bright);
}

.methodology {
	background: var(--rg-ink);
}

.method-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
}

.method-card {
	position: relative;
	min-height: 252px;
	padding: 0 clamp(14px, 2vw, 22px);
	text-align: center;
}

.method-card:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 40px;
	right: -26px;
	width: 52px;
	height: 1px;
	background: var(--rg-gold);
}

.method-card:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 36px;
	right: -29px;
	width: 8px;
	height: 8px;
	border-top: 1px solid var(--rg-gold);
	border-right: 1px solid var(--rg-gold);
	transform: rotate(45deg);
}

.method-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 28px;
	margin-bottom: 12px;
	color: var(--rg-gold-bright);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
	line-height: 1;
}

.method-icon {
	width: 82px;
	height: 82px;
	margin: 0 auto 18px;
	display: grid;
	place-items: center;
	border: 1px solid var(--rg-gold);
	border-radius: 50%;
	color: var(--rg-gold-bright);
}

.method-icon svg {
	width: 42px;
	height: 42px;
	stroke: currentColor;
}

.method-card h3 {
	margin: 0 0 10px;
	font-size: 0.88rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.promise {
	background:
		linear-gradient(180deg, rgba(201, 147, 66, 0.06), transparent),
		var(--rg-black);
}

.promise-layout {
	display: grid;
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(28px, 5vw, 68px);
	align-items: stretch;
}

.promise-media {
	min-height: 390px;
	background:
		linear-gradient(180deg, rgba(5, 6, 8, 0.08), rgba(5, 6, 8, 0.76)),
		url("assets/img/respira-building.jpg") center / cover no-repeat;
	border: 1px solid var(--rg-line);
	box-shadow: var(--rg-shadow);
}

.promise-content {
	align-self: center;
}

.value-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: 34px;
	border-top: 1px solid var(--rg-line);
	border-bottom: 1px solid var(--rg-line);
	align-items: stretch;
}

.rg-main .wp-block-group.value-grid {
	margin-top: clamp(30px, 4vw, 50px);
}

.value-card {
	min-width: 0;
	min-height: 250px;
	padding: clamp(22px, 2.5vw, 34px) clamp(18px, 2vw, 26px);
	display: flex;
	flex-direction: column;
	overflow-wrap: break-word;
}

.value-card + .value-card {
	border-left: 1px solid var(--rg-line);
}

.value-card .rg-icon {
	width: 46px;
	height: 46px;
	margin: 0 0 16px;
	flex: 0 0 auto;
}

.stats-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: clamp(28px, 4vw, 46px);
	border: 1px solid var(--rg-line);
	background: rgba(16, 20, 25, 0.72);
}

.stat {
	min-width: 0;
	min-height: 112px;
	padding: 24px clamp(18px, 2.2vw, 28px);
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: center;
	gap: clamp(12px, 1.8vw, 18px);
}

.stat + .stat {
	border-left: 1px solid var(--rg-line);
}

.stat strong {
	color: var(--rg-ivory);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.15rem, 3.7vw, 3.25rem);
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

.stat span {
	color: var(--rg-muted);
	font-size: 0.78rem;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.contact {
	background:
		linear-gradient(90deg, rgba(141, 160, 169, 0.1), transparent 44%),
		var(--rg-ink);
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.1fr) minmax(220px, 0.62fr);
	gap: clamp(24px, 3vw, 44px);
	align-items: start;
}

.contact .rg-title {
	font-size: clamp(2.3rem, 3.4vw, 3.85rem);
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.contact-form .form-wide {
	grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--rg-line);
	border-radius: 0;
	background: rgba(5, 6, 8, 0.72);
	color: var(--rg-ivory);
	padding: 12px 14px;
	outline: none;
}

.contact-form textarea {
	min-height: 154px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--rg-gold-bright);
	box-shadow: 0 0 0 3px rgba(229, 180, 93, 0.12);
}

.contact-form ::placeholder {
	color: rgba(201, 193, 180, 0.72);
	opacity: 1;
}

.form-status {
	grid-column: 1 / -1;
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 1px solid var(--rg-line);
	color: var(--rg-ivory);
	background: rgba(16, 20, 25, 0.8);
}

.form-status--success {
	border-color: rgba(83, 168, 126, 0.7);
}

.form-status--error {
	border-color: rgba(225, 87, 89, 0.7);
}

.contact-card {
	border-left: 1px solid var(--rg-line);
	padding-left: 28px;
}

.contact-list {
	display: grid;
	gap: 18px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.contact-list > li > a,
.contact-list > li > span {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 12px;
	align-items: center;
	color: var(--rg-muted);
}

.contact-list svg {
	width: 24px;
	height: 24px;
	color: var(--rg-gold-bright);
	stroke: currentColor;
}

.site-footer {
	background: #030405;
	border-top: 1px solid var(--rg-line);
}

.site-footer__inner {
	width: min(var(--rg-max), calc(100% - (var(--rg-pad) * 2)));
	margin: 0 auto;
	padding: 36px 0;
	display: grid;
	grid-template-columns: 1.2fr 2fr 1.2fr;
	gap: clamp(24px, 4vw, 52px);
	align-items: start;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.footer-links h3 {
	margin: 0 0 10px;
	color: var(--rg-gold-bright);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

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

.footer-links a,
.footer-contact a,
.footer-contact span {
	color: var(--rg-muted);
	font-size: 0.92rem;
}

.footer-links a:hover,
.footer-contact a:hover {
	color: var(--rg-gold-bright);
}

.footer-contact {
	display: grid;
	gap: 8px;
}

.site-footer__bottom {
	width: min(var(--rg-max), calc(100% - (var(--rg-pad) * 2)));
	margin: 0 auto;
	padding: 18px 0 28px;
	display: flex;
	justify-content: space-between;
	gap: 18px;
	border-top: 1px solid var(--rg-line-soft);
	color: var(--rg-soft);
	font-size: 0.8rem;
}

.site-footer__bottom p {
	margin: 0;
}

.legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.content-shell {
	width: min(840px, calc(100% - (var(--rg-pad) * 2)));
	margin: 0 auto;
	padding: clamp(58px, 8vw, 96px) 0;
}

.content-shell h1 {
	margin: 0 0 20px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1.05;
}

.content-shell article + article {
	margin-top: 38px;
	padding-top: 38px;
	border-top: 1px solid var(--rg-line);
}

.content-shell a {
	color: var(--rg-gold-bright);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-meta {
	color: var(--rg-soft);
	font-size: 0.88rem;
}

.comments-area {
	margin-top: 56px;
	padding-top: 34px;
	border-top: 1px solid var(--rg-line);
}

@media (max-width: 1180px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.contact-card {
		border-left: 0;
		border-top: 1px solid var(--rg-line);
		padding: 28px 0 0;
	}
}

@media (max-width: 1040px) {
	body.admin-bar .site-header {
		top: 32px;
	}

	.site-header__inner {
		min-height: auto;
		padding: 14px 0;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 14px 18px;
	}

	.site-logo-image--header {
		height: clamp(76px, 9vw, 112px);
		max-width: min(280px, 54vw);
	}

	.site-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		min-height: 46px;
		padding: 0 16px;
		border: 1px solid var(--rg-gold);
		background: transparent;
		color: var(--rg-gold-bright);
		font-size: 0.76rem;
		font-weight: 900;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.site-menu-toggle__icon {
		width: 20px;
		display: grid;
		gap: 5px;
	}

	.site-menu-toggle__icon span {
		display: block;
		height: 2px;
		background: currentColor;
		transform-origin: center;
		transition:
			opacity 160ms ease,
			transform 160ms ease;
	}

	.site-header.is-menu-open .site-menu-toggle__icon span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.site-header.is-menu-open .site-menu-toggle__icon span:nth-child(2) {
		opacity: 0;
	}

	.site-header.is-menu-open .site-menu-toggle__icon span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.site-menu-panel {
		grid-column: 1 / -1;
		width: 100%;
		display: grid;
		gap: 18px;
		justify-content: stretch;
		padding: 0;
		border-top: 1px solid transparent;
		transition:
			max-height 220ms ease,
			opacity 160ms ease,
			visibility 160ms ease,
			padding 220ms ease,
			border-color 220ms ease;
	}

	.site-header.js .site-menu-panel {
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
	}

	.site-header.no-js .site-menu-panel,
	.site-header.is-menu-open .site-menu-panel {
		max-height: min(72svh, 680px);
		overflow-y: auto;
		opacity: 1;
		visibility: visible;
		padding-top: 18px;
		border-top-color: var(--rg-line);
	}

	.site-nav {
		width: 100%;
		justify-content: stretch;
	}

	.site-nav > ul {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		justify-content: stretch;
	}

	.site-nav li {
		width: 100%;
	}

	.site-nav .menu-item-has-children {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 46px;
		align-items: stretch;
	}

	.site-nav a {
		width: 100%;
		min-height: 46px;
		justify-content: flex-start;
		border-bottom: 1px solid var(--rg-line-soft);
		font-size: 0.82rem;
	}

	.site-nav .menu-item-has-children > a {
		padding-right: 12px;
	}

	.site-nav .menu-item-has-children > a::before {
		display: none;
	}

	.submenu-toggle {
		display: grid;
		place-items: center;
		width: 46px;
		min-height: 46px;
		border: 0;
		border-bottom: 1px solid var(--rg-line-soft);
		background: transparent;
		color: var(--rg-muted);
		cursor: pointer;
	}

	.submenu-toggle::before {
		content: "";
		width: 8px;
		height: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
		transition: transform 160ms ease;
	}

	.menu-item-has-children.is-submenu-open > .submenu-toggle::before {
		transform: translateY(2px) rotate(225deg);
	}

	.site-nav .sub-menu,
	.site-nav .sub-menu .sub-menu {
		position: static;
		grid-column: 1 / -1;
		min-width: 0;
		width: 100%;
		padding: 0;
		margin: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-header.js .site-nav .menu-item-has-children:not(.is-submenu-open) > .sub-menu {
		display: none;
	}

	.site-nav .sub-menu li {
		display: block;
	}

	.site-nav .sub-menu a {
		min-height: 40px;
		padding: 0 0 0 22px;
		border-left: 1px solid var(--rg-line);
		font-size: 0.76rem;
		white-space: normal;
	}

	.header-cta {
		width: 100%;
		min-height: 50px;
	}

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

	.division-card:nth-child(odd) {
		border-left: 0;
	}

	.method-card {
		padding-bottom: 34px;
	}

	.method-card:not(:last-child)::before,
	.method-card:not(:last-child)::after {
		display: none;
	}

	.promise-layout,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.stats-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stat:nth-child(odd) {
		border-left: 0;
	}

	.stat:nth-child(n + 3) {
		border-top: 1px solid var(--rg-line);
	}
}

@media (max-width: 760px) {
	body.admin-bar .site-header {
		top: 0;
	}

	.site-header {
		position: relative;
	}

	.site-header__inner {
		width: min(100% - 32px, 480px);
		padding: 12px 0;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
	}

	.site-branding {
		width: 100%;
		min-width: 0;
		justify-content: flex-start;
	}

	.site-logo-image--header {
		height: auto;
		width: min(210px, 58vw);
		max-width: 100%;
	}

	.brand-mark {
		width: 48px;
		height: 48px;
	}

	.header-cta {
		width: 100%;
	}

	.site-nav a {
		justify-content: flex-start;
		min-height: 44px;
		font-size: 0.74rem;
		text-align: left;
		white-space: normal;
	}

	.site-nav .menu-item-has-children > a {
		padding-right: 10px;
	}

	.site-nav .menu-item-has-children > a::before {
		display: none;
	}

	.site-nav .sub-menu,
	.site-nav .sub-menu .sub-menu {
		padding: 0;
	}

	.site-nav .sub-menu a {
		justify-content: flex-start;
		padding-left: 18px;
		font-size: 0.7rem;
	}

	.rg-hero {
		min-height: auto;
		background:
			linear-gradient(180deg, rgba(5, 6, 8, 0.9), rgba(5, 6, 8, 0.66) 42%, rgba(5, 6, 8, 0.95)),
			url("assets/img/respira-hero.jpg") center / cover no-repeat;
	}

	.rg-hero__inner {
		padding: 70px 0 74px;
	}

	.rg-hero .rg-title {
		font-size: clamp(1.85rem, 7.8vw, 2.35rem);
		overflow-wrap: anywhere;
	}

	.rg-button {
		width: 100%;
	}

	.division-grid,
	.method-grid,
	.value-grid,
	.stats-strip,
	.contact-form,
	.footer-links {
		grid-template-columns: 1fr;
	}

	.division-card,
	.method-card,
	.value-card,
	.stat {
		min-height: auto;
	}

	.division-card + .division-card,
	.value-card + .value-card,
	.stat + .stat {
		border-left: 0;
		border-top: 1px solid var(--rg-line);
	}

	.promise-media {
		min-height: 310px;
	}

	.contact-form .form-wide {
		grid-column: auto;
	}

	.site-footer__bottom {
		display: grid;
	}
}
