@font-face {
	font-family: "IRANSansX";
	src:
		url("../fonts/IRANSansX-Regular.woff2") format("woff2"),
		url("../fonts/IRANSansX-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "IRANSansX";
	src:
		url("../fonts/IRANSansX-Bold.woff2") format("woff2"),
		url("../fonts/IRANSansX-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--trf-brand: #0e5854;
	--trf-brand-dark: #0a3f3c;
	--trf-accent: #bd6b00;
	--trf-accent-dark: #944f00;
	--trf-ink: #132422;
	--trf-muted: #5a6866;
	--trf-line: #e2e8e6;
	--trf-surface: #f3f7f6;
	--trf-white: #ffffff;
	--trf-shadow: 0 14px 40px rgba(14, 88, 84, 0.1);
	--trf-radius: 16px;
	--trf-container: 82.5rem; /* 1320px */
	--trf-header-max: 100rem; /* 1600px — room for a single-line nav */
	--trf-gutter: 1.5rem;
	--trf-header-h: 88px;
	--trf-font: "IRANSansX", "Tahoma", "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
	overflow-x: clip;
	max-width: 100%;
}

body.trf-theme {
	margin: 0;
	font-family: var(--trf-font);
	color: var(--trf-ink);
	background: var(--trf-white);
	line-height: 1.7;
	direction: rtl;
	text-align: right;
	max-width: 100%;
}

body.trf-nav-open,
body.trf-modal-open {
	overflow: hidden;
}

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

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

.trf-header ul,
.trf-footer ul,
.trf-home ul,
.trf-home ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.trf-header h1,
.trf-header h2,
.trf-header h3,
.trf-header p,
.trf-footer h1,
.trf-footer h2,
.trf-footer h3,
.trf-footer p,
.trf-home h1,
.trf-home h2,
.trf-home h3,
.trf-home p {
	margin: 0;
}

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

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

.skip-link:focus {
	position: fixed;
	inset-inline-start: 1rem;
	top: 1rem;
	z-index: 10000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	background: var(--trf-accent);
	color: var(--trf-white);
}

.trf-btn:focus-visible,
.trf-tabs__btn:focus-visible,
.trf-nav__list a:focus-visible,
.trf-nav-toggle:focus-visible,
.trf-nav__sub-toggle:focus-visible,
.trf-quote-form input:focus-visible,
.trf-quote-form textarea:focus-visible,
.trf-contact-form input:focus-visible,
.trf-contact-form textarea:focus-visible,
.trf-track__input:focus-visible,
.trf-track__submit:focus-visible,
.trf-track__thumb:focus-visible,
.trf-track-lightbox__close:focus-visible,
.trf-contact__office-phone:focus-visible,
.trf-contact__email:focus-visible,
.trf-modal__close:focus-visible,
.trf-agents__nav:focus-visible,
.trf-footer a:focus-visible,
.trf-header__phone:focus-visible,
.trf-service-card:focus-visible,
.trf-destination-card:focus-visible,
.trf-article-card a:focus-visible {
	outline: 2px solid var(--trf-accent);
	outline-offset: 2px;
}

.trf-icon {
	width: 1.2em;
	height: 1.2em;
	flex-shrink: 0;
}

.trf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.7rem 1.4rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.trf-btn--primary {
	background: var(--trf-accent);
	color: var(--trf-white);
}

.trf-btn--primary:hover {
	background: var(--trf-accent-dark);
}

.trf-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--trf-white);
}

.trf-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.trf-btn--outline {
	background: transparent;
	border-color: var(--trf-brand);
	color: var(--trf-brand);
}

.trf-btn--outline:hover {
	background: var(--trf-brand);
	color: var(--trf-white);
}

.trf-eyebrow {
	display: inline-block;
	margin-bottom: 0.65rem;
	color: var(--trf-brand);
	font-weight: 700;
	font-size: 0.86rem;
}

.trf-home .trf-eyebrow {
	margin-bottom: 0.65rem;
}

.trf-eyebrow--light {
	color: #e8c27a;
}

/* Header */
.trf-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--trf-line);
	transition: box-shadow 0.2s ease;
}

.trf-header.is-scrolled {
	box-shadow: 0 8px 24px rgba(14, 88, 84, 0.08);
}

