/* ==========================================================================
   Latin Ink Modena — design tokens (estratti via Playwright dal sito live)
   ========================================================================== */
:root {
	--font-heading: 'Hepta Slab', serif;
	--font-body: 'Inter', sans-serif;
	--font-lead: 'Bodoni Moda', serif;

	--bg: #000000;
	--bg-black: #000000;
	--bg-alt: #161616;
	--text: #F1F1F1;
	--text-muted: #A8A8A8;
	--heading: #F4E5C9;
	--accent: #FFA500;
	--accent-dim: rgba(255, 165, 0, 0.15);
	--btn-text: #080808;
	--border: rgba(244, 229, 201, 0.12);

	--radius-sm: 3px;
	--radius-md: 6px;
	--radius-lg: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 27px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
	font-family: var(--font-heading);
	font-weight: 500;
	color: var(--heading);
	margin: 0 0 16px;
	line-height: 1.15;
}
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(26px, 4vw, 45px); }
h3 { font-size: clamp(19px, 2.4vw, 25px); }

.eyebrow {
	font-family: var(--font-lead);
	font-style: italic;
	font-weight: 400;
	font-size: 20px;
	color: var(--accent);
	margin-bottom: 12px;
}

.lead {
	font-family: var(--font-lead);
	font-size: 20px;
	color: var(--accent);
	line-height: 1.5;
	margin: 0 0 16px;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }
.wrap--split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; max-width: 1160px; margin: 0 auto 64px; padding: 0 24px; }

.section { padding: 96px 0; }
.section--dark { background: var(--bg-black); }
.section__head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section__head .eyebrow, .section__head h2, .section__head .lead { text-align: center; }
.section__head p { color: var(--text); font-size: 17.6px; line-height: 27px; margin: 16px 0 0; }

