/* ==========================================================================
   GEORES — Restructura & Design
   Conversione 1:1 dei token e delle utility Tailwind usati dal progetto Base44
   (src/index.css + tailwind.config.js + classi dei componenti src/components/geores).
   Nessun framework: CSS scritto a mano, mobile-first, breakpoint Tailwind
   sm 640 · md 768 · lg 1024 · xl 1280.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
	font-family: "Playfair Display";
	src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Design tokens (Base44 :root) ---------- */
:root {
	--g-ink: #1a1a1a;            /* --anthracite: 0 0% 10% */
	--g-gold: #fab914;           /* --geores-gold: 43 96% 53% */
	--g-gold-dark: #8a6300;      /* testo oro accessibile su bianco (link nel testo) */
	--g-white: #fff;
	--g-muted: #737373;          /* --muted-foreground: 0 0% 45.1% */
	--g-concrete: #f4f4f5;       /* --concrete: 240 5% 96% */
	--g-line: rgba(26, 26, 26, .1);
	--g-line-strong: rgba(26, 26, 26, .15);
	--g-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--g-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	/* GEORES motion system: every transition on the site uses these tokens. */
	--geores-motion-fast: 320ms;     /* hover, colour, CTA line */
	--geores-motion-medium: 600ms;   /* text reveal, page transition steps */
	--geores-motion-slow: 950ms;     /* titles, images, lines being drawn */
	--geores-stagger: 90ms;
	--geores-ease: cubic-bezier(.22, 1, .36, 1);      /* soft ease-out: reveals, lines */
	--geores-ease-soft: cubic-bezier(.33, 1, .68, 1); /* hover micro-interactions */
	--geores-ease-inout: cubic-bezier(.65, 0, .35, 1); /* page transition curtain */
	--g-ease: var(--geores-ease);
	--g-gutter: 24px;
	--g-header-h: 84px;
	/* Editorial type scale — one system for every homepage section (values of the approved Profilo band). */
	--g-fs-label: 11px;                              /* .g-eyebrow, uppercase .3em */
	--g-fs-title: clamp(2rem, 5vw, 4.5rem);          /* section title (Playfair 400, lh 1) */
	--g-fs-subtitle: clamp(1.5rem, 2.1vw, 1.875rem); /* secondary serif title: 24 → 30px */
	--g-fs-lead: 17px;                               /* editorial text (18px from tablet) */
	--g-lh-lead: 1.625;
	--g-gap-label-title: 24px;                       /* label → section title */
	--g-gap-label-item: 12px;                        /* label → secondary title (items, bands) */
	--g-gap-title-body: 48px;                        /* section title → content */
}
@media (min-width: 768px) {
	:root { --g-gutter: 40px; --g-header-h: 104px; --g-fs-lead: 18px; }
}
@media (max-width: 767px) {
	/* Mobile: shorter and lighter movement. */
	:root { --geores-motion-medium: 500ms; --geores-motion-slow: 800ms; --geores-stagger: 70ms; }
}
@media (prefers-reduced-motion: reduce) {
	:root { --geores-motion-fast: 150ms; --geores-motion-medium: 250ms; --geores-motion-slow: 300ms; --geores-stagger: 0ms; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--g-white);
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.g-lock { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, h3, h4, h5, h6, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--g-gold); outline-offset: 3px; }
::selection { background: var(--g-gold); color: var(--g-ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.g-skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px;
	background: var(--g-ink); color: var(--g-white); font-size: 13px; letter-spacing: .08em;
	transform: translateY(-200%); transition: transform .2s;
}
.g-skip-link:focus { transform: none; }
.g-main { display: block; outline: none; }
.g-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Icons ---------- */
.g-icon { width: 16px; height: 16px; flex-shrink: 0; }
.g-icon--20 { width: 20px; height: 20px; }
.g-icon--28 { width: 28px; height: 28px; }
.g-icon--32 { width: 32px; height: 32px; }
.g-icon--40 { width: 40px; height: 40px; }
.g-icon--gold { color: var(--g-gold); }
.g-icon-circle {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 44px; height: 44px; border-radius: 50%;
	background: rgba(250, 185, 20, .15); color: var(--g-gold);
}
.g-icon-circle .g-icon { width: 20px; height: 20px; }
.g-icon-circle--sm { width: 36px; height: 36px; }

/* ---------- Layout ---------- */
.g-container { width: 100%; max-width: calc(1600px + 2 * var(--g-gutter)); margin-inline: auto; padding-inline: var(--g-gutter); } /* Base44: px-6/md:px-10 outside, max-w-[1600px] inside */
.g-section { padding-block: 80px; }
.g-section--flush-top { padding-top: 0; padding-bottom: 96px; }
@media (min-width: 768px) {
	.g-section { padding-block: 112px; }
	.g-section--flush-top { padding-top: 0; padding-bottom: 128px; }
}
.g-band { padding-block: 80px; }
@media (min-width: 768px) { .g-band { padding-block: 112px; } }
.g-band--concrete { background: var(--g-concrete); }
.g-band--dark { background: var(--g-ink); color: var(--g-white); }
.g-grid-2 { display: grid; gap: 20px; }
@media (min-width: 640px) { .g-grid-2 { grid-template-columns: 1fr 1fr; } .g-field--full { grid-column: 1 / -1; } }

/* ---------- Typography atoms ---------- */
.g-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 11px; font-weight: 500; line-height: 1.4;
	letter-spacing: .3em; text-transform: uppercase; color: var(--g-muted);
}
.g-eyebrow--gold { color: var(--g-gold); }
.g-eyebrow--rule { color: var(--g-gold); letter-spacing: .32em; }
.g-eyebrow--rule::before { content: ""; display: block; width: 32px; height: 1px; background: var(--g-gold); }
.g-eyebrow .g-icon { width: 14px; height: 14px; }
.g-display {
	font-family: var(--g-serif); font-weight: 400; line-height: 1;
	letter-spacing: -.02em; color: var(--g-ink);
}
.g-display span, .g-profilo__title span { color: var(--g-gold); }
/* GEORES signature: one gold word / short phrase per editorial title (same gold as the logo). */
.g-accent { color: var(--g-gold); }
/* Shared editorial classes (type scale above). */
.g-section-title { margin-top: var(--g-gap-label-title); font-size: var(--g-fs-title); }
/* Balanced lines: no gold word left alone on the last line (same size, only the break points change). */
.g-section-title, .g-page-hero__title, .g-home-services__title { text-wrap: balance; }
.g-section-subtitle { font-family: var(--g-serif); font-weight: 400; font-size: var(--g-fs-subtitle); line-height: 1.2; letter-spacing: -.005em; color: var(--g-ink); }
.g-lead { font-size: var(--g-fs-lead); line-height: var(--g-lh-lead); color: rgba(26, 26, 26, .7); }
.g-lead p + p { margin-top: 1.1em; }

/* Editorial line link (Base44 "Scopri di più ——") */
.g-line-link {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--g-sans); font-size: 11px; font-weight: 500; line-height: 1.4;
	letter-spacing: .3em; text-transform: uppercase;
	transition: color var(--geores-motion-fast) var(--geores-ease-soft);
	-webkit-tap-highlight-color: transparent;
}
/* The short line says "interactive"; on hover it is drawn longer and turns GEORES gold. */
.g-line-link__rule {
	display: block; width: 32px; height: 1px; background: currentColor; transform-origin: left center;
	transition: width 420ms var(--geores-ease-soft), background-color var(--geores-motion-fast) var(--geores-ease-soft), transform var(--geores-motion-fast) var(--geores-ease);
}
.g-line-link__arrow { width: 16px; height: 16px; color: var(--g-gold); transition: transform var(--geores-motion-fast) var(--geores-ease-soft); }
.g-line-link:focus-visible .g-line-link__rule { width: 72px; background-color: var(--g-gold); }
@media (hover: hover) {
	.g-line-link:hover .g-line-link__rule { width: 72px; background-color: var(--g-gold); }
	.g-line-link:hover .g-line-link__arrow { transform: translateX(5px); }
}
@media (hover: none) {
	/* Touch: the line stays visible; a tap stretches it for a moment (no persistent animation). */
	.g-line-link:active .g-line-link__rule { width: 56px; background-color: var(--g-gold); transition-duration: 160ms; }
}
.g-line-link--light { color: rgba(255, 255, 255, .9); }
.g-line-link--light:hover { color: var(--g-gold); }
.g-line-link--gold { color: var(--g-gold); }
.g-line-link--gold-hover-white:hover { color: var(--g-white); }
.g-line-link--dark { color: var(--g-ink); }
.g-line-link--dark:hover { color: var(--g-gold); }
.g-band--dark .g-line-link--gold:hover { color: var(--g-white); }
.g-section .g-line-link--gold, .g-contact .g-line-link--gold, .g-article .g-line-link--gold, .g-inline-cta .g-line-link--gold { color: var(--g-gold-dark); }
.g-section .g-line-link--gold .g-line-link__rule, .g-inline-cta .g-line-link--gold .g-line-link__rule { background: var(--g-gold); }
.g-section .g-line-link--gold:hover, .g-inline-cta .g-line-link--gold:hover { color: var(--g-ink); }

/* Rectangular button (form submit) — no pill shapes */
.g-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 16px 26px; background: var(--g-gold); color: var(--g-ink);
	font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
	border: 1px solid var(--g-gold); border-radius: 0;
	transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.g-button .g-icon { transition: transform .3s; }
.g-button:hover { background: var(--g-ink); border-color: var(--g-ink); color: var(--g-white); }
.g-button:hover .g-icon { transform: translateX(3px); }
.g-button:disabled { opacity: .4; pointer-events: none; }
.g-button--sm { padding: 12px 20px; font-size: 11px; }

/* ---------- Reveal (once): label → title → text → CTA, staggered by assets/js/motion.js ---------- */
.js [data-reveal] {
	opacity: 0; transform: translate3d(0, 20px, 0);
	transition: opacity var(--geores-motion-medium) var(--geores-ease) var(--d, 0s), transform var(--geores-motion-medium) var(--geores-ease) var(--d, 0s);
}
/* Large Playfair titles: a longer, slower rise — no scale, the type never deforms. */
.js :is(h1, h2, .g-display)[data-reveal] {
	transform: translate3d(0, 28px, 0);
	transition-duration: var(--geores-motion-slow);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Lines inside a revealed group are drawn after the text appears. */
.js [data-reveal].g-eyebrow--rule::before, .js [data-reveal] .g-line-link__rule {
	transform: scaleX(0); transform-origin: left center;
}
.js [data-reveal].g-eyebrow--rule::before {
	transition: transform var(--geores-motion-slow) var(--geores-ease) var(--d, 0s);
}
.js [data-reveal] .g-line-link__rule {
	transition: width 420ms var(--geores-ease-soft), background-color var(--geores-motion-fast) var(--geores-ease-soft), transform 800ms var(--geores-ease) calc(var(--d, 0s) + 280ms);
}
.js [data-reveal].is-in.g-eyebrow--rule::before, .js [data-reveal].is-in .g-line-link__rule { transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal], .js :is(h1, h2, .g-display)[data-reveal] { transform: none; transition: opacity .3s linear; }
	.js [data-reveal].g-eyebrow--rule::before, .js [data-reveal] .g-line-link__rule { transform: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.g-header {
	position: fixed; inset: 0 0 auto; z-index: 40;
	color: var(--g-ink);
	transition: background-color .3s, border-color .3s, color .3s, backdrop-filter .3s;
	border-bottom: 1px solid transparent;
}
.g-header[data-variant="home"] { color: rgba(255, 255, 255, .88); }
.g-header.is-scrolled {
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	color: rgba(26, 26, 26, .82);
}
.g-header[data-variant="inner"].is-scrolled { border-bottom-color: rgba(0, 0, 0, .05); }
.admin-bar .g-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .g-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .g-header { top: 0; } .admin-bar .g-header.is-scrolled { top: 0; } }

.g-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	max-width: 1920px; margin-inline: auto;
	padding: 20px var(--g-gutter);
	transition: padding .3s;
}
@media (min-width: 768px) { .g-header__inner { padding-block: 26px; } }
@media (min-width: 1280px) { .g-header[data-variant="home"] .g-header__inner { padding-inline: 48px; } }
.g-header[data-variant="inner"] .g-header__inner { max-width: 1600px; } /* Base44 InnerHeader: mx-auto max-w-[1600px] px-6 md:px-10 */
.g-header.is-scrolled .g-header__inner { padding-block: 14px; }
@media (min-width: 1024px) { .g-header.is-scrolled .g-header__inner { padding-block: 16px; } }

