/* ==========================================================================
   LN TaxFiscal — theme styles
   Palette: white 60% · navy 20% · green 15% · slate/grey 5%
   ========================================================================== */

:root {
	--tf-green: #25722a;
	--tf-green-dark: #194f1d;
	--tf-navy: #010417;
	--tf-slate: #728089;
	--tf-white: #ffffff;
	--tf-mint: #f0f6f0;
	--tf-mist: #f5f6f7;
	--tf-ink: #30383e;
	--tf-border: #e4e8ea;

	--tf-radius: 14px;
	--tf-radius-sm: 10px;
	--tf-radius-pill: 999px;
	--tf-shadow-sm: 0 6px 18px rgba(1, 4, 23, 0.06);
	--tf-shadow: 0 18px 45px rgba(1, 4, 23, 0.09);
	--tf-shadow-lg: 0 28px 70px rgba(1, 4, 23, 0.14);

	--tf-container: 1200px;
	--tf-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--tf-header-h: 84px;
	--tf-section-y: clamp(3.5rem, 7vw, 6.5rem);

	--tf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--tf-header-h) + 12px);
}

body {
	margin: 0;
	background: var(--tf-white);
	color: var(--tf-ink);
	font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--tf-navy);
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	font-weight: 600;
}

h3 {
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	font-weight: 600;
	letter-spacing: -0.01em;
}

h4 {
	font-size: 1.06rem;
	font-weight: 600;
	letter-spacing: 0;
}

p {
	margin: 0 0 1.15em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--tf-green);
	text-decoration: none;
	transition: color 0.2s var(--tf-ease);
}

a:hover,
a:focus {
	color: var(--tf-green-dark);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

strong,
b {
	font-weight: 700;
	color: var(--tf-navy);
}

ul,
ol {
	margin: 0 0 1.2em;
	padding-left: 1.25em;
}

li + li {
	margin-top: 0.35em;
}

blockquote {
	margin: 2rem 0;
	padding: 1.4rem 1.8rem;
	border-left: 4px solid var(--tf-green);
	background: var(--tf-mint);
	border-radius: 0 var(--tf-radius-sm) var(--tf-radius-sm) 0;
	color: var(--tf-navy);
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	font-size: 1.1rem;
	line-height: 1.55;
}

blockquote p:last-child {
	margin-bottom: 0;
}

hr {
	margin: 2.5rem 0;
	border: 0;
	border-top: 1px solid var(--tf-border);
}

table {
	width: 100%;
	margin: 0 0 1.6rem;
	border-collapse: collapse;
	font-size: 0.98rem;
}

th,
td {
	padding: 0.75rem 0.9rem;
	border-bottom: 1px solid var(--tf-border);
	text-align: left;
	vertical-align: top;
}

th {
	color: var(--tf-navy);
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	background: var(--tf-mist);
}

code,
pre {
	font-size: 0.9em;
}

:focus-visible {
	outline: 3px solid var(--tf-green);
	outline-offset: 3px;
	border-radius: 4px;
}

/* --------------------------------------------------------------------------
   2. Utilities
   -------------------------------------------------------------------------- */

.tf-container {
	width: min(100% - (var(--tf-gutter) * 2), var(--tf-container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.tf-skip {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 999;
	padding: 0.75rem 1.25rem;
	background: var(--tf-navy);
	color: var(--tf-white);
	border-radius: 0 0 var(--tf-radius-sm) var(--tf-radius-sm);
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
}

.tf-skip:focus {
	top: 0;
	color: var(--tf-white);
	text-decoration: none;
}

.tf-icon {
	flex: none;
	vertical-align: middle;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */

.tf-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--tf-border);
	transition: box-shadow 0.3s var(--tf-ease), background 0.3s var(--tf-ease);
}

@supports (backdrop-filter: blur(10px)) {
	.tf-header {
		background: rgba(255, 255, 255, 0.88);
		backdrop-filter: saturate(150%) blur(12px);
	}
}

.tf-header.is-scrolled {
	box-shadow: 0 10px 30px rgba(1, 4, 23, 0.08);
}

.tf-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	min-height: var(--tf-header-h);
}

.tf-brand {
	display: inline-flex;
	align-items: center;
	flex: none;
}

.tf-logo-img {
	width: auto;
	height: 52px;
	object-fit: contain;
	transition: height 0.3s var(--tf-ease);
}

.tf-header.is-scrolled .tf-logo-img {
	height: 44px;
}

.tf-nav {
	margin-left: auto;
}

.tf-menu,
.tf-menu ul {
	display: flex;
	align-items: center;
	gap: clamp(0.35rem, 1.4vw, 1.1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-menu li {
	position: relative;
	margin: 0;
}

.tf-menu a {
	display: inline-block;
	padding: 0.55rem 0.6rem;
	color: var(--tf-navy);
	font-family: "Montserrat", sans-serif;
	font-size: 0.94rem;
	font-weight: 500;
	letter-spacing: -0.005em;
	text-decoration: none;
	border-radius: var(--tf-radius-sm);
}

.tf-menu a::after {
	content: "";
	display: block;
	height: 2px;
	margin-top: 4px;
	background: var(--tf-green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--tf-ease);
}

.tf-menu a:hover,
.tf-menu a:focus {
	color: var(--tf-green);
	text-decoration: none;
}

.tf-menu a:hover::after,
.tf-menu .current-menu-item > a::after,
.tf-menu .current_page_item > a::after {
	transform: scaleX(1);
}

.tf-menu .current-menu-item > a,
.tf-menu .current_page_item > a,
.tf-menu .current-menu-ancestor > a {
	color: var(--tf-green);
}

.tf-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	display: block;
	min-width: 230px;
	padding: 0.5rem;
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-sm);
	box-shadow: var(--tf-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--tf-ease), transform 0.2s var(--tf-ease), visibility 0.2s;
}

.tf-menu li:hover > .sub-menu,
.tf-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tf-menu .sub-menu li {
	width: 100%;
}

.tf-menu .sub-menu a {
	display: block;
	padding: 0.55rem 0.75rem;
	font-weight: 500;
}

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

.tf-header__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-left: auto;
}

.tf-nav + .tf-header__actions {
	margin-left: 0;
}

/* Language switcher */

.tf-header__lang {
	display: flex;
	align-items: center;
}

.tf-nav__lang {
	display: none;
}

.tf-lang__list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	margin: 0;
	padding: 3px;
	list-style: none;
	background: var(--tf-mist);
	border-radius: var(--tf-radius-pill);
}

