/* Oltre Style — parrucchiera ad Arese. Motivo: ciocche di capelli (linee) che si pettinano allo scroll. */
:root {
  --cream: #f4eee6;
  --cream-2: #ebe2d5;
  --paper: #fbf8f3;
  --ink: #1f1c1b;
  --cherry: #8f2437;
  --cherry-d: #6f1a2a;
  --rose: #d9bcb0;
  --muted: #6a615b;
  --line: rgba(31, 28, 27, .16);
  --disp: 'Bellefair', 'Didot', Georgia, serif;
  --body: 'Assistant', 'Segoe UI', sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.125rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cherry); }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--cherry); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; }

.preview-strip { background: var(--ink); color: #d8cfc6; font-size: .78rem; letter-spacing: .03em; text-align: center; padding: 6px 16px; line-height: 1.35; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 238, 230, .95); transition: box-shadow .3s, background .3s; }
.site-header.is-compact { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(31, 28, 27, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; transition: min-height .3s; }
.is-compact .header-inner { min-height: 64px; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; align-items: baseline; gap: 10px; }
.brand-o { font: 400 2.05rem/1 var(--disp); }
.brand-s { font: 600 .72rem/1 var(--body); letter-spacing: .42em; text-transform: uppercase; color: var(--cherry); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: .98rem; position: relative; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--cherry); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after { transform: scaleX(1); }
.nav-call a { border: 1px solid var(--ink); border-radius: 40px; padding: 8px 18px; margin-left: 8px; font-weight: 600; letter-spacing: .02em; }
.nav-call a::after { display: none; }
.nav-call a:hover { background: var(--ink); color: var(--cream); }
.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0 8px 8px; font: 600 .82rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.mt-lines { display: grid; gap: 5px; width: 24px; }
.mt-lines i { display: block; height: 1.5px; background: currentColor; transition: transform .25s, opacity .25s; }
.mt-lines i:nth-child(2) { width: 70%; justify-self: end; }
.menu-toggle[aria-expanded="true"] .mt-lines i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .mt-lines i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .mt-lines i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 40px; font: 600 1rem/1 var(--body); letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; border: 1px solid var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--cherry); border-color: var(--cherry); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--cherry); color: var(--cherry); }
.kicker { font: 600 .78rem/1.3 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--cherry); margin-bottom: 18px; }