.g-header__logo { display: block; flex-shrink: 0; }
/* Logo — stronger brand presence (+20–27 %). The header keeps its height: the extra logo height is taken
   from the vertical padding, so logo and menu stay on the same centre line. */
.g-logo { width: 132px; height: auto; }
.g-header__inner { padding-block: 16px; }
.g-header.is-scrolled .g-header__inner { padding-block: 12px; }
@media (min-width: 768px) {
	.g-logo { width: 176px; }
	.g-header__inner { padding-block: 22px; }
	.g-header.is-scrolled .g-header__inner { padding-block: 11px; }
}
@media (min-width: 1024px) {
	.g-logo { width: 184px; }
	.g-header__inner { padding-block: 21px; }
	.g-header.is-scrolled .g-header__inner { padding-block: 13px; }
}
@media (min-width: 1280px) { .g-logo { width: 200px; } }
.g-header.is-scrolled .g-logo { width: 112px; }
@media (min-width: 768px) { .g-header.is-scrolled .g-logo { width: 150px; } }
.g-logo { transition: width .3s var(--g-ease); }
/* Header logo: all-yellow over the hero photograph, yellow-and-grey (2026) on the white header. */
.g-logo--on-dark { display: none; }
.g-header[data-variant="home"]:not(.is-scrolled) .g-logo--on-dark { display: block; }
.g-header[data-variant="home"]:not(.is-scrolled) .g-logo--on-light { display: none; }
/* Over the photographs the (all-yellow) logo is larger; on the white header it returns to its size. */
.g-header[data-variant="home"]:not(.is-scrolled) .g-logo { width: 160px; }
@media (min-width: 768px) { .g-header[data-variant="home"]:not(.is-scrolled) .g-logo { width: 216px; } }
@media (min-width: 1024px) { .g-header[data-variant="home"]:not(.is-scrolled) .g-logo { width: 230px; } }
@media (min-width: 1280px) { .g-header[data-variant="home"]:not(.is-scrolled) .g-logo { width: 256px; } }

.g-header__right { display: flex; align-items: center; gap: 24px; }
.g-header__info, .g-header__nav { display: none; }

@media (min-width: 1024px) {
	.g-header__right { flex-direction: row; align-items: center; gap: 24px; }
	.g-header__info {
		display: flex; align-items: center; gap: 12px;
		font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
		opacity: .78;
	}
	.g-header__info a { transition: color .3s; }
	.g-header__info a:hover { color: var(--g-gold); }
	.g-header__email { text-transform: none; letter-spacing: .1em; font-size: 11.5px; }
	.g-header__sep { opacity: .4; }
	.g-header.is-scrolled .g-header__info { display: none; }
	.g-header__nav { display: flex; align-items: center; gap: 24px; }
	.g-header__menu { display: flex; align-items: center; gap: 18px; }
	.g-header__menu a, .g-header__cta {
		position: relative; display: inline-flex; align-items: center; gap: 8px;
		font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
		padding-block: 6px; transition: color .3s;
	}
	.g-header__menu a::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
		background: var(--g-gold); transform: scaleX(0); transform-origin: left;
		transition: transform .35s var(--g-ease);
	}
	.g-header__menu a:hover, .g-header__menu a.is-current { color: var(--g-gold); }
	.g-header__menu a:hover::after, .g-header__menu a.is-current::after { transform: scaleX(1); }
	.g-header__cta { color: var(--g-gold); padding-left: 24px; border-left: 1px solid currentColor; border-left-color: rgba(128, 128, 128, .35); }
	.g-header__cta-long { display: none; }
	.g-header__cta-arrow { width: 14px; height: 14px; transition: transform .3s; }
	.g-header__cta:hover { color: inherit; }
	.g-header__cta:hover .g-header__cta-arrow { transform: translateX(4px); }
	.g-header[data-variant="inner"] .g-header__cta, .g-header.is-scrolled .g-header__cta { color: var(--g-gold-dark); }
	.g-header[data-variant="inner"] .g-header__cta:hover, .g-header.is-scrolled .g-header__cta:hover { color: var(--g-ink); }
	.g-header[data-variant="inner"] .g-header__menu a.is-current,
	.g-header[data-variant="inner"] .g-header__menu a:hover,
	.g-header.is-scrolled .g-header__menu a.is-current,
	.g-header.is-scrolled .g-header__menu a:hover { color: var(--g-ink); }
	.g-menu-btn { display: none !important; }
}
@media (min-width: 1280px) {
	.g-header__menu { gap: 26px; }
	.g-header__nav { gap: 32px; }
	.g-header__menu a, .g-header__cta { letter-spacing: .22em; }
	.g-header__cta-long { display: inline; }
}

/* Mobile "Menu" trigger (Base44) */
.g-menu-btn {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
	padding: 8px 0; transition: color .3s;
}
.g-menu-btn:hover { color: var(--g-gold); }
.g-menu-btn__label { display: none; }
@media (min-width: 640px) { .g-menu-btn__label { display: inline; } }
.g-menu-btn__lines { display: flex; flex-direction: column; gap: 5px; }
.g-menu-btn__lines span { display: block; width: 24px; height: 1px; background: currentColor; transition: width .3s; }
.g-menu-btn:hover .g-menu-btn__lines span:first-child { width: 28px; }
.g-menu-btn:hover .g-menu-btn__lines span:last-child { width: 16px; }

.g-lang { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.g-lang a { opacity: .5; transition: opacity .3s; }
.g-lang a:hover { opacity: 1; }
.g-lang a.is-current { opacity: 1; color: var(--g-gold); }
.g-lang__sep { opacity: .3; }

/* ==========================================================================
   Fullscreen menu (Base44 FullscreenMenu.jsx)
   ========================================================================== */
.g-fsmenu {
	position: fixed; inset: 0; z-index: 50; background: var(--g-ink); color: var(--g-white);
	opacity: 0; transition: opacity .45s ease-in-out;
	overflow-y: auto; overscroll-behavior: contain;
}
.g-fsmenu.is-open { opacity: 1; }
.g-fsmenu__bg { position: absolute; inset: 0; }
.g-fsmenu__bgimg { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease-out; }
.g-fsmenu__bgimg.is-active { opacity: 1; }
.g-fsmenu__bgimg img { width: 100%; height: 100%; object-fit: cover; }
.g-fsmenu__veil { position: absolute; inset: 0; background: rgba(26, 26, 26, .88); }
.g-fsmenu__inner { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100%; }
.g-fsmenu__top { display: flex; align-items: center; justify-content: space-between; padding: 24px var(--g-gutter); }
@media (min-width: 768px) { .g-fsmenu__top { padding-block: 32px; } }
.g-logo--menu { width: 120px; }
@media (min-width: 768px) { .g-logo--menu { width: 150px; } }
.g-fsmenu__close {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
	color: rgba(255, 255, 255, .8); transition: color .3s;
}
.g-fsmenu__close:hover { color: var(--g-gold); }
.g-fsmenu__close-label { display: none; }
@media (min-width: 640px) { .g-fsmenu__close-label { display: inline; } }
.g-fsmenu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px var(--g-gutter); }
.g-fsmenu__nav li { overflow: hidden; }
.g-fsmenu__nav a {
	display: flex; align-items: baseline; gap: 16px; padding-block: 4px;
	transform: translateY(110%);
	transition: transform .7s var(--g-ease) calc(.1s + var(--i, 0) * .07s);
}
.g-fsmenu.is-open .g-fsmenu__nav a { transform: none; }
@media (min-width: 768px) { .g-fsmenu__nav a { gap: 24px; padding-block: 6px; } }
.g-fsmenu__num { font-size: 11px; color: rgba(255, 255, 255, .35); }
@media (min-width: 768px) { .g-fsmenu__num { font-size: 12px; } }
.g-fsmenu__label {
	font-family: var(--g-serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.15;
	font-size: 30px; color: rgba(255, 255, 255, .8); transition: color .3s;
}
@media (min-width: 640px) { .g-fsmenu__label { font-size: 36px; } }
@media (min-width: 768px) { .g-fsmenu__label { font-size: 48px; } }
@media (min-width: 1024px) { .g-fsmenu__label { font-size: 60px; } }
.g-fsmenu__nav a:hover .g-fsmenu__label,
.g-fsmenu__nav a:focus-visible .g-fsmenu__label,
.g-fsmenu__nav a[aria-current] .g-fsmenu__label { color: var(--g-gold); }
.g-fsmenu__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px var(--g-gutter) 32px; }
.g-fsmenu__cta {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px;
	font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
	color: var(--g-white); transition: color .3s;
}
.g-fsmenu__cta .g-icon { transition: transform .3s; }
.g-fsmenu__cta:hover { color: var(--g-gold); }
.g-fsmenu__cta:hover .g-icon { transform: translateX(4px); }
.g-fsmenu__cta--wa { gap: 10px; margin-bottom: 12px; }

.g-fsmenu__meta { font-size: 14px; color: rgba(255, 255, 255, .45); transition: color .3s; }
.g-fsmenu__meta:hover { color: rgba(255, 255, 255, .75); }

/* ==========================================================================
   Hero slideshow (Base44 HeroSlideshow.jsx)
   ========================================================================== */
