/*
Theme Name: Brand Loop 360
Theme URI: https://brandloop360.com
Author: Brand Loop 360
Author URI: https://brandloop360.com
Description: Custom agency/portfolio theme for Brand Loop 360 — a branding & growth studio. Sticky pill navigation, animated 360° loop hero, service and work grids, and a circular process diagram built around the brand's "loop" identity.
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: bl360
*/

/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
	--navy-deep: #0F1E4D;
	--blue-deep: #16296B;
	--blue-mid: #2A4E9E;
	--blue-light: #5B7FC7;
	--sky: #3E6DF0;
	--sky-soft: #6E93F5;
	--ice: #EEF3FE;
	--ice-2: #E3EAFB;
	--ink: #0E1220;
	--slate: #5B6472;
	--slate-soft: #8A93A6;
	--white: #FFFFFF;
	--line: #E7EAF3;
	--line-soft: #F0F2F9;

	--grad-brand: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-deep) 100%);
	--grad-brand-diag: linear-gradient(120deg, var(--sky) 0%, var(--blue-deep) 100%);

	--font-display: 'Sora', 'Segoe UI', sans-serif;
	--font-body: 'Inter', 'Segoe UI', sans-serif;
	--font-mono: 'JetBrains Mono', 'Courier New', monospace;

	--container: 1240px;
	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 28px;
	--radius-pill: 999px;

	--shadow-sm: 0 2px 10px rgba(15, 30, 77, 0.06);
	--shadow-md: 0 10px 30px rgba(15, 30, 77, 0.10);
	--shadow-lg: 0 20px 60px rgba(15, 30, 77, 0.14);

	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode overrides */
body.dark-mode {
	--ice: #101832;
	--ice-2: #131C3B;
	--ink: #F3F5FB;
	--slate: #AEB6CC;
	--slate-soft: #7C86A3;
	--white: #0B1128;
	--line: #212B4C;
	--line-soft: #172040;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--white);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.12;
	margin: 0 0 0.5em;
	letter-spacing: -0.02em;
	font-weight: 700;
}
p { margin: 0 0 1em; color: var(--slate); }
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 28px;
}
:focus-visible {
	outline: 2.5px solid var(--sky);
	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; }
}

/* Eyebrow labels */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--blue-mid);
	text-transform: uppercase;
	margin-bottom: 18px;
}
.eyebrow-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sky);
	box-shadow: 0 0 0 4px rgba(62, 109, 240, 0.15);
}
.eyebrow-light { color: var(--sky-soft); }
.eyebrow-light .eyebrow-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.2); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	border-bottom: 1.5px solid var(--line);
	padding-bottom: 4px;
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow:hover { border-color: var(--sky); color: var(--sky); gap: 10px; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14.5px;
	padding: 13px 22px;
	border-radius: var(--radius-pill);
	border: 1.5px solid transparent;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
	white-space: nowrap;
}
.btn-primary { background: var(--grad-brand-diag); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-loop svg { transition: transform 0.3s var(--ease); }
.btn-loop:hover svg { transform: rotate(45deg); }

/* ==========================================================================
   HEADER / PILL NAV
   ========================================================================== */
.loop-progress {
	position: fixed;
	top: 0; left: 0;
	height: 3px;
	width: 0%;
	background: var(--grad-brand-diag);
	z-index: 1000;
	transition: width 0.1s linear;
}
.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	padding: 18px 24px 0;
	background: linear-gradient(to bottom, var(--white) 60%, transparent);
}
.header-inner {
	max-width: var(--container);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: rgba(255,255,255,0.75);
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	padding: 10px 12px 10px 22px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
body.dark-mode .header-inner { background: rgba(15, 20, 45, 0.75); }
.site-header.is-stuck .header-inner { box-shadow: var(--shadow-md); }

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; }
.custom-logo { height: 34px; width: auto; }

