/* Nail Bar Senigallia — palette ispirata al feed reale: pareti rosa cipria e
   terracotta del salone, manicure rosso/corallo, dettagli oro dell'insegna NB.
   Font: Bricolage Grotesque (display) + Manrope (testo) — diversi dagli altri
   clienti beauty Universe (Selflove: Cormorant/Poppins, Fabrizio: Fraunces/Jost). */

:root {
  --ink: #241715;
  --ink-soft: rgba(36, 23, 21, .64);
  --ink-faint: rgba(36, 23, 21, .42);
  --cream: #fbf3ec;
  --cream-2: #f5e8de;
  --blush: #f2d6d2;
  --blush-deep: #e8b9b8;
  --terracotta: #bd4d2c;
  --terracotta-deep: #953b21;
  --gold: #b3873f;
  --line: rgba(36, 23, 21, .14);
  --display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 20px 50px -20px rgba(36, 23, 21, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: fixed; top: 1rem; left: 1rem; width: auto; height: auto; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: .5rem; clip: auto;
}

.section { padding: 7rem 0; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.6rem; }
.eyebrow {
  display: inline-block; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracotta-deep); font-weight: 700; margin-bottom: .9rem;
}

.btn {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--body);
  font-weight: 700; font-size: .92rem; padding: .95rem 1.7rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 14px 30px -12px rgba(189, 77, 44, .6); }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-ghost { border-color: rgba(36,23,21,.3); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(36,23,21,.05); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn-sm { padding: .65rem 1.2rem; font-size: .82rem; }

/* ══════════ HEADER ══════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.8rem;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; background: rgba(251, 243, 236, .88);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; opacity: 0; transition: opacity .3s ease;
  z-index: -1;
}
.site-header.is-scrolled::before { opacity: 1; border-color: var(--line); }
.site-header__brand { display: flex; align-items: center; gap: .7rem; z-index: 2; }
.site-header__brand img { height: 42px; width: 42px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); }
.site-header__brand span { font-family: var(--display); font-size: 1.05rem; letter-spacing: -.01em; }
.site-header__nav { display: flex; align-items: center; gap: 1.9rem; z-index: 2; }
.site-header__nav a:not(.btn) {
  font-size: .88rem; font-weight: 600; color: var(--ink-soft); position: relative;
}
.site-header__nav a:not(.btn):hover { color: var(--ink); }
.menu-toggle {
  display: none; z-index: 2; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .4rem;
}
.menu-toggle span:first-child { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.menu-toggle__icon { width: 22px; height: 14px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); display: block; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-header__nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 340px); background: var(--cream);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0;
    padding: 2rem; transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,.3);
  }
  .site-header__nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .site-header__nav .btn { margin-top: 1.4rem; justify-content: center; width: 100%; }
  body.nav-open .site-header__nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
}

/* ══════════ HERO ══════════ */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transform: scale(1.08); transition: transform 6s ease;
}
.hero.is-loaded .hero__bg img { transform: scale(1); }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,23,21,.35) 0%, rgba(36,23,21,.15) 35%, rgba(36,23,21,.85) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding: 0 1.8rem 4.5rem; color: #fff; }
.hero__inner { max-width: 1100px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 700; color: var(--blush); margin-bottom: 1.2rem;
  opacity: 0; transform: translateY(14px); animation: rise .9s .2s ease forwards;
}
.hero__eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--blush); }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.6rem); color: #fff; max-width: 16ch;
  opacity: 0; transform: translateY(24px); animation: rise 1s .35s ease forwards;
}
.hero h1 em { font-style: normal; color: var(--blush-deep); }
.hero__sub {
  margin-top: 1.4rem; max-width: 40ch; font-size: 1.05rem; color: rgba(255,255,255,.82);
  opacity: 0; transform: translateY(20px); animation: rise 1s .5s ease forwards;
}
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem;
  opacity: 0; transform: translateY(20px); animation: rise 1s .65s ease forwards;
}
.hero__scroll {
  position: absolute; right: 1.8rem; bottom: 2.2rem; z-index: 1; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl;
}
.hero__scroll::after { content: ''; width: 1px; height: 46px; background: rgba(255,255,255,.5); animation: scrollline 2.2s ease infinite; }
@media (max-width: 640px) { .hero__scroll { display: none; } }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes scrollline { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ══════════ REVEAL ══════════ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="scale"].is-visible { transform: scale(1); }