/* Buttons — squadrati, uppercase, come da token */
.btn {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 16px 32px;
	border-radius: 0;
	border: 2px solid var(--accent);
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn--primary { background: var(--accent); color: var(--btn-text); }
.btn--ghost { background: transparent; color: var(--heading); }
.btn--sm { padding: 10px 20px; font-size: 12px; }

.link-arrow {
	display: inline-block;
	color: var(--accent);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
	margin-top: 8px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 32px;
	background: transparent;
}
.navbar__logo-img { height: 40px; width: auto; }
.navbar__links { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.navbar__links a { font-size: 15px; font-weight: 400; }
.navbar__links a:hover { color: var(--accent); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--heading); display: block; }

@media (max-width: 900px) {
	.navbar__links {
		position: fixed; top: 72px; left: 0; right: 0;
		flex-direction: column; gap: 0;
		background: var(--bg-black);
		max-height: 0; overflow: hidden;
		transition: max-height 0.3s ease;
		border-bottom: 1px solid var(--border);
	}
	.navbar__links.is-open { max-height: 400px; }
	.navbar__links li { border-top: 1px solid var(--border); }
	.navbar__links a { display: block; padding: 16px 32px; }
	.hamburger { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; transition: opacity 1.5s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%); }
.hero__content { position: relative; z-index: 1; max-width: 900px; padding: 0 24px; margin: 0 auto; text-align: left; padding-top: 100px; }
.hero__content h1 { color: var(--heading); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

/* ==========================================================================
   Bio
   ========================================================================== */
.section--bio { padding: 140px 0 80px; }
.bio__content { display: flex; flex-direction: column; justify-content: center; }
.bio__content p { color: var(--text-muted); margin: 0 0 16px; }

.bio__photo {
	position: relative;
	min-height: 480px;
}
.bio__photo-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	border-radius: 0;
	filter: grayscale(100%);
}

.stats {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
	text-align: center;
	margin-top: 32px;
	max-width: 420px;
}
.stat__number, .stat__suffix {
	font-family: var(--font-heading); font-size: 40px; color: var(--accent); font-weight: 600;
}
.stat__label { font-size: 13px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Card orari — overlay flottante sull'angolo basso-destro della foto bio.
   È un fratello di .bio__photo-img (non un figlio), così il filter:grayscale
   di .bio__photo-img non la coinvolge — filter compone l'intero sottoalbero
   dell'elemento a cui è applicato, quindi non basterebbe "filter:none" su un
   discendente per annullarlo. */
.hours-box {
	position: absolute;
	right: 24px;
	bottom: 24px;
	width: 42%;
	min-width: 220px;
	background: #2A2A2A;
	border-radius: var(--radius-lg);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	padding: 20px 24px;
	z-index: 1;
}
.hours-box h3 {
	font-size: 18px;
	margin-bottom: 12px;
	color: var(--heading);
}
.hours-box__sub { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--text-muted); text-transform: none; letter-spacing: normal; }
.hours-box__list { font-family: var(--font-body); font-size: 13px; }
.hours-box__row {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(244, 229, 201, 0.1);
}
.hours-box__row:last-child { border-bottom: none; padding-bottom: 0; }
.hours-box__row span:first-child { color: var(--text); font-weight: 600; }
.hours-box__row span:last-child { color: var(--text-muted); }

@media (max-width: 500px) {
	.hours-box { width: calc(100% - 32px); right: 16px; bottom: 16px; }
}

/* ==========================================================================
   Servizi
   ========================================================================== */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.service-card img { aspect-ratio: 4/3; object-fit: cover; }
.service-card__body { padding: 24px; }
.service-card__body p { color: var(--text-muted); }

/* ==========================================================================
   Recensioni
   ========================================================================== */
.reviews-summary { text-align: left; margin: 0 0 40px; }
.reviews-summary__score { font-family: var(--font-heading); font-size: 48px; color: var(--text); line-height: 1; margin-bottom: 10px; }
.reviews-summary__row { display: flex; align-items: center; justify-content: flex-start; gap: 14px; }
.reviews-summary__stars { display: flex; gap: 4px; color: var(--accent); }
.reviews-summary__stars svg { width: 22px; height: 22px; }
.reviews-summary__sep { color: var(--text-muted); }
.reviews-summary__count { color: var(--text-muted); font-size: 18px; }

.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; height: 280px; }
.review-card__stars { display: flex; align-items: center; gap: 6px; color: var(--accent); margin-bottom: 16px; }
.review-card__stars svg { width: 20px; height: 20px; }
.review-card__stars-num { font-family: var(--font-heading); font-weight: 600; font-size: 24px; margin-right: 2px; }
.review-card__text { color: #333333; font-size: 16px; line-height: 1.6; flex: 1; margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-card__author { display: flex; align-items: center; gap: 12px; min-width: 0; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: #9598ac; color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-card__name { color: #6b7280; font-size: 15px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-card__google { width: 28px; height: 28px; flex-shrink: 0; margin-left: auto; }

@media (min-width: 1300px) {
	.reviews-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
	.reviews-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Benefici — collage foto (sinistra) + lista senza card (destra)
   ========================================================================== */
.benefits-collage {
	position: relative;
	aspect-ratio: 4 / 5;
	max-width: 480px;
}
.benefits-collage__photo {
	position: absolute;
	background-size: cover;
	background-position: center;
	filter: grayscale(100%);
	border-radius: var(--radius-lg);
}
.benefits-collage__photo--back {
	top: 0;
	right: 0;
	width: 82%;
	height: 82%;
}
.benefits-collage__photo--front {
	bottom: 0;
	left: 0;
	width: 58%;
	height: 58%;
	z-index: 1;
	border: 6px solid var(--bg-black);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.benefits-content { display: flex; flex-direction: column; justify-content: center; }
.benefits-content .btn { align-self: flex-start; margin-top: 8px; }

.benefits-list { list-style: none; margin: 24px 0 32px; padding: 0; }
.benefits-list__item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}
.benefits-list__item:last-child { border-bottom: none; }
.benefits-list__icon {
	flex-shrink: 0;
	width: 28px; height: 28px;
	color: var(--accent);
}
.benefits-list__icon svg { width: 100%; height: 100%; }
.benefits-list__text { color: var(--text-muted); }
.benefits-list__text strong { color: var(--heading); font-family: var(--font-heading); font-weight: 500; }

/* ==========================================================================
   Lavori
   ========================================================================== */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.works-grid img { aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-md); }
.works-grid__cta { text-align: center; margin-top: 40px; }

/* Pagine tipo piercing — galleria 2 colonne, foto landscape (pattern sorgente) */
.type-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 40px auto 0; }
.type-gallery img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: 16px; }
@media (max-width: 600px) {
	.type-gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--accent-dim); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 72px 0; text-align: center; }