/* ---------- ciocche ---------- */
.strands { position: absolute; pointer-events: none; overflow: visible; }
.strands path { fill: none; stroke-linecap: round; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 96px; }
.strands-hero { right: 0; top: 0; width: 52%; height: 100%; }
.strands-hero path { stroke: var(--cherry); stroke-width: 1.1; opacity: .32; }
.strands-hero path:nth-child(3n) { stroke: var(--ink); opacity: .16; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.hero-title { line-height: .82; margin: 0 0 30px; }
.ht-o { display: block; font-size: clamp(5.6rem, 15vw, 12.5rem); letter-spacing: -.03em; margin-left: -.05em; }
.ht-s { display: block; font: 600 clamp(.95rem, 1.6vw, 1.25rem)/1 var(--body); letter-spacing: .62em; text-transform: uppercase; color: var(--cherry); margin-top: 18px; padding-left: .2em; }
.hero-lead { font-size: 1.3rem; line-height: 1.55; max-width: 27em; color: #3a3431; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.live { display: flex; align-items: center; gap: 10px; font-size: .98rem; color: var(--muted); margin: 0; }
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: #a39a93; }
.live.is-open .dot { background: #2f7d4f; box-shadow: 0 0 0 4px rgba(47, 125, 79, .16); }
.live.is-closed .dot { background: var(--cherry); box-shadow: 0 0 0 4px rgba(143, 36, 55, .14); }
.hero-fig { margin: 0; justify-self: end; width: min(420px, 100%); }
.hero-frame { position: relative; }
.hero-frame::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--cherry); z-index: -1; }
.hero-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-fig figcaption, .sv-fig figcaption { margin-top: 28px; font-size: .82rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.hero-fig figcaption span, .sv-fig figcaption span { color: var(--ink); }
.sv-fig figcaption span { color: var(--muted); }
.hero-side-note { position: absolute; right: 18px; bottom: 40px; margin: 0; writing-mode: vertical-rl; font: 600 .7rem/1 var(--body); letter-spacing: .5em; text-transform: uppercase; color: var(--muted); }

/* ---------- orario ---------- */
.orario { background: var(--ink); color: #e9e1d8; padding: 100px 0; }
.or-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.or-big { display: flex; align-items: center; gap: 24px; font-family: var(--disp); color: var(--cream); }
.or-n { font-size: clamp(6rem, 13vw, 11rem); line-height: .8; }
.or-line { flex: 1; height: 1px; background: var(--rose); position: relative; min-width: 60px; }
.or-line::before, .or-line::after { content: ''; position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.or-line::before { left: 0; } .or-line::after { right: 0; }
.or-copy h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.08; color: #fff; margin-bottom: 20px; }
.or-copy p { color: #cfc5bb; max-width: 32em; }
.week { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid rgba(255, 255, 255, .2); }
.week li { padding: 14px 4px 0; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); }
.week li:last-child { border-right: 0; }
.week b { display: block; font: 400 1.5rem/1.1 var(--disp); color: #fff; }
.week span { font-size: .85rem; color: var(--rose); }
.week .off b { color: #7b726c; }
.week .off span { color: #7b726c; }
.week li.is-today { background: rgba(217, 188, 176, .12); }
.week li.is-today b { color: var(--rose); }

/* ---------- servizi ---------- */
.servizi { position: relative; overflow: hidden; background: var(--cream-2); padding: 110px 0 190px; }
.strands-servizi { left: 0; bottom: 0; width: 100%; height: 160px; }
.strands-servizi path { stroke: var(--cherry); stroke-width: 1; opacity: .25; }
.sv-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.sv-head h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; margin-bottom: 34px; }
.sv-fig { margin: 0; max-width: 340px; }
.sv-fig img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; filter: saturate(.9); }
.sv-fig figcaption { margin-top: 12px; }
.sv-list { list-style: none; margin: 0; padding: 0; }
.sv-list li { display: grid; grid-template-columns: 70px 1fr; column-gap: 20px; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.sv-list li:first-child { border-top: 1px solid var(--line); }
.sv-n { grid-row: span 2; font: 400 1.5rem/1.2 var(--disp); color: var(--cherry); font-style: italic; padding-top: 14px; }
.sv-list h3 { font-size: clamp(3rem, 6vw, 4.8rem); line-height: 1; margin-bottom: 10px; transition: transform .4s cubic-bezier(.2, .7, .2, 1), color .3s; }
.sv-list li:hover h3 { transform: translateX(10px); color: var(--cherry); }
.sv-list p { margin: 0; color: #4a423e; max-width: 30em; }
.sv-list .sv-more { display: block; border-bottom: 0; padding-top: 26px; }
.sv-more p { font-size: 1.05rem; }
.sv-more a { font-weight: 600; }

/* ---------- mestiere ---------- */
.mestiere { padding: 110px 0; background: var(--cream); }
.ms-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.ms-fig { margin: 0; }
.ms-fig img { width: 100%; border: 10px solid #fff; outline: 1px solid var(--line); box-shadow: 0 30px 50px -32px rgba(31, 28, 27, .55); }
.ms-fig figcaption { margin-top: 16px; font-size: .86rem; color: var(--muted); }
.ms-quote { font: 400 clamp(1.9rem, 3.4vw, 2.9rem)/1.15 var(--disp); color: var(--ink); margin-bottom: 26px; position: relative; padding-top: 30px; }
.ms-quote::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 1px; background: var(--cherry); }
.ms-copy p:not(.ms-quote) { color: #4a423e; max-width: 31em; }

/* ---------- prenota ---------- */
.prenota { background: var(--paper); padding: 110px 0; border-top: 1px solid var(--line); }
.pn-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.pn-copy h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.03; margin-bottom: 22px; }
.pn-copy p { color: #4a423e; }
.pn-call { font-size: 1.15rem; margin-top: 24px; }
.pn-call a { font-weight: 700; white-space: nowrap; }
.pn-form { background: #fff; border: 1px solid var(--line); padding: 34px 34px 26px; box-shadow: 0 30px 60px -45px rgba(31, 28, 27, .45); }
.chips { border: 0; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font: 600 .76rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid #cdc2b6; border-radius: 40px; font-size: .98rem; transition: background .2s, border-color .2s, color .2s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chips input:focus-visible + span { outline: 2px solid var(--cherry); outline-offset: 2px; }
.chips-days span { min-width: 58px; text-align: center; }
.pn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: flex; flex-direction: column; margin-bottom: 18px; }
.fld > span { font: 600 .76rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fld small { letter-spacing: 0; text-transform: none; font-weight: 400; }
.fld input, .fld textarea { font: 400 1.05rem/1.4 var(--body); color: var(--ink); border: 0; border-bottom: 1px solid #bfb3a6; padding: 8px 0; background: transparent; border-radius: 0; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--cherry); box-shadow: 0 1px 0 var(--cherry); }
.err { display: none; color: var(--cherry); font-size: .86rem; font-style: normal; margin: 6px 0 0; width: 100%; }
.has-err .err { display: block; }
.has-err input { border-bottom-color: var(--cherry); }
.chips.has-err span { border-color: var(--cherry); }
.pn-form .btn { margin-top: 6px; }
.pn-out { margin: 14px 0 0; font-size: .95rem; color: var(--cherry-d); min-height: 1.3em; }

/* ---------- dove ---------- */
.dove { background: var(--cream-2); padding: 100px 0 110px; }
.dv-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: stretch; }
.dv-info h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.05; }
.dv-city { color: var(--muted); font-size: 1.15rem; margin: 6px 0 22px; }
.badge { display: inline-block; font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 8px 13px; border-radius: 30px; background: #a39a93; color: #fff; }
.badge.is-open { background: #2f7d4f; }
.badge.is-closed { background: var(--cherry); }
.badge-note { color: var(--muted); font-size: .98rem; margin-left: 6px; }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 1.04rem; }
.hours th { font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--cherry-d); }
.hours tr.is-today th::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cherry); margin: 0 10px 2px 0; }
.dv-contact { font-size: 1.15rem; line-height: 1.7; margin-bottom: 22px; }
.dv-contact a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rose); }
.dv-contact a:hover { color: var(--cherry); border-color: var(--cherry); }
.faq { margin: 0 0 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 30px 14px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; margin-top: -.62em; font: 400 1.6rem/1.2 var(--disp); color: var(--cherry); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: #4a423e; }
.dv-map { min-height: 460px; background: #ddd2c4; }
.dv-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.35) sepia(.08); }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: #c9bfb5; padding: 64px 0 32px; font-size: .98rem; }
.strands-foot { right: 0; top: 0; width: 45%; height: 100%; }
.strands-foot path { stroke: var(--rose); stroke-width: 1; opacity: .16; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--rose); }
.ft-grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; align-items: start; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft-brand { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.ft-brand .brand-o { color: #fff; font-size: 2.6rem; }
.ft-brand .brand-s { color: var(--rose); }
.ft-small { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 18px; font-size: .8rem; color: #8f857c; }
.ft-small p { margin: 0; }

.actionbar { display: none; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); display: none; box-shadow: 0 20px 30px -24px rgba(31, 28, 27, .5); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 24px 22px; }
  .nav a { padding: 15px 0; font: 400 1.6rem/1.1 var(--disp); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-call a { margin: 18px 0 0; text-align: center; font: 600 1rem/1 var(--body); padding: 15px; }
  .hero-grid, .or-grid, .sv-grid, .ms-grid, .pn-grid, .dv-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-fig { justify-self: start; }
  .strands-hero { width: 80%; }
  .hero-side-note { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 1.06rem; padding-bottom: 64px; }
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .header-inner { min-height: 68px; }
  .brand-o { font-size: 1.8rem; }
  .hero { padding: 34px 0 70px; }
  .hero-lead { font-size: 1.15rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-fig { width: calc(100% - 20px); }
  .orario, .mestiere, .prenota { padding: 72px 0; }
  .servizi { padding: 72px 0 150px; }
  .chips-days span { min-width: 0; padding: 9px 13px; }
  .dove { padding: 72px 0 80px; }
  .or-big { gap: 14px; }
  .week b { font-size: 1.15rem; }
  .week span { font-size: .72rem; }
  .sv-list li { grid-template-columns: 44px 1fr; column-gap: 10px; padding: 24px 0; }
  .sv-n { font-size: 1.2rem; padding-top: 8px; }
  .sv-fig { max-width: none; }
  .sv-fig img { aspect-ratio: 4 / 3; }
  .pn-form { padding: 24px 18px 20px; }
  .pn-row { grid-template-columns: 1fr; gap: 0; }
  .pn-form .btn { width: 100%; }
  .dv-map, .dv-map iframe { min-height: 320px; }
  .ft-grid { grid-template-columns: 1fr; gap: 14px; }
  .strands-foot { width: 90%; }
  .actionbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid var(--cherry); padding-bottom: env(safe-area-inset-bottom); }
  .actionbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px 10px; color: var(--cream); text-decoration: none; font: 600 .74rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
  .actionbar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
  .actionbar svg { width: 21px; height: 21px; fill: var(--rose); color: var(--rose); }
  .actionbar a:nth-child(2) svg { fill: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
