/* ============================================================
   BARBER'S HAIR-STYLIST DI ANDY & PEPA — Fano
   Palette: petrolio profondo + ember (rosso-arancio) su ink quasi nero.
   Ispirata al viaggio Adriatico Albania -> Fano raccontato nella storia
   del salone: mare/petrolio scuro come richiamo alla traversata,
   ember come simbolo del nuovo inizio.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

:root {
  --ink: #0a1412;
  --ink-2: #0e1f1c;
  --ink-3: #143029;
  --paper: #f3efe4;
  --paper-dim: rgba(243,239,228,.72);
  --paper-faint: rgba(243,239,228,.42);
  --petrol: #12615c;
  --petrol-light: #2c8f86;
  --ember: #ff5a2e;
  --ember-deep: #d1401a;
  --ember-soft: rgba(255,90,46,.16);
  --line: rgba(243,239,228,.14);
  --line-soft: rgba(243,239,228,.08);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.75);
  --ease: cubic-bezier(.16,.84,.44,1);
}

html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: 'Anton', 'Arial Black', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.02; }
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: 12px; left: 12px; width: auto; height: auto;
  padding: 12px 18px; background: var(--ember); color: var(--ink); z-index: 999; border-radius: 6px;
}

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].is-visible { transform: translateX(0); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(18px, 4vw, 48px);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10,20,18,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.site-header__brand {
  font-family: 'Anton', sans-serif;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 1px;
  color: var(--paper);
  display: flex; align-items: baseline; gap: 8px;
}
.site-header__brand em { font-style: normal; color: var(--ember); }
.site-header__nav {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px);
  font-size: 13px; letter-spacing: .5px; text-transform: uppercase; font-weight: 600;
}
.site-header__nav a { opacity: .82; transition: opacity .25s var(--ease), color .25s var(--ease); padding: 6px 0; }
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { opacity: 1; color: var(--ember); }

.menu-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: none; color: var(--paper);
  font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
  cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; justify-content: flex-end;
}
.menu-toggle__icon { position: relative; width: 22px; height: 14px; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--paper);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 12px; }
body.nav-open .menu-toggle__icon::before { top: 6px; transform: rotate(45deg); }
body.nav-open .menu-toggle__icon::after { top: 6px; transform: rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 13px;
  letter-spacing: .6px; text-transform: uppercase; cursor: pointer; border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  min-height: 44px; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-ember { background: var(--ember); color: #0a1412; }
.btn-ember:hover { background: #ff7449; }
.btn-outline { border-color: var(--line); color: var(--paper); background: transparent; }
.btn-outline:hover { border-color: var(--ember); color: var(--ember); }
.btn-sm { padding: 10px 20px; font-size: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(18px, 6vw, 64px) 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 600px at 82% 8%, rgba(255,90,46,.16), transparent 60%),
    radial-gradient(ellipse 1100px 800px at 10% 100%, rgba(18,97,92,.5), transparent 60%),
    linear-gradient(180deg, #0a1412 0%, #0c1a17 60%, #0a1412 100%);
}
.hero__noise {
  position: absolute; inset: 0; opacity: .05; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__pole {
  position: absolute; right: clamp(10px, 5vw, 90px); top: 50%; transform: translateY(-50%);
  width: clamp(60px, 8vw, 110px); opacity: .9;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--ember);
  font-weight: 700; margin-bottom: 22px;
}
.hero__eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--ember); display: inline-block; }
.hero h1 {
  font-size: clamp(52px, 11vw, 148px);
  color: var(--paper);
  max-width: 1200px;
}
.hero h1 .accent { color: var(--ember); display: block; }
.hero__sub {
  margin-top: 26px; max-width: 560px; font-size: clamp(15px, 1.6vw, 18px);
  color: var(--paper-dim); font-weight: 300; line-height: 1.6;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 40px;
  font-size: 13px; letter-spacing: .5px; color: var(--paper-dim);
}
.hero__meta span { display: flex; align-items: center; gap: 8px; }
.hero__meta strong { color: var(--paper); font-weight: 600; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--paper-faint);
}
.hero__scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--paper-faint), transparent); animation: scrolldrop 2s ease-in-out infinite; }
@keyframes scrolldrop { 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; } }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--ink-2); overflow: hidden; padding: 18px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span {
  font-family: 'Anton', sans-serif; font-size: clamp(20px, 3vw, 32px);
  letter-spacing: 1px; text-transform: uppercase; color: var(--paper-faint);
  padding: 0 28px; display: flex; align-items: center; gap: 28px; white-space: nowrap;
}
.marquee__track span em { font-style: normal; color: var(--ember); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections generiche ---------- */
.section { padding: clamp(70px, 10vw, 140px) clamp(18px, 6vw, 64px); position: relative; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section--dark { background: var(--ink); }
.section--alt { background: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--ember); font-weight: 700; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--ember); }
.section h2 { font-size: clamp(34px, 5.4vw, 64px); color: var(--paper); }
.section h2 em { font-style: normal; color: var(--ember); }
.section-lead { max-width: 640px; margin-top: 20px; color: var(--paper-dim); font-size: clamp(15px,1.5vw,17px); line-height: 1.7; font-weight: 300; }

