/*
Theme Name:  Click Agency
Theme URI:   https://clickagency.ge
Author:      Vebses
Author URI:  https://clickagency.ge
Description: Custom theme for Click Agency. Unifies the site's design system (dark theme, GSAP animations, custom post types) into clean templates. Requires the "Click Agency Core" plugin.
Version:     1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: clickagency
*/

/* ==========================================================================
   Fonts
   Chakra Petch + Roboto are enqueued from Google in functions.php.
   "Labora" (headings) falls back to Chakra Petch until a real font file is
   dropped into assets/fonts and referenced here.
   ========================================================================== */
@font-face {
	font-family: 'Labora';
	src: local('Labora'), local('Chakra Petch');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--bg-darkest: #1A1E29;
	--bg-lighter: #192638;
	--bg-card: #1E2433;
	--accent-main: #3BB483;
	--accent-dark: #2a9d6e;
	--accent-light: #a8e6cf;
	--accent-glow: rgba(59, 180, 131, 0.4);
	--white: #ffffff;
	--white-muted: rgba(255, 255, 255, 0.7);
	--white-subtle: rgba(255, 255, 255, 0.5);
	--card-border: rgba(59, 180, 131, 0.15);
	--ease: cubic-bezier(0.33, 1, 0.68, 1);
	--container: 1440px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto', sans-serif;
	min-height: 100vh;
	background: var(--bg-darkest);
	color: var(--white);
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Labora', 'Chakra Petch', 'Arial Black', sans-serif;
	color: var(--white);
	font-weight: 700;
	line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
ul { list-style: none; }

/* Accessibility: keyboard focus */
:focus-visible { outline: 2px solid var(--accent-main); outline-offset: 3px; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.ca-container {
	max-width: var(--container);
	margin: 0 auto;
	padding-left: 30px;
	padding-right: 30px;
}
@media (max-width: 600px) {
	.ca-container { padding-left: 18px; padding-right: 18px; }
}

.ca-section { padding: 80px 0; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.gradient-text {
	background: linear-gradient(135deg, var(--accent-main) 0%, var(--accent-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Line-reveal animation — pure CSS, runs on load (no JS/GSAP dependency). */
.reveal-clip { overflow: hidden; }
.reveal-clip .line { display: block; overflow: hidden; }
.reveal-clip .line-inner {
	display: block;
	transform: translateY(105%);
	animation: caLineReveal 1s cubic-bezier(0.33, 1, 0.68, 1) 0.1s forwards;
}
.reveal-clip .line:nth-child(2) .line-inner { animation-delay: 0.22s; }
.reveal-clip .line:nth-child(3) .line-inner { animation-delay: 0.34s; }
@keyframes caLineReveal {
	from { transform: translateY(105%); }
	to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.reveal-clip .line-inner { animation: none; transform: none; }
}

/* Scroll-reveal for cards/sections. Only hidden when JS is active (.ca-js),
   so content stays visible if JS never runs. Revealed by IntersectionObserver. */
.ca-js [data-animate] {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	will-change: opacity, transform;
}
.ca-js [data-animate].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ca-js [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* Eyebrow labels */
.hero-label,
.section-label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--accent-main);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 24px;
}
.hero-label::before,
.section-label::before {
	content: '';
	width: 8px;
	height: 8px;
	background: var(--accent-main);
	border-radius: 50%;
}
.hero-label::before { animation: caPulse 2s ease-in-out infinite; }
.section-label::before { width: 6px; height: 6px; }

@keyframes caPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(1.3); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-service,
.btn-service-outlined {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: all 0.4s var(--ease);
	position: relative;
	overflow: hidden;
	border: none;
	cursor: pointer;
	outline-offset: 3px;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}
.btn-service {
	background: var(--accent-main);
	color: var(--bg-darkest);
	outline: 1px solid var(--accent-main);
}
.btn-service-outlined {
	background: rgba(59, 180, 131, 0.1);
	color: var(--accent-main);
	outline: 1px solid rgba(59, 180, 131, 0.4);
}
.btn-service::before,
.btn-service-outlined::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}
.btn-service::before { background: rgba(255, 255, 255, 0.2); }
.btn-service-outlined::before { background: rgba(59, 180, 131, 0.15); }
.btn-service:hover::before,
.btn-service-outlined:hover::before { width: 400px; height: 400px; }
.btn-service:hover {
	background: var(--accent-light);
	outline-color: var(--accent-light);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px var(--accent-glow);
	color: #000;
}
.btn-service-outlined:hover {
	background: rgba(59, 180, 131, 0.25);
	outline-color: var(--accent-main);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(59, 180, 131, 0.3);
	color: var(--accent-light);
}
.btn-service svg,
.btn-service-outlined svg { width: 16px; height: 16px; transition: transform 0.4s; }
.btn-service:hover svg,
.btn-service-outlined:hover svg { transform: translate(3px, -3px); }

.btn-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	border-radius: 12px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	background: var(--accent-main);
	color: var(--bg-darkest);
	border: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: all 0.4s var(--ease);
	outline: 2px solid var(--accent-main);
	outline-offset: 3px;
	touch-action: manipulation;
}
.btn-submit::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}
.btn-submit:hover::before { width: 500px; height: 500px; }
.btn-submit:hover {
	background: var(--accent-light);
	outline-color: var(--accent-light);
	transform: translateY(-2px);
	box-shadow: 0 12px 32px var(--accent-glow);
}
.btn-submit svg { width: 16px; height: 16px; transition: transform 0.4s; }
.btn-submit:hover svg { transform: translateX(4px); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* ==========================================================================
   Cards (shared)
   ========================================================================== */
.ca-card {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 30, 41, 0.9) 100%);
	border: 1px solid var(--card-border);
	border-radius: 24px;
	padding: 40px 32px;
	position: relative;
	overflow: hidden;
	transition: all 0.5s var(--ease);
}
.ca-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--accent-main) 0%, var(--accent-light) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s;
}
.ca-card:hover {
	border-color: var(--accent-main);
	transform: translateY(-10px);
	box-shadow: 0 25px 60px rgba(59, 180, 131, 0.2);
}
.ca-card:hover::before { transform: scaleX(1); }

