/* =========================================================================
   CUBE Design & Construction - Main Stylesheet
   Brand tokens from the official CUBE Brand Kit
   ========================================================================= */

:root {
	/* Colors */
	--cube-charcoal: #1F2124;
	--cube-charcoal-deep: #17181B;
	--cube-white: #FFFFFF;
	--cube-cyan: #00AEEF;
	--cube-cyan-dark: #0092C8;
	--cube-grey-light: #F4F4F4;
	--cube-grey-mid: #9B9B9B;
	--cube-grey-soft: #E6E6E6;
	--cube-navy: #071A33;

	/* Type */
	--font-brand: 'Montserrat', 'Segoe UI', Arial, sans-serif;

	/* Layout */
	--container: 1180px;
	--radius: 10px;
	--section-pad: clamp(64px, 9vw, 110px);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-brand);
	font-size: 16px;
	line-height: 1.6;
	color: var(--cube-charcoal);
	background: var(--cube-white);
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
	outline: 3px solid var(--cube-cyan);
	outline-offset: 3px;
}

h1, h2, h3 { margin: 0; line-height: 1.15; }

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

.section { padding-block: var(--section-pad); }

.section-dark {
	background: var(--cube-charcoal);
	color: var(--cube-white);
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--cube-cyan);
	color: var(--cube-white);
	padding: 10px 18px;
	z-index: 200;
	font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Icons ---------- */
.icon {
	width: 34px;
	height: 34px;
	color: var(--cube-cyan);
	flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-family: var(--font-brand);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 15px 30px;
	border-radius: 6px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
	min-height: 48px;
}

.btn-primary {
	background: var(--cube-cyan);
	color: var(--cube-white);
}
.btn-primary:hover { background: var(--cube-cyan-dark); transform: translateY(-2px); }

.btn-outline {
	background: transparent;
	color: var(--cube-white);
	border-color: var(--cube-white);
}
.btn-outline:hover { background: var(--cube-white); color: var(--cube-charcoal); }

/* ---------- Section headings ---------- */
.section-title {
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
	position: relative;
	padding-bottom: 16px;
	margin-bottom: 40px;
}
.section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	background: var(--cube-cyan);
	border-radius: 2px;
}
.section-title-light { color: var(--cube-white); }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.section-head .section-title { margin-bottom: 40px; }

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--cube-cyan);
	margin-bottom: 44px;
}
.section-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.section-link:hover .icon { transform: translateX(4px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 100;
	padding-block: 18px;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-logo img,
.custom-logo { width: 170px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 32px; }

.nav-list {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	color: var(--cube-white);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 10px 2px;
	position: relative;
}
.nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 4px;
	width: 0;
	height: 2px;
	background: var(--cube-cyan);
	transition: width .25s var(--ease);
}
.nav-list a:hover::after,
.nav-list .current-menu-item a::after { width: 100%; }

.nav-cta { padding: 12px 22px; font-size: 12px; }

/* Mobile toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 12px;
	cursor: pointer;
}
.nav-toggle-bar {
	width: 26px;
	height: 3px;
	background: var(--cube-white);
	border-radius: 2px;
	transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	background: var(--cube-charcoal) center / cover no-repeat;
	color: var(--cube-white);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(23, 24, 27, .94) 30%, rgba(23, 24, 27, .55) 70%, rgba(0, 174, 239, .18) 100%);
}

.hero-inner {
	position: relative;
	padding-block: 140px 90px;
	max-width: var(--container);
	width: 100%;
}

.hero-title {
	font-size: clamp(42px, 7.5vw, 84px);
	font-weight: 800;
	letter-spacing: .01em;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
}
.hero-title span:last-child { color: var(--cube-cyan); }

.hero-subtitle {
	margin: 22px 0 36px;
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 500;
	color: var(--cube-grey-soft);
	max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
	position: absolute;
	left: 26px;
	bottom: 30px;
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--cube-grey-mid);
	writing-mode: vertical-rl;
}

/* =========================================================================
   STATS
   ========================================================================= */
.stats {
	background: var(--cube-white);
	border-bottom: 1px solid var(--cube-grey-soft);
	padding-block: 42px;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.stat { display: flex; align-items: center; gap: 16px; }

.stat-number {
	display: block;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
}

.stat-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--cube-grey-mid);
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-top: 4px;
}

