/*
Theme Name: Cyprus Termites
Theme URI: https://cyprus-termites.com/
Author: Atom Group
Description: Animated one-page theme for ATOM Termite Control (cyprus-termites.com). Built-in English, Greek, Russian and Hebrew (RTL) versions at /, /el/, /ru/ and /he/, self-hosted fonts, contact form, Customizer contact settings and redirects from the old static pages.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyprus-termites
*/

/* ---------------------------------------------------------------- Fonts */
@font-face {
	font-family: "CT Sans";
	src: url("assets/fonts/opensans-var.woff") format("woff");
	font-weight: 300 800;
	font-stretch: 75% 100%;
	font-display: swap;
}
@font-face {
	font-family: "CT Display";
	src: url("assets/fonts/montserrat-var.woff") format("woff");
	font-weight: 100 900;
	font-display: swap;
}

/* ---------------------------------------------------------------- Tokens */
:root {
	--bg: #120d09;
	--bg2: #19120c;
	--panel: #211810;
	--panel2: #2a1f15;
	--cream: #f4ead9;
	--muted: #b9a68d;
	--amber: #f6b649;
	--amber2: #e08a24;
	--red: #d9442b;
	--line: rgba(244, 234, 217, .12);
	--radius: 22px;
	--wrap: 1200px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--font: "CT Sans", "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--display: "CT Display", "CT Sans", system-ui, sans-serif;
}
.lang-he { --display: "CT Sans", system-ui, sans-serif; }

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--cream);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
html { overflow-x: clip; }
body { overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: #ffd07a; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; background: var(--amber); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; }
.h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--amber); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 62ch; }
.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- Buttons */
.btn {
	--bx: 0px; --by: 0px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px; border: 0;
	font: 700 16px/1 var(--font); cursor: pointer; white-space: nowrap;
	transform: translate(var(--bx), var(--by));
	transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
	position: relative; overflow: hidden; isolation: isolate;
}
.btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-amber { background: linear-gradient(135deg, var(--amber), var(--amber2)); color: #1a1007; box-shadow: 0 10px 30px -10px rgba(246,182,73,.6); }
.btn-amber:hover { color: #1a1007; box-shadow: 0 16px 40px -10px rgba(246,182,73,.8); }
.btn-ghost { background: rgba(244,234,217,.08); color: var(--cream); border: 1px solid rgba(244,234,217,.3); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(244,234,217,.16); color: #fff; }
.btn-dark { background: var(--bg); color: var(--amber); }
.btn-dark:hover { color: #ffd07a; }
.is-rtl .ico-arrow { transform: scaleX(-1); }

/* ---------------------------------------------------------------- Progress + cursor */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--amber2), var(--amber)); transform: scaleX(var(--p, 0)); transform-origin: left; }
.is-rtl .progress span { transform-origin: right; }
.cursor-glow {
	position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
	border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
	background: radial-gradient(circle, rgba(246,182,73,.10), transparent 60%);
	transform: translate(var(--cx, -999px), var(--cy, -999px));
	transition: opacity .4s;
}
.has-pointer .cursor-glow { opacity: 1; }

/* ---------------------------------------------------------------- Header */
.site-header {
	position: fixed; inset-inline: 0; top: 0; z-index: 100;
	padding-block: 18px; transition: padding .35s var(--ease), background .35s, box-shadow .35s;
}
.site-header.scrolled { padding-block: 10px; background: rgba(18,13,9,.82); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); margin-inline-end: auto; }
.brand:hover { color: var(--cream); }
.brand-img { max-height: 52px; width: auto; }
.logo-mark { width: 40px; height: 46px; transition: transform .6s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-bug { transform-origin: 24px 28px; animation: bugWiggle 5s ease-in-out infinite; }
@keyframes bugWiggle { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-8deg); } }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-top { font-family: "CT Display", var(--font); font-weight: 800; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.logo-top b { color: var(--amber); }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: .08em; }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; color: var(--cream); font-size: 15px; font-weight: 600; border-radius: 999px; position: relative; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font: 700 13px var(--font); cursor: pointer; }
.lang-btn:hover { border-color: var(--amber); }
.lang-menu {
	position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 160px; list-style: none; margin: 0; padding: 8px;
	background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px -15px #000;
	opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease);
}
.lang-switch.open .lang-menu, .lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--cream); font-weight: 600; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: rgba(246,182,73,.14); color: var(--amber); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--cream); transition: .3s var(--ease); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-block: 140px 120px; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 30% 50%; }
.is-rtl .hero-media img { transform-origin: 70% 50%; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.18) translate(-2%, 1%); } }
.hero-shade {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(520px circle at var(--mx, 30%) var(--my, 45%), rgba(18,13,9,0) 0%, rgba(18,13,9,.55) 45%, rgba(18,13,9,.88) 75%),
		linear-gradient(180deg, rgba(18,13,9,.2) 0%, rgba(18,13,9,.1) 60%, var(--bg) 100%);
	transition: background .1s;
}
.termite-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.grain {
	position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .08;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); } }