/* ==========================================================================
   Forms (shared inputs + country selector)
   ========================================================================== */
.form-group { position: relative; }
.form-group input,
.form-group textarea {
	width: 100%;
	background: rgba(59, 180, 131, 0.05);
	border: 1px solid var(--card-border);
	border-radius: 10px;
	padding: 14px 16px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px; /* 16px prevents iOS focus-zoom */
	color: var(--white);
	transition: all 0.3s ease;
	outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-subtle); }
.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--accent-main);
	background: rgba(59, 180, 131, 0.1);
	box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { min-height: 100px; resize: vertical; }

.field-label {
	display: block;
	font-size: 12px;
	color: var(--white-subtle);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
	font-weight: 500;
}

.form-message { padding: 14px 20px; border-radius: 10px; margin-bottom: 16px; font-size: 13px; display: none; }
.form-message.success { background: rgba(59, 180, 131, 0.15); border: 1px solid var(--accent-main); color: var(--accent-main); display: block; }
.form-message.error { background: rgba(248, 126, 114, 0.15); border: 1px solid #f87e72; color: #f87e72; display: block; }

/* Phone + country selector */
.phone-input-container {
	display: flex;
	height: 48px;
	border-radius: 10px;
	border: 1px solid var(--card-border);
	background: rgba(59, 180, 131, 0.05);
	overflow: visible;
	transition: all 0.3s ease;
}
.phone-input-container:focus-within { border-color: var(--accent-main); background: rgba(59, 180, 131, 0.1); box-shadow: 0 0 0 3px var(--accent-glow); }
.country-selector {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px 0 16px;
	height: 100%;
	background: transparent;
	border: none;
	border-right: 1px solid var(--card-border);
	color: var(--white);
	font-size: 14px;
	cursor: pointer;
}
.country-flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; }
.country-code { color: var(--white-muted); font-size: 14px; }
.dropdown-arrow { color: var(--white-subtle); font-size: 8px; transition: transform 0.3s ease; }
.country-selector.active .dropdown-arrow { transform: rotate(180deg); }
.phone-input-container .phone-input { flex: 1; height: 100%; padding: 0 16px 0 12px; border: none; border-radius: 0 10px 10px 0; background: transparent; color: var(--white); font-size: 16px; outline: none; }
.phone-input-container .phone-input::placeholder { color: var(--white-subtle); }
.country-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0; right: 0;
	background: var(--bg-card);
	border: 1px solid var(--card-border);
	border-radius: 10px;
	max-height: 200px;
	overflow-y: auto;
	z-index: 99999;
	display: none;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	scrollbar-width: thin;
	scrollbar-color: rgba(59, 180, 131, 0.4) rgba(26, 30, 41, 0.5);
}
.country-dropdown.active { display: block; }
.country-dropdown::-webkit-scrollbar { width: 6px; }
.country-dropdown::-webkit-scrollbar-thumb { background: rgba(59, 180, 131, 0.4); border-radius: 3px; }
.country-option { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; transition: background 0.2s; }
.country-option:hover { background: rgba(59, 180, 131, 0.1); }
.country-option .country-name { flex: 1; color: var(--white-muted); font-size: 13px; }
.country-option .country-dial { color: var(--white-subtle); font-size: 13px; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(26, 30, 41, 0.97);
	border-bottom: 1px solid var(--card-border);
	transition: background 0.3s ease, border-color 0.3s ease;
}
/* Transparent overlay header on the home hero; solidifies once scrolled. */
body.home .site-header { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
body.home .site-header.is-scrolled { background: rgba(26, 30, 41, 0.9); backdrop-filter: blur(14px); border-bottom-color: var(--card-border); }
/* The mobile menu is a position:fixed child of the header; a scrolled header's
   backdrop-filter creates a containing block that traps the overlay inside the
   header box. Drop the filter while the menu is open so it fills the viewport. */
body.nav-open .site-header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 40px;
	padding-top: 14px;
	padding-bottom: 14px;
}
.site-logo img, .site-logo svg { height: 40px; width: auto; }
.site-logo__img { width: auto; display: block; }
.site-header .site-logo__img { height: 56px; }
.site-footer .site-logo__img { height: 62px; }
.site-logo .logo-text { font-family: 'Labora','Chakra Petch',sans-serif; font-size: 26px; color: var(--white); }

