/* studiogaggiano.it: due identita' sullo stesso foglio. .s-dentista = chiaro, clinico e caldo; .s-liuteria = noce scuro, serif. */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root { --wrap: 1180px; --gut: clamp(16px, 4vw, 40px); --r: 18px; }
.s-dentista {
  --bg: #f6f3ee; --bg2: #ebe6dd; --card: #fffdf9; --ink: #142423; --mute: #5a6766; --line: #d9d2c6;
  --acc: #123b3a; --acc2: #2f6f68; --on-acc: #f6f3ee; --soft: #dfeae6;
  --f-head: "Manrope", system-ui, sans-serif; --f-body: "Manrope", system-ui, sans-serif;
}
.s-liuteria {
  --bg: #17110d; --bg2: #211812; --card: #261c15; --ink: #efe5d6; --mute: #b3a48f; --line: #3d2f24;
  --acc: #c98a3d; --acc2: #e0b06b; --on-acc: #17110d; --soft: #2d2118;
  --f-head: "Fraunces", Georgia, serif; --f-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
.s-liuteria h1, .s-liuteria h2 { font-weight: 380; letter-spacing: -.01em; }
.s-liuteria h1 em, .s-liuteria h2 em { font-style: italic; color: var(--acc2); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--acc); color: var(--on-acc); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--acc2); outline-offset: 3px; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--acc2); margin-bottom: .8em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--mute); max-width: 40em; }
.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--acc2); padding-bottom: 2px; }

/* Bottoni */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--acc); color: var(--on-acc); border: 1.5px solid var(--acc); padding: .85em 1.4em; border-radius: 999px; font: 700 .95rem/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: var(--acc2); border-color: var(--acc2); }
.btn-ghost { background: transparent; color: var(--acc); }
.btn-ghost:hover { color: var(--on-acc); }
.btn-sm { padding: .6em 1em; font-size: .85rem; }
.btn-wood { background: #c98a3d; border-color: #c98a3d; color: #17110d; }
.btn-wood:hover { background: #e0b06b; border-color: #e0b06b; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }

/* Header */
.hd { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; color: var(--acc); flex: none; }
.s-liuteria .brand-mark { color: var(--acc2); }
.brand b { display: block; font-family: var(--f-head); font-size: 1.08rem; font-weight: 750; letter-spacing: -.01em; }
.s-liuteria .brand b { font-weight: 450; font-size: 1.2rem; }
.brand small { display: block; font-size: .74rem; color: var(--mute); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .94rem; }
.nav a[aria-current="page"] { color: var(--acc2); }
.nav-alt a { color: var(--mute); }
.s-dentista .nav-alt a { font-family: "Fraunces", serif; font-style: italic; font-weight: 400 !important; color: #8a5a22; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); color: var(--ink); border-radius: 999px; padding: .5em 1em; font: 700 .85rem var(--f-body); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gut) 24px; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { justify-content: center; margin-top: 12px; }
}

/* Breadcrumb */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: .82rem; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }

/* Figure e segnaposto */
.fig { margin: 0; border-radius: var(--r); overflow: hidden; }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; padding: 24px; text-align: center; font-size: .8rem; color: var(--mute);
  background: repeating-linear-gradient(135deg, var(--bg2) 0 14px, color-mix(in srgb, var(--bg2) 70%, var(--bg)) 14px 28px); border: 1px dashed var(--line); }
.fig-wide { margin: 0 0 2.2em; }

