/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://example.com/twentytwentyfive-child
Description: Attorney website child theme with responsive, bilingual layouts.
Author: Behrooz Kashaf Rashti
Author URI: https://nilak.ir
Template: twentytwentyfive
Version: 1.6.1
Text Domain: twentytwentyfive-child
*/

:root {
	--ttfc-ink: #172b3a;
	--ttfc-brand: #174b55;
	--ttfc-brand-deep: #103640;
	--ttfc-gold: #c59b56;
	--ttfc-header-start: #102b3a;
	--ttfc-header-end: #174b55;
	--ttfc-paper: #f7f6f2;
	--ttfc-white: #fff;
	--ttfc-muted: #4b5862;
	--ttfc-line: #e5e2da;
	--ttfc-shadow: 0 20px 60px rgb(23 43 58 / 9%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--ttfc-paper);
	color: var(--ttfc-ink);
	font-family: Tahoma, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.8;
}

body,
button,
input,
select,
textarea {
	font-family: Tahoma, Arial, sans-serif;
}

a {
	color: var(--ttfc-brand);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--ttfc-brand-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--ttfc-gold);
	outline-offset: 3px;
}

.wp-site-blocks {
	min-height: 100vh;
}

.ttfc-site-header {
	position: relative;
	z-index: 5;
	border-bottom: 1px solid rgb(232 220 195 / 24%);
	background: linear-gradient(112deg, var(--ttfc-header-start), var(--ttfc-header-end));
	box-shadow: 0 12px 32px rgb(16 43 58 / 14%);
}

.ttfc-header-inner {
	display: flex;
	max-width: 1240px;
	min-height: 88px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-inline: auto;
	padding: 14px 28px;
}

.ttfc-brand {
	min-width: 170px;
}

.ttfc-brand .wp-block-site-title {
	margin: 0;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	font-weight: 700;
	line-height: 1.5;
}

.ttfc-brand .wp-block-site-logo {
	margin: 0;
}

.ttfc-brand .wp-block-site-logo img {
	width: auto;
	max-width: min(280px, 28vw);
	max-height: 76px;
	object-fit: contain;
}

.wp-custom-logo .ttfc-brand .wp-block-site-title,
.wp-custom-logo .ttfc-footer-inner .wp-block-site-title {
	display: none;
}

.ttfc-footer-inner .wp-block-site-logo {
	margin: 0;
}

.ttfc-footer-inner .wp-block-site-logo img {
	width: auto;
	max-width: min(220px, 24vw);
	max-height: 64px;
	object-fit: contain;
}

.ttfc-brand .wp-block-site-title a {
	color: var(--ttfc-white);
	text-decoration: none;
}

.ttfc-brand .wp-block-site-tagline {
	margin: 2px 70px 0;
	color: rgb(255 255 255 / 82%);
	font-size: 0.8rem;
}

.ttfc-header-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin-block: 0;
}

.ttfc-navigation ul,
.ttfc-language-switcher ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttfc-navigation-toggle {
	display: none;
}

.ttfc-navigation-toggle-wrap {
	display: flex;
}

.ttfc-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	clip-path: inset(50%);
}

.ttfc-navigation a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: rgb(255 255 255 / 94%);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.ttfc-navigation a:hover,
.ttfc-navigation a:focus-visible {
	color: #f0d49d;
}

.ttfc-navigation .ttfc-navigation-cta a {
	padding: 0 18px;
	border-radius: 6px;
	background: var(--ttfc-gold);
	color: #172b3a;
	box-shadow: 0 5px 16px rgb(0 0 0 / 16%);
}

.ttfc-navigation .ttfc-navigation-cta a:hover {
	background: #e0bd7e;
	color: #102b3a;
}

.ttfc-language-switcher {
	display: flex;
	align-items: center;
	align-self: center;
	margin-block: 0;
	color: rgb(255 255 255 / 88%);
	font-size: 0.82rem;
}

.ttfc-language-switcher select {
	min-height: 44px;
	padding: 7px 34px 7px 12px;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 6px;
	background: rgb(255 255 255 / 9%);
	color: var(--ttfc-white);
	font: inherit;
	cursor: pointer;
}

.ttfc-language-switcher select option {
	background: var(--ttfc-header-start);
	color: var(--ttfc-white);
}

.ttfc-language-switcher a {
	color: inherit;
	text-decoration: none;
}

.ttfc-language-switcher .current-lang a {
	color: var(--ttfc-white);
	font-weight: 700;
}

.ttfc-hero,
.ttfc-trust-row,
.ttfc-services,
.ttfc-process,
.ttfc-bottom-cta {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.ttfc-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
	align-items: center;
	gap: clamp(32px, 7vw, 92px);
	padding-block: clamp(52px, 6vw, 82px);
}

.ttfc-hero-copy {
	max-width: 730px;
}

