/*
Theme Name: Codepix
Theme URI: https://codepix.com.ar
Author: Codepix
Author URI: https://codepix.com.ar
Description: Theme tecnológico para Codepix. Diseño oscuro con acentos cian y púrpura, orientado a servicios digitales: página web, ventas online, sistemas a medida, marketing digital y soporte técnico. Responsive y liviano.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: codepix
Tags: dark, tech, business, e-commerce, one-column, custom-menu, custom-logo, custom-colors, featured-images
*/

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
	--bg: #0a0e1a;
	--bg-alt: #0f1426;
	--surface: #131a30;
	--surface-2: #1a2240;
	--border: #243056;
	--text: #e7ecf7;
	--text-muted: #9aa7c7;
	--accent: #22d3ee;
	--accent-2: #8b5cf6;
	--success: #a3e635;
	--gradient: linear-gradient(90deg, #22d3ee, #8b5cf6);
	--radius: 14px;
	--radius-sm: 9px;
	--maxw: 1160px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.65);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #7df3ff; }

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	margin: 0 0 0.5em;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

.container {
	max-width: var(--maxw);
	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;
}

/* Botones */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	border: 0;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
	background: var(--gradient);
	color: #061018;
	box-shadow: 0 12px 30px -10px rgba(34, 211, 238, 0.5);
}
.btn-primary:hover { color: #061018; box-shadow: 0 16px 38px -10px rgba(139, 92, 246, 0.55); }

.btn-ghost {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Alineaciones utilitarias */
.aligncenter { text-align: center; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }

/* Contenido WP */
.entry-content img { border-radius: var(--radius-sm); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }

/* Layout de la home en main.css */
