/* =========================================================
   Wellness Massage — palette ispirata ai colori originali
   (rosa cipria, orchidea/magenta del logo, blu notte, acqua)
   ========================================================= */
:root {
  --blush: #fbeef4;        /* sfondo principale (era rgb 245,216,232) */
  --blush-deep: #f5d8e8;   /* rosa originale */
  --orchid: #c2378f;       /* magenta del logo */
  --orchid-dark: #9c2876;
  --plum: #4a1640;         /* sezioni scure */
  --plum-2: #6b1f5a;
  --navy: #1c2f6e;         /* blu dei testi originali, rifinito */
  --ink: #3a2a3f;          /* testo corrente */
  --muted: #7a6578;
  --aqua: #bfeff2;         /* acqua della vecchia navbar */
  --aqua-deep: #3aa7b0;
  --teal: #23818a;          /* acqua scurito, leggibile su bianco */
  --white: #ffffff;
  --gold: #e9b872;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(74, 22, 64, .10);
  --shadow-lg: 0 20px 50px rgba(74, 22, 64, .18);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--blush);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orchid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orchid-dark); }
strong { font-weight: 500; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.55rem; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--orchid); }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--orchid); font-weight: 500; margin: 0 0 .8rem;
}

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--orchid); color: var(--white);
  font-family: var(--font-sans); font-weight: 500; font-size: .95rem; letter-spacing: .04em;
  border: 1.5px solid var(--orchid);
  box-shadow: 0 8px 22px rgba(194, 55, 143, .3);
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { background: var(--orchid-dark); border-color: var(--orchid-dark); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); box-shadow: none; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--white); color: var(--plum); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--orchid); box-shadow: none; }
.btn-outline:hover { background: var(--orchid); color: var(--white); }
.btn-small { padding: .55rem 1.15rem; font-size: .88rem; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 238, 244, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(194, 55, 143, .12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 52px; height: 52px; }
.brand-name { font-family: var(--font-script); font-size: 1.85rem; color: var(--orchid); line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a:not(.btn) {
  color: var(--navy); font-weight: 400; font-size: .95rem; letter-spacing: .05em; position: relative;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: var(--orchid); transform: scaleX(0); transition: transform .25s;
}
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: flex; align-items: center; color: var(--white); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-studio.jpg") center 60% / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(43, 10, 37, .88) 0%, rgba(74, 22, 64, .62) 45%, rgba(74, 22, 64, .15) 100%),
    linear-gradient(0deg, rgba(43, 10, 37, .5), transparent 40%);
}
.hero-content { position: relative; z-index: 2; padding: 5rem 0; }
.hero .eyebrow { color: var(--aqua); }
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 500; }
.hero h1 .script { color: #f39ad0; font-size: 1.25em; display: inline-block; margin-top: .1em; }
.hero-sub { max-width: 540px; font-size: 1.15rem; opacity: .92; margin: 0 0 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- Solo donne ---------- */
.women-only {
  background: linear-gradient(120deg, var(--aqua) 0%, #e3f7f8 50%, var(--blush-deep) 100%);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(28, 47, 110, .08);
}
.women-inner { display: flex; align-items: center; gap: 1.5rem; }
.women-icon {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--orchid); font-size: 1.9rem;
  box-shadow: var(--shadow);
}
.women-only h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 0 0 .2rem; }
.women-only p { margin: 0; color: var(--navy); }

/* ---------- Citazione ---------- */
.quote-section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center; }
.lotus-divider { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--orchid); font-size: 1.6rem; margin-bottom: 1.5rem; }
.lotus-divider span { height: 1px; width: 80px; background: currentColor; opacity: .5; }
blockquote {
  margin: 0 auto; font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem); line-height: 1.4; color: var(--navy);
}
blockquote em { color: var(--orchid); }
.highlights {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.highlights li {
  display: flex; align-items: center; gap: .9rem; text-align: left;
  background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow);
  line-height: 1.35; color: var(--navy); font-weight: 400;
}
.highlights i { font-size: 1.6rem; color: var(--aqua-deep); }
.highlights small { color: var(--muted); font-weight: 300; }

