/*
Theme Name: IES Nova
Theme URI: https://localhost/ies/
Author: Informatica e Sistemi
Description: Sito vetrina moderno per Informatica e Sistemi di Chirici David.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ies-nova
*/

:root {
	--navy: #071b34;
	--blue: #0d3f78;
	--sky: #eaf3fb;
	--orange: #f07a16;
	--ink: #182b3d;
	--muted: #617083;
	--line: #dce6ef;
	--white: #fff;
	--soft: #f6f8fb;
	--shadow: 0 24px 70px rgba(7, 27, 52, 0.13);
	--radius: 24px;
	--wrap: 1160px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--white);
	font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 17px;
	line-height: 1.65;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
}

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

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

.wrap {
	width: min(calc(100% - 40px), var(--wrap));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid rgba(7, 27, 52, 0.08);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(18px);
}

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

.brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--navy);
	text-decoration: none;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.brand img {
	width: auto;
	height: 58px;
}

.brand-name {
	max-width: 260px;
	line-height: 1.15;
}

.brand-name small {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 14px;
	font-weight: 800;
}

.site-nav a {
	color: var(--navy);
	text-decoration: none;
}

.site-nav a:hover {
	color: var(--orange);
}

.nav-cta,
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 21px;
	border-radius: 12px;
	color: var(--white) !important;
	background: var(--orange);
	box-shadow: 0 14px 28px rgba(240, 122, 22, 0.2);
	text-decoration: none;
	font-weight: 900;
	transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.btn:hover {
	background: #d76208;
	transform: translateY(-2px);
}

.btn-dark {
	background: var(--navy);
	box-shadow: 0 14px 28px rgba(7, 27, 52, 0.2);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: var(--navy);
	color: var(--white);
	cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
	display: block;
	width: 20px;
	height: 2px;
	margin: 5px auto;
	content: "";
	background: currentColor;
}

.hero {
	position: relative;
	overflow: hidden;
	color: var(--white);
	background: radial-gradient(circle at 15% 15%, rgba(240, 122, 22, 0.22), transparent 32%), linear-gradient(135deg, #071b34 0%, #0d315d 58%, #071b34 100%);
}

.hero-grid {
	display: grid;
	min-height: 690px;
	align-items: center;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 64px;
	padding: 86px 0;
}

.eyebrow {
	margin: 0 0 16px;
	color: var(--orange);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
	margin: 0;
	font-size: clamp(45px, 6vw, 78px);
	line-height: 1;
	letter-spacing: -0.06em;
}

.hero h1 span {
	color: #ffd7b6;
}

.lead {
	max-width: 720px;
	margin: 24px 0 0;
	color: #c7d5e4;
	font-size: 20px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 34px;
	color: #b8cadc;
	font-size: 14px;
	font-weight: 800;
}

.hero-points span::before {
	margin-right: 8px;
	color: var(--orange);
	content: "✓";
}

.hero-photo {
	position: relative;
	min-height: 470px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 34px;
	box-shadow: var(--shadow);
}

.hero-photo::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, transparent, rgba(7, 27, 52, 0.18));
}

.hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.status-card {
	position: absolute;
	z-index: 2;
	right: 22px;
	bottom: 22px;
	width: min(285px, calc(100% - 44px));
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 20px;
	background: rgba(7, 27, 52, 0.82);
	backdrop-filter: blur(14px);
}

.status-card strong {
	display: block;
	margin-bottom: 5px;
	color: var(--white);
	font-size: 20px;
}

.status-card p {
	margin: 0;
	color: #c7d5e4;
	font-size: 14px;
}

.section {
	padding: 96px 0;
}

.section-soft {
	background: var(--soft);
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 42px;
	margin-bottom: 42px;
}

