/* =========================================================
   TrueFlow Drainage — design tokens
   ========================================================= */
:root {
	--tf-navy: #0b3a91;
	--tf-blue: #1d5fd6;
	--tf-cyan: #29b6e8;
	--tf-ink: #0b1b33;
	--tf-slate: #55637a;
	--tf-paper: #f5f9fd;
	--tf-white: #ffffff;
	--tf-line: #e2e9f4;

	--tf-font-head: 'Poppins', sans-serif;
	--tf-font-body: 'Manrope', sans-serif;

	--tf-radius: 14px;
	--tf-container: 1180px;
	--tf-shadow: 0 18px 40px -20px rgba(11, 58, 145, 0.35);
}

/* =========================================================
   Reset-ish basics
   ========================================================= */
* { box-sizing: border-box; }

body.trueflow-child,
body {
	font-family: var(--tf-font-body);
	color: var(--tf-ink);
	background: var(--tf-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--tf-font-head);
	color: var(--tf-navy);
	line-height: 1.15;
	margin: 0 0 0.5em;
	font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--tf-slate); max-width: 62ch; }

a { color: var(--tf-blue); text-decoration: none; }

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

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

.tf-container {
	max-width: var(--tf-container);
	margin: 0 auto;
	padding: 0 24px;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--tf-cyan);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}

/* =========================================================
   Buttons
   ========================================================= */
.tf-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.98rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.tf-btn:hover { transform: translateY(-1px); }

.tf-btn--primary {
	background: linear-gradient(120deg, var(--tf-navy), var(--tf-blue) 60%, var(--tf-cyan));
	color: var(--tf-white);
	box-shadow: var(--tf-shadow);
}
.tf-btn--primary:hover { box-shadow: 0 22px 44px -18px rgba(11, 58, 145, 0.45); }

.tf-btn--outline {
	border-color: var(--tf-navy);
	color: var(--tf-navy);
	background: transparent;
}
.tf-btn--outline:hover { background: var(--tf-paper); }

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

.tf-btn--call { background: var(--tf-cyan); color: var(--tf-ink); }

.tf-btn__icon svg { width: 16px; height: 16px; }

/* =========================================================
   Topbar + Header
   ========================================================= */
.tf-topbar {
	background: var(--tf-ink);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.85rem;
}
.tf-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 24px;
	gap: 12px;
	flex-wrap: wrap;
}
.tf-topbar a { color: #fff; }
.tf-topbar__sep { margin: 0 8px; opacity: 0.5; }

.tf-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--tf-line);
}
.tf-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 14px 24px;
}
.tf-logo img { height: 52px; width: auto; }

.tf-nav { margin-left: auto; }
.primary-menu,
.mobile-menu {
	display: flex;
	gap: 26px;
}
.primary-menu a,
.mobile-menu a {
	color: var(--tf-ink);
	font-weight: 600;
	font-size: 0.98rem;
}
.primary-menu a:hover,
.mobile-menu a:hover { color: var(--tf-blue); }

.tf-header__cta { display: inline-flex; }

.tf-nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
}
.tf-nav__toggle span {
	display: block;
	height: 2px;
	background: var(--tf-ink);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.tf-mobile-menu {
	display: none;
	flex-direction: column;
	gap: 16px;
	padding: 18px 24px 24px;
	border-top: 1px solid var(--tf-line);
}
.tf-mobile-menu.is-open { display: flex; }
.tf-mobile-menu a { font-weight: 600; }
.tf-mobile-menu .tf-btn { align-self: flex-start; }

@media (max-width: 860px) {
	.tf-nav, .tf-header__cta { display: none; }
	.tf-nav__toggle { display: flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.tf-hero {
	position: relative;
	background-image: linear-gradient(100deg, rgba(6,20,48,0.82) 0%, rgba(11,58,145,0.62) 45%, rgba(11,58,145,0.2) 78%), url('../images/hero-bg.jpg');
	background-size: cover;
	background-position: center;
	padding: 100px 0 130px;
	overflow: hidden;
}
.tf-hero__inner {
	display: block;
	max-width: 640px;
}
.tf-hero h1 { color: var(--tf-white); }
.tf-hero__kicker {
	text-transform: none;
	color: var(--tf-cyan);
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 10px;
}
.tf-hero__lead { max-width: 46ch; font-size: 1.08rem; color: rgba(255, 255, 255, 0.88); }
.tf-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 24px; }
.tf-hero__points {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	font-weight: 600;
	color: var(--tf-white);
	font-size: 0.92rem;
}
.tf-hero__points li { display: flex; align-items: center; gap: 8px; }
.tf-hero__points li::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tf-cyan);
	flex: none;
}
.tf-hero .tf-btn--outline { border-color: rgba(255, 255, 255, 0.75); color: var(--tf-white); }
.tf-hero .tf-btn--outline:hover { background: rgba(255, 255, 255, 0.14); }

.tf-wave-divider {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	width: 100%;
	height: 60px;
}
.tf-wave-divider path { fill: var(--tf-white); }

