/*
Theme Name: Orion Tech
Theme URI: https://www.oriontech.it/
Description: Tema child di Hello Elementor per il sito Orion Tech. Contiene lo stile del sito (layout a tessere), i font ospitati sul server e il menu accessibile. I contenuti si modificano con Elementor.
Author: Netycom
Template: hello-elementor
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later
Text Domain: orion-tech
*/

/* =========================================================
   Token
   ========================================================= */
:root {
	--o-navy: #0E1A36;
	--o-navy-2: #081126;
	--o-navy-3: #16244A;
	--o-blue: #0B6BB8;
	--o-blue-light: #4FB3FF;
	--o-blue-soft: #9FD3FF;
	--o-orange: #F07A1A;
	--o-orange-hover: #FF9440;
	--o-orange-text: #B4530B;
	--o-orange-light: #F7A35C;
	--o-orange-tint: #FFF1E6;
	--o-orange-deep: #8A3F06;
	--o-ink: #0E1A36;
	--o-ink-2: #3D4A63;
	--o-ink-3: #4A5670;
	--o-on-dark: #C9D4E5;
	--o-bg: #EDF1F7;
	--o-bg-soft: #F3F6FA;
	--o-sky: #DCEBFA;
	--o-line: #D5DEEA;
	--o-field: #7A879E;
	--o-error: #B3261E;
	--o-focus: #1E8FE0;
	--o-font-display: 'Outfit', system-ui, sans-serif;
	--o-font-body: 'DM Sans', system-ui, sans-serif;
	--o-radius-panel: 32px;
	--o-radius-tile: 28px;
}

