/*!
Theme Name: Picaps
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: picaps
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Picaps is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* ==========================================================================
   Pitech Capillaries — header, front page, footer
   ========================================================================== */

:root {
	--primary: #0065d0;
	--primary-dark: #0052a8;
	--secondary: #91b6cc;
	--navy: #0b2a5b;
	--text: #33465f;
	--bg-soft: #f6fafd;
	--line: #dbe8f3;
	--font-head: 'Poppins', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--text);
	background: #fff;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

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

.container {
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: #fff;
	color: var(--primary);
	z-index: 1000;
}

/* Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

/* Header -------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 87px;
}

.site-brand img,
.site-brand .custom-logo { width: auto; max-height: 62px; }

.brand-text { display: inline-flex; flex-direction: column; line-height: 1.2; }
.brand-name {
	font-family: var(--font-head);
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--navy);
}
.brand-sub { font-size: 0.8rem; font-weight: 500; color: var(--primary); }
.brand-country {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	color: var(--primary);
}
.brand-country::before,
.brand-country::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--secondary);
}

.primary-nav .menu {
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.primary-nav a {
	display: block;
	padding: 10px 0;
	border-bottom: 2px solid transparent;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--navy);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	color: var(--primary);
	border-bottom-color: var(--primary);
}

.header-cta { padding: 14px 22px; white-space: nowrap; }

.nav-toggle {
	display: none;
	padding: 12px 8px;
	background: none;
	border: 0;
	cursor: pointer;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
	display: block;
	position: relative;
	width: 24px;
	height: 2px;
	background: var(--navy);
	content: "";
}
.nav-toggle .bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle .bars::after  { position: absolute; top: 7px;  left: 0; }

/* Hero ---------------------------------------------------------------- */
.hero {
	display: flex;
	align-items: center;
	min-height: 376px;
	padding: 56px 0;
	background:
		linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 32%, rgba(255,255,255,0) 62%),
		var(--hero-img) center right / cover no-repeat,
		linear-gradient(135deg, #eaf3fb, #c6dced);
}

.hero-content { max-width: 600px; padding-left: 66px; }

.hero-eyebrow {
	margin: 0 0 14px;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #2a4d7a;
}

.hero h1 {
	margin: 0 0 18px;
	font-family: var(--font-head);
	font-size: clamp(2rem, 3.4vw, 2.9rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--navy);
}
.hero h1 span { color: var(--primary); }

.hero-text {
	max-width: 440px;
	margin: 0 0 26px;
	font-size: 1.05rem;
	color: var(--navy);
}

/* Solution cards ------------------------------------------------------ */
.solutions { padding: 23px 0 56px; }

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

.solution-card {
	overflow: hidden;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.solution-card:hover {
	border-color: var(--secondary);
	box-shadow: 0 8px 24px rgba(0, 101, 208, 0.1);
}

.card-media {
	display: block;
	aspect-ratio: 356 / 212;
	overflow: hidden;
	background: linear-gradient(135deg, #dcebf7, #b9d3e8);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.card-body { position: relative; padding: 40px 24px 24px; }

.card-icon {
	position: absolute;
	top: -29px;
	left: 24px;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #fff;
	color: var(--primary);
	box-shadow: 0 2px 10px rgba(0, 101, 208, 0.15);
}
.card-icon svg { width: 30px; height: 30px; }

.card-title {
	margin: 0 0 6px;
	font-family: var(--font-head);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--navy);
}
.card-text { margin: 0 0 16px; font-size: 0.88rem; color: #4a5d75; }

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--primary);
}
.card-link svg { width: 15px; height: 15px; }

/* Footer -------------------------------------------------------------- */
.site-footer {
	background: var(--navy);
	border-top: 4px solid var(--primary);
	font-size: 0.92rem;
	color: #c9d9e8;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding: 56px 0 40px;
}

.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-brand .brand-sub { color: var(--secondary); }
.footer-brand p { max-width: 320px; margin: 16px 0 0; }

.footer-title {
	margin: 0 0 16px;
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
}

.footer-menu,
.footer-contact {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer a:hover { color: var(--secondary); }
.site-footer .btn-primary:hover { color: #fff; }
.footer-cta { margin-top: 20px; }

.footer-bottom {
	padding: 18px 0;
	border-top: 1px solid rgba(145, 182, 204, 0.25);
	font-size: 0.85rem;
	color: var(--secondary);
}
.footer-bottom p { margin: 0; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
	.header-inner { flex-wrap: wrap; gap: 0 16px; }
	.nav-toggle { display: block; }

	.primary-nav,
	.header-cta { display: none; }

	.primary-nav { order: 3; width: 100%; }
	.header-cta { order: 4; margin-bottom: 16px; }

	.site-header.is-open .primary-nav { display: block; }
	.site-header.is-open .header-cta { display: inline-flex; }

	.primary-nav .menu { flex-direction: column; gap: 0; padding-bottom: 12px; }
	.primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

	.solutions-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	.hero { padding: 40px 0; background-position: center; }
	.hero-content { padding-left: 0; }
	.solutions-grid,
	.footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}