/* ---------- storia ---------- */
.story {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 80px); align-items: start;
}
.story__text { color: var(--paper-dim); font-size: 16px; line-height: 1.85; font-weight: 300; }
.story__text p + p { margin-top: 18px; }
.story__text strong { color: var(--paper); font-weight: 600; }
.story__quote {
  margin-top: 34px; padding: 26px 28px; border-left: 3px solid var(--ember);
  background: var(--ember-soft); border-radius: 0 12px 12px 0;
  font-family: 'Anton', sans-serif; font-size: clamp(18px, 2vw, 22px); text-transform: none;
  letter-spacing: 0; color: var(--paper); line-height: 1.4;
}
.story__quote span { display: block; margin-top: 12px; font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--paper-faint); font-weight: 600; }
.story__source { margin-top: 14px; font-size: 12px; color: var(--paper-faint); }
.story__source a { color: var(--petrol-light); text-decoration: underline; }

.story__side {
  position: sticky; top: 120px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 34px;
}
.story__timeline { display: flex; flex-direction: column; gap: 26px; margin-top: 24px; }
.tl-item { position: relative; padding-left: 26px; }
.tl-item::before { content: ''; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ember); }
.tl-item::after { content: ''; position: absolute; left: 4px; top: 16px; bottom: -26px; width: 1px; background: var(--line); }
.tl-item:last-child::after { display: none; }
.tl-item h4 { font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 700; color: var(--paper); }
.tl-item p { font-size: 13px; color: var(--paper-dim); font-weight: 300; margin-top: 4px; line-height: 1.6; }

/* ---------- servizi ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.service-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 32px 26px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--ember); background: var(--ink-3); }
.service-card svg { width: 42px; height: 42px; color: var(--ember); margin-bottom: 20px; }
.service-card h3 { font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0; font-size: 19px; font-weight: 700; color: var(--paper); }
.service-card p { margin-top: 10px; font-size: 14px; color: var(--paper-dim); font-weight: 300; line-height: 1.6; }
.services-cta { margin-top: 46px; display: flex; justify-content: center; }

/* ---------- founders ---------- */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 50px; }
.founder-card { background: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.founder-card__avatar {
  width: 74px; height: 74px; border-radius: 50%; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--petrol), var(--ember));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Anton', sans-serif; font-size: 26px; color: var(--ink);
}
.founder-card h3 { font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0; font-size: 20px; font-weight: 700; color: var(--paper); }
.founder-card .role { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--ember); font-weight: 700; margin-top: 6px; display: block; }
.founder-card p { margin-top: 16px; font-size: 14px; color: var(--paper-dim); font-weight: 300; line-height: 1.7; }