.ttfc-eyebrow {
	margin: 0 0 14px;
	color: var(--ttfc-brand);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.13em;
}

.ttfc-hero h1 {
	max-width: 760px;
	margin: 0;
	color: var(--ttfc-ink);
	font-size: clamp(2.25rem, 5vw, 4.4rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.25;
}

.ttfc-hero-lead {
	max-width: 650px;
	margin: 24px 0 0;
	color: var(--ttfc-muted);
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	line-height: 1.9;
}

.ttfc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ttfc-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.ttfc-button-primary {
	background: var(--ttfc-brand);
	color: var(--ttfc-white);
}

.ttfc-button-primary:hover {
	background: var(--ttfc-brand-deep);
	color: var(--ttfc-white);
}

.ttfc-button-secondary {
	border-color: var(--ttfc-line);
	background: var(--ttfc-white);
	color: var(--ttfc-ink);
}

.ttfc-button-secondary:hover {
	border-color: var(--ttfc-brand);
	color: var(--ttfc-brand);
}

.ttfc-lawyer-name {
	margin: 30px 0 0;
	color: var(--ttfc-muted);
	font-size: 0.9rem;
}

.ttfc-hero-card {
	position: relative;
	overflow: hidden;
	padding: clamp(25px, 4vw, 42px);
	border: 1px solid rgb(197 155 86 / 35%);
	border-radius: 8px;
	background: var(--ttfc-white);
	box-shadow: var(--ttfc-shadow);
}

.ttfc-card-index {
	position: absolute;
	top: 14px;
	inset-inline-end: 20px;
	color: rgb(197 155 86 / 35%);
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
}

.ttfc-hero-card h2 {
	position: relative;
	margin: 0 0 22px;
	font-size: 1.35rem;
}

.ttfc-hero-card ol {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttfc-hero-card li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--ttfc-muted);
}

.ttfc-hero-card li span {
	display: inline-flex;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eef4f3;
	color: var(--ttfc-brand);
	font-size: 0.8rem;
	font-weight: 700;
}

.ttfc-hero-card > a,
.ttfc-service-card a,
.ttfc-services-link a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin-top: 22px;
	font-weight: 700;
	text-decoration: none;
}

.ttfc-trust-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	border-block: 1px solid var(--ttfc-line);
	background: var(--ttfc-line);
}

.ttfc-trust-row > div {
	display: grid;
	gap: 4px;
	padding: 23px 28px;
	background: var(--ttfc-paper);
}

.ttfc-trust-row strong {
	color: var(--ttfc-ink);
	font-size: 0.98rem;
}

.ttfc-trust-row span {
	color: var(--ttfc-muted);
	font-size: 0.88rem;
}

.ttfc-services,
.ttfc-process {
	padding-block: clamp(64px, 8vw, 100px);
}

.ttfc-section-heading {
	max-width: 660px;
	margin-bottom: 34px;
}

.ttfc-section-heading h2,
.ttfc-bottom-cta h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	letter-spacing: -0.025em;
	line-height: 1.35;
}

.ttfc-section-heading > p:last-child {
	margin: 14px 0 0;
	color: var(--ttfc-muted);
}

.ttfc-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ttfc-service-card {
	padding: 28px;
	border: 1px solid var(--ttfc-line);
	border-radius: 8px;
	background: var(--ttfc-white);
	transition: box-shadow 150ms ease, transform 150ms ease;
}

.ttfc-service-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ttfc-shadow);
}

.ttfc-service-card > span {
	color: var(--ttfc-gold);
	font-size: 0.8rem;
	font-weight: 700;
}

.ttfc-service-card h3 {
	margin: 15px 0 8px;
	font-size: 1.18rem;
}

.ttfc-service-card p {
	margin: 0;
	color: var(--ttfc-muted);
}

.ttfc-services-link {
	margin: 24px 0 0;
}

.ttfc-process {
	width: 100%;
	padding-inline: max(24px, calc((100% - 1180px) / 2));
	background: #edf1f1;
}

.ttfc-flow {
	--ttfc-flow-node: 3.5rem;
	--ttfc-flow-gap: 1.5rem;
	--ttfc-flow-rail: #c5d1d2;
	width: 100%;
	padding: clamp(58px, 7vw, 88px) max(24px, calc((100% - 1180px) / 2));
	background: #edf1f1;
}

.ttfc-flow__inner {
	max-width: 1180px;
	margin-inline: auto;
}

.ttfc-flow__steps {
	position: relative;
}

.ttfc-flow__head {
	margin-bottom: clamp(28px, 4vw, 44px);
}

.ttfc-flow__head .ttfc-eyebrow {
	margin-bottom: 10px;
	letter-spacing: 0;
}

.ttfc-flow__head h2 {
	margin: 0;
	color: var(--ttfc-ink);
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	line-height: 1.4;
}

