/* =========================================================================
   EditZo Media — main stylesheet
   Design tokens:
   - Black  #0a0a0c   / Elevated dark #141417
   - White  #fafaf9   / Paper (light section) #f2f1ec
   - Ink (text on light) #15161a
   - Accent 1: Scope Cyan  #17e9e0  (signature — waveform / scope monitor)
   - Accent 2: Rec Red     #ff3b30  (primary CTA — "record" indicator)
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (timecodes)
   Signature motif: timeline scrubber — waveform bars, tick rules, playhead
   diamonds, and timecode-style labels (00:00:00:00) used as a real,
   literal reference to the non-linear editor timeline.
   ========================================================================= */

:root {
	--black: #07090D;
	--black-2: #0B0F14;
	--black-3: #16202B;
	--white: #F8FAFC;
	--paper: #0F141B;
	--paper-hover: #16202B;
	--ink: #F8FAFC;
	--ink-soft: #94A3B8;
	--ink-muted: #94A3B8;
	--line-dark: rgba(255, 255, 255, 0.08);
	--line-light: rgba(255, 255, 255, 0.08);
	--cyan: #22D3EE;
	--cyan-dim: rgba(34, 211, 238, 0.14);
	--red: #3B82F6;
	--red-dim: rgba(59, 130, 246, 0.16);
	--accent-gradient: linear-gradient(135deg, #3B82F6 0%, #22D3EE 100%);

	/* Standard aliases (matches client design-token naming) */
	--bg-primary: var(--black);
	--bg-secondary: var(--black-2);
	--bg-card: var(--paper);
	--bg-card-hover: var(--paper-hover);
	--text-primary: var(--white);
	--text-secondary: var(--ink-soft);
	--text-muted: var(--ink-muted);
	--accent-blue: #3B82F6;
	--accent-cyan: #22D3EE;

	--font-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

	--container: 1240px;
	--radius: 16px;
	--radius-sm: 10px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
svg { display: block; fill: currentColor; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.1;
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	z-index: 1000;
	top: -100px;
}
.skip-link:focus {
	position: fixed;
	top: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	background: var(--cyan);
	color: var(--black);
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 600;
}

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

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

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

.eyebrow {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cyan);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}
.section--dark .eyebrow,
.page-hero--dark .eyebrow,
.cta-band .eyebrow { color: var(--cyan); }

.rec-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 3px var(--red-dim);
	animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

.section-title {
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	font-weight: 600;
	max-width: 18ch;
}
.section-lede {
	font-size: 1.05rem;
	color: var(--ink-soft);
	max-width: 56ch;
}
.section--dark .section-lede,
.page-hero--dark .section-lede,
.cta-band__lede { color: rgba(250, 250, 249, 0.68); }

.section-head { margin-bottom: 44px; }
.section-cta { margin-top: 40px; text-align: center; }

.section { padding: 96px 0; }
.section--dark {
	background: var(--black-2);
	color: var(--white);
}
.section--center { text-align: center; }

/* ---------- Buttons / links ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid transparent;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
	white-space: nowrap;
}
.btn--primary {
	background: var(--accent-gradient);
	color: #fff;
	box-shadow: 0 8px 30px rgba(25, 211, 197, 0.15);
}
.btn--primary:hover { filter: brightness(1.08); box-shadow: 0 12px 35px rgba(25, 211, 197, 0.22); transform: translateY(-2px); }
.btn--ghost {
	background: transparent;
	border-color: currentColor;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.section:not(.section--dark) .btn--ghost:hover { background: rgba(21, 22, 26, 0.06); }
.btn--small { padding: 9px 18px; font-size: 0.85rem; }
.btn--large { padding: 16px 32px; font-size: 1rem; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--ink);
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow:hover { gap: 10px; color: var(--red); }
.section--dark .link-arrow,
.page-hero--dark .link-arrow { color: var(--white); }
.section--dark .link-arrow:hover { color: var(--cyan); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(11, 11, 16, 0.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 24px;
}
.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--white);
	flex-shrink: 0;
}
.site-logo__mark {
	width: 26px; height: 26px;
	border-radius: 7px;
	background: linear-gradient(135deg, var(--cyan), var(--red));
	position: relative;
	flex-shrink: 0;
}
.site-logo__mark::after {
	content: "";
	position: absolute;
	inset: 7px;
	background: var(--black);
	clip-path: polygon(35% 20%, 35% 80%, 80% 50%);
}
.site-logo__accent { color: var(--cyan); }

.primary-nav .nav-menu {
	display: flex;
	align-items: center;
	gap: 30px;
}
.primary-nav .nav-menu a {
	font-size: 0.94rem;
	font-weight: 500;
	color: rgba(250, 250, 249, 0.82);
	transition: color 0.2s var(--ease);
	position: relative;
}
.primary-nav .nav-menu a:hover { color: var(--white); }
.primary-nav .nav-menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -6px;
	width: 0; height: 2px;
	background: var(--cyan);
	transition: width 0.25s var(--ease);
}
.primary-nav .nav-menu a:hover::after { width: 100%; }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.header-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--white);
	font-size: 0.85rem;
	font-weight: 600;
	opacity: 0.9;
}
.header-whatsapp svg { width: 18px; height: 18px; }
.header-whatsapp:hover { color: var(--cyan); opacity: 1; }

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 40px;
	background: transparent;
	border: 1px solid var(--line-dark);
	border-radius: 8px;
}
.menu-toggle__bar {
	display: block;
	width: 18px; height: 2px;
	margin: 0 auto;
	background: var(--white);
	transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: var(--black);
	color: var(--white);
	overflow: hidden;
	padding: 88px 0 100px;
}
.hero__bg {
	position: absolute;
	inset: 0;
	opacity: 0.5;
	pointer-events: none;
}
.hero__waveform {
	position: absolute;
	inset: auto 0 0 0;
	height: 220px;
	display: flex;
	align-items: flex-end;
	gap: 3px;
	padding: 0 24px;
	mask-image: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}
.hero__waveform span {
	flex: 1;
	height: var(--h, 40%);
	background: linear-gradient(180deg, var(--cyan), transparent);
	opacity: 0.35;
	border-radius: 2px;
}
.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
}
.hero__title {
	font-size: clamp(2.2rem, 4.4vw, 3.4rem);
	font-weight: 700;
	max-width: 16ch;
}
.hero__lede {
	font-size: 1.1rem;
	color: rgba(250, 250, 249, 0.72);
	max-width: 46ch;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.trust-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	font-size: 0.88rem;
	color: rgba(250, 250, 249, 0.75);
}
.trust-points li { display: flex; align-items: center; gap: 7px; }
.trust-points li::before {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--cyan);
	flex-shrink: 0;
}

.hero__visual { position: relative; }
.editor-frame {
	background: var(--black-2);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* About Us page only — give the decorative preview frames real dimensions
   so they read as intended visuals rather than collapsing to zero height.
   Scoped to this page's body class; no other page is affected. */
body.page-id-200 .editor-frame {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 320px;
}
body.page-id-200 .editor-frame__bar {
	display: flex;
	gap: 6px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--line-dark);
	flex-shrink: 0;
}
body.page-id-200 .editor-frame__bar span {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: rgba(250, 250, 249, 0.22);
}
body.page-id-200 .editor-frame__waveform {
	flex: 1 1 auto;
	width: 100%;
	background:
		radial-gradient(circle at 30% 20%, rgba(34,211,238,0.18), transparent 55%),
		radial-gradient(circle at 75% 80%, rgba(59,130,246,0.16), transparent 55%),
		var(--black-3);
}
@media (max-width: 1024px) { body.page-id-200 .editor-frame { min-height: 260px; } }
@media (max-width: 767px) { body.page-id-200 .editor-frame { min-height: 200px; } }
.editor-frame__topbar {
	display: flex;
	gap: 6px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--line-dark);
}
.editor-frame__topbar span {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: rgba(250, 250, 249, 0.22);
}
.editor-frame__preview {
	aspect-ratio: 16/9;
	background:
		radial-gradient(circle at 30% 20%, rgba(23,233,224,0.18), transparent 55%),
		radial-gradient(circle at 75% 80%, rgba(255,59,48,0.16), transparent 55%),
		var(--black-3);
	display: flex;
	align-items: center;
	justify-content: center;
}
.video-placeholder {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16/9;
	background:
		radial-gradient(circle at 30% 30%, rgba(23,233,224,0.18), transparent 55%),
		radial-gradient(circle at 75% 75%, rgba(255,59,48,0.16), transparent 55%),
		var(--black-3);
}
.video-placeholder--large { border-radius: var(--radius); }
.video-placeholder__play,
.video-placeholder__play--lg {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: rgba(250,250,249,0.92);
	position: relative;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.video-placeholder__play--lg { width: 72px; height: 72px; }
.video-placeholder__play::after,
.video-placeholder__play--lg::after {
	content: "";
	position: absolute;
	top: 50%; left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent var(--black);
}
.editor-frame__timeline {
	position: relative;
	padding: 18px 16px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.editor-frame__track {
	height: 14px;
	border-radius: 5px;
	background: rgba(250,250,249,0.08);
}
.editor-frame__track--accent {
	background: linear-gradient(90deg, var(--cyan), rgba(23,233,224,0.15));
}
.editor-frame__playhead {
	position: absolute;
	top: 8px; bottom: 8px;
	left: 38%;
	width: 2px;
	background: var(--red);
}
.editor-frame__playhead::before {
	content: "";
	position: absolute;
	top: -5px; left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 9px; height: 9px;
	background: var(--red);
}

/* ---------- About teaser ---------- */
.about-teaser__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 56px;
	align-items: center;
}
.about-teaser__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.stat-card {
	background: var(--paper);
	border-radius: var(--radius-sm);
	padding: 22px 16px;
	text-align: center;
}
.stat-card__num {
	display: block;
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
	color: var(--red);
}
.stat-card__label {
	font-size: 0.82rem;
	color: var(--ink-soft);
}

/* ---------- Services ---------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.service-card {
	background: var(--bg-card);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 30px 26px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.section:not(.section--dark) .service-card {
	background: var(--bg-card);
	border-color: rgba(255, 255, 255, 0.08);
}
.service-card:hover {
	transform: translateY(-5px);
	background: var(--bg-card-hover);
	border-color: rgba(25, 211, 197, 0.35);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border-radius: 12px;
	background: rgba(25, 211, 197, 0.10);
	border: 1px solid rgba(25, 211, 197, 0.15);
	color: var(--cyan);
	margin-bottom: 18px;
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card__title { font-size: 1.12rem; margin-bottom: 8px; color: var(--text-primary); }
.service-card__desc {
	font-size: 0.92rem;
	color: var(--text-secondary);
	margin-bottom: 16px;
}
.section:not(.section--dark) .service-card__desc { color: var(--text-secondary); }

/* ---------- Why us ---------- */
.why-us {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.why-us__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 20px;
}
.why-us__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	font-size: 0.98rem;
	padding: 14px 16px;
	background: var(--paper);
	border-radius: var(--radius-sm);
}
.check {
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--red);
	flex-shrink: 0;
	position: relative;
}
.check::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 9px; height: 5px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translate(-50%, -65%) rotate(-45deg);
}

