/* Grooming Art Toelettatura — Senigallia
   Palette ispirata all'illustrazione reale del brand (insegna vintage rosa/crema/verde salvia). */

:root {
  --cream: #fbf1e6;
  --cream-deep: #f4e2cf;
  --rose: #eeb3c0;
  --rose-deep: #dd8fa2;
  --rose-soft: #f7dde3;
  --sage: #5f9d8f;
  --sage-deep: #427669;
  --brown: #4a2f27;
  --brown-soft: #7a5b4d;
  --gold: #d1a24a;
  --ink: #34211b;
  --white: #fffaf4;
  --shadow: 0 24px 60px -30px rgba(74, 47, 39, 0.45);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Quicksand', 'Nunito', sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Georgia', serif;
  color: var(--brown);
  margin: 0;
  line-height: 1.05;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--sage-deep);
  display: inline-block;
}

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--rose-deep), var(--sage));
  z-index: 999;
  transition: width 0.1s linear;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(251, 241, 230, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(74, 47, 39, 0.08);
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--brown);
}
.site-header__brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(74,47,39,0.25);
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 14px;
}
.site-header__nav a { transition: color .2s var(--ease); white-space: nowrap; }
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { color: var(--rose-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  min-height: 48px;
}
.btn-primary {
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(66, 118, 105, 0.6);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(66, 118, 105, 0.7); }
.btn-outline {
  background: transparent;
  border-color: var(--brown);
  color: var(--brown);
}
.btn-outline:hover { background: var(--brown); color: var(--white); transform: translateY(-3px); }
.btn-sm { padding: 10px 18px; font-size: 13px; min-height: 40px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--brown);
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 44px;
}
.menu-toggle__icon {
  width: 22px; height: 2px; background: var(--brown); position: relative; display: inline-block;
}
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--brown); transition: transform .2s;
}
.menu-toggle__icon::before { top: -7px; }
.menu-toggle__icon::after { top: 7px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(238,179,192,0.5), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(95,157,143,0.35), transparent 55%),
    repeating-linear-gradient(115deg, var(--cream) 0px, var(--cream) 46px, var(--cream-deep) 46px, var(--cream-deep) 92px);
  overflow: hidden;
  text-align: center;
}
.hero__paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__paws svg { position: absolute; }
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 760px;
}
.hero__logo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow), 0 0 0 8px var(--white), 0 0 0 12px var(--rose);
  will-change: transform;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--rose-deep);
  position: relative;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--brown-soft);
  max-width: 540px;
  font-weight: 600;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brown);
  box-shadow: 0 10px 24px -14px rgba(74,47,39,0.4);
}
.hero__badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-soft);
  font-weight: 700;
}
.hero__scroll-line {
  width: 2px;
  height: 34px;
  background: linear-gradient(var(--rose-deep), transparent);
  animation: scrollpulse 1.8s infinite var(--ease);
}
@keyframes scrollpulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============ Sections ============ */
.section {
  padding: 110px 0;
  position: relative;
}
.section--tight { padding: 80px 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
}
.section-head p {
  color: var(--brown-soft);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="scale"] { transform: translateY(24px) scale(0.92); }
[data-reveal="scale"].is-visible { transform: translateY(0) scale(1); }
[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); }

/* ============ Storia ============ */
.storia {
  background: var(--white);
}
.storia__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.storia__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.storia__art img {
  width: min(320px, 80%);
  border-radius: 50%;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.storia__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(380px, 92%);
  height: min(380px, 92%);
  border: 2px dashed var(--sage);
  border-radius: 50%;
  animation: spin 34s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.storia__text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--brown-soft);
  margin-bottom: 16px;
  font-weight: 600;
}
.storia__text strong { color: var(--brown); }
.storia__facts {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.storia__fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.storia__fact strong {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  color: var(--sage-deep);
}
.storia__fact span {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brown-soft);
}

/* ============ Servizi ============ */
.servizi {
  background: linear-gradient(180deg, var(--cream), var(--rose-soft) 60%, var(--cream));
}
.servizi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.servizio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  box-shadow: 0 20px 40px -28px rgba(74,47,39,0.4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.servizio-card:hover {
  transform: translateY(-10px) rotate(-0.5deg);
  box-shadow: 0 30px 50px -24px rgba(74,47,39,0.5);
}
.servizio-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-soft);
}
.servizio-card:nth-child(2n) .servizio-card__icon { background: rgba(95,157,143,0.18); }
.servizio-card__icon svg { width: 30px; height: 30px; }
.servizio-card h3 {
  font-size: 19px;
  font-weight: 600;
}
.servizio-card p {
  color: var(--brown-soft);
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 600;
}
.servizi__cta {
  text-align: center;
  margin-top: 48px;
}