html { scroll-padding-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	background: var(--o-bg);
	color: var(--o-ink);
	font-family: var(--o-font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.o-menu-open { overflow: hidden; }

body a { color: var(--o-blue); }
body a:hover { color: var(--o-ink); }
body p { margin-block: 0 0.8em; }
body p:last-child { margin-bottom: 0; }

/* Focus sempre visibile (WCAG 2.4.7 / 2.4.11) */
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body [tabindex]:focus-visible {
	outline: 3px solid var(--o-focus);
	outline-offset: 3px;
	border-radius: 6px;
}
body .o-dark a:focus-visible,
body .o-dark button:focus-visible,
body .o-menu a:focus-visible,
body .o-menu button:focus-visible { outline-color: var(--o-blue-soft); }

/* Salta al contenuto */
.o-skip {
	position: absolute; left: 16px; top: -120px; z-index: 1000;
	padding: 12px 20px; border-radius: 999px;
	background: var(--o-navy); color: #fff !important;
	font-weight: 600; text-decoration: none;
}
.o-skip:focus { top: 16px; }

.screen-reader-text,
.o-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Hello: contenuto pagina a tutta larghezza */
body .site-main { max-width: none; padding: 0; margin: 0; }
body .page-content > .elementor { width: 100%; }

/* =========================================================
   Struttura (container Elementor)
   ========================================================= */
body .e-con.o-wrap {
	--width: 100%;
	--padding-left: 24px;
	--padding-right: 24px;
	--padding-top: 0px;
	--padding-bottom: 0px;
	margin-inline: auto;
	max-width: min(100%, 1240px);
}
body .e-con.o-page { --padding-top: 28px; --padding-bottom: 20px; }

body .e-con.o-stack,
body .e-con.o-grid12,
body .e-con.o-auto,
body .e-con.o-btnrow,
body .e-con.o-col-main,
body .e-con.o-col-side,
body .e-con.o-col-cta,
body .e-con.o-s4,
body .e-con.o-s5,
body .e-con.o-s7,
body .e-con.o-s8,
body .e-con.o-tile-body,
body .e-con.o-header-nav,
body .e-con.o-foot-col,
body .e-con.o-header,
body .e-con.o-footer {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
}

body .e-con.o-panel {
	--padding-top: 56px; --padding-right: 56px; --padding-bottom: 56px; --padding-left: 56px;
	--border-radius: var(--o-radius-panel);
	background-color: #fff;
}
body .e-con.o-tile {
	--padding-top: 32px; --padding-right: 32px; --padding-bottom: 32px; --padding-left: 32px;
	--border-radius: var(--o-radius-tile);
	--overflow: hidden;
	position: relative;
}
body .e-con.o-step {
	--padding-top: 24px; --padding-right: 24px; --padding-bottom: 24px; --padding-left: 24px;
	--border-radius: 22px;
	background-color: var(--o-navy-3);
}

/* Colonne */
body .e-con.o-col-main { --flex-grow: 1; --flex-shrink: 1; --flex-basis: 480px; --width: auto; }
body .e-con.o-col-side { --flex-grow: 1; --flex-shrink: 1; --flex-basis: 340px; --width: auto; }
body .e-con.o-col-cta { --flex-grow: 0; --flex-shrink: 1; --flex-basis: 320px; --width: auto; }
body .e-con.o-foot-col { --flex-grow: 1; --flex-basis: 200px; --width: auto; }
body .e-con.o-foot-col--main { --flex-basis: 300px; }

/* Griglia a 12 colonne */
body .o-s4 { grid-column: span 4; }
body .o-s5 { grid-column: span 5; }
body .o-s6 { grid-column: span 6; }
body .o-s7 { grid-column: span 7; }
body .o-s8 { grid-column: span 8; }
body .o-r2 { grid-row: span 2; }
body .e-con.o-align-start { align-items: start; }

/* Sfondi */
body .e-con.o-bg-white { background-color: #fff; }
body .e-con.o-bg-navy { background-color: var(--o-navy); }
body .e-con.o-bg-navy2 { background-color: var(--o-navy-2); }
body .e-con.o-bg-blue { background-color: var(--o-blue); }
body .e-con.o-bg-orange { background-color: var(--o-orange); }
body .e-con.o-bg-sky { background-color: var(--o-sky); }

/* Testo chiaro su fondo scuro */
body .o-dark,
body .o-dark .elementor-heading-title,
body .o-dark .elementor-widget-text-editor { color: #fff; }
body .o-dark .elementor-widget-text-editor,
body .o-dark .o-body,
body .o-dark .o-tile-text { color: var(--o-on-dark); }
body .o-bg-blue.o-dark .elementor-widget-text-editor { color: #EAF3FC; }
body .o-dark a { color: var(--o-blue-soft); }
body .o-dark a:hover { color: #fff; }

/* Movimento leggero */
body .e-con.o-lift { transition: transform .2s ease; }
body .e-con.o-lift:hover { transform: translateY(-3px); }

/* =========================================================
   Tipografia (widget)
   ========================================================= */
body .elementor-heading-title { font-family: var(--o-font-display); color: inherit; }
body .o-h1 .elementor-heading-title {
	font-family: var(--o-font-display); font-weight: 500;
	font-size: clamp(36px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.025em; color: var(--o-ink);
}
body .o-post-title .elementor-heading-title { font-size: clamp(32px, 4.4vw, 56px); }
body .o-h2 .elementor-heading-title {
	font-family: var(--o-font-display); font-weight: 500;
	font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.015em; color: var(--o-ink);
}
body .o-h2--big .elementor-heading-title { font-size: clamp(30px, 4vw, 48px); }
body .o-h3 .elementor-heading-title {
	font-family: var(--o-font-display); font-weight: 500;
	font-size: 24px; line-height: 1.2; color: var(--o-ink);
}
body .o-tile--hero .o-h3.o-tile-title .elementor-heading-title { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; }
body .o-tile .o-tile-title .elementor-heading-title { font-size: 28px; line-height: 1.1; }
body .o-dark .o-h1 .elementor-heading-title,
body .o-dark .o-h2 .elementor-heading-title,
body .o-dark .o-h3 .elementor-heading-title { color: #fff; }
body .o-section-title { padding: 28px 8px 4px; }

body .o-eyebrow .elementor-heading-title {
	font-family: var(--o-font-body); font-size: 13px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; color: inherit;
}
body .o-c-orange .elementor-heading-title { color: var(--o-orange-text); }
body .o-dark .o-eyebrow .elementor-heading-title { color: var(--o-orange-light); }
body .o-bg-blue.o-dark .o-eyebrow .elementor-heading-title,
body .o-bg-orange .o-eyebrow .elementor-heading-title { color: inherit; }
body .o-bg-white .o-eyebrow .elementor-heading-title { color: var(--o-orange-text); }
body .o-bg-sky .o-eyebrow .elementor-heading-title { color: var(--o-orange-deep); }

body .o-subtitle .elementor-heading-title {
	font-family: var(--o-font-display); font-weight: 500;
	font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; color: var(--o-blue);
}
body .o-strong .elementor-heading-title { font-family: var(--o-font-body); font-size: 18px; font-weight: 600; color: var(--o-ink); }
body .o-close .elementor-heading-title {
	font-family: var(--o-font-body); font-size: 19px; line-height: 1.5; font-weight: 600; color: inherit;
}
body .o-close { border-top: 2px solid var(--o-orange); padding-top: 14px; }
body .o-bg-orange .o-close { border-top-color: var(--o-navy); }
body .o-num .elementor-heading-title { font-family: var(--o-font-display); font-size: 15px; font-weight: 500; color: var(--o-orange-text); }
body .o-num--big .elementor-heading-title { font-size: 40px; font-weight: 300; line-height: 1; color: var(--o-orange-light); }

body .o-lead { font-size: 18px; line-height: 1.6; color: var(--o-ink-2); max-width: 640px; }
body .o-body { font-size: 17px; line-height: 1.65; color: var(--o-ink-2); }
body .o-bg-orange .o-body { color: var(--o-ink); }
body .o-tile-text { font-size: 16px; line-height: 1.55; color: var(--o-ink-2); }
body .o-bg-orange .o-tile-text, body .o-bg-orange .elementor-widget-text-editor { color: var(--o-ink); }
body .o-bg-sky .elementor-widget-text-editor { color: #2B3A57; }
body .o-small { font-size: 15px; color: var(--o-ink-3); }
body .o-after { font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--o-ink); }
body .o-dark .o-after { color: #fff; }

/* Pill */
.o-pill {
	display: inline-flex; align-items: center; gap: 8px; margin: 0;
	padding: 8px 14px; border-radius: 999px;
	background: var(--o-orange-tint); color: var(--o-orange-deep);
	font-size: 14px; font-weight: 600;
}
.o-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--o-orange); }

/* =========================================================
   Pulsanti (area minima 44 px, WCAG 2.5.8)
   ========================================================= */
body .o-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
	font-family: var(--o-font-body); font-size: 16px; font-weight: 600; line-height: 1.2;
	text-decoration: none; box-shadow: none;
	transition: background-color .15s, color .15s;
}
body .o-btn .elementor-button .elementor-button-content-wrapper { gap: 8px; align-items: center; }
body .o-btn .elementor-button-icon svg { width: 14px; height: 14px; fill: currentColor; }
body .o-btn-sm .elementor-button { min-height: 44px; padding: 0 18px; font-size: 15px; }
body .o-btn-block .elementor-button { width: 100%; }

body .o-btn-orange .elementor-button { background: var(--o-orange); color: var(--o-navy); }
body .o-btn-orange .elementor-button:hover { background: var(--o-orange-hover); color: var(--o-navy); }
body .o-btn-navy .elementor-button { background: var(--o-navy); color: #fff; }
body .o-btn-navy .elementor-button:hover { background: var(--o-blue); color: #fff; }
body .o-btn-soft .elementor-button { background: var(--o-bg); color: var(--o-navy); }
body .o-btn-soft .elementor-button:hover { background: #DCE4EF; color: var(--o-navy); }
body .o-btn-line .elementor-button { background: transparent; color: var(--o-navy); box-shadow: inset 0 0 0 1.5px var(--o-navy); }
body .o-btn-line .elementor-button:hover { background: var(--o-navy); color: #fff; }
body .o-btn-white .elementor-button { background: #fff; color: var(--o-navy); }
body .o-btn-white .elementor-button:hover { background: var(--o-orange-light); color: var(--o-navy); }
body .o-btn-ghost .elementor-button { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); }
body .o-btn-ghost .elementor-button:hover { background: #fff; color: var(--o-navy); }
body .o-btn-chip .elementor-button {
	min-height: 44px; padding: 0 16px; font-size: 15px; font-weight: 500;
	background: #fff; color: var(--o-navy); box-shadow: inset 0 0 0 1.5px var(--o-line);
}
body .o-btn-chip .elementor-button:hover { box-shadow: inset 0 0 0 1.5px var(--o-navy); }
body .o-navlink .elementor-button { background: transparent; color: var(--o-navy); min-height: 44px; padding: 0 16px; }
body .o-navlink .elementor-button:hover { background: var(--o-bg); color: var(--o-navy); }
body .o-push { margin-top: auto; }

/* Sommario e chip */
.o-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 4px; }
.o-toc p { margin: 0 6px 0 0; font-weight: 600; }
.o-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.o-chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
	border-radius: 999px; background: #fff; border: 1.5px solid var(--o-line);
	color: var(--o-navy) !important; font-size: 15px; font-weight: 500; text-decoration: none;
}
.o-chip:hover { border-color: var(--o-navy); }
.o-chip[aria-current] { background: var(--o-navy); border-color: var(--o-navy); color: #fff !important; }

/* Briciole */
.o-crumbs { padding: 0 8px; }
.o-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--o-ink-2); }
.o-crumbs li + li::before { content: "/"; margin-right: 6px; color: #6B778C; }
.o-crumbs a { display: inline-flex; align-items: center; min-height: 24px; }

/* Segnaposto immagini */
.o-ph {
	display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: 150px; padding: 16px; background: #C9D7E8; color: #2B3A57;
	font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}

/* =========================================================
   Componenti di pagina
   ========================================================= */
body .o-hero-symbol img { width: 100%; max-width: 420px; height: auto; }
body .o-why-logo img { width: 120px; height: auto; background: #fff; border-radius: 16px; padding: 10px; }

/* Orbita decorativa nella tessera principale */
body .e-con.o-tile--hero { min-height: 520px; --justify-content: flex-end; }
body .o-tile--hero .o-push { margin-top: 0; }
body .o-orbit { position: absolute; right: -60px; top: -20px; width: 85%; pointer-events: none; }
body .o-orbit .o-orbit-svg { width: 100%; height: auto; display: block; }
body .o-tile--hero > .elementor-element:not(.o-orbit) { position: relative; }

/* Tessera con immagine in alto */
body .e-con.o-tile--media { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; }
body .e-con.o-tile-body { --padding-right: 32px; --padding-bottom: 32px; --padding-left: 32px; --padding-top: 20px; --flex-grow: 1; }

/* Video modello */
.o-video { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.o-video-frame {
	position: relative; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--o-navy);
}
.o-video-frame .o-orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.o-video-play {
	position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--o-orange);
	display: inline-flex; align-items: center; justify-content: center;
}
.o-video figcaption { font-size: 14px; color: var(--o-ink-2); padding-left: 6px; }

/* Elenco "cosa succede dopo" */
.o-next { list-style: none; counter-reset: n; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.o-next li { counter-increment: n; display: flex; gap: 14px; font-size: 16px; color: var(--o-on-dark); }
.o-next li::before { content: "0" counter(n); font-family: var(--o-font-display); font-size: 26px; line-height: 1; color: var(--o-orange-light); }

/* =========================================================
   Header (Theme Builder)
   ========================================================= */
.elementor-location-header { position: sticky; top: 0; z-index: 50; }
body .e-con.o-header { --padding-top: 16px; --padding-right: 24px; --padding-left: 24px; }
body .e-con.o-header-bar {
	--padding-top: 8px; --padding-right: 8px; --padding-bottom: 8px; --padding-left: 20px;
	--border-radius: 999px;
	--width: 100%;
	max-width: 1240px; margin-inline: auto;
	--flex-wrap: nowrap;
	background: rgba(255,255,255,.95);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 10px 30px -14px rgba(14,26,54,.3);
}
.o-logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.o-logo img { display: block; height: 36px; width: auto; }
.o-logo img + img { height: 17px; }
body .e-con.o-header-nav { --width: auto; --flex-wrap: nowrap; --flex-shrink: 0; }
body .e-con.o-header-bar > .o-logo-w { --container-widget-width: auto; flex: 0 1 auto; }

.o-burger {
	width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	background: var(--o-navy); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
}
.o-burger:hover { background: var(--o-blue); }
.o-burger svg { width: 20px; height: 20px; }

/* =========================================================
   Menu a tutto schermo
   ========================================================= */
.o-menu[hidden] { display: none !important; }
.o-menu {
	position: fixed; inset: 0; z-index: 1000; overflow-y: auto;
	background: var(--o-navy); color: #fff;
}
.o-menu__in { max-width: 1240px; margin: 0 auto; padding: 24px 24px 48px; display: flex; flex-direction: column; gap: 40px; box-sizing: border-box; }
.o-menu__top {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(255,255,255,.06);
}
.o-menu__top .o-logo img { height: 44px; }
.o-menu__close {
	width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; color: var(--o-navy); display: inline-flex; align-items: center; justify-content: center;
}
.o-menu__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 20px; }
.o-menu__nav { grid-column: span 7; }
.o-menu__side { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.o-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.o-menu__nav > ul > li > a,
.o-menu__nav > ul > li > .o-menu__label {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 8px 4px;
	border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none;
	font-family: var(--o-font-display); font-size: clamp(28px, 3.6vw, 44px); font-weight: 400; letter-spacing: -0.01em;
}
.o-menu__nav > ul > li > a:hover { color: var(--o-orange-light); }
.o-menu__nav > ul > li > a[aria-current="page"]::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--o-orange); }
.o-menu__nav .sub-menu {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px;
	padding: 4px 4px 20px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.o-menu__nav > ul > li.menu-item-has-children > a { border-bottom: 0; }
.o-menu__nav .sub-menu a { display: flex; align-items: center; min-height: 44px; color: var(--o-on-dark); text-decoration: none; font-size: 17px; }
.o-menu__nav .sub-menu a:hover, .o-menu__nav .sub-menu a[aria-current="page"] { color: #fff; text-decoration: underline; }
.o-menu__tile { padding: 32px; border-radius: 28px; display: flex; flex-direction: column; gap: 12px; }
.o-menu__tile--cta { background: var(--o-orange); color: var(--o-navy); }
.o-menu__tile--cta h2 { margin: 0; font-family: var(--o-font-display); font-weight: 500; font-size: 26px; color: var(--o-navy); }
.o-menu__tile--cta p { margin: 0; }
.o-menu__tile--links { background: var(--o-navy-3); padding-block: 20px; gap: 4px; }
.o-menu__tile--links a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }
.o-menu__tile--links a:hover { text-decoration: underline; }
.o-menu__note { font-size: 15px; color: var(--o-on-dark); padding: 0 8px; margin: 0; }
.o-menu__note a { color: var(--o-blue-soft); }
.o-link-btn {
	display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
	min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--o-navy); color: #fff !important;
	font-weight: 600; text-decoration: none;
}
.o-link-btn:hover { background: var(--o-blue); }

/* =========================================================
   Footer (Theme Builder)
   ========================================================= */
body .e-con.o-footer { --padding-top: 20px; --padding-bottom: 32px; }
body .e-con.o-foot-panel { --padding-top: 44px; --padding-bottom: 44px; }
body .o-foot-logo img { height: 20px; width: auto; }
body .o-foot-h .elementor-heading-title { font-family: var(--o-font-display); font-size: 17px; font-weight: 600; color: var(--o-ink); }
.o-foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.o-footer a { color: var(--o-ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.o-footer a:hover { color: var(--o-ink); text-decoration: underline; }
.o-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 4px 8px 0; font-size: 14px; color: var(--o-ink-2); margin: 0; }
.o-foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* =========================================================
   Modulo contatti (Elementor Pro)
   ========================================================= */
body .o-form .elementor-field-group { margin-bottom: 18px; }
body .o-form .elementor-field-label { font-weight: 600; font-size: 16px; color: var(--o-ink); margin-bottom: 6px; }
body .o-form .elementor-field-textual,
body .o-form select.elementor-field {
	min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--o-field); border-radius: 14px;
	background: #fff; font-family: var(--o-font-body); font-size: 16px; color: var(--o-ink);
}
body .o-form textarea.elementor-field-textual { min-height: 140px; }
body .o-form .elementor-field-textual:hover { border-color: var(--o-ink); }
body .o-form .elementor-field-textual[aria-invalid="true"] { border: 2px solid var(--o-error); }
body .o-form .elementor-field-subgroup .elementor-field-option { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-right: 20px; }
body .o-form .elementor-field-subgroup input,
body .o-form .elementor-acceptance-field { width: 22px; height: 22px; accent-color: var(--o-navy); margin: 0; }
body .o-form .elementor-field-type-acceptance .elementor-field-subgroup { display: flex; align-items: flex-start; gap: 12px; }
body .o-form .elementor-field-type-acceptance label { font-size: 16px; line-height: 1.45; }
body .o-form .elementor-field-type-acceptance > .elementor-field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
body .o-form .elementor-message-danger, body .o-form .elementor-error .elementor-message { color: var(--o-error); font-weight: 600; }
body .o-form .elementor-message-success { color: #1E6B34; font-weight: 600; }
body .o-form .elementor-button {
	min-height: 52px; padding: 0 32px; border-radius: 999px; background: var(--o-orange); color: var(--o-navy);
	font-family: var(--o-font-body); font-size: 16px; font-weight: 600;
}
body .o-form .elementor-button:hover { background: var(--o-orange-hover); color: var(--o-navy); }

/* =========================================================
   News e articolo
   ========================================================= */
.o-news { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.o-news__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px; }
.o-news__bar h2 { margin: 0; font-family: var(--o-font-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); }
.o-news__filters { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.o-news__count { padding: 0 8px; font-size: 15px; color: var(--o-ink-3); margin: 0; }
.o-news__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.o-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--o-ink) !important; transition: transform .2s; }
.o-card:hover { transform: translateY(-3px); }
.o-card:hover .o-card__title { text-decoration: underline; }
.o-card__media img, .o-card__media .o-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: flex; min-height: 0; }
.o-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.o-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--o-ink-3); margin: 0; }
.o-tag { padding: 4px 10px; border-radius: 999px; background: var(--o-orange-tint); color: var(--o-orange-deep); font-weight: 600; }
.o-card__title { margin: 0; font-family: var(--o-font-display); font-weight: 500; font-size: 22px; line-height: 1.2; }
.o-card__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--o-ink-2); }
.o-card__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--o-blue); }
.o-pager { display: flex; justify-content: center; }
.o-pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.o-pager .page-numbers { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--o-line); color: var(--o-navy); text-decoration: none; box-sizing: border-box; }
.o-pager .page-numbers.current { background: var(--o-navy); border-color: var(--o-navy); color: #fff; }

.o-ig-note { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 32px; border-radius: 28px; background: var(--o-orange-tint); }
.o-ig-note p { margin: 0; flex: 1 1 320px; font-size: 16px; }
.o-post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 15px; color: var(--o-ink-3); margin: 0; }
body .o-cover img { width: 100%; border-radius: 28px; aspect-ratio: 16 / 9; object-fit: cover; }
body .o-prose { font-size: 18px; line-height: 1.7; color: var(--o-ink-2); }
body .o-prose p, body .o-prose ul, body .o-prose ol { max-width: 70ch; }
body .o-prose h2, body .o-prose h3 { font-family: var(--o-font-display); font-weight: 500; color: var(--o-ink); margin: 1.2em 0 .4em; }
body .o-prose h2 { font-size: 26px; }
body .o-prose blockquote { margin: 8px 0; padding: 18px 22px; border-radius: 18px; background: #EEF3F9; font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--o-ink); }
.o-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--o-line); }
.o-share > span { font-weight: 600; margin-right: 4px; }
.o-related { padding: 32px; border-radius: 28px; background: var(--o-navy); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.o-related h2 { margin: 0; font-family: var(--o-font-display); font-weight: 500; font-size: 26px; line-height: 1.15; color: #fff; }
.o-related p { margin: 0; color: var(--o-on-dark); }
.o-related .o-eyebrow-t { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--o-orange-light); }
.o-related .o-link-btn { background: #fff; color: var(--o-navy) !important; }
.o-related .o-link-btn:hover { background: var(--o-orange-light); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
	body .o-s4, body .o-s5, body .o-s7, body .o-s8 { grid-column: 1 / -1; }
	body .o-r2 { grid-row: auto; }
	.o-menu__nav, .o-menu__side { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	body .o-hide-sm { display: none !important; }
	body .e-con.o-wrap { --padding-left: 12px; --padding-right: 12px; }
	body .e-con.o-panel { --padding-top: 28px; --padding-right: 22px; --padding-bottom: 28px; --padding-left: 22px; --border-radius: 24px; }
	body .e-con.o-tile { --padding-top: 24px; --padding-right: 24px; --padding-bottom: 24px; --padding-left: 24px; --border-radius: 22px; }
	body .e-con.o-tile--media { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; }
	body .e-con.o-tile-body { --padding-right: 24px; --padding-bottom: 24px; --padding-left: 24px; }
	body .e-con.o-header { --padding-top: 12px; --padding-right: 12px; --padding-left: 12px; }
	body .o-tile--hero { min-height: 440px; }
	body .o-btnrow .o-btn, body .o-btnrow .o-btn .elementor-button { width: 100%; }
	.o-menu__in { padding: 12px 12px 40px; }
	.o-ig-note { padding: 18px 22px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	body .e-con.o-lift:hover, .o-card:hover { transform: none; }
}

/* =========================================================
   v1.1: indice servizi, Instagram, logo Orion, immagini
   ========================================================= */

/* Indice dei servizi in home */
body .o-index__head { --width: 100%; }
.o-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.o-index__card {
	display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 10px 18px 10px 10px;
	border-radius: 20px; background: var(--o-bg-soft); color: var(--o-ink) !important; text-decoration: none;
	transition: background-color .15s;
}
.o-index__card:hover { background: var(--o-sky); }
.o-index__card img { width: 112px; height: 63px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.o-index__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.o-index__tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--o-orange-text); }
.o-index__title { font-family: var(--o-font-display); font-size: 19px; font-weight: 500; line-height: 1.2; }
.o-index__arrow { font-size: 20px; color: var(--o-blue); }
.o-index__card:hover .o-index__title { text-decoration: underline; }

/* Tessere con immagine */
body .e-con.o-tile--media { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; }
body .o-tile-media { width: 100%; }
body .o-tile-media .o-tile-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
body .o-tile--hero .o-tile-media .o-tile-img { aspect-ratio: 16 / 9; }
body .e-con.o-tile--hero { min-height: 0; --justify-content: flex-start; }
body .e-con.o-tile-body { --flex-grow: 1; --padding-top: 24px; }

/* Poster del video modello */
.o-video-frame .o-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.o-video-frame::after { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 54, .25); }
.o-video-frame .o-video-play { z-index: 1; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }

/* Fascia Instagram @lavorosicuro81 */
body .e-con.o-insta { --padding-top: 28px; --padding-bottom: 28px; }
.o-insta__badge {
	display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px;
	border-radius: 22px; background: var(--o-orange); color: var(--o-navy);
}
body .o-insta__icon { flex: 0 0 auto; }
body .o-insta__title .elementor-heading-title { font-size: clamp(24px, 2.6vw, 32px); }

/* "Un progetto di" + logo Orion */
.o-orion-link {
	display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
	padding: 10px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--o-line);
	color: var(--o-ink-2) !important; text-decoration: none; font-size: 14px; font-weight: 500;
}
.o-orion-link:hover { border-color: var(--o-navy); }
.o-orion-link img { height: 44px; width: auto; display: block; }
body .o-hero-orion { margin-top: 4px; }
body .o-foot-orion .o-orion-link { background: var(--o-bg-soft); }
body .o-foot-logo img { height: 22px; }

/* Pagine legali */
body .o-legal h2 { font-size: 24px; margin-top: 1.4em; }
body .o-legal ul { padding-left: 22px; }
body .o-legal li { margin-bottom: 6px; }
body .o-legal code { font-size: .9em; background: var(--o-bg-soft); padding: 1px 6px; border-radius: 6px; }

@media (max-width: 767px) {
	body .o-s6 { grid-column: 1 / -1; }
	.o-index { grid-template-columns: 1fr; }
	.o-index__card { min-height: 76px; gap: 12px; }
	.o-index__card img { width: 88px; height: 50px; }
	.o-index__title { font-size: 17px; }
	.o-insta__badge { width: 56px; height: 56px; border-radius: 18px; }
	.o-orion-link img { height: 36px; }
}