.tf-lang__item {
	margin: 0;
}

.tf-lang__link {
	display: block;
	padding: 0.3rem 0.62rem;
	color: var(--tf-slate);
	font-family: "Montserrat", sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.5;
	border-radius: var(--tf-radius-pill);
	text-decoration: none;
}

.tf-lang__link:hover {
	color: var(--tf-navy);
	text-decoration: none;
}

.tf-lang__link.is-current {
	background: var(--tf-white);
	color: var(--tf-navy);
	box-shadow: 0 2px 8px rgba(1, 4, 23, 0.12);
}

/* Burger */

.tf-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0 11px;
	background: var(--tf-mist);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-sm);
	cursor: pointer;
}

.tf-burger__line {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--tf-navy);
	border-radius: 2px;
	transition: transform 0.25s var(--tf-ease), opacity 0.2s var(--tf-ease);
}

.tf-burger[aria-expanded="true"] .tf-burger__line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.tf-burger[aria-expanded="true"] .tf-burger__line:nth-child(2) {
	opacity: 0;
}

.tf-burger[aria-expanded="true"] .tf-burger__line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.tf-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.6rem;
	border: 2px solid transparent;
	border-radius: var(--tf-radius-pill);
	font-family: "Montserrat", sans-serif;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.22s var(--tf-ease), color 0.22s var(--tf-ease),
		border-color 0.22s var(--tf-ease), transform 0.22s var(--tf-ease),
		box-shadow 0.22s var(--tf-ease);
}

.tf-btn:hover,
.tf-btn:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
	text-decoration: none;
	transform: translateY(-2px);
}

.tf-btn--primary,
.wp-block-button__link {
	background: var(--tf-green);
	color: var(--tf-white);
	box-shadow: 0 10px 24px rgba(37, 114, 42, 0.22);
}

.tf-btn--primary:hover,
.tf-btn--primary:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
	background: var(--tf-green-dark);
	color: var(--tf-white);
	box-shadow: 0 14px 30px rgba(25, 79, 29, 0.3);
}

.tf-btn--light {
	background: var(--tf-white);
	color: var(--tf-navy);
	box-shadow: 0 10px 26px rgba(1, 4, 23, 0.18);
}

.tf-btn--light:hover,
.tf-btn--light:focus {
	background: var(--tf-mint);
	color: var(--tf-green-dark);
}

.tf-btn--ghost {
	background: transparent;
	color: var(--tf-navy);
	border-color: rgba(1, 4, 23, 0.18);
}

.tf-btn--ghost:hover,
.tf-btn--ghost:focus {
	background: var(--tf-navy);
	border-color: var(--tf-navy);
	color: var(--tf-white);
}

.tf-btn--ghost-light {
	background: transparent;
	color: var(--tf-white);
	border-color: rgba(255, 255, 255, 0.4);
}

.tf-btn--ghost-light:hover,
.tf-btn--ghost-light:focus {
	background: rgba(255, 255, 255, 0.12);
	color: var(--tf-white);
	border-color: var(--tf-white);
}

.tf-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--tf-green);
	font-family: "Montserrat", sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
}

.tf-link-arrow .tf-icon,
.tf-link-arrow svg {
	transition: transform 0.25s var(--tf-ease);
}

.tf-link-arrow:hover {
	color: var(--tf-green-dark);
	text-decoration: none;
}

.tf-link-arrow:hover .tf-icon,
.tf-link-arrow:hover svg {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */

.tf-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
	background: var(--tf-navy);
	color: rgba(255, 255, 255, 0.86);
}

.tf-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 82% 18%, rgba(37, 114, 42, 0.5), transparent 46%),
		radial-gradient(circle at 12% 92%, rgba(114, 128, 137, 0.22), transparent 55%);
	pointer-events: none;
}

