/*
Theme Name: ARTIONS Tech
Theme URI: https://artions.gr/
Author: ARTIONS E.E.
Description: Επαγγελματικό θέμα one-page για την ARTIONS E.E. – ηλεκτρολογικές εγκαταστάσεις, φωτοβολταϊκά, δίκτυα, ασφάλεια και αυτοματισμοί. Ρυθμίσεις επικοινωνίας από Εμφάνιση → Προσαρμογή → ARTIONS.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: artions
*/

:root {
	--navy: #0c1a2b;
	--navy-2: #12253b;
	--navy-3: #1b334f;
	--gold: #f5a524;
	--gold-dark: #b86d00;
	--paper: #f5f7fa;
	--ink: #142437;
	--muted: #5b6b7e;
	--line: #e3e8ee;
	--white: #fff;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(12, 26, 43, .05), 0 8px 24px rgba(12, 26, 43, .06);
	--shadow-lg: 0 2px 4px rgba(12, 26, 43, .06), 0 18px 48px rgba(12, 26, 43, .12);
	--wrap: 1180px;
	--font: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; color: inherit; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 90%); margin-inline: auto; }

.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; top: 12px; left: 12px; z-index: 1000; clip: auto; width: auto; height: auto;
	padding: 10px 16px; background: var(--gold); color: var(--navy); font-weight: 700; border-radius: 8px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
	font: 700 15px/1 var(--font); cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(245, 165, 36, .28); }
.btn-gold:hover { background: #ffb53d; }
.btn-line { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-mark {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
	background: var(--navy); color: var(--gold);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; letter-spacing: .05em; font-size: 16px; }
.brand-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.custom-logo-link img { max-height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.main-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.brand, .header-phone, .header-cta .btn { white-space: nowrap; flex: none; }
.main-nav ul a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
	transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--navy); }
.header-phone svg { width: 18px; height: 18px; color: var(--gold-dark); }
.header-cta .btn { padding: 11px 18px; font-size: 14px; }

.nav-toggle {
	display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
	background: var(--white); color: var(--navy); cursor: pointer; place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1120px) {
	.nav-toggle { display: grid; }
	.header-phone span { display: none; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
		padding: 8px 5% 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
	.main-nav ul a::after { display: none; }
	.header-cta .btn { display: none; }
	.main-nav .btn { margin-top: 16px; }
}
@media (min-width: 1121px) { .main-nav .btn-mobile { display: none; } }
@media (max-width: 1260px) and (min-width: 1121px) { .header-phone span { display: none; } .main-nav, .main-nav ul { gap: 22px; } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section-dark .eyebrow { color: var(--gold); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #b9c6d4; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: var(--white);
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(245, 165, 36, .14), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(20, 184, 166, .08), transparent 60%),
		var(--navy);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-inner {
	position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
	padding: 104px 0 96px;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 19px; color: #c7d3e0; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-proof div { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #dbe4ee; font-weight: 600; }
.hero-proof svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

.hero-card {
	position: relative; padding: 32px; border-radius: 20px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.hero-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.hero-card > p { color: #aebccb; font-size: 14.5px; margin-bottom: 22px; }
.hero-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.hero-list li {
	display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px;
	background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); font-weight: 600; font-size: 15px;
}
.hero-list .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(245, 165, 36, .14); color: var(--gold); flex: none; }
.hero-list .ico svg { width: 19px; height: 19px; }
.hero-card .btn { width: 100%; }

@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; padding: 72px 0; gap: 40px; }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
	position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius);
	background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d6dde6; }
.service .ico {
	width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
	background: var(--navy); color: var(--gold);
}
.service .ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 20px; font-weight: 700; }
.service p { color: var(--muted); margin-bottom: 18px; }
.service ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.service li { display: flex; gap: 8px; align-items: flex-start; }
.service li svg { width: 16px; height: 16px; color: var(--gold-dark); margin-top: 4px; flex: none; }
.service .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--navy); }
.service .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service:hover .more svg { transform: translateX(4px); }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-banner {
	margin-top: 40px; padding: 28px 32px; border-radius: var(--radius); background: var(--navy); color: var(--white);
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.service-banner strong { display: block; font-size: 19px; margin-bottom: 2px; }
.service-banner span { color: #b9c6d4; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.process li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.process .num {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--gold); color: var(--navy); font-weight: 800; margin-bottom: 18px;
}
.process h3 { font-size: 18px; font-weight: 700; }
.process p { color: var(--muted); margin: 0; font-size: 15px; }
@media (min-width: 981px) {
	.process li:not(:last-child)::after {
		content: ""; position: absolute; top: 50px; right: -22px; width: 22px; height: 2px; background: var(--gold);
	}
}
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.about-grid h2 em { font-style: normal; color: var(--gold); }
.about-grid .lead { font-size: 18px; color: #b9c6d4; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stat { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.stat b { display: block; font-size: 38px; line-height: 1; color: var(--gold); margin-bottom: 8px; letter-spacing: -.03em; }
.stat span { font-size: 14px; color: #b9c6d4; }
.values { display: grid; gap: 14px; }
.value { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.value .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 165, 36, .14); color: var(--gold); flex: none; }
.value .ico svg { width: 22px; height: 22px; }
.value h3 { font-size: 17px; margin-bottom: 4px; }
.value p { color: #b9c6d4; margin: 0; font-size: 15px; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.faq summary {
	list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.contact-info > p { font-size: 18px; color: var(--muted); }
.contact-cards { display: grid; gap: 12px; margin-top: 28px; }
.contact-card {
	display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px;
	background: var(--white); border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease;
}
a.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex: none; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card strong { font-size: 16.5px; word-break: break-word; }

.form-card { padding: 36px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 22px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field label .req { color: #c2410c; }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid #cfd8e3; background: #fbfcfd;
	font: 400 15.5px/1.4 var(--font); color: var(--ink); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); background: var(--white); outline: none; box-shadow: 0 0 0 3px rgba(245, 165, 36, .35); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.consent a { color: var(--navy); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 8px; }
.notice { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; font-size: 15px; }
.notice-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--gold); color: var(--navy); padding: 56px 0; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin: 0; }
.cta-strip p { margin: 4px 0 0; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: #08121e; color: #9fb0c2; padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-tag { color: #7f91a5; }
.site-footer h4 { color: var(--white); font-size: 14px; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 13.5px;
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.mobile-bar { display: none; }
@media (max-width: 640px) {
	.mobile-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr;
		gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white);
		border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(12, 26, 43, .08);
	}
	.mobile-bar .btn { padding: 13px 10px; font-size: 14.5px; }
	body { padding-bottom: 72px; }
}

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 0; }
.entry { padding: 64px 0 96px; }
.entry-content { max-width: 760px; font-size: 17px; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content a { color: var(--gold-dark); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); }
.post-list { display: grid; gap: 24px; max-width: 760px; }
.post-list article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-list h2 { font-size: 22px; }
.meta { font-size: 14px; color: var(--muted); }
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
