/* ============================================================
   Recesso Facile — sito vetrina
   Palette (dal logo): Blu #1a62c8/#2474e4 · Arancio #f5621e
   Verde #4caf2f · Ambra #ffb020 · Navy #0b2a5b
   ============================================================ */

:root {
	/* Brand */
	--blue: #2474e4;
	--blue-600: #1a62c8;
	--blue-700: #134f9f;
	--navy: #0b2a5b;
	--orange: #f5621e;
	--orange-600: #e0530f;
	--amber: #ffb020;
	--green: #4caf2f;
	--green-600: #3d9322;

	/* Neutri */
	--ink: #14233c;        /* testo principale su chiaro */
	--muted: #5b6b82;      /* testo secondario su chiaro */
	--line: #e3eaf5;       /* bordi */
	--bg: #ffffff;
	--bg-soft: #f3f7ff;    /* sfondo pagina */

	/* Tinte sezioni */
	--tint-blue: #eef4ff;
	--tint-orange: #fff3ec;
	--tint-green: #eef8e9;

	--radius: 16px;
	--radius-sm: 11px;
	--radius-lg: 22px;
	--shadow: 0 16px 40px rgba(20, 50, 100, 0.12);
	--shadow-sm: 0 6px 18px rgba(20, 50, 100, 0.08);
	--shadow-pop: 0 22px 60px rgba(20, 50, 100, 0.18);
	--maxw: 1140px;
	--font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.18; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0 0 0.4em; }
p { margin: 0 0 1rem; }
a { color: var(--blue-600); }

img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }

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

/* Accessibilità: skip link + focus visibile */
.rfw-skip {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--blue-600); color: #fff;
	padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
	transition: top 0.2s ease;
}
.rfw-skip:focus { top: 12px; }

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px rgba(36, 116, 228, 0.28);
	border-radius: 6px;
}