.g-hero {
	position: relative; overflow: hidden; background: #000; color: var(--g-white);
	height: 100vh; height: 100svh; min-height: 560px;
}
.g-hero__media { position: absolute; inset: 0; }
.g-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-in-out; }
.g-hero__slide.is-active { opacity: 1; }
.g-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); transition: transform 7s cubic-bezier(.25, .1, .25, 1); }
.g-hero__slide.is-active img { transform: scale(1); }
.g-hero__slide picture { display: contents; } /* the <img> keeps sizing exactly as before */
@media (hover: hover) and (pointer: fine) {
	.g-hero.is-link-hover { cursor: pointer; }
	.g-hero.is-link-hover .g-hero__text.is-active .g-line-link--light { color: var(--g-gold); }
	.g-hero.is-link-hover .g-hero__text.is-active .g-line-link--light .g-line-link__rule { width: 72px; background-color: var(--g-gold); }
}
.g-hero__veil { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.g-hero__gradient {
	position: absolute; inset: auto 0 0; height: 50%;
	background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .2) 55%, transparent);
}
.g-hero__content { position: absolute; inset: auto 0 0; z-index: 2; padding: 0 var(--g-gutter) 40px; }
@media (min-width: 768px) { .g-hero__content { padding: 0 48px 56px; } }
.g-hero__texts { display: grid; align-items: end; max-width: 1400px; }
.g-hero__text {
	grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(-12px);
	transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.g-hero__text.is-entering { transform: translateY(24px); transition: none; }
.g-hero__text.is-active {
	visibility: visible; opacity: 1; transform: none;
	transition: opacity .7s var(--g-ease) .35s, transform .7s var(--g-ease) .35s, visibility 0s;
}
.g-hero__text .g-eyebrow { letter-spacing: .3em; }
/* "SERVIZI" + GEORES data on the same editorial row, left aligned with the slide content */
.g-hero__eyebrow-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.g-hero__data {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
	font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase;
	color: rgba(255, 255, 255, .62);
}
.g-hero__data a { color: inherit; transition: color .3s; }
.g-hero__data a:hover, .g-hero__data a:focus-visible { color: var(--g-gold); }
.g-hero__data-email { letter-spacing: .14em; font-size: 11px; }
.g-hero__data-sep { color: rgba(255, 255, 255, .3); }
@media (min-width: 768px) {
	/* Tablet + desktop: SERVIZI + all GEORES data always on ONE line (same font sizes; only the gaps are tuned). */
	.g-hero__eyebrow-row, .g-hero__data { flex-wrap: nowrap; white-space: nowrap; }
	.g-hero__eyebrow-row { gap: 24px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.g-hero__eyebrow-row { gap: 16px; }
	.g-hero__data { gap: 4px 6px; }
}
@media (max-width: 639px) {
	/* Same row as "SERVIZI": the data continue inline after the label and wrap only when needed. */
	.g-hero__eyebrow-row { display: block; line-height: 1.9; }
	.g-hero__eyebrow-row .g-eyebrow { display: inline; margin-right: 14px; }
	.g-hero__data { display: inline; font-size: 9.5px; letter-spacing: .16em; }
	.g-hero__data > * { margin-right: 6px; }
	.g-hero__data-email { font-size: 10.5px; }
	/* The wrap falls after the location: no separator left hanging at the end of the line. */
	.g-hero__data > span:first-child + .g-hero__data-sep { display: none; }
	.g-hero__data > span:first-child { display: inline-block; }
	.g-hero__data a { white-space: nowrap; }
}
.g-hero__title {
	margin-top: 20px; font-family: var(--g-serif); font-weight: 400; /* +4px breathing (was 16px) */
	font-size: clamp(2.6rem, 7vw, 7rem); line-height: .95; letter-spacing: -.02em;
	color: var(--g-white); text-wrap: balance;
}
.g-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 30px; } /* +6px (was 24px) */
.g-hero__controls { display: flex; align-items: center; gap: 20px; margin: 30px 0 -10px; } /* 20px hit area, visible 1px line at the Base44 position (mt-10) */
.g-hero__dots { display: flex; align-items: center; gap: 8px; }
.g-hero__arrows { display: flex; align-items: center; gap: 0; }
.g-hero__arrow {
	display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
	color: rgba(255, 255, 255, .45); transition: color .3s, transform .3s;
}
.g-hero__arrow .g-icon { width: 18px; height: 18px; stroke-width: 1.25; }
.g-hero__arrow:hover, .g-hero__arrow:focus-visible { color: var(--g-gold); }
.g-hero__arrow[data-hero-prev]:hover { transform: translateX(-2px); }
.g-hero__arrow[data-hero-next]:hover { transform: translateX(2px); }
.g-hero__dot { position: relative; width: 20px; height: 20px; }
.g-hero__dot::before {
	content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
	background: rgba(255, 255, 255, .4); transition: background .3s;
}
.g-hero__dot:hover::before { background: rgba(255, 255, 255, .7); }
.g-hero__dot.is-active { width: 40px; }
.g-hero__dot.is-active::before { background: var(--g-gold); }
.g-hero__dot { transition: width .3s; }
@media (max-height: 620px) and (max-width: 767px) {
	.g-hero__title { font-size: 2.2rem; }
	.g-hero__controls { margin-top: 14px; }
}

/* ==========================================================================
   Profilo band (Base44 ProfiloBand.jsx)
   ========================================================================== */
.g-profilo { background: var(--g-white); padding: 96px var(--g-gutter); }
@media (min-width: 768px) { .g-profilo { padding: 144px 48px; } }
.g-profilo__inner { max-width: 1400px; margin-inline: auto; }
.g-profilo__title { margin-top: var(--g-gap-label-title); font-size: var(--g-fs-title); }
.g-profilo__grid { display: grid; gap: 40px; margin-top: var(--g-gap-title-body); }
@media (min-width: 768px) { .g-profilo__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.g-profilo__text { max-width: 34rem; font-size: var(--g-fs-lead); line-height: var(--g-lh-lead); color: rgba(26, 26, 26, .7); }
.g-profilo__text p + p { margin-top: 1.1em; }
/* Service commitments: index · editorial title · hairline (same system as the former figures) */
.g-profilo-items { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-content: start; }
.g-profilo-item { border-top: 1px solid var(--g-line-strong); padding-top: 16px; }
.g-profilo-item__num { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--g-gold-dark); }
.g-profilo-item__title { margin-top: var(--g-gap-label-item); font-family: var(--g-serif); font-weight: 400; font-size: var(--g-fs-subtitle); line-height: 1.15; color: var(--g-ink); }
.g-profilo-item__big { font-size: 1.6em; line-height: .9; letter-spacing: -.02em; }
@media (max-width: 380px) { .g-profilo-items { gap: 24px 20px; } .g-profilo-item__title { font-size: 21px; } }
.g-profilo__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; margin-top: 56px; }

/* Homepage — founder (same system as the Profilo band) */
.g-founder { background: var(--g-concrete); padding: 96px var(--g-gutter); }
@media (min-width: 768px) { .g-founder { padding: 144px 48px; } }
.g-founder__title { max-width: 16ch; }
.g-founder__grid { display: grid; gap: 40px; margin-top: var(--g-gap-title-body); }
@media (min-width: 900px) { .g-founder__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; } }
/* Portrait shown whole (2:3, seated): never taller than the screen next to the text, never upscaled
   beyond its 1024 px source (max 480 css px wide on desktop = sharp on 2× screens). */
.g-founder__photo { margin: 0; width: 100%; max-width: 480px; background: #e4e4e7; }
.g-founder__photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 20%; }
@media (min-width: 900px) {
	.g-founder__photo { position: sticky; top: calc(var(--g-header-h) + 24px); max-width: min(480px, calc((100vh - var(--g-header-h) - 64px) * 2 / 3)); }
}
@media (max-width: 899px) { .g-founder__photo { max-width: min(100%, 420px); } }
.g-founder__name { display: flex; flex-direction: column; gap: 6px; }
.g-founder__name-main { font-size: var(--g-fs-label); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--g-ink); }
.g-founder__role { font-size: 14px; color: var(--g-muted); }
.g-founder__text { margin-top: 28px; max-width: 38rem; }
.g-founder__path { margin-top: var(--g-gap-title-body); max-width: 38rem; }
.g-founder__path .g-profilo-item__num { text-transform: uppercase; letter-spacing: .3em; } /* phase names read as labels */
.g-founder__vision { margin-top: var(--g-gap-title-body); max-width: 38rem; }
.g-founder__vision-text { margin-top: 16px; font-size: var(--g-fs-lead); line-height: var(--g-lh-lead); color: rgba(26, 26, 26, .7); }
.g-founder__close { margin-top: var(--g-gap-title-body); padding-top: 32px; border-top: 1px solid var(--g-line-strong); max-width: 38rem; }
.g-founder__links { margin-top: 32px; }
.g-founder + .g-home-services { padding-top: 96px; }
@media (min-width: 768px) { .g-founder + .g-home-services { padding-top: 144px; } }

/* Homepage — News (latest 3 posts): editorial columns, no cards */
.g-hnews { background: var(--g-white); padding: 96px var(--g-gutter); border-top: 1px solid var(--g-line); }
@media (min-width: 768px) { .g-hnews { padding: 144px 48px; } }
.g-hnews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.g-hnews__subtitle { margin-top: var(--g-gap-label-title); max-width: 36rem; font-size: var(--g-fs-lead); line-height: var(--g-lh-lead); color: var(--g-muted); }
.g-hnews__list { display: grid; gap: 56px; margin: var(--g-gap-title-body) 0 0; padding: 0; list-style: none; }
.g-hnews__link { display: grid; gap: 22px; color: inherit; -webkit-tap-highlight-color: transparent; }
.g-hnews__media { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--g-concrete); }
.g-hnews__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--geores-ease), scale var(--geores-motion-slow) var(--geores-ease); }
.g-hnews__media::after { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 12, 0); transition: background var(--geores-motion-medium) var(--geores-ease-soft); }
.g-hnews__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.g-hnews__meta { font-size: var(--g-fs-label); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--g-gold-dark); }
.g-hnews__title { font-family: var(--g-serif); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--g-ink); transition: transform var(--geores-motion-fast) var(--geores-ease-soft), color var(--geores-motion-fast) var(--geores-ease-soft); }
@media (min-width: 768px) { .g-hnews__title { font-size: 24px; } }
.g-hnews__excerpt { font-size: 15px; line-height: 1.6; color: var(--g-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-hnews__cta { margin-top: 6px; }
.g-hnews__link:focus-visible { outline: 2px solid var(--g-gold); outline-offset: 6px; }
@media (hover: hover) {
	.g-hnews__link:hover .g-hnews__media img { transform: scale(1.025); }
	.g-hnews__link:hover .g-hnews__media::after { background: rgba(12, 12, 12, .06); }
	.g-hnews__link:hover .g-hnews__title { transform: translateX(4px); color: var(--g-gold-dark); }
	.g-hnews__link:hover .g-hnews__cta .g-line-link__rule { width: 72px; background-color: var(--g-gold); }
}
.g-hnews__all--bottom { margin-top: 56px; }
/* Tablet: editorial rows (photo left, text right) — three narrow columns would be too small. */
@media (min-width: 768px) and (max-width: 1023px) {
	.g-hnews__list { gap: 48px; }
	.g-hnews__link { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; }
}
/* Desktop: three editorial columns. */
@media (min-width: 1024px) {
	.g-hnews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
	.g-hnews__all--bottom { display: none; }
}
@media (max-width: 1023px) { .g-hnews__all--top { display: none; } }
.g-home-cta { padding: 96px var(--g-gutter); }
@media (min-width: 768px) { .g-home-cta { padding: 144px 48px; } }
.g-home-cta .g-lavori-cta__links a { color: var(--g-gold-dark); }
.g-home-cta .g-lavori-cta__links .g-line-link__rule { background: var(--g-gold); }

/* Homepage: brochure first, services last */
.g-home-brochure { background: var(--g-white); padding: 64px var(--g-gutter) 0; }
@media (min-width: 768px) { .g-home-brochure { padding: 88px 48px 0; } }
.g-brochure.g-brochure--standalone { margin-top: 0; padding: 0 0 48px; border-top: 0; border-bottom: 1px solid var(--g-line-strong); }
.g-home-brochure + .g-profilo { padding-top: 80px; }
@media (min-width: 768px) { .g-home-brochure + .g-profilo { padding-top: 112px; } }
.g-home-services { background: var(--g-white); padding: 0 var(--g-gutter) 96px; }
@media (min-width: 768px) { .g-home-services { padding: 0 48px 144px; } }
.g-home-services__title { margin-top: var(--g-gap-label-title); font-size: var(--g-fs-title); }
.g-home-services__subtitle { margin-top: var(--g-gap-label-title); max-width: 36rem; font-size: var(--g-fs-lead); line-height: var(--g-lh-lead); color: var(--g-muted); }
.g-home-services__list { margin-top: var(--g-gap-title-body); }
.g-profilo + .g-home-services { padding-top: 0; }
.g-profilo:has(+ .g-home-services) { padding-bottom: 96px; }
@media (min-width: 768px) { .g-profilo:has(+ .g-home-services) { padding-bottom: 128px; } }

/* Brochure row */
.g-brochure {
	display: flex; flex-direction: column; gap: 16px;
	margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--g-line-strong);
}
@media (min-width: 640px) { .g-brochure { flex-direction: row; align-items: center; justify-content: space-between; } }
.g-brochure--spaced { margin-top: 96px; }
.g-brochure__title { margin-top: var(--g-gap-label-item); }
.g-brochure__action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex-shrink: 0; }
@media (min-width: 640px) { .g-brochure__action { align-items: flex-end; } }
.g-brochure__action .g-brochure__meta { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
/* Download CTA: text + line + arrow, in GEORES gold so it reads at first glance; on hover the line is
   drawn longer and the arrow moves forward (same micro-interaction as every CTA of the site). */
.g-line-link--download { color: var(--g-gold-dark); font-weight: 600; }
.g-line-link--download .g-line-link__rule { width: 48px; background-color: var(--g-gold); }
.g-line-link--download .g-line-link__arrow { margin-left: -8px; }
.g-brochure:focus-visible .g-line-link__rule { width: 96px; }
.g-brochure:focus-visible .g-line-link__arrow { transform: translateX(5px); }
@media (hover: hover) {
	.g-brochure:hover .g-line-link--download { color: var(--g-ink); }
	.g-brochure:hover .g-line-link--download .g-line-link__rule { width: 96px; }
	.g-brochure:hover .g-line-link--download .g-line-link__arrow { transform: translateX(5px); }
}
.g-brochure__cta {
	display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
	font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--g-ink);
	transition: color var(--geores-motion-fast) var(--geores-ease-soft);
}
.g-brochure__meta { color: var(--g-muted); letter-spacing: .15em; }
.g-brochure__arrow { transition: transform var(--geores-motion-fast) var(--geores-ease-soft); }
.g-brochure:hover .g-brochure__cta { color: var(--g-gold-dark); }
.g-brochure:hover .g-brochure__arrow { transform: translateX(4px); }