.tf-hero::after {
	content: "";
	position: absolute;
	top: -140px;
	right: -120px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
	pointer-events: none;
}

.tf-hero.is-layout-constrained > *,
.tf-hero--page > * {
	position: relative;
	z-index: 1;
	max-width: var(--tf-container) !important;
}

.tf-hero__bg {
	display: none;
}

.tf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.15rem;
	color: var(--tf-green);
	font-family: "Montserrat", sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tf-hero .tf-eyebrow,
.tf-hero__eyebrow {
	color: #8fd39a;
}

.tf-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.tf-hero__title,
.tf-hero h1 {
	max-width: 20ch;
	margin-bottom: 1rem;
	color: var(--tf-white);
	font-weight: 700;
}

.tf-hero__lead,
.tf-hero p {
	max-width: 62ch;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1.02rem, 1.35vw, 1.16rem);
	line-height: 1.65;
}

.tf-hero strong {
	color: var(--tf-white);
}

.tf-hero .wp-block-buttons {
	margin-top: 2rem;
	gap: 0.85rem;
}

.tf-hero--page {
	padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.tf-hero--page .tf-hero__title {
	max-width: 26ch;
	margin-bottom: 0;
}

.tf-hero--page .tf-hero__lead {
	margin-top: 1rem;
}

/* Hero with split layout (text + card) */

.tf-hero--split .tf-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.tf-hero--split .tf-hero__title {
	max-width: 18ch;
}

.tf-hero__panel {
	padding: clamp(1.6rem, 3vw, 2.4rem);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--tf-radius);
	box-shadow: var(--tf-shadow-lg);
}

.tf-hero__panel h2,
.tf-hero__panel h3 {
	color: var(--tf-white);
	font-size: 1.1rem;
	font-weight: 600;
}

.tf-hero__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-hero__panel li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.96rem;
}

.tf-hero__panel li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.tf-hero__panel li:first-child {
	padding-top: 0;
}

.tf-hero__panel .tf-icon {
	margin-top: 3px;
	color: #8fd39a;
}

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */

.tf-section {
	padding-block: var(--tf-section-y);
	background: var(--tf-white);
}

.tf-section.is-layout-constrained > * {
	max-width: var(--tf-container) !important;
}

/* Keep content off the viewport edges below the container width. */
.tf-hero.is-layout-constrained,
.tf-section.is-layout-constrained,
.tf-cta.is-layout-constrained {
	padding-inline: var(--tf-gutter);
}

.tf-section--mint {
	background: var(--tf-mint);
}

.tf-section--mist {
	background: var(--tf-mist);
}

.tf-section--navy {
	background: var(--tf-navy);
	color: rgba(255, 255, 255, 0.8);
}

.tf-section--navy h2,
.tf-section--navy h3,
.tf-section--navy h4 {
	color: var(--tf-white);
}

.tf-section--tight {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.tf-section__head {
	max-width: 760px;
	margin: 0 auto clamp(2.2rem, 4vw, 3.2rem);
	text-align: center;
}

.tf-section__head.is-left {
	margin-inline: 0;
	text-align: left;
}

.tf-section__head h2 {
	margin-bottom: 0.65rem;
}

.tf-section__head p {
	color: var(--tf-slate);
	font-size: 1.05rem;
	margin-bottom: 0;
}

.tf-prose {
	max-width: 780px;
	margin-inline: auto;
}

.tf-prose > * + * {
	margin-top: 1.1rem;
}

.tf-prose h2 {
	margin-top: 2.4rem;
}

.tf-prose h3 {
	margin-top: 1.9rem;
}

.tf-prose h2:first-child,
.tf-prose h3:first-child {
	margin-top: 0;
}

.tf-prose ul,
.tf-prose ol {
	color: var(--tf-ink);
}

.tf-prose li::marker {
	color: var(--tf-green);
}

.tf-prose a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

/* Tables (cookie inventory, legal annexes) */

.tf-prose figure.wp-block-table {
	margin: 1.6rem 0 0;
	overflow-x: auto;
}

.tf-prose table {
	width: 100%;
	min-width: 34rem;
	border-collapse: collapse;
	font-size: 0.9rem;
	line-height: 1.5;
}

.tf-prose thead th {
	padding: 0.65rem 0.85rem;
	background: var(--tf-navy);
	color: #fff;
	font-family: "Montserrat", sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: left;
	text-transform: uppercase;
}

.tf-prose tbody td {
	padding: 0.7rem 0.85rem;
	border-bottom: 1px solid var(--tf-border);
	vertical-align: top;
}

.tf-prose tbody tr:nth-child(even) {
	background: var(--tf-mist);
}

.tf-prose tbody td:first-child {
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	color: var(--tf-navy);
	white-space: nowrap;
}

.tf-prose figcaption {
	margin-top: 0.6rem;
	font-size: 0.8rem;
	color: var(--tf-slate);
}

/* Lead paragraph */

.tf-lead {
	color: var(--tf-slate);
	font-size: clamp(1.08rem, 1.6vw, 1.22rem);
	line-height: 1.62;
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */

.tf-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(1.25rem, 2.6vw, 2rem);
}

.tf-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius);
	box-shadow: var(--tf-shadow-sm);
	transition: transform 0.3s var(--tf-ease), box-shadow 0.3s var(--tf-ease),
		border-color 0.3s var(--tf-ease);
}