/* ---------------- DENTISTA ---------------- */
.hero-d { padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.hero-d-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-d h1 { max-width: 12em; }
.hero-d-fig { border-radius: 200px 200px var(--r) var(--r); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin: 2em 0 0; border-top: 1px solid var(--line); }
.facts li { padding: 16px 14px 0 0; }
.facts li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.facts b { display: block; font-size: 1.2rem; color: var(--acc); }
.facts span { font-size: .84rem; color: var(--mute); }
@media (max-width: 820px) { .hero-d-in { grid-template-columns: 1fr; } .hero-d-fig { max-width: 420px; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; } }

.prose-d, .prose-l { max-width: 760px; }
.prose-d h2, .prose-l h2 { margin-top: 1.6em; }
.prose-d ul, .prose-l ul, .prose-d ol, .prose-l ol { padding-left: 1.2em; }
.prose-d li, .prose-l li { margin-bottom: .45em; }
.prose-d a, .prose-l a { color: var(--acc2); font-weight: 600; }
.intro { padding-block: clamp(24px, 4vw, 48px); font-size: 1.08rem; }

.band-d { background: var(--acc); color: var(--on-acc); padding: clamp(48px, 7vw, 96px) 0; margin-top: 24px; --line: rgba(246,243,238,.18); --mute: rgba(246,243,238,.72); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head a { font-weight: 700; }
.cards-d { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cards-d li { box-shadow: 0 0 0 .5px var(--line); }
.cards-d li { background: var(--acc); }
.ph-d + .wrap .cards-d li, .s-dentista main > .wrap .cards-d li { background: var(--card); }
.cards-d a { display: block; height: 100%; padding: 26px 24px 28px; text-decoration: none; transition: background .2s; }
.cards-d a:hover { background: color-mix(in srgb, var(--acc2) 22%, transparent); }
.cards-d .num { font-size: .78rem; font-weight: 700; color: var(--mute); letter-spacing: .1em; }
.cards-d h3 { margin: .7em 0 .35em; }
.cards-d p { font-size: .92rem; color: var(--mute); margin: 0; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 110px); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.teaser-l { background: #17110d; color: #efe5d6; padding: clamp(56px, 8vw, 110px) 0; --mute: #b3a48f; }
.teaser-l-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.teaser-l h2 { font-family: "Fraunces", Georgia, serif; font-weight: 380; font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 16em; }
.teaser-l .kicker { color: #e0b06b; }
.teaser-l p { color: #b3a48f; max-width: 34em; }
.rosette { width: 100%; max-width: 280px; color: #c98a3d; justify-self: center; }
@media (max-width: 820px) { .teaser-l-in { grid-template-columns: 1fr; } .rosette { max-width: 180px; justify-self: start; } }

.contact-d { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding-block: clamp(56px, 8vw, 100px); align-items: start; }
@media (max-width: 820px) { .contact-d { grid-template-columns: 1fr; } }
.big-tel { font-family: var(--f-head); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 750; text-decoration: none; color: var(--acc); letter-spacing: -.02em; }
.hours { margin: 0; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; } .hours dd { margin: 0; color: var(--mute); }
.map { min-height: 360px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; font-size: .9rem; color: var(--mute); overflow: hidden; }
.map.loaded { padding: 0; }
.map iframe { width: 100%; height: 420px; border: 0; }
.ph-d { padding-block: clamp(32px, 6vw, 72px) clamp(20px, 3vw, 32px); }
.ph-d h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 16em; }
.cta-d { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--soft); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); margin-block: 48px 72px; }
.cta-d h2 { margin: 0 0 .2em; } .cta-d p { margin: 0; color: var(--mute); }

.faq { margin-top: 2.4em; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--acc2); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .7em 0 0; color: var(--mute); }

/* ---------------- LIUTERIA ---------------- */
.s-liuteria { background-image: radial-gradient(1200px 600px at 80% -10%, rgba(201,138,61,.12), transparent 60%); background-repeat: no-repeat; }
.hero-l { position: relative; overflow: hidden; padding: clamp(64px, 11vw, 150px) 0 clamp(56px, 8vw, 110px); }
.hero-l-rose { position: absolute; right: -120px; top: 50%; width: min(640px, 90vw); transform: translateY(-50%); color: rgba(201,138,61,.22); pointer-events: none; }
.hero-l-in { position: relative; }
.hero-l h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: 10em; }
.hero-l .kicker, .s-liuteria .kicker { color: var(--acc2); }
.intro-l { font-size: 1.1rem; padding-bottom: 48px; }
.intro-l h2 { margin-top: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); padding-bottom: clamp(56px, 8vw, 100px); }
.duo-card { text-decoration: none; display: grid; gap: 18px; }
.duo-card .fig { aspect-ratio: 3/4; transition: transform .4s; }
.duo-card:hover .fig { transform: scale(1.01); }
.duo-card h2 { margin-bottom: .25em; }
.duo-card p { color: var(--mute); }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }
.quote-l { border-block: 1px solid var(--line); padding: clamp(48px, 8vw, 96px) 0; background: var(--bg2); }
.quote-l blockquote { margin: 0 auto; max-width: 900px; font-family: "Fraunces", serif; font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.3; text-align: center; }
.steps-l { padding-block: clamp(56px, 8vw, 110px); }
.steps-l ol { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps-l li { padding: 24px 20px 0 0; }
.steps-l .num { font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--acc); font-weight: 300; }
.steps-l h3 { font-family: "Fraunces", serif; font-weight: 500; font-size: 1.25rem; margin: .3em 0; }
.steps-l p { color: var(--mute); font-size: .93rem; }
.gallery-l { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; padding-bottom: clamp(56px, 8vw, 100px); }
.gallery-l .g1 { grid-column: span 5; grid-row: span 2; } .gallery-l .g2 { grid-column: span 4; } .gallery-l .g3 { grid-column: span 3; } .gallery-l .g4 { grid-column: span 7; }
@media (max-width: 700px) { .gallery-l { grid-template-columns: 1fr 1fr; } .gallery-l .fig { grid-column: span 1 !important; grid-row: auto !important; } }
.cta-l { text-align: center; padding: clamp(56px, 8vw, 100px) var(--gut); border-top: 1px solid var(--line); }
.cta-l h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.cta-l p { color: var(--mute); max-width: 32em; margin-inline: auto; }
.ph-l { padding-block: clamp(48px, 8vw, 100px) clamp(24px, 4vw, 40px); }
.ph-l h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 12em; }
.specs { margin: 2.4em 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: "Fraunces", serif; color: var(--acc2); } .specs dd { margin: 0; color: var(--mute); }
@media (max-width: 520px) { .specs div { grid-template-columns: 1fr; gap: 2px; } }
.contact-l { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 64px); padding-bottom: 80px; }
@media (max-width: 820px) { .contact-l { grid-template-columns: 1fr; } }