/* ==========================================================================
   Page hero (Base44 PageHero.jsx)
   ========================================================================== */
.g-page-hero { padding: 144px 0 56px; }
@media (min-width: 768px) { .g-page-hero { padding: 176px 0 80px; } }
.g-page-hero__title {
	margin-top: var(--g-gap-label-title); font-family: var(--g-serif); font-weight: 400;
	font-size: var(--g-fs-title); line-height: 1; letter-spacing: -.02em; /* same scale as the homepage section titles */
	color: var(--g-ink); overflow-wrap: break-word;
}
.g-page-hero__subtitle { margin-top: 24px; max-width: 36rem; font-size: 16px; line-height: 1.625; color: var(--g-muted); }
@media (min-width: 768px) { .g-page-hero__subtitle { font-size: 18px; } }
.g-page-hero__meta { margin-top: 16px; font-size: 13px; letter-spacing: .08em; color: var(--g-muted); }

/* Wide image (Chi siamo) */
.g-wide-media { position: relative; height: 42vh; min-height: 260px; overflow: hidden; background: var(--g-concrete); }
@media (min-width: 768px) { .g-wide-media { height: 64vh; } }
.g-wide-media img { width: 100%; height: 100%; object-fit: cover; }
.g-wide-media--spaced { margin-bottom: 64px; }

/* Two text columns */
.g-text-cols { display: grid; gap: 40px; }
@media (min-width: 768px) { .g-text-cols { grid-template-columns: 1fr 1fr; gap: 64px; } }
.g-text-cols > * { margin: 0; font-size: 18px; line-height: 1.625; color: rgba(26, 26, 26, .8); }
.g-text-cols > h2, .g-text-cols > h3 { grid-column: 1 / -1; font-family: var(--g-serif); font-weight: 400; font-size: 30px; color: var(--g-ink); }

/* Values */
.g-values { display: grid; gap: 40px; }
@media (min-width: 640px) { .g-values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .g-values { grid-template-columns: repeat(4, 1fr); } }
.g-values__item { border-top: 1px solid var(--g-line); padding-top: 20px; }
.g-values__title { font-family: var(--g-serif); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--g-ink); }
.g-values__text { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--g-muted); }

/* ==========================================================================
   Lists (Servizi, News)
   ========================================================================== */
.g-rows { border-bottom: 1px solid var(--g-line); }
.g-rows__item { border-top: 1px solid var(--g-line); }

.g-service-row { display: grid; gap: 16px; padding-block: 32px; }
@media (min-width: 768px) { .g-service-row { grid-template-columns: auto 1fr; gap: 40px; padding-block: 40px; } }
.g-service-row__mark { display: flex; align-items: center; gap: 16px; align-self: start; }
.g-service-row__num { font-size: 14px; color: var(--g-gold); min-width: 20px; }
.g-service-row__body { padding-top: 0; }
@media (min-width: 768px) { .g-service-row__body { padding-top: 4px; } }
.g-service-row__title { font-family: var(--g-serif); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--g-ink); }
@media (min-width: 768px) { .g-service-row__title { font-size: 30px; } }
.g-service-row { position: relative; }
.g-service-row__title { transition: transform var(--geores-motion-fast) var(--geores-ease-soft); }
.g-service-row__title a { transition: color var(--geores-motion-fast) var(--geores-ease-soft); }
.g-service-row__title a::after { content: ""; position: absolute; inset: 0; } /* the whole row opens the service */
.g-service-row__num { transition: color var(--geores-motion-fast) var(--geores-ease-soft); }
.g-service-row .g-icon-circle { transition: background-color var(--geores-motion-fast) var(--geores-ease-soft), color var(--geores-motion-fast) var(--geores-ease-soft); }
.g-service-row .g-icon-circle .g-icon { transition: transform var(--geores-motion-fast) var(--geores-ease-soft); }
.g-service-row__title a:focus-visible { color: var(--g-gold-dark); }
@media (hover: hover) {
	.g-service-row__num { color: rgba(26, 26, 26, .4); }
	.g-service-row:hover .g-service-row__num { color: var(--g-gold-dark); }
	.g-service-row:hover .g-service-row__title { transform: translateX(4px); }
	.g-service-row:hover .g-service-row__title a { color: var(--g-gold-dark); }
	.g-service-row:hover .g-icon-circle { background-color: var(--g-gold); color: var(--g-ink); }
	.g-service-row:hover .g-icon-circle .g-icon { transform: scale(.9); }
	.g-rows__item:hover { --g-lc: var(--g-line-strong); }
}
.g-service-row__text { margin-top: 12px; max-width: 42rem; line-height: 1.625; color: var(--g-muted); }
.g-service-row__more { margin-top: 18px; }

.g-news-row { display: flex; flex-direction: column; gap: 8px; padding-block: 28px; }
@media (min-width: 768px) { .g-news-row { flex-direction: row; align-items: baseline; gap: 40px; padding-block: 32px; } }
.g-news-row__date { font-size: 14px; color: var(--g-muted); transition: color var(--geores-motion-fast) var(--geores-ease-soft); }
@media (min-width: 768px) { .g-news-row__date { width: 176px; flex-shrink: 0; } }
.g-news-row__title { flex: 1; font-family: var(--g-serif); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--g-ink); transition: color var(--geores-motion-fast) var(--geores-ease-soft), transform var(--geores-motion-fast) var(--geores-ease-soft); }
@media (min-width: 768px) { .g-news-row__title { font-size: 24px; } }
.g-news-row__arrow { color: var(--g-gold); transition: transform var(--geores-motion-fast) var(--geores-ease-soft); }
.g-news-row:hover .g-news-row__title, .g-news-row:focus-visible .g-news-row__title { color: var(--g-gold-dark); }
.g-news-row:hover .g-news-row__arrow, .g-news-row:focus-visible .g-news-row__arrow { transform: rotate(45deg); }
@media (hover: hover) {
	.g-news-row:hover .g-news-row__title { transform: translateX(4px); }
	.g-news-row:hover .g-news-row__date { color: var(--g-ink); }
}

/* Filters (text tabs with gold underline — no pills) */
.g-filter { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.g-filter--links { margin-bottom: 32px; }
.g-filter__btn {
	position: relative; padding-block: 6px;
	font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	color: var(--g-muted); transition: color var(--geores-motion-fast) var(--geores-ease-soft);
}
.g-filter__btn::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--g-gold);
	transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--geores-ease);
}
@media (hover: hover) { .g-filter__btn:hover::after { transform: scaleX(.35); } }
.g-filter__btn:hover, .g-filter__btn.is-active { color: var(--g-ink); }
.g-filter__btn.is-active::after { transform: scaleX(1); }
.g-filter__count { margin-left: 4px; color: var(--g-gold-dark); letter-spacing: .05em; }

/* ==========================================================================
   Steps / guarantees (Base44 ComeFunziona.jsx)
   ========================================================================== */
.g-steps { display: grid; gap: 1px; background: var(--g-line); border: 1px solid var(--g-line); }
@media (min-width: 640px) { .g-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .g-steps { grid-template-columns: repeat(4, 1fr); } }
.g-steps__item { position: relative; background: var(--g-white); padding: 28px; }
@media (min-width: 768px) { .g-steps__item { padding: 32px; } }
.g-steps__num {
	position: absolute; right: 16px; top: 12px; pointer-events: none;
	font-family: var(--g-serif); font-weight: 700; font-size: 48px; line-height: 1; color: rgba(26, 26, 26, .05);
}
.g-steps__title { margin-top: 20px; font-family: var(--g-serif); font-weight: 500; font-size: 18px; line-height: 1.35; color: var(--g-ink); }
.g-steps__text { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--g-muted); }

.g-guarantees { display: grid; gap: 40px; }
@media (min-width: 640px) { .g-guarantees { grid-template-columns: repeat(3, 1fr); } }
.g-guarantees__num { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--g-gold); }
.g-guarantees__title { margin-top: 12px; font-family: var(--g-serif); font-weight: 500; font-size: 20px; line-height: 1.3; }
.g-guarantees__text { margin-top: 4px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.g-band__cta { margin-top: 56px; }

/* ==========================================================================
   Realizzazioni: project cards + gallery of works
   ========================================================================== */
.g-projects { display: grid; gap: 24px; margin-bottom: 96px; }
@media (min-width: 768px) { .g-projects { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .g-projects { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.g-project-card { position: relative; display: block; overflow: hidden; background: var(--g-ink); }
.g-project-card__media { position: relative; height: 320px; overflow: hidden; }
@media (min-width: 768px) { .g-project-card__media { height: 384px; } }
.g-project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--geores-motion-slow) var(--geores-ease), scale var(--geores-motion-slow) var(--geores-ease); }
.g-project-card__veil { position: absolute; inset: 0; background: linear-gradient(to top, var(--g-ink), rgba(26, 26, 26, .3) 50%, transparent); transition: opacity var(--geores-motion-medium) var(--geores-ease-soft); }
.g-project-card__body { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px; }
@media (min-width: 768px) { .g-project-card__body { padding: 28px; } }
.g-project-card__title { margin-top: 8px; font-family: var(--g-serif); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--g-white); transition: transform var(--geores-motion-fast) var(--geores-ease-soft); }
.g-project-card__loc { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .65); transition: color var(--geores-motion-fast) var(--geores-ease-soft); }
.g-project-card__arrow {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 48px; height: 48px; border-radius: 50%; background: var(--g-gold); color: var(--g-ink);
	transition: transform var(--geores-motion-fast) var(--geores-ease-soft);
}
.g-project-card__arrow .g-icon { width: 20px; height: 20px; }
@media (hover: hover) {
	.g-project-card:hover .g-project-card__media img { transform: scale(1.025); }
	.g-project-card:hover .g-project-card__veil { opacity: .85; }
	.g-project-card:hover .g-project-card__title { transform: translateX(4px); }
	.g-project-card:hover .g-project-card__loc { color: rgba(255, 255, 255, .9); }
	.g-project-card:hover .g-project-card__arrow { transform: translateX(5px); }
}

