/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================================================
   Continuum – Home Page Styles
   ========================================================================== */

/* Custom Properties
   ========================================================================== */
:root {
	--blue:  #2f7df4;
	--navy:  #061539;
	--deep:  #071845;
	--text:  #162238;
	--muted: #6b7893;
	--line:  #e7ecf5;
	--bg:    #f4f7fb;
}

/* Base Reset
   ========================================================================== */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Inter, system-ui, sans-serif;
	color: var(--text);
	background: #fff;
}

a {
	text-decoration: none;
	color: inherit;
}

/* Logo
   ========================================================================== */
.site-header .logo {
	display: flex;
	align-items: center;
}

.site-header .logo .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 1;
}

.site-header .logo .custom-logo {
	height: 80px;
	width: auto;
	display: block;
}

/* Footer logo – invert to white on dark background */
.footer-logo {
	margin-bottom: 14px;
}

.footer-logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.footer-logo .custom-logo {
	height: 96px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
}

.footer-logo span {
	color: #fff;
	font-weight: 800;
	font-size: 18px;
}

/* Logo
   ========================================================================== */
.site-header {
	height: 95px;
	padding: 0 22%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f8fbff;
	position: sticky;
	top: 0;
	z-index: 10;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
nav a {
    font-size: 15px;
}
.logo {
	display: flex;
	align-items: center;
	font-weight: 800;
	font-size: 14px;
	color: #0d172c;
}

nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 11px;
	color: #5d6980;
}

/* wp_nav_menu() list reset — header */
.header-nav-list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-nav-list > li {
	margin: 0;
	padding: 0;
}

.header-nav-list > li > a {
	font-size: 14px;
	color: #5d6980;
	text-decoration: none;
	font-weight: 500;
}

.header-nav-list > li > a:hover {
	color: var(--blue);
}

/* Submenu styling */
.header-nav-list ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	min-width: 200px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	z-index: 999;
}

.header-nav-list li:hover > ul,
.header-nav-list li.menu-item-has-children.active > ul {
	display: block;
}

.header-nav-list ul li {
	margin: 0;
	padding: 0;
}

.header-nav-list ul a {
	display: block;
	padding: 10px 16px;
	font-size: 13px;
	color: #5d6980;
	text-decoration: none;
	font-weight: 500;
	transition: background .2s ease, color .2s ease;
}

.header-nav-list ul a:hover {
	background: #f6f9fd;
	color: var(--blue);
}

/* Toggle indicator for items with children */
.header-nav-list > li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	transition: transform .2s ease;
}

.header-nav-list > li.menu-item-has-children.active > a::after {
	transform: rotate(135deg);
}

/* Position relative for dropdown */
.header-nav-list > li {
	position: relative;
}

/* wp_nav_menu() list reset — footer */
.footer-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav-list li {
	margin: 0;
	padding: 0;
}

.footer-nav-list li a {
	display: block;
	color: #8d98b3;
	font-size: 14px;
	line-height: 1.7;
	text-decoration: none;
	margin-bottom: 6px;
}

.footer-nav-list li a:hover {
	color: #fff;
}

/* Buttons
   ========================================================================== */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #4f8fff, #2474ee);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 14px 25px;
	font-weight: 700;
	font-size: 12px;
	box-shadow: 0 8px 20px rgba(34, 106, 230, .25);
	cursor: pointer;
}

.button.small {
	padding: 12px 22px;
}

.button.ghost {
	background: rgba(255, 255, 255, .16);
	box-shadow: none;
	border: 1px solid rgba(255, 255, 255, .22);
}

/* Hero Section
   ========================================================================== */
.hero {
	min-height: 520px;
	background:
		linear-gradient(120deg, rgba(10, 34, 107, .92), rgba(37, 101, 213, .88)),
		url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80') center / cover;
	color: #fff;
	text-align: center;
	display: grid;
	place-items: center;
}

.hero h1 {
	font-family: Merriweather, serif;
	font-size: 64px;
	line-height: 1.05;
	margin: 0 0 24px;
}

.hero h1 em {
	font-weight: 700;
}

.hero p {
	color: #d9e5ff;
	line-height: 1.7;
	margin-bottom: 30px;
}

