/* =========================================================
   Daniele Colombo Psicologo - design system
   Basato sul prototipo approvato: soglia, profondità, arco salvia,
   piano verde bosco, soglia verticale terracotta.
   ========================================================= */

:root {
	--ivory: #f7f3ec;
	--paper: #fffcf7;
	--forest: #34483d;
	--forest-dark: #283a32;
	--ink: #242824;
	--muted: #667068;
	--sage: #dde4dd;
	--sage-soft: #eef0eb;
	--sand: #e9dfd1;
	--line: #cfd3cb;
	--accent: #b95732;
	--accent-dark: #a84828;
	--white: #fff;
	--serif: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
	--sans: "Avenir Next", Avenir, Arial, Helvetica, sans-serif;

	--radius: 0;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.62;
}

a {
	color: inherit;
	text-decoration: none;
}

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

h1, h2, h3, p {
	margin-top: 0;
}

h1, h2, h3 {
	color: var(--forest-dark);
	font-family: var(--serif);
	font-weight: 400;
	letter-spacing: -0.028em;
	line-height: 1.08;
}

h1 { font-size: clamp(2.6rem, 8vw, 4.2rem); }
h2 { font-size: clamp(2rem, 6vw, 3.2rem); }
h3 { font-size: 1.3rem; }

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

.skip-link:focus {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	width: auto;
	height: auto;
	clip: auto;
	background: var(--paper);
	padding: 0.5rem 1rem;
	z-index: 1000;
}

.eyebrow {
	color: var(--accent-dark);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	margin-bottom: 1.1rem;
	text-transform: uppercase;
}

.eyebrow.light {
	color: #efb79f;
}

.section {
	padding: 4rem 5vw;
}

.button {
	align-items: center;
	background: var(--accent);
	border: 1px solid var(--accent);
	color: var(--white);
	cursor: pointer;
	display: inline-flex;
	font: 500 0.93rem var(--sans);
	justify-content: center;
	min-height: 52px;
	padding: 0.85rem 1.4rem;
	transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
	background: var(--accent-dark);
	transform: translateY(-2px);
	color: var(--white);
	text-decoration: none;
}

.button-small {
	min-height: 44px;
	padding: 0.65rem 1.1rem;
}

.button-light {
	background: var(--paper);
	border-color: var(--paper);
	color: var(--forest);
}

.text-link {
	align-items: center;
	border: 1px solid var(--forest);
	background: var(--paper);
	color: var(--forest);
	display: inline-flex;
	font-weight: 500;
	min-height: 52px;
	padding: 0.8rem 1.4rem;
}

.text-link span {
	color: var(--accent);
	margin-left: 0.5rem;
}

.centered {
	display: table;
	margin: 2.5rem auto 0;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
	align-items: center;
	background: rgba(255, 252, 247, 0.97);
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	min-height: 76px;
	padding: 0 5vw;
	position: sticky;
	top: 0;
	z-index: 100;
}

.brand,
.footer-brand {
	align-items: center;
	display: flex;
	gap: 0.7rem;
	line-height: 1.1;
}

.brand strong,
.footer-brand strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.05rem;
	font-weight: 400;
}

.brand small {
	color: var(--muted);
	display: block;
	font-family: var(--serif);
	font-size: 0.78rem;
	margin-top: 0.2rem;
}

.mark {
	align-items: center;
	color: var(--forest);
	display: inline-flex;
	flex-shrink: 0;
	font-family: var(--serif);
	font-size: 1rem;
	height: 40px;
	justify-content: center;
	position: relative;
	width: 40px;
	text-indent: -9999px;
}

.mark::before,
.mark::after {
	border: 2px solid var(--forest);
	border-radius: 50% 6% 50% 6%;
	content: "";
	height: 31px;
	left: 3px;
	position: absolute;
	transform: rotate(18deg);
	width: 17px;
}

.mark::after {
	left: 15px;
	opacity: 0.6;
	transform: rotate(-18deg);
}

.footer-brand .mark::before,
.footer-brand .mark::after {
	border-color: var(--white);
}