/* ══════════ CHI SIAMO ══════════ */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.story__media { position: relative; }
.story__media img { border-radius: 1.4rem; box-shadow: var(--shadow); }
.story__media::before {
  content: ''; position: absolute; inset: -18px auto auto -18px; width: 60%; height: 60%;
  border: 2px solid var(--terracotta); border-radius: 1.4rem; z-index: -1;
}
.story h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1.3rem; }
.story p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.02rem; }
.story__facts { display: flex; gap: 2.2rem; margin-top: 2rem; flex-wrap: wrap; }
.story__fact strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--terracotta-deep); }
.story__fact span { font-size: .8rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 2.4rem; } .story__media::before { display: none; } }

/* ══════════ SERVIZI STRIP ══════════ */
.services-band { background: var(--ink); color: #fff; }
.services-band .section-inner { text-align: center; }
.services-band .eyebrow { color: var(--blush-deep); }
.services-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 30ch; margin: 0 auto 1rem; }
.services-band p { color: rgba(255,255,255,.68); max-width: 36rem; margin: 0 auto 2.6rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: 1rem; overflow: hidden; }
.service-card { background: #241715; padding: 2.2rem 1.4rem; text-align: left; transition: background .3s ease; }
.service-card:hover { background: #2f1f1c; }
.service-card i { color: var(--terracotta); font-size: 1.3rem; margin-bottom: 1rem; display: block; }
.service-card h3 { font-size: 1.05rem; color: #fff; margin-bottom: .5rem; }
.service-card p { font-size: .86rem; color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

/* ══════════ GALLERY ══════════ */
.gallery .section-inner > .head { text-align: center; margin-bottom: 3rem; }
.gallery h2 { font-size: clamp(2rem, 4vw, 2.9rem); max-width: 24ch; margin: 0 auto; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 12vw; gap: .6rem;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: .9rem; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-grid a:hover img { transform: scale(1.09); }
.gallery-grid a::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,23,21,0) 60%, rgba(36,23,21,.55) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery-grid a:hover::after { opacity: 1; }
.g-1 { grid-column: span 3; grid-row: span 2; }
.g-2 { grid-column: span 2; grid-row: span 1; }
.g-3 { grid-column: span 1; grid-row: span 1; }
.g-4 { grid-column: span 2; grid-row: span 2; }
.g-5 { grid-column: span 2; grid-row: span 1; }
.g-6 { grid-column: span 2; grid-row: span 1; }
.g-7 { grid-column: span 3; grid-row: span 1; }
.g-8 { grid-column: span 3; grid-row: span 1; }
.g-9 { grid-column: span 3; grid-row: span 2; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 22vw; }
  .g-1, .g-4, .g-9 { grid-column: span 2; grid-row: span 2; }
  .g-2, .g-3, .g-5, .g-6, .g-7, .g-8 { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .g-1, .g-4, .g-9 { grid-column: span 2; grid-row: span 1; }
  .g-2, .g-3, .g-5, .g-6, .g-7, .g-8 { grid-column: span 1; grid-row: span 1; }
}

/* ══════════ MENU PREVIEW BAND ══════════ */
.menu-band {
  background: var(--blush); text-align: center; position: relative; overflow: hidden;
}
.menu-band .section-inner { position: relative; z-index: 1; }
.menu-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
.menu-band p { color: var(--ink-soft); max-width: 34rem; margin: 0 auto 2rem; }

/* ══════════ DOVE SIAMO ══════════ */
.where { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: stretch; }
.where__info { background: var(--ink); color: #fff; border-radius: 1.4rem; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.where__info h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 1.6rem; }
.where__row { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.where__row i { color: var(--terracotta); font-size: 1.1rem; margin-top: .2rem; }
.where__row strong { display: block; font-size: .95rem; }
.where__row span, .where__row a { color: rgba(255,255,255,.68); font-size: .92rem; }
.where__row a:hover { color: #fff; }
.where iframe, .where__map { border-radius: 1.4rem; width: 100%; height: 100%; min-height: 340px; border: 0; }
@media (max-width: 860px) { .where { grid-template-columns: 1fr; } .where__info { padding: 2.2rem; } }

/* ══════════ CONTATTI / CTA FINALE ══════════ */
.cta-final {
  background: var(--terracotta); color: #fff; text-align: center;
}
.cta-final h2 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.cta-final p { color: rgba(255,255,255,.85); max-width: 34rem; margin: 0 auto 2.2rem; }
.cta-final .btn-primary { background: #fff; color: var(--terracotta-deep); box-shadow: 0 14px 30px -12px rgba(0,0,0,.25); }
.cta-final .btn-primary:hover { background: var(--cream); }

/* ══════════ FOOTER ══════════ */
.site-footer { background: #1a1110; color: rgba(255,255,255,.7); text-align: center; padding: 4rem 1.6rem 2.4rem; }
.footer-logo { height: 56px; width: 56px; object-fit: cover; border-radius: 50%; margin: 0 auto 1.2rem; border: 2px solid var(--gold); }
.site-footer__social { display: flex; justify-content: center; gap: 1.6rem; margin-bottom: 1.4rem; font-size: .92rem; flex-wrap: wrap; }
.site-footer__social a:hover { color: #fff; }
.addr { font-size: .84rem; color: rgba(255,255,255,.45); margin-bottom: 1.6rem; }
.credit { font-size: .78rem; color: rgba(255,255,255,.4); }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: #fff; }

.mobile-book {
  display: none; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  background: var(--terracotta); color: #fff; text-align: center; padding: .95rem;
  border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: 0 16px 34px -12px rgba(0,0,0,.45);
}
@media (max-width: 640px) {
  .mobile-book { display: block; }
  .section { padding: 4.5rem 0; }
  body { padding-bottom: 4.6rem; }
}

/* ══════════ PAGINA MENU (Servizi e Prezzi) ══════════ */
.page-header { text-align: center; padding: 9.5rem 1.6rem 3rem; max-width: 700px; margin: 0 auto; }
.page-header .eyebrow { color: var(--terracotta-deep); }
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .4rem 0 .8rem; }
.page-header p { color: var(--ink-soft); max-width: 34rem; margin: 0 auto; }

.menu-categories { display: flex; flex-direction: column; gap: 3.6rem; }
.menu-category__head { display: flex; align-items: center; gap: 1rem; margin-bottom: .4rem; flex-wrap: wrap; }
.menu-category__head i { color: var(--terracotta); font-size: 1.1rem; }
.menu-category__head h2 { font-size: 1.7rem; }
.menu-category__line { flex: 1; height: 1px; background: var(--line); min-width: 2rem; }
.menu-category__note { color: var(--ink-soft); font-size: .92rem; margin: .3rem 0 1.4rem; }

.menu-dish-list { display: grid; gap: .1rem; }
.menu-dish { display: flex; gap: 1.4rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px dashed var(--line); }
.menu-dish__info { flex: 1; }
.menu-dish__info h4 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; margin: 0 0 .2rem; }
.menu-dish__info p { font-size: .86rem; color: var(--ink-soft); }
.menu-dish__price { font-family: var(--display); font-size: 1.08rem; color: var(--terracotta-deep); white-space: nowrap; font-weight: 700; }

.menu-extra-info { display: flex; gap: 2rem; margin-top: 3rem; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; }
.menu-review-links { margin-top: 1.2rem; font-size: .88rem; color: var(--ink-faint); }
.menu-review-links a { text-decoration: underline; text-underline-offset: 2px; color: var(--terracotta-deep); }

.book-band { background: var(--ink); color: #fff; text-align: center; padding: 6rem 1.6rem; }
.book-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .8rem; }
.book-band p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }

@media (max-width: 640px) {
  .menu-dish { flex-wrap: wrap; }
  .menu-dish__price { margin-left: auto; }
  .menu-category__head h2 { font-size: 1.35rem; }
}
