/*
  HairBolli – base responsive theme
  Palette: dark background, warm accent
*/

:root {
  /* Light theme anchored to #f2c7f2 */
  --nav-h: 72px; /* main navbar height */
  --bg: #f2c7f2;         /* primary page background */
  --bg-soft: color-mix(in srgb, var(--bg) 22%, #fff); /* softer tint */
  --surface: #ffffff;     /* cards/nav surfaces */
  --surface-2: #fbf3fb;   /* more subtle tinted surface */
  --text: #1b1f2a;
  --muted: #4b5563; /* stronger contrast on light */
  --primary: #b246c3;     /* harmonious magenta-violet */
  --primary-600: #9d40ae;
  --ring: #b246c355;      /* focus ring */
  --border: #edd9ed;      /* lighter tinted divider */
  --radius: 14px;
  --container: 1120px;
  --shadow: 0 10px 22px rgba(17,23,32,.08);
  /* Percorsi nelle url CSS sono relativi al file CSS, non all'HTML */
  --map-bg: url('./Header_Monte_San_Vito.webp');
}

* { box-sizing: border-box; }
html { height: 100%; }
body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.6;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Display helpers */
.only-mobile { display: none !important; }
@media (max-width: 880px) {
  .only-mobile { display: initial !important; }
  .only-mobile.biz-phone { display: grid !important; }
}

/* Typography headings inspired by luxury salons */
h1, h2, .brand-text { font-family: "Playfair Display", Poppins, Inter, sans-serif; }
h1, h2 { letter-spacing: .2px; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px; top: 12px; z-index: 1000;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  outline: 2px solid var(--primary);
}

/* Header / Nav */
.topbar {
  font-size: .9rem; color: var(--text);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--primary), #fff 85%),
    color-mix(in srgb, var(--primary), #fff 70%)
  );
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding-block: 8px; flex-wrap: wrap; }
.contact-inline, .social-inline { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.contact-inline a, .social-inline a { color: var(--text); text-decoration: none; opacity: .9; }
.contact-inline a:hover, .social-inline a:hover { color: var(--text); opacity: 1; }

/* Topbar contact chips */
.topbar .chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border), var(--primary) 12%);
  background: color-mix(in srgb, var(--surface-2), #fff 25%);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.topbar .chip:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--border), var(--primary) 35%); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.topbar .chip svg { inline-size: 16px; block-size: 16px; }
/* Topbar socials as icon-only */
.topbar .chip-ig span, .topbar .chip-fb span { display: none; }
.topbar .chip-ig, .topbar .chip-fb { inline-size: 36px; block-size: 36px; padding: 0; justify-content: center; border-radius: 50%; }
.topbar .chip-ig svg, .topbar .chip-fb svg { inline-size: 18px; block-size: 18px; }

.topbar .chip-phone {
  border-color: color-mix(in srgb, var(--primary), #fff 50%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary), #fff 35%), var(--primary));
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.topbar .chip-phone:hover { filter: brightness(1.02); }
.topbar .chip-phone::after { content: ""; position: absolute; inset: -4px; border-radius: 999px; pointer-events: none; opacity: .0; transition: opacity .2s ease; }
.topbar .chip-phone:hover::after { opacity: .12; }

/* Brand chips */
.topbar .chip-ig { background: #E4405F; border-color: #E4405F; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.topbar .chip-fb { background: #1877F2; border-color: #1877F2; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.topbar .chip-wa { background: #25D366; border-color: #25D366; color: #fff; font-weight: 700; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.topbar .chip-wa svg { inline-size: 18px; block-size: 18px; color: #fff; }
.topbar .chip-wa:hover { filter: brightness(1.05); }
.topbar .chip-ig:hover, .topbar .chip-fb:hover { filter: brightness(1.05); }
/* Light theme: make WhatsApp chip text dark for better contrast */
[data-theme="light"] .topbar .chip-wa {
  background: #e9f7ef;
  border-color: #cdebd9;
  color: #0f5132;
  text-shadow: none;
}
[data-theme="light"] .topbar .chip-wa svg { color: #0f5132; }

/* Mobile compaction for the topbar */
@media (max-width: 720px) {
  .topbar { font-size: .84rem; }
  .topbar-inner { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 14px; }
  .topbar .contact-inline { width: 100%; flex-wrap: nowrap; flex-direction: column; gap: 6px; order: 1; }
  .topbar .contact-inline li { flex: 1 1 100%; min-width: 0; }
  .topbar .contact-inline .chip {
    width: 100%;
    justify-content: flex-start;
    padding: 9px 12px;
    border-radius: 12px;
    box-shadow: none;
    background: color-mix(in srgb, var(--surface), #fff 20%);
    border-color: color-mix(in srgb, var(--border), var(--primary) 6%);
  }
  .topbar .contact-inline .chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar .social-inline { width: 100%; justify-content: flex-start; gap: 12px; order: 2; }
}

@media (prefers-color-scheme: dark) {
  [data-theme="dark"] .topbar .chip { background: color-mix(in srgb, #27273e, #fff 8%); border-color: color-mix(in srgb, var(--border), #fff 14%); color: #eef2f9; }
}

/* Dark theme adjustments for topbar */
[data-theme="dark"] .topbar {
  color: #eef2f9;
  /* Subtle violet tint over dark bg (less aggressive) */
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--bg), var(--primary) 8%),
    color-mix(in srgb, var(--bg), var(--primary) 2%)
  );
  border-bottom-color: #3a3a57;
}
[data-theme="dark"] .topbar a { color: #eef2f9; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--surface), transparent 20%);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-family: Poppins, Inter, sans-serif; }
.brand-text { letter-spacing: 0.2px; }
.brand-logo { height: 36px; width: auto; display: inline-block; }
.site-footer .brand-logo { height: 32px; }
/* Text wordmark as primary logo */
.wordmark { display: inline-block; font-family: "Playfair Display", Poppins, Inter, sans-serif; font-weight: 700; letter-spacing: .4px; font-size: 1.32rem; color: var(--text); }
.wordmark .accent {
  background: linear-gradient(90deg, var(--primary), #8aa1ff, var(--primary));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordmarkShift 12s linear infinite;
}
@keyframes wordmarkShift { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
.site-footer .wordmark { font-size: 1.18rem; }
@media print {
  .logo-light, .logo-dark { display: none !important; }
}

.menu { display: flex; gap: 26px; align-items: center; }
.menu a { color: var(--text); text-decoration: none; opacity: 1; position: relative; font-family: Poppins, Inter, sans-serif; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: 1.06rem; }
.menu a:hover { opacity: 1; }
.menu a:not(.btn-cta):not(.social-link).active { color: var(--primary); }
/* Animated underline for active/hover links */
.menu a:not(.btn-cta):not(.social-link)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary), #000 10%)); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.menu a:not(.btn-cta):not(.social-link):hover::after, .menu a:not(.btn-cta):not(.social-link).active::after, .menu a:not(.btn-cta):not(.social-link)[aria-current="page"]::after { transform: scaleX(1); }

/* Dropdown (Servizi) */
.menu .dropdown { position: relative; }
.menu .dropdown-toggle {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  font-family: Poppins, Inter, sans-serif; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: 1.06rem;
  color: var(--text); opacity: 1; display: inline-flex; align-items: center; gap: 6px;
}
.menu .dropdown-toggle:hover { opacity: 1; }
.menu .dropdown-toggle::after { content: "\25be"; font-size: .8em; transform: translateY(1px); transition: transform .15s ease; }
.menu .dropdown.is-open .dropdown-toggle::after { transform: rotate(180deg) translateY(-1px); }
.menu .dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; z-index: 55;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; box-shadow: var(--shadow);
  display: none;
}
.menu .dropdown.is-open .dropdown-menu { display: block; }
.menu .dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); opacity: .9; text-decoration: none; }
.menu .dropdown-menu a:hover { opacity: 1; background: color-mix(in srgb, var(--surface-2), #fff 30%); }
/* Focus visibility for better accessibility */
.menu a:focus-visible, .menu .dropdown-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
  border-radius: 8px;
}
@media (pointer: fine) {
  .menu .dropdown:hover .dropdown-menu { display: block; }
}

/* Navbar contact links: desktop shows WhatsApp, mobile shows tel */
.menu .nav-desktop { display: inline-flex; }
.menu .nav-mobile { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  inline-size: 44px; block-size: 44px; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; color: var(--text);
}
.nav-toggle-bar { display: block; inline-size: 22px; block-size: 2px; background: var(--text); border-radius: 2px; }

/* Buttons */
.btn { 
  appearance: none; border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; font-weight: 600; border-radius: 999px; line-height: 1;
}
.btn.small { padding: 8px 12px; font-size: 0.92rem; }
.btn-primary { background: linear-gradient(180deg, color-mix(in srgb, var(--primary), #fff 35%), var(--primary)); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--primary), transparent 65%); }
.btn-primary:hover { filter: brightness(.97); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--border), var(--text) 30%); }

/* Prominent CTA button for navbar "Prenota" */
.btn-cta { 
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary), #fff 20%), var(--primary));
  color: #fff; 
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary), transparent 55%), 0 0 0 2px color-mix(in srgb, var(--primary), #fff 65%) inset;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.btn-cta:hover { filter: brightness(1.02); transform: translateY(-1px); box-shadow: 0 12px 28px color-mix(in srgb, var(--primary), transparent 50%); }
.btn-cta.small { padding: 9px 14px; }
.btn-cta::after {
  content: ""; position: absolute; inset: -6px; border-radius: 999px; z-index: -1;
  background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--primary), #fff 25%) 0%, transparent 60%);
  filter: blur(8px); opacity: .55; animation: ctaGlow 3s ease-in-out infinite;
}
@keyframes ctaGlow { 0%, 100% { opacity: .35; transform: scale(.98); } 50% { opacity: .8; transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .btn-cta::after { animation: none; } }
@media (prefers-reduced-motion: reduce) { .hero .btn-cta::before { display: none; } }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  background: #000; /* solid fallback to avoid any light seam under images */
  min-block-size: 100dvh;
  min-height: 100vh; /* fallback */
  /* Pull hero under the main navbar to visually merge it */
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
  color: #fff;
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 360px at 20% -10%, rgba(0,0,0,.25), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 36px; padding-block: 120px; }
/* Make hero headline stand out without hiding photo */
.hero-copy { display: inline-block; max-width: min(920px, 100%); padding: 0; border-radius: 0;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
.hero-copy h1 { font-family: Poppins, Inter, sans-serif; font-size: clamp(3rem, 6vw + 1rem, 5rem); line-height: 1.04; margin: 0 0 18px; letter-spacing: .3px; font-weight: 800;
  /* multi-layer halo to improve readability on any photo */
  text-shadow: 0 2px 16px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.6), 0 0 32px rgba(0,0,0,.45);
  -webkit-text-stroke: 0.4px rgba(0,0,0,.35);
}
.hero-copy h1 { font-family: "Playfair Display", Poppins, Inter, sans-serif; }
.hero-copy p { display: none; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: #ffffff70; color: #fff; }
.hero .btn-cta { padding: 14px 26px; font-size: 1.08rem; letter-spacing: .2px; box-shadow: 0 14px 36px color-mix(in srgb, var(--primary), transparent 45%), 0 0 0 2px color-mix(in srgb, var(--primary), #fff 65%) inset; }
.hero .btn-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.4) 20%, transparent 40%); transform: translateX(-120%); transition: transform .7s ease; }
.hero .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px color-mix(in srgb, var(--primary), transparent 40%), 0 0 0 2px color-mix(in srgb, var(--primary), #fff 65%) inset; }
.hero .btn-cta:hover::before { transform: translateX(120%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg { will-change: transform; transform: translateY(var(--hero-parallax, 0px)); }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,.45) 82%, rgba(0,0,0,.8) 100%);
}
.hero-slider { position: absolute; inset: 0; }
.hero-slider .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .9s ease, transform 2.6s ease; }
.hero-slider .slide.is-active { opacity: 1; transform: scale(1); }

/* Sections */
.section { padding-block: 56px; }
.section.alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.section-header { text-align: center; margin-block-end: 28px; }
.section-header.left { text-align: left; }
.section-header h2 { font-family: Poppins, Inter, sans-serif; margin: 0 0 8px; font-size: clamp(1.4rem, 1.6vw + 1rem, 2rem); }
.section-header p { margin: 0; color: var(--muted); }

/* Breadcrumb back link on servizi pages */
.breadcrumb-nav { margin-bottom: 12px; }
.breadcrumb-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(120deg,
    color-mix(in srgb, var(--surface), #fff 40%),
    color-mix(in srgb, var(--primary), #fff 60%));
  background-size: 220% 100%;
  border: 1px solid color-mix(in srgb, var(--border), var(--primary) 40%);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  transition: background-position .3s ease, transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.breadcrumb-link:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
  border-color: color-mix(in srgb, var(--border), var(--primary) 65%);
}
.breadcrumb-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring), 0 12px 26px rgba(0,0,0,.14);
}
.breadcrumb-link::after {
  content: "";
  position: absolute;
  inset: -10px -12px;
  z-index: -1;
  background: radial-gradient(80% 80% at 20% 50%, color-mix(in srgb, var(--primary), #fff 35%), transparent 60%);
  opacity: .35;
  filter: blur(14px);
  transition: opacity .3s ease, transform .3s ease;
}
.breadcrumb-link:hover::after { opacity: .5; transform: translateY(2px) scale(1.02); }
.breadcrumb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary), #fff 25%);
  color: #0f1124;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border), var(--primary) 45%);
  font-size: 1rem;
}
.breadcrumb-text { text-transform: uppercase; font-size: .92rem; }
[data-theme="dark"] .breadcrumb-link {
  background: linear-gradient(120deg,
    color-mix(in srgb, #3a3a57, #fff 18%),
    color-mix(in srgb, #1e1e32, var(--primary) 20%));
  border-color: color-mix(in srgb, #ffffff, var(--primary) 24%);
  box-shadow: 0 12px 26px rgba(0,0,0,.42);
  color: #fdfdff;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
[data-theme="dark"] .breadcrumb-link:hover { box-shadow: 0 16px 32px rgba(0,0,0,.5); }
[data-theme="dark"] .breadcrumb-link::after {
  background: radial-gradient(80% 80% at 20% 50%, color-mix(in srgb, var(--primary), #fff 20%), transparent 60%);
  opacity: .28;
}
[data-theme="dark"] .breadcrumb-icon {
  color: #0b0b13;
  background: color-mix(in srgb, #ffffff, var(--primary) 35%);
}

/* Alternate section backgrounds site-wide (exclude hero and map) */
main > section:not(.hero):not(.map) {
  position: relative;
}
main > section:not(.hero):not(.map):nth-of-type(odd) {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--surface), var(--primary) 12%) 0%,
    color-mix(in srgb, var(--surface), var(--primary) 6%) 60%,
    color-mix(in srgb, var(--surface-2), var(--primary) 4%) 100%
  );
  border: 0;
}
main > section:not(.hero):not(.map):nth-of-type(even) {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--surface-2), var(--primary) 18%) 0%,
    color-mix(in srgb, var(--surface-2), var(--primary) 10%) 60%,
    color-mix(in srgb, var(--surface), var(--primary) 8%) 100%
  );
  border: 0;
}
/* Avoid a border seam under the hero */
main > section.hero + section { border-top: 0 !important; }

/* Business card section */
.business-card .container { width: 100%; }
.business-card .biz-layout {
  display: grid;
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
}
@media (min-width: 960px) {
  .business-card .biz-layout {
    grid-template-columns: minmax(320px, 520px) minmax(320px, 1fr);
  }
}
.business-card .biz-details {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 38px);
  border-radius: 0;
  border: 1px solid color-mix(in srgb, var(--border), var(--primary) 25%);
  background: radial-gradient(circle at 15% -10%, color-mix(in srgb, #fff, var(--primary) 25%), color-mix(in srgb, var(--surface), #000 4%));
  box-shadow:
    0 30px 60px rgba(20,18,40,.16),
    0 0 0 1px rgba(255,255,255,.3) inset;
  overflow: hidden;
}
.business-card .biz-details::before,
.business-card .biz-details::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: .45;
  z-index: 0;
}
.business-card .biz-details::before {
  width: 200px; height: 200px;
  top: -70px; right: -50px;
  background: radial-gradient(circle, rgba(255,255,255,.9), color-mix(in srgb, var(--primary), #fff 40%));
  animation: bizGlow 7s ease-in-out infinite;
}
.business-card .biz-details::after {
  width: 170px; height: 170px;
  bottom: -60px; left: -30px;
  background: radial-gradient(circle, color-mix(in srgb, #ffd1ff, var(--primary) 40%), rgba(255,255,255,.6));
  animation: bizGlow 8.5s ease-in-out infinite reverse;
}
.business-card .biz-details > * { position: relative; z-index: 1; }
.business-card .biz-story {
  padding: clamp(10px, 2vw, 18px) 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.business-card .biz-eyebrow {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: color-mix(in srgb, var(--primary), #000 20%);
  margin: 0;
}
.business-card .biz-story h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
}
.business-card .biz-story p {
  margin: 0;
  color: color-mix(in srgb, var(--text), #000 8%);
  line-height: 1.7;
}
.business-card .biz-story blockquote {
  margin: 8px 0;
  padding: 12px 18px;
  border-left: 4px solid color-mix(in srgb, var(--primary), #000 10%);
  font-style: italic;
  color: color-mix(in srgb, var(--primary), #000 30%);
  background: color-mix(in srgb, var(--surface), #fff 50%);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
[data-theme="dark"] .business-card .biz-story blockquote {
  color: color-mix(in srgb, #ffffff, var(--primary) 12%);
  background: color-mix(in srgb, #1f1f35, var(--primary) 20%);
  border-left-color: color-mix(in srgb, var(--primary), #fff 18%);
}
[data-theme="dark"] .business-card .biz-story blockquote {
  color: color-mix(in srgb, #ffffff, var(--primary) 15%);
  background: color-mix(in srgb, #1f1f35, var(--primary) 20%);
  border-left-color: color-mix(in srgb, var(--primary), #fff 20%);
}
.business-card .biz-story-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.business-card .biz-story-cta .btn {
  flex-shrink: 0;
}
.business-card .biz-actions {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.business-card .biz-actions .btn {
  flex: 1 1 180px;
}
.business-card .biz-logo {
  inline-size: min(220px, 70%);
  display: block;
}
[data-theme="dark"] .business-card .biz-logo {
  filter: brightness(0) invert(1) contrast(1.1);
}
.business-card .tagline {
  margin: 4px 0 0;
  color: color-mix(in srgb, var(--muted), #000 10%);
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-size: .85rem;
}
.business-card .biz-intro {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--text), #000 10%);
}
.business-card .biz-info {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  width: 100%;
  display: grid; gap: 12px;
}
.business-card .biz-info li {
  padding: 12px 18px;
  border-radius: 0;
  border: 1px solid color-mix(in srgb, var(--border), var(--primary) 25%);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--surface-2), #fff 45%), color-mix(in srgb, var(--primary), #fff 80%));
  box-shadow: 0 12px 28px rgba(20,18,40,.18);
}
[data-theme="dark"] .business-card .biz-info li {
  border-color: color-mix(in srgb, var(--primary), #000 45%);
  background: linear-gradient(120deg, color-mix(in srgb, #22172a, var(--primary) 35%), color-mix(in srgb, #2e1f38, var(--primary) 15%));
  box-shadow: 0 16px 32px rgba(2,0,15,.7);
}
.business-card .biz-info a,
.business-card .biz-info a,
.business-card .biz-info .hours {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center;
  color: color-mix(in srgb, var(--text), #000 5%);
  text-decoration: none;
  font-weight: 600;
}
[data-theme="dark"] .business-card .biz-info a,
[data-theme="dark"] .business-card .biz-info .hours {
  color: color-mix(in srgb, #ffffff, var(--primary) 15%);
}
.business-card .biz-info svg { inline-size: 22px; block-size: 22px; color: color-mix(in srgb, var(--primary), #000 15%); }
[data-theme="dark"] .business-card .biz-info svg { color: color-mix(in srgb, #ffffff, var(--primary) 25%); }
.business-card .biz-info a:hover { color: var(--primary); }
.business-card .biz-phone {
  width: 100%;
  margin-top: auto;
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  padding: 18px 22px;
  border-radius: 22px;
  text-decoration: none;
  background: linear-gradient(110deg, var(--primary), color-mix(in srgb, var(--primary), #000 20%));
  color: #fff;
  box-shadow: 0 18px 36px rgba(178,70,195,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.business-card .biz-phone.biz-phone-wa {
  background: linear-gradient(110deg, #25D366, #1ebe5b);
  color: #0b2616;
  box-shadow: 0 18px 36px rgba(37,211,102,.35);
}
[data-theme="dark"] .business-card .biz-phone {
  background: linear-gradient(110deg, color-mix(in srgb, var(--primary), #000 5%), color-mix(in srgb, #000, var(--primary) 65%));
  box-shadow: 0 22px 40px rgba(2,0,15,.75);
}
[data-theme="dark"] .business-card .biz-phone.biz-phone-wa {
  background: linear-gradient(110deg, #1fb95a, #128c3a);
  color: #0c2315;
  box-shadow: 0 22px 40px rgba(2,0,15,.75);
}
.business-card .biz-phone strong { font-size: 1.35rem; letter-spacing: .45px; }
.business-card .biz-phone svg {
  inline-size: 34px; block-size: 34px; padding: 7px;
  border-radius: 50%; background: rgba(255,255,255,.22);
}
.business-card .biz-phone.biz-phone-wa svg { background: rgba(0,0,0,.08); }
.business-card .biz-phone:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(178,70,195,.45); }

.business-card .biz-card,
.business-card .biz-card::before {
  transition: border-color .4s ease, box-shadow .4s ease;
}
.business-card .biz-card:hover {
  box-shadow: 0 32px 65px rgba(20,18,40,.16);
  border-color: color-mix(in srgb, var(--primary), #fff 10%);
}

@keyframes bizShine {
  0%, 100% { transform: translateX(-10%); opacity: .4; }
  50% { transform: translateX(10%); opacity: .75; }
}

@media (max-width: 640px) {
  .business-card .biz-phone { grid-template-columns: 1fr; text-align: center; }
  .business-card .biz-layout { grid-template-columns: 1fr; }
  .business-card .biz-story { border-radius: 0; }
  .business-card .biz-details { border-radius: 22px; align-items: center; text-align: center; }
}

/* Cards */
.grid.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 0; padding: 18px; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.service-card { text-decoration: none; color: inherit; display: block; }
.service-card .pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 10px 16px;
  min-height: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border), var(--accent, var(--primary)) 50%);
  background: linear-gradient(120deg,
    color-mix(in srgb, var(--surface), var(--accent, var(--primary)) 28%),
    color-mix(in srgb, var(--surface), var(--accent, var(--primary)) 12%));
  background-size: 150% 150%;
  background-position: 0% 50%;
  color: #1b1f2a;
  font-weight: 800;
  text-transform: none;
  letter-spacing: .3px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .3s ease, background-position .5s ease, filter .3s ease;
  animation: pillBreath 6s ease-in-out infinite;
}
[data-theme="dark"] .service-card .pill-link {
  background: linear-gradient(120deg,
    color-mix(in srgb, #0f1124, var(--accent, var(--primary)) 65%),
    color-mix(in srgb, #181a34, var(--accent, var(--primary)) 38%));
  border-color: color-mix(in srgb, #ffffff, var(--accent, var(--primary)) 35%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
[data-theme="dark"] .service-card .pill-link:hover {
  background: linear-gradient(120deg,
    color-mix(in srgb, #0f1124, var(--accent, var(--primary)) 75%),
    color-mix(in srgb, #16172b, var(--accent, var(--primary)) 46%));
  border-color: color-mix(in srgb, #ffffff, var(--accent, var(--primary)) 48%);
}
.service-card .pill-link::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-120%);
  opacity: .0;
  transition: transform .6s ease, opacity .6s ease;
  z-index: 0;
}
.service-card .pill-link::after {
  content: ">";
  font-weight: 800;
  transform: translateY(-1px);
}
.service-card .pill-link:hover,
.service-card .pill-link:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent, var(--primary)), transparent 75%);
  background-position: 100% 50%;
}
.service-card .pill-link:hover::before,
.service-card .pill-link:focus-visible::before {
  transform: translateX(120%);
  opacity: .95;
}
@keyframes pillBreath {
  0%, 100% { box-shadow: 0 8px 18px rgba(0,0,0,.08); }
  50% { box-shadow: 0 12px 28px rgba(0,0,0,.12); }
}
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--border), var(--text) 20%); }
.card .icon { inline-size: 40px; block-size: 40px; display: inline-grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--surface-2), #fff 40%); margin-block-end: 6px; }
.card h3 { margin: 8px 0; font-size: 1.05rem; font-weight: 600; font-family: Poppins, Inter, sans-serif; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .actions { margin-top: 10px; }

/* Services cards - inspired by Vogue Vertu aesthetic */
.grid.cards.services-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-cards { display: grid; gap: 20px; }
@media (max-width: 900px) {
  .services-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid.cards.services-cards { grid-template-columns: 1fr !important; }
  .services-cards { grid-template-columns: 1fr; gap: 16px; }
  .services-cards .card { padding: 16px 14px; gap: 6px; }
  .services-cards .card .icon { inline-size: 64px; block-size: 64px; margin-bottom: 8px; }
  .services-cards .card h3 { font-size: 1rem; }
  .services-cards .card p {
    font-size: .95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .services-cards .card .pill-link { width: 100%; justify-content: center; font-size: .95rem; }
}
.services-cards .card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface), #fff 18%), color-mix(in srgb, var(--surface-2), #fff 8%));
  border: 1px solid color-mix(in srgb, var(--border), var(--accent, var(--primary)) 20%);
  box-shadow: 0 16px 32px rgba(17,23,32,.08);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.services-cards .card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 16% 8%, color-mix(in srgb, var(--primary), #fff 30%), transparent 32%),
              radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--primary), #000 6%), transparent 26%);
  opacity: .18;
  z-index: -1;
}
.services-cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px color-mix(in srgb, var(--accent, var(--primary)), transparent 62%);
  border-color: color-mix(in srgb, var(--border), var(--accent, var(--primary)) 55%);
}
.services-cards .card .icon {
  inline-size: 88px; block-size: 88px;
  margin-bottom: 14px;
  position: relative;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.services-cards .card .icon::after {
  content: "";
  position: absolute;
  width: 92%;
  height: 92%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--icon-img) center/contain no-repeat;
  filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0,0,0,.28));
}
.services-cards .card .icon::after { transition: filter .2s ease; }
[data-theme="dark"] .services-cards .card .icon::after {
  filter: invert(1) brightness(3.2) contrast(1.4) drop-shadow(0 2px 8px rgba(0,0,0,.55));
}
.icon-dry { --icon-img: url('./icons/dry.png'); --accent: #ff9f9f; }
.icon-cut { --icon-img: url('./icons/cut.png'); --accent: #ffb347; }
.icon-color { --icon-img: url('./icons/color.png'); --accent: #7ad7ff; }
.icon-schiariture { --icon-img: url('./icons/schiariture.png'); --accent: #ffd166; }
.icon-liscio { --icon-img: url('./icons/liscio.png'); --accent: #8dd3b6; }
.icon-trattamenti { --icon-img: url('./icons/trattamenti.png'); --accent: #c6a1ff; } /* sposa/trattamenti */
.services-cards .card h3 {
  margin: 4px 0 8px;
  font-size: 1.12rem;
  letter-spacing: .3px;
}
.services-cards .card p { font-size: 1rem; color: color-mix(in srgb, var(--muted), #000 4%); }
.services-cards .card .actions { margin-top: 14px; }
.services-cards .card .actions { margin-top: auto; padding-top: 8px; }
.services-cards .card .btn-ghost {
  border-color: color-mix(in srgb, var(--border), var(--primary) 35%);
  color: var(--primary);
  font-weight: 700;
}
.services-cards .card .btn-ghost:hover { border-color: var(--primary); color: var(--primary-600); }
[data-theme="dark"] .services-cards .card {
  background: linear-gradient(135deg, #1e1d2c, #181726);
  border-color: color-mix(in srgb, #ffffff, var(--accent, var(--primary)) 14%);
  box-shadow: 0 18px 42px rgba(0,0,0,.5);
}
[data-theme="dark"] .services-cards .card::before {
  background:
    radial-gradient(circle at 22% 10%, color-mix(in srgb, var(--accent, var(--primary)), #fff 12%), transparent 28%),
    radial-gradient(circle at 80% -8%, color-mix(in srgb, var(--accent, var(--primary)), #000 20%), transparent 22%);
  opacity: .22;
}

/* Team */
.grid.cards.team { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card.person { padding: 0; overflow: hidden; }
.card.person img { inline-size: 100%; block-size: 220px; object-fit: cover; display: block; }
.card.person .person-info { padding: 14px 14px 16px; }

/* Reviews */
.reviews-board { display: grid; gap: 16px; }
.reviews-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: center;
}
.rating-badge {
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--surface), var(--primary) 8%),
    color-mix(in srgb, var(--surface-2), var(--primary) 6%));
  box-shadow: var(--shadow);
}
.rating-badge .score { font-size: 2rem; line-height: 1; font-weight: 800; }
.rating-badge .source { font-weight: 700; color: color-mix(in srgb, var(--text), #000 5%); }
.rating-badge .count { color: var(--muted); font-size: .95rem; }
.reviews-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.reviews-actions .btn { white-space: nowrap; }
.reviews .review { display: grid; gap: 10px; min-height: 150px; }
.reviews .review .stars { color: #ffcf74; letter-spacing: 2px; margin: 0 0 6px; }
.reviews .review .muted { margin: 0; }
.reviews .review.skeleton { position: relative; overflow: hidden; color: transparent; }
.reviews .review.empty { align-content: center; }
.reviews .review .placeholder {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--border), var(--primary) 12%),
    color-mix(in srgb, var(--surface), var(--primary) 6%),
    color-mix(in srgb, var(--border), var(--primary) 12%));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
.reviews .placeholder.w-90 { width: 90%; }
.reviews .placeholder.w-70 { width: 70%; }
.reviews .placeholder.w-40 { width: 40%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.reviews-status { margin: 0; }
@media (max-width: 720px) {
  .reviews-actions { justify-content: flex-start; }
}

/* Brands */
.brands { padding-block: 28px; }
.brands .section-header { margin-bottom: 8px; }
.brands-strip {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  padding: 10px 14px;
}
.brands-strip .brand-tile {
  margin: 0;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  background: transparent;
}
.brands-strip .brand-tile img {
  max-width: 140px;
  max-height: 44px;
  width: 100%;
  object-fit: contain;
  display: block;
}
.brands-row-static {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-wrap: nowrap;
}
.brand-pill { border: 1px solid var(--border); color: var(--text); padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface-2), #fff 30%); font-weight: 600; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: center;
}
.brands-grid .brand-tile {
  margin: 0;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  min-height: 28px;
  box-shadow: none;
}
.brands-grid .brand-tile img {
  max-width: 70px;
  max-height: 20px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(0.1);
  opacity: 0.9;
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}
.brands-grid .brand-tile:hover img { transform: scale(1.04); filter: none; opacity: 1; }
@media (max-width: 720px) {
  .brands-strip { padding: 14px 12px; }
  .brands-row-static { justify-content: center; gap: 16px; padding-inline: 4px; flex-wrap: wrap; }
  .brands-strip .brand-tile {
    min-height: 72px;
    padding: 10px 12px;
    flex: 1 1 46%;
    min-width: 160px;
  }
  .brands-strip .brand-tile img { max-width: 220px; max-height: 64px; width: 100%; }
}

/* Price list */
.price-list { display: grid; gap: 10px; }
.price-item { display: flex; align-items: center; }
.price-item span { white-space: nowrap; }
.price-item .dots { flex: 1; border-bottom: 1px dashed #cfd6e0; margin: 0 .75rem; height: 0; }
.price-item .price { font-weight: 600; }

/* Gallery */
.section.gallery-full { padding: 0 0 32px; border-bottom: 14px solid color-mix(in srgb, var(--primary), #fff 32%); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 6px;
}
.gallery-item { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--surface), var(--primary) 10%);
  border-radius: 0;
  box-shadow: none;
  opacity: 1 !important;
  visibility: visible !important;
  background: color-mix(in srgb, var(--surface-2), #fff 25%);
  transition: transform .35s ease, filter .35s ease;
}
.gallery-grid img { transform: translateY(var(--parallaxY, 0px)); }
.gallery-grid { perspective: 800px; }
.gallery-grid .gallery-item { min-height: 200px; }
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-item:hover img { transform: scale(1.04); filter: brightness(1.05); }

.service-carousel { position: relative; overflow: hidden; border-radius: 16px; background: var(--panel); box-shadow: 0 16px 40px -18px rgba(0,0,0,0.25); }
.service-carousel + * { margin-top: 18px; }
.service-track { display: flex; transition: transform 420ms ease; width: 100%; }
.service-slide { flex: 0 0 100%; max-height: 520px; }
.service-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.35); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background 160ms ease, transform 160ms ease; }
.carousel-arrow:hover { background: rgba(0,0,0,0.5); transform: translateY(-50%) scale(1.04); }
.carousel-arrow:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

/* Card tilt support */
.grid.cards { perspective: 900px; }
.card { will-change: transform; transition: transform .18s ease, box-shadow .18s ease; }
.card.is-tilting { box-shadow: 0 12px 28px rgba(0,0,0,.12); }

/* Contact */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.service-visual { display: grid; grid-template-rows: 1fr; gap: 12px; height: 100%; }
.service-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.contact-list a { color: var(--text); }
.inline-link { color: var(--primary); }

.contact-form form { background: var(--surface); border: 1px solid var(--border); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.contact-form label { display: grid; gap: 6px; font-size: .95rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 12px; border-radius: 10px; border: 1px solid var(--border); background: #ffffff; color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--ring); border-color: #c4ccd7; }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.form-status { color: var(--muted); min-height: 1.2em; }

@media (max-width: 720px) {
  .service-visual { grid-template-rows: auto; height: auto; }
  .service-visual img { height: auto; }
}

/* Dedicated booking page */
.booking-page .booking-intro { padding-block: 80px 90px; }
.booking-page .booking-copy { display: grid; gap: 12px; }
.booking-page .booking-copy h1 { margin: 0; }
.booking-page .booking-copy p { color: var(--muted); margin: 0; }
.booking-page .contact-list { margin-top: 8px; }

/* Bio Alessandra */
.bio-photos { display: block; height: 100%; }
.bio-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.bio-copy p { color: var(--muted); }
.bio-highlights { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 6px; }
.bio-highlights li { position: relative; padding-left: 16px; }
.bio-highlights li::before { content: "•"; color: var(--primary); position: absolute; left: 0; }

/* Map */
.section.map { position: relative; background: var(--surface); }
.section.map::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--map-bg);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: saturate(.95) contrast(1.05) brightness(.8);
}
.section.map::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: none;
}
.section.map > .container {
  position: relative; z-index: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 24px 0 28px;
  color: var(--text);
}
.section.map .section-header {
  display: inline-block;
  padding: 10px 14px;
  background: rgba(0,0,0,.52);
  border-radius: 12px;
  backdrop-filter: blur(2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.section.map .section-header h2 { color: #f9f9ff; margin: 0; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.map-embed { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: #ffffffee; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }
/* Stacco netto tra galleria e mappa */
.section.gallery-full + .section.map {
  border-top: 0;
  margin-top: 0;
  position: relative;
  box-shadow: 0 -22px 38px rgba(0,0,0,.16);
  padding-top: 96px;
}

/* Footer */
.site-footer { padding-block: 28px; border-top: 1px solid var(--border); background: var(--surface-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.footer-nav { display: flex; gap: 16px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.muted { color: var(--muted); }

.footer-bar {
  background: #0f1124;
  color: #f5f5f7;
  text-align: center;
  padding: 14px 12px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bar a {
  color: #d7d9ff;
  text-decoration: none;
}
.footer-bar a:hover { text-decoration: underline; }

/* Back to top */
.back-to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; opacity: 0; pointer-events: none;
  transform: translateY(8px); transition: all .2s ease;
  inline-size: 42px; block-size: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
[data-theme="dark"] .back-to-top {
  background: #ffffff;
  color: #0f1124;
  border-color: color-mix(in srgb, #ffffff, var(--border) 35%);
  box-shadow: 0 10px 24px rgba(0,0,0,.36);
}
[data-theme="dark"] .back-to-top:hover { filter: brightness(0.98); }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Floating WhatsApp CTA */
.floating-cta {
  position: fixed; right: 16px; bottom: 70px; z-index: 45; text-decoration: none;
  padding: 10px 14px; border-radius: 999px; background: #25D366; color: #0b2616; font-weight: 700; border: 1px solid #1fb95a;
  box-shadow: 0 6px 22px rgba(37,211,102,.35);
}

/* Responsive */
@media (max-width: 880px) {
  :root { --nav-h: 60px; }
  .nav { padding-inline: 10px; gap: 8px; }
  .brand { gap: 8px; }
  .brand .brand-logo { height: 44px; }
  .nav-toggle { inline-size: 40px; block-size: 40px; }
  .nav-toggle-bar { inline-size: 20px; }
  .nav-toggle { display: flex; }
  .menu { position: absolute; inset-inline: 12px; top: var(--nav-h); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: none; flex-direction: column; gap: 6px; box-shadow: 0 12px 36px rgba(0,0,0,.16); }
  .menu.open { display: flex; max-block-size: calc(100dvh - 80px); overflow: auto; /* avoid scroll trapping */ overscroll-behavior: auto; -webkit-overflow-scrolling: touch; }
  .menu a { padding: 10px; border-radius: 10px; font-size: .98rem; letter-spacing: .2px; }
  /* Dropdown mobile presentation */
  .menu .dropdown { width: 100%; }
  .menu .dropdown-toggle { width: 100%; padding: 10px; border-radius: 8px; justify-content: space-between; }
  .menu .dropdown-menu { position: static; display: none; background: transparent; border: 0; border-left: 2px solid var(--border); border-radius: 8px; box-shadow: none; margin: 4px 0 0 8px; padding: 6px 6px 6px 10px; }
  .menu .dropdown.is-open .dropdown-menu { display: block; }
  .menu .dropdown-menu a { padding: 8px 10px; }
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero { background-position: 35% 0; min-block-size: 100dvh; min-height: 100vh; }
  .topbar-inner { height: auto; padding-block: 6px; flex-wrap: wrap; }
  .floating-cta { bottom: 64px; right: 12px; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Typography niceties */
a { transition: opacity .15s ease, color .15s ease; }
::selection { background: color-mix(in srgb, var(--primary), #fff 75%); color: var(--text); }

/* --- Reveal on scroll animations --- */
.reveal { opacity: 0; transform: translateY(14px); will-change: opacity, transform; }
.reveal.is-revealed { opacity: 1; transform: none; }
/* Variants */
[data-reveal="up"], .reveal-up { transform: translateY(16px); }
[data-reveal="down"], .reveal-down { transform: translateY(-16px); }
[data-reveal="left"], .reveal-left { transform: translateX(-22px); }
[data-reveal="right"], .reveal-right { transform: translateX(22px); }
[data-reveal="zoom"], .reveal-zoom { transform: scale(.96); }
[data-reveal="rotate"], .reveal-rotate { transform: translateY(16px) rotate(-2deg); transform-origin: 50% 80%; }
.reveal, [data-reveal] {
  transition: opacity .6s cubic-bezier(.21, .61, .35, 1), transform .6s cubic-bezier(.21, .61, .35, 1);
}
.reveal.is-revealed[data-reveal="zoom"], .reveal-zoom.is-revealed { transform: none; }
/* Stagger utility */
.stagger > * { transition-delay: var(--delay, 0ms); }
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Floating CTA for subtle ambient motion */
@keyframes floatY { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
.hero .btn-cta { animation: floatY 6s ease-in-out infinite; }

/* --- Navbar overrides: single, elegant, dynamic --- */
/* Logo sizing; visibility handled by theme rules below */
.brand .brand-logo { height: 52px; width: auto; }
.brand-sprite { display: none !important; }

/* Smooth transitions and compact state */
.site-header { transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.site-header.hide { transform: translateY(-100%); }
.site-header:not(.on-hero) { background: color-mix(in srgb, var(--surface), transparent 0%); border-color: color-mix(in srgb, var(--border), #000 8%); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.site-header.on-hero { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
/* When at very top on pages without hero, keep header transparent but retain default text colors */
.site-header.is-top { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
/* Highlight the logo while header overlays the hero for better contrast */
.site-header.on-hero .brand {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.on-hero .brand .brand-logo {
  filter: none;
}
@media (min-width: 880px) {
  .site-header.on-hero .brand { padding: 8px 14px; }
}
.site-header.compact .nav { height: 58px; }

/* Light nav text when overlaying hero */
.site-header.on-hero .menu a { color: #fff; opacity: 1; text-shadow: 0 2px 6px rgba(0,0,0,.45); }
.site-header.on-hero .menu a:not(.btn-cta):not(.social-link)::after { background: #ffffffcc; }
.site-header.on-hero .menu .dropdown-toggle { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.45); }
/* Ensure dropdown items are readable over hero on desktop */
.site-header.on-hero .menu .dropdown-menu {
  background: rgba(0,0,0,1);
  border-color: rgba(255,255,255,.35);
}
.site-header.on-hero .menu .dropdown-menu a { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.site-header.on-hero .menu .dropdown-menu a:hover { background: rgba(255,255,255,.16); }
.site-header.on-hero .nav-toggle-bar { background: #fff; }
.site-header.on-hero .social-link { color: #fff; border-color: #ffffff70; }
/* Ensure wordmark is readable over hero */
.site-header.on-hero .brand .wordmark { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }

@media (max-width: 880px) {
  .brand .brand-logo { height: 40px; }
  /* Remove underline effect in stacked mobile menu */
  .menu a:not(.btn-cta):not(.social-link)::after { display: none; }
  /* Subtle slide-in for mobile dropdown */
  .menu { transition: transform .2s ease, opacity .2s ease; transform: translateY(-6px); opacity: 0; }
  .menu.open { transform: translateY(0); opacity: 1; }
  /* Swap contact links on mobile */
  .menu .nav-desktop { display: none; }
  .menu .nav-mobile { display: inline-flex; }
  /* No panel on small screens either: keep it minimal */
  .hero-copy { padding: 0; border-radius: 0; }
  /* When menu panel is open over hero on light theme, keep text dark for contrast */
  .site-header.on-hero .menu.open a,
  .site-header.on-hero .menu.open .dropdown-toggle { color: var(--text); text-shadow: none; }
  .site-header.on-hero .menu.open .dropdown-menu { background: transparent; border-color: var(--border); }
  .site-header.on-hero .menu.open .dropdown-menu a { color: var(--text); }
  .site-header.on-hero .menu.open .dropdown-menu a:hover { background: color-mix(in srgb, var(--surface-2), #fff 30%); }
}

/* Backdrop overlay when mobile menu is open */
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.28); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.nav-overlay.show { opacity: 1; pointer-events: auto; }

/* Thin scroll progress bar */
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--primary); z-index: 60; transition: width .1s linear; pointer-events: none; }

/* --- Theme system: light vs dark --- */
/* Default variables are light in :root. Override for dark: */
:root[data-theme="dark"], [data-theme="dark"] {
  --bg: #27273e;         /* primary page background (dark) */
  --surface: #2f2f4d;     /* slightly lighter cards/nav */
  --surface-2: #242442;   /* subtle alternate surface */
  --text: #eef2f9;
  --muted: #c3cbdb; /* brighter muted on dark */
  --primary: #b246c3;     /* keep accent consistent */
  --primary-600: #9d40ae;
  --ring: #b246c355;
  --border: #3a3a57;
  --shadow: 0 10px 22px rgba(0,0,0,.4);
}

/* Dark theme background override (simpler, less glare) */
[data-theme="dark"] body { background: var(--bg); }

/* Logo: usa sempre la versione chiara (trasparente) */
.brand .brand-logo { display: inline-block; filter: none; }
.brand .logo-dark { display: none; }
.brand .logo-light { display: inline-block; }

[data-theme="dark"] .brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light {
  display: inline-block;
  filter: brightness(0) invert(1) contrast(1.1);
}

.site-header.on-hero .logo-dark { display: none; }
.site-header.on-hero .logo-light { display: inline-block; filter: none; }

/* Social icons in navbar */
.menu .social-link { 
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 36px; block-size: 36px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.menu .social-link:hover { transform: translateY(-1px); color: var(--primary); border-color: color-mix(in srgb, var(--border), var(--primary) 40%); }
.menu .social-link svg { inline-size: 18px; block-size: 18px; }

/* Compact social pills in topbar */
.topbar .social-link { inline-size: 28px; block-size: 28px; }
.topbar .social-link svg { inline-size: 16px; block-size: 16px; }
.topbar .social-link:hover { background: color-mix(in srgb, var(--primary), #fff 82%); }
.business-card .biz-details::before,
.business-card .biz-details::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(45px);
  opacity: .45;
  z-index: 0;
}
.business-card .biz-details::before {
  width: 220px; height: 220px;
  top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(255,255,255,.85), color-mix(in srgb, var(--primary), #fff 45%));
  animation: bizGlow 7.2s ease-in-out infinite;
}
.business-card .biz-details::after {
  width: 190px; height: 190px;
  bottom: -70px; left: -40px;
  background: radial-gradient(circle, color-mix(in srgb, #ffd1ff, var(--primary) 45%), rgba(255,255,255,.55));
  animation: bizGlow 8.5s ease-in-out infinite reverse;
}
.business-card .biz-details > * { position: relative; z-index: 1; }
[data-theme="dark"] .business-card .biz-details {
  border-color: color-mix(in srgb, #4d3259, var(--primary) 50%);
  background: radial-gradient(circle at 15% -10%, color-mix(in srgb, #2a2133, var(--primary) 35%), #181425);
  box-shadow: 0 30px 60px rgba(2,0,15,.7), 0 0 0 1px rgba(255,255,255,.08) inset;
}
[data-theme="dark"] .business-card .biz-details::before {
  background: radial-gradient(circle, rgba(255,255,255,.35), color-mix(in srgb, var(--primary), #fff 25%));
  opacity: .35;
}
[data-theme="dark"] .business-card .biz-details::after {
  background: radial-gradient(circle, color-mix(in srgb, #ffb8ff, var(--primary) 20%), rgba(255,255,255,.2));
  opacity: .3;
}


/* Lightbox overlay for gallery */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 22, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  padding: 18px;
}
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  width: 100%;
}
.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  background: #111;
}
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.lightbox-close:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,.3); }
.lightbox-close:active { transform: scale(0.97); }
.lightbox-close:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 640px) {
  .lightbox-close { top: 10px; right: 10px; }
  .lightbox img { border-radius: 10px; }
}