/* ---------- Chi sono ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1.5px solid var(--orchid); border-radius: 220px 220px var(--radius) var(--radius); opacity: .45;
}
.about-photo img {
  position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow-lg);
}
.about-text h2 .script { font-size: 1.35em; }
.motto {
  font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--orchid);
  border-left: 3px solid var(--aqua-deep); padding-left: 1rem; margin: 1.5rem 0;
}
.certs-title { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 2rem 0 .8rem; }
.certs-row { display: flex; gap: .9rem; }
.certs-row a { flex: 0 1 110px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.certs-row a:hover { transform: translateY(-4px) rotate(-1deg); }
.certs-row img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* ---------- Trattamenti ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p:last-child { color: var(--muted); }
.tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem;
  margin: 0 auto 2.5rem; padding: .4rem; width: fit-content; max-width: 100%;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow);
}
.tabs button {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 400; letter-spacing: .04em;
  color: var(--navy); padding: .7rem 1.4rem; border-radius: 999px; transition: background .2s, color .2s;
}
.tabs button:hover { background: var(--blush); }
.tabs button[aria-selected="true"] { background: var(--orchid); color: var(--white); }
.panel-intro { text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--orchid); margin: 0 0 1.8rem; }
.js .tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .45s ease; }
.tab-panel + .tab-panel { margin-top: 3rem; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.7rem 1.4rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-top: 4px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--orchid); }
.card h3 { margin-bottom: .1rem; }
.card-tag { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin: 0 0 .8rem; }
.card p { margin: 0 0 1rem; font-size: .98rem; }
.card-foot {
  margin-top: auto; padding-top: 1rem; border-top: 1px dashed rgba(194, 55, 143, .3);
  display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .92rem;
}
.card-foot i { color: var(--orchid); margin-right: .25rem; }
.price { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; color: var(--orchid); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Pacchetti ---------- */
.packages {
  background:
    radial-gradient(circle at 15% 10%, rgba(194, 55, 143, .35), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(111, 201, 207, .18), transparent 40%),
    linear-gradient(160deg, var(--plum) 0%, var(--plum-2) 100%);
  color: #f6e3ee;
}
.section-head.on-dark h2 { color: var(--white); }
.section-head.on-dark .eyebrow { color: var(--aqua); }
.section-head.on-dark p:last-child { color: #e6cfdd; }
.price-table {
  max-width: 820px; margin: 0 auto;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px);
}
.pt-row { display: grid; grid-template-columns: 2fr 1fr 1fr; align-items: center; padding: 1rem 1.6rem; }
.pt-row + .pt-row { border-top: 1px solid rgba(255, 255, 255, .09); }
.pt-row:not(.pt-head):hover { background: rgba(255, 255, 255, .05); }
.pt-row span:first-child { font-family: var(--font-serif); font-size: 1.25rem; color: var(--white); }
.pt-row span:not(:first-child) {
  text-align: center; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: #f7a8d6; line-height: 1.2;
}
.pt-row small { display: block; font-family: var(--font-sans); font-size: .72rem; font-weight: 400; letter-spacing: .05em; color: var(--aqua); }
.pt-head { background: var(--orchid); }
.pt-head span, .pt-head span:first-child, .pt-head span:not(:first-child) {
  font-family: var(--font-sans); font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--white);
}
.packages-cta { text-align: center; margin: 2.5rem 0 0; }