.trf-header .trf-container {
	width: min(100% - (var(--trf-gutter) * 2), var(--trf-header-max));
}

.trf-header__inner {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.65rem;
	min-height: var(--trf-header-h);
	min-width: 0;
}

.trf-logo {
	flex-shrink: 0;
}

.trf-header .trf-nav {
	flex: 1 1 auto;
	min-width: max-content;
	display: flex;
	justify-content: center;
}

.trf-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex-shrink: 0;
	min-height: 42px;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--trf-brand);
	transition: background 0.2s ease, color 0.2s ease;
}

.trf-header__phone:hover {
	background: rgba(14, 88, 84, 0.08);
}

.trf-header__cta {
	flex-shrink: 0;
	min-height: 42px;
	padding: 0.55rem 1rem;
	font-size: 0.88rem;
}

.trf-logo img,
.trf-logo .custom-logo {
	width: 200px;
	height: auto;
}

.trf-logo--footer img,
.trf-logo--footer .custom-logo {
	width: 260px;
}

.trf-logo .custom-logo-link {
	display: inline-block;
}

.trf-nav__cta {
	display: none;
}

.trf-nav__sub-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: var(--trf-ink);
	font-size: 1.15rem;
	line-height: 1;
	flex-shrink: 0;
}

/* Clip in-place. Off-canvas `left: -9999px` expands the RTL scrollport. */
.trf-honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.trf-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 10px;
	flex-shrink: 0;
}

.trf-nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--trf-ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

	.trf-header.is-open .trf-nav-toggle__bar:nth-child(2) {
		transform: translateY(7px) rotate(45deg);
	}

	.trf-header.is-open .trf-nav-toggle__bar:nth-child(3) {
		opacity: 0;
	}

	.trf-header.is-open .trf-nav-toggle__bar:nth-child(4) {
		transform: translateY(-7px) rotate(-45deg);
	}

.trf-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.1rem;
	flex-wrap: nowrap;
	width: max-content;
}

.trf-nav__list > li {
	position: relative;
	flex: 0 0 auto;
}

.trf-nav__list > li > a {
	display: block;
	padding: 0.5rem 0.58rem;
	font-size: 0.875rem;
	font-weight: 700;
	border-radius: 8px;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.trf-nav__list > li > a:hover,
.trf-nav__list > li.current-menu-item > a {
	color: var(--trf-accent);
	background: rgba(189, 107, 0, 0.08);
}

.trf-nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 0.35rem);
	inset-inline-end: 0;
	min-width: 240px;
	padding: 0.5rem;
	background: var(--trf-white);
	border: 1px solid var(--trf-line);
	border-radius: 12px;
	box-shadow: var(--trf-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 20;
}

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

.trf-nav__list .sub-menu a {
	display: block;
	padding: 0.65rem 0.8rem;
	border-radius: 8px;
	font-size: 0.9rem;
}

.trf-nav__list .sub-menu a:hover {
	background: var(--trf-surface);
	color: var(--trf-accent);
}

/* Footer */
.trf-footer {
	background: #082826;
	color: #f2f2f2;
	padding-top: 4rem;
	margin-top: 2rem;
}

.front-page .trf-footer {
	margin-top: 0;
}

.trf-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 0.95fr) minmax(0, 1.1fr);
	gap: 2.25rem 2rem;
	padding: 0 0 3rem;
	align-items: start;
}

.trf-footer__brand p {
	max-width: 22rem;
	margin-top: 1.1rem;
	line-height: 1.85;
}

.trf-footer__col h2 {
	position: relative;
	font-size: 0.95rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.65rem;
	color: var(--trf-accent);
}

.trf-footer__col h2::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 2rem;
	height: 2px;
	border-radius: 1px;
	background: var(--trf-accent);
}

.trf-footer p,
.trf-footer li {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.92rem;
}

.trf-footer__list a {
	display: inline-flex;
	align-items: center;
	min-height: 2.15rem;
	color: rgba(255, 255, 255, 0.78);
	transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.trf-footer__list a:hover {
	color: var(--trf-accent);
	padding-inline-start: 0.25rem;
}

.trf-footer a:hover {
	color: var(--trf-accent);
}

.trf-footer__phone {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	margin-bottom: 0.85rem;
	color: var(--trf-white);
}

.trf-footer__phone:hover,
.trf-footer a.trf-footer__phone:hover {
	color: var(--trf-white);
}

.trf-footer__phone-label {
	font-size: 0.8rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.55);
}