@media (max-width: 900px) {
	.tf-hero { padding: 80px 0 100px; }
	.tf-hero__inner { max-width: 100%; }
}

/* =========================================================
   Section head + generic sections
   ========================================================= */
.tf-section { padding: 84px 0; }
.tf-section--tint { background: var(--tf-paper); }
.tf-section-head { max-width: 60ch; margin-bottom: 42px; }
.tf-section-head p { margin: 0; }

/* =========================================================
   Services strip (home page cards)
   ========================================================= */
.tf-services-strip { padding: 90px 0 100px; }

.tf-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.tf-service-card {
	display: block;
	background: var(--tf-white);
	border: 1px solid var(--tf-line);
	border-radius: var(--tf-radius);
	padding: 0 0 26px;
	position: relative;
	overflow: hidden;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.tf-service-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--tf-navy), var(--tf-cyan));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
	z-index: 1;
}
.tf-service-card:hover { border-color: transparent; box-shadow: var(--tf-shadow); }
.tf-service-card:hover::before { transform: scaleX(1); }

.tf-service-card__image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 18px;
}
.tf-service-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.tf-service-card:hover .tf-service-card__image img { transform: scale(1.05); }
.tf-service-card h3 { margin: 0 26px 8px; }
.tf-service-card p { margin: 0 26px; font-size: 0.95rem; }

