/*
Theme Name: On Tecnology
Theme URI: https://www.ontecnology.com
Author: On Tecnology
Description: Tema On Tecnology. Con Elementor attivo crea da solo le pagine del sito, con testi, foto e documenti inclusi.
Version: 3.3.6
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: ontecnology
*/

@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/inter-700.woff2") format("woff2");
}
@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/montserrat-700.woff2") format("woff2");
}
@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/montserrat-800.woff2") format("woff2");
}
@font-face {
	font-family: Montserrat;
	font-style: italic;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/montserrat-800-italic.woff2") format("woff2");
}

:root {
	--blue: #003366;
	--red: #13396a;
	--red-dark: #0c2848;
	--dark: #1a1a1a;
	--light: #f8f9fa;
	--muted: #4b5563;
	--line: #e5e7eb;
	--wrap: 80rem;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: #fff;
	color: var(--dark);
	font-family: Inter, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
	font-family: Montserrat, Inter, sans-serif;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 0.6rem;
}
p { margin: 0 0 1rem; }

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

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.skip-link:focus {
	position: fixed;
	z-index: 80;
	top: 0.5rem;
	left: 0.5rem;
	background: #fff;
	padding: 0.5rem 0.8rem;
}

.ot-svg {
	width: 1.15em;
	height: 1.15em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ot-svg circle { fill: currentColor; stroke: none; }

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	height: 5rem;
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s;
}
.site-header.is-stuck {
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

.header-bar {
	height: 5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.custom-logo-link { display: flex; line-height: 0; }
.custom-logo { height: 48px; width: auto; }
.brand-mark {
	width: 2.5rem;
	height: 2.5rem;
	display: grid;
	place-items: center;
	background: var(--red);
	color: #fff;
	font-weight: 700;
}
.brand-name {
	font-family: Montserrat, sans-serif;
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--blue);
}

.site-nav { display: flex; align-items: center; gap: 1.05rem; }
.site-nav ul {
	display: flex;
	align-items: center;
	gap: 1.05rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav a {
	color: #4b5563;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.site-nav a:hover,
.site-nav a.is-current,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a { color: var(--red); }
.site-nav a.nav-cta,
.site-nav .nav-cta > a { color: var(--red); font-weight: 700; }

.nav-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: var(--blue);
	padding: 0.4rem;
	cursor: pointer;
}
.nav-toggle .ot-svg { width: 1.7rem; height: 1.7rem; }

.eyebrow {
	margin: 0 0 1rem;
	color: var(--red);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-style: italic;
}
.eyebrow-blue { color: var(--blue); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 1rem 2rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid transparent;
	transition: 0.2s ease;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(19, 57, 106, 0.28); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--red); color: #fff; }

.hero {
	position: relative;
	height: min(100vh, 820px);
	min-height: 640px;
	overflow: hidden;
	color: #fff;
	background: var(--blue);
}
.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.55s ease;
}
.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}
.hero-photo,
.hero-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero-photo { object-fit: cover; }
.elementor .hero .hero-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.hero-overlay {
	background: linear-gradient(90deg, rgba(0, 24, 48, 0.7) 0%, rgba(0, 40, 80, 0.28) 46%, rgba(0, 51, 102, 0.05) 100%);
}
.hero-copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4.6rem;
}
.hero-text {
	width: min(38rem, 100%);
	padding-bottom: 0.2rem;
}
.hero-copy .eyebrow,
.hero-title,
.hero-lead { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.hero-title {
	color: #fff;
	font-size: clamp(1.9rem, 3.3vw, 3.05rem);
	margin: 0 0 0.75rem;
	max-width: 16em;
}
.hero .eyebrow,
.hero-title span {
	color: #fff;
	font-style: italic;
}
.hero-lead { color: #e5e7eb; font-size: 1.12rem; max-width: 34rem; margin-bottom: 1.35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}
.hero-arrow:hover { background: var(--red); }
.hero-prev { left: 1.1rem; }
.hero-next { right: 1.1rem; }
.hero-prev .ot-svg { transform: scaleX(-1); }
.hero-arrow .ot-svg { width: 1.35rem; height: 1.35rem; }
.hero-dots {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 1.4rem;
	display: flex;
	gap: 0.55rem;
	transform: translateX(-50%);
}
.hero-dot {
	width: 2.6rem;
	height: 0.28rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}
.hero-dot.is-active { background: var(--red); }

.partners { background: var(--light); border-block: 1px solid var(--line); padding: 3rem 0; }
.partners p {
	text-align: center;
	margin: 0 0 1.5rem;
	color: #9ca3af;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-style: italic;
}
.partners ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.1rem 1.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.partners li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 11.5rem;
	height: 4.4rem;
	margin: 0;
	padding: 0.55rem 0.7rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
}
.partners a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.elementor .partners img,
.partners img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 3.1rem;
	object-fit: contain;
}