/* ============ Perché sceglierci ============ */
.perche {
  background: var(--brown);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.perche .eyebrow { color: var(--rose); }
.perche .eyebrow::before { background: var(--rose); }
.perche .section-head h2 { color: var(--white); }
.perche .section-head p { color: rgba(251,241,230,0.75); }
.perche__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.perche-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perche-item svg { width: 34px; height: 34px; color: var(--gold); }
.perche-item h3 { color: var(--white); font-size: 18px; }
.perche-item p { color: rgba(251,241,230,0.7); font-size: 14.5px; line-height: 1.6; font-weight: 600; }

/* ============ Recensioni ============ */
.recensioni { background: var(--white); text-align: center; }
.recensioni__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-weight: 600;
  color: var(--sage-deep);
}
.recensioni__stat span { font-size: 0.35em; font-family: 'Quicksand', sans-serif; font-weight: 700; color: var(--brown-soft); }
.recensioni__stars { display: flex; gap: 6px; justify-content: center; margin: 18px 0; }
.recensioni__stars svg { width: 26px; height: 26px; color: var(--gold); }
.recensioni p.recensioni__note { max-width: 480px; margin: 0 auto; color: var(--brown-soft); font-weight: 600; font-size: 15px; line-height: 1.6; }

/* ============ Dove siamo ============ */
.dove { background: var(--cream-deep); }
.dove__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.dove__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}
.dove__map iframe { width: 100%; height: 100%; border: 0; min-height: 360px; filter: saturate(0.85) sepia(0.08); }
.dove__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  box-shadow: var(--shadow);
}
.dove__row { display: flex; gap: 16px; align-items: flex-start; }
.dove__row svg { width: 26px; height: 26px; color: var(--sage-deep); flex-shrink: 0; margin-top: 2px; }
.dove__row h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--brown); margin-bottom: 4px; }
.dove__row p, .dove__row a { color: var(--brown-soft); font-size: 15.5px; line-height: 1.6; font-weight: 600; }
.orari-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.orari-table td { padding: 4px 0; font-size: 14.5px; color: var(--brown-soft); font-weight: 600; }
.orari-table td:first-child { font-weight: 700; color: var(--brown); width: 90px; }

/* ============ Contatti / CTA finale ============ */
.contatti {
  background: linear-gradient(135deg, var(--rose-deep), var(--sage-deep));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contatti h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); }
.contatti p { color: rgba(255,255,255,0.85); font-weight: 600; max-width: 480px; margin: 16px auto 30px; font-size: 16px; }
.contatti .btn-primary { background: var(--white); color: var(--sage-deep); box-shadow: 0 16px 34px -14px rgba(0,0,0,0.35); }
.contatti .btn-primary:hover { color: var(--brown); }
.contatti .btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.contatti .btn-outline:hover { background: var(--white); color: var(--sage-deep); }

/* ============ Footer ============ */
.site-footer {
  background: var(--brown);
  color: rgba(251,241,230,0.7);
  padding: 50px 24px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; }
.site-footer__brand img { height: 34px; width: 34px; border-radius: 50%; }
.site-footer__nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.site-footer__nav a:hover { color: var(--rose); }
.site-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(251,241,230,0.25);
  font-weight: 700;
  transition: border-color .2s, color .2s;
}
.site-footer__badge:hover { border-color: var(--rose); color: var(--rose); }

/* ============ Menu page shared ============ */
.page-header {
  padding: 150px 24px 60px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(238,179,192,0.4), transparent 55%),
    var(--cream);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-header p { color: var(--brown-soft); font-weight: 600; max-width: 520px; }

.menu-section { padding: 60px 0 100px; }
.menu-categories { display: flex; flex-direction: column; gap: 56px; }
.menu-category__head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.menu-category__head h2 { font-size: 26px; white-space: nowrap; }
.menu-category__line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--rose-deep) 0 6px, transparent 6px 12px); }
.menu-category__note { color: var(--brown-soft); font-weight: 600; margin: 6px 0 20px; font-size: 14.5px; }
.menu-dish-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.menu-dish {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: 0 14px 30px -22px rgba(74,47,39,0.4);
}
.menu-dish__info h4 { font-size: 16px; font-weight: 700; color: var(--brown); margin-bottom: 4px; font-family: 'Quicksand', sans-serif; }
.menu-dish__info p { font-size: 13.5px; color: var(--brown-soft); line-height: 1.5; font-weight: 600; }
.menu-dish__price {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--sage-deep);
  white-space: nowrap;
  flex-shrink: 0;
}
.menu-dish__price.is-empty { color: var(--brown-soft); font-family: 'Quicksand', sans-serif; font-size: 12.5px; font-style: italic; font-weight: 700; }
.menu-extra-note {
  text-align: center;
  margin-top: 50px;
  color: var(--brown-soft);
  font-weight: 600;
  font-size: 14.5px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .storia__grid { grid-template-columns: 1fr; text-align: center; }
  .storia__text { order: 2; }
  .storia__facts { justify-content: center; }
  .servizi__grid { grid-template-columns: repeat(2, 1fr); }
  .perche__grid { grid-template-columns: 1fr; }
  .dove__grid { grid-template-columns: 1fr; }
  .menu-dish-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header__nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: -20px 0 50px rgba(74,47,39,0.2);
  }
  body.nav-open .site-header__nav { transform: translateX(0); }
  .menu-toggle { display: inline-flex; }
  .site-header__nav a { font-size: 17px; }
  .hero { padding-top: 110px; }
  .servizi__grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .storia__ring { animation: none; }
  .hero__scroll-line { animation: none; }
}