.ttfc-flow__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ttfc-flow-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttfc-flow__track {
	position: absolute;
	z-index: 0;
	inset-block-start: calc(var(--ttfc-flow-node) / 2 - 2px);
	inset-inline: calc((100% - 2 * var(--ttfc-flow-gap)) / 6);
	height: 4px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--ttfc-flow-rail);
}

.ttfc-flow__fill {
	display: block;
	width: 100%;
	height: 100%;
	transform: scaleX(1);
	transform-origin: right center;
	border-radius: inherit;
	background: linear-gradient(270deg, var(--ttfc-gold), var(--ttfc-brand));
	transition: transform 1.8s cubic-bezier(.6, .1, .2, 1);
}

[dir="ltr"] .ttfc-flow__fill {
	transform-origin: left center;
	background: linear-gradient(90deg, var(--ttfc-gold), var(--ttfc-brand));
}

.ttfc-flow__step {
	position: relative;
	z-index: 1;
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ttfc-flow__node {
	position: relative;
	display: grid;
	width: var(--ttfc-flow-node);
	height: var(--ttfc-flow-node);
	flex: 0 0 var(--ttfc-flow-node);
	place-items: center;
	border: 5px solid #edf1f1;
	border-radius: 50%;
	background: var(--ttfc-brand-deep);
	box-shadow: 0 7px 20px rgb(16 54 64 / 20%);
	color: var(--ttfc-white);
	transition: background-color .45s ease, color .45s ease, transform .45s ease;
	transition-delay: calc(var(--i) * .75s);
}

.ttfc-flow__node svg {
	width: 1.45rem;
	height: 1.45rem;
}

.ttfc-flow__card {
	width: 100%;
	height: 100%;
	margin-top: 1.1rem;
	padding: 1.45rem 1.3rem;
	border: 1px solid rgb(23 75 85 / 13%);
	border-radius: 10px;
	background: rgb(255 255 255 / 94%);
	box-shadow: 0 5px 20px rgb(23 43 58 / 5%);
	transition: opacity .55s ease, transform .55s ease, box-shadow .25s ease;
	transition-delay: calc(var(--i) * .75s);
}

.ttfc-flow__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ttfc-shadow);
	transition-delay: 0s;
}

.ttfc-flow__index {
	display: block;
	margin-bottom: .4rem;
	color: #805716;
	font-size: .86rem;
	font-weight: 800;
}

.ttfc-flow__card h3 {
	margin: 0;
	color: var(--ttfc-ink);
	font-size: 1.12rem;
	line-height: 1.65;
}

.ttfc-flow__card p {
	margin: .6rem 0 0;
	color: #46545e;
	font-size: .94rem;
	line-height: 1.9;
}

.ttfc-flow.is-visible .ttfc-flow__step--final .ttfc-flow__node::after {
	position: absolute;
	inset: 0;
	border: 2px solid var(--ttfc-gold);
	border-radius: 50%;
	content: "";
	opacity: 0;
	animation: ttfc-flow-pulse 2.4s ease-out 2.4s infinite;
}

@keyframes ttfc-flow-pulse {
	0% { transform: scale(1); opacity: .7; }
	100% { transform: scale(1.8); opacity: 0; }
}

.ttfc-flow.is-armed:not(.is-visible) .ttfc-flow__fill {
	transform: scaleX(0);
}

.ttfc-flow.is-armed:not(.is-visible) .ttfc-flow__node {
	transform: scale(.88);
	background: #fff;
	color: #596873;
}

.ttfc-flow.is-armed:not(.is-visible) .ttfc-flow__card {
	transform: translateY(14px);
	opacity: 0;
}

.ttfc-flow.is-armed:not(.is-visible) .ttfc-flow__step--final .ttfc-flow__node::after {
	animation: none;
}

.ttfc-latest-articles {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
	padding-block: clamp(64px, 8vw, 100px);
}

.ttfc-article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ttfc-article-card {
	overflow: hidden;
	padding: 0 24px 24px;
	border: 1px solid var(--ttfc-line);
	border-radius: 8px;
	background: var(--ttfc-white);
}

.ttfc-article-image {
	display: block;
	margin: 0 -24px 18px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef2f0;
}

.ttfc-article-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ttfc-article-date {
	margin: 0 0 8px;
	color: var(--ttfc-muted);
	font-size: 0.82rem;
}

.ttfc-article-card h3 {
	margin: 0 0 10px;
	font-size: 1.15rem;
	line-height: 1.5;
}

.ttfc-article-card h3 a {
	color: var(--ttfc-ink);
	text-decoration: none;
}

.ttfc-article-card > p:last-child {
	margin-bottom: 0;
	color: var(--ttfc-muted);
}

.ttfc-process-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttfc-process-grid > li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px;
	border: 1px solid rgb(23 75 85 / 12%);
	border-radius: 8px;
	background: rgb(255 255 255 / 80%);
}