.cta-band p { max-width: 560px; margin: 0 auto 24px; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	background: none; border: none; color: var(--text); font-family: var(--font-body);
	font-size: 16px; font-weight: 500; text-align: left; padding: 20px 0; cursor: pointer;
}
.faq-item__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-item__icon::before, .faq-item__icon::after { content: ''; position: absolute; background: var(--accent); }
.faq-item__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-item__icon::after { top: 0; left: 7px; width: 2px; height: 16px; transition: opacity 0.2s ease; }
.faq-item__q[aria-expanded="true"] .faq-item__icon::after { opacity: 0; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item__a p { color: var(--text-muted); margin: 0 0 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--bg-black); padding: 72px 24px 32px; border-top: 1px solid var(--border); }
.footer__grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__logo { height: 44px; margin-bottom: 16px; }
.footer__brand-info { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.footer__title { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.footer__link { display: inline-block; color: var(--text-muted); font-size: 13px; margin-bottom: 6px; }
.footer__link:hover { color: var(--accent); }
.footer__hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12px; color: var(--text-muted); }
.social-icons { display: flex; gap: 10px; }
.social-icon {
	width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
	display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.social-icon:hover { border-color: var(--accent); color: var(--accent); }
.footer__map { max-width: 1160px; margin: 40px auto 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.footer__map iframe { width: 100%; height: 280px; border: 0; display: block; }
.footer__divider { max-width: 1160px; margin: 32px auto 24px; border: none; border-top: 1px solid var(--border); }
.footer__copyright { max-width: 1160px; margin: 0 auto; font-size: 12px; color: var(--text-muted); text-align: center; }
.footer__copyright a { color: var(--text-muted); }

@media (max-width: 900px) {
	.wrap--split, .services { grid-template-columns: 1fr; }
	.works-grid { grid-template-columns: repeat(2, 1fr); }
	.stats { max-width: none; }
	.benefits-collage { max-width: 360px; margin: 0 auto 32px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.footer__grid { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.works-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page hero — header di pagina interna (Bio, Tatuaggi, Piercing, ecc.)
   ========================================================================== */
.page-hero {
	position: relative;
	padding: 150px 0 56px;
	text-align: center;
	background-size: cover;
	background-position: center;
}
.page-hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.8); }
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 4vw, 45px); margin-bottom: 12px; }
.breadcrumb { font-size: 13px; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb__current { color: var(--accent); }

/* ==========================================================================
   Storia (pagina Bio)
   ========================================================================== */
.section--story { padding: 64px 0 96px; text-align: center; }
.section--story .wrap--narrow p { color: var(--text-muted); }
.story-photo { margin: 40px auto 56px; border-radius: var(--radius-lg); overflow: hidden; }
.story-photo img { width: 100%; }

.stats--center { grid-template-columns: repeat(3, auto); justify-content: center; gap: 56px; max-width: none; margin: 0 auto; }
@media (max-width: 600px) {
	.stats--center { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   CTA band — variante foto (pagine interne)
   ========================================================================== */
.cta-band--photo { position: relative; border: none; background-position: center; background-size: cover; }
.cta-band--photo::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.cta-band--photo .wrap { position: relative; z-index: 1; }

/* ==========================================================================
   Contatti (pagina Bio)
   ========================================================================== */
.contatti__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.contatti__content { display: flex; flex-direction: column; justify-content: center; }
.contatti__note { color: var(--text-muted); margin-bottom: 20px; }
.hours-table__row {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 14px 0; border-bottom: 1px solid var(--border);
}
.hours-table__row:last-child { border-bottom: none; }
.hours-table__row span:first-child { color: var(--heading); font-weight: 600; }
.hours-table__row span:last-child { color: var(--text-muted); }

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 900; display: flex; align-items: center; }
.whatsapp-float__btn {
	width: 56px; height: 56px; border-radius: 50%; background: #25D366;
	display: flex; align-items: center; justify-content: center;
}
.whatsapp-float__btn svg { width: 28px; height: 28px; fill: #fff; }
.whatsapp-float__tooltip {
	background: var(--bg-black); color: var(--text); font-size: 12px; padding: 6px 12px;
	border-radius: var(--radius-sm); margin-right: 10px; opacity: 0; transform: translateX(8px);
	transition: opacity 0.2s ease, transform 0.2s ease; white-space: nowrap;
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; transform: translateX(0); }

/* ==========================================================================
   Cookie consent banner (prior-blocking)
   ========================================================================== */
.lim-consent {
	position: fixed; left: 0; right: 0; bottom: -220px; z-index: 9999;
	background: var(--bg-black); border-top: 2px solid var(--accent);
	padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
	transition: bottom 0.3s ease; font-family: var(--font-body);
}
.lim-consent.is-visible { bottom: 0; }
.lim-consent__text { flex: 1 1 320px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.lim-consent__text a { color: var(--accent); text-decoration: underline; }
.lim-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lim-consent__btn {
	font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase;
	padding: 10px 20px; border-radius: 0; cursor: pointer; border: 1px solid var(--accent);
	background: transparent; color: var(--text);
}
.lim-consent__btn--accept { background: var(--accent); color: var(--btn-text); }

/* ==========================================================================
   Pagina Tatuaggi
   ========================================================================== */
.intro-copy { display: flex; flex-direction: column; justify-content: center; }
.intro-copy p { color: var(--text); font-size: 17.6px; line-height: 27px; margin: 0 0 16px; }

.video-embed { max-width: 1160px; margin: 48px auto 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.process-card { border: 1px solid var(--heading); border-radius: 0; padding: 40px; text-align: center; }
.process-card__number { font-family: var(--font-heading); color: var(--accent); font-size: 14px; margin-bottom: 12px; }
.process-card__icon { width: 40px; height: 40px; margin: 0 auto 20px; color: var(--accent); }
.process-card__icon svg { width: 100%; height: 100%; }
.process-card p { color: var(--text); font-size: 21px; margin: 0; }
.process-cta { text-align: center; margin-top: 40px; }

.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.style-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1.06 / 1; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.style-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.88) 100%); }
.style-card__number { position: absolute; top: 4px; right: 12px; font-family: var(--font-heading); font-weight: 500; font-size: 72px; line-height: 1; color: var(--heading); opacity: .4; z-index: 1; }
.style-card__body { position: relative; z-index: 1; padding: 20px; }
.style-card__body h3 { margin: 0 0 6px; }
.style-card__link { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }

.style-gallery { padding: 56px 0; border-top: 1px solid var(--border); }
.style-gallery__head { max-width: 700px; margin: 0 auto 32px; }
.style-gallery__head h3 { margin-bottom: 8px; }
.style-gallery__head p { color: var(--text-muted); }

@media (max-width: 900px) {
	.process-grid, .style-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.process-grid, .style-grid { grid-template-columns: 1fr; }
}

/* LEGAL CONTENT */
.legal-content h3 { margin: 40px 0 12px; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); margin: 0 0 12px; }

/* PRICE LIST */
.price-list__row { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border); }
.price-list__row:last-child { border-bottom: none; }
.price-list__row span:first-child { color: var(--heading); font-weight: 600; }
.price-list__row span:last-child { color: var(--accent); font-weight: 600; }
