/*
Theme Name: GeekFlow POS
Theme URI: https://geekflowpos.us
Author: Geek Tech
Description: Sitio público GeekFlow POS — estilo alineado con la marca Geek Tech (paleta slate / azul profundo).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geekflow-pos
*/

:root {
	--bg-page: #e2e8f0;
	--surface: #f8fafc;
	--surface-2: #ffffff;
	--dark: #1a3a4f;
	--dark-2: #0f2740;
	--accent: #2c5f8a;
	--accent-hover: #234a6d;
	--text: #2d3748;
	--muted: #64748b;
	--border: rgba(26, 58, 79, 0.12);
	--radius: 12px;
	--shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	background: var(--bg-page);
	color: var(--text);
	line-height: 1.6;
	font-size: 1.05rem;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
	color: var(--accent-hover);
	text-decoration: underline;
}

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

.site-header {
	background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 55%, #1e4a66 100%);
	color: #f1f5f9;
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0.85rem clamp(1rem, 4vw, 1.5rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	font-size: 1.15rem;
	color: #fff;
	text-decoration: none;
}

.site-brand:hover {
	color: #e2e8f0;
	text-decoration: none;
}

.site-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(145deg, #38bdf8 0%, var(--accent) 100%);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	flex-shrink: 0;
}

.primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	align-items: center;
}

.primary-nav a {
	color: rgba(248, 250, 252, 0.92);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-main {
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 4vw, 1.5rem) 3rem;
}

.hero {
	background: var(--surface-2);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	border: 1px solid var(--border);
	margin-bottom: 2rem;
}

.hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

@media (min-width: 880px) {
	.hero__grid {
		grid-template-columns: 1.15fr 0.85fr;
		min-height: 320px;
	}
}

.hero__content {
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.hero__visual {
	background: linear-gradient(160deg, #0c1929 0%, var(--dark) 40%, #1e5a82 100%);
	min-height: 200px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero__orb {
	width: min(200px, 55vw);
	height: min(200px, 55vw);
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.45), transparent 55%),
		radial-gradient(circle at 70% 60%, rgba(44, 95, 138, 0.6), transparent 50%);
	filter: blur(0px);
	opacity: 0.95;
}

.hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.65rem, 4vw, 2.35rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--dark);
	line-height: 1.15;
}

.hero .lead {
	margin: 0 0 1.25rem;
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 36rem;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.25rem;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.btn:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.btn--primary {
	background: var(--accent);
	color: #fff;
}

.btn--primary:hover {
	background: var(--accent-hover);
	color: #fff;
	text-decoration: none;
}

.btn--ghost {
	background: rgba(44, 95, 138, 0.1);
	color: var(--accent);
}

.btn--ghost:hover {
	background: rgba(44, 95, 138, 0.18);
	text-decoration: none;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.card {
	background: var(--surface-2);
	border-radius: var(--radius);
	padding: 1.35rem 1.5rem;
	border: 1px solid var(--border);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.card h2,
.card h3 {
	margin-top: 0;
	color: var(--dark);
	font-size: 1.1rem;
}

.card p:last-child {
	margin-bottom: 0;
}

.page-header {
	margin-bottom: 1.75rem;
}

.page-header h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 800;
	color: var(--dark);
	letter-spacing: -0.02em;
}

.page-header .intro {
	margin: 0;
	color: var(--muted);
	max-width: 42rem;
}

.panel {
	background: var(--surface-2);
	border-radius: var(--radius);
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	margin-bottom: 1.5rem;
}

.panel--accent {
	border-left: 4px solid var(--accent);
}

.panel h2 {
	margin-top: 0;
	color: var(--dark);
	font-size: 1.2rem;
}

.panel ul {
	padding-left: 1.25rem;
}

.panel li {
	margin-bottom: 0.5rem;
}

.note {
	font-size: 0.9rem;
	color: var(--muted);
	padding: 0.85rem 1rem;
	background: var(--surface);
	border-radius: 8px;
	border-left: 4px solid var(--accent);
	margin-top: 1rem;
}

.site-footer {
	background: var(--dark);
	color: rgba(248, 250, 252, 0.85);
	padding: 2rem clamp(1rem, 4vw, 1.5rem);
	margin-top: 2rem;
}

.site-footer__inner {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9rem;
}

.site-footer a {
	color: #94a3b8;
}

.site-footer a:hover {
	color: #e2e8f0;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
	color: var(--dark);
}

.wp-block-image figcaption {
	color: var(--muted);
	font-size: 0.85rem;
}