.g-empty { border-left: 2px solid var(--g-gold); padding-left: 24px; }
.g-empty p { font-family: var(--g-serif); font-weight: 400; font-size: 24px; line-height: 1.375; color: var(--g-ink); max-width: 46ch; }
@media (min-width: 768px) { .g-empty p { font-size: 30px; } }

.g-works { margin-top: 0; }
.g-works__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
@media (min-width: 1024px) { .g-works__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; } }
.g-works--compact .g-works__head { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.g-works__title { font-family: var(--g-serif); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; max-width: 24ch; }
@media (min-width: 768px) { .g-works__title { font-size: 36px; } }
.g-works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .g-works__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 1024px) { .g-works__grid { grid-template-columns: repeat(4, 1fr); } }
.g-works__item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--g-concrete); }
.g-works__item.is-hidden { display: none; }
.g-works__link { display: block; width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; }
.g-works__link img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--geores-motion-slow) var(--geores-ease), scale var(--geores-motion-slow) var(--geores-ease); }
.g-works__link::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(12, 12, 12, .55), rgba(12, 12, 12, .05) 55%, transparent);
	opacity: 0; transition: opacity var(--geores-motion-medium) var(--geores-ease-soft);
}
/* Category + line, shown on hover only (desktop): the photo stays clean at rest. */
.g-works__meta {
	position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
	font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .26em; text-transform: uppercase; color: var(--g-white);
	opacity: 0; transform: translate3d(0, 6px, 0); pointer-events: none;
	transition: opacity var(--geores-motion-fast) var(--geores-ease-soft), transform var(--geores-motion-fast) var(--geores-ease-soft);
}
.g-works__meta-rule { display: block; width: 32px; height: 1px; background: var(--g-gold); transform: scaleX(0); transform-origin: left center; transition: transform 420ms var(--geores-ease) 60ms; }
@media (hover: hover) {
	.g-works__link:hover img { transform: scale(1.025); }
	.g-works__link:hover::after, .g-works__link:focus-visible::after { opacity: 1; }
	.g-works__link:hover .g-works__meta, .g-works__link:focus-visible .g-works__meta { opacity: 1; transform: none; }
	.g-works__link:hover .g-works__meta-rule, .g-works__link:focus-visible .g-works__meta-rule { transform: scaleX(1); }
}
@media (hover: none) { .g-works__meta { display: none; } }

/* Lavori — editorial gallery (asymmetric but intentional rhythm, one pattern per breakpoint).
   The pattern is pure CSS (nth-child); assets/js/main.js only decides WHICH photos are in the grid. */
.g-gallery__filters { margin-bottom: var(--g-gap-title-body); }
.g-gallery__filters .g-filter__btn { text-align: left; white-space: nowrap; }
@media (max-width: 767px) {
	/* Phone: one scrollable line of text links (the page itself never scrolls sideways). */
	.g-gallery__filters {
		flex-wrap: nowrap; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
		margin-inline: calc(-1 * var(--g-gutter)); padding-inline: var(--g-gutter); margin-bottom: 32px;
		-webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent);
	}
	.g-gallery__filters::-webkit-scrollbar { display: none; }
}
.g-gallery__grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 17vw; } /* DOM order = visual order */
.g-gallery__item { position: relative; overflow: hidden; background: var(--g-concrete); }
.g-gallery__item.is-later { display: none; }
.no-js .g-gallery__item.is-later { display: block; }
/* Phone: two staggered columns (portrait + taller portrait, then inverted) and one wide frame — cycle of 5.
   Every frame is at least ~170 × 210 px: large enough to read and to tap, no thumbnails. */
.g-gallery__item:nth-child(5n+1) { grid-column: 1; grid-row: span 3; }
.g-gallery__item:nth-child(5n+2) { grid-column: 2; grid-row: span 4; }
.g-gallery__item:nth-child(5n+3) { grid-column: 1; grid-row: span 4; }
.g-gallery__item:nth-child(5n+4) { grid-column: 2; grid-row: span 3; }
.g-gallery__item:nth-child(5n+5) { grid-column: 1 / -1; grid-row: span 4; }
@media (min-width: 768px) and (max-width: 1023px) {
	/* Tablet: large frame + two small, then two half frames — cycle of 5 */
	.g-gallery__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 25vw, 260px); gap: 12px; }
	.g-gallery__item, .g-gallery__item:nth-child(n) { grid-column: auto / span 3; grid-row: span 2; }
	.g-gallery__item:nth-child(5n+1) { grid-column: span 4; }
	.g-gallery__item:nth-child(5n+2), .g-gallery__item:nth-child(5n+3) { grid-column: span 2; grid-row: span 1; }
}
@media (min-width: 1024px) {
	/* Desktop: large + two stacked · tall + large · three portraits — cycle of 8 */
	.g-gallery__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 18.5vw, 320px); gap: 16px; }
	.g-gallery__item, .g-gallery__item:nth-child(n) { grid-column: auto / span 4; grid-row: span 2; }
	.g-gallery__item:nth-child(8n+1), .g-gallery__item:nth-child(8n+5) { grid-column: span 7; }
	.g-gallery__item:nth-child(8n+2), .g-gallery__item:nth-child(8n+3) { grid-column: span 5; grid-row: span 1; }
	.g-gallery__item:nth-child(8n+4) { grid-column: span 5; }
}
.g-gallery__grid { transition: opacity 260ms var(--geores-ease-soft), transform 260ms var(--geores-ease-soft); }
.g-gallery__grid.is-switching { opacity: 0; transform: translate3d(0, 8px, 0); }
.g-gallery__link { display: block; width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; }
.g-gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--geores-ease), scale var(--geores-motion-slow) var(--geores-ease); }
.g-gallery__link::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(12, 12, 12, .5), rgba(12, 12, 12, 0) 55%);
	opacity: 0; transition: opacity 500ms var(--geores-ease-soft);
}
.g-gallery__meta {
	position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
	color: var(--g-white); opacity: 0; transform: translate3d(0, 8px, 0); pointer-events: none;
	transition: opacity 450ms var(--geores-ease-soft), transform 550ms var(--geores-ease);
}
.g-gallery__cat { font-size: var(--g-fs-label); font-weight: 500; line-height: 1.5; letter-spacing: .26em; text-transform: uppercase; }
.g-gallery__cue { display: flex; align-items: center; gap: 4px; color: var(--g-gold); }
.g-gallery__rule { display: block; width: 24px; height: 1px; background: currentColor; transition: width 600ms var(--geores-ease) 80ms; }
.g-gallery__arrow { width: 16px; height: 16px; transition: transform 600ms var(--geores-ease) 80ms; }
.g-gallery__link:focus-visible { outline: 2px solid var(--g-gold); outline-offset: -2px; }
.g-gallery__link:focus-visible::after, .g-gallery__link:focus-visible .g-gallery__meta { opacity: 1; transform: none; }
@media (hover: hover) {
	.g-gallery__link:hover img { transform: scale(1.025); }
	.g-gallery__link:hover::after { opacity: 1; }
	.g-gallery__link:hover .g-gallery__meta { opacity: 1; transform: none; }
	.g-gallery__link:hover .g-gallery__rule { width: 56px; }
	.g-gallery__link:hover .g-gallery__arrow { transform: translateX(4px); }
}
@media (max-width: 767px) { .g-gallery__meta { display: none; } }
.g-gallery__more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: var(--g-gap-title-body); }
.g-gallery__progress { font-size: var(--g-fs-label); font-weight: 500; letter-spacing: .2em; color: var(--g-muted); }
.g-lavori-cta { border-top: 1px solid var(--g-line); }
.g-lavori-cta__links { margin-top: 40px; }

/* Photo viewer (full screen) — used by Lavori and by the service galleries */
.g-lightbox {
	position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center;
	padding: max(64px, env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom));
	background: #0f0f0f; color: var(--g-white); opacity: 0; transition: opacity 300ms var(--geores-ease-soft);
	touch-action: pan-y pinch-zoom;
}
@media (min-width: 768px) { .g-lightbox { padding: 72px 96px 104px; } }
.g-lightbox.is-open { opacity: 1; }
.g-lightbox__figure { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; }
.g-lightbox__figure img {
	display: block; width: auto; height: auto; max-width: min(100%, var(--lb-max-w, 100%)); max-height: 100%;
	object-fit: contain; transition: opacity 300ms var(--geores-ease-soft);
}
.g-lightbox.is-loading .g-lightbox__figure img { opacity: .35; }
.g-lightbox__bar {
	position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	padding: 20px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}
@media (min-width: 768px) { .g-lightbox__bar { padding: 24px 40px 32px; } }
.g-lightbox__info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.g-lightbox__caption { font-size: var(--g-fs-label); font-weight: 500; line-height: 1.5; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.g-lightbox__count { flex-shrink: 0; font-size: var(--g-fs-label); font-weight: 500; letter-spacing: .2em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.g-lightbox__close {
	position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); display: inline-flex; align-items: center; gap: 12px;
	min-height: 44px; padding: 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
	transition: color var(--geores-motion-fast) var(--geores-ease-soft);
}
.g-lightbox__close:hover, .g-lightbox__close:focus-visible { color: var(--g-gold); }
.g-lightbox__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 56px; height: 72px; display: flex; align-items: center; justify-content: center;
	color: rgba(255, 255, 255, .7); transition: color var(--geores-motion-fast) var(--geores-ease-soft);
}
.g-lightbox__nav:hover, .g-lightbox__nav:focus-visible { color: var(--g-gold); }
.g-lightbox__nav--prev { left: 12px; }
.g-lightbox__nav--next { right: 12px; }
@media (min-width: 768px) { .g-lightbox__nav--prev { left: 24px; } .g-lightbox__nav--next { right: 24px; } }
@media (max-width: 767px) {
	/* Phone: swipe is the main gesture; the arrows stay reachable on the edges without covering the photo. */
	.g-lightbox__nav { width: 44px; height: 64px; background: rgba(12, 12, 12, .35); }
	.g-lightbox__nav--prev { left: 0; }
	.g-lightbox__nav--next { right: 0; }
}

/* ==========================================================================
   Editorial prose (pages, articles, services)
   ========================================================================== */
