/*
Theme Name: Giovanni Caruso Tattoo
Description: Tema coded per carusogiovanni.com (migrazione da funnel GoHighLevel). Pattern Latin Ink Modena.
Author: Digital On
Version: 0.1.0
Text Domain: caruso-tattoo
*/

:root {
	--bg: #000;
	--fg: #fff;
	--muted: #bdbdbd;
	--gold: #f9d692;
	--line: #3a3a3a;
	--wrap: 1100px;
	--font-body: "DM Sans", system-ui, sans-serif;
	--font-title: "Montserrat", system-ui, sans-serif;
}

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

html, body { margin: 0; padding: 0; }

body {
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Header: solo logo, come sul sorgente */
.site-header { padding: 110px 0 40px; }
.site-header__logo { width: 100%; max-width: 800px; margin: 0 auto; }

/* Intro */
.intro { text-align: center; padding: 20px 0 50px; }
.intro p { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.75; }

/* Modulo preventivo (componente lead-form) */
.form-embed { max-width: 520px; margin: 0 auto; padding: 0 16px 120px; }
.prenota-form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.prenota-form__field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.prenota-form label, .prenota-form legend { display: block; margin: 0 0 8px; padding: 0; font-size: 16px; font-weight: 500; }
.prenota-form input[type="text"], .prenota-form input[type="tel"], .prenota-form input[type="email"], .prenota-form textarea {
	display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px;
	background: #111; color: var(--fg); font: inherit; font-size: 16px; line-height: 1.5;
}
.prenota-form textarea { resize: vertical; min-height: 130px; }
.prenota-form input[type="file"] { display: block; width: 100%; font: inherit; font-size: 15px; color: var(--muted); }
.prenota-form input:focus, .prenota-form textarea:focus, .prenota-form button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.prenota-form__choice label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 400; }
.prenota-form__choice input, .prenota-form__consent input { width: 20px; height: 20px; flex: none; accent-color: var(--gold); }
.prenota-form__hint { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.prenota-form__consent { margin: 0 0 26px; }
.prenota-form__consent label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; font-weight: 400; color: var(--muted); }
.prenota-form__submit {
	display: block; width: 100%; padding: 14px 20px; border: 0; border-radius: 3px; cursor: pointer;
	background: var(--gold); color: #000; font: inherit; font-size: 16px; font-weight: 700; text-transform: uppercase;
}
.prenota-form__submit:disabled { opacity: .6; cursor: default; }
.leadform-success:empty, .leadform-error:empty { margin: 0; padding: 0; border: 0; }
.leadform--sent > *:not(.leadform-success):not(.leadform-error) { display: none; }
.leadform-success { margin: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold); font-size: 20px; line-height: 30px; font-weight: 600; }
.leadform-error { margin: 14px 0 0; padding: 4px 0 4px 14px; border-left: 4px solid #ff6b60; font-size: 16px; line-height: 24px; font-weight: 600; color: #ff6b60; }
@media (max-width: 767px) {
	.leadform-success { font-size: 18px; line-height: 27px; }
	.prenota-form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Social */
.social { text-align: center; padding: 40px 0 90px; }
.social h2, .contacts h2 {
	font-family: var(--font-title);
	font-weight: 400;
	font-size: 23px;
	margin: 0 0 24px;
	text-transform: uppercase;
}
.social__icons { display: flex; justify-content: center; gap: 28px; }
.social__icons a { color: var(--muted); transition: color .2s; }
.social__icons a:hover { color: var(--fg); }
.social__icons svg { width: 36px; height: 36px; display: block; }

/* Contatti + mappa */
.contacts { border-top: 1px solid var(--line); padding: 30px 0; }
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contacts__map img { width: 100%; }
.contacts__list { list-style: none; margin: 0; padding: 0 0 0 20px; font-family: var(--font-title); font-size: 19px; }
.contacts__list li { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.contacts__list a { text-decoration: none; overflow-wrap: anywhere; }
.contacts__list a:hover { text-decoration: underline; }
.contacts__list svg { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* Campo trappola antispam (inserito da prenota.js): fuori dal flusso e fuori schermo, non nascosto con display:none */
.lf-ctl { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* Footer bianco */
.site-footer { background: #fff; color: #000; font-size: 14px; font-weight: 500; padding: 18px 0; }
.site-footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Pagine semplici (privacy ecc.) */
.page-content { max-width: 800px; margin: 0 auto; padding: 0 16px 100px; }
.page-content h1 { font-family: var(--font-title); font-weight: 400; }

@media (max-width: 767px) {
	.site-header { padding: 60px 0 24px; }
	.intro p { font-size: 16px; }
	.intro p br { display: none; }
	.form-embed { padding-bottom: 70px; }
	.contacts__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.contacts__list { padding-left: 0; font-size: 15px; }
	.site-footer__row { flex-direction: column; text-align: center; }
}