/* Push the menu (and everything after the logo) to the right. */
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--white);
	transition: color 0.3s;
	position: relative;
	padding: 6px 0;
}
.main-nav a:hover,
.main-nav .current-menu-item > a { color: var(--accent-main); }
.main-nav .current-menu-item > a::after {
	content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent-main);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: 0.3s; }

/* Mobile-overlay-only bits: hidden on desktop */
.ca-menu-fx, .ca-menu__close { display: none; }

@media (max-width: 992px) {
	/* Header row: logo · (auto gap) · Request-Call · burger, all snug on the right */
	.nav-toggle { display: flex; }
	.site-header__inner { gap: 16px; }
	.header-cta { margin-left: auto; padding: 11px 18px; font-size: 13px; letter-spacing: 1.5px; }
	.header-cta__a { display: none; } /* "Request A Call" → "Request Call" so it fits beside the burger */

	/* Menu = full-screen overlay revealed by an animated green "spikes" wipe */
	.main-nav {
		position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
		background: var(--bg-darkest); z-index: 1200; overflow: hidden;
		display: flex; align-items: center; justify-content: center;
		opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
	}
	.main-nav.open, .main-nav.closing { opacity: 1; visibility: visible; }
	.main-nav ul { position: relative; z-index: 1; flex-direction: column; align-items: center; gap: 30px; opacity: 0; }
	.main-nav.open ul { animation: caMenuLinksIn 0.5s ease 0.95s forwards; }
	.main-nav.closing ul { opacity: 1; }
	.main-nav a {
		font-family: 'Chakra Petch', sans-serif; font-size: 30px; font-weight: 700;
		letter-spacing: 1px; text-transform: none; color: var(--white);
	}
	.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--accent-main); }
	.main-nav .current-menu-item > a::after { display: none; }

	/* Green "drip" curtain — softly descends from the top on both open AND close */
	.ca-menu-fx { display: block; position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
	.ca-menu-fx__layer { position: absolute; left: 0; top: 0; width: 100%; height: 140%; transform: translateY(-118%); will-change: transform; }
	.ca-menu-fx__layer--back path  { fill: #1f7a54; }
	.ca-menu-fx__layer--front path { fill: var(--accent-main); }
	/* Open and close use DIFFERENT animation names on purpose: swapping .open→.closing
	   leaves an identical computed `animation`, so a same-named animation never restarts
	   (the close drip would never play). Two names force the replay. */
	.main-nav.open .ca-menu-fx__layer--back     { animation: caDrip 2s cubic-bezier(0.65,0,0.35,1) forwards; }
	.main-nav.open .ca-menu-fx__layer--front    { animation: caDrip 2s cubic-bezier(0.65,0,0.35,1) 0.22s forwards; }
	.main-nav.closing .ca-menu-fx__layer--back  { animation: caDripClose 2s cubic-bezier(0.65,0,0.35,1) forwards; }
	.main-nav.closing .ca-menu-fx__layer--front { animation: caDripClose 2s cubic-bezier(0.65,0,0.35,1) 0.22s forwards; }

	/* Close (X) */
	.ca-menu__close {
		display: flex; align-items: center; justify-content: center;
		position: absolute; top: 20px; right: 18px; z-index: 3;
		width: 44px; height: 44px; background: none; border: none; cursor: pointer; opacity: 0;
	}
	.main-nav.open .ca-menu__close { animation: caMenuLinksIn 0.45s ease 1.3s forwards; }
	.main-nav.closing .ca-menu__close { opacity: 1; }
	.ca-menu__close span { position: absolute; width: 26px; height: 2px; background: var(--accent-main); border-radius: 2px; }
	.ca-menu__close span:first-child { transform: rotate(45deg); }
	.ca-menu__close span:last-child  { transform: rotate(-45deg); }

	body.nav-open { overflow: hidden; }
}

@keyframes caDrip {
	from { transform: translateY(-118%); }
	to   { transform: translateY(118%); }
}
@keyframes caDripClose {
	from { transform: translateY(-118%); }
	to   { transform: translateY(118%); }
}
@keyframes caMenuLinksIn {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-darkest); border-top: 1px solid var(--card-border); padding: 72px 0 32px; }
.site-footer__main { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; margin: 36px 0 32px; }
.site-footer__menu ul, .site-footer__services .menu, .site-footer__contact { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.site-footer__menu a, .site-footer__services a, .site-footer__contact a, .site-footer__contact span { color: var(--white); font-size: 17px; font-weight: 600; transition: color 0.3s; white-space: nowrap; }
.site-footer__services a { white-space: normal; }
.site-footer__menu a:hover, .site-footer__services a:hover, .site-footer__contact a:hover { color: var(--accent-main); }
.site-footer__col-title { display: block; color: var(--white-subtle); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 30px; }
.site-footer__socials a { display: inline-flex; align-items: center; gap: 7px; color: var(--white); font-size: 17px; font-weight: 600; transition: color 0.3s; }
.site-footer__socials a:hover { color: var(--accent-main); }
.site-footer__socials svg { width: 15px; height: 15px; flex-shrink: 0; }
/* Request-a-Call form card */
.site-footer__cta { background: linear-gradient(135deg, rgba(59,180,131,0.06) 0%, rgba(26,30,41,0.5) 100%); border: 1px solid var(--card-border); border-radius: 20px; padding: 30px 28px; }
.site-footer__cta-title { font-size: 26px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.site-footer__cta-sub { color: var(--white-subtle); font-size: 13px; margin-bottom: 20px; }
/* Contact-page left-panel socials keep the icon-square variant */
.site-footer__social { display: flex; gap: 12px; margin-top: 20px; }
.site-footer__social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(59,180,131,0.12); color: var(--accent-main); transition: 0.3s; }
.site-footer__social a:hover { background: var(--accent-main); color: var(--bg-darkest); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--card-border); color: var(--white-muted); font-size: 15px; font-weight: 500; }
.site-footer__bottom a { color: var(--accent-main); }
@media (max-width: 992px) {
	.site-footer__main { grid-template-columns: 1fr; gap: 40px; }
	.site-footer__cta { max-width: 480px; }
	.site-footer__cols { gap: 28px 44px; }
}
@media (max-width: 360px) { .site-footer__cols { flex-direction: column; gap: 24px; } }