.tf-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--tf-shadow);
	border-color: rgba(37, 114, 42, 0.28);
}

.tf-card__media {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	background: var(--tf-mint);
	overflow: hidden;
}

.tf-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--tf-ease);
}

.tf-card:hover .tf-card__media img {
	transform: scale(1.04);
}

.tf-card__media--icon {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: auto;
	padding: 1.6rem 1.6rem 0;
	background: transparent;
}

.tf-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	background: var(--tf-mint);
	color: var(--tf-green);
	border-radius: 16px;
}

.tf-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: clamp(1.4rem, 2.4vw, 1.9rem);
}

.tf-card__body h2,
.tf-card__body h3 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
}

.tf-card__body p {
	margin: 0;
	color: var(--tf-slate);
	font-size: 0.97rem;
	line-height: 1.62;
}

.tf-card__body .tf-link-arrow {
	margin-top: 0.35rem;
}

.tf-card--accent {
	background: var(--tf-mint);
	border-color: transparent;
}

.tf-card--navy {
	background: var(--tf-navy);
	border-color: transparent;
}

.tf-card--navy h2,
.tf-card--navy h3 {
	color: var(--tf-white);
}

.tf-card--navy p {
	color: rgba(255, 255, 255, 0.72);
}

/* Feature list items */

.tf-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.tf-feature {
	display: flex;
	gap: 1rem;
	padding: clamp(1.2rem, 2vw, 1.6rem);
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-sm);
	transition: border-color 0.25s var(--tf-ease), box-shadow 0.25s var(--tf-ease),
		transform 0.25s var(--tf-ease);
}

.tf-feature:hover {
	transform: translateY(-3px);
	border-color: rgba(37, 114, 42, 0.3);
	box-shadow: var(--tf-shadow-sm);
}

.tf-feature__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--tf-mint);
	color: var(--tf-green);
	border-radius: 12px;
}

.tf-feature h3 {
	margin: 0 0 0.3rem;
	font-size: 1.02rem;
	font-weight: 600;
}

.tf-feature p {
	margin: 0;
	color: var(--tf-slate);
	font-size: 0.94rem;
	line-height: 1.6;
}

/* Split media/content */

.tf-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.tf-split--reverse .tf-split__media {
	order: 2;
}

.tf-split__media {
	position: relative;
	border-radius: var(--tf-radius);
	overflow: hidden;
	box-shadow: var(--tf-shadow);
	aspect-ratio: 4 / 3;
	background: var(--tf-mint);
}

.tf-split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tf-split__body h2 {
	margin-bottom: 0.8rem;
}

.tf-split__body p {
	color: var(--tf-slate);
}

.tf-checklist {
	margin: 1.4rem 0 0;
	padding: 0;
	list-style: none;
}

.tf-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-top: 0.65rem;
	color: var(--tf-ink);
	font-size: 0.98rem;
}

.tf-checklist .tf-icon {
	margin-top: 3px;
	color: var(--tf-green);
}

/* Stats */

.tf-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 1.5rem;
}

.tf-stat {
	text-align: center;
	padding: 1.6rem 1rem;
}

.tf-stat__value {
	display: block;
	color: var(--tf-green);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(2rem, 4vw, 2.9rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}

.tf-stat__label {
	display: block;
	margin-top: 0.6rem;
	color: var(--tf-slate);
	font-family: "Montserrat", sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. CTA band
   -------------------------------------------------------------------------- */

.tf-cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 4.5rem);
	background: linear-gradient(120deg, var(--tf-green-dark) 0%, var(--tf-green) 62%, #2c8331 100%);
	color: var(--tf-white);
}

.tf-cta::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -120px;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
}

.tf-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.75rem;
}

.tf-cta__title {
	margin: 0 0 0.4rem;
	color: var(--tf-white);
	font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.tf-cta__text {
	margin: 0;
	max-width: 58ch;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1rem;
}

/* --------------------------------------------------------------------------
   9. Contact
   -------------------------------------------------------------------------- */

.tf-contact {
	gap: clamp(2rem, 5vw, 4rem);
	align-items: flex-start;
}

/* The columns block is a flex container with `flex-basis: 0` on each column,
   so the ratio comes from flex-grow: contact details 1/3, form 2/3. */
@media (min-width: 960px) {
	.tf-contact > .wp-block-column:nth-child(1) {
		flex-grow: 1;
	}

	.tf-contact > .wp-block-column:nth-child(2) {
		flex-grow: 2;
	}
}

.tf-contact__info {
	display: grid;
	gap: 1rem;
}

.tf-info-card {
	display: flex;
	gap: 1rem;
	padding: 1.35rem 1.5rem;
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-sm);
}

.tf-info-card__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--tf-mint);
	color: var(--tf-green);
	border-radius: 12px;
}

.tf-info-card h3 {
	margin: 0 0 0.25rem;
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--tf-slate);
}