/* =========================================================================
   FEATURED PROJECTS
   ========================================================================= */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.project-card { display: block; }

.project-thumb {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--cube-grey-light);
	margin-bottom: 14px;
}
.project-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s var(--ease);
}
.project-card:hover .project-thumb img { transform: scale(1.06); }

.project-thumb-empty {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--cube-grey-light), var(--cube-grey-soft));
}

.project-name { font-size: 16px; font-weight: 700; }

.project-type {
	font-size: 12px;
	font-weight: 600;
	color: var(--cube-grey-mid);
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* =========================================================================
   SERVICES (One Window Solution)
   ========================================================================= */
.services-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.service {
	padding: 34px 24px;
	border-right: 1px solid rgba(255, 255, 255, .12);
	transition: background-color .25s var(--ease);
}
.service:last-child { border-right: 0; }
.service:hover { background: rgba(0, 174, 239, .08); }

.service-name {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 18px 0 8px;
}

.service-desc {
	margin: 0;
	font-size: 13.5px;
	color: var(--cube-grey-mid);
}

/* =========================================================================
   PROCESS
   ========================================================================= */
.process-track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
	counter-reset: step;
}

.process-step {
	position: relative;
	padding-top: 20px;
}
.process-step::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--cube-grey-soft);
}
.process-step::after {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--cube-cyan);
}

.process-num {
	font-size: 13px;
	font-weight: 800;
	color: var(--cube-cyan);
	letter-spacing: .1em;
}

.process-name {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 6px 0;
}

.process-desc {
	margin: 0;
	font-size: 13px;
	color: var(--cube-grey-mid);
}

/* =========================================================================
   WHY CHOOSE CUBE
   ========================================================================= */
.why-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 28px;
}

.why-item { text-align: left; }

.why-name {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	margin: 16px 0 8px;
}

.why-desc {
	margin: 0;
	font-size: 13.5px;
	color: var(--cube-grey-mid);
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials { background: var(--cube-grey-light); }

.testimonial-slider {
	position: relative;
	max-width: 780px;
	margin-inline: auto;
	background: var(--cube-white);
	border-radius: var(--radius);
	padding: 48px 48px 90px;
	box-shadow: 0 18px 50px rgba(31, 33, 36, .08);
}

.testimonial { display: none; margin: 0; }
.testimonial.is-active { display: block; }

.testimonial-mark {
	font-size: 56px;
	line-height: 1;
	font-weight: 800;
	color: var(--cube-cyan);
	display: block;
	margin-bottom: 10px;
}

.testimonial-quote {
	font-size: clamp(16px, 1.7vw, 19px);
	font-weight: 500;
	margin: 0 0 24px;
}

.testimonial-name {
	font-style: normal;
	font-weight: 700;
	display: block;
}

.testimonial-loc {
	font-size: 13px;
	color: var(--cube-grey-mid);
}

.testimonial-nav {
	position: absolute;
	right: 40px;
	bottom: 32px;
	display: flex;
	gap: 10px;
}

.testimonial-btn {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--cube-grey-soft);
	background: var(--cube-white);
	font-size: 18px;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.testimonial-btn:hover {
	background: var(--cube-cyan);
	color: var(--cube-white);
	border-color: var(--cube-cyan);
}

/* =========================================================================
   INSTAGRAM STRIP
   ========================================================================= */
.insta-handle {
	color: var(--cube-cyan);
	font-weight: 700;
	font-size: 14px;
	display: inline-block;
	margin-top: -30px;
	margin-bottom: 40px;
}

.insta-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.insta-item {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
	background: var(--cube-grey-light);
}
.insta-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.insta-item:hover img { transform: scale(1.07); opacity: .85; }

.insta-item-empty {
	background: linear-gradient(135deg, var(--cube-grey-light), var(--cube-grey-soft));
}

/* =========================================================================
   CTA STRIP
   ========================================================================= */
.cta-strip {
	background: linear-gradient(100deg, var(--cube-navy), var(--cube-charcoal));
	color: var(--cube-white);
	padding-block: 56px;
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}

.cta-title {
	font-size: clamp(22px, 2.8vw, 30px);
	font-weight: 800;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
	background: var(--cube-charcoal-deep);
	color: var(--cube-grey-soft);
	padding-top: 70px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 56px;
}

.footer-logo { width: 165px; margin-bottom: 18px; }

.footer-brand p {
	margin: 0;
	font-size: 14px;
	color: var(--cube-grey-mid);
	max-width: 260px;
}

.footer-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--cube-white);
	margin-bottom: 18px;
}