.section-head h2,
.content h2 {
	max-width: 760px;
	margin: 0;
	color: var(--navy);
	font-size: clamp(34px, 4.6vw, 58px);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.section-head p {
	max-width: 430px;
	margin: 0;
	color: var(--muted);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.service-card {
	min-height: 300px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 10px 30px rgba(7, 27, 52, 0.05);
	transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.service-card:hover {
	border-color: rgba(240, 122, 22, 0.5);
	box-shadow: var(--shadow);
	transform: translateY(-5px);
}

.service-icon {
	display: grid;
	width: 54px;
	height: 54px;
	margin-bottom: 46px;
	place-items: center;
	border-radius: 16px;
	color: var(--white);
	background: var(--blue);
	font-size: 12px;
	font-weight: 900;
}

.service-card h3 {
	margin: 0 0 10px;
	color: var(--navy);
	font-size: 22px;
	line-height: 1.2;
}

.service-card p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}

.proof-grid {
	display: grid;
	align-items: center;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 72px;
}

.proof-photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.proof-photos img {
	width: 100%;
	height: 220px;
	border-radius: 22px;
	box-shadow: 0 14px 35px rgba(7, 27, 52, 0.1);
	object-fit: cover;
}

.proof-photos img:first-child {
	height: 454px;
	grid-row: span 2;
}

.check-list {
	display: grid;
	margin: 28px 0 0;
	padding: 0;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	list-style: none;
}

.check-list li {
	color: var(--navy);
	font-weight: 800;
}

.check-list li::before {
	margin-right: 8px;
	color: var(--orange);
	content: "✓";
}

.cta-band {
	padding: 54px;
	border-radius: 30px;
	color: var(--white);
	background: linear-gradient(135deg, var(--navy), var(--blue));
	box-shadow: var(--shadow);
}

.cta-band h2 {
	margin: 0;
	color: var(--white);
	font-size: clamp(34px, 4.5vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.cta-band p {
	max-width: 700px;
	color: #c7d5e4;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.page-hero {
	padding: 88px 0;
	color: var(--white);
	background: linear-gradient(135deg, var(--navy), var(--blue));
}

.page-hero .lead {
	color: #c7d5e4;
}

.content {
	max-width: 940px;
}

.content p,
.content li {
	color: var(--muted);
}

.contact-box {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 44px;
	align-items: start;
}

.contact-panel {
	padding: 30px;
	border-radius: 24px;
	background: var(--soft);
}

.contact-panel a {
	color: var(--blue);
	font-weight: 800;
}

.footer {
	padding: 58px 0 24px;
	color: #c6d3df;
	background: #04152a;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.9fr;
	gap: 44px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .brand {
	color: var(--white);
}

.footer .brand-name small {
	color: #aab9c8;
}

.footer-title {
	margin: 0 0 14px;
	color: var(--white);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-links {
	display: grid;
	gap: 8px;
}

.footer-links a {
	color: #c6d3df;
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--orange);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 22px;
	font-size: 13px;
}

@media (max-width: 980px) {
	.hero-grid,
	.proof-grid,
	.contact-box {
		grid-template-columns: 1fr;
	}

	.service-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.wrap {
		width: min(calc(100% - 28px), var(--wrap));
	}

	.header-inner {
		min-height: 74px;
	}

	.brand img {
		height: 46px;
	}

	.brand-name {
		display: none;
	}

	.menu-toggle {
		display: block;
	}

	.site-nav {
		position: fixed;
		inset: 74px 14px auto;
		display: none;
		padding: 22px;
		flex-direction: column;
		align-items: stretch;
		border: 1px solid var(--line);
		border-radius: 18px;
		background: var(--white);
		box-shadow: var(--shadow);
	}

	.menu-open .site-nav {
		display: flex;
	}

	.hero-grid {
		min-height: auto;
		padding: 60px 0;
	}

	.hero-photo {
		min-height: 320px;
	}

	.section {
		padding: 72px 0;
	}

	.section-head {
		display: block;
	}

	.section-head p {
		margin-top: 18px;
	}

	.service-grid,
	.check-list,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.proof-photos img,
	.proof-photos img:first-child {
		height: 190px;
		grid-row: auto;
	}

	.cta-band {
		padding: 34px 24px;
	}

	.footer-bottom {
		flex-direction: column;
	}
}