.tf-info-card p,
.tf-info-card address {
	margin: 0;
	color: var(--tf-ink);
	font-size: 0.98rem;
	font-style: normal;
	line-height: 1.6;
}

.tf-info-card a {
	color: var(--tf-navy);
	font-weight: 600;
}

.tf-info-card a:hover {
	color: var(--tf-green);
}

/* Form */

.tf-form-wrap {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2.4rem);
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius);
	box-shadow: var(--tf-shadow);
}

.tf-form {
	display: grid;
	gap: 1.1rem;
}

.tf-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
}

.tf-form__field {
	display: grid;
	gap: 0.4rem;
	margin: 0;
}

.tf-form__field label {
	color: var(--tf-navy);
	font-family: "Montserrat", sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.tf-form__field label span {
	color: var(--tf-green);
}

.tf-form input[type="text"],
.tf-form input[type="email"],
.tf-form input[type="tel"],
.tf-form textarea,
.tf-search__field {
	width: 100%;
	padding: 0.85rem 1rem;
	background: var(--tf-mist);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-sm);
	color: var(--tf-ink);
	font-family: "Open Sans", sans-serif;
	font-size: 0.97rem;
	line-height: 1.5;
	transition: border-color 0.2s var(--tf-ease), background 0.2s var(--tf-ease),
		box-shadow 0.2s var(--tf-ease);
}

.tf-form textarea {
	min-height: 150px;
	resize: vertical;
}

.tf-form input::placeholder,
.tf-form textarea::placeholder {
	color: #9aa4ab;
}

.tf-form input:focus,
.tf-form textarea:focus {
	outline: none;
	background: var(--tf-white);
	border-color: var(--tf-green);
	box-shadow: 0 0 0 3px rgba(37, 114, 42, 0.14);
}

.tf-form__check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0;
	color: var(--tf-slate);
	font-size: 0.9rem;
	line-height: 1.5;
}

.tf-form__check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--tf-green);
}

.tf-form__check label {
	cursor: pointer;
}

.tf-form__hint {
	margin: 0;
	color: var(--tf-slate);
	font-size: 0.8rem;
}

.tf-form__recaptcha {
	margin: 0;
	max-width: 60ch;
	color: var(--tf-slate);
	font-size: 0.75rem;
	line-height: 1.5;
}

.tf-form__recaptcha a {
	color: var(--tf-green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tf-form__submit.is-loading {
	opacity: 0.75;
	cursor: progress;
}

/* The badge is hidden because the text notice is shown above the button,
   which is the alternative Google allows. */
.grecaptcha-badge {
	visibility: hidden;
}

.tf-form__submit {
	justify-self: start;
	min-width: 200px;
}

.tf-form__hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tf-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin-bottom: 1.3rem;
	padding: 1rem 1.2rem;
	border-radius: var(--tf-radius-sm);
	font-size: 0.94rem;
	line-height: 1.55;
}

.tf-notice p {
	margin: 0;
}

.tf-notice--success {
	background: var(--tf-mint);
	border: 1px solid rgba(37, 114, 42, 0.28);
	color: var(--tf-green-dark);
}

.tf-notice--success .tf-icon {
	color: var(--tf-green);
	margin-top: 2px;
}

.tf-notice--error {
	background: #fdf1f1;
	border: 1px solid #e7b9b9;
	color: #8c2a2a;
}

/* Map */

.tf-map {
	margin-top: clamp(2rem, 4vw, 3rem);
	border-radius: var(--tf-radius);
	overflow: hidden;
	box-shadow: var(--tf-shadow-sm);
	background: var(--tf-mist);
}

.tf-map iframe {
	display: block;
	width: 100%;
	height: clamp(280px, 45vw, 420px);
	border: 0;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */

.tf-footer {
	padding-top: clamp(3rem, 6vw, 4.5rem);
	background: var(--tf-navy);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.94rem;
}

.tf-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1.1fr 0.8fr;
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

.tf-footer__logo-card {
	display: inline-flex;
	padding: 0.7rem 1rem;
	background: var(--tf-white);
	border-radius: var(--tf-radius-sm);
}

.tf-logo-img--footer {
	height: 46px;
}

.tf-footer__tagline {
	margin: 1.1rem 0 0;
	max-width: 32ch;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.92rem;
}

.tf-footer__marks {
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.84rem;
	letter-spacing: 0.04em;
}

.tf-footer__marks li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.45rem;
	color: rgba(255, 255, 255, 0.55);
}

.tf-footer__title {
	margin: 0 0 1rem;
	color: var(--tf-white);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.tf-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-footer__list li {
	margin-top: 0.55rem;
}

.tf-footer__list a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.tf-footer__list a:hover {
	color: #8fd39a;
	text-decoration: underline;
}

.tf-footer__list button.lncc-link {
	color: rgba(255, 255, 255, 0.72);
}

.tf-footer__list button.lncc-link:hover {
	color: #8fd39a;
}

.tf-footer__list--icons li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.55;
}

.tf-footer__list--icons .tf-icon {
	margin-top: 3px;
	color: #8fd39a;
}

.tf-footer__company {
	margin: 1.2rem 0 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.84rem;
	line-height: 1.6;
}

.tf-footer__widgets {
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tf-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1.4rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.82rem;
}

.tf-footer__bottom p {
	margin: 0;
}

.tf-footer__made {
	letter-spacing: 0.04em;
}

.tf-widget__title {
	font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   11. Blog / posts
   -------------------------------------------------------------------------- */

.tf-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.tf-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius);
	box-shadow: var(--tf-shadow-sm);
	transition: transform 0.3s var(--tf-ease), box-shadow 0.3s var(--tf-ease);
}