.footer-address {
	display: flex;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	color: var(--cube-grey-mid);
}
.footer-address .icon { width: 20px; height: 20px; margin-top: 2px; }

.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.footer-contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--cube-grey-mid);
	transition: color .2s var(--ease);
}
.footer-contact a:hover { color: var(--cube-cyan); }
.footer-contact .icon { width: 18px; height: 18px; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, .15);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--cube-grey-soft);
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.social-link:hover {
	background: var(--cube-cyan);
	border-color: var(--cube-cyan);
	color: var(--cube-white);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding-block: 20px;
}

.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--cube-grey-mid);
}
.footer-bottom-inner p { margin: 0; }
.footer-tag { color: var(--cube-cyan); font-weight: 700; letter-spacing: .06em; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
	.projects-grid { grid-template-columns: repeat(2, 1fr); }
	.services-grid { grid-template-columns: repeat(3, 1fr); }
	.service:nth-child(3n) { border-right: 0; }
	.why-grid { grid-template-columns: repeat(3, 1fr); }
	.process-track { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.insta-grid { grid-template-columns: repeat(3, 1fr); }
	.insta-item:nth-child(n+4) { display: none; }
}

@media (max-width: 768px) {
	.nav-toggle { display: flex; }

	.site-nav {
		position: fixed;
		inset: 0;
		background: var(--cube-charcoal-deep);
		flex-direction: column;
		justify-content: center;
		gap: 24px;
		transform: translateX(100%);
		transition: transform .3s var(--ease);
		z-index: 90;
	}
	.site-nav.is-open { transform: translateX(0); }

	.nav-list {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}
	.nav-list a { font-size: 18px; padding: 12px; }

	.nav-toggle { position: relative; z-index: 95; }

	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.services-grid { grid-template-columns: 1fr; }
	.service { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
	.why-grid { grid-template-columns: repeat(2, 1fr); }
	.process-track { grid-template-columns: repeat(2, 1fr); }
	.testimonial-slider { padding: 32px 24px 90px; }
	.testimonial-nav { right: 24px; }
	.cta-inner { justify-content: center; text-align: center; }
	.hero-scroll { display: none; }
}

@media (max-width: 520px) {
	.projects-grid,
	.stats-grid,
	.why-grid,
	.process-track,
	.footer-grid { grid-template-columns: 1fr; }
	.insta-grid { grid-template-columns: repeat(2, 1fr); }
	.insta-item:nth-child(n+3) { display: none; }
	.hero-actions .btn { width: 100%; text-align: center; }
}

/* =========================================================================
   V2 - INNER PAGES
   ========================================================================= */

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	background: linear-gradient(105deg, var(--cube-charcoal-deep) 40%, var(--cube-charcoal) 75%, rgba(0, 174, 239, .25) 130%);
	color: var(--cube-white);
	padding: 170px 0 70px;
}

.page-hero-title {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
}

.page-hero-sub {
	margin: 14px 0 0;
	max-width: 560px;
	color: var(--cube-grey-soft);
	font-size: 16px;
}

/* ---------- Projects filter bar ---------- */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}