/* ==========================================================================
   Request-a-Call popup (global, opened by .popup-trigger)
   ========================================================================== */
.ca-popup {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	background: rgba(15, 19, 25, 0.8);
	backdrop-filter: blur(6px);
	opacity: 0; visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}
.ca-popup.open { opacity: 1; visibility: visible; }
.ca-popup__dialog {
	width: 100%; max-width: 460px;
	background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darkest) 100%);
	border: 1px solid var(--accent-main);
	border-radius: 24px;
	padding: 40px 32px;
	position: relative;
	transform: translateY(20px) scale(0.98);
	transition: transform 0.35s var(--ease);
	max-height: 92vh; overflow-y: auto;
}
.ca-popup.open .ca-popup__dialog { transform: translateY(0) scale(1); }
.ca-popup__close {
	position: absolute; top: 16px; right: 16px;
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(59,180,131,0.12); color: var(--accent-main);
	border: none; cursor: pointer; font-size: 20px; line-height: 1;
	display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.ca-popup__close:hover { background: var(--accent-main); color: var(--bg-darkest); }
.ca-popup__title { font-size: 26px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.ca-popup__subtitle { color: var(--white-subtle); font-size: 14px; margin-bottom: 24px; }
.ca-popup .form-group { margin-bottom: 12px; }

/* Compact inline "Request a Call" form (hero / footer) */
.ca-request-form .form-group { margin-bottom: 12px; }
.ca-request-form .btn-submit { margin-top: 8px; }

/* ==========================================================================
   Brand stack (overlapping circular logos)
   ========================================================================== */
.click-brands-wrapper { display: flex; align-items: center; }
.click-brands-stack { display: flex; align-items: center; }
.click-brand-item {
	position: relative; width: 58px; height: 58px; border-radius: 50%;
	margin-left: -18px; flex-shrink: 0;
	--spread: 0px;
	transform: translateX(var(--spread));
	transition: transform 0.5s var(--ease);
}
.click-brand-item:first-child { margin-left: 0; }
.click-brand-item img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.click-brands-stack:hover .click-brand-item:nth-child(2) { --spread: 26px; }
.click-brands-stack:hover .click-brand-item:nth-child(3) { --spread: 52px; }
.click-brands-stack:hover .click-brand-item:nth-child(4) { --spread: 78px; }
.click-brands-stack:hover .click-brand-item:nth-child(5) { --spread: 104px; }
.click-brands-stack:hover .click-brand-item:nth-child(6) { --spread: 130px; }
.click-brand-item:hover { z-index: 10; }
.click-brand-tooltip {
	position: absolute; bottom: calc(100% + 14px); left: 50%;
	transform: translateX(-50%) translateY(8px);
	background: var(--accent-main); color: var(--bg-darkest);
	padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 700;
	white-space: nowrap; opacity: 0; pointer-events: none;
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
	z-index: 20; box-shadow: 0 6px 18px rgba(59, 180, 131, 0.3);
}
.click-brand-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border-width: 6px 6px 0 6px; border-style: solid; border-color: var(--accent-main) transparent transparent transparent; }
.click-brand-item:hover .click-brand-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 480px) {
	.click-brand-item { width: 42px; height: 42px; margin-left: -12px; }
	.click-brands-stack:hover .click-brand-item:nth-child(2) { --spread: 18px; }
	.click-brands-stack:hover .click-brand-item:nth-child(3) { --spread: 36px; }
	.click-brands-stack:hover .click-brand-item:nth-child(4) { --spread: 54px; }
	.click-brands-stack:hover .click-brand-item:nth-child(5) { --spread: 72px; }
	.click-brands-stack:hover .click-brand-item:nth-child(6) { --spread: 90px; }
}