.g-prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: rgba(26, 26, 26, .85); }
.g-prose > * + * { margin-top: 1.1em; }
.g-prose h2 { margin-top: 2em; font-family: var(--g-serif); font-weight: 500; font-size: 28px; line-height: 1.25; color: var(--g-ink); letter-spacing: -.01em; }
.g-prose h3 { margin-top: 1.8em; font-family: var(--g-serif); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--g-ink); }
.g-prose h4 { margin-top: 1.6em; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g-ink); }
.g-prose h2:first-child, .g-prose h3:first-child { margin-top: 0; }
@media (min-width: 768px) { .g-prose h2 { font-size: 32px; } }
.g-prose a { color: var(--g-ink); text-decoration: underline; text-decoration-color: var(--g-gold); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .3s; }
.g-prose a:hover { color: var(--g-gold-dark); }
.g-prose strong, .g-prose b { font-weight: 600; color: var(--g-ink); }
.g-prose ul, .g-prose ol { padding-left: 1.3em; }
.g-prose ul { list-style: none; }
.g-prose ul > li { position: relative; }
.g-prose ul > li::before { content: ""; position: absolute; left: -1.1em; top: .78em; width: 8px; height: 1px; background: var(--g-gold); }
.g-prose ol { list-style: decimal; }
.g-prose li + li { margin-top: .45em; }
.g-prose img { margin-block: 1.6em; }
.g-prose figure { margin-block: 2em; }
.g-prose figcaption { margin-top: 8px; font-size: 13px; color: var(--g-muted); }
.g-prose blockquote { margin-left: 0; padding-left: 24px; border-left: 2px solid var(--g-gold); font-family: var(--g-serif); font-size: 22px; line-height: 1.45; color: var(--g-ink); }
.g-prose hr { border: 0; height: 1px; background: var(--g-line); margin-block: 2.4em; }
.g-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.g-prose th, .g-prose td { border-bottom: 1px solid var(--g-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.g-prose .wp-block-image, .g-prose .aligncenter { margin-inline: auto; }
.g-prose--lead { margin-bottom: 56px; font-size: 18px; }
.g-prose--small { font-size: 15px; line-height: 1.65; }
.g-prose--article { margin-inline: auto; }
.g-prose .wp-block-buttons .wp-block-button__link { border-radius: 0; background: var(--g-gold); color: var(--g-ink); text-decoration: none; }

.g-article { display: grid; gap: 40px; }
@media (min-width: 1024px) { .g-article { grid-template-columns: 240px minmax(0, 1fr); gap: 80px; } }
.g-article__aside { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .g-article__aside { position: sticky; top: calc(var(--g-header-h) + 32px); align-self: start; } }
.g-article__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.g-post-media { max-width: 820px; margin: 0 auto 48px; overflow: hidden; background: var(--g-concrete); }
.g-post-media img { width: 100%; }
.g-inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; margin-top: 48px; }

.g-post-nav { display: grid; gap: 24px; max-width: 760px; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid var(--g-line); }
@media (min-width: 768px) { .g-post-nav { grid-template-columns: 1fr 1fr; } }
.g-post-nav__item { display: flex; flex-direction: column; gap: 10px; }
.g-post-nav__item--next { text-align: right; align-items: flex-end; }
.g-post-nav__item .g-eyebrow { gap: 6px; }
.g-post-nav__title { font-family: var(--g-serif); font-size: 19px; line-height: 1.35; transition: color .3s; }
.g-post-nav__item:hover .g-post-nav__title { color: var(--g-gold-dark); }

.g-next { border-top: 1px solid var(--g-line); }
.g-next__link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; padding-block: 56px; }
.g-next__title { font-family: var(--g-serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.01em; transition: color .3s; }
.g-next__arrow { width: 28px; height: 28px; color: var(--g-gold); transition: transform .3s; }
.g-next__link:hover .g-next__title { color: var(--g-gold-dark); }
.g-next__link:hover .g-next__arrow { transform: translateX(6px); }

.g-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.g-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--g-line); font-size: 13px; transition: border-color .3s, background .3s, color .3s; }
.g-pagination .page-numbers:hover { border-color: var(--g-ink); }
.g-pagination .page-numbers.current { background: var(--g-ink); border-color: var(--g-ink); color: var(--g-white); }
.g-pagination .dots { border: 0; }
.g-page-links { margin-top: 32px; font-size: 14px; }

.g-searchform { display: flex; align-items: center; max-width: 560px; border-bottom: 1px solid rgba(26, 26, 26, .25); }
.g-searchform input { flex: 1; min-width: 0; padding: 12px 0; border: 0; background: transparent; font-size: 18px; outline: none; }
.g-searchform button { padding: 10px; color: var(--g-ink); }
.g-searchform button:hover { color: var(--g-gold-dark); }
.g-search-again { margin-block: 0 48px; }
.g-inline-cta + .g-search-again { margin-top: 56px; }

.g-comments { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--g-line); max-width: 760px; }
.g-comments__title { font-family: var(--g-serif); font-weight: 500; font-size: 24px; }
.g-comments__list { margin-top: 24px; }
.g-comments__list .comment { padding-block: 16px; border-bottom: 1px solid var(--g-line); font-size: 15px; }
.g-comments .comment-form { display: grid; gap: 16px; margin-top: 24px; }
.g-comments .comment-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.g-comments .comment-form input[type="text"], .g-comments .comment-form input[type="email"], .g-comments .comment-form input[type="url"], .g-comments .comment-form textarea { width: 100%; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.g-contact { display: grid; gap: 48px; }
@media (min-width: 1024px) { .g-contact { grid-template-columns: 1fr 1fr; gap: 80px; } }
/* Contact details: one rhythm — label → lines 16px, lines 10px apart, 40px between groups and CTAs. */
.g-contact__info { display: flex; flex-direction: column; gap: 40px; }
.g-contact__group { display: flex; flex-direction: column; gap: 10px; }
.g-contact__group > .g-eyebrow { margin-bottom: 6px; }
.g-contact__line { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.5; color: rgba(26, 26, 26, .8); transition: color var(--geores-motion-fast) var(--geores-ease-soft); }
.g-contact__line .g-icon { flex-shrink: 0; }
a.g-contact__line:hover { color: var(--g-gold-dark); }
.g-contact__ctas { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.g-hours { display: grid; grid-template-columns: max-content max-content; gap: 8px 20px; font-size: 16px; line-height: 1.5; }
.g-hours > div { display: contents; }
.g-hours dt { color: rgba(26, 26, 26, .8); }
.g-hours dd { margin: 0; color: var(--g-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .g-hours { grid-template-columns: 1fr; gap: 2px; } .g-hours dd + dt, .g-hours > div + div dt { margin-top: 8px; } }
.g-contact__form { border: 1px solid var(--g-line); padding: 24px; scroll-margin-top: calc(var(--g-header-h) + 16px); }
@media (min-width: 768px) { .g-contact__form { padding: 32px; } }

.g-map { position: relative; background: var(--g-concrete); min-height: 360px; }
@media (min-width: 768px) { .g-map { min-height: 440px; } }
.g-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.g-map__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: inherit; padding: 48px var(--g-gutter); text-align: center; }
.g-map__address { font-family: var(--g-serif); font-size: 24px; line-height: 1.3; }
.g-map__note { max-width: 36rem; font-size: 13px; color: var(--g-muted); }
.g-map__note a { text-decoration: underline; text-decoration-color: var(--g-gold); text-underline-offset: 3px; }
.g-map.is-loaded .g-map__placeholder { display: none; }

/* ==========================================================================
   Forms (contact + builder)
   ========================================================================== */
.g-form { display: grid; gap: 20px; }
.g-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.g-field > label, .g-field > legend { font-size: 14px; font-weight: 500; color: var(--g-ink); padding: 0; }
.g-field > legend { margin-bottom: 8px; }
.g-field input[type="text"], .g-field input[type="email"], .g-field input[type="tel"], .g-field input[type="number"],
.g-field textarea, .g-select select, .g-comments .comment-form input, .g-comments .comment-form textarea {
	width: 100%; padding: 12px 16px; font-size: 16px; line-height: 1.4;
	background: var(--g-white); color: var(--g-ink);
	border: 1px solid rgba(0, 0, 0, .12); border-radius: 0;
	outline: none; -webkit-appearance: none; appearance: none;
	background-image: linear-gradient(var(--g-gold), var(--g-gold)); background-repeat: no-repeat;
	background-position: 0 100%; background-size: 0 2px;
	transition: border-color var(--geores-motion-fast) var(--geores-ease-soft), background-size var(--geores-motion-medium) var(--geores-ease), box-shadow var(--geores-motion-fast);
}
@media (min-width: 768px) {
	.g-field input[type="text"], .g-field input[type="email"], .g-field input[type="tel"], .g-field input[type="number"], .g-field textarea, .g-select select { font-size: 15px; }
}
.g-field textarea { resize: vertical; min-height: 96px; }
.g-field input::placeholder, .g-field textarea::placeholder { color: #a3a3a3; }
.g-field input:focus, .g-field textarea:focus, .g-select select:focus, .g-comments .comment-form input:focus, .g-comments .comment-form textarea:focus { border-color: rgba(0, 0, 0, .28); background-size: 100% 2px; }
.g-field.is-invalid input, .g-field.is-invalid textarea, .g-field.is-invalid select, .is-invalid > .g-select select { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.g-select { position: relative; }
.g-select select { padding-right: 40px; cursor: pointer; }
.g-select__chevron { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--g-muted); }
.g-check { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.55; color: var(--g-muted); }
.g-check input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--g-gold); }
.g-check a { color: var(--g-ink); text-decoration: underline; text-decoration-color: var(--g-gold); text-underline-offset: 2px; }
.g-check.is-invalid label { color: #b42318; }
.g-form__error { font-size: 14px; color: #b42318; }
.g-form .g-button { width: 100%; margin-top: 4px; }
.g-form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; text-align: center; }
.g-form-success__title { margin-top: 16px; font-family: var(--g-serif); font-size: 22px; color: var(--g-ink); }
.g-form-success__text { margin-top: 8px; font-size: 14px; color: var(--g-muted); }

/* Choices (radio list — editorial, square) */
.g-choices { display: grid; gap: 8px; margin-bottom: 28px; }
@media (min-width: 640px) { .g-choices { grid-template-columns: 1fr 1fr; } }
.g-choice { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, .1); cursor: pointer; transition: border-color .2s, background .2s; }
.g-choice:hover { border-color: rgba(250, 185, 20, .6); }
.g-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.g-choice__box { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border: 1px solid rgba(0, 0, 0, .25); color: transparent; transition: background .2s, border-color .2s, color .2s; }
.g-choice__box .g-icon { width: 14px; height: 14px; }
.g-choice__label { font-size: 15px; line-height: 1.35; color: var(--g-ink); }
.g-choice input:checked ~ .g-choice__box { background: var(--g-gold); border-color: var(--g-gold); color: var(--g-ink); }
.g-choice:has(input:checked) { border-color: var(--g-gold); background: rgba(250, 185, 20, .06); }
.g-choice input:focus-visible ~ .g-choice__box { outline: 2px solid var(--g-gold); outline-offset: 2px; }
.is-invalid .g-choice { border-color: rgba(180, 35, 24, .5); }

/* Tags (multi select — square) */
.g-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.g-tag { position: relative; cursor: pointer; }
.g-tag input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.g-tag span { display: inline-block; padding: 8px 14px; border: 1px solid rgba(0, 0, 0, .12); font-size: 13px; transition: background .2s, border-color .2s; }
.g-tag:hover span { border-color: rgba(250, 185, 20, .6); }
.g-tag input:checked + span { background: var(--g-gold); border-color: var(--g-gold); color: var(--g-ink); }
.g-tag input:focus-visible + span { outline: 2px solid var(--g-gold); outline-offset: 2px; }

/* File input */
.g-file { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; cursor: pointer; }
.g-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.g-file__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(0, 0, 0, .15); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s; }
.g-file:hover .g-file__btn, .g-file input:focus-visible + .g-file__btn { border-color: var(--g-gold); }
.g-file__names { font-size: 13px; color: var(--g-muted); }

/* Summary */
.g-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block: 24px; }
@media (min-width: 640px) { .g-summary { grid-template-columns: repeat(3, 1fr); } }
.g-summary > div { background: var(--g-concrete); padding: 12px 14px; }
.g-summary dt { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--g-muted); }
.g-summary dd { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--g-ink); overflow-wrap: anywhere; }

/* ==========================================================================
   Project Builder (Base44 ProjectBuilder.jsx)
   ========================================================================== */