.tf-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tf-shadow);
}

.tf-post-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--tf-mint);
}

.tf-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tf-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.5rem;
}

.tf-post-card__meta {
	margin: 0;
	color: var(--tf-slate);
	font-family: "Montserrat", sans-serif;
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tf-post-card__title {
	margin: 0;
	font-size: 1.16rem;
	line-height: 1.3;
}

.tf-post-card__title a {
	color: var(--tf-navy);
}

.tf-post-card__title a:hover {
	color: var(--tf-green);
}

.tf-post-card__excerpt {
	margin: 0;
	color: var(--tf-slate);
	font-size: 0.94rem;
}

.tf-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 auto 1.5rem;
	max-width: 780px;
	color: var(--tf-slate);
	font-family: "Montserrat", sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tf-single__media {
	margin: 0 auto 2rem;
	max-width: 780px;
	border-radius: var(--tf-radius);
	overflow: hidden;
}

.tf-postnav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	max-width: 780px;
	margin: 3rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--tf-border);
	font-family: "Montserrat", sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
}

.tf-back {
	margin-top: 2rem;
	text-align: center;
}

.tf-search-form {
	max-width: 520px;
	margin: 0 auto 2.5rem;
}

.tf-search {
	display: flex;
	gap: 0.5rem;
	padding: 0.35rem;
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-pill);
	box-shadow: var(--tf-shadow-sm);
}

.tf-search__field {
	flex: 1;
	padding: 0.6rem 1rem;
	background: transparent;
	border: 0;
}

.tf-search__field:focus {
	outline: none;
	background: transparent;
	box-shadow: none;
}

.tf-search__button {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--tf-green);
	color: var(--tf-white);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s var(--tf-ease);
}

.tf-search__button:hover {
	background: var(--tf-green-dark);
}

.tf-404 {
	text-align: center;
}

.tf-404 .tf-prose {
	margin-bottom: 2rem;
}

.tf-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

.tf-404__links li {
	margin: 0;
}

.tf-404__search {
	max-width: 480px;
	margin-inline: auto;
}

/* Pagination */

.navigation.pagination {
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.75rem;
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius-sm);
	color: var(--tf-navy);
	font-family: "Montserrat", sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
	background: var(--tf-green);
	border-color: var(--tf-green);
	color: var(--tf-white);
}

/* --------------------------------------------------------------------------
   12. Core block normalisations
   -------------------------------------------------------------------------- */

.wp-block-group.alignfull,
.wp-block-group.alignwide {
	margin-inline: 0;
}

.tf-section + .tf-section {
	border-top: 1px solid transparent;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
}

.wp-block-button {
	margin: 0;
}

.wp-block-image {
	margin: 0;
}

.wp-block-image img {
	border-radius: var(--tf-radius);
}

.wp-block-image figcaption {
	margin-top: 0.6rem;
	color: var(--tf-slate);
	font-size: 0.85rem;
	text-align: center;
}

.wp-block-columns {
	margin-bottom: 0;
	gap: clamp(1.25rem, 2.6vw, 2rem);
}

.wp-block-column {
	min-width: 0;
}

.wp-block-separator {
	margin: 2.5rem auto;
	border: 0;
	border-top: 1px solid var(--tf-border);
	max-width: 120px;
}

.wp-block-quote {
	margin-inline: 0;
}

.wp-block-media-text {
	gap: clamp(1.5rem, 4vw, 3rem);
}

.wp-block-media-text__media img {
	border-radius: var(--tf-radius);
}

.wp-block-table {
	margin-bottom: 1.6rem;
}

.wp-block-table table {
	margin: 0;
}

.wp-block-embed iframe {
	border-radius: var(--tf-radius);
}

/* --------------------------------------------------------------------------
   12b. Component polish (cards, team, map, form privacy layer)
   -------------------------------------------------------------------------- */

.tf-card {
	padding: clamp(1.4rem, 2.2vw, 1.8rem);
}

.tf-card:has(.tf-card__media:not(.tf-card__media--icon)),
.tf-card:has(.tf-card__body) {
	padding: 0;
}