/* ==========================================================================
   Logo marquee (client logos)
   ========================================================================== */
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: caMarquee 40s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item img { height: 34px; width: auto; object-fit: contain; opacity: 0.75; filter: grayscale(100%); transition: 0.3s; }
.logo-marquee__item img:hover { opacity: 1; filter: grayscale(0); }
@keyframes caMarquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   FAQ accordion (rendered by the core plugin's [click_faq])
   ========================================================================== */
.faq-section { background: var(--bg-darkest); padding: 100px 20px; position: relative; overflow: hidden; }
.faq-container { max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-label { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-main); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; }
.faq-label::before { content: ''; width: 6px; height: 6px; background: var(--accent-main); border-radius: 50%; animation: caPulse 2s ease-in-out infinite; }
.faq-title { font-size: 48px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; letter-spacing: 1px; }
.faq-title span { background: linear-gradient(135deg, var(--accent-main) 0%, var(--accent-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.faq-subtitle { font-size: 16px; color: var(--white-muted); font-weight: 300; margin: 0 auto; max-width: 600px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: rgba(59,180,131,0.04); border: 1px solid var(--card-border); border-radius: 18px; overflow: hidden; transition: all 0.4s var(--ease); }
.faq-item:hover { border-color: rgba(59,180,131,0.35); background: rgba(59,180,131,0.06); }
.faq-item.active { border-color: var(--accent-main); background: rgba(59,180,131,0.08); box-shadow: 0 10px 40px rgba(59,180,131,0.12); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 32px; cursor: pointer; color: var(--white); font-size: 17px; font-weight: 500; transition: color 0.3s ease; user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.faq-question:hover { color: var(--accent-main); }
.faq-item.active .faq-question { color: var(--accent-main); font-weight: 600; }
.faq-question-text { flex: 1; }
.faq-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: rgba(59,180,131,0.1); border: 1px solid rgba(59,180,131,0.25); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--ease); position: relative; }
.faq-icon span { position: absolute; background: var(--accent-main); border-radius: 2px; transition: all 0.4s var(--ease); }
.faq-icon span:nth-child(1) { width: 14px; height: 2px; }
.faq-icon span:nth-child(2) { width: 2px; height: 14px; }
.faq-item.active .faq-icon { background: var(--accent-main); border-color: var(--accent-main); transform: rotate(45deg); }
.faq-item.active .faq-icon span { background: var(--bg-darkest); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-answer-inner { padding: 8px 32px 32px; color: var(--white); font-size: 15px; line-height: 1.75; font-weight: 300; }
.faq-answer-inner p { margin: 0 0 12px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner a { color: var(--accent-main); text-decoration: underline; }
.faq-answer-inner ul { list-style: disc; margin: 10px 0 0 20px; }
.faq-answer-inner ol { list-style: decimal; margin: 10px 0 0 20px; }
.faq-cta { text-align: center; margin-top: 60px; }
.faq-cta-text { font-size: 16px; color: var(--white-muted); margin-bottom: 20px; }
.faq-cta-btn { display: inline-flex; }
@media (max-width: 768px) {
	.faq-section { padding: 70px 16px; }
	.faq-title { font-size: 32px; }
	.faq-question { padding: 22px; font-size: 15px; gap: 16px; }
	.faq-answer-inner { padding: 6px 22px 26px; font-size: 14px; }
}

/* ==========================================================================
   Generic archive hero (all archives share this animated title)
   ========================================================================== */
.archive-hero { padding: 120px 56px 20px; max-width: 1400px; margin: 0 auto; }
.archive-hero h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); text-transform: uppercase; letter-spacing: 0.02em; }
.archive-hero .archive-desc { font-size: 18px; color: var(--white-muted); max-width: 700px; margin-top: 24px; font-weight: 300; }

/* ==========================================================================
   WordPress core / editor content
   ========================================================================== */
.entry-content a { color: var(--accent-main); }
.entry-content h2, .entry-content h3 { margin: 32px 0 16px; }
.entry-content p { margin-bottom: 20px; color: var(--white-muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