/* ---------- dove siamo ---------- */
.map-block { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 46px; align-items: stretch; }
.map-frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.3) invert(.92) contrast(.9); }
.info-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row svg { width: 22px; height: 22px; color: var(--ember); flex-shrink: 0; margin-top: 2px; }
.info-row h4 { font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 700; color: var(--paper); }
.info-row p { font-size: 14px; color: var(--paper-dim); font-weight: 300; margin-top: 4px; line-height: 1.6; }
.info-row a:hover { color: var(--ember); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--petrol), #0d3c39);
  border-radius: 28px; margin: 0 clamp(18px,6vw,64px) 0; padding: clamp(50px, 8vw, 90px) clamp(24px, 6vw, 70px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,90,46,.35), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 16px; max-width: 480px; margin-left: auto; margin-right: auto; font-weight: 300; }
.cta-band .hero__btns { justify-content: center; margin-top: 34px; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.3); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: #060b0a; padding: 70px clamp(18px, 6vw, 64px) 30px; border-top: 1px solid var(--line); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; max-width: 1180px; margin: 0 auto; }
.site-footer__brand { font-family: 'Anton', sans-serif; font-size: 26px; letter-spacing: 1px; color: var(--paper); }
.site-footer__brand em { font-style: normal; color: var(--ember); }
.site-footer__inner p { margin-top: 14px; font-size: 13px; color: var(--paper-faint); font-weight: 300; max-width: 320px; line-height: 1.7; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.site-footer__col strong { color: #fff; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.site-footer__col a { color: var(--paper-dim); transition: color .25s var(--ease); }
.site-footer__col a:hover { color: var(--ember); }
.site-footer__bottom {
  max-width: 1180px; margin: 50px auto 0; padding-top: 26px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--paper-faint);
}
.universe-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--paper-dim); transition: color .25s var(--ease); }
.universe-badge:hover { color: var(--ember); }
.universe-badge .mark { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); display: inline-block; }

/* ---------- wa float ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%; background: var(--ember);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(255,90,46,.4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #0a1412; }

/* ---------- servizi/prezzi page shared ---------- */
.page-header { padding: 150px clamp(18px, 6vw, 64px) 40px; max-width: 1180px; margin: 0 auto; }
.page-header .eyebrow { margin-bottom: 20px; }
.page-header h1 { font-size: clamp(38px, 7vw, 78px); color: var(--paper); }
.page-header h1 em { font-style: normal; color: var(--ember); }
.page-header p { margin-top: 20px; max-width: 600px; color: var(--paper-dim); font-weight: 300; line-height: 1.7; }

.menu-categories { display: flex; flex-direction: column; gap: 50px; }
.menu-category__head { display: flex; align-items: center; gap: 18px; }
.menu-category__head h2 { font-size: clamp(24px, 3vw, 32px); color: var(--paper); white-space: nowrap; }
.menu-category__line { flex: 1; height: 1px; background: var(--line); }
.menu-category__note { margin-top: 10px; color: var(--paper-faint); font-size: 13px; font-weight: 300; max-width: 560px; }
.menu-dish-list { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.menu-dish {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px dashed var(--line);
}
.menu-dish__info h4 { font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: var(--paper); }
.menu-dish__info p { margin-top: 4px; font-size: 13px; color: var(--paper-faint); font-weight: 300; line-height: 1.5; }
.menu-dish__price { font-family: 'Anton', sans-serif; font-size: 15px; color: var(--ember); white-space: nowrap; }
.menu-extra-info { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--paper-faint); }
.menu-extra-info strong { color: var(--paper); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; }
  .story__side { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .founders { grid-template-columns: 1fr; }
  .map-block { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header__nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); height: 100dvh;
    background: #071310; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 40px 34px; transform: translateX(100%); transition: transform .4s var(--ease);
    border-left: 1px solid var(--line);
  }
  body.nav-open .site-header__nav { transform: translateX(0); }
  .site-header__nav a { font-size: 18px; width: 100%; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 110px; }
  .hero__pole { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .menu-dish-list { grid-template-columns: 1fr; }
  .cta-band { margin: 0 12px; border-radius: 20px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 15vw; }
  .marquee__track span { font-size: 16px; padding: 0 18px; gap: 18px; }
}