.hero-content { position: relative; max-width: var(--wrap); }
.hero-content > * { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgba(246,182,73,.35); border-radius: 999px; background: rgba(18,13,9,.45); backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 26px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(246,182,73,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(246,182,73,0); } 100% { box-shadow: 0 0 0 0 rgba(246,182,73,0); } }
.hero-title { font-size: clamp(40px, 7vw, 92px); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; margin-bottom: 26px; text-shadow: 0 4px 40px rgba(0,0,0,.5); }
.lang-ru .hero-title, .lang-el .hero-title { font-size: clamp(36px, 6vw, 80px); }
.hero-title em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--amber) 0%, #ffd98f 40%, var(--amber2) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-sub { font-size: clamp(17px, 1.5vw, 21px); color: #e2d5c1; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-block: 34px 30px; }
.hero-badge { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--cream); }
.badge-ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--amber); border: 1px dashed rgba(246,182,73,.6); animation: spin 18s linear infinite; }
.badge-ring .ico { animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* split word animation */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; }
.js .split-words .w > span { transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js .split-words.in .w > span { transform: none; opacity: 1; }

.scroll-cue { position: absolute; bottom: 86px; inset-inline-end: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue i { width: 24px; height: 40px; border: 2px solid rgba(244,234,217,.4); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.marquee { position: absolute; inset-inline: 0; bottom: 0; padding-block: 16px; border-top: 1px solid var(--line); background: rgba(18,13,9,.6); backdrop-filter: blur(8px); overflow: hidden; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.marquee-track b { color: var(--amber); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
.is-rtl .marquee-track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ---------------------------------------------------------------- Reveal */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Split layouts */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-rev .split-text { order: 2; }
.split-media { position: relative; }
.split > *, .prev-grid > *, .faq-wrap > *, .cards-4 > *, .cred-grid > * { min-width: 0; }

/* Dangers */
.dangers { background: radial-gradient(900px 500px at 90% 10%, rgba(246,182,73,.07), transparent 60%); }
.danger-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.danger-list li { display: flex; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); transition: border-color .3s, transform .4s var(--ease); }
.danger-list li:hover { border-color: rgba(246,182,73,.45); transform: translateX(6px); }
.is-rtl .danger-list li:hover { transform: translateX(-6px); }
.danger-list h3 { font-size: 19px; margin-bottom: 4px; }
.danger-list p { margin: 0; color: var(--muted); font-size: 16px; }
.danger-ico { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; color: var(--amber); background: rgba(246,182,73,.1); }
.danger-ico .ico { width: 26px; height: 26px; }

.wipe-img { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.js .wipe-img { clip-path: inset(0 100% 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease); box-shadow: 0 40px 80px -30px #000; }
.js .is-rtl .wipe-img { clip-path: inset(0 0 0 100% round var(--radius)); }
.js .wipe-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.wipe-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transform: scale(1.15); transition: transform 2s var(--ease); }
.wipe-img.in img { transform: scale(1); }
.scan-line { position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--amber), transparent); box-shadow: 0 0 20px 4px rgba(246,182,73,.5); animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 4%; } 50% { top: 96%; } }
.float-quote { position: absolute; bottom: -28px; inset-inline-start: -28px; max-width: 320px; margin: 0; padding: 22px 24px 22px 26px; border-radius: 18px; background: var(--amber); color: #1a1007; font: 800 19px/1.3 var(--display); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); animation: bob 6s ease-in-out infinite; }
.float-quote span { font-size: 54px; line-height: 0; vertical-align: -18px; margin-inline-end: 6px; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------------------------------------------------------------- Stats */
.stats { border-block: 1px solid var(--line); background: var(--bg2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat-num { display: block; font: 900 clamp(44px, 5vw, 68px)/1 var(--display); color: var(--amber); }
.stat-num small { font-size: .45em; margin-inline-start: 4px; color: var(--cream); }
.stat-label { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- Cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.glow-card { --gx: 50%; --gy: 50%; position: relative; isolation: isolate; }
.glow-card::before {
	content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
	background: radial-gradient(300px circle at var(--gx) var(--gy), rgba(246,182,73,.9), transparent 45%), var(--line);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.svc-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg2)); color: var(--cream); min-height: 360px; overflow: hidden; }
.svc-card:hover { color: var(--cream); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(400px circle at var(--gx) var(--gy), rgba(246,182,73,.10), transparent 50%); opacity: 0; transition: opacity .3s; }
.svc-card:hover::after { opacity: 1; }
.svc-num { position: absolute; top: 18px; inset-inline-end: 22px; font: 900 54px/1 var(--display); color: rgba(244,234,217,.06); }
.svc-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; color: #1a1007; background: linear-gradient(135deg, var(--amber), var(--amber2)); margin-bottom: 12px; transform: translateZ(30px); transition: transform .5s var(--ease); }
.svc-card:hover .svc-ico { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.svc-ico .ico { width: 30px; height: 30px; }
.svc-card h3 { font-size: 21px; transform: translateZ(20px); }
.svc-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 700; font-size: 15px; }
.svc-more .ico { transition: transform .3s var(--ease); }
.svc-card:hover .svc-more .ico { transform: translateX(5px); }
.is-rtl .svc-more .ico { transform: scaleX(-1); }
.is-rtl .svc-card:hover .svc-more .ico { transform: scaleX(-1) translateX(5px); }

/* ---------------------------------------------------------------- Prevention */
.prevention { background: linear-gradient(180deg, var(--bg) 0%, #1a120b 100%); }
.prev-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.prev-visual { position: sticky; top: 110px; }
.illus { direction: ltr; width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -30px #000; }
.prev-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(246,182,73,.35); background: rgba(246,182,73,.08); font-weight: 700; font-size: 15px; }
.chip .ico { color: var(--amber); }

.timeline { --p: 0; list-style: none; margin: 24px 0 22px; padding: 0; position: relative; display: grid; gap: 26px; }
.timeline::before, .timeline::after { content: ""; position: absolute; inset-inline-start: 25px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline::after { background: linear-gradient(var(--amber), var(--amber2)); transform: scaleY(var(--p)); transform-origin: top; box-shadow: 0 0 12px rgba(246,182,73,.6); }
.timeline li { display: flex; gap: 20px; position: relative; z-index: 1; }
.tl-dot { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 2px solid var(--line); color: var(--muted); transition: .5s var(--ease); }
.timeline li.lit .tl-dot { background: var(--amber); border-color: var(--amber); color: #1a1007; box-shadow: 0 0 0 6px rgba(246,182,73,.15); }
.timeline h4 { font-size: 18px; margin: 10px 0 4px; }
.timeline p { color: var(--muted); font-size: 15.5px; margin: 0; }
.note { font-size: 14px; color: var(--muted); border-inline-start: 3px solid var(--amber); padding-inline-start: 14px; margin-bottom: 26px; }

/* prevention illustration animation */
.js .illus-prev .rod { stroke-dasharray: 100; stroke-dashoffset: 100; }
.js .illus-prev .ip-drops circle { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.js .illus-prev .ip-barrier, .js .illus-prev .ip-barrier-edge { opacity: 0; }
.in .illus-prev .rod { animation: rodDown 1s var(--ease) forwards; animation-delay: calc(var(--i) * .25s + .3s); }
.in .illus-prev .ip-drops circle { animation: drop 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * .25s + 1.2s); }
.in .illus-prev .ip-barrier { animation: fadeIn 1.6s ease forwards 2.8s, barrierGlow 3s ease-in-out infinite 4.4s; }
.in .illus-prev .ip-barrier-edge { animation: fadeIn 1s ease forwards 3s, dash 2s linear infinite; }
@keyframes rodDown { to { stroke-dashoffset: 0; } }
@keyframes drop { 0% { opacity: 0; transform: scale(0); } 50% { opacity: .9; transform: scale(2.4); } 100% { opacity: .55; transform: scale(1.4); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes barrierGlow { 50% { opacity: .65; } }
@keyframes dash { to { stroke-dashoffset: -24; } }
.ip-sun { animation: sunPulse 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sunPulse { 50% { transform: scale(1.12); opacity: .7; } }
.ip-t { animation: crawl1 9s ease-in-out infinite; }
.ip-t.t1 { transform: translate(40px, 420px); animation-name: crawl1; }
.ip-t.t2 { transform: translate(560px, 410px); animation-name: crawl2; animation-duration: 11s; }
.ip-t.t3 { transform: translate(300px, 430px); animation-name: crawl3; animation-duration: 8s; }
@keyframes crawl1 { 0% { transform: translate(40px, 420px) rotate(-40deg); } 45% { transform: translate(150px, 372px) rotate(-30deg); } 55% { transform: translate(150px, 372px) rotate(150deg); } 100% { transform: translate(40px, 420px) rotate(150deg); } }
@keyframes crawl2 { 0% { transform: translate(560px, 410px) rotate(220deg); } 45% { transform: translate(450px, 372px) rotate(210deg); } 55% { transform: translate(450px, 372px) rotate(30deg); } 100% { transform: translate(560px, 410px) rotate(30deg); } }
@keyframes crawl3 { 0% { transform: translate(300px, 432px) rotate(-90deg); } 45% { transform: translate(300px, 385px) rotate(-90deg); } 55% { transform: translate(300px, 385px) rotate(90deg); } 100% { transform: translate(300px, 432px) rotate(90deg); } }

/* ---------------------------------------------------------------- Treatment */
.treatment { background: radial-gradient(800px 600px at 10% 50%, rgba(217,68,43,.08), transparent 60%), #1a120b; }
.treat-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.treat-point { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s; }
.treat-point:hover { border-color: rgba(246,182,73,.45); background: rgba(246,182,73,.04); }
.tp-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--amber); background: rgba(246,182,73,.1); margin-bottom: 12px; }
.treat-point h3 { font-size: 18px; margin-bottom: 6px; }
.treat-point p { font-size: 15px; color: var(--muted); margin: 0; }
.colony { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #3a2716 0%, #24180e 60%, #170f09 100%); box-shadow: inset 0 0 80px rgba(0,0,0,.8), 0 40px 80px -30px #000; overflow: hidden; }
.colony::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(246,182,73,.2); animation: spin 60s linear infinite; }
.colony-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.colony-ui { position: absolute; inset-inline: 0; bottom: 9%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 13px; font-weight: 600; padding-inline: 12%; }
.legend { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(18,13,9,.75); }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-a { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.lg-b { background: var(--red); }
.colony-pct { color: var(--amber); min-width: 3.2ch; display: inline-block; }
.colony-replay { background: rgba(246,182,73,.15); color: var(--amber); border: 1px solid rgba(246,182,73,.4); border-radius: 999px; padding: 6px 14px; font: 700 13px var(--font); cursor: pointer; }
.colony-replay:hover { background: rgba(246,182,73,.3); }

/* ---------------------------------------------------------------- Inspections */
.inspections { background: var(--bg); }
.list-title { font-weight: 700; margin-top: 24px; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.check-list .ico { color: #1a1007; background: var(--amber); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.ii-sweep { animation: sweep 5s ease-in-out infinite alternate; transform-box: view-box; }
@keyframes sweep { from { transform: translate(470px, 300px) rotate(-28deg); } to { transform: translate(470px, 300px) rotate(22deg); } }
.in .ii-galleries path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: rodDown 3s var(--ease) forwards 1s; }
.in .ii-galleries { opacity: .55 !important; }
.js .ii-blips > g { opacity: 0; }
.in .ii-blips > g { animation: fadeIn .4s ease forwards; }
.in .ii-blips > g:nth-child(1) { animation-delay: 2s; }
.in .ii-blips > g:nth-child(2) { animation-delay: 2.8s; }
.in .ii-blips > g:nth-child(3) { animation-delay: 3.4s; }
.ii-blips .ring { animation: ring 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.ii-wave { stroke-dasharray: 80; animation: dash2 1.6s linear infinite; }
@keyframes dash2 { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
.ii-led { animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ii-device { animation: devFloat 4s ease-in-out infinite; }
@keyframes devFloat { 0%, 100% { transform: translate(440px, 250px); } 50% { transform: translate(440px, 238px); } }

/* ---------------------------------------------------------------- Woodworm */
.woodworm { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }
.ww-card { border-radius: var(--radius); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.ww-art { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.ww-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--panel)); }
.beetle-svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ww-card:hover .beetle-svg { transform: scale(1.06); }
.beetle-svg .holes circle { transform-box: fill-box; transform-origin: center; }
.js .beetle-svg .holes circle { transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(var(--h) * 30ms); }
.js .ww-card.in .beetle-svg .holes circle { transform: scale(1); }
.beetle { animation: beetleWalk 7s ease-in-out infinite; }
.ww-2 .beetle { animation-duration: 9s; }
.ww-3 .beetle { animation-duration: 6s; }
.ww-4 .beetle { animation-duration: 8s; }
@keyframes beetleWalk { 0%, 100% { transform: translate(120px, 78px) rotate(0); } 30% { transform: translate(128px, 70px) rotate(14deg); } 60% { transform: translate(112px, 74px) rotate(-12deg); } }
.beetle .legs { animation: legs .3s linear infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes legs { to { transform: scaleY(.88); } }
.ww-card h3 { font-size: 20px; padding: 6px 24px 0; margin-bottom: 2px; }
.ww-tag { padding-inline: 24px; color: var(--amber); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.ww-card p:last-child { padding: 0 24px 26px; color: var(--muted); font-size: 15px; margin: 0; }

/* ---------------------------------------------------------------- Credentials */
.creds { background: var(--bg2); border-block: 1px solid var(--line); }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cred { text-align: center; padding: 30px 22px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.cred:hover { transform: translateY(-8px); border-color: rgba(246,182,73,.4); }
.cred-ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--amber); background: radial-gradient(circle, rgba(246,182,73,.2), rgba(246,182,73,.04)); border: 1px solid rgba(246,182,73,.35); }
.cred-ico .ico { width: 32px; height: 32px; }
.cred:hover .cred-ico { animation: wobble .8s var(--ease); }
@keyframes wobble { 30% { transform: rotate(-12deg) scale(1.08); } 60% { transform: rotate(8deg); } }
.cred h3 { font-size: 18px; }
.cred p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------------------------------------------------------------- FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: border-color .3s; overflow: hidden; }
.faq-item[open] { border-color: rgba(246,182,73,.45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font: 700 18px/1.35 var(--display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(246,182,73,.12); color: var(--amber); transition: transform .4s var(--ease), background .3s; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--amber); color: #1a1007; }
.faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq-body p { margin: 0; }
.faq-item[open] .faq-body { animation: faqOpen .45s var(--ease); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--amber) 0%, var(--amber2) 100%); color: #1a1007; padding-block: clamp(70px, 9vw, 110px); text-align: center; }
.cta-band .trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-band .trail path { fill: none; stroke: rgba(26,16,7,.25); stroke-width: 3; stroke-dasharray: 2 14; stroke-linecap: round; animation: dash 1.5s linear infinite; }
.cta-inner { position: relative; max-width: 860px; }
.cta-band .h2 { color: #1a1007; }
.cta-band p { font-size: 19px; font-weight: 600; }
.cta-band .btn { margin-top: 10px; }

/* ---------------------------------------------------------------- Contact */
.contact { background: radial-gradient(800px 500px at 80% 30%, rgba(246,182,73,.07), transparent 60%), var(--bg); }
.contact-split { align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; background: var(--panel); color: var(--cream); transition: transform .4s var(--ease); }
.contact-card:hover { transform: translateY(-4px); color: var(--cream); }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card strong { font: 800 22px/1.2 var(--display); overflow-wrap: anywhere; }
.contact-card > span:last-child { min-width: 0; }
@media (max-width: 640px) { .contact-card strong { font-size: 18px; } }
.is-rtl .contact-card strong { text-align: end; }
.cc-ico { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--amber), var(--amber2)); color: #1a1007; }
.cc-ico .ico { width: 24px; height: 24px; }

.enquiry { padding: clamp(24px, 3vw, 38px); border-radius: var(--radius); background: var(--panel); display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select {
	width: 100%; padding: 26px 16px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2);
	color: var(--cream); font: 16px/1.4 var(--font); transition: border-color .3s, box-shadow .3s; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(135deg, var(--amber) 50%, transparent 50%); background-position: calc(100% - 22px) 26px, calc(100% - 16px) 26px; background-size: 6px 6px; background-repeat: no-repeat; }
.is-rtl .field select { background-position: 22px 26px, 16px 26px; }
.field select option { background: var(--panel); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(246,182,73,.15); }
.field label { position: absolute; inset-inline-start: 17px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transition: .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.select label { top: 7px; font-size: 12px; color: var(--amber); font-weight: 700; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-privacy { font-size: 13px; color: var(--muted); margin: 0; }
.form-error { color: #ff8b73; font-weight: 600; margin: 0; }
.form-msg { padding: 14px 18px; border-radius: 12px; font-weight: 600; margin: 0; }
.form-msg.ok { background: rgba(92,184,92,.15); color: #a6e3a1; border: 1px solid rgba(92,184,92,.4); }
.form-msg.err { background: rgba(217,68,43,.15); color: #ff9b85; border: 1px solid rgba(217,68,43,.4); }
.enquiry .btn { justify-self: start; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: #0c0806; border-top: 1px solid var(--line); padding-top: 70px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .6fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { font: 800 24px var(--display); color: var(--cream); text-transform: uppercase; margin-bottom: 10px; }
.footer-logo b { color: var(--amber); }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; font: 800 22px var(--display); }
.footer-h { color: var(--cream); font-weight: 700; margin-bottom: 14px; }
.footer-links, .footer-langs { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.footer-links a, .footer-langs a { color: var(--muted); }
.footer-links a:hover, .footer-langs a:hover, .footer-langs a[aria-current] { color: var(--amber); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-bottom p { margin: 0; }
.to-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--cream); transition: .3s var(--ease); }
.to-top:hover { background: var(--amber); color: #1a1007; transform: translateY(-4px); }

.fab-call { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: none; place-items: center; background: linear-gradient(135deg, var(--amber), var(--amber2)); color: #1a1007; box-shadow: 0 12px 30px -8px rgba(0,0,0,.7); animation: pulse 2s infinite; }
.fab-call .ico { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- Inner pages */
.page-main { padding-block: 150px 100px; }
.page-title { margin-bottom: 30px; }
.entry { margin-bottom: 50px; }
.entry-content a { text-decoration: underline; }
.entry-thumb img { border-radius: var(--radius); margin-bottom: 30px; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
	.main-nav { position: fixed; inset: 0; z-index: -1; background: rgba(12,8,6,.97); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .4s var(--ease); }
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.main-nav ul { flex-direction: column; align-items: center; gap: 6px; }
	.main-nav a { font: 800 28px var(--display); padding: 10px 20px; opacity: 0; transform: translateY(20px); transition: .5s var(--ease); }
	.nav-open .main-nav a { opacity: 1; transform: none; }
	.nav-open .main-nav li:nth-child(2) a { transition-delay: .05s; }
	.nav-open .main-nav li:nth-child(3) a { transition-delay: .1s; }
	.nav-open .main-nav li:nth-child(4) a { transition-delay: .15s; }
	.nav-open .main-nav li:nth-child(5) a { transition-delay: .2s; }
	.nav-open .main-nav li:nth-child(6) a { transition-delay: .25s; }
	.nav-open .main-nav li:nth-child(7) a { transition-delay: .3s; }
	.nav-toggle { display: flex; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: transparent; box-shadow: none; }
	.cards-4, .cred-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.split, .prev-grid, .faq-wrap { grid-template-columns: 1fr; }
	.split-rev .split-text { order: 0; }
	.prev-visual, .faq-wrap .section-head { position: static; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-inline-start: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.float-quote { inset-inline-start: 12px; bottom: -20px; font-size: 17px; }
	.scroll-cue { display: none; }
	.colony { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.header-call span { display: none; }
	.header-call { padding: 10px; }
	.logo-sub { display: none; }
	.logo-top { font-size: 17px; }
	.cards-4, .cred-grid, .treat-points, .field-row { grid-template-columns: 1fr; }
	.svc-card { min-height: 0; }
	.hero { padding-block: 120px 110px; }
	.hero-ctas .btn { width: 100%; }
	.btn { white-space: normal; text-align: center; }
	.fab-call { display: grid; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { padding-bottom: 96px; }
	.colony-ui { font-size: 11px; padding-inline: 6%; }
}

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal, .js .split-words .w > span { opacity: 1 !important; transform: none !important; }
	.js .wipe-img { clip-path: none !important; }
	.js .illus-prev .rod { stroke-dashoffset: 0 !important; }
	.js .illus-prev .ip-barrier, .js .illus-prev .ip-barrier-edge, .js .ii-blips > g, .js .illus-prev .ip-drops circle { opacity: 1 !important; transform: none !important; }
	.js .beetle-svg .holes circle { transform: none !important; }
	.termite-canvas, .grain, .cursor-glow { display: none; }
}