/* Footer */
.ft { border-top: 1px solid var(--line); background: var(--bg2); padding-top: 56px; font-size: .92rem; }
.ft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ft-brand { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; }
.s-liuteria .ft-brand { font-weight: 450; font-size: 1.3rem; }
.ft-h { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--mute); }
.ft ul { list-style: none; padding: 0; margin: 0; } .ft li { margin-bottom: 6px; } .ft a { text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-block: 20px; font-size: .8rem; color: var(--mute); }
.ft-legal p { margin: 0; }
@media (max-width: 760px) { .ft-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.ar-wide { aspect-ratio: 2/1; } .ar-land { aspect-ratio: 3/2; } .ar-sq { aspect-ratio: 1; } .ar-port { aspect-ratio: 4/5; }
/* Barra azioni su mobile: chiamata e indicazioni sempre a un tocco. */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--acc); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .mbar a { color: var(--on-acc); text-align: center; padding: 15px 8px; font-weight: 700; font-size: .95rem; text-decoration: none; }
  .mbar a + a { border-left: 1px solid color-mix(in srgb, var(--on-acc) 25%, transparent); }
  body { padding-bottom: 56px; }
}
.list-l { list-style: none; padding: 0; margin: 0 0 48px; border-top: 1px solid var(--line); max-width: 860px; }
.list-l a { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.list-l h2 { font-size: 1.5rem; margin: 0 0 .2em; } .list-l a:hover h2 { color: var(--acc2); }
.list-l p { color: var(--mute); margin: 0; }
.guide-links { margin-top: 2.4em; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r); }
.guide-links p { margin: 0 0 .4em; font-weight: 700; }
/* Segnaposto in produzione: nessun testo, solo un pannello decorativo coerente con la sezione. */
.ph:not(:has(span)) { border: 0; }
.s-dentista .ph:not(:has(span)) { background: radial-gradient(120% 90% at 20% 10%, #dfeae6 0, transparent 60%), linear-gradient(160deg, #e9e3d8, #d8e4df); }
.s-liuteria .ph:not(:has(span)) { background:
  radial-gradient(circle at 50% 45%, transparent 0 22%, rgba(201,138,61,.35) 22.3% 23%, transparent 23.3% 26%, rgba(201,138,61,.22) 26.2% 28.5%, transparent 28.7%),
  linear-gradient(170deg, #2b2018, #1c150f); }
.byline { font-size: .85rem; color: var(--mute); margin-top: -.2em; }
.related { padding-block: 24px 8px; }
.related > h2 { font-size: 1.4rem; }
.duo-card .ph:not(:has(span)) { aspect-ratio: 16/10; }
.related .cards-d { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.home-guides { padding-block: clamp(48px, 7vw, 90px) 0; }
.home-guides .sec-head a { color: var(--acc2); }
.stat-panel { aspect-ratio: 9/11; border-radius: var(--r); background: radial-gradient(120% 90% at 20% 10%, #dfeae6 0, transparent 60%), linear-gradient(160deg, #e9e3d8, #d8e4df); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 44px); }
.stat-panel b { font-size: clamp(5rem, 12vw, 9rem); line-height: .9; letter-spacing: -.05em; color: var(--acc); }
.stat-panel span { font-size: 1.1rem; color: var(--mute); margin-top: 10px; }
@media (max-width: 820px) { .stat-panel { aspect-ratio: 16/10; } }
.band-d .card-cta { background: #f6f3ee !important; }
.band-d .card-cta a, .band-d .card-cta h3 { color: #123b3a; } .band-d .card-cta p, .band-d .card-cta .num { color: #5a6766; }
.band-d .card-cta a:hover { background: #dfeae6; }
@media (max-width: 820px) { .hero-d-fig.ph:not(:has(span)) { display: none; } }