/* ---------- Showcase ---------- */
.showcase-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.showcase-card {
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--black-2);
	border: 1px solid var(--line-dark);
	transition: transform 0.3s var(--ease);
}
.showcase-card:hover { transform: translateY(-5px); }
.showcase-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.showcase-card__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.showcase-card__media .video-placeholder__play {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
}
.showcase-card__meta { display: block; padding: 16px; }
.showcase-card__tag {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 6px;
}
.showcase-card__title { display: block; font-weight: 600; font-size: 0.95rem; }

/* ---------- Process timeline (signature element) ---------- */
.scrub-line {
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cyan), transparent);
	margin-bottom: 40px;
	position: relative;
}
.process-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	counter-reset: step;
}
.process-timeline::before {
	content: "";
	position: absolute;
	top: 7px; left: 0; right: 0;
	height: 2px;
	background: var(--line-light);
}
.process-timeline__item {
	position: relative;
	padding: 26px 16px 0 0;
	border-left: 1px dashed var(--line-light);
}
.process-timeline__item:first-child { border-left: none; }
.process-timeline__time {
	position: absolute;
	top: -22px; left: 0;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--ink-soft);
	letter-spacing: 0.03em;
}
.process-timeline__dot {
	position: absolute;
	top: 0; left: 0;
	transform: translate(-50%, 0) rotate(45deg);
	width: 12px; height: 12px;
	background: var(--red);
}
.process-timeline__item:first-child .process-timeline__dot { transform: translate(0,0) rotate(45deg); }
.process-timeline__title { font-size: 1.02rem; margin: 18px 16px 8px 0; }
.process-timeline__desc { font-size: 0.88rem; color: var(--ink-soft); padding-right: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
	background: var(--black);
	color: var(--white);
	padding: 90px 0;
	text-align: center;
}
.cta-band__inner { max-width: 640px; margin: 0 auto; }
.cta-band__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Quote section ---------- */
.quote-section { background: var(--paper); text-align: center; }
.quote-section__inner { max-width: 620px; margin: 0 auto; }
.quote-section__inner .section-title,
.quote-section__inner .section-lede { margin-left: auto; margin-right: auto; }
.section--dark.quote-section { background: var(--black); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.testimonial-card {
	margin: 0;
	background: var(--black-2);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: 28px;
}
.testimonial-card__quote { font-size: 1rem; color: rgba(250,250,249,0.85); }
.testimonial-card__footer { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--cyan-dim);
	color: var(--cyan);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	flex-shrink: 0;
}
.testimonial-card__name { display: block; font-weight: 600; font-size: 0.9rem; }
.testimonial-card__role { display: block; font-size: 0.8rem; color: rgba(250,250,249,0.55); }
.testimonial-note { margin-top: 24px; font-size: 0.78rem; color: rgba(250,250,249,0.4); }