.ttfc-process-grid > li > span {
	display: inline-flex;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ttfc-brand);
	color: var(--ttfc-white);
	font-weight: 700;
}

.ttfc-process-grid > li strong {
	display: block;
	color: var(--ttfc-ink);
}

.ttfc-process-grid > li p {
	margin: 8px 0 0;
	color: var(--ttfc-muted);
	font-size: 0.92rem;
}

.ttfc-bottom-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-block: 70px;
	padding: clamp(28px, 5vw, 54px);
	border-radius: 8px;
	background: var(--ttfc-brand-deep);
	color: var(--ttfc-white);
}

.ttfc-bottom-cta .ttfc-eyebrow,
.ttfc-bottom-cta h2 {
	color: var(--ttfc-white);
}

.ttfc-bottom-cta .ttfc-eyebrow {
	opacity: 0.75;
}

.ttfc-button-light {
	flex: 0 0 auto;
	background: var(--ttfc-white);
	color: var(--ttfc-brand-deep);
}

.ttfc-button-light:hover {
	background: #f3e9d7;
	color: var(--ttfc-brand-deep);
}

.ttfc-site-footer {
	margin-top: 70px;
	border-top: 0;
	background: transparent;
}

.ttfc-footer-inner {
	max-width: none;
	margin-inline: auto;
	padding: 0;
	color: rgb(255 255 255 / 82%);
	font-size: 0.88rem;
}

.ttfc-footer-navigation-wrap {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	padding-block: 1px 0;
	border-top: 1px solid rgb(240 212 157 / 48%);
	background:
		radial-gradient(ellipse at 12% 16%, rgb(240 212 157 / 10%), transparent 34%),
		linear-gradient(112deg, var(--ttfc-header-start), var(--ttfc-header-end));
	color: rgb(255 255 255 / 82%);
}

.ttfc-footer-mark {
	position: absolute;
	z-index: -1;
	inset-block-start: 50%;
	inset-inline-start: 48%;
	width: min(400px, 36vw);
	height: auto;
	transform: translate(-50%, -50%);
	color: #f0d49d;
	opacity: .045;
	pointer-events: none;
}

.ttfc-footer-navigation-wrap::before {
	position: absolute;
	z-index: -1;
	inset-block-start: -110px;
	inset-inline-start: -65px;
	width: 330px;
	height: 330px;
	border: 1px solid rgb(240 212 157 / 9%);
	border-radius: 50%;
	box-shadow: 0 0 0 22px rgb(240 212 157 / 3%), 0 0 0 44px rgb(240 212 157 / 2%);
	content: "";
	pointer-events: none;
}

.ttfc-back-to-top {
	position: fixed;
	z-index: 60;
	inset-inline-end: 24px;
	bottom: 24px;
	display: inline-flex;
	min-width: 50px;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0 14px;
	border: 1px solid rgb(16 54 64 / 14%);
	border-radius: 999px;
	background: var(--ttfc-white);
	color: var(--ttfc-brand-deep);
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 24px rgb(16 43 58 / 20%);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: background-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease, visibility .2s ease;
	visibility: hidden;
}

.ttfc-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.ttfc-back-to-top:hover,
.ttfc-back-to-top:focus-visible {
	background: #f3e9d7;
	color: var(--ttfc-brand-deep);
	transform: translateY(-2px);
}

.ttfc-back-to-top svg {
	width: 18px;
	height: 18px;
}

.ttfc-social-rail {
	position: fixed;
	z-index: 55;
	top: 50%;
	display: flex;
	width: 48px;
	align-items: center;
	flex-direction: column;
	padding: 24px 1px 1px;
	transform: translateY(-50%);
	border: 1px solid rgb(240 212 157 / 32%);
	background: rgb(16 43 58 / 96%);
	box-shadow: 0 8px 24px rgb(8 24 32 / 24%);
	transition: width .2s ease, transform .2s ease, opacity .2s ease;
}

.ttfc-social-rail[dir="rtl"] {
	inset-inline-end: max(8px, env(safe-area-inset-left, 0px));
	border-radius: 0 12px 12px 0;
}

.ttfc-social-rail[dir="ltr"] {
	inset-inline-end: max(8px, env(safe-area-inset-right, 0px));
	border-radius: 12px 0 0 12px;
}

.ttfc-social-rail-toggle {
	position: absolute;
	top: 2px;
	display: grid;
	width: 22px;
	height: 20px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: rgb(255 255 255 / 74%);
	cursor: pointer;
}

.ttfc-social-rail[dir="rtl"] .ttfc-social-rail-toggle {
	left: 50%;
	transform: translateX(-50%);
}

.ttfc-social-rail[dir="ltr"] .ttfc-social-rail-toggle {
	right: 50%;
	transform: translateX(50%);
}

.ttfc-social-rail-toggle:hover {
	background: rgb(255 255 255 / 10%);
	color: #f0d49d;
}