/* ---------------- Bottoni ---------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font: inherit; font-weight: 700; line-height: 1;
	padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
	cursor: pointer; text-decoration: none;
	transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%); color: #fff; box-shadow: 0 10px 22px rgba(26, 98, 200, 0.32); }
.btn-primary:hover { box-shadow: 0 14px 28px rgba(26, 98, 200, 0.42); }
.btn-accent { background: linear-gradient(135deg, #ff7a3c 0%, var(--orange) 100%); color: #fff; box-shadow: 0 10px 22px rgba(245, 98, 30, 0.32); }
.btn-accent:hover { box-shadow: 0 14px 28px rgba(245, 98, 30, 0.42); }
.btn-ghost { background: #fff; color: var(--blue-600); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-ghost-dark { background: transparent; color: var(--navy); border-color: #c9d6ea; }
.btn-ghost-dark:hover { border-color: var(--blue); color: var(--blue-600); }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

/* ---------------- Header / nav ---------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.brand-logo { height: 40px; width: auto; display: block; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.primary-nav a { color: var(--navy); text-decoration: none; font-weight: 600; padding: 6px 2px; position: relative; }
.primary-nav a:hover { color: var(--blue-600); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.lang-switch a { color: var(--muted); text-decoration: none; font-weight: 700; padding: 2px 4px; border-radius: 6px; }
.lang-switch a[aria-current="true"] { color: var(--blue-600); background: var(--tint-blue); }

.nav-toggle {
	display: none; width: 44px; height: 44px; background: #fff;
	border: 2px solid var(--line); border-radius: 12px; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
	content: ""; position: absolute; left: 50%; transform: translateX(-50%);
	width: 20px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: 0.2s;
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

/* ---------------- Sezioni ---------------- */
.section { padding: clamp(52px, 8vw, 100px) 0; }
.section-light { background: var(--bg); }
.section-soft { background: var(--bg-soft); }
.section-tint-blue { background: var(--tint-blue); }
.section-peach { background: var(--tint-orange); }
.section-dark { background: linear-gradient(160deg, #0d3168 0%, var(--navy) 100%); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark, .section-dark p { color: rgba(226, 236, 252, 0.88); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 2.6rem; }
.section-intro { font-size: 1.12rem; color: var(--muted); max-width: 720px; margin-bottom: 2rem; }
.section-head .section-intro { margin-left: auto; margin-right: auto; }
.section-dark .section-intro { color: rgba(226, 236, 252, 0.82); }
.subhead { font-size: 1.25rem; margin: 2rem 0 1rem; color: var(--navy); }
.subhead.center { text-align: center; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--blue-600); background: var(--tint-blue);
	padding: 6px 14px; border-radius: 999px; margin: 0 0 14px;
}
.section-dark .eyebrow { color: #cfe0ff; background: rgba(255, 255, 255, 0.12); }

/* ---------------- Hero ---------------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 420px at 88% -8%, rgba(245, 98, 30, 0.16), transparent 60%),
		radial-gradient(820px 460px at 6% 110%, rgba(76, 175, 47, 0.14), transparent 60%),
		linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
	padding: clamp(56px, 9vw, 104px) 0 clamp(60px, 9vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-copy h1 { color: var(--navy); }
.hero-copy h1 .hi { color: var(--orange); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 42ch; }
.badge {
	display: inline-flex; align-items: center; gap: 9px;
	background: #fff; color: var(--orange-600);
	border: 1px solid #ffd9c4;
	padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 700; margin-bottom: 18px;
	box-shadow: var(--shadow-sm);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(245, 98, 30, 0.18); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-trust { font-size: 0.92rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hero-trust::before { content: "✓"; color: var(--green-600); font-weight: 800; }

/* Mock finestra (stile WooCommerce) */
.hero-card { display: flex; justify-content: center; }
.mock-window {
	width: 100%; max-width: 400px; background: #fff;
	border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
	overflow: hidden; border: 1px solid var(--line);
	transform: rotate(-1.2deg);
}
.mock-bar { background: var(--navy); padding: 13px 16px; display: flex; align-items: center; gap: 7px; }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.mock-bar span:nth-child(1) { background: #ff6058; }
.mock-bar span:nth-child(2) { background: #ffbd2e; }
.mock-bar span:nth-child(3) { background: #29c93f; }
.mock-bar em { margin-left: 8px; color: rgba(255, 255, 255, 0.7); font-style: normal; font-size: 0.82rem; }
.mock-body { padding: 22px; }
.mock-order { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.mock-order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-tag { font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.mock-status { font-size: 0.74rem; font-weight: 700; color: var(--green-600); background: var(--tint-green); padding: 4px 10px; border-radius: 999px; }
.mock-line { height: 11px; border-radius: 6px; background: #eef1f6; margin: 0 0 11px; }
.mock-line.lg { width: 72%; height: 14px; }
.mock-line.sm { width: 48%; }
.mock-recesso {
	display: inline-flex; align-items: center; gap: 9px; width: 100%; justify-content: center;
	margin-top: 6px; padding: 12px 14px; border: none; cursor: default;
	background: linear-gradient(135deg, #5cc23c 0%, var(--green) 100%); color: #fff;
	border-radius: 999px; font-weight: 700; font-size: 0.95rem; font-family: inherit;
	box-shadow: 0 8px 18px rgba(76, 175, 47, 0.32);
}
.mock-confirm {
	display: flex; align-items: center; gap: 10px; margin-top: 16px;
	font-size: 0.88rem; font-weight: 600; color: var(--navy);
}
.mock-btn { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 4px 10px rgba(76, 175, 47, 0.35); }

/* ---------------- Card / griglie ---------------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
	box-shadow: var(--shadow-sm); transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3, .card h4 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Card con icona (sezione plugin) */
.card-icon .ic {
	width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 14px; color: #fff;
}
.cards-4 .card-icon:nth-child(1) .ic { background: linear-gradient(135deg, #3b8bf0, var(--blue-600)); }
.cards-4 .card-icon:nth-child(2) .ic { background: linear-gradient(135deg, #ff8a4c, var(--orange)); }
.cards-4 .card-icon:nth-child(3) .ic { background: linear-gradient(135deg, #5cc23c, var(--green)); }
.cards-4 .card-icon:nth-child(4) .ic { background: linear-gradient(135deg, #ffc24d, var(--amber)); }

/* Card requisiti di legge (numerate, colorate) */
.req-card { position: relative; padding-top: 30px; border-top: 4px solid var(--blue); }
.cards-5 .req-card:nth-child(1) { border-top-color: var(--blue); }
.cards-5 .req-card:nth-child(2) { border-top-color: var(--orange); }
.cards-5 .req-card:nth-child(3) { border-top-color: var(--green); }
.cards-5 .req-card:nth-child(4) { border-top-color: var(--amber); }
.cards-5 .req-card:nth-child(5) { border-top-color: var(--blue-600); }
.req-num {
	position: absolute; top: -18px; left: 20px; width: 38px; height: 38px;
	background: var(--blue); color: #fff; border-radius: 12px;
	display: flex; align-items: center; justify-content: center; font-weight: 800;
	box-shadow: var(--shadow-sm);
}
.cards-5 .req-card:nth-child(2) .req-num { background: var(--orange); }
.cards-5 .req-card:nth-child(3) .req-num { background: var(--green); }
.cards-5 .req-card:nth-child(4) .req-num { background: var(--amber); }
.cards-5 .req-card:nth-child(5) .req-num { background: var(--blue-600); }

.risk-box {
	margin-top: 44px; background: linear-gradient(160deg, #0d3168, var(--navy)); color: #fff;
	border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow);
	border-left: 6px solid var(--orange);
}
.risk-box h3 { color: #fff; margin-top: 0; }
.risk-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.risk-list li { position: relative; padding-left: 30px; color: rgba(226, 236, 252, 0.92); }
.risk-list li::before {
	content: "!"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
	background: var(--orange); color: #fff; border-radius: 6px; font-weight: 800; font-size: 0.8rem;
	display: flex; align-items: center; justify-content: center;
}

/* ---------------- Steps + feature ---------------- */
.steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-ic {
	width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
	color: #fff; margin-bottom: 14px;
}
.steps .step:nth-child(1) .step-ic { background: linear-gradient(135deg, #3b8bf0, var(--blue-600)); }
.steps .step:nth-child(2) .step-ic { background: linear-gradient(135deg, #ff8a4c, var(--orange)); }
.steps .step:nth-child(3) .step-ic { background: linear-gradient(135deg, #5cc23c, var(--green)); }
.step h3 { margin: 0 0 8px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); }

.feat-list { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.feat-list li {
	display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px;
	box-shadow: var(--shadow-sm);
}
.check { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ---------------- Pricing ---------------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 840px; margin: 0 auto; }
.plan {
	position: relative; background: #fff; color: var(--ink); border-radius: var(--radius-lg);
	padding: 32px 30px; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.plan-alt { border: 2px solid var(--orange); }
.plan-badge { display: inline-block; align-self: flex-start; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); margin: 0 0 16px; }
.plan-badge-popular { background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff; }
.plan-alt .plan-badge { background: linear-gradient(135deg, #ff8a4c, var(--orange)); color: #fff; }
.plan-name { font-size: 1.35rem; margin: 0 0 6px; color: var(--navy); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.plan-price .amount { font-size: 2.8rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.plan-price .vat { font-weight: 700; color: var(--orange); }
.plan-price .period { color: var(--muted); }
.plan-renew { color: #44566f; font-size: 0.92rem; margin: 0 0 18px; }
.plan-feats { list-style: none; margin: 0 0 24px; padding: 0; }
.plan-feats li { padding: 9px 0 9px 30px; position: relative; border-top: 1px solid var(--line); }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; background: var(--tint-green); color: var(--green-600); border-radius: 50%; font-weight: 800; font-size: 0.78rem; display: flex; align-items: center; justify-content: center; }
.plan .btn { margin-top: auto; }
.price-note { text-align: center; color: rgba(226, 236, 252, 0.82); margin-top: 26px; }
.buy-feedback { max-width: 520px; margin: 16px auto 0; text-align: center; background: #fff3f2; color: #9a2420; border: 1px solid #f4c2bf; padding: 12px 16px; border-radius: var(--radius-sm); }
/* Le card prezzi sono bianche: forziamo testi scuri anche dentro la sezione navy. */
.section-dark .plan-name { color: var(--navy); }
.section-dark .plan-renew { color: #44566f; }
.section-dark .plan-feats li { color: var(--ink); }
.plan:not(.plan-alt) .plan-badge { color: #41526a; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 0; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: #fff; background: var(--blue); width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; background: var(--orange); }
.faq-answer { padding: 0 0 16px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---------------- Form (reso) ---------------- */
.reso-window { display: inline-flex; align-items: center; gap: 8px; background: var(--tint-green); color: var(--green-600); padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; margin-bottom: 20px; }
.reso-form { max-width: 540px; }
.field { margin: 0 0 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
	width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff;
	transition: border-color 0.14s ease, box-shadow 0.14s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 116, 228, 0.14); outline: none; }
.field-hint { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.req { color: var(--orange-600); }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-feedback { padding: 14px 16px; border-radius: var(--radius-sm); margin: 0 0 22px; font-weight: 600; }
.form-feedback.is-ok { background: var(--tint-green); color: #1d6b32; border: 1px solid #b6e0bf; }
.form-feedback.is-error { background: #fff3f2; color: #9a2420; border: 1px solid #f4c2bf; }

/* ---------------- Risultato (success/cancel) ---------------- */
.result-icon { width: 80px; height: 80px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.result-ok { background: linear-gradient(135deg, #5cc23c, var(--green)); color: #fff; box-shadow: 0 12px 26px rgba(76, 175, 47, 0.35); }
.result-neutral { background: linear-gradient(135deg, #ff8a4c, var(--orange)); color: #fff; box-shadow: 0 12px 26px rgba(245, 98, 30, 0.32); }
.result-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; max-width: 460px; margin: 22px auto; text-align: left; }
.result-meta dt { color: var(--muted); }
.result-meta dd { margin: 0; font-weight: 700; color: var(--navy); }
.result-meta code { background: var(--tint-blue); color: var(--blue-700); padding: 2px 8px; border-radius: 6px; word-break: break-all; }

/* ---------------- Pagina legale (termini) ---------------- */
.legal-updated { display: inline-block; background: var(--tint-blue); color: var(--blue-700); font-weight: 700; font-size: 0.85rem; padding: 7px 14px; border-radius: 999px; margin: 0 0 24px; }
.legal h2 { font-size: 1.25rem; margin: 1.8em 0 0.5em; }
.legal h2:first-of-type { margin-top: 0.6em; }
.legal p { color: var(--ink); }
.legal ul { margin: 0 0 1rem; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--blue-600); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: rgba(226, 236, 252, 0.82); padding: 52px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.brand-footer { display: inline-flex; background: #fff; padding: 9px 14px; border-radius: 14px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.brand-footer .brand-logo { height: 36px; }
.footer-brand p { color: rgba(226, 236, 252, 0.6); max-width: 34ch; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { color: rgba(226, 236, 252, 0.82); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: rgba(226, 236, 252, 0.55); }
.footer-bottom p { margin: 0; }
.footer-legal { display: grid; gap: 6px; max-width: 72ch; }
.footer-recaptcha { font-size: 0.8rem; color: rgba(226, 236, 252, 0.45); }
.footer-bottom a { color: rgba(226, 236, 252, 0.82); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ---------------- Modale checkout ---------------- */
.co-modal[hidden] { display: none; }
.co-modal {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: flex-start; justify-content: center;
	padding: 4vh 16px; overflow-y: auto;
}
.co-overlay { position: fixed; inset: 0; background: rgba(11, 42, 91, 0.55); backdrop-filter: blur(2px); }
.co-dialog {
	position: relative; z-index: 1; width: 100%; max-width: 560px;
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
	padding: 32px; animation: co-pop 0.18s ease;
}
@keyframes co-pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.co-close {
	position: absolute; top: 14px; right: 18px; font-size: 28px; line-height: 1;
	background: none; border: none; cursor: pointer; color: #99a6ba;
}
.co-close:hover { color: var(--navy); }
.co-dialog h2 { margin: 0 0 6px; font-size: 1.5rem; }
.co-plan-summary { color: var(--muted); margin: 0 0 18px; }
.co-plan-summary .co-plan-name { font-weight: 700; color: var(--navy); }
.co-plan-summary .co-price-net { font-weight: 700; color: var(--orange); }

.co-subhead { font-size: 1rem; margin: 18px 0 10px; color: var(--navy); }
.co-type { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 16px; }
.co-type legend { font-weight: 700; padding: 0 6px; color: var(--navy); }
.co-radio { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; font-weight: 600; cursor: pointer; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.co-note { font-size: 0.85rem; color: var(--muted); margin: 0 0 8px; }
.co-consent label { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.co-consent input { margin-top: 4px; }

.co-total {
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 14px 16px; margin: 6px 0 18px; display: flex; flex-direction: column; gap: 4px; font-size: 0.98rem;
}
.co-total .co-total-grand { font-size: 1.12rem; color: var(--navy); margin-top: 2px; }
.co-total strong { color: var(--navy); }

.co-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.co-secure { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 14px 0 0; }
.co-feedback { margin: 0 0 14px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
	.hero-grid { grid-template-columns: 1fr; }
	/* Su mobile: prima il testo introduttivo, poi la card di esempio. */
	.hero-copy { order: 1; }
	.hero-card { order: 2; }
	.cards-5, .cards-4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.nav-toggle { display: inline-block; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; padding: 10px 20px 20px;
		border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		display: none;
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav ul { flex-direction: column; gap: 0; }
	.primary-nav li { border-bottom: 1px solid var(--line); }
	.primary-nav a { display: block; padding: 14px 0; }
	.nav-actions { justify-content: space-between; padding-top: 12px; }
	.pricing { grid-template-columns: 1fr; }
	.feat-list { grid-template-columns: 1fr; }
	.cards-5, .cards-4 { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; }
	.co-dialog { padding: 22px; }
	.co-row { grid-template-columns: 1fr; }
	.co-actions { justify-content: stretch; }
	.co-actions .btn { flex: 1 1 auto; }
	.mock-window { transform: none; }
}