/* ---------- Team (About) ---------- */
.team-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.team-card {
	background: var(--black-2);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: 30px;
}
.team-card__avatar {
	width: 64px; height: 64px;
	border-radius: 50%;
	background: var(--cyan-dim);
	color: var(--cyan);
	padding: 10px;
	margin-bottom: 16px;
}
.team-card__name { font-size: 1.15rem; margin-bottom: 2px; }
.team-card__role {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--red);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}
.team-card__desc { font-size: 0.92rem; color: rgba(250,250,249,0.68); }
.team-card__skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.team-card__skills li {
	font-size: 0.76rem;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(250,250,249,0.06);
	border: 1px solid var(--line-dark);
}

/* ---------- Portfolio ---------- */
.page-hero {
	padding: 70px 0 60px;
	background: var(--paper);
}
.page-hero--dark { background: var(--black); color: var(--white); }
.page-hero .section-title { max-width: 22ch; }

.portfolio-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 36px;
}
.portfolio-filters__btn {
	background: var(--paper);
	border: 1px solid var(--line-light);
	border-radius: 999px;
	padding: 9px 18px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ink-soft);
	transition: all 0.2s var(--ease);
}
.portfolio-filters__btn:hover { color: var(--ink); }
.portfolio-filters__btn.is-active {
	background: var(--black);
	color: var(--white);
	border-color: var(--black);
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.portfolio-card {
	background: var(--paper);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.portfolio-card:hover { transform: translateY(-6px); border-color: rgba(25, 211, 197, 0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.portfolio-card__media { display: block; }
.portfolio-card__image { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.portfolio-card__media .video-placeholder { aspect-ratio: 4/3; }
.portfolio-card__body { padding: 20px; }
.portfolio-card__tag {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--red);
	margin-bottom: 8px;
}
.portfolio-card__title { font-size: 1.05rem; margin-bottom: 6px; }
.portfolio-card__excerpt { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 14px; }

.single-portfolio__media { margin: 24px 0; border-radius: var(--radius); overflow: hidden; }
.single-portfolio__image { width: 100%; }

/* ---------- Page content generic ---------- */
.page-hero + .section .page-content-narrow,
.page-content-narrow { max-width: 68ch; font-size: 1.05rem; color: var(--ink-soft); }
.page-content { max-width: 72ch; }
.page-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* ---------- Contact ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 40px;
	align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info__card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--paper);
	border-radius: var(--radius);
	padding: 20px;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-info__card:hover { transform: translateY(-3px); background: #ece9e0; }
.contact-info__icon {
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--black);
	color: var(--cyan);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__label { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.contact-info__value { display: block; font-weight: 600; }
.contact-info__team {
	margin-top: 10px;
	padding: 20px;
	background: var(--black);
	color: var(--white);
	border-radius: var(--radius);
}
.contact-info__team p { margin: 0 0 6px; font-size: 0.9rem; }

.contact-form-wrap { background: var(--paper); border-radius: var(--radius); padding: 34px; }
.form-notice {
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	margin-bottom: 22px;
	font-size: 0.92rem;
	font-weight: 500;
}
.form-notice--success { background: var(--cyan-dim); color: #0a5a56; }
.form-notice--error { background: var(--red-dim); color: #9c1e16; }

.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row--split { flex-direction: row; gap: 18px; }
.form-row--split > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.project-form label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.project-form input,
.project-form select,
.project-form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: var(--bg-secondary);
	color: var(--text-primary);
	font-family: var(--font-body);
	transition: border-color 0.2s var(--ease);
}
.project-form input::placeholder,
.project-form textarea::placeholder { color: var(--text-muted); }
.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
	border-color: #19D3C5;
	outline: none;
}
.project-form select option { background: var(--bg-secondary); color: var(--text-primary); }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.form-submit { width: 100%; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--black);
	color: rgba(250,250,249,0.7);
	padding: 76px 0 0;
}
.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 50px;
	border-bottom: 1px solid var(--line-dark);
}
.site-footer__brand p { font-size: 0.9rem; max-width: 32ch; }
.site-logo--footer { margin-bottom: 14px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
	width: 36px; height: 36px;
	border-radius: 50%;
	border: 1px solid var(--line-dark);
	display: flex; align-items: center; justify-content: center;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.social-row a svg { width: 16px; height: 16px; }
.social-row a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-col__title {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(250,250,249,0.9);
	margin-bottom: 16px;
}
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--cyan); }
.site-footer__bottom {
	padding: 26px 0;
	text-align: center;
	font-size: 0.82rem;
	color: rgba(250,250,249,0.4);
}

.whatsapp-fab {
	position: fixed;
	right: 22px; bottom: 22px;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--accent-gradient);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 30px rgba(25, 211, 197, 0.30);
	z-index: 400;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-fab svg { width: 26px; height: 26px; }
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(25, 211, 197, 0.40); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Post card fallback (index.php) ---------- */
.post-card { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.showcase-grid { grid-template-columns: repeat(2, 1fr); }
	.testimonial-grid { grid-template-columns: 1fr; }
	.process-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.process-timeline__item:nth-child(3n+1) { border-left: none; }
}

@media (max-width: 900px) {
	.primary-nav { position: fixed; inset: 72px 0 0 0; background: var(--black); padding: 20px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); overflow-y: auto; }
	.primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
	.primary-nav .nav-menu { flex-direction: column; align-items: flex-start; gap: 4px; }
	.primary-nav .nav-menu a { display: block; padding: 14px 4px; width: 100%; border-bottom: 1px solid var(--line-dark); }
	.menu-toggle { display: flex; }
	.header-whatsapp span { display: none; }

	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { order: -1; }
	.about-teaser__grid { grid-template-columns: 1fr; }
	.about-teaser__stats { grid-template-columns: repeat(3, 1fr); }
	.why-us { grid-template-columns: 1fr; }
	.contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.section { padding: 64px 0; }
	.services-grid { grid-template-columns: 1fr; }
	.showcase-grid { grid-template-columns: 1fr; }
	.team-grid { grid-template-columns: 1fr; }
	.portfolio-grid { grid-template-columns: 1fr; }
	.why-us__list { grid-template-columns: 1fr; }
	.process-timeline { grid-template-columns: 1fr; }
	.process-timeline__item { border-left: none; padding-left: 20px; border-left: 2px solid var(--line-light); }
	.process-timeline__item:first-child { border-left: 2px solid var(--line-light); }
	.process-timeline__dot { left: -1px; transform: translate(-50%,0) rotate(45deg); }
	.process-timeline::before { display: none; }
	.form-row--split { flex-direction: column; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.cta-band__actions { flex-direction: column; align-items: stretch; }
	.hero__actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
	.container { padding: 0 18px; }
	.site-footer__top { grid-template-columns: 1fr; }
	.about-teaser__stats { grid-template-columns: 1fr; }
}







/* Header Get a Free Quote Button */

.site-header .btn--primary {
    background: linear-gradient(135deg, #3b82f6, #22d3ee) !important;
    border: none !important;
    color: #ffffff !important;
}

.site-header .btn--primary:hover {
    background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
    color: #ffffff !important;
}

/* Hide Get a Free Quote button on Mobile */

/* Hide Header Get a Free Quote button on Mobile */
@media screen and (max-width: 900px) {
    header.site-header .site-header__actions > a.btn.btn--primary.btn--small {
        display: none !important;
        visibility: hidden !important;
    }
}




/* =================================
   MOBILE MENU
================================= */

/* =========================================
   MOBILE MENU - SOLID BACKGROUND FIX
========================================= */

@media (max-width: 768px) {

    /* Open mobile menu */
    #primary-nav.is-open {
        display: block !important;
        position: fixed !important;
        top: 78px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;

        background: #0b0b14 !important;

        padding: 25px 25px 120px !important;

        z-index: 999999 !important;

        overflow-y: auto !important;
    }

    /* Menu list */
    #primary-nav.is-open ul {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
    }

    /* Menu items */
    #primary-nav.is-open li {
        display: block !important;
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    }

    /* Menu links */
    #primary-nav.is-open a {
        display: block !important;

        color: #ffffff !important;

        font-size: 20px !important;
        font-weight: 600 !important;

        padding: 18px 15px !important;

        text-decoration: none !important;
    }

    #primary-nav.is-open a:hover,
    #primary-nav.is-open a:active {
        color: #49d7e8 !important;
        background: rgba(73,215,232,0.08) !important;
    }

}