.ttfc-social-rail-toggle:focus-visible,
.ttfc-social-rail a:focus-visible {
	outline: 3px solid #f0d49d;
	outline-offset: 2px;
}

.ttfc-social-rail-toggle svg {
	width: 15px;
	height: 15px;
}

.ttfc-social-rail-open-icon,
.ttfc-social-rail[dir="ltr"] .ttfc-social-rail-open-icon {
	display: none;
}

.ttfc-social-rail[dir="ltr"].is-collapsed .ttfc-social-rail-open-icon {
	display: block;
	transform: rotate(180deg);
}

.ttfc-social-rail[dir="rtl"].is-collapsed .ttfc-social-rail-open-icon {
	display: block;
}

.ttfc-social-rail.is-collapsed {
	width: 32px;
	padding: 4px;
}

.ttfc-social-rail.is-collapsed .ttfc-social-rail-toggle {
	position: static;
	width: 22px;
	height: 34px;
	transform: none;
}

.ttfc-social-rail.is-collapsed .ttfc-social-rail-close-icon,
.ttfc-social-rail.is-collapsed nav {
	display: none;
}

.ttfc-social-rail nav ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttfc-social-rail nav a {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 8px;
	color: #fff;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.ttfc-social-rail nav a:hover,
.ttfc-social-rail nav a:focus-visible {
	transform: scale(1.04);
	background: #c59b56;
	color: #172b3a;
}

.ttfc-social-rail nav li:nth-child(1) a:hover,
.ttfc-social-rail nav li:nth-child(1) a:focus-visible {
	background: #1a8f4c;
	color: #fff;
}

.ttfc-social-rail nav li:nth-child(2) a:hover,
.ttfc-social-rail nav li:nth-child(2) a:focus-visible {
	background: #1b7fb0;
	color: #fff;
}

.ttfc-social-rail nav li:nth-child(3) a:hover,
.ttfc-social-rail nav li:nth-child(3) a:focus-visible {
	background: #b02a73;
	color: #fff;
}

.ttfc-social-rail nav a[aria-disabled="true"] {
	cursor: default;
	opacity: .58;
	pointer-events: none;
}

.ttfc-social-rail nav svg {
	width: 22px;
	height: 22px;
}

.ttfc-social-rail nav a:first-child svg {
	width: 24px;
	height: 24px;
}

@media (max-height: 480px) {
	.ttfc-social-rail {
		top: auto;
		bottom: calc(90px + env(safe-area-inset-bottom, 0px));
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ttfc-social-rail,
	.ttfc-social-rail nav a {
		transition: none;
	}
}

.ttfc-footer-navigation-mobile {
	display: none;
}

.ttfc-footer-desktop {
	display: grid;
	width: min(100%, 1440px);
	grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 48px);
	margin-inline: auto;
	padding: 52px clamp(24px, 3.5vw, 48px) 42px;
	direction: rtl;
}

.ttfc-footer-column {
	min-width: 0;
	direction: rtl;
	text-align: right;
}

.ttfc-footer-column h2 {
	margin: 0 0 18px;
	color: #f0d49d;
	font-size: 1rem;
	font-weight: 700;
}

.ttfc-footer-social ul,
.ttfc-footer-useful ul,
.ttfc-footer-services ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttfc-footer-social a {
	display: flex;
	min-height: 42px;
	align-items: center;
	gap: 11px;
	color: rgb(255 255 255 / 88%);
	text-decoration: none;
	transition: color .2s ease, transform .2s ease;
}

.ttfc-footer-social a:hover,
.ttfc-footer-useful a:hover,
.ttfc-footer-services a:hover {
	color: #f0d49d;
}

.ttfc-footer-social svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.ttfc-footer-social a:hover {
	transform: translateX(-3px);
}

.ttfc-social-text {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.ttfc-social-text strong {
	font-size: .88rem;
	font-weight: 650;
}

.ttfc-social-text small {
	color: rgb(255 255 255 / 60%);
	font-size: .75rem;
}

.ttfc-footer-social a[aria-disabled="true"] {
	cursor: default;
	opacity: .65;
	pointer-events: none;
}

.ttfc-trustbox {
	display: flex;
	max-width: 280px;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding: 10px;
	background: #fff;
	border: 1px solid rgb(255 255 255 / 75%);
	border-radius: 12px;
	box-shadow: 0 10px 28px rgb(0 0 0 / 15%);
	color: var(--ttfc-brand-deep);
}

.ttfc-trustbox-badge {
	display: grid;
	width: 82px;
	height: 82px;
	flex: 0 0 auto;
	place-items: center;
}

.ttfc-trustbox-badge img {
	display: block;
	width: 76px;
	height: 76px;
	object-fit: contain;
}

.ttfc-trustbox-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	line-height: 1.65;
}

.ttfc-trustbox-text strong {
	font-size: .85rem;
}

.ttfc-trustbox-text span {
	color: #52616a;
	font-size: .74rem;
}

.ttfc-footer-branding {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ttfc-footer-brand {
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.ttfc-footer-branding .custom-logo-link {
	display: inline-flex;
	justify-content: center;
	flex: 0 0 auto;
}

.ttfc-footer-branding .custom-logo {
	width: auto;
	max-width: min(240px, 100%);
	max-height: 68px;
	object-fit: contain;
}

.ttfc-footer-branding h2 {
	margin: 0 0 4px;
	color: var(--ttfc-white);
	font-size: 1.12rem;
	font-weight: 800;
}

.ttfc-footer-bio {
	max-width: 330px;
	margin: 22px auto 18px;
	color: rgb(255 255 255 / 72%);
	line-height: 2;
	text-align: center;
}

.ttfc-footer-cta {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	border: 1px solid rgb(240 212 157 / 56%);
	border-radius: 999px;
	background: rgb(240 212 157 / 10%);
	color: #f5dfb5;
	font-size: .84rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
	align-self: center;
}

.ttfc-footer-cta:hover,
.ttfc-footer-cta:focus-visible {
	transform: translateY(-2px);
	background: #f0d49d;
	color: var(--ttfc-brand-deep);
}

.ttfc-footer-useful a,
.ttfc-footer-services a {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	color: rgb(255 255 255 / 82%);
	font-size: .88rem;
	text-decoration: none;
	transition: color .2s ease;
}

.ttfc-footer-services a {
	color: rgb(255 255 255 / 72%);
}

.ttfc-footer-bottom {
	display: grid;
	width: min(100%, 1440px);
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px 24px;
	margin-inline: auto;
	padding: 16px clamp(24px, 3.5vw, 48px) 20px;
	border-top: 1px solid rgb(255 255 255 / 16%);
	color: rgb(255 255 255 / 64%);
	font-size: .78rem;
}

.ttfc-footer-bottom p {
	margin: 0;
}

.ttfc-footer-bottom nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttfc-footer-bottom a {
	color: inherit;
	text-decoration: none;
}

.ttfc-footer-bottom a:hover {
	color: #f0d49d;
}

.ttfc-footer-disclaimer {
	grid-column: 1 / -1;
	max-width: 900px;
	color: rgb(255 255 255 / 52%);
	font-size: .73rem;
}

.ttfc-footer-navigation ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	margin: 0;
	padding: 8px 0 0;
	list-style: none;
}

@media (min-width: 1025px) and (max-width: 1199px) {
	.ttfc-footer-desktop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 48px;
	}

	.ttfc-footer-brand {
		grid-row: span 2;
	}

	.ttfc-footer-bottom {
		grid-template-columns: 1fr;
	}
}

.ttfc-footer-navigation-mobile a {
	display: flex;
	min-height: 68px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 8px;
	color: rgb(255 255 255 / 88%);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.ttfc-footer-navigation-mobile a:hover,
.ttfc-footer-navigation-mobile a:focus-visible {
	background: rgb(255 255 255 / 9%);
	color: #f0d49d;
}

.ttfc-footer-navigation-mobile svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.wp-block-post-title {
	max-width: 900px;
	margin-inline: auto;
	color: var(--ttfc-ink);
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.3;
}

.wp-block-post-content {
	max-width: 900px;
	margin-inline: auto;
}

.wp-block-post-content > * {
	max-width: 100%;
}

.lcm-consultation-form,
.lcm-account-access,
.lcm-client-panel {
	padding: clamp(20px, 4vw, 36px);
	border: 1px solid var(--ttfc-line);
	border-radius: 8px;
	background: var(--ttfc-white);
	box-shadow: 0 10px 36px rgb(23 43 58 / 5%);
}

.lcm-account-access section + section {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--ttfc-line);
}

.lcm-consultation-form label,
.lcm-account-access label {
	display: inline-block;
	margin-bottom: 6px;
	font-weight: 700;
}

.lcm-consultation-form input:not([type="file"]):not([type="hidden"]),
.lcm-consultation-form select,
.lcm-consultation-form textarea,
.lcm-account-access input:not([type="hidden"]) {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #cbd2d5;
	border-radius: 5px;
	background: var(--ttfc-white);
	color: var(--ttfc-ink);
	font: inherit;
}

.lcm-client-panel input[type="text"] {
	width: min(100%, 420px);
	min-height: 46px;
	margin: 8px 0;
	padding: 9px 12px;
	border: 1px solid #cbd2d5;
	border-radius: 5px;
	background: var(--ttfc-white);
	color: var(--ttfc-ink);
	font: inherit;
}

.lcm-consultation-form textarea {
	min-height: 150px;
	resize: vertical;
}

.lcm-consultation-form button,
.lcm-account-access button,
.lcm-client-panel .button,
.lcm-client-panel button {
	min-height: 48px;
	padding: 10px 20px;
	border: 0;
	border-radius: 5px;
	background: var(--ttfc-brand);
	color: var(--ttfc-white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.lcm-consultation-form button:hover,
.lcm-account-access button:hover,
.lcm-client-panel .button:hover,
.lcm-client-panel button:hover {
	background: var(--ttfc-brand-deep);
	color: var(--ttfc-white);
}

.lcm-notice {
	margin-block: 18px;
	padding: 14px 18px;
	border-inline-start: 4px solid var(--ttfc-brand);
	background: #eef4f3;
}

.lcm-notice-success {
	border-color: #28714f;
	background: #eef7f1;
}

.lcm-client-panel table {
	width: 100%;
	border-collapse: collapse;
}

.lcm-client-panel th,
.lcm-client-panel td {
	padding: 12px;
	border-bottom: 1px solid var(--ttfc-line);
	text-align: start;
	vertical-align: top;
}

.lcm-client-panel th {
	background: #f6f8f7;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: 46px;
	border-color: #cbd2d5;
	border-radius: 5px;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
	min-height: 46px;
	border-radius: 5px;
	background: var(--ttfc-brand);
	color: var(--ttfc-white);
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
	background: var(--ttfc-brand-deep);
	color: var(--ttfc-white);
}

@media (max-width: 1024px) {
	body {
		padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
	}

	.ttfc-brand .wp-block-site-logo img {
		max-width: min(220px, 38vw);
		max-height: 58px;
	}

	.ttfc-brand .wp-block-site-logo,
	.ttfc-brand .wp-block-site-logo img {
		max-width: 100%;
	}

	.ttfc-brand .wp-block-site-logo,
	.ttfc-brand .custom-logo-link {
		display: block;
		width: 100%;
	}

	.ttfc-header-inner {
		position: relative;
		display: grid;
		grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
		grid-template-areas: "menu brand language";
		min-height: 74px;
		align-items: center;
		gap: 10px;
		padding: 8px 18px;
	}

	.ttfc-header-tools {
		display: contents;
	}

	.ttfc-brand {
		position: absolute;
		top: 50%;
		left: 50%;
		width: max(0px, min(220px, calc(100% - 190px)));
		min-width: 0;
		transform: translate(-50%, -50%);
	}

	.ttfc-brand .wp-block-site-tagline {
		display: none;
	}

	.ttfc-navigation {
		grid-area: menu;
		justify-self: start;
	}

	.ttfc-navigation-toggle-wrap {
		justify-content: center;
	}

	.ttfc-navigation-toggle {
		display: inline-grid;
		width: 48px;
		height: 48px;
		min-height: 48px;
		place-items: center;
		padding: 0;
		border: 1px solid rgb(255 255 255 / 24%);
		border-radius: 12px;
		background: rgb(255 255 255 / 7%);
		color: var(--ttfc-white);
		cursor: pointer;
	}

	.ttfc-navigation-toggle:hover,
	.ttfc-navigation-toggle[aria-expanded="true"] {
		border-color: rgb(240 212 157 / 70%);
		background: rgb(255 255 255 / 13%);
	}

	.ttfc-navigation-toggle svg {
		width: 24px;
		height: 24px;
	}

	.ttfc-navigation ul {
		position: absolute;
		z-index: 10;
		inset-block-start: calc(100% + 8px);
		inset-inline-start: 12px;
		display: none;
		width: min(420px, calc(100vw - 24px));
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
		margin: 0;
		padding: 10px;
		border: 1px solid rgb(255 255 255 / 18%);
		border-radius: 14px;
		background: #123b47;
		box-shadow: 0 18px 44px rgb(8 24 32 / 28%);
	}

	.ttfc-navigation.is-open ul {
		display: flex;
	}

	.ttfc-navigation a {
		width: 100%;
		min-height: 46px;
		padding: 0 14px;
		border-radius: 8px;
		color: var(--ttfc-white);
		font-size: 0.94rem;
	}

	.ttfc-navigation a:hover,
	.ttfc-navigation a:focus-visible {
		background: rgb(255 255 255 / 9%);
		color: #f0d49d;
	}

	.ttfc-navigation .ttfc-navigation-cta a {
		justify-content: flex-start;
		background: var(--ttfc-gold);
		color: #172b3a;
	}

	.ttfc-navigation .ttfc-navigation-cta a:hover {
		background: #e0bd7e;
		color: #102b3a;
	}

	.ttfc-navigation .ttfc-navigation-logout a {
		border-top: 1px solid rgb(255 255 255 / 15%);
		border-radius: 0;
		color: #f0d49d;
	}

	.ttfc-language-switcher {
		grid-area: language;
		justify-self: end;
	}

	.ttfc-language-switcher select {
		min-width: 100px;
		min-height: 42px;
		padding-block: 5px;
	}

	.ttfc-navigation a .ttfc-mobile-only {
		display: inline;
	}

	.ttfc-site-footer {
		position: fixed;
		z-index: 50;
		inset-inline: 0;
		bottom: 0;
		margin: 0;
		border-top: 1px solid rgb(240 212 157 / 30%);
		background: rgb(16 43 58 / 97%);
		box-shadow: 0 -8px 26px rgb(16 43 58 / 18%);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		backdrop-filter: blur(16px);
	}

	.ttfc-footer-navigation-wrap {
		padding-block: 0;
		border-top: 0;
		background: transparent;
	}

	.ttfc-footer-navigation-wrap::before {
		display: none;
	}

	.ttfc-footer-mark {
		display: none;
	}

	.ttfc-footer-inner {
		width: 100%;
		padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
	}

	.ttfc-footer-desktop {
		display: none;
	}

	.ttfc-footer-bottom {
		display: none;
	}

	.ttfc-footer-navigation-mobile {
		display: block;
	}

	.ttfc-footer-navigation-mobile ul {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2px;
		margin: 0;
		padding: 4px 0;
		list-style: none;
	}

	.ttfc-footer-navigation-mobile a {
		display: flex;
		min-height: 68px;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;
		padding: 5px 2px;
		border-radius: 8px;
		color: rgb(255 255 255 / 88%);
		font-size: .73rem;
		font-weight: 600;
		line-height: 1.3;
		text-align: center;
		text-decoration: none;
	}

	.ttfc-footer-navigation-mobile a:hover,
	.ttfc-footer-navigation-mobile a:focus-visible {
		background: rgb(255 255 255 / 8%);
		color: #f0d49d;
	}

	.ttfc-footer-navigation-mobile svg {
		width: 22px;
		height: 22px;
		flex: 0 0 auto;
	}

	.ttfc-back-to-top {
		bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	}

	.ttfc-hero {
		grid-template-columns: 1fr;
	}

	.ttfc-hero-card {
		max-width: 620px;
	}
}

@media (max-width: 640px) {
	.ttfc-brand .wp-block-site-logo img {
		max-width: min(190px, 38vw);
		max-height: 52px;
	}

	.ttfc-brand .wp-block-site-logo img {
		max-width: 100%;
	}

	.ttfc-header-inner {
		grid-template-columns: 44px minmax(0, 1fr) auto;
		min-height: 66px;
		gap: 8px;
		padding: 7px 12px;
	}

	.ttfc-navigation-toggle {
		width: 44px;
		height: 44px;
		min-height: 44px;
		border-radius: 11px;
	}

	.ttfc-language-switcher select {
		width: 82px;
		min-width: 0;
		padding-inline: 8px;
	}

	.ttfc-navigation-toggle svg {
		width: 22px;
		height: 22px;
	}

	.ttfc-footer-navigation-mobile a {
		min-height: 66px;
		font-size: .7rem;
	}

	.ttfc-footer-navigation-mobile svg {
		width: 21px;
		height: 21px;
	}

	.ttfc-back-to-top {
		inset-inline-end: 14px;
	}

	.ttfc-flow {
		padding-inline: 16px;
	}

	.ttfc-flow__list {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.ttfc-flow__track {
		display: none;
	}

	.ttfc-flow__step {
		display: grid;
		grid-template-columns: var(--ttfc-flow-node) minmax(0, 1fr);
		column-gap: 14px;
		align-items: start;
		padding-bottom: 18px;
		text-align: start;
	}

	.ttfc-flow__step:not(:last-child)::after {
		position: absolute;
		z-index: -1;
		inset-block: calc(var(--ttfc-flow-node) - 5px) 0;
		inset-inline-start: calc(var(--ttfc-flow-node) / 2 - 2px);
		width: 4px;
		border-radius: 4px;
		background: linear-gradient(var(--ttfc-brand), var(--ttfc-gold));
		content: "";
	}

	.ttfc-flow__card {
		margin-top: 0;
	}

	.ttfc-flow__step--final .ttfc-flow__node::after {
		animation-delay: 1.5s;
	}
	.ttfc-hero,
	.ttfc-trust-row,
	.ttfc-services,
	.ttfc-latest-articles,
	.ttfc-bottom-cta {
		width: min(100% - 32px, 1180px);
	}

	.ttfc-trust-row,
	.ttfc-service-grid,
	.ttfc-process-grid,
	.ttfc-article-grid {
		grid-template-columns: 1fr;
	}

	.ttfc-trust-row > div {
		padding: 16px 18px;
	}

	.ttfc-process {
		padding-inline: 16px;
	}

	.ttfc-bottom-cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.ttfc-navigation ul {
		gap: 2px 10px;
	}

	.ttfc-navigation a {
		min-height: 40px;
		font-size: 0.82rem;
	}

	.lcm-client-panel {
		overflow-x: auto;
	}

	.lcm-client-panel table {
		min-width: 600px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