.band { padding: 6rem 0; }
.band-head { text-align: center; margin-bottom: 3.5rem; }
.band-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.band-head h2::after,
.certs h2::after {
	content: "";
	display: block;
	width: 5rem;
	height: 4px;
	margin: 1.2rem auto 0;
	background: var(--red);
}
.certs h2::after { margin-left: 0; }

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.service-card {
	padding: 2rem;
	border: 1px solid #f3f4f6;
	background: #fff;
	transition: 0.3s ease;
}
.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.service-icon {
	width: 4rem;
	height: 4rem;
	display: grid;
	place-items: center;
	margin-bottom: 1.4rem;
	background: rgba(0, 51, 102, 0.05);
	color: var(--blue);
	transition: 0.3s;
}
.service-icon .ot-svg { width: 1.8rem; height: 1.8rem; }
.service-card:hover .service-icon { background: var(--red); color: #fff; }
.service-card h3 {
	color: var(--blue);
	font-family: Inter, sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.service-card p { color: var(--muted); }
.service-card a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--red);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.about {
	background: var(--dark);
	color: #fff;
	padding: 6rem 0;
	overflow: hidden;
}
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}
.about .eyebrow { color: #fff; }
.about h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.about p { color: #9ca3af; font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 1.5rem 0 2rem; }
.stats strong {
	display: block;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
}
.stats span {
	display: block;
	margin-top: 0.4rem;
	color: #6b7280;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.about-media { position: relative; }
.about-media img { width: 100%; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35); }
.about-badge {
	position: absolute;
	right: -1.2rem;
	bottom: -1.2rem;
	background: var(--red);
	color: #fff;
	padding: 1.3rem;
}
.about-badge .ot-svg { width: 2.2rem; height: 2.2rem; }

.certs-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	align-items: center;
}
.certs h2 {
	color: var(--blue);
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	text-transform: uppercase;
	font-style: italic;
}
.certs p { color: var(--muted); font-style: italic; }
.certs ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.certs a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.8rem;
	color: #6b7280;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
}
.certs img { height: 5rem; width: auto; transition: transform 0.2s; }
.certs a:hover img,
.certs a:hover .mark { transform: scale(1.08); }
.mark {
	width: 5rem;
	height: 5rem;
	display: grid;
	place-items: center;
	border: 2px solid var(--blue);
	color: var(--blue);
	font-family: Montserrat, sans-serif;
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
}