.filter-link {
	padding: 10px 20px;
	border: 1px solid var(--cube-grey-soft);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter-link:hover,
.filter-link.is-active {
	background: var(--cube-cyan);
	border-color: var(--cube-cyan);
	color: var(--cube-white);
}

/* ---------- Pagination ---------- */
.pagination-wrap { margin-top: 48px; }
.pagination-wrap .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--cube-grey-soft);
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
	background: var(--cube-cyan);
	border-color: var(--cube-cyan);
	color: var(--cube-white);
}

/* ---------- Services page rows ---------- */
.service-rows { display: grid; gap: clamp(48px, 7vw, 90px); }

.service-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}
.service-row.is-flipped .service-row-media { order: 2; }

.service-row-media {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--cube-grey-light);
}
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }

.service-row-title {
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 800;
	text-transform: uppercase;
	margin: 14px 0 12px;
}

.service-row-content { color: #4a4d52; margin-bottom: 22px; }
.service-row-content p { margin: 0 0 14px; }

/* ---------- About page ---------- */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.about-media {
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--cube-grey-light);
	aspect-ratio: 4 / 3;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }

.entry-content { line-height: 1.75; }
.entry-content p { margin: 0 0 16px; }
.entry-content h2, .entry-content h3 { margin: 28px 0 12px; font-weight: 800; }
.entry-content img { border-radius: var(--radius); }
.entry-content a { color: var(--cube-cyan); font-weight: 600; }

/* ---------- Contact page ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.contact-form { display: grid; gap: 18px; }

.form-field { margin: 0; display: grid; gap: 7px; }

.form-field label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	font-family: var(--font-brand);
	font-size: 15px;
	padding: 14px 16px;
	border: 1px solid var(--cube-grey-soft);
	border-radius: 8px;
	background: var(--cube-white);
	color: var(--cube-charcoal);
	transition: border-color .2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--cube-cyan);
	box-shadow: 0 0 0 3px rgba(0, 174, 239, .18);
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	height: 0;
	overflow: hidden;
}

.form-notice {
	padding: 14px 18px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 20px;
}
.form-notice-success { background: #E7F8EE; color: #157A42; border: 1px solid #B9E8CD; }
.form-notice-error   { background: #FDECEC; color: #B02A2A; border: 1px solid #F3C2C2; }

.contact-side { display: grid; gap: 18px; }

.contact-card {
	background: var(--cube-grey-light);
	border-radius: var(--radius);
	padding: 24px;
}
.contact-card .footer-title { color: var(--cube-charcoal); }
.contact-card .footer-address { color: #4a4d52; }

.contact-big {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 14px;
}
.contact-big .icon { width: 22px; height: 22px; }

.btn-block { display: block; text-align: center; }

.map-wrap { line-height: 0; }

/* ---------- Blog ---------- */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.blog-card {
	background: var(--cube-white);
	border: 1px solid var(--cube-grey-soft);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.blog-card:hover {
	box-shadow: 0 16px 40px rgba(31, 33, 36, .1);
	transform: translateY(-4px);
}

.blog-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cube-grey-light); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-body { padding: 22px; }

.blog-date {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--cube-cyan);
}
.blog-date-hero { display: inline-block; margin-bottom: 10px; }

.blog-title { font-size: 18px; font-weight: 700; margin: 8px 0 10px; }
.blog-title a:hover { color: var(--cube-cyan); }

.blog-excerpt { margin: 0 0 14px; font-size: 14px; color: #4a4d52; }

.blog-card .section-link { margin-bottom: 0; }

.article-container { max-width: 820px; }

.article-hero-img {
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 36px;
}

.article-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--cube-grey-soft);
	font-weight: 600;
}
.article-nav a:hover { color: var(--cube-cyan); }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1024px) {
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.service-row,
	.about-grid,
	.contact-grid { grid-template-columns: 1fr; }
	.service-row.is-flipped .service-row-media { order: 0; }
	.blog-grid { grid-template-columns: 1fr; }
	.page-hero { padding: 140px 0 54px; }
}