.hero-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.partners {
	margin-top: 70px;
	display: flex;
	gap: 55px;
	justify-content: center;
	color: #d2ddf6;
	font-size: 11px;
}

.partners span:first-child {
	opacity: .45;
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* Ticker
   ========================================================================== */
.ticker-wrap {
	background: #1142a2;
}

.ticker {
	height: 48px;
	color: #fff;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.ticker-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.ticker-track {
	display: flex;
	white-space: nowrap;
}

.ticker-left {
	animation: marquee-left 30s linear infinite;
}

.ticker-right {
	animation: marquee-right 30s linear infinite;
}

.ticker span {
	font-size: 12px;
	font-weight: 700;
	padding: 0 23px;
	border-right: 1px solid rgba(255, 255, 255, .18);
}

@keyframes marquee-left {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@keyframes marquee-right {
	from { transform: translateX(-50%); }
	to   { transform: translateX(0); }
}

/* Sections – Shared
   ========================================================================== */
.section {
	padding: 95px 20%;
}

.section-head {
	max-width: 520px;
	margin-bottom: 55px;
}

.section-head h2,
.work h2,
.contact h2 {
	font-size: 42px;
	line-height: 1.05;
	margin: 0 0 14px;
	font-weight: 800;
	letter-spacing: -.04em;
}

.section-head p,
.contact p {
	color: var(--muted);
	line-height: 1.7;
}

/* Services Section
   ========================================================================== */
.services {
	background: #f4f7fb;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.service-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 5px;
	padding: 30px;
	min-height: 270px;
}

.num {
	font-size: 30px;
	font-weight: 800;
	color: #dbe9ff;
	display: flex;
	gap: 12px;
	align-items: center;
}

.num b {
	font-size: 18px;
	background: var(--blue);
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	display: grid;
	place-items: center;
}

.service-card h3 {
	font-size: 17px;
	margin: 22px 0 12px;
}

.service-card p,
.service-card li,
.case-card p {
	font-size: 12px;
	color: #6d7890;
	line-height: 1.75;
}

.service-card ul {
	margin: 14px 0 22px;
	padding: 0;
	list-style: none;
}

.service-card li::before {
	content: '→';
	color: var(--blue);
	margin-right: 9px;
}

.service-card a,
.case-card a {
	color: var(--blue);
	font-weight: 700;
	font-size: 12px;
}

/* Work / Case Studies Section
   ========================================================================== */
.work {
	background: #fff;
}

.kicker {
	color: #2474ee;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	margin-bottom: 10px;
}

.work-head {
	display: flex;
	justify-content: space-between;
	align-items: start;
}

.work-head button {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	color: #71809a;
	cursor: pointer;
}

.case-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 45px;
}

.case-card {
	border: 1px solid var(--line);
	border-radius: 9px;
	padding: 20px;
	background: #fff;
}

.tag {
	font-size: 10px;
	font-weight: 800;
	padding: 7px 12px;
	border-radius: 99px;
}

.tag.blue   { color: #2474ee; background: #eaf2ff; }
.tag.green  { color: #16a36a; background: #e8fbf3; }
.tag.purple { color: #7445f8; background: #f1ecff; }

.case-card small {
	float: right;
	color: #8590a3;
	font-weight: 700;
	font-size: 10px;
}

.case-image {
	height: 145px;
	border-radius: 6px;
	margin: 18px 0;
	background-size: cover;
	background-position: center;
	background-color: #dbe9ff;
}

.img1 { background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80'); }
.img2 { background-image: url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=900&q=80'); }
.img3 { background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=900&q=80'); }

.case-card h3 {
	font-size: 16px;
	line-height: 1.4;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	border-top: 1px solid var(--line);
	padding-top: 20px;
	margin: 20px 0;
}

.stats b {
	color: #2474ee;
	font-size: 12px;
}

.stats small {
	display: block;
	float: none;
	font-size: 9px;
	color: #7d889d;
	margin-top: 4px;
}

.dots {
	text-align: center;
	margin-top: 35px;
}

.dots span {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 8px;
	background: #d6deec;
	margin: 0 4px;
}

.dots span:first-child {
	width: 24px;
	background: #174aac;
}

/* Contact Section
   ========================================================================== */
.contact {
	background: linear-gradient(160deg, #08256f, #20499e);
	color: #fff;
	text-align: center;
	padding: 95px 20%;
}

.contact h2 {
	font-size: 38px;
}

.contact p {
	color: #d8e3ff;
	max-width: 640px;
	margin: 0 auto 45px;
}

form {
	background: #fff;
	color: #17233a;
	text-align: left;
	border-radius: 6px;
	padding: 35px;
	max-width: 640px;
	margin: 0 auto;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

label {
	display: block;
	font-size: 11px;
	font-weight: 800;
	margin-bottom: 14px;
}

input,
textarea {
	width: 100%;
	border: 1px solid #dde4ef;
	background: #f8fafc;
	border-radius: 4px;
	padding: 13px;
	margin-top: 8px;
	font: inherit;
}

textarea {
	height: 125px;
	resize: vertical;
}

.two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

form .button {
	width: 100%;
	margin-top: 5px;
}

.contact-lines {
	margin-top: 48px;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	gap: 40px;
	justify-content: center;
}

/* Footer
   ========================================================================== */
footer {
	background: #061236;
	color: #dfe8ff;
	padding: 0 20% 40px;
}

.footer-cta {
	padding: 38px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-cta small {
	color: #697797;
	font-weight: 800;
	letter-spacing: .08em;
}

.footer-cta p {
	font-size: 18px;
	margin: 8px 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1.3fr 1.6fr;
	gap: 60px;
	padding: 55px 0;
}

.footer-grid h3,
.footer-grid h4 {
	color: #fff;
}

.footer-grid p,
.footer-grid a {
	display: block;
	color: #8d9bbb;
	font-size: 12px;
	line-height: 1.9;
	margin-bottom: 8px;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	color: #687692;
	font-size: 10px;
	border-top: 1px solid rgba(255, 255, 255, .06);
	padding-top: 28px;
}

/* Single Case Study
   ========================================================================== */

/* Utility containers */
.cs-container {
	width: min(960px, calc(100% - 40px));
	margin: 0 auto;
}

.cs-narrow {
	width: min(660px, calc(100% - 40px));
	margin: 0 auto;
}

/* Hero */
.cs-hero {
	position: relative;
	min-height: 330px;
	color: #fff;
	overflow: hidden;
}

.cs-hero-bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(9, 31, 98, .95) 0%, rgba(31, 82, 173, .88) 55%, rgba(48, 125, 246, .75) 100%),
		url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80') center / cover;
	filter: saturate(.85);
	background-size: cover;
	background-position: center;
}

.single-case-study .cs-hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(26, 86, 194, .5);
	pointer-events: none;
}

.cs-hero-content {
	position: relative;
	padding-top: 105px;
	padding-bottom: 50px;
}

.cs-back-link {
	display: inline-block;
	margin-bottom: 22px;
	font-size: 12px;
	color: #d6e4ff;
}

.cs-eyebrows {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 14px;
	font-size: 11px;
	color: #d8e6ff;
}

.cs-eyebrow-tag {
	background: rgba(47, 125, 246, .45);
	color: #8db8ff;
	border-radius: 999px;
	padding: 6px 12px;
	font-weight: 800;
	letter-spacing: .06em;
}

.cs-hero h1 {
	font-family: Merriweather, serif;
	max-width: 760px;
	margin: 0;
	font-size: clamp(28px, 5vw, 51px);
	line-height: 1.15;
	letter-spacing: -.03em;
}

/* Stats bar */
.cs-stats-bar {
	background: linear-gradient(90deg, #122979, #245ac0);
	color: #fff;
}

.cs-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.cs-stat {
	text-align: center;
	padding: 25px 10px 21px;
	border-left: 1px solid rgba(255, 255, 255, .1);
}

.cs-stat:last-child {
	border-right: 1px solid rgba(255, 255, 255, .1);
}

.cs-stat strong {
	display: block;
	font-size: 19px;
	line-height: 1;
}

.cs-stat span {
	display: block;
	margin-top: 7px;
	color: #9bb7ef;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-size: 10px;
	font-weight: 800;
}

/* Content blocks */
.cs-content-section {
	padding: 68px 0 60px;
}

.sv-intro {
	font-size: 20px;
	line-height: 1.6;
	color: #26364b;
	margin: 0 0 36px;
	max-width: 680px;
}

.sv-blocks-heading {
	font-size: 28px;
	font-weight: 800;
	color: #07143f;
	margin: 0 0 40px;
}

.cs-case-block {
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 18px;
	padding: 0 0 50px;
	margin-bottom: 42px;
	border-bottom: 1px solid #e8edf5;
}

.cs-case-block:last-of-type {
	margin-bottom: 0;
}

.cs-number {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 11px;
	font-weight: 800;
	flex-shrink: 0;
}

.cs-case-block h2 {
	margin: 0 0 20px;
	font-size: 22px;
	line-height: 1.2;
}

.cs-case-block p {
	margin: 0;
	color: #63738d;
	font-size: 14px;
	line-height: 1.78;
}

.cs-case-block ul,
.cs-case-block ol {
	margin: 0;
	padding-left: 18px;
	color: #63738d;
	font-size: 14px;
	line-height: 1.78;
}

.cs-case-block li {
	color: #63738d;
	font-size: 14px;
	line-height: 1.78;
	margin-bottom: 4px;
}

.cs-case-block li:last-child {
	margin-bottom: 0;
}

.cs-case-block p + ul,
.cs-case-block p + ol {
	margin-top: 12px;
}

/* Tech stack card */
.cs-tech-card {
	background: #f6f9fd;
	border-radius: 10px;
	padding: 30px;
	margin-top: 32px;
}

.cs-tech-card h3 {
	margin: 0 0 18px;
	text-transform: uppercase;
	color: #72829a;
	letter-spacing: .14em;
	font-size: 11px;
}

.cs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cs-tags span {
	background: #fff;
	border: 1px solid #e9eef5;
	border-radius: 4px;
	padding: 9px 14px;
	font-size: 11px;
	font-weight: 800;
	color: #26364b;
}

.cs-view-site {
	margin-top: 36px;
}

.cs-flowchart {
	margin: 40px 0;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e8edf5;
}

.cs-flowchart img {
	display: block;
	width: 100%;
	height: auto;
}

/* Client quote */
.cs-quote {
	background: #f6f9fd;
	border-left: 4px solid var(--blue);
	border-radius: 0 6px 6px 0;
	margin: 42px 0;
	padding: 28px 32px;
}

.cs-quote p {
	font-family: Merriweather, serif;
	font-size: 17px;
	font-style: italic;
	line-height: 1.7;
	color: #071235;
	margin: 0 0 12px;
}

.cs-quote cite {
	font-size: 12px;
	font-weight: 700;
	color: #667690;
	font-style: normal;
}

/* Next case study */
.cs-next-case {
	padding: 42px 0 35px;
	border-top: 1px solid #eef2f7;
}

.cs-next-wrap {
	display: flex;
	justify-content: flex-end;
}

.cs-next-wrap a {
	display: flex;
	gap: 14px;
	align-items: center;
	font-size: 12px;
}

.cs-next-wrap small {
	display: block;
	color: #8b98ad;
	text-transform: uppercase;
	letter-spacing: .16em;
}

.cs-next-wrap strong {
	font-size: 13px;
}

.cs-next-wrap span {
	color: var(--blue);
	font-size: 20px;
}

/* CTA section */
.cs-cta {
	background: linear-gradient(135deg, #122b80, #275dc5);
	color: #fff;
	text-align: center;
}

.cs-cta-inner {
	padding: 72px 0 74px;
}

.cs-cta > .cs-container > span,
.cs-cta-inner > span {
	display: block;
	color: #90abe6;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-size: 10px;
	font-weight: 800;
	margin-bottom: 12px;
}

.cs-cta h2 {
	margin: 0 0 16px;
	font-size: 32px;
}

.cs-cta p {
	margin: 0 0 30px;
	color: #bacaf1;
	font-size: 13px;
}

.button.cs-btn-light {
	background: #fff;
	color: #16357e;
	box-shadow: none;
}

/* Masonry Gallery
   ========================================================================== */
.cs-gallery-section {
	padding: 60px 0;
	background: #f6f9fd;
}

.cs-gallery {
	columns: 2;
	column-gap: 12px;
}

.cs-gallery-item {
	break-inside: avoid;
	margin-bottom: 12px;
	border-radius: 8px;
	overflow: hidden;
	display: block;
}

.cs-gallery-item img {
	width: 100%;
	display: block;
	object-fit: cover;
	transition: transform .35s ease;
}

.cs-gallery-item:hover img {
	transform: scale(1.03);
}

/* Alternating portrait / landscape ratios create the masonry stagger */
.cs-gallery-item:nth-child(1) img { aspect-ratio: 3/4; }
.cs-gallery-item:nth-child(2) img { aspect-ratio: 4/3; }
.cs-gallery-item:nth-child(3) img { aspect-ratio: 4/3; }
.cs-gallery-item:nth-child(4) img { aspect-ratio: 3/4; }

/* Services – Project image grid
   ========================================================================== */
.sv-projects-section {
	padding: 70px 0;
}

.sv-projects-heading {
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 32px;
}

.sv-projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.sv-project-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	background: #eef2f8;
}

.sv-project-link {
	display: block;
	position: relative;
}

.sv-project-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity .25s ease;
}

.sv-project-link:hover .sv-project-overlay {
	opacity: 1;
}

.sv-project-item img {
	width: 100%;
	display: block;
	object-fit: contain;
	aspect-ratio: 16/10;
	transition: transform .35s ease;
}

.sv-project-link:hover img {
	transform: scale(1.04);
}

.sv-project-label {
	display: block;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #1a1a2e;
	background: #fff;
}

/* Contact Page
   ========================================================================== */
.cp-hero {
	min-height: 490px;
	background:
		linear-gradient(rgba(22, 59, 145, .9), rgba(22, 59, 145, .82)),
		url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80') center / cover;
	color: #fff;
	display: flex;
	align-items: center;
	padding: 0 20%;
}

.cp-hero-eyebrow {
	display: inline-block;
	padding: 6px 14px;
	background: rgba(255, 255, 255, .15);
	border-radius: 20px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-bottom: 22px;
}

.cp-hero h1 {
	font-family: Merriweather, serif;
	font-size: clamp(32px, 5vw, 46px);
	line-height: 1.12;
	margin: 0;
	max-width: 700px;
}

/* Contact section */
.cp-section {
	padding: 75px 14%;
	background: #fff;
}

.cp-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 60px;
}

.cp-intro {
	max-width: 620px;
	color: #6b7890;
	font-size: 17px;
	line-height: 1.7;
	margin: 0 0 45px;
}

/* Form */
.cp-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.cp-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 24px;
}

.cp-form label em {
	color: #8c97aa;
	font-style: normal;
	font-weight: 400;
}

.cp-form input,
.cp-form textarea {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 16px;
	border: 1px solid #e3e7ee;
	border-radius: 7px;
	font-size: 14px;
	font-family: inherit;
	color: var(--text);
	background: #fff;
	transition: border-color .15s;
}

.cp-form input:focus,
.cp-form textarea:focus {
	outline: none;
	border-color: var(--blue);
}

.cp-form textarea {
	min-height: 140px;
	resize: vertical;
}

.cp-budget-group {
	margin-bottom: 24px;
}

.cp-budget-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 12px;
}

.cp-budget {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cp-budget button {
	border: 1px solid #dde3ee;
	background: #fff;
	color: #536685;
	font-weight: 700;
	font-size: 13px;
	padding: 10px 18px;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}

.cp-budget button:hover,
.cp-budget button.is-active {
	border-color: var(--blue);
	background: var(--blue);
	color: #fff;
}

.cp-submit {
	display: block;
	width: 100%;
	border: 0;
	background: #213f99;
	color: #fff;
	padding: 19px;
	border-radius: 7px;
	font-weight: 700;
	font-size: 15px;
	font-family: inherit;
	cursor: pointer;
	transition: background .15s;
}

.cp-submit:hover {
	background: var(--blue);
}

.cp-privacy {
	text-align: center;
	color: #8995aa;
	font-size: 12px;
	margin-top: 24px;
}

/* Sidebar cards */
.cp-card {
	background: #f6f8fc;
	padding: 28px;
	border-radius: 10px;
	margin-bottom: 24px;
}

.cp-card h3,
.cp-next h3 {
	margin-top: 0;
	color: #7a879d;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 800;
}

.cp-info {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 22px 0;
}

.cp-info:last-child {
	margin-bottom: 0;
}

.cp-info-icon {
	color: var(--blue);
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 2px;
}

.cp-info small {
	display: block;
	color: #8b96a8;
	font-size: 11px;
	margin-bottom: 4px;
}

.cp-info strong {
	font-size: 14px;
	color: var(--text);
}

.cp-socials {
	background: #fff;
	border: 1px solid #e4e8ef;
}

.cp-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.cp-social-links a {
	display: inline-block;
	padding: 10px 14px;
	border: 1px solid #e4e8ef;
	border-radius: 7px;
	color: #5c6b84;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	transition: border-color .15s, color .15s;
}

.cp-social-links a:hover {
	border-color: var(--blue);
	color: var(--blue);
}

.cp-next {
	background: #1f419f;
	color: #fff;
	border-radius: 10px;
	padding: 28px;
}

.cp-next ol {
	padding-left: 20px;
	line-height: 1.65;
	color: #dce5ff;
	font-size: 14px;
	margin: 16px 0 0;
}

.cp-next ol li {
	margin-bottom: 10px;
}

/* CTA strip */
.cp-cta {
	background: #07143f;
	color: #fff;
	padding: 48px 14%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}

.cp-cta small {
	display: block;
	color: #607095;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 11px;
	margin-bottom: 8px;
}

.cp-cta h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 500;
	color: #fff;
}

/* Case Studies Archive
   ========================================================================== */
.archive-hero .cs-hero-bg {
	background:
		linear-gradient(135deg, rgba(9, 31, 98, .97) 0%, rgba(20, 66, 162, .92) 50%, rgba(48, 125, 246, .80) 100%),
		url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80') center / cover;
}

.archive-hero {
	min-height: 490px;
}

.archive-hero-sub {
	color: rgba(255, 255, 255, .72);
	font-size: 16px;
	max-width: 540px;
	margin: 16px 0 0;
	line-height: 1.75;
}

.archive-cards {
	padding: 80px 20%;
	background: #f7f9fc;
}

.archive-case-grid {
	margin-top: 0;
}

.archive-empty {
	color: var(--muted);
	text-align: center;
	padding: 60px 0;
}

.archive-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 60px;
	flex-wrap: wrap;
}

.archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 6px;
	border: 1px solid var(--line);
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	background: #fff;
	text-decoration: none;
}

.archive-pagination .page-numbers.current {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

.archive-pagination .page-numbers:hover:not(.current) {
	border-color: var(--blue);
	color: var(--blue);
}

.archive-pagination .prev,
.archive-pagination .next {
	width: auto;
	padding: 0 16px;
}

/* Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.site-header,
	.section,
	.contact,
	footer,
	.archive-cards {
		padding-left: 6%;
		padding-right: 6%;
	}

	.hero h1 {
		font-size: 46px;
	}

	.service-grid,
	.case-grid {
		grid-template-columns: 1fr;
	}

	.partners,
	.contact-lines {
		flex-wrap: wrap;
		gap: 18px;
	}

	.two {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.footer-bottom a:hover {
    color: white;
}

	.footer-cta,
	.footer-bottom {
		gap: 20px;
		flex-direction: column;
		align-items: flex-start;
	}

	/* Case study single – responsive */
	.cs-hero {
		height: auto;
		min-height: 280px;
	}

	.cs-hero-content {
		padding-top: 60px;
		padding-bottom: 40px;
	}

	.cs-stats-grid {
		grid-template-columns: 1fr;
	}

	.cs-stat {
		border-left: none;
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	.cs-case-block {
		grid-template-columns: 1fr;
	}

	.cs-gallery {
		columns: 1;
	}

	/* Contact page – responsive */
	.cp-hero {
		min-height: 340px;
		padding-left: 6%;
		padding-right: 6%;
	}

	.cp-section {
		padding-left: 6%;
		padding-right: 6%;
	}

	.cp-grid {
		grid-template-columns: 1fr;
	}

	.cp-row {
		grid-template-columns: 1fr;
	}

	.cp-cta {
		padding-left: 6%;
		padding-right: 6%;
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}
}