.tf-service-card--all {
	background: linear-gradient(135deg, var(--tf-navy), var(--tf-blue));
	color: var(--tf-white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px 26px;
}
.tf-service-card--all h3 { color: var(--tf-white); margin-left: 0; margin-right: 0; }
.tf-service-card--all p { color: rgba(255, 255, 255, 0.85); margin-left: 0; margin-right: 0; }
.tf-service-card--all::before { display: none; }
.tf-service-card__link { font-weight: 700; color: var(--tf-white); }

@media (max-width: 900px) {
	.tf-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.tf-card-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   About teaser (home)
   ========================================================= */
.tf-about-teaser { padding: 40px 0 100px; }
.tf-about-teaser__inner {
	display: grid;
	grid-template-columns: 0.4fr 1fr;
	gap: 44px;
	align-items: center;
}
.tf-flow-icon { width: 100%; height: auto; color: var(--tf-cyan); }
.tf-link-arrow { font-weight: 700; color: var(--tf-navy); }

@media (max-width: 780px) {
	.tf-about-teaser__inner { grid-template-columns: 1fr; }
	.tf-about-teaser__art { max-width: 140px; }
}

/* =========================================================
   CTA band
   ========================================================= */
.tf-cta-band {
	background: linear-gradient(120deg, var(--tf-navy), var(--tf-blue) 65%, var(--tf-cyan));
	padding: 56px 0;
}
.tf-cta-band__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.tf-cta-band h2 { color: var(--tf-white); margin-bottom: 6px; }
.tf-cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.tf-cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tf-cta-band--section { margin-top: 20px; }

/* =========================================================
   Footer
   ========================================================= */
.tf-footer { background: var(--tf-ink); color: rgba(255, 255, 255, 0.75); padding: 48px 0 0; }
.tf-footer__inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.tf-footer__brand { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tf-footer__logo { width: 190px; height: auto; }
.tf-footer__links, .tf-footer__contact { display: flex; flex-direction: column; gap: 10px; }
.tf-footer a { color: rgba(255, 255, 255, 0.75); }
.tf-footer a:hover { color: var(--tf-white); }
.tf-footer__bottom { padding: 18px 0; font-size: 0.85rem; }
.tf-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.tf-footer__bottom-inner a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; text-underline-offset: 2px; }
.tf-footer__bottom-inner a:hover { color: var(--tf-white); }

@media (max-width: 780px) {
	.tf-footer__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   Page hero (About / Services / Contact)
   ========================================================= */
.tf-page-hero {
	position: relative;
	background: linear-gradient(160deg, var(--tf-navy), var(--tf-blue));
	color: var(--tf-white);
	padding: 90px 0 96px;
}
.tf-page-hero h1 { color: var(--tf-white); max-width: 22ch; }
.tf-page-hero .tf-hero__lead { color: rgba(255, 255, 255, 0.85); }
.tf-page-hero .tf-hero__kicker { color: var(--tf-cyan); }
.tf-page-hero .tf-wave-divider path { fill: var(--tf-white); }

/* =========================================================
   About page
   ========================================================= */
.tf-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.tf-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tf-value-card {
	background: var(--tf-paper);
	border-radius: var(--tf-radius);
	padding: 22px;
	border: 1px solid var(--tf-line);
}
.tf-value-card h3 { margin-bottom: 6px; font-size: 1.02rem; }
.tf-value-card p { margin: 0; font-size: 0.92rem; }

.tf-process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 8px;
}
.tf-process-step {
	background: var(--tf-white);
	border: 1px solid var(--tf-line);
	border-radius: var(--tf-radius);
	padding: 24px;
}
.tf-process-step h3 { font-size: 1.02rem; }
.tf-process-step p { margin: 0; font-size: 0.92rem; }

@media (max-width: 900px) {
	.tf-two-col { grid-template-columns: 1fr; }
	.tf-process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.tf-values-grid, .tf-process-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Services page — 2 column image grid
   ========================================================= */
.tf-services-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
.tf-service-tile {
	background: var(--tf-white);
	border: 1px solid var(--tf-line);
	border-radius: var(--tf-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.tf-service-tile img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.tf-service-tile__body { padding: 26px 28px 30px; }
.tf-service-tile__body h2 { font-size: 1.3rem; margin-bottom: 10px; }
.tf-service-tile__body p { font-size: 0.96rem; }

.tf-service-tile--wide { grid-column: 1 / -1; }
.tf-service-tile--wide { flex-direction: row; }
.tf-service-tile--wide img { width: 42%; aspect-ratio: auto; object-fit: cover; }
.tf-service-tile--wide .tf-service-tile__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.tf-check-list--row { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
.tf-check-list--row li { flex: 1 1 260px; }

.tf-check-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.tf-check-list li {
	position: relative;
	padding-left: 26px;
	color: var(--tf-ink);
	font-size: 0.94rem;
}
.tf-check-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--tf-cyan);
}

@media (max-width: 860px) {
	.tf-services-columns { grid-template-columns: 1fr; }
	.tf-service-tile--wide { flex-direction: column; }
	.tf-service-tile--wide img { width: 100%; aspect-ratio: 16 / 10; }
}

/* =========================================================
   Contact page
   ========================================================= */
.tf-contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 48px;
}
.tf-contact-details { display: flex; flex-direction: column; gap: 18px; }
.tf-contact-line {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px;
	border-radius: var(--tf-radius);
	border: 1px solid var(--tf-line);
	color: var(--tf-ink);
	font-weight: 600;
}
.tf-contact-line strong { display: block; font-size: 0.82rem; color: var(--tf-slate); font-weight: 600; }
.tf-contact-line:hover { border-color: var(--tf-blue); }
.tf-contact-line--static:hover { border-color: var(--tf-line); }
.tf-contact-line__icon {
	width: 26px;
	height: 26px;
	color: var(--tf-blue);
	flex: none;
}
.tf-contact-line__icon svg { width: 100%; height: 100%; }

.tf-form { display: flex; flex-direction: column; gap: 6px; }
.tf-form label { font-weight: 600; font-size: 0.88rem; margin-top: 12px; }
.tf-form input,
.tf-form textarea {
	font-family: inherit;
	font-size: 0.98rem;
	padding: 12px 14px;
	border: 1px solid var(--tf-line);
	border-radius: 10px;
	background: var(--tf-paper);
	color: var(--tf-ink);
}
.tf-form input:focus,
.tf-form textarea:focus {
	outline: none;
	border-color: var(--tf-blue);
	background: var(--tf-white);
}
.tf-form button { margin-top: 20px; align-self: flex-start; }

.tf-form-notice { padding: 16px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.92rem; }
.tf-form-notice--success { background: #e6f8ee; color: #14663f; }
.tf-form-notice--error { background: #fdecec; color: #9c2b2b; }
.tf-form-notice--error ul { list-style: disc; padding-left: 20px; }

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

/* =========================================================
   Coming Soon (standalone template)
   ========================================================= */
.tf-coming-soon {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, var(--tf-navy) 0%, var(--tf-blue) 55%, var(--tf-cyan) 130%);
	overflow: hidden;
	padding: 40px 24px;
}
.tf-coming-soon__waves { position: absolute; inset: 0; opacity: 0.35; }
.tf-coming-soon__wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; }
.tf-coming-soon__wave path { fill: rgba(255, 255, 255, 0.18); }
.tf-coming-soon__wave--1 { animation: tf-wave-drift 14s ease-in-out infinite; }
.tf-coming-soon__wave--2 { opacity: 0.7; animation: tf-wave-drift 18s ease-in-out infinite reverse; }

@keyframes tf-wave-drift {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(-4%); }
}

.tf-coming-soon__content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 560px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 52px 40px;
}
.tf-coming-soon__logo { width: 140px; margin: 0 auto 26px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25)); }
.tf-coming-soon__content h1 { color: var(--tf-white); font-size: clamp(1.7rem, 4vw, 2.4rem); }
.tf-coming-soon__content p { color: rgba(255, 255, 255, 0.85); margin: 0 auto 30px; }
.tf-coming-soon__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.tf-coming-soon .tf-btn--outline { border-color: rgba(255,255,255,0.7); color: var(--tf-white); }
.tf-coming-soon .tf-btn--outline:hover { background: rgba(255,255,255,0.12); }
.tf-coming-soon__area { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; margin: 0; }

@media (max-width: 560px) {
	.tf-coming-soon__content { padding: 40px 24px; }
}