.g-builder--modal {
	/* Follows the visual viewport (builder.js → --g-vvh / --g-vvt): stays above the mobile keyboard. */
	position: fixed; left: 0; right: 0; top: var(--g-vvt, 0px); bottom: auto; z-index: 60;
	height: 100vh; height: var(--g-vvh, 100dvh);
	display: flex; align-items: stretch; justify-content: center;
}
.g-builder__backdrop {
	position: absolute; inset: 0; background: rgba(26, 26, 26, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
	opacity: 0; transition: opacity .45s ease;
}
.g-builder--modal.is-open .g-builder__backdrop { opacity: 1; }
.g-builder__panel { position: relative; display: flex; flex-direction: column; width: 100%; background: var(--g-white); }
.g-builder--modal .g-builder__panel {
	height: 100%; max-width: 1024px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
	opacity: 0; transform: translateY(14px) scale(.985);
	transition: opacity .5s ease, transform .55s var(--g-ease);
}
.g-builder--modal.is-open .g-builder__panel { opacity: 1; transform: none; }
.g-builder__panel:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
	.g-builder--modal .g-builder__panel { transform: none; transition: opacity .2s linear; }
}
@media (min-width: 768px) {
	.g-builder--modal { align-items: center; padding: 24px; }
	.g-builder--modal .g-builder__panel { height: auto; max-height: 100%; }
}
/* Tablet (portrait and landscape): a centred sheet with generous but not desktop-sized margins. */
@media (min-width: 768px) and (max-width: 1023px) {
	.g-builder--modal { padding: 32px; }
	.g-builder--modal .g-builder__panel { max-width: 720px; }
}
/* Phone: full-screen sheet, content clear of the notch / home indicator. */
@media (max-width: 767px) {
	.g-builder--modal .g-builder__top { padding-top: max(14px, env(safe-area-inset-top)); padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
	.g-builder--modal .g-builder__footer { padding-bottom: max(16px, env(safe-area-inset-bottom)); padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}
.g-builder--inline .g-builder__panel { border: 1px solid var(--g-line); }

.g-builder__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid rgba(0, 0, 0, .05); }
@media (min-width: 768px) { .g-builder__top { padding-block: 18px; padding-inline: 32px; } }
.g-builder__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.g-builder__brand > div { min-width: 0; }
.g-builder__brand .g-icon-circle { align-self: center; }
.g-builder__name { font-family: var(--g-serif); font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--g-ink); text-wrap: balance; }
@media (min-width: 768px) { .g-builder__name { font-size: 20px; } }
.g-builder__sub { margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--g-muted); }
.g-builder__close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; margin-right: -6px; color: var(--g-ink); transition: background .2s; }
.g-builder__close:hover { background: rgba(0, 0, 0, .05); }

.g-builder__phases { display: flex; align-items: center; padding: 12px 20px; border-bottom: 1px solid rgba(0, 0, 0, .05); }
@media (min-width: 768px) { .g-builder__phases { padding: 16px 32px; } }
.g-builder__phase { display: flex; flex: 1; align-items: center; gap: 8px; }
.g-builder__phase:last-child { flex: 0 0 auto; }
.g-builder__phase:not(:last-child)::after { content: ""; flex: 1; height: 1px; margin-inline: 12px; background: rgba(0, 0, 0, .1); transition: background .3s; }
.g-builder__phase.is-done::after { background: var(--g-gold); }
.g-builder__phase-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); font-size: 12px; font-weight: 600; color: var(--g-muted); transition: all .3s; }
.g-builder__phase-num .g-icon { display: none; width: 14px; height: 14px; }
.g-builder__phase.is-active .g-builder__phase-num { border-color: var(--g-gold); color: var(--g-gold-dark); }
.g-builder__phase.is-done .g-builder__phase-num { background: var(--g-gold); border-color: var(--g-gold); color: var(--g-ink); }
.g-builder__phase.is-done .g-builder__phase-num span { display: none; }
.g-builder__phase.is-done .g-builder__phase-num .g-icon { display: block; }
.g-builder__phase-label { font-size: 12px; font-weight: 500; color: var(--g-muted); white-space: nowrap; }
.g-builder__phase.is-active .g-builder__phase-label { color: var(--g-ink); }
/* Phone: same indicator, proportionally tighter. */
@media (max-width: 767px) {
	.g-builder__phase { gap: 6px; min-width: 0; }
	.g-builder__phase:not(:last-child)::after { min-width: 12px; margin-inline: 8px; }
	.g-builder__phase-num { width: 24px; height: 24px; flex-shrink: 0; font-size: 11px; }
	.g-builder__phase-label { font-size: 11px; }
}
@media (max-width: 359px) { .g-builder__phase:not(.is-active) .g-builder__phase-label { display: none; } }

.g-builder__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.g-builder__body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 28px 20px; overscroll-behavior: contain; scroll-padding-block: 24px; }
@media (min-width: 768px) { .g-builder__body { padding: 32px 40px; } }
.g-builder__intro { max-width: 60ch; margin-bottom: 24px; font-size: 14px; line-height: 1.6; color: var(--g-muted); }
.g-builder__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .g-builder__step:not(.is-active) { display: none; }
.no-js .g-builder__step + .g-builder__step { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--g-line); }
.g-builder__legend { display: flex; flex-direction: column; gap: 8px; padding: 0; margin-bottom: 28px; }
.g-builder__title { font-family: var(--g-serif); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--g-ink); }
@media (min-width: 768px) { .g-builder__title { font-size: 30px; } }
.g-builder__step .g-grid-2 + .g-field, .g-builder__step .g-grid-2 + fieldset.g-field { margin-top: 24px; }
.g-builder__step .g-field + .g-field { margin-top: 24px; }
.g-builder__step .g-grid-2 > .g-field + .g-field { margin-top: 0; } /* side-by-side fields share the same top line */
.g-builder__note { margin-bottom: 24px; max-width: 62ch; font-size: 14px; line-height: 1.6; color: var(--g-muted); }
.g-builder__step .g-check { margin-top: 24px; }
.g-builder__body .g-form__error { margin-top: 20px; }

.g-builder__footer { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid rgba(0, 0, 0, .05); background: var(--g-white); }
@media (min-width: 768px) { .g-builder__footer { padding-inline: 40px; } }
.g-builder__back { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 14px; font-weight: 500; color: var(--g-ink); }
.g-builder__back:disabled { opacity: .3; }
.g-builder__progress { flex: 1; height: 2px; background: rgba(0, 0, 0, .06); overflow: hidden; }
.g-builder__progress span { display: block; height: 100%; background: var(--g-gold); transition: width .3s; }
.no-js .g-builder__back, .no-js .g-builder__progress, .no-js [data-builder-next] { display: none; }
.no-js .g-builder__footer { justify-content: flex-end; }

.g-builder__success { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 24px; text-align: center; outline: none; }
@media (min-width: 768px) { .g-builder__success { padding: 80px 40px; } }
.g-builder__success-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--g-gold); color: var(--g-ink); }
.g-builder__success-title { margin-top: 24px; font-family: var(--g-serif); font-weight: 500; font-size: 26px; color: var(--g-ink); }
@media (min-width: 768px) { .g-builder__success-title { font-size: 30px; } }
.g-builder__success-text { max-width: 30rem; margin: 12px 0 32px; font-size: 14px; line-height: 1.6; color: var(--g-muted); }

/* Quote page */
.g-quote { display: grid; gap: 40px; }
@media (min-width: 1024px) { .g-quote { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 64px; } }
.g-quote__aside { display: flex; flex-direction: column; gap: 32px; }
.g-quote__alt { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.g-quote__alt a { color: var(--g-ink); text-decoration: underline; text-decoration-color: var(--g-gold); text-underline-offset: 3px; }
.g-quote__main { scroll-margin-top: calc(var(--g-header-h) + 16px); }

/* ==========================================================================
   Footer (Base44 Footer.jsx)
   ========================================================================== */
.g-footer { position: relative; overflow: hidden; background: var(--g-ink); color: var(--g-white); }
.g-footer__watermark { position: absolute; right: -40px; bottom: 92px; opacity: .04; pointer-events: none; user-select: none; }
.g-footer__watermark img { width: 260px; height: auto; max-width: none; }
.g-footer__inner { position: relative; max-width: 1280px; margin-inline: auto; padding: 64px 20px; }
@media (min-width: 768px) { .g-footer__inner { padding-inline: 32px; } }
.g-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (min-width: 768px) { .g-footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .g-footer__grid { grid-template-columns: repeat(6, 1fr); } }
.g-footer__brand { grid-column: span 2; }
.g-logo--footer { width: 148px; }
@media (min-width: 768px) { .g-logo--footer { width: 168px; } }
.g-footer__tagline { margin-top: 20px; max-width: 20rem; font-size: 14px; line-height: 1.625; color: rgba(255, 255, 255, .55); }
.g-footer__title { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--g-gold); }
.g-footer__list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.g-footer__list a { transition: color .3s; }
.g-footer__list a:hover { color: var(--g-white); }
.g-footer__list--icons li { display: flex; align-items: flex-start; gap: 8px; }
.g-footer__list--icons .g-icon { margin-top: 2px; }
.g-footer__hours { display: block; }
.g-footer__hours + .g-footer__hours { margin-top: 4px; }
.g-footer__hours strong { font-weight: 500; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.g-footer__social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.g-footer__social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .7); transition: border-color .3s, color .3s; }
.g-footer__social a:hover { border-color: var(--g-gold); color: var(--g-gold); }
.g-footer__bar { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .4); text-align: center; }
@media (min-width: 768px) { .g-footer__bar { flex-direction: row; text-align: left; } }
.g-footer__vat { display: inline-block; margin-left: 6px; }
.g-footer__vat::before { content: "· "; }
.g-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.g-footer__legal a:hover { color: var(--g-white); }

/* ==========================================================================
   Gutenberg alignment helpers
   ========================================================================== */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--g-muted); margin-top: 8px; }

/* ==========================================================================
   Motion system — image reveal, drawn lines, hero entrance, page transition
   (tokens in :root; behaviour in assets/js/motion.js)
   ========================================================================== */

/* Image reveal: the frame opens from a slightly closed clip while the photo settles (scale 1.04 → 1).
   The individual `scale` property is used so hover zooms (transform) never conflict with it. */
.js .g-img-reveal {
	clip-path: inset(7% 0 7% 0); opacity: .85;
	transition: clip-path var(--geores-motion-slow) var(--geores-ease) var(--d, 0s), opacity var(--geores-motion-slow) var(--geores-ease) var(--d, 0s);
}
.js .g-img-reveal img { scale: 1.04; }
.js [data-reveal].g-img-reveal {
	transition: opacity var(--geores-motion-medium) var(--geores-ease) var(--d, 0s), transform var(--geores-motion-medium) var(--geores-ease) var(--d, 0s), clip-path var(--geores-motion-slow) var(--geores-ease) var(--d, 0s);
}
.js [data-reveal].g-img-reveal:not(.is-in) { opacity: 0; }
.js .g-img-reveal.is-revealed { clip-path: inset(0 0 0 0); opacity: 1; }
.js .g-img-reveal.is-revealed img { scale: 1; }
.js .g-img-reveal img { transition: transform var(--geores-motion-slow) var(--geores-ease), scale 1100ms var(--geores-ease) var(--d, 0s); }

/* Editorial hairlines are drawn (0 → 100%) when they enter the viewport. */
@property --g-lc { syntax: "<color>"; inherits: true; initial-value: rgba(26, 26, 26, .1); }
.js .g-line-draw {
	--g-lc: var(--g-line);
	border-top-color: transparent !important;
	background-image: linear-gradient(var(--g-lc), var(--g-lc)); background-repeat: no-repeat;
	background-origin: border-box; background-position: 0 0; background-size: 0 1px;
	transition: background-size var(--geores-motion-slow) var(--geores-ease) var(--ld, 0s), --g-lc var(--geores-motion-fast) var(--geores-ease-soft);
}
.js .g-line-draw.is-drawn { background-size: 100% 1px; }
.js .g-profilo-item.g-line-draw, .js .g-brochure.g-line-draw { --g-lc: var(--g-line-strong); }
.js .g-footer__bar.g-line-draw { --g-lc: rgba(255, 255, 255, .1); }
@media (hover: hover) { .js .g-rows__item.g-line-draw:hover { --g-lc: var(--g-line-strong); } }