.tf-card > *,
.tf-info-card > *,
.tf-contact__info > *,
.tf-member > *,
.tf-form-wrap > * {
	width: 100%;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.tf-card__media--icon {
	display: block;
	padding: 0 0 1.1rem;
	background: transparent;
	aspect-ratio: auto;
}

.tf-card__media--icon p {
	margin: 0;
}

.tf-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: linear-gradient(145deg, #e7f1e8, var(--tf-mint));
	color: var(--tf-green);
	border-radius: 18px;
	box-shadow: inset 0 0 0 1px rgba(37, 114, 42, 0.14);
	transition: background 0.3s var(--tf-ease), color 0.3s var(--tf-ease),
		transform 0.3s var(--tf-ease);
}

.tf-card:hover .tf-card__icon {
	background: var(--tf-green);
	color: var(--tf-white);
	transform: translateY(-2px);
}

.tf-card .tf-card__icon .tf-icon {
	width: 26px;
	height: 26px;
}

.tf-card > h3 {
	margin: 0 0 0.55rem;
	font-size: 1.2rem;
}

.tf-card .tf-link-arrow {
	margin-top: auto;
	padding-top: 0.6rem;
	font-weight: 600;
}

/* Team grid */

.tf-section .wp-block-columns.tf-team {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.tf-member {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1.4rem, 2.2vw, 1.8rem);
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius);
	box-shadow: var(--tf-shadow-sm);
	transition: transform 0.3s var(--tf-ease), box-shadow 0.3s var(--tf-ease),
		border-color 0.3s var(--tf-ease);
}

.tf-member:hover {
	transform: translateY(-4px);
	box-shadow: var(--tf-shadow);
	border-color: rgba(37, 114, 42, 0.24);
}

.tf-member__avatar {
	display: inline-grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 0 1rem;
	background: linear-gradient(145deg, #e7f1e8, var(--tf-mint));
	color: var(--tf-green);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(37, 114, 42, 0.14);
	font-family: "Montserrat", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.tf-member h3 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
}

.tf-member p {
	margin: 0;
	color: var(--tf-slate);
	font-size: 0.94rem;
	line-height: 1.55;
}

.tf-member__langs {
	margin-top: 0.9rem !important;
	padding-top: 0.75rem;
	border-top: 1px solid var(--tf-border);
	width: 100%;
	color: var(--tf-slate) !important;
	font-size: 0.78rem !important;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Map */

.tf-map {
	overflow: hidden;
	margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
	background: var(--tf-white);
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius);
	box-shadow: var(--tf-shadow-sm);
}

.tf-map__frame {
	position: relative;
	aspect-ratio: 16 / 7;
	min-height: 300px;
	background: var(--tf-mist);
}

.tf-map__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.12) contrast(1.02);
}

.tf-map__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	padding: 1rem clamp(1rem, 2vw, 1.4rem);
	border-top: 1px solid var(--tf-border);
}

.tf-map__address {
	margin: 0;
	color: var(--tf-slate);
	font-size: 0.92rem;
}

.tf-map__link {
	font-weight: 600;
	white-space: nowrap;
}

/* Privacy first layer inside the contact form */

.tf-form__privacy {
	display: grid;
	gap: 0.55rem;
	padding: 1rem 1.15rem;
	background: var(--tf-mist);
	border-left: 3px solid var(--tf-green);
	border-radius: 10px;
}