/* ==========================================================================
   Blog — single post article
   ========================================================================== */
.blog-article-header { padding: 150px 0 40px; text-align: center; background: var(--black); }
.blog-article-header__inner { max-width: 820px; margin: 0 auto; }
.blog-article-title { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin: 12px 0 0; line-height: 1.2; }
.blog-article-meta { color: var(--ink-soft); font-size: 0.9rem; margin-top: 16px; }
.blog-article-meta__sep { margin: 0 8px; }
.blog-article-header__image { max-width: 900px; margin: 32px auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.blog-article-header__image img { width: 100%; height: auto; display: block; }

.blog-article { max-width: 820px; margin: 60px auto 0; }
.blog-article__content { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.blog-article__content h2 { color: var(--white); font-size: 1.7rem; font-weight: 700; margin: 44px 0 18px; line-height: 1.3; }
.blog-article__content h3 { color: var(--white); font-size: 1.3rem; font-weight: 700; margin: 34px 0 14px; }
.blog-article__content p { margin: 0 0 22px; }
.blog-article__content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.blog-article__content a:hover { color: var(--red); }
.blog-article__content ul, .blog-article__content ol { margin: 0 0 22px; padding-left: 1.4em; }
.blog-article__content li { margin-bottom: 8px; }
.blog-article__content img { max-width: 100%; height: auto; border-radius: 14px; margin: 28px 0; display: block; }
.blog-article__content blockquote { background: var(--paper); border-left: 3px solid var(--cyan); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0; color: var(--white); font-style: italic; }
.blog-article__content table { width: 100%; border-collapse: collapse; margin: 28px 0; overflow-x: auto; display: block; }
.blog-article__content th, .blog-article__content td { border: 1px solid var(--line-dark); padding: 10px 14px; text-align: left; }
.blog-article__content th { color: var(--white); background: var(--paper); }

.blog-article__tags { max-width: 820px; margin: 30px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-tag { font-size: 0.78rem; color: var(--ink-soft); border: 1px solid var(--line-dark); border-radius: 999px; padding: 4px 12px; }

.blog-article-cta { max-width: 820px; margin: 60px auto 0; text-align: center; background: var(--paper); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 40px 30px; }
.blog-article-cta h2 { color: var(--white); font-size: 1.4rem; margin: 0 0 10px; }
.blog-article-cta p { color: var(--ink-soft); margin: 0 0 20px; }

/* ==========================================================================
   Blog — listing / archive grid
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.blog-card { background: var(--paper); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); border-color: rgba(25,211,197,0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.blog-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--black-2); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__media-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.05em; background: linear-gradient(135deg, var(--black-2), var(--black-3)); }
.blog-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__cat { color: var(--cyan); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.blog-card__title { font-size: 1.1rem; font-weight: 700; margin: 10px 0; line-height: 1.35; }
.blog-card__title a { color: var(--white); text-decoration: none; }
.blog-card__title a:hover { color: var(--cyan); }
.blog-card__excerpt { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.blog-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--ink-soft); }

.blog-pagination { margin-top: 50px; display: flex; justify-content: center; gap: 10px; }
.blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-dark); color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.blog-pagination .page-numbers.current { color: var(--white); border-color: var(--cyan); }
.blog-pagination .page-numbers:hover { border-color: var(--cyan); color: var(--white); }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
	.blog-grid { grid-template-columns: 1fr; }
	.blog-article-header { padding-top: 120px; }
	.blog-article, .blog-article__tags, .blog-article-cta { padding-left: 20px; padding-right: 20px; }
}