.trf-footer__phone-num {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--trf-white);
	letter-spacing: 0.01em;
}

.trf-footer__phone:hover .trf-footer__phone-num {
	color: var(--trf-accent);
}

.trf-footer__cta {
	margin-top: 1.15rem;
	width: 100%;
	max-width: 16rem;
}

.trf-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.1rem 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55);
}

.trf-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 1.25rem;
	flex-wrap: wrap;
}

.trf-footer__bottom p {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.85rem;
}

.trf-quote-form {
	position: relative;
	display: grid;
	gap: 0.75rem;
}

.trf-quote-fields {
	display: grid;
	gap: 0.75rem;
}

.trf-quote-field {
	display: grid;
	gap: 0.35rem;
}

.trf-quote-field label {
	font-size: 0.88rem;
	font-weight: 700;
}

.trf-quote-form input,
.trf-quote-form textarea {
	width: 100%;
	border: 1px solid var(--trf-line);
	background: var(--trf-white);
	color: var(--trf-ink);
	border-radius: 10px;
	padding: 0.7rem 0.85rem;
	font-family: inherit;
	font-size: 1rem;
}

.trf-quote-form textarea {
	resize: vertical;
	min-height: 6.5rem;
}

.trf-quote-form .trf-btn {
	width: 100%;
	margin-top: 0.15rem;
}

.trf-quote-notice {
	margin: 0 0 0.75rem;
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	font-size: 0.95rem;
}

.trf-quote-notice--success {
	background: rgba(46, 160, 67, 0.12);
	color: #1b6b2a;
}

.trf-quote-notice--error {
	background: rgba(180, 40, 40, 0.12);
	color: #8a1f1f;
}

.trf-modal {
	width: min(28rem, calc(100% - 2rem));
	max-height: min(90dvh, 44rem);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--trf-ink);
	outline: none;
}

.trf-modal[open] {
	display: block;
}

.trf-modal::backdrop {
	background: rgba(18, 18, 18, 0.58);
}

.trf-modal__panel {
	position: relative;
	background: var(--trf-white);
	border-radius: 16px;
	padding: 1.6rem 1.4rem 1.4rem;
	box-shadow: var(--trf-shadow);
	max-height: min(90dvh, 44rem);
	overflow: auto;
	overscroll-behavior: contain;
}

.trf-modal__close {
	position: absolute;
	inset-inline-end: 0.55rem;
	top: 0.55rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--trf-ink);
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
}

.trf-modal__close:hover {
	background: var(--trf-surface);
}

.trf-modal__head {
	padding-inline-end: 2.25rem;
	margin-bottom: 1.1rem;
}

.trf-modal__head h2 {
	font-size: 1.25rem;
	margin: 0 0 0.4rem;
}

.trf-modal__head p {
	margin: 0;
	color: var(--trf-muted);
	font-size: 0.95rem;
}

.trf-page {
	padding: 2.5rem 0 3rem;
}

.trf-page__header {
	margin-bottom: 1.5rem;
}

.trf-page__lede {
	color: var(--trf-muted);
	margin-top: 0.4rem;
}

.trf-page__meta {
	display: block;
	margin-top: 0.4rem;
	color: var(--trf-muted);
	font-size: 0.9rem;
}

.trf-page__thumb {
	margin: 0 0 1.5rem;
	border-radius: var(--trf-radius);
	overflow: hidden;
}

.trf-page__thumb img {
	width: 100%;
	height: auto;
}

.trf-page__content > * + * {
	margin-top: 1rem;
}

.trf-page__content a {
	color: var(--trf-accent);
}

.trf-page__content h2,
.trf-page__content h3 {
	margin-top: 1.5rem;
	line-height: 1.4;
}

.trf-page__content ul,
.trf-page__content ol {
	padding-inline-start: 1.25rem;
}

.trf-page__quote {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--trf-line);
}

.trf-page__quote h2 {
	margin-bottom: 0.5rem;
}