.pill-nav { display: flex; }
.nav-menu, .mobile-nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu li a {
	display: block;
	padding: 10px 18px;
	border-radius: var(--radius-pill);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--slate);
	transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
	background: var(--ice);
	color: var(--blue-deep);
}
body.dark-mode .nav-menu li a:hover,
body.dark-mode .nav-menu li.current-menu-item a { color: var(--sky-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle {
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1.5px solid var(--line);
	background: transparent;
	display: flex; align-items: center; justify-content: center;
	color: var(--slate);
	flex-shrink: 0;
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.4s var(--ease);
}
.theme-toggle:hover { border-color: var(--sky); color: var(--sky); transform: rotate(20deg); }
.theme-toggle .icon-moon { display: none; }
body.dark-mode .theme-toggle .icon-sun { display: none; }
body.dark-mode .theme-toggle .icon-moon { display: block; }

.menu-toggle {
	display: none;
	width: 40px; height: 40px;
	border: none;
	background: var(--ice);
	border-radius: 50%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.menu-toggle span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
	display: none;
	max-width: var(--container);
	margin: 10px auto 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 18px;
	box-shadow: var(--shadow-md);
	flex-direction: column;
	gap: 14px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-menu { flex-direction: column; gap: 2px; width: 100%; }
.mobile-nav-menu li a { display: block; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.mobile-nav-menu li a:hover { background: var(--ice); }

/* Marquee ticker */
.marquee-strip {
	overflow: hidden;
	background: var(--ink);
	color: var(--white);
	padding: 13px 0;
	margin-top: 22px;
}
.marquee-track {
	display: flex;
	width: max-content;
	gap: 14px;
	animation: marquee 32s linear infinite;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.marquee-track span { white-space: nowrap; }
.marquee-track .dot { color: var(--sky-soft); }
@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 90px 0 60px; overflow: hidden; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 40px;
	align-items: center;
}
.hero-title {
	font-size: clamp(42px, 5.6vw, 74px);
	font-weight: 800;
	margin-bottom: 26px;
}
.text-loop-wrap { position: relative; display: inline-block; color: var(--blue-deep); }
.loop-underline { position: absolute; left: 0; bottom: -10px; width: 100%; height: 16px; }
.hero-sub { font-size: 18px; max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { font-family: var(--font-mono); font-size: 12.5px; color: var(--slate-soft); letter-spacing: 0.02em; }

/* Signature element: 360 orbit graphic */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 460px; }
.orbit-wrap { position: relative; width: 420px; height: 420px; max-width: 100%; }
.orbit-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1.5px dashed var(--line);
}
.orbit-ring--outer { animation: spin 40s linear infinite; }
.orbit-ring--inner { inset: 58px; border-style: solid; border-color: var(--ice-2); animation: spin 30s linear infinite reverse; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-core {
	position: absolute;
	top: 50%; left: 50%;
	width: 128px; height: 128px;
	transform: translate(-50%, -50%);
	border-radius: 32px;
	background: var(--white);
	box-shadow: var(--shadow-lg);
	display: flex; align-items: center; justify-content: center;
	padding: 18px;
}
.orbit-core img { width: 100%; height: 100%; object-fit: contain; }

.orbit-node {
	position: absolute;
	display: flex; align-items: center; justify-content: center;
	width: 96px; height: 96px;
	border-radius: 50%;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-md);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 13.5px;
	color: var(--blue-deep);
	animation: float 6s ease-in-out infinite;
}
.orbit-node--1 { top: -10px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.orbit-node--2 { top: 50%; right: -20px; transform: translateY(-50%); animation-delay: 1.5s; }
.orbit-node--3 { bottom: -10px; left: 50%; transform: translateX(-50%); animation-delay: 3s; }
.orbit-node--4 { top: 50%; left: -20px; transform: translateY(-50%); animation-delay: 4.5s; }
@keyframes float {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(0, -10px); }
}
.orbit-node--1, .orbit-node--3 { animation-name: floatX; }
@keyframes floatX {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(-10px); }
}
.orbit-node--2, .orbit-node--4 { animation-name: floatY; }
@keyframes floatY {
	0%, 100% { transform: translateY(-50%) translateX(0); }
	50% { transform: translateY(-50%) translateX(8px); }
}

@media (max-width: 980px) {
	.hero-grid { grid-template-columns: 1fr; text-align: center; }
	.hero-sub { margin-left: auto; margin-right: auto; }
	.hero-actions { justify-content: center; }
	.hero-visual { height: 360px; margin-top: 20px; }
	.orbit-wrap { width: 320px; height: 320px; }
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ice); }
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.stat-item {
	padding: 40px 24px;
	text-align: center;
	border-right: 1px solid var(--line);
	position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
	font-family: var(--font-display);
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 800;
	color: var(--blue-deep);
}
.stat-plus { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--sky); }
.stat-label { display: block; margin-top: 6px; color: var(--slate); font-size: 14.5px; font-weight: 500; }
@media (max-width: 700px) {
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat-item:nth-child(2) { border-right: none; }
	.stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   SECTION HEAD (shared)
   ========================================================================== */
.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { font-size: 16.5px; margin-top: 14px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; flex-wrap: wrap; gap: 20px; }
.section-head--split .eyebrow, .section-head--split h2 { margin-bottom: 0; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { padding: 110px 0; }
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.service-card {
	padding: 34px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
	width: 56px; height: 56px;
	border-radius: 16px;
	background: var(--grad-brand-diag);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 22px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 15px; margin: 0; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .services { padding: 70px 0; } }

/* ==========================================================================
   WORK GRID
   ========================================================================== */
.work { padding: 30px 0 110px; }
.work-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}
.work-card { display: block; }
.work-media {
	position: relative;
	border-radius: var(--radius-lg);
	aspect-ratio: 16 / 11;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.work-card:hover .work-media { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.work-card--lg .work-media { aspect-ratio: 16 / 10.5; }
.work-media--navy { background: var(--grad-brand-diag); }
.work-media--light { background: linear-gradient(135deg, var(--ice) 0%, var(--ice-2) 100%); }
.work-media--mid { background: linear-gradient(135deg, var(--blue-mid), var(--blue-light)); aspect-ratio: 16/11.5; }
.work-media--dark { background: linear-gradient(135deg, var(--navy-deep), var(--blue-deep)); aspect-ratio: 16/11.5; }
.work-media-tag {
	position: absolute; top: 20px; left: 20px;
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(255,255,255,0.16);
	backdrop-filter: blur(6px);
	padding: 6px 12px;
	border-radius: var(--radius-pill);
}
.work-media-tag--dark { color: var(--blue-deep); background: rgba(22,41,107,0.08); }
.work-media-center { text-align: center; color: #fff; }
.work-media-center strong { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: 0.02em; }
.work-media-center span { font-size: 13px; opacity: 0.75; }
.work-media-center--dark { color: var(--blue-deep); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; }
.work-meta h3 { font-size: 19px; margin-bottom: 2px; }
.work-meta span { font-size: 13.5px; color: var(--slate-soft); font-family: var(--font-mono); }

/* Brand image work cards */
.work-grid--brands { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card--brand { display: block; }
.work-card--brand .work-media--img {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 0;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.work-card--brand:hover .work-media--img { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.work-media--img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--ease);
}
.work-card--brand:hover .work-media--img img { transform: scale(1.04); }

@media (max-width: 800px) {
	.work-grid { grid-template-columns: 1fr; }
	.work-grid--brands { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PROCESS LOOP DIAGRAM (signature element)
   ========================================================================== */
.process { padding: 110px 0; background: var(--ice); }
.loop-diagram {
	position: relative;
	width: 100%;
	max-width: 620px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
.loop-diagram-path { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--blue-light); animation: spin 90s linear infinite; }
.loop-center {
	position: relative;
	width: 132px; height: 132px;
	border-radius: 50%;
	background: var(--grad-brand-diag);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 22px;
	box-shadow: var(--shadow-lg);
	z-index: 2;
}
.loop-step {
	position: absolute;
	width: 220px;
	text-align: center;
	padding: 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}
.loop-step-num { font-family: var(--font-mono); font-size: 12px; color: var(--sky); font-weight: 700; letter-spacing: 0.08em; }
.loop-step h3 { font-size: 17px; margin: 6px 0 4px; }
.loop-step p { font-size: 13.5px; margin: 0; }
.loop-step--1 { top: -6%; left: 50%; transform: translate(-50%, 0); }
.loop-step--2 { top: 50%; right: -12%; transform: translate(0, -50%); }
.loop-step--3 { bottom: -6%; left: 50%; transform: translate(-50%, 0); }
.loop-step--4 { top: 50%; left: -12%; transform: translate(0, -50%); }

@media (max-width: 860px) {
	.loop-diagram { max-width: 100%; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px 0; }
	.loop-diagram-path { display: none; }
	.loop-step { position: static; width: auto; transform: none !important; }
	.loop-center { grid-column: 1 / -1; margin: 0 auto; }
}
@media (max-width: 480px) {
	.loop-diagram { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { padding: 110px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
	margin: 0;
	padding: 32px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}
.testimonial-card p { color: var(--ink); font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.testimonial-card footer { display: flex; flex-direction: column; font-style: normal; }
.testimonial-card footer strong { font-family: var(--font-display); font-size: 14.5px; }
.testimonial-card footer span { font-size: 13px; color: var(--slate-soft); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } .testimonials { padding: 70px 0; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
	position: relative;
	background: var(--grad-brand-diag);
	overflow: hidden;
	padding: 100px 0;
}
.cta-band-inner { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-loop-ring {
	position: absolute;
	top: 50%; left: 50%;
	width: 900px; height: 900px;
	transform: translate(-50%, -50%);
	color: rgba(255,255,255,0.14);
	z-index: 1;
	animation: spin 60s linear infinite;
}
.cta-heading { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
.text-accent-glow { color: var(--sky-soft); }
.cta-sub { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 480px; margin: 0 auto 32px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.68); padding: 70px 0 0; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 40px;
	padding-bottom: 60px;
}
.footer-logo { height: 32px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-rule { display: block; width: 46px; height: 3px; border-radius: 2px; background: var(--sky); margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14.5px; margin-bottom: 22px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14.5px; color: rgba(255,255,255,0.6); transition: color 0.2s var(--ease); }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,0.6); }
.footer-contact svg { flex-shrink: 0; color: var(--sky-soft); }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.45); }
.footer-loop-tag { font-family: var(--font-mono); }

@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BLOG / PAGE TEMPLATES
   ========================================================================== */
.content-page { padding: 70px 0 110px; }
.page-header { max-width: 760px; margin-bottom: 40px; }
.page-header h1 { font-size: clamp(32px, 4.4vw, 50px); }
.page-body { max-width: 760px; font-size: 17px; line-height: 1.75; }
.page-body h2 { margin-top: 1.4em; }
.page-body img { border-radius: var(--radius-md); margin: 1.5em 0; }
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.post-grid { display: grid; gap: 30px; }
.post-card { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.post-card-media { display: block; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 18px; }
.post-card-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--slate-soft); }
.post-card h2 { font-size: 24px; margin: 6px 0 10px; }
.blog-sidebar .widget { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 20px; }
.widget-title { font-size: 15px; margin-bottom: 14px; }
@media (max-width: 860px) { .blog-layout { grid-template-columns: 1fr; } }

/* ==========================================================================
   RESPONSIVE NAV SWITCH
   ========================================================================== */
@media (max-width: 900px) {
	.pill-nav, .header-actions .btn-primary { display: none; }
	.menu-toggle { display: flex; }
	.header-actions { gap: 8px; }
}

/* Scroll reveal (progressive enhancement — only applied once JS adds the class) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* WhatsApp floating button */
.wa-float {
	position: fixed;
	bottom: 26px; right: 26px;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-md);
	z-index: 500;
	transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ==========================================================================
   SERVICES GRID — 10 ITEMS (front page)
   ========================================================================== */
.services-grid--ten { grid-template-columns: repeat(4, 1fr); }
.services-grid--ten .service-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	padding: 0;
	overflow: hidden;
}
.service-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ice);
}
.service-card-media img,
.service-card-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card-media img,
.service-card:hover .service-card-media video { transform: scale(1.06); }
.service-card-media--empty { background: var(--grad-brand-diag); }
.service-card-media--empty::after {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 60%);
}
.service-card-play {
	position: absolute;
	top: 12px; right: 12px;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: rgba(0,0,0,0.45);
	backdrop-filter: blur(4px);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.service-card-icon-badge {
	position: absolute;
	bottom: 12px; left: 12px;
	width: 38px; height: 38px;
	border-radius: 12px;
	background: rgba(255,255,255,0.92);
	color: var(--blue-deep);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-sm);
}
.services-grid--ten .service-card-body {
	padding: 22px 22px 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.services-grid--ten .service-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.services-grid--ten .service-card p { font-size: 14px; }
.service-card-link {
	margin-top: auto;
	padding-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--sky);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.service-card:hover .service-card-link { opacity: 1; transform: translateX(0); }
@media (max-width: 1100px) { .services-grid--ten { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .services-grid--ten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid--ten { grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICE SINGLE PAGE (/services/{slug}/)
   ========================================================================== */
.service-hero { padding: 70px 0 50px; background: var(--ice); }
.service-back { margin-bottom: 26px; }
.service-hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 700px; }
.service-hero-sub { font-size: 17.5px; max-width: 560px; margin-bottom: 30px; }

.service-gallery { padding: 70px 0; }
.service-gallery-grid {
	columns: 3 260px;
	column-gap: 22px;
}
.service-gallery-item {
	margin: 0 0 22px;
	break-inside: avoid;
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.service-gallery-item img { width: 100%; height: auto; display: block; }
.service-gallery-item video { width: 100%; height: auto; display: block; background: #000; }
.service-gallery-empty {
	text-align: center;
	padding: 60px 24px;
	border: 1.5px dashed var(--line);
	border-radius: var(--radius-lg);
	color: var(--slate);
}
.service-gallery-empty-note { font-size: 13px; font-family: var(--font-mono); color: var(--slate-soft); margin-top: 10px; }
.service-gallery-empty-note code { background: var(--ice); padding: 2px 6px; border-radius: 4px; }

.service-other { padding: 70px 0 100px; background: var(--ice); }
.service-other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-other-card {
	display: block;
	padding: 26px 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-other-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-other-card h3 { font-size: 16px; margin: 14px 0 0; }
.service-other-card .service-icon { width: 44px; height: 44px; margin-bottom: 0; }
@media (max-width: 900px) { .service-other-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .service-gallery-grid { columns: 2 200px; } }
@media (max-width: 480px) { .service-gallery-grid { columns: 1; } .service-other-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT SECTION / FORM
   ========================================================================== */
.contact-section { padding: 100px 0 110px; background: var(--ice); }
.contact-section .section-head { margin-bottom: 40px; }

.form-notice {
	max-width: 900px;
	margin: 0 0 26px;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	font-size: 14.5px;
	font-weight: 500;
}
.form-notice--success { background: #E4F7EC; color: #196A3E; border: 1px solid #BCEBD0; }
.form-notice--error { background: #FCEBEC; color: #9B2C2C; border: 1px solid #F5C6CB; }

.contact-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 30px;
	align-items: start;
}
.contact-form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	border: 1.5px solid var(--line);
	background: var(--ice);
	font-family: var(--font-body);
	font-size: 14.5px;
	color: var(--ink);
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
	appearance: none;
}
.form-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--slate-soft); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--sky);
	background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field--full { width: 100%; }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px;
	box-shadow: var(--shadow-sm);
}
.contact-card h4 { font-size: 16px; margin-bottom: 18px; }
.contact-card-list { display: flex; flex-direction: column; gap: 16px; }
.contact-card-list li { display: flex; align-items: center; gap: 12px; }
.contact-card-list a { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.contact-card-list a:hover { color: var(--sky); }
.contact-card-icon {
	width: 36px; height: 36px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.contact-card-icon--wa { background: #E4F7EC; color: #22A559; }
.contact-card-icon--ig { background: #FCE7F3; color: #D6249F; }
.contact-card-icon--fb { background: #E7EFFE; color: #1877F2; }

.contact-social-row {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px;
	display: flex;
	justify-content: center;
	gap: 14px;
	box-shadow: var(--shadow-sm);
}
.contact-social-icon {
	width: 46px; height: 46px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff;
	transition: transform 0.25s var(--ease);
}
.contact-social-icon:hover { transform: translateY(-3px); }
.contact-social-icon--ig { background: linear-gradient(135deg, #F58529, #DD2A7B 40%, #8134AF 70%, #515BD4); }
.contact-social-icon--fb { background: #1877F2; }
.contact-social-icon--wa { background: #25D366; }

@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
}
