/*
Theme Name: Eliance Group IT
Description: Custom theme for eliancegroupit.com.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Author: Eliance Group IT
Text Domain: eliance-group
*/

:root {
	--ink: #0b1220;
	--ink-2: #111b30;
	--ink-3: #1a2540;
	--blue: #1a3cf5;
	--blue-dark: #0f2bc9;
	--cyan: #5fd0ff;
	--text: #142033;
	--muted: #5a6478;
	--muted-light: #a7b2c7;
	--line: #e4e8f0;
	--line-dark: rgba(255, 255, 255, .1);
	--soft: #f5f7fb;
	--white: #fff;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
	--font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 52px; padding: 0 26px; border-radius: 10px; border: 1px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: -.005em;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }

/* Eyebrow */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--blue);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--cyan); }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	background: var(--ink); border-bottom: 1px solid var(--line-dark);
	transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.site-header.is-overlay.is-scrolled, .site-header.nav-open { background: rgba(11, 18, 32, .92); border-color: var(--line-dark); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.admin-bar .site-header { top: 32px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--white); font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; letter-spacing: -.005em; white-space: nowrap; }
.logo:hover { color: var(--white); }
.logo-mark { width: 84px; height: auto; aspect-ratio: 1074 / 397; flex: none; }
.logo-text { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .22); line-height: 1.2; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, .78); font-size: .95rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--muted-light); padding: calc(var(--header-h) + 72px) 0 56px; }
.hero-bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(600px 400px at 85% 20%, rgba(26, 60, 245, .38), transparent 70%),
		radial-gradient(500px 360px at 10% 90%, rgba(95, 208, 255, .12), transparent 70%),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
	-webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
	mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lead { font-size: 1.15rem; max-width: 36em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.code-card {
	background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
	border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(95, 208, 255, .05);
	overflow: hidden;
}
.code-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2c3854; }
.code-bar span:first-child { background: #ff5f57; }
.code-bar span:nth-child(2) { background: #febc2e; }
.code-bar span:nth-child(3) { background: #28c840; }
.code-bar em { margin-left: 10px; font-style: normal; font-size: .82rem; color: var(--muted-light); }
.code-card pre { margin: 0; padding: 22px 24px; overflow-x: auto; font: 500 .92rem/1.8 ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace; color: #dbe4f3; }
.code-card .k { color: #c792ea; }
.code-card .v { color: #82aaff; }
.code-card .p { color: #9ad3ff; }
.code-card .s { color: #c3e88d; }
.code-card .f { color: var(--cyan); }
.code-status { display: flex; align-items: center; gap: 10px; padding: 12px 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; color: var(--muted-light); }
.code-status i { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .15); }

.facts { position: relative; list-style: none; margin: 72px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts strong { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.05rem; }
.facts span { font-size: .95rem; }

/* Sections */
.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: var(--muted-light); }
.section-dark h2 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.split h2 { max-width: 16ch; }
.prose { font-size: 1.1rem; color: var(--muted); padding-top: 38px; }
.lead { font-size: 1.1rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: #cfd8ea; box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 18px 40px rgba(16, 24, 40, .09); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: #eceffe; margin-bottom: 22px; }
.card-icon .icon { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: none; }
.steps li { border-top: 2px solid var(--line); padding-top: 26px; position: relative; }
.steps li::before { content: ''; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--blue); }
.step-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--blue); margin-bottom: 12px; letter-spacing: .04em; }
.steps p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 16px; color: var(--white); font-size: 1.05rem; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-light); }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--cyan); }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); color: var(--cyan); }
.contact-form { background: var(--white); color: var(--text); border-radius: 18px; padding: 40px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

/* Contact Form 7 */
.wpcf7 form p { margin: 0 0 18px; }
.wpcf7 label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--text);
	background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 60, 245, .12); }
.wpcf7 .eg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wpcf7 input[type="submit"] {
	width: 100%; min-height: 54px; border: 0; border-radius: 10px; background: var(--blue); color: var(--white);
	font-family: var(--font-head); font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .2s;
}
.wpcf7 input[type="submit"]:hover { background: var(--blue-dark); }
.wpcf7 .wpcf7-spinner { display: block; margin: 10px auto 0; }
.wpcf7-not-valid-tip { font-size: .85rem; color: #d92d20; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: 10px; font-size: .95rem; border-width: 1px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #12b76a; background: #ecfdf3; color: #05603a; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #fda29b; background: #fef3f2; color: #b42318; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Inner pages */
.page-main { padding: 72px 0 112px; min-height: 60vh; }
.entry + .entry { margin-top: 56px; }
.entry-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.entry-title a { color: inherit; }
.entry-content { color: #2b364a; }
.entry-content h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.entry-content h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.notfound { text-align: center; padding-top: 40px; }
.notfound .eyebrow::before { display: none; }

/* Footer */
.site-footer { background: #070c17; color: var(--muted-light); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { max-width: 34ch; margin: 18px 0 22px; }
.footer-title { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin: 6px 0 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted-light); }
.footer-links a:hover { color: var(--white); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-dark); color: var(--muted-light); transition: color .2s, border-color .2s, background .2s; }
.social a:hover { color: var(--white); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }
.social .icon { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 22px; padding-bottom: 26px; font-size: .85rem; }

/* Responsive */
@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-visual { max-width: 560px; }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
	.prose { padding-top: 0; }
}
@media (max-width: 860px) {
	:root { --header-h: 66px; }
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; top: var(--header-h); left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: rgba(11, 18, 32, .98); padding: 8px 24px 24px; border-bottom: 1px solid var(--line-dark);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
	}
	.site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
	.site-nav .btn { margin-top: 18px; min-height: 50px; }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.section { padding: 80px 0; }
	.steps { grid-template-columns: 1fr; gap: 32px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.container { padding: 0 20px; }
	.hero { padding: calc(var(--header-h) + 44px) 0 40px; }
	.hero .lead { font-size: 1.05rem; }
	.hero-actions .btn { width: 100%; }
	.code-card pre { font-size: .78rem; padding: 18px; }
	.facts { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
	.cards { grid-template-columns: 1fr; }
	.card { padding: 26px 24px; }
	.contact-form { padding: 26px 20px; }
	.wpcf7 .eg-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
.wpcf7 fieldset.hidden-fields-container { display: none; }
.site-footer .footer-grid { padding-bottom: 56px; }
@media (max-width: 640px) { .logo-mark { width: 70px; } .logo { gap: 12px; font-size: .98rem; } .logo-text { padding-left: 12px; } }