.tf-form__privacy-title {
	margin: 0;
	color: var(--tf-navy);
	font-family: "Montserrat", sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.tf-form__privacy ul {
	display: grid;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-form__privacy li {
	color: var(--tf-slate);
	font-size: 0.85rem;
	line-height: 1.5;
}

.tf-form__privacy strong {
	color: var(--tf-navy);
	font-weight: 600;
}

.tf-form__privacy-more {
	margin: 0;
	font-size: 0.85rem;
}

/* Feature cards with icon */

.tf-feature--icon {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	column-gap: 1rem;
	row-gap: 0.3rem;
	align-items: start;
}

.tf-feature--icon > * {
	width: auto;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.tf-feature--icon > .tf-feature__icon {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.tf-feature--icon > h3 {
	grid-column: 2;
	margin: 0;
}

.tf-feature--icon > p:not(.tf-feature__icon) {
	grid-column: 2;
	margin: 0;
}

.tf-features > .wp-block-column {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tf-features > .wp-block-column > .tf-feature {
	flex: 1 1 0;
	margin: 0 !important;
}

.tf-feature__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	background: var(--tf-mint);
	color: var(--tf-green);
	border-radius: 13px;
}

.tf-feature__icon .tf-icon {
	width: 22px;
	height: 22px;
}

@media (max-width: 640px) {
	.tf-map__frame {
		aspect-ratio: 4 / 3;
		min-height: 280px;
	}

	.tf-form__privacy {
		padding: 0.9rem 1rem;
	}
}

/* --------------------------------------------------------------------------
   13. Motion
   -------------------------------------------------------------------------- */

.tf-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--tf-ease), transform 0.7s var(--tf-ease);
}

.tf-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.tf-reveal {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.tf-menu a {
		padding: 0.5rem 0.4rem;
		font-size: 0.9rem;
	}

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

@media (max-width: 960px) {
	.tf-burger {
		display: flex;
	}

	.tf-header__inner {
		flex-wrap: nowrap;
		gap: 0.6rem;
	}

	.tf-nav + .tf-header__actions {
		margin-left: auto;
	}

	.tf-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		margin: 0;
		padding: 0.75rem var(--tf-gutter) 1.5rem;
		background: var(--tf-white);
		border-bottom: 1px solid var(--tf-border);
		box-shadow: 0 22px 40px rgba(1, 4, 23, 0.12);
		max-height: calc(100dvh - var(--tf-header-h));
		overflow-y: auto;
	}

	.tf-header.is-open .tf-nav {
		display: block;
	}

	.tf-menu,
	.tf-menu ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.tf-menu > li + li {
		border-top: 1px solid var(--tf-border);
	}

	.tf-menu a {
		display: block;
		padding: 0.85rem 0.25rem;
		font-size: 1rem;
	}

	.tf-menu a::after {
		display: none;
	}

	.tf-menu .sub-menu {
		position: static;
		display: block;
		opacity: 1;
		visibility: visible;
		transform: none;
		padding: 0 0 0.5rem 1rem;
		border: 0;
		box-shadow: none;
	}

	.tf-header__cta {
		display: none;
	}

	.tf-header__lang {
		display: none;
	}

	.tf-nav__lang {
		display: block;
		margin-top: 0.85rem;
		padding-top: 1.1rem;
		border-top: 1px solid var(--tf-border);
	}

	.tf-hero--split .tf-hero__inner {
		grid-template-columns: 1fr;
	}

	.tf-split,
	.tf-split--reverse {
		grid-template-columns: 1fr;
	}

	.tf-split--reverse .tf-split__media {
		order: 0;
	}

	.tf-split__media {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 720px) {
	:root {
		--tf-header-h: 72px;
	}

	.tf-logo-img {
		height: 42px;
	}

	.tf-header.is-scrolled .tf-logo-img {
		height: 38px;
	}

	.tf-lang__link {
		padding: 0.24rem 0.5rem;
		font-size: 0.7rem;
	}

	.tf-form__row {
		grid-template-columns: 1fr;
	}

	.tf-form__submit {
		width: 100%;
		justify-self: stretch;
	}

	.tf-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.tf-footer__grid {
		grid-template-columns: 1fr;
	}

	.tf-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.tf-postnav {
		flex-direction: column;
	}

	h1 {
		font-size: clamp(1.95rem, 8vw, 2.5rem);
	}
}

@media (max-width: 420px) {
	.tf-header__actions {
		gap: 0.5rem;
	}

	.tf-burger {
		width: 42px;
		height: 42px;
	}
}

/* --------------------------------------------------------------------------
   15. Block-based page components
   -------------------------------------------------------------------------- */

.tf-feature--numbered {
	display: block;
}

.tf-features {
	counter-reset: tf-feature;
}

.tf-feature--numbered::before {
	counter-increment: tf-feature;
	content: counter(tf-feature, decimal-leading-zero);
	display: block;
	margin-bottom: 0.7rem;
	color: var(--tf-green);
	font-family: "Montserrat", sans-serif;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.tf-feature--numbered h3 {
	margin-bottom: 0.35rem;
	padding-right: 0.5rem;
}

.tf-card .wp-block-heading {
	margin-top: 0;
}

.wp-block-button.tf-b--light .wp-block-button__link {
	background: var(--tf-white);
	color: var(--tf-navy);
	box-shadow: 0 10px 26px rgba(1, 4, 23, 0.18);
}

.wp-block-button.tf-b--light .wp-block-button__link:hover {
	background: var(--tf-mint);
	color: var(--tf-green-dark);
}

.wp-block-button.tf-b--ghost .wp-block-button__link {
	background: transparent;
	color: var(--tf-navy);
	border-color: rgba(1, 4, 23, 0.2);
	box-shadow: none;
}

.wp-block-button.tf-b--ghost .wp-block-button__link:hover {
	background: var(--tf-navy);
	border-color: var(--tf-navy);
	color: var(--tf-white);
}

.tf-hero .wp-block-button.tf-b--ghost .wp-block-button__link {
	color: var(--tf-white);
	border-color: rgba(255, 255, 255, 0.38);
}

.tf-hero .wp-block-button.tf-b--ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--tf-white);
}

.tf-cta h2,
.tf-cta h3 {
	color: var(--tf-white);
}

.tf-cta p {
	max-width: 62ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
}

.tf-cta .wp-block-buttons {
	margin-top: 1.5rem;
}

.tf-cta.is-layout-constrained > * {
	max-width: var(--tf-container) !important;
}

.tf-section .tf-card--navy .tf-stat__value {
	color: #8fd39a;
}

.tf-section .tf-card--navy .tf-stat__label {
	color: rgba(255, 255, 255, 0.62);
}

.tf-card--navy .tf-stat {
	padding: 1.1rem 0.5rem;
}

.tf-card--navy .tf-stat + .tf-stat {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tf-section .wp-block-columns.tf-cards {
	display: grid;
}

.tf-section .wp-block-columns.tf-cards > .wp-block-column {
	margin: 0;
}

.tf-stats--row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0.5rem;
}

.tf-info-card h3.wp-block-heading {
	margin: 0 0 0.25rem;
}

.tf-info-card p {
	margin: 0;
}

.tf-info-card {
	display: block;
}

.tf-contact .wp-block-group.tf-info-card + .wp-block-group.tf-info-card {
	margin-top: 1rem;
}

.tf-legal h2,
.tf-prose h2 {
	scroll-margin-top: calc(var(--tf-header-h) + 24px);
}