/* Homepage hero: on page load label → title → CTA → controls enter in sequence. */
.js:not(.g-motion-ready) .g-hero__text.is-active > *, .js:not(.g-motion-ready) .g-hero__controls { opacity: 0; transform: translate3d(0, 18px, 0); }
.js:not(.g-motion-ready) .g-hero__text.is-active .g-hero__title { transform: translate3d(0, 28px, 0); }
.g-motion-ready .g-hero__text.is-active > *, .g-motion-ready .g-hero__controls {
	transition: opacity var(--geores-motion-medium) var(--geores-ease), transform var(--geores-motion-slow) var(--geores-ease);
}
.g-motion-ready .g-hero__text.is-active > :nth-child(2) { transition-delay: var(--geores-stagger); }
.g-motion-ready .g-hero__text.is-active > :nth-child(3) { transition-delay: calc(var(--geores-stagger) * 2); }
.g-motion-ready .g-hero__controls { transition-delay: calc(var(--geores-stagger) * 3); }
/* Hero CTA lines are drawn after the slide text appears (at load and at every slide change). */
.js .g-hero__text .g-line-link__rule { transform: scaleX(0); }
.g-motion-ready .g-hero__text.is-active .g-line-link__rule {
	transform: none;
	transition: width 420ms var(--geores-ease-soft), background-color var(--geores-motion-fast) var(--geores-ease-soft), transform 800ms var(--geores-ease) 750ms;
}

/* Chi siamo CTA: the gold line is drawn over the white one on hover. */
.ga-cta__link { position: relative; }
.ga-cta__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--g-gold);
	transform: scaleX(0); transform-origin: left center; transition: transform 420ms var(--geores-ease);
}
.ga-cta__link:hover::after, .ga-cta__link:focus-visible::after { transform: scaleX(1); }

/* Page transition: GEORES curtain + official logo (a visual layer only; navigation is never blocked). */
.g-pt {
	position: fixed; inset: 0; z-index: 2147483000;
	display: flex; align-items: center; justify-content: center;
	background: var(--g-ink); opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 380ms var(--geores-ease-inout), visibility 0s linear 380ms;
}
.g-pt__brand { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.g-pt__logo {
	display: block; width: 200px; height: auto; max-width: 56vw;
	opacity: 0; transform: scale(.96); clip-path: inset(0 100% 0 0);
}
@media (min-width: 768px) { .g-pt__logo { width: 240px; } }
.g-pt__line { display: block; width: 48px; height: 1px; background: var(--g-gold); transform: scaleX(0); }
/* Leaving page A: the page dissolves under the curtain, the logo is revealed left → right. */
.g-pt-out .g-pt { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 300ms var(--geores-ease-inout), visibility 0s; }
.g-pt-out .g-pt__logo {
	opacity: 1; transform: none; clip-path: inset(0 0 0 0);
	transition: opacity 260ms ease-out 60ms, transform 520ms var(--geores-ease) 60ms, clip-path 520ms var(--geores-ease) 60ms;
}
.g-pt-out .g-pt__line { transform: none; transition: transform 460ms var(--geores-ease) 180ms; }
/* Arriving on page B: the logo is already there, then the new page emerges. */
.g-pt-in .g-pt { opacity: 1; visibility: visible; transition: none; }
.g-pt-in .g-pt__logo { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.g-pt-in .g-pt__line { transform: none; }
.g-pt-in.g-pt-leave .g-pt { opacity: 0; transition: opacity 480ms var(--geores-ease-inout); }
.g-pt-in.g-pt-leave .g-pt__brand { opacity: 0; transform: translate3d(0, -8px, 0); transition: opacity 300ms ease-out, transform 480ms var(--geores-ease); }
.no-js .g-pt { display: none; }

@media (prefers-reduced-motion: reduce) {
	.js .g-img-reveal, .js .g-img-reveal.is-revealed { clip-path: none; }
	.js .g-img-reveal img { scale: 1 !important; }
	.g-hero__slide img { transform: none !important; transition: none; }
	.js:not(.g-motion-ready) .g-hero__text.is-active > *, .js:not(.g-motion-ready) .g-hero__controls { transform: none; }
	.js .g-hero__text .g-line-link__rule { transform: none; }
	.g-pt__logo, .g-pt-out .g-pt__logo { transform: none; clip-path: none; transition: opacity 150ms linear; }
	.g-pt__line { display: none; }
}

/* ==========================================================================
   Cookie consent (inc/privacy.php · assets/js/consent.js) — editorial, non-blocking
   ========================================================================== */
.g-consent {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; padding: 0;
	opacity: 0; transform: translate3d(0, 16px, 0);
	transition: opacity var(--geores-motion-medium) var(--geores-ease), transform var(--geores-motion-medium) var(--geores-ease), visibility 0s;
}
.g-consent.is-open { opacity: 1; transform: none; }
/* Never two layers at once: while the quote pop-up, the menu or the photo viewer is open the banner steps
   aside, and comes back softly (after the dialog has faded) when it closes. */
.g-lock .g-consent.is-open {
	opacity: 0; transform: translate3d(0, 16px, 0); visibility: hidden; pointer-events: none;
	transition: none; /* out at once, under the darkening backdrop: never a cross-fade with the dialog */
}
body:not(.g-lock) .g-consent.is-open { transition-delay: 380ms, 380ms, 0s; }
.g-consent__panel {
	position: relative; max-height: 80vh; max-height: 80dvh; overflow-y: auto; overscroll-behavior: contain;
	padding: 24px var(--g-gutter) max(20px, env(safe-area-inset-bottom));
	background: var(--g-white); color: var(--g-ink);
	border-top: 1px solid var(--g-line-strong); box-shadow: 0 -12px 40px -24px rgba(0, 0, 0, .35);
}
@media (min-width: 768px) {
	/* Tablet + desktop: top-right under the header, over the photograph only — the hero title, data row,
	   CTAs and slide controls (bottom-left) are never covered. */
	.g-consent { left: auto; right: 24px; top: calc(var(--g-header-h) + 12px); bottom: auto; width: 380px; transform: translate3d(0, -12px, 0); }
	.g-consent__panel { max-height: calc(100vh - var(--g-header-h) - 36px); padding: 22px 24px 18px; border: 1px solid var(--g-line-strong); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .4); }
	.g-lock .g-consent.is-open { transform: translate3d(0, -12px, 0); }
}
.g-consent__close {
	position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; color: var(--g-muted); transition: color var(--geores-motion-fast) var(--geores-ease-soft);
}
.g-consent__close:hover, .g-consent__close:focus-visible { color: var(--g-ink); }
.g-consent__close .g-icon { width: 18px; height: 18px; }
.g-consent__text { margin-top: 12px; padding-right: 24px; font-size: 14px; line-height: 1.6; color: rgba(26, 26, 26, .78); }
.g-consent__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; font-size: 13px; }
.g-consent__links a { color: var(--g-ink); text-decoration: underline; text-decoration-color: var(--g-gold); text-underline-offset: 3px; }
.g-consent__prefs { display: grid; gap: 12px; margin: 18px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--g-line); }
.g-consent__cat { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.5; color: rgba(26, 26, 26, .78); cursor: pointer; }
.g-consent__cat input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--g-gold); }
.g-consent__cat strong { display: block; font-weight: 600; color: var(--g-ink); }
.g-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
/* "Rifiuta" and "Accetta tutti": same size, same style — no nudging towards acceptance. */
.g-consent__btn {
	display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px;
	border: 1px solid var(--g-ink); background: var(--g-white); color: var(--g-ink);
	font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
	transition: background var(--geores-motion-fast) var(--geores-ease-soft), color var(--geores-motion-fast) var(--geores-ease-soft), border-color var(--geores-motion-fast) var(--geores-ease-soft);
}
.g-consent__btn:hover, .g-consent__btn:focus-visible { background: var(--g-ink); color: var(--g-white); }
.g-consent__btn[data-consent-save] { grid-column: 1 / -1; }
.g-consent.is-custom .g-consent__btn[data-consent-reject], .g-consent.is-custom .g-consent__btn[data-consent-accept] { display: none; }
.g-consent__more {
	grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 36px;
	font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--g-ink);
}
.g-consent__more::after { content: ""; display: block; width: 24px; height: 1px; background: var(--g-gold); transition: width 420ms var(--geores-ease-soft); }
.g-consent__more:hover::after, .g-consent__more:focus-visible::after { width: 48px; }
.g-consent.is-custom .g-consent__more { display: none; }
/* WhatsApp steps aside while the banner is open (same corner), and comes back after the choice. */
.g-wa-float { transition: transform .3s var(--g-ease), box-shadow .3s, opacity var(--geores-motion-fast) var(--geores-ease-soft), visibility 0s; }
.g-consent-open .g-wa-float { opacity: 0; visibility: hidden; transition: opacity var(--geores-motion-fast) var(--geores-ease-soft), visibility 0s linear var(--geores-motion-fast); }
@media (prefers-reduced-motion: reduce) { .g-consent { transform: none; transition: opacity 150ms linear; } }
.g-footer__consent { padding: 0; font: inherit; color: inherit; cursor: pointer; }
.g-footer__consent:hover, .g-footer__consent:focus-visible { color: var(--g-white); }

/* Legal pages (Informativa privacy, Cookie policy) */
.g-legal h2 { margin-top: 1.8em; font-size: 24px; }
@media (min-width: 768px) { .g-legal h2 { font-size: 26px; } }
.g-table-wrap { overflow-x: auto; margin-top: 12px; -webkit-overflow-scrolling: touch; }
.g-cookie-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.g-cookie-table th, .g-cookie-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--g-line); text-align: left; vertical-align: top; }
.g-cookie-table th { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g-muted); }
.g-cookie-table code { font-size: 12px; word-break: break-word; }

/* ==========================================================================
   WhatsApp floating button (all breakpoints, official colours)
   ========================================================================== */
.g-wa-float {
	position: fixed !important; z-index: 45;
	right: max(24px, env(safe-area-inset-right)) !important; bottom: max(24px, env(safe-area-inset-bottom)) !important;
	display: flex; align-items: center; justify-content: center;
	width: 52px !important; height: 52px !important; margin: 0; padding: 0; border-radius: 50%;
	background: #25d366; color: #fff; /* WhatsApp Green circle, white logo (official brand colours) */
	box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .3), 0 1px 4px rgba(0, 0, 0, .12);
	transition: transform .3s var(--g-ease), box-shadow .3s;
}
.g-wa-float svg { display: block; width: 30px; height: 30px; max-width: 30px; max-height: 30px; flex: none; }
.g-wa-float:hover, .g-wa-float:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35), 0 1px 4px rgba(0, 0, 0, .12); }
.g-wa-float:focus-visible { outline: 2px solid #25d366; outline-offset: 3px; }
@media (max-width: 767px) {
	.g-wa-float { right: max(18px, env(safe-area-inset-right)) !important; bottom: max(18px, env(safe-area-inset-bottom)) !important; width: 48px !important; height: 48px !important; }
	.g-wa-float svg { width: 28px; height: 28px; max-width: 28px; max-height: 28px; }
}
.g-lock .g-wa-float { opacity: 0; visibility: hidden; }

@media print {
	.g-header, .g-fsmenu, .g-builder, .g-footer__watermark, .g-map, .g-wa-float { display: none !important; }
	.g-page-hero { padding-top: 24px; }
}