/* Nav desktop */
.primary-nav {
	align-items: center;
	display: flex;
	gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav a {
	color: #3d443f;
	font-size: 0.85rem;
	padding: 1.6rem 0;
	position: relative;
	white-space: nowrap;
	display: block;
}

.primary-nav a::after {
	background: var(--accent);
	bottom: 1.2rem;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
	width: 100%;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
	transform: scaleX(1);
}

.header-cta {
	flex-shrink: 0;
}

/* Sottomenu (Disturbi Trattati, Terapia e Consulenza) */
.has-submenu {
	position: relative;
}

.submenu-toggle {
	display: none;
}

.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Hamburger mobile */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: none;
	border: 1px solid var(--line);
}

.nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--forest-dark);
}

/* =========================================================
   Homepage
   ========================================================= */
.home-hero,
.detail-hero {
	display: grid;
	grid-template-columns: 1fr;
	overflow: hidden;
}

.home-copy,
.detail-copy {
	align-items: flex-start;
	background: var(--sage-soft);
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: 3.5rem 1.25rem 4.5rem;
	position: relative;
	isolation: isolate;
}

.home-copy::before,
.detail-copy::before {
	background: var(--sage);
	border-radius: 0 100% 100% 0;
	content: "";
	height: 94%;
	left: -25%;
	position: absolute;
	top: -20%;
	width: 125%;
	z-index: -2;
}

.home-copy::after,
.detail-copy::after {
	background: var(--forest);
	bottom: 0;
	content: "";
	height: 105px;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: -1;
}

.home-copy h1,
.detail-copy h1 {
	margin: 0 0 1.1rem;
}

.home-copy h1::after,
.detail-copy h1::after,
.compact-hero h1::after,
.contact-hero h1::after {
	background: var(--accent);
	content: "";
	display: block;
	height: 2px;
	margin-top: 1.2rem;
	width: 40px;
}

.hero-statement,
.hero-intro {
	color: var(--forest-dark);
	font-family: var(--serif);
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	line-height: 1.35;
	margin-bottom: 0;
	max-width: 680px;
}

.hero-actions {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	margin-top: 1.8rem;
}

.availability {
	color: var(--paper);
	font-size: 0.78rem;
	margin: 1.6rem 0 -2.2rem;
	position: relative;
}

.home-portrait,
.detail-image {
	min-height: 340px;
	overflow: hidden;
	position: relative;
}

.home-portrait::before,
.detail-image::before {
	background: var(--accent);
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 28px;
	z-index: 3;
}

.home-portrait img,
.detail-image img {
	height: 100%;
	object-fit: cover;
	object-position: 43% center;
	width: 100%;
	min-height: 340px;
}

.detail-image img {
	object-position: center;
}

.photo-note {
	display: none;
}

/* Principi (trust strip) */
.principles {
	background: var(--paper);
	display: grid;
	gap: 0;
	grid-template-columns: 1fr;
	padding: 1rem 1.25rem 1.5rem;
}

.principles article {
	align-items: flex-start;
	border-top: 1px solid var(--forest);
	display: grid;
	gap: 1.2rem;
	grid-template-columns: 52px 1fr;
	padding: 1.4rem 0 0.8rem;
}

.principle-symbol {
	align-items: center;
	background: var(--sage);
	color: var(--accent);
	display: flex;
	font-family: var(--serif);
	font-size: 0.95rem;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.principles h3 {
	font-size: 1.15rem;
	margin: 0 0 0.5rem;
}

.principles p {
	color: var(--muted);
	font-size: 0.85rem;
	margin: 0;
}

.intro-grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}

.intro-grid h2 {
	max-width: 650px;
}

.lead-copy {
	color: #485149;
	font-family: var(--serif);
	font-size: 1.15rem;
	line-height: 1.7;
}

.path-section {
	background: var(--paper);
}

.path-grid {
	display: grid;
	gap: 0;
	grid-template-columns: 1fr;
	margin-top: 2rem;
}

.path-card {
	border-top: 1px solid var(--forest);
	display: flex;
	flex-direction: column;
	padding: 1.6rem 0;
	transition: background 160ms ease, transform 160ms ease;
}

