/*
Theme Name: Gommonauti Sailornet
Theme URI: https://sailornet.gommonauti.it/
Author: Gommonauti.it
Description: Tema custom classico, responsive e SEO-oriented per landing page Sailornet / Gommonauti.it.
Version: 1.0.0
Text Domain: gommonauti-sailornet

Changelog interno:
- 1.0.0 / 2026-07-09
	Prima versione del tema custom classico per sailornet.gommonauti.it.
	Include layout responsive, header/footer controllati, landing front-page.php,
	CSS leggero, struttura semantica H1/H2/H3, CTA affiliate e FAQ.
*/

:root {
	--gs-blue: #0b3d5c;
	--gs-blue-dark: #062b41;
	--gs-blue-soft: #e8f6fb;
	--gs-cyan: #dff1f8;
	--gs-text: #153140;
	--gs-muted: #536b78;
	--gs-border: #d7e6ee;
	--gs-accent: #f2b705;
	--gs-white: #ffffff;
	--gs-bg: #dae9f2;
	--gs-shadow: 0 18px 55px rgba(6, 43, 65, 0.10);
	--gs-radius-lg: 30px;
	--gs-radius-md: 22px;
	--gs-max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--gs-text);
	background: var(--gs-bg);
	line-height: 1.65;
	font-size: 17px;
	text-rendering: optimizeLegibility;
}
a { color: var(--gs-blue); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--gs-blue-dark); }
img, svg { max-width: 100%; height: auto; }