.trf-page__quote > p {
	color: var(--trf-muted);
	margin-bottom: 1rem;
}

/* Shared closing CTA band (home + singular articles) */
.trf-cta-band {
	background: linear-gradient(135deg, #082826 0%, #0e5854 58%, #16756e 100%);
	color: var(--trf-white);
	padding: 4.25rem 0;
}

.trf-cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.trf-cta-band h2 {
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	line-height: 1.4;
	margin-bottom: 0.5rem;
	text-wrap: balance;
}

.trf-cta-band p {
	color: rgba(255, 255, 255, 0.86);
	max-width: 36rem;
}

.trf-cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	flex-shrink: 0;
}

.trf-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem;
}

.trf-archive-card {
	background: var(--trf-white);
	border-radius: var(--trf-radius);
	overflow: hidden;
	border: 1px solid var(--trf-line);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.trf-archive-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.trf-archive-card__body {
	padding: 1rem 1.1rem 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}

.trf-archive-card h2 {
	font-size: 1.05rem;
	line-height: 1.45;
}

.trf-archive-card h2 a:hover {
	color: var(--trf-accent);
}

.trf-archive-card p {
	color: var(--trf-muted);
	font-size: 0.9rem;
}

.trf-pagination {
	margin-top: 2rem;
}

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

.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.55rem;
	border-radius: 8px;
	border: 1px solid var(--trf-line);
	font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links .current {
	background: var(--trf-accent);
	border-color: var(--trf-accent);
	color: var(--trf-white);
}

@media (max-width: 84.99rem) {
	.trf-nav-toggle {
		display: inline-flex;
	}

	.trf-header .trf-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		bottom: auto;
		flex: none;
		display: block;
		width: 100%;
		min-width: 0;
		background: var(--trf-white);
		border-bottom: 1px solid var(--trf-line);
		padding: 0.85rem var(--trf-gutter) 1.5rem;
		transform: translateY(-0.5rem);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		max-height: calc(100dvh - var(--trf-header-h));
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
		z-index: 20;
	}

	.trf-header.is-open .trf-nav {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.trf-nav__list {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		flex-wrap: nowrap;
		width: auto;
	}

	.trf-nav__list > li > a {
		padding: 0.75rem 0.85rem;
		white-space: normal;
	}

	.trf-nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0.15rem 0.75rem 0.5rem;
		display: none;
		min-width: 0;
	}

	.trf-nav__list .menu-item-has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.trf-nav__list .menu-item-has-children > a {
		flex: 1;
	}

	.trf-nav__list .menu-item-has-children > .sub-menu {
		flex-basis: 100%;
	}

	.trf-nav__list .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.trf-nav__sub-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.trf-header.is-open .trf-nav__sub-toggle[aria-expanded="true"] {
		transform: rotate(180deg);
	}

	.trf-header__cta {
		display: none;
	}

	.trf-header__phone {
		margin-inline-start: auto;
	}

	.trf-nav__cta {
		display: inline-flex;
		width: 100%;
		margin-top: 0.85rem;
	}

	.trf-logo img,
	.trf-logo .custom-logo {
		width: 164px;
	}

	.trf-logo--footer img,
	.trf-logo--footer .custom-logo {
		width: 220px;
	}
}

@media (max-width: 980px) {
	.trf-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.trf-footer__brand {
		grid-column: 1 / -1;
	}

	.trf-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.trf-cta-band__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.trf-cta-band__actions .trf-btn {
		flex: 1;
	}
}

@media (max-width: 640px) {
	.trf-footer__grid {
		grid-template-columns: 1fr;
	}

	.trf-footer__cta {
		max-width: none;
	}

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

	.trf-archive-grid {
		grid-template-columns: 1fr;
	}

	.trf-modal {
		width: 100%;
		max-width: 100%;
		margin: auto 0 0;
		max-height: min(92dvh, 100%);
	}

	.trf-modal__panel {
		border-radius: 16px 16px 0 0;
		max-height: min(92dvh, 100%);
	}

	.trf-header__phone-num {
		display: none;
	}

	.trf-header__phone {
		width: 44px;
		height: 44px;
		min-height: 44px;
		padding: 0;
		justify-content: center;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