.cta {
	position: relative;
	overflow: hidden;
	padding: 5rem 0;
	color: #fff;
	text-align: center;
}
.cta-photo,
.cta-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-photo { object-fit: cover; opacity: 0.2; }
.cta-overlay { background: rgba(0, 51, 102, 0.9); }
.cta .wrap { position: relative; }
.cta h2 {
	color: #fff;
	font-size: clamp(2rem, 4vw, 3rem);
	font-style: italic;
	margin-bottom: 1rem;
}
.cta p { color: #d1d5db; font-size: 1.15rem; max-width: 46rem; margin-inline: auto; }
.cta .hero-actions { justify-content: center; }

.site-footer {
	background: var(--dark);
	color: #9ca3af;
	padding: 5rem 0 2.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3rem;
}
.site-footer h2 {
	color: #fff;
	font-family: Inter, sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	font-style: italic;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 1.6rem;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0.85rem 0; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.brand-light { margin-bottom: 1.2rem; }
.brand-light .custom-logo-link {
	display: inline-flex;
	background: #fff;
	padding: 0.45rem 0.7rem;
}
.social {
	width: 2.5rem;
	height: 2.5rem;
	margin-top: 1.4rem;
	display: grid;
	place-items: center;
	border: 1px solid #374151;
	border-radius: 999px;
	color: #9ca3af;
}
.social:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.45; }
.footer-contact .ot-svg { color: var(--red); margin-top: 0.2rem; flex: none; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-bar {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid #1f2937;
	font-size: 0.78rem;
	font-style: italic;
}
.footer-bar p { margin: 0; }

.site-main { padding-top: 5rem; }
.elementor-widget-shortcode .hero,
.elementor-widget-shortcode .partners { margin: 0; }
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-icon-box .elementor-icon-box-title {
	font-family: Montserrat, Inter, sans-serif;
}
.elementor-widget-text-editor { font-family: Inter, "Segoe UI", sans-serif; }
.ot-page-hero .ot-hero-lead,
.ot-page-hero .ot-hero-lead p { max-width: 38rem; }
.ot-page-hero:not(.is-center) .e-con-inner { padding-inline: 10px; box-sizing: border-box; }
.ot-page-hero.is-center .ot-hero-lead,
.ot-page-hero.is-center .ot-hero-lead p { margin-inline: auto; }

.ot-form label { display: block; margin: 0.9rem 0 0.3rem; font-weight: 600; }
.ot-form input,
.ot-form textarea { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line); background: #fff; }
.ot-form button { margin-top: 1rem; background: var(--red); color: #fff; border: 0; padding: 0.75rem 1.2rem; cursor: pointer; }
.ot-form-note { padding: 0.7rem 0.9rem; background: #eef4fa; }
.elementor-widget-text-editor.ot-on-dark,
.elementor-widget-text-editor.ot-on-dark p,
.elementor-widget-text-editor.ot-on-dark a { color: #fff; }
.page-mast,
.ot-mast {
	padding: 3.2rem 0 1.4rem;
	background: var(--light);
	border-bottom: 1px solid var(--line);
}
.page-mast h1,
.ot-mast h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--dark); }
.mast-lead,
.ot-lead { color: var(--muted); font-size: 1.15rem; max-width: 46rem; }
.ot-kicker {
	margin: 0 0 0.7rem;
	color: var(--red);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-style: italic;
}
.ot-section { padding: 3rem 0 4rem; }
.alignwide, .alignfull { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.ot-section.alignfull { width: 100%; }
.ot-section > .alignwide,
.ot-section .alignwide { width: min(var(--wrap), calc(100% - 2rem)); }

.ot-split, .ot-contact, .ot-grid-3, .ot-grid-2, .ot-cert-grid, .ot-clients, .ot-facts, .ot-soa {
	display: grid;
	gap: 1.25rem;
}
.ot-split, .ot-contact { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.ot-grid-3 > *,
.ot-grid-2 > *,
.ot-cert-grid > *,
.ot-soa > *,
.ot-clients > *,
.ot-facts > * {
	margin: 0 !important;
	align-self: stretch;
	height: auto;
}
.ot-grid-3, .ot-cert-grid, .ot-clients { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.ot-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ot-facts { grid-template-columns: repeat(4, 1fr); background: var(--blue); color: #fff; }
.ot-soa { grid-template-columns: repeat(5, 1fr); }

.ot-card, .ot-cert, .ot-person, .ot-badge, .ot-form-panel {
	background: #fff;
	border: 1px solid var(--line);
	padding: 1.4rem;
	height: 100%;
}
.ot-card h3, .ot-cert h3, .ot-person h3 { color: var(--blue); font-size: 1.05rem; }
.ot-card p, .ot-cert p { color: var(--muted); }
.ot-ico, .ot-index {
	display: inline-block;
	margin-bottom: 0.45rem;
	color: var(--red);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}
.ot-checks { margin: 0; padding: 0; list-style: none; }
.ot-checks li { position: relative; margin: 0.4rem 0; padding-left: 1.1rem; }
.ot-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 7px;
	height: 7px;
	background: var(--red);
}
.ot-fact { padding: 1.5rem 1.2rem; }
.ot-fact strong { display: block; font-size: 1.8rem; }
.ot-work {
	display: grid;
	grid-template-columns: 4rem 1fr;
	gap: 1rem;
	padding: 1.6rem 0;
	border-top: 1px solid var(--line);
}
.ot-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0.4rem 0 0.8rem; padding: 0; list-style: none; color: var(--muted); }
.ot-dl { display: grid; grid-template-columns: 10rem 1fr; gap: 0.4rem 1rem; margin: 0; }
.ot-dl dt { font-weight: 700; color: var(--muted); }
.ot-dl dd { margin: 0; }
.ot-soa-item { background: var(--blue); color: #fff; padding: 1rem; }
.ot-soa-item strong { display: block; font-size: 1.15rem; }
.ot-soa-item span { display: block; margin-top: 0.35rem; font-size: 0.86rem; color: rgba(255,255,255,0.82); }
.ot-badge img { width: 120px; height: auto; }

.ot-form-panel input,
.ot-form-panel textarea,
.ot-form-panel select {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 2px;
	padding: 0.7rem 0.8rem;
}
.ot-form-panel .wp-block-button__link,
.ot-form-panel button,
.ot-form-panel input[type="submit"] {
	background: var(--red);
	color: #fff;
	border: 0;
	border-radius: 2px;
	padding: 0.85rem 1.3rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.news-list, .entry { padding: 2.5rem 0 4rem; }
.news-item { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.news-item time, .entry time { color: var(--red); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.news-item h2 { font-size: 1.45rem; }
.news-item h2 a { color: var(--dark); text-decoration: none; }
.news-item h2 a:hover { color: var(--red); }
.entry { max-width: 48rem; }
.entry h1 { font-size: clamp(2rem, 4vw, 3rem); }

.wp-block-button__link {
	background: var(--red);
	color: #fff;
	border-radius: 2px;
	font-weight: 700;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (max-width: 960px) {
	.cards, .about-grid, .certs-grid, .footer-grid,
	.ot-split, .ot-contact, .ot-grid-3, .ot-cert-grid, .ot-facts, .ot-soa, .ot-clients {
		grid-template-columns: 1fr 1fr;
	}
	.certs ul { grid-template-columns: repeat(2, 1fr); }
	.about-badge { display: none; }
	.hero { height: 680px; min-height: 0; }
	.hero-arrow { display: none; }
}

@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: fixed;
		inset: 5rem 0 0 0;
		background: #fff;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0.5rem 1.25rem 2rem;
		overflow: auto;
	}
	body.admin-bar .site-nav { top: calc(5rem + 46px); }
	body.nav-open .site-nav { display: flex; }
	.site-nav ul { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
	.site-nav a { display: block; width: 100%; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
}

@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: fixed;
		inset: 5rem 0 0 0;
		background: #fff;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0.5rem 1.25rem 2rem;
		overflow: auto;
	}
	body.admin-bar .site-nav { top: calc(5rem + 46px); }
	body.nav-open .site-nav { display: flex; }
	.site-nav ul { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
	.site-nav a { display: block; width: 100%; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
	.cards, .about-grid, .certs-grid, .footer-grid, .stats,
	.ot-split, .ot-contact, .ot-grid-3, .ot-grid-2, .ot-cert-grid, .ot-facts, .ot-soa, .ot-clients, .ot-work, .ot-dl {
		grid-template-columns: 1fr;
	}
	.footer-bar { flex-direction: column; }
	.hero { height: 620px; }
	.hero-copy { bottom: 3.8rem; }
	.hero-title { font-size: 1.85rem; }
	.band, .about { padding: 3.5rem 0; }
}

.site-main:has(.sheet) { background: #f4f7fb; }

.sheet {
	width: min(80rem, calc(100% - 2rem));
	margin: 1.5rem auto 3.5rem;
	background: #fff;
	border: 1px solid var(--line);
}
.sheet h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2.1rem, 4vw, 3.15rem);
	color: var(--dark);
}
.sheet h2 {
	margin: 0 0 1.1rem;
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	color: var(--dark);
}
.sheet h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--blue); }
.sheet p { margin: 0 0 0.85rem; }

.sheet-open {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	min-height: 440px;
}
.sheet-copy {
	padding: clamp(1.6rem, 3vw, 2.8rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.sheet-open img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sheet-facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
	background: #13396a;
	color: #fff;
}
.sheet-facts li {
	min-height: 7.2rem;
	margin: 0;
	padding: 1.25rem 1.15rem;
	border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.sheet-facts li:last-child { border-right: 0; }
.sheet-facts strong {
	display: block;
	font-family: Montserrat, Inter, sans-serif;
	font-size: 1.55rem;
	line-height: 1.1;
}
.sheet-facts span { display: block; margin-top: 0.35rem; color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; }

.sheet-block { padding: clamp(1.5rem, 3vw, 2.4rem); border-top: 1px solid var(--line); }
.sheet-split {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2rem;
	align-items: stretch;
}
.sheet-data {
	margin: 0;
	border: 1px solid var(--line);
	height: 100%;
}
.sheet-data div {
	display: grid;
	grid-template-columns: 9.5rem 1fr;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--line);
}
.sheet-data div:last-child { border-bottom: 0; }
.sheet-data dt { font-weight: 700; color: var(--muted); }
.sheet-data dd { margin: 0; }

.sheet-cards, .sheet-soa, .sheet-badges {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}
.sheet-cards-3 { grid-template-columns: repeat(3, 1fr); }
.sheet-cards-4 { grid-template-columns: repeat(4, 1fr); }
.sheet-cards { margin-top: 0.4rem; }
.sheet-cards li, .sheet-soa li, .sheet-badges li {
	margin: 0;
	height: 100%;
	min-height: 12.5rem;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	padding: 1.2rem 1.15rem 1.3rem;
	background: #fff;
}
.sheet-cards-4 li { min-height: 16rem; }
.sheet-cards p, .sheet-badges span, .sheet-soa span {
	margin: 0 0 0.45rem;
	color: #13396a;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.sheet-cards a, .sheet-badges a { overflow-wrap: anywhere; }
.sheet-cards span:last-child, .sheet-soa span { color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 0.95rem; line-height: 1.5; }
.sheet-soa { grid-template-columns: repeat(5, 1fr); margin-top: 0.8rem; }
.sheet-soa li { min-height: 11rem; background: #13396a; border-color: #13396a; color: #fff; }
.sheet-soa strong { display: block; font-size: 1.25rem; margin-bottom: 0.4rem; }
.sheet-soa span { color: rgba(255, 255, 255, 0.86); }

.sheet-badges { grid-template-columns: repeat(2, 1fr); margin: 0 0 1.2rem; }
.sheet-badges li { min-height: 16rem; align-items: flex-start; justify-content: center; gap: 0.7rem; }
.sheet-badges img { height: 6.5rem; width: auto; }
.sheet-badges a { color: var(--blue); font-weight: 700; text-decoration: none; }
.sheet-note { max-width: 46rem; color: var(--muted); }
.sheet-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; margin: 1.1rem 0 0; }
.sheet-links a { font-weight: 700; }

.sheet-head { padding: clamp(1.6rem, 3vw, 2.6rem); }
.sheet-head p:last-of-type { max-width: 44rem; color: var(--muted); }
.sheet-jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.sheet-jump a {
	display: inline-flex;
	align-items: center;
	min-height: 2.6rem;
	padding: 0.35rem 0.9rem;
	border: 1px solid var(--line);
	color: #13396a;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 0.78rem;
}
.sheet-jump a:hover { background: #13396a; color: #fff; }

.work-card {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1.5rem;
	align-items: stretch;
	padding: 1.3rem 0;
	border-top: 1px solid var(--line);
}
.sheet-block .work-card:first-of-type { border-top: 0; padding-top: 0; }
.work-copy ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.8rem;
	margin: 0 0 0.7rem;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 0.92rem;
}
.work-copy ul li { margin: 0; }
.work-copy ul li + li::before { content: "·"; margin-right: 0.45rem; color: #8aa0b8; }
.ot-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.55rem;
	min-height: 100%;
}
.ot-shot {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	min-height: 0;
	padding: 0;
	border: 0;
	background: #13396a;
	cursor: zoom-in;
	overflow: hidden;
}
.ot-shot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ot-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4.5rem 5rem 4rem;
	background: #0b1524;
}
.ot-lightbox[hidden] { display: none !important; }
.ot-lightbox img {
	width: min(1100px, 100%);
	height: min(72vh, 760px);
	object-fit: cover;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.ot-lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.ot-lightbox figcaption {
	margin: 0.8rem 0 0;
	color: #fff;
	text-align: center;
	font-size: 0.95rem;
}
.ot-lightbox button {
	position: absolute;
	border: 0;
	background: #fff;
	color: #13396a;
	cursor: pointer;
	font-weight: 700;
}
.ot-lightbox-close { top: 1rem; right: 1rem; min-height: 2.6rem; padding: 0 0.9rem; }
.ot-lightbox-prev, .ot-lightbox-next {
	top: 50%;
	width: 2.7rem;
	height: 2.7rem;
	border-radius: 999px;
	transform: translateY(-50%);
	font-size: 1.4rem;
	line-height: 1;
}
.ot-lightbox-prev { left: 1rem; }
.ot-lightbox-next { right: 1rem; }
body.lightbox-open { overflow: hidden; }

.about-hero {
	display: grid;
	grid-template-columns: 0.86fr 1.14fr;
}
.about-hero img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
}
.about-people {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem 1.5rem;
	margin: 0;
	padding: 1rem 1.35rem;
	list-style: none;
	border-bottom: 1px solid var(--line);
}
.about-people li { margin: 0; }
.about-people p {
	margin: 0 0 0.2rem;
	color: #13396a;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.about-people strong { display: block; margin-bottom: 0.15rem; font-size: 0.95rem; }
.about-people a { font-size: 0.92rem; }

.about-board {
	display: grid;
	grid-template-columns: 1.15fr 1.05fr 0.8fr;
	align-items: start;
	border-top: 1px solid var(--line);
}
.about-board > section {
	padding: 1.35rem 1.25rem 1.5rem;
	border-right: 1px solid var(--line);
}
.about-board > section:last-child { border-right: 0; }
.about-board h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.about-board .sheet-data { height: auto; margin-top: 0.4rem; }
.about-board .sheet-data div { display: block; padding: 0.45rem 0.15rem; }
.about-board .sheet-data dt { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }

.about-badges { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.8rem; }
.about-badges img { height: 4.4rem; width: auto; display: block; }
.cert-line, .soa-line, .place-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cert-line li, .soa-line li {
	margin: 0;
	padding: 0.42rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.92rem;
}
.soa-line { margin-top: 0.7rem; }
.soa-line strong { color: #13396a; }
.soa-line span { font-weight: 700; }
.place-list div { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.place-list div:last-child { border-bottom: 0; }
.place-list dt { font-weight: 700; color: #13396a; }
.place-list dd { margin: 0.15rem 0 0; }

.cat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
	border-top: 1px solid var(--line);
}
.cat-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-right: 1px solid var(--line);
}
.cat-card:last-child { border-right: 0; }
.cat-cover .ot-shot { aspect-ratio: 1 / 1; }
.cat-body { padding: 1.15rem 1.2rem 1.45rem; }
.cat-body h2 {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #13396a;
}
.cat-work + .cat-work { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cat-work h3 { margin: 0 0 0.3rem; color: var(--dark); font-size: 1.12rem; }
.cat-meta { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.88rem; }
.cat-work p:last-child { margin: 0; }

@media (max-width: 960px) {
	.sheet-facts, .sheet-cards-4, .sheet-soa, .sheet-badges { grid-template-columns: 1fr 1fr; }
	.sheet-open, .sheet-split, .work-card, .sheet-cards-3, .about-hero, .about-board, .cat-grid { grid-template-columns: 1fr; }
	.sheet-open img, .about-hero img { height: 240px; }
	.about-board > section, .cat-card { border-right: 0; border-bottom: 1px solid var(--line); }
	.about-board > section:last-child, .cat-card:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
	.sheet-facts, .sheet-cards-3, .sheet-cards-4, .sheet-soa, .sheet-badges, .sheet-open, .sheet-split, .work-card {
		grid-template-columns: 1fr;
	}
	.sheet-open img, .about-hero img { height: 220px; }
	.about-people { grid-template-columns: 1fr; }
	.ot-lightbox { padding: 4.2rem 1rem 2rem; }
	.ot-lightbox img { height: min(58vh, 520px); }
	.ot-lightbox-prev { left: 0.4rem; }
	.ot-lightbox-next { right: 0.4rem; }
}