.skip-link {
	position: absolute;
	left: -999px;
	top: 8px;
	z-index: 9999;
	padding: 10px 14px;
	background: #fff;
	color: var(--gs-blue-dark);
}
.skip-link:focus { left: 8px; }
	
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(215, 230, 238, 0.9);
	padding: 9px 0px;
	height: 110px;
	backdrop-filter: blur(10px);
}
.site-header-inner {
	max-width: var(--gs-max);
	margin: 0 auto;
	padding: 13px 20px;
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
}
.site-logo {
	display: inline-flex;
	flex-direction: column;
	gap: 0;
	color: #fff;
	text-decoration: none;
	line-height: 1.25;
	right: 20px;
	position: absolute;
	top: 9px;
}
.site-logo strong { font-size: 1.08rem; letter-spacing: -0.02em; }
.site-logo span { font-size: 0.82rem; color: var(--gs-accent); font-weight: 700; }
.site-nav {
	display: flex;
	gap: 15px;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	font-size: 0.94rem;
	padding: 46px 15px;
}
.site-nav a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	white-space: nowrap;
}
.site-nav a:hover, .site-logo strong:hover { color: #ffd34d }
.site-nav .nav-cta {
	padding: 9px 15px;
	border-radius: 999px;
	color: #132330;
	background: var(--gs-accent);
	box-shadow: 0 8px 22px rgba(242, 183, 5, 0.22);
}
.site-nav .nav-cta:hover { color: #132330; background: #ffd34d; }

.container { max-width: var(--gs-max); margin: 0 auto; padding: 0 20px; }
.hero {
	position: relative;
	overflow: hidden;
	margin: 34px auto 18px;
	padding: clamp(44px, 7vw, 78px) 24px clamp(42px, 6vw, 64px);
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius-lg);
	background:
		radial-gradient(circle at 12% 18%, rgba(242, 183, 5, 0.22), transparent 22%),
		radial-gradient(circle at 88% 10%, rgba(11, 61, 92, 0.13), transparent 26%),
		linear-gradient(135deg, var(--gs-blue-soft) 0%, #fff 56%, var(--gs-cyan) 100%);
	text-align: center;
	box-shadow: var(--gs-shadow);
}
.hero-label {
	display: inline-block;
	margin-bottom: 16px;
	padding: 7px 14px;
	border-radius: 999px;
	color: #fff;
	background: var(--gs-blue);
	font-weight: 850;
	font-size: 0.92rem;
	letter-spacing: 0.015em;
}
h1, h2, h3 { color: var(--gs-blue-dark); letter-spacing: -0.035em; }
h1 {
	max-width: 940px;
	margin: 0 auto 18px;
	font-size: clamp(2.18rem, 5.6vw, 4.85rem);
	line-height: 1.02;
}
h2 { margin: 0 0 18px; font-size: clamp(1.65rem, 3.1vw, 2.72rem); line-height: 1.14; }
h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 18px; }
.lead { max-width: 840px; font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--gs-muted); }
.hero .lead { margin: 0 auto 28px; }
.button-row { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	border-radius: 999px;
	color: #132330;
	background: var(--gs-accent);
	text-decoration: none;
	font-weight: 850;
	line-height: 1.15;
	box-shadow: 0 10px 24px rgba(242, 183, 5, 0.24);
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { color: #132330; background: #ffd34d; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(242, 183, 5, 0.30); }
.button.secondary { color: #fff; background: var(--gs-blue); box-shadow: 0 10px 24px rgba(11, 61, 92, 0.20); }
.button.secondary:hover { color: #fff; background: var(--gs-blue-dark); }
.section { padding: clamp(42px, 6vw, 64px) 0; border-bottom: 1px solid var(--gs-border); scroll-margin-top: 92px; }
.section:last-child { border-bottom: 0; }
.narrow { max-width: 1080px; }
.highlight { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--gs-border); border-radius: var(--gs-radius-md); background: var(--gs-blue-soft); }
.warning-note { padding: 18px 20px; border-left: 5px solid var(--gs-accent); border-radius: 14px; background: #fff8df; color: #55400a; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.card { min-height: 100%; padding: 24px; border: 1px solid var(--gs-border); border-radius: var(--gs-radius-md); background: #fff; box-shadow: 0 12px 32px rgba(6, 43, 65, 0.06); }
.card p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; }
.steps li { counter-increment: step; position: relative; margin-bottom: 12px; padding: 18px 18px 18px 66px; border: 1px solid var(--gs-border); border-radius: 18px; background: #fff; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 999px; color: #fff; background: var(--gs-blue); display: grid; place-items: center; font-weight: 900; }
.faq-list { display: grid; gap: 12px; }
details { padding: 18px 20px; border: 1px solid var(--gs-border); border-radius: 18px; background: #fff; }
summary { cursor: pointer; color: var(--gs-blue-dark); font-weight: 850; }
details p { margin: 14px 0 0; }
.final-cta {
	margin: clamp(38px, 6vw, 58px) 0;
	padding: clamp(34px, 6vw, 54px) 24px;
	border-radius: var(--gs-radius-lg);
	color: #fff;
	background: radial-gradient(circle at 12% 0%, rgba(242, 183, 5, 0.20), transparent 24%), linear-gradient(135deg, var(--gs-blue), var(--gs-blue-dark));
	text-align: center;
	box-shadow: var(--gs-shadow);
}
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 780px; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.88); }
.footer-keywords { padding: 0 0 22px; color: var(--gs-muted); font-size: 0.9rem; text-align: center; }
.site-footer { margin-top: 20px; padding: 34px 20px; border-top: 1px solid var(--gs-border); background: #f5f9fb; color: var(--gs-muted); font-size: 0.95rem; }
.site-footer-inner { max-width: var(--gs-max); margin: 0 auto; text-align: center;}
.site-footer a { color: var(--gs-blue-dark); font-weight: 700; }
@media (max-width: 920px) {
	.site-header-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
	.site-nav { justify-content: center; gap: 10px 14px; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.container, .site-header-inner, .site-footer { padding-left: 16px; padding-right: 16px; }
	.site-header {height: 100px; background-size: contain !important;}
	.site-logo {line-height: 1.05; right: 3px; top: 5px;}
	.site-logo strong {font-size: 14px !important;letter-spacing: 0.045em !important;;}
	.site-logo span {font-size: 12px !important;}	
	.site-nav {flex-wrap: wrap;}
	.site-nav a {font-size: 0.9rem; line-height: 0.3;}
	.hero {margin-top: 22px; border-radius: 22px; }
	.grid-3 {grid-template-columns: 1fr; }
	.button {width: 100%; max-width: 360px; }
	.steps li {padding-left: 58px; }
	.steps li::before {left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.button { transition: none; }
}