/* ---------- Galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.gallery a::after {
  content: "+"; font-family: var(--font-serif); font-weight: 500; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 3rem; color: var(--white);
  background: rgba(74, 22, 64, .35); opacity: 0; transition: opacity .3s;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }
.gallery-more { text-align: center; margin: 2rem 0 0; color: var(--muted); }
.gallery-more a { font-weight: 500; }

/* ---------- Contatti ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--blush-deep); }
.contact-list i {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--orchid); font-size: 1.1rem;
}
.contact-list span, .contact-list a { padding-top: .45rem; line-height: 1.4; }
.contact-list a { color: var(--navy); font-weight: 400; }
.contact-list a:hover { color: var(--orchid); }
.contact-list small { color: var(--muted); }
.contact-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.note { color: var(--muted); font-size: .92rem; margin-top: 1.4rem; }
.note i { color: var(--orchid); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 380px; border: 6px solid var(--blush); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #e6cfdd; padding: 3.5rem 0 2.5rem; text-align: center; }
.footer-inner img { margin: 0 auto 1rem; width: 72px; height: 72px; background: var(--white); border-radius: 50%; }
.footer-claim { font-size: 2rem; color: #f39ad0; margin: 0 0 1rem; }
.footer-small { font-size: .85rem; margin: .3rem 0; opacity: .8; }
.footer-small a { color: #e6cfdd; }

/* ---------- WhatsApp flottante ---------- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.75rem;
  background: #25d366; color: var(--white);
  box-shadow: 0 10px 25px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float:hover { color: var(--white); transform: scale(1.08); }

/* ---------- Popup di benvenuto ---------- */
.welcome {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.25rem;
  background: rgba(43, 10, 37, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .35s ease;
}
.welcome[hidden] { display: none; }
.welcome-card {
  position: relative; width: min(460px, 100%); text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--blush) 100%);
  border-radius: 24px; padding: 2.4rem 2rem 2rem; box-shadow: 0 30px 80px rgba(30, 8, 26, .45);
  border-top: 5px solid var(--orchid);
  animation: popIn .45s cubic-bezier(.2, .9, .3, 1.2);
}
.welcome-card img { width: 84px; height: 84px; margin: 0 auto 1rem; }
.welcome-card h2 { font-size: clamp(1.7rem, 5vw, 2.1rem); }
.welcome-card p:not(.eyebrow) { color: var(--ink); margin: 0 0 1.6rem; }
.welcome-ok { cursor: pointer; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(30, 8, 26, .92); padding: 1.5rem; animation: fadeUp .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 82vh; max-width: min(92vw, 1100px); border-radius: 12px; margin: 0 auto; }
.lightbox figcaption { color: #f6e3ee; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; margin-top: .8rem; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 1.2rem; cursor: pointer;
}
.lightbox-close:hover { background: var(--orchid); }

/* ---------- Animazioni allo scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; padding: 0 11px; border: 0; border-radius: 50%;
    background: var(--white); box-shadow: var(--shadow); cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--orchid); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.5rem;
    background: var(--blush); border-bottom: 1px solid rgba(194, 55, 143, .15);
    box-shadow: 0 20px 30px rgba(74, 22, 64, .12);
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { width: 100%; text-align: center; padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(194, 55, 143, .1); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn { margin-top: 1.2rem; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin: 0 auto 1.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-name { font-size: 1.55rem; }
  .brand img { width: 44px; height: 44px; }
  .hero { min-height: min(82vh, 720px); }
  .hero::before { background: linear-gradient(180deg, rgba(43, 10, 37, .55) 0%, rgba(74, 22, 64, .82) 100%); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .women-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .highlights { grid-template-columns: 1fr; }
  .tabs { border-radius: 999px; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: .2rem; }
  .tabs button { padding: .65rem .3rem; font-size: .9rem; }
  .about-photo { max-width: 300px; }
  .cards { grid-template-columns: 1fr; }
  .pt-row { padding: .9rem 1rem; grid-template-columns: 1.4fr 1fr 1fr; }
  .pt-row span:first-child { font-size: 1.05rem; }
  .pt-row span:not(:first-child) { font-size: 1.2rem; }
  .pt-head span, .pt-head span:first-child, .pt-head span:not(:first-child) { font-size: .66rem; letter-spacing: .08em; }
  .gallery { gap: .6rem; }
  .certs-row a { flex-basis: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