.path-card:hover {
	background: var(--sage-soft);
	transform: translateY(-3px);
}

.path-card > span,
.detail-content article > span {
	color: var(--accent);
	font-family: var(--serif);
	font-size: 0.95rem;
}

.path-card h3 {
	margin: 1.4rem 0 0.7rem;
}

.path-card p {
	color: var(--muted);
	font-size: 0.9rem;
}

.path-card b {
	color: var(--forest);
	font-size: 0.8rem;
	margin-top: 0.8rem;
	font-weight: 600;
}

.methods {
	align-items: center;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}

.method-photo {
	border-left: 24px solid var(--accent);
}

.method-photo img {
	aspect-ratio: 1.3 / 1;
	object-fit: cover;
}

.method-copy > p:not(.eyebrow) {
	color: var(--muted);
	max-width: 600px;
}

.method-list {
	border-top: 1px solid var(--forest);
	display: grid;
	margin-top: 1.6rem;
}

.method-list a {
	border-bottom: 1px solid var(--line);
	color: var(--forest);
	font-family: var(--serif);
	font-size: 1.1rem;
	padding: 0.9rem 0;
}

.final-cta {
	align-items: flex-start;
	background: var(--forest);
	color: var(--white);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 3rem 1.25rem;
	position: relative;
}

.final-cta::after {
	border: 74px solid rgba(221, 228, 221, 0.11);
	border-radius: 50%;
	content: "";
	height: 310px;
	position: absolute;
	right: -60px;
	top: -180px;
	width: 310px;
}

.final-cta > * {
	position: relative;
	z-index: 1;
}

.final-cta h2 {
	color: var(--white);
	font-size: clamp(2rem, 7vw, 3rem);
	margin-bottom: 0.8rem;
}

.final-cta p:not(.eyebrow) {
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
	max-width: 700px;
}

.final-cta .button-light {
	margin-top: 1.8rem;
}

/* =========================================================
   Elenco condizioni (pagine hub: Disturbi Trattati, Terapia e Consulenza)
   ========================================================= */
.compact-hero {
	align-items: end;
	background: var(--sage-soft);
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	overflow: hidden;
	padding: 3.5rem 1.25rem 5rem;
	position: relative;
	isolation: isolate;
}

.compact-hero::before {
	background: var(--sage);
	border-radius: 0 100% 100% 0;
	content: "";
	height: 94%;
	left: -25%;
	position: absolute;
	top: -20%;
	width: 125%;
	z-index: -2;
}

.compact-hero::after {
	background: var(--forest);
	bottom: 0;
	content: "";
	height: 90px;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: -1;
}

.compact-hero h1 {
	font-size: clamp(2.4rem, 8vw, 4rem);
}

.compact-hero .hero-intro {
	font-size: 1.1rem;
	line-height: 1.6;
}

.side-quote {
	border-left: 24px solid var(--accent);
	background: var(--paper);
	padding: 1.6rem;
}

.side-quote span {
	color: var(--accent-dark);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.side-quote p {
	font-family: var(--serif);
	font-size: 1.1rem;
	margin: 0.8rem 0;
}

.side-quote a {
	color: var(--forest);
	font-size: 0.8rem;
	font-weight: 600;
}

.condition-list {
	display: grid;
}

.condition-list > a {
	align-items: center;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 1.2rem;
	grid-template-columns: 44px 1fr 24px;
	padding: 1.4rem 0.25rem;
	transition: background 160ms ease;
}

.condition-list > a:last-child {
	border-bottom: 1px solid var(--line);
}

.condition-list > a:hover {
	background: var(--paper);
}

.condition-list span,
.condition-list b {
	color: var(--accent);
	font-family: var(--serif);
}

.condition-list h2 {
	font-size: 1.5rem;
	margin: 0 0 0.3rem;
}

.condition-list p {
	color: var(--muted);
	margin: 0;
	font-size: 0.92rem;
}

/* =========================================================
   Pagine di dettaglio (Ansia, Depressione, Chi Sono, ecc.)
   ========================================================= */
.detail-copy {
	padding-bottom: 4.5rem;
}

.detail-copy::after {
	height: 90px;
}

.detail-copy .button {
	margin-top: 1.6rem;
}

.quote-band {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	padding: 2.5rem 1.25rem;
	text-align: center;
}

.quote-band p {
	color: var(--forest);
	font-family: var(--serif);
	font-size: clamp(1.35rem, 5vw, 1.8rem);
	line-height: 1.35;
	margin: 0 auto;
	max-width: 1120px;
}

.detail-sections {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

.detail-index {
	align-self: start;
	border-right: 0;
	border-bottom: 1px solid var(--forest);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.2rem;
	padding-bottom: 1rem;
}

.detail-index a {
	color: var(--muted);
	font-family: var(--serif);
	font-size: 0.95rem;
	transition: color 140ms ease;
}

.detail-index a:hover,
.detail-index a:focus {
	color: var(--accent);
	text-decoration: underline;
}

.detail-content article {
	border-top: 1px solid var(--forest);
	display: grid;
	gap: 0.8rem;
	grid-template-columns: 1fr;
	padding: 1.6rem 0;
	scroll-margin-top: 96px;
}

.detail-content article:last-child {
	border-bottom: 1px solid var(--forest);
}

.detail-content h2 {
	font-size: clamp(1.5rem, 5vw, 2.1rem);
	margin-bottom: 0.6rem;
}

.detail-content h3 {
	font-size: 1.15rem;
	margin-top: 1.2rem;
}

.detail-content p,
.detail-content li {
	color: var(--muted);
	font-size: 1rem;
	max-width: 780px;
}

.detail-content ul,
.detail-content ol {
	padding-left: 1.2rem;
}

.related {
	background: var(--sage-soft);
	text-align: center;
}

.related > div {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
}

.related span {
	border: 1px solid var(--forest);
	color: var(--forest);
	font-family: var(--serif);
	padding: 0.7rem 1.2rem;
	font-size: 0.9rem;
}

/* =========================================================
   Contatti
   ========================================================= */
.contact-hero {
	background: var(--sage-soft);
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	overflow: hidden;
	position: relative;
	isolation: isolate;
}

.contact-hero::before {
	background: var(--sage);
	border-radius: 0 100% 100% 0;
	content: "";
	height: 90%;
	left: -25%;
	position: absolute;
	top: -18%;
	width: 130%;
	z-index: -2;
}

.contact-hero::after {
	background: var(--forest);
	bottom: 0;
	content: "";
	height: 80px;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: -1;
}

.contact-hero > div:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3.5rem 1.25rem 2rem;
}

.contact-hero h1 {
	font-size: clamp(2.4rem, 8vw, 3.6rem);
}

.contact-direct {
	border-top: 1px solid var(--forest);
	display: grid;
	gap: 0.6rem;
	margin-top: 1.6rem;
	padding-top: 1.2rem;
}

.contact-direct a {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
}

.contact-direct span {
	color: var(--muted);
	min-width: 80px;
}

.contact-direct strong {
	color: var(--forest);
}

.contact-form {
	align-self: center;
	background: var(--paper);
	border-left: 24px solid var(--accent);
	box-shadow: 0 18px 45px rgba(42, 49, 44, 0.08);
	display: grid;
	gap: 0.9rem;
	margin: 0 1.25rem 3rem;
	padding: 1.8rem;
}

.contact-form .eyebrow {
	margin-bottom: 0.3rem;
}

.contact-form label,
.contact-form .nf-field-label label {
	color: var(--forest);
	font-size: 0.78rem;
	font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form .ninja-forms-field {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 0;
	color: var(--ink);
	font: inherit;
	min-height: 46px;
	padding: 0.7rem;
	width: 100%;
}

.contact-form textarea {
	min-height: 110px;
	resize: vertical;
}

.contact-form small {
	color: var(--muted);
	font-size: 0.7rem;
}

.studio-info {
	align-items: center;
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

.studio-info img {
	aspect-ratio: 1.35 / 1;
	border-left: 24px solid var(--accent);
	object-fit: cover;
}

.studio-info dl {
	border-top: 1px solid var(--forest);
	margin-top: 1.6rem;
}

.studio-info dl div {
	border-bottom: 1px solid var(--line);
	display: grid;
	grid-template-columns: 130px 1fr;
	padding: 0.75rem 0;
}

.studio-info dt {
	color: var(--muted);
}

.studio-info dd {
	color: var(--forest);
	margin: 0;
}

/* Messaggio di successo del form contatti (Ninja Forms) */
.nf-response-msg {
	background: var(--sage-soft);
	border-left: 4px solid var(--forest);
	color: var(--forest-dark);
	padding: 1rem 1.2rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.nf-response-msg:empty {
	display: none !important;
	padding: 0;
	margin: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	background: var(--forest-dark);
	color: rgba(255, 255, 255, 0.76);
	display: grid;
	font-size: 0.78rem;
	gap: 2rem;
	grid-template-columns: 1fr;
	padding: 3rem 1.25rem;
}

.site-footer > div {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.site-footer strong {
	color: var(--white);
	margin-bottom: 0.4rem;
}

.footer-brand {
	flex-direction: row;
}

.footer-brand strong {
	font-size: 1.1rem;
}

.footer-brand span {
	display: block;
}

.site-footer a:hover {
	text-decoration: underline;
}

.site-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	margin-top: 1rem;
	padding-top: 1.5rem;
	font-size: 0.72rem;
}

.site-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.6rem;
}

/* =========================================================
   Blocchi editoriali generici (pagine legali, testo libero)
   ========================================================= */
.page-content {
	background: var(--paper);
}

.page-content__header {
	padding: 3rem 1.25rem 1rem;
	max-width: 900px;
	margin: 0 auto;
}

.page-content__title {
	font-size: clamp(2rem, 7vw, 2.8rem);
}

.entry-content {
	max-width: 780px;
	margin: 0 auto;
	padding: 1rem 1.25rem 3rem;
	color: var(--muted);
}

.entry-content h2 {
	color: var(--forest-dark);
	font-size: 1.5rem;
	margin-top: 2.4rem;
}

.entry-content h3 {
	font-size: 1.15rem;
	margin-top: 1.6rem;
}

.entry-content a {
	color: var(--forest);
	text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.2rem;
}

/* =========================================================
   Breakpoint: tablet / desktop
   ========================================================= */
@media (min-width: 780px) {
	.section {
		padding: 6rem 5vw;
	}

	.home-hero,
	.detail-hero {
		grid-template-columns: 50% 50%;
		min-height: 480px;
	}

	.home-copy,
	.detail-copy {
		padding: 4rem 3vw 4rem 5vw;
	}

	.hero-actions {
		flex-direction: row;
		align-items: center;
	}

	.principles {
		grid-template-columns: repeat(3, 1fr);
		padding: 1.2rem 5vw 1.5rem;
	}

	.principles article + article {
		border-left: 1px solid var(--line);
		padding-left: 1.5rem;
	}

	.intro-grid {
		grid-template-columns: 0.9fr 1.1fr;
		gap: 5vw;
	}

	.path-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.path-card {
		padding: 1.6rem 1.5rem 1.6rem 0;
	}

	.path-card + .path-card {
		border-left: 1px solid var(--line);
		padding-left: 1.5rem;
	}

	.methods {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 5vw;
	}

	.final-cta {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 3.5rem 5vw;
	}

	.final-cta .button-light {
		margin-top: 0;
		margin-left: 2rem;
		flex-shrink: 0;
	}

	.compact-hero {
		grid-template-columns: 1.2fr 0.8fr;
		gap: 4vw;
		padding: 5rem 5vw;
	}

	.contact-hero {
		grid-template-columns: 1.1fr 0.9fr;
	}

	.contact-hero > div:first-child {
		padding: 4rem 0 4rem 5vw;
	}

	.contact-form {
		margin: 2.5rem 5vw 2.5rem 0;
		padding: 2.2rem;
	}

	.detail-sections {
		grid-template-columns: 0.32fr 1fr;
		gap: 4vw;
	}

	.detail-index {
		flex-direction: column;
		border-right: 1px solid var(--forest);
		border-bottom: 0;
		padding-right: 1.5rem;
		padding-bottom: 0;
		position: sticky;
		top: 100px;
	}

	.detail-content article {
		grid-template-columns: 44px 1fr;
	}

	.studio-info {
		grid-template-columns: 1fr 0.8fr;
		gap: 4vw;
	}

	.site-footer {
		grid-template-columns: 1.3fr repeat(3, 1fr);
		padding: 3.5rem 5vw;
	}

	.site-footer__legal {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1180px) {
	.site-header {
		padding: 0 7vw;
		min-height: 92px;
	}

	.section {
		padding: 7rem 7.2vw;
	}

	.nav-toggle {
		display: none;
	}

	.primary-nav {
		display: flex !important;
	}

	/* Sottomenu su desktop: dropdown a comparsa invece di lista sempre esposta. */
	.has-submenu {
		position: relative;
	}

	.has-submenu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 240px;
		background: var(--paper);
		border: 1px solid var(--line);
		box-shadow: 0 12px 30px rgba(40, 58, 50, 0.1);
		padding: 0.5rem 0;
		display: none;
		z-index: 50;
	}

	.has-submenu:hover .sub-menu,
	.has-submenu:focus-within .sub-menu {
		display: block;
	}

	.has-submenu .sub-menu a {
		padding: 0.65rem 1.2rem;
		white-space: nowrap;
	}

	.has-submenu .sub-menu a::after {
		display: none;
	}

	.mark {
		height: 44px;
		width: 44px;
	}

	.mark::before, .mark::after { height: 34px; width: 19px; left: 4px; }
	.mark::after { left: 17px; }

	.brand strong, .footer-brand strong { font-size: 1.2rem; }

	.home-copy {
		padding-left: 6vw;
		padding-right: 2.8vw;
	}

	.home-copy h1 { font-size: clamp(3.15rem, 3.75vw, 4.15rem); white-space: nowrap; }
	.detail-copy h1 { font-size: clamp(3.5rem, 4.8vw, 5.6rem); }

	.hero-statement, .hero-intro {
		font-size: clamp(1.55rem, 2.2vw, 2.25rem);
	}

	.home-portrait, .detail-image { min-height: 615px; }
	.home-portrait img, .detail-image img { min-height: 615px; }
	.home-portrait::before, .detail-image::before { width: 68px; }

	.method-photo, .studio-info img, .contact-form { border-left-width: 54px; }

	.compact-hero h1 { font-size: clamp(4rem, 6.5vw, 7.2rem); }
	.compact-hero .hero-intro { font-size: 1.3rem; }

	.contact-hero h1 { font-size: clamp(3.7rem, 5.5vw, 6rem); }

	.side-quote { border-left-width: 54px; padding: 2.2rem; }

	.detail-index { top: 130px; }
}

/* =========================================================
   Menu mobile: il prototipo nasconde la nav sotto 1180px senza
   sostituirla; qui aggiungiamo un menu funzionante ad accordion.
   ========================================================= */
@media (max-width: 1179.98px) {
	.nav-toggle {
		display: inline-flex;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		display: none;
		flex-direction: column;
		align-items: stretch;
	}

	.primary-nav.is-open {
		display: flex;
	}

	.primary-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1rem 1.25rem;
	}

	.primary-nav__list > li {
		border-bottom: 1px solid var(--line);
	}

	.primary-nav a {
		padding: 0.9rem 0;
	}

	.primary-nav a::after {
		display: none;
	}

	.has-submenu .submenu-toggle {
		display: inline-flex;
		position: absolute;
		top: 0;
		right: 0;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		background: none;
		border: 0;
		color: var(--forest);
	}

	.has-submenu .sub-menu {
		display: none;
		padding-left: 1rem;
	}

	.has-submenu.is-open .sub-menu {
		display: block;
	}

	.has-submenu.is-open .submenu-toggle i {
		transform: rotate(180deg);
	}

	.header-cta {
		display: none;
	}
}
