/*
 * Foglio di stile per nutrizionista.me
 * Definisce colori, layout responsive e componenti per la pagina della
 * biologo nutrizionista Viola Ferraresi. La palette è basata su tonalità
 * naturali (verde e beige) per evocare freschezza e benessere. Il layout
 * utilizza Flexbox per organizzare le schede dei servizi e gestisce la
 * visibilità su schermi piccoli tramite media query.
 */

/* Variabili per i colori principali */
:root {
  /* multi-color feminine palette */
  --mauve: #A64D7B;
  --pink: #F6A5C0;
  --teal: #2B8A7E;
  --gold: #F2C94C;
  --muted: #FFF7FB;
  --card: #ffffff;
  --text: #24303A;
  --accent-strong: #7A2E55;
  --space-section: 60px;
  --space-section-compact: 44px;
  --space-stack: 12px;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Times New Roman', serif;
  /* backwards-compatible aliases */
  --primary: var(--mauve);
  --accent: var(--pink);
  --contrast: var(--accent-strong);
}

/* Impostazioni globali */
html, body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--text);
  background: #e6e9f0;
  overflow-x: hidden;
}

h1, h2, h3, .brand-text {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* Make all elements use border-box to avoid sizing surprises */
*, *::before, *::after { box-sizing: border-box }

/* Contenitore centrale */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #eff2f7;
  backdrop-filter: blur(8px) saturate(1.05);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(122,46,85,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.15rem;
}
.logo-square { width:48px; height:48px; display:block }
.brand-text { font-size:1rem; color:var(--text); font-weight:700 }
.nav a {
  margin-left: 18px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover { opacity: .9 }

/* Menu in landscape mode su mobile - riduci spacing */
@media (orientation: landscape) and (max-height: 500px) {
  .nav a {
    margin-left: 6px;
    font-size: 0.85rem;
    padding: 0 4px;
    transition: none;
  }
  .nav a:hover,
  .nav a:active,
  .nav a:focus {
    font-size: 0.85rem;
  }
}

/* Hamburger menu */
.menu-toggle { display: none; position: absolute; top: 18px; right: 20px; cursor: pointer; background: none; border: none; padding: 0; z-index: 100 }
.menu-toggle span { display: block; width: 24px; height: 3px; background: var(--text); margin: 5px 0; transition: 0.3s }
#nav-check { display: none }
#nav-check:checked ~ .nav { display: flex; position: absolute; top: calc(100% + env(safe-area-inset-top, 0px) + 6px); left: 0; right: 0; flex-direction: column; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); padding: 20px; border-radius: 0 0 14px 14px; box-shadow: 0 10px 30px rgba(36,48,58,0.1) }
#nav-check:checked ~ .nav a { margin: 12px 0; color: var(--text) }
#nav-check:checked ~ .menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px) }
#nav-check:checked ~ .menu-toggle span:nth-child(2) { opacity: 0 }
#nav-check:checked ~ .menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px) }

.hero {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(240,243,249,0.2) 0%, rgba(230,233,240,0.6) 100%), url("Foto/Sfondi/130.webp");
  background-size: cover;
  background-position: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 70px;
  align-items: center;
}
.hero-content h1 { font-size: 2rem; margin: 0 0 12px }
.hero-content p { margin: 0 0 28px; color: #40656B }
.hero-content {
  padding: 24px 26px;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 18px 40px rgba(36,48,58,0.25);
}
.hero-image {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(36,48,58,0.12), 0 28px 56px rgba(166,77,123,0.16), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(122,46,85,0.08);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.15), rgba(0,0,0,0.08)), url("Foto/Viola/2_Transparent.webp");
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.hero-image:hover::before {
  transform: scale(1.15);
}
.hero-image:hover {
  box-shadow: 0 24px 60px rgba(166,77,123,0.18);
}
.cta { 
  display:inline-block; 
  background: linear-gradient(45deg, #0F9F7E 0%, #0A8A6B 50%, #04614A 100%); 
  color:#fff; 
  padding:12px 18px; 
  border-radius:12px; 
  text-decoration:none; 
  font-weight:600; 
  animation: floatIn 2s ease both;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 165, 138, 0.25);
  margin-right: 12px;
}
.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 165, 138, 0.4);
}
.cta:hover::before {
  left: 100%;
}
.cta:active {
  transform: translateY(0);
}
.cta-business { 
  background: linear-gradient(45deg, #D71875 0%, #A80D60 50%, #801050 100%);
  box-shadow: 0 4px 15px rgba(215, 24, 117, 0.35);
}
.cta-business:hover {
  box-shadow: 0 6px 20px rgba(217, 70, 166, 0.4);
}
.cta-float {
  animation: float 5s ease-in-out infinite;
}
.cta-float:nth-of-type(2) {
  animation-delay: 0.1s;
}

/* Sezioni generiche */
section { padding: var(--space-section) 0 }
section h2 { margin: 0 0 var(--space-stack); color: var(--text); font-size: 1.6rem }
section p { margin: 0 0 var(--space-stack) }
section ul { margin: 0 0 var(--space-stack) }
section p:last-child, section ul:last-child { margin-bottom: 0 }

.section-anchor {
  position: relative;
  top: -90px;
  height: 0;
}

/* About */
.about {
  background: #FFF7FB;
}

.about p {
  margin-bottom: 1rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.about-text {
  display: grid;
  gap: 18px;
}

.body-card {
  padding: 28px 24px;
}

.about-media {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(122,46,85,0.14);
  box-shadow: 0 20px 60px rgba(36,48,58,0.18), 0 8px 25px rgba(122,46,85,0.12);
  animation: floatIn 0.8s ease both;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-frame:hover {
  box-shadow: 0 28px 80px rgba(166,77,123,0.25), 0 12px 35px rgba(122,46,85,0.18);
  border-color: rgba(122,46,85,0.25);
}

.media-frame:hover img {
  transform: scale(1.08);
}

.photo-band .media-frame img,
.contact-visual .media-frame img,
.location-hero .media-frame img {
  height: auto;
  object-fit: cover;
}

.about-media .media-frame:nth-child(1) { grid-column: span 2; height: 180px; }
.about-media .media-frame:nth-child(2) { height: 220px; }
.about-media .media-frame:nth-child(3) { height: 220px; }

.study-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.study-card {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(36,48,58,0.06);
  border: 1px solid rgba(122,46,85,0.1);
}

.study-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--primary);
}

.study-card p {
  margin: 0 0 12px;
  color: #40656B;
  line-height: 1.6;
  font-size: 0.95rem;
}

.study-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .study-cards {
    grid-template-columns: 1fr;
  }
}

/* Expandable values - Desktop (default) */
.value-toggle {
  display: none;
}

.value-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  cursor: default;
}

.value-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--primary);
  flex: 1;
}

.value-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(246,165,192,0.2) 0%, rgba(166,77,123,0.15) 100%);
  border-radius: 10px;
  flex-shrink: 0;
}

.value-toggle-icon {
  display: none;
}

.expandable-value .value-content {
  display: block;
}

/* Expandable values - Mobile */
@media (max-width: 768px) {
  .expandable-value {
    padding: 0;
    overflow: hidden;
  }
  
  .value-header {
    padding: 18px 20px;
    margin-bottom: 0;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(246,165,192,0.08) 0%, rgba(255,255,255,0.95) 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
  }
  
  .value-header:hover {
    background: linear-gradient(135deg, rgba(246,165,192,0.15) 0%, rgba(255,255,255,0.98) 100%);
  }
  
  .value-header h3 {
    font-size: 1.05rem;
  }
  
  .value-icon {
    font-size: 22px;
    width: 36px;
    height: 36px;
  }
  
  .value-toggle-icon {
    display: flex;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: var(--mauve);
    transition: transform 0.3s ease;
  }
  
  .value-toggle-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .expandable-value .value-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  }
  
  .value-toggle:checked + .expandable-value .value-content {
    max-height: 1500px;
    padding: 0 20px 20px 20px;
  }
  
  .value-toggle:checked + .expandable-value .value-toggle-icon {
    transform: rotate(180deg);
  }
  
  .value-toggle:checked + .expandable-value .value-header {
    background: linear-gradient(135deg, rgba(246,165,192,0.18) 0%, rgba(255,255,255,1) 100%);
    border-radius: 14px 14px 0 0;
  }
  
  .expandable-value .value-content p {
    margin: 0 0 12px;
    color: #40656B;
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  .expandable-value .value-content p:last-child {
    margin-bottom: 0;
  }
}

/* Professionals */
.professionals {
  background: #e6e9f0;
}

.professionals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.professional-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.professional-card:hover {
  transform: translateY(-6px);
}

.professional-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.professional-card p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.professional-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(166,77,123,0.2);
  margin-bottom: 8px;
}

.professional-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card.professional-simple-card {
  padding: 2.5rem 1.5rem;
}

.professional-simple-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.professional-simple-card h3 {
  margin: 0;
  line-height: 1.3;
}

.professional-simple-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #888;
}

.professional-photo-circle {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(122,46,85,0.14);
  box-shadow: 0 12px 30px rgba(36,48,58,0.1);
}

.professional-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Professional Detail Section */
.professionals-section {
  scroll-margin-top: 80px;
}

.professional-detail-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(122,46,85,0.12);
  box-shadow: 0 16px 50px rgba(36,48,58,0.08);
  padding: 32px;
  margin-top: 18px;
}

.professional-detail-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(122,46,85,0.1);
  aspect-ratio: 1;
  width: 100%;
  transition: box-shadow 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.professional-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.professional-detail-photo:hover {
  box-shadow: 0 20px 50px rgba(166,77,123,0.22), inset 0 0 30px rgba(166,77,123,0.08);
  transform: rotate(-2deg) scale(1.05);
}

.professional-detail-photo:hover img {
  filter: brightness(1.05) saturate(1.15);
}

.professional-detail-content h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: var(--primary);
}

.professional-title {
  margin: 0 0 18px !important;
  color: var(--contrast);
  font-size: 1rem;
  font-weight: 600;
}

.professional-detail-content p {
  margin: 0 0 14px;
  color: #40656B;
  line-height: 1.7;
  font-size: 0.95rem;
}

.professional-detail-content p:last-child {
  margin-bottom: 0;
}

.bio-section {
  margin-bottom: 24px;
}

.bio-section:last-child {
  margin-bottom: 0;
}

.bio-section h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--contrast);
  font-weight: 600;
}

.bio-section p {
  margin: 0;
}

@media (max-width: 900px) {
  .professional-detail-card {
    grid-template-columns: 1fr;
  }
  
  .professional-detail-photo {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* Specialties */
.specialties {
  background: #f0f2f7;
}

.specialties-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 10px 0;
}

.specialties-marquee::before,
.specialties-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.specialties-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f0f2f7, rgba(240,242,247,0));
}

.specialties-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f0f2f7, rgba(240,242,247,0));
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  align-items: center;
  animation: marquee 48s linear infinite;
}

.specialties-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.specialty-chip {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: none;
  border: 2px solid rgba(255,255,255,0.85);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex: 0 0 auto;
}

.specialty-chip span {
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: #24303A;
  backdrop-filter: blur(4px);
}

.specialty-chip:hover {
  transform: translateY(-6px) scale(1.02);
}

.specialty-panel {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(36,48,58,0.45);
  backdrop-filter: blur(6px);
  z-index: 120;
}

.specialty-panel:target {
  display: flex;
}

.overlay-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 24px 70px rgba(36,48,58,0.25);
  border: 1px solid rgba(122,46,85,0.12);
  animation: floatIn 0.35s ease;
}

.overlay-card h3 {
  margin-top: 0;
}

.overlay-card p {
  margin: 10px 0 0;
}

.overlay-close {
  display: inline-flex;
  margin-top: 16px;
  text-decoration: none;
  font-weight: 600;
  color: var(--contrast);
}

.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.about-card {
  width: 280px;
  padding: 80px 22px 200px;
}

/* Servizi */
.services {
  background: #e6e9f0;
}

.services .container > p {
  margin-bottom: 16px;
}

.services .cards {
  gap: 24px;
  margin-top: 24px;
}

/* Service detail layout for longer descriptions */
.service-detail {
  background: #fff;
  border-radius: 16px;
  margin-top: 28px;
  box-shadow: 0 8px 24px rgba(36,48,58,0.08);
  overflow: hidden;
  border: 1px solid rgba(166,77,123,0.1);
}

.service-detail-header {
  background: linear-gradient(135deg, rgba(246,165,192,0.12) 0%, rgba(166,77,123,0.08) 100%);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid rgba(166,77,123,0.15);
}

.service-detail-header .icon {
  width: 32px;
  height: 32px;
  color: var(--mauve);
  flex-shrink: 0;
}

.service-detail-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--mauve);
}

.service-detail-content {
  padding: 28px 32px;
  line-height: 1.8;
}

.service-detail-content p {
  margin: 0 0 16px;
}

.service-detail-content p:last-child {
  margin-bottom: 0;
}

.service-detail-content strong {
  color: var(--mauve);
  font-weight: 600;
}

/* Accordion layout */
.service-accordion {
  margin-top: 28px;
}

.accordion-item {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(36,48,58,0.06);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.accordion-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(246,165,192,0.3), rgba(166,77,123,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.accordion-item:hover {
  box-shadow: 0 8px 28px rgba(166,77,123,0.15);
  transform: translateY(-2px);
}

.accordion-item:hover::before {
  opacity: 1;
}

.accordion-item.active {
  box-shadow: 0 12px 35px rgba(166,77,123,0.2);
  transform: translateY(-3px);
}

.accordion-item.active::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(246,165,192,0.6), rgba(166,77,123,0.5));
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(246,165,192,0.04) 0%, rgba(166,77,123,0.02) 100%);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.accordion-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 90px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166,77,123,0.1), transparent);
  opacity: 1;
  transition: opacity 0.35s ease;
}

.accordion-item.active .accordion-header::after {
  opacity: 0;
}

.accordion-header:hover {
  background: linear-gradient(135deg, rgba(246,165,192,0.1) 0%, rgba(166,77,123,0.06) 100%);
}

.accordion-icon-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F6A5C0 0%, #E88BB0 50%, #D97BA0 100%);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(246,165,192,0.35);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.accordion-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.accordion-header:hover .accordion-icon-wrap::before {
  transform: translateX(100%);
}

.accordion-item.active .accordion-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(246,165,192,0.5);
}

.accordion-icon-wrap .icon {
  color: #fff;
  position: relative;
  z-index: 1;
}

.accordion-title {
  flex: 1;
}

.accordion-title h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: var(--mauve);
  font-weight: 700;
  transition: color 0.3s ease;
}

.accordion-header:hover .accordion-title h3 {
  color: #9d3d6f;
}

.accordion-subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: #707070;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.accordion-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(166,77,123,0.08);
  border-radius: 50%;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(166,77,123,0.15);
}

.accordion-header:hover .accordion-toggle {
  background: rgba(166,77,123,0.15);
  border-color: rgba(166,77,123,0.25);
}

.accordion-toggle svg {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--mauve);
}

.accordion-item.active .accordion-toggle {
  background: linear-gradient(135deg, var(--mauve), #9d3d6f);
  border-color: var(--mauve);
  transform: rotate(180deg);
}

.accordion-item.active .accordion-toggle svg {
  color: #fff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease, opacity 0.3s ease;
  padding: 0 30px;
  line-height: 1.8;
  opacity: 0;
  background: linear-gradient(to bottom, rgba(246,165,192,0.02), transparent);
}

.accordion-item.active .accordion-content {
  max-height: 1500px;
  padding: 28px 30px 32px;
  opacity: 1;
}

.accordion-content p {
  margin: 0 0 16px;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

.accordion-content strong {
  color: var(--mauve);
  font-weight: 600;
}

@media (max-width: 768px) {
  .accordion-header {
    padding: 20px;
    gap: 16px;
  }
  
  .accordion-icon-wrap {
    width: 50px;
    height: 50px;
  }
  
  .accordion-icon-wrap .icon {
    width: 28px;
    height: 28px;
  }
  
  .accordion-title h3 {
    font-size: 1.2rem;
  }
  
  .accordion-subtitle {
    font-size: 0.85rem;
  }
  
  .accordion-content {
    padding: 0 20px;
  }
  
  .accordion-item.active .accordion-content {
    padding: 20px;
  }
  
  .service-detail-header {
    padding: 20px 24px;
  }
  
  .service-detail-content {
    padding: 24px;
  }
  
  .service-detail-header h3 {
    font-size: 1.3rem;
  }
}

.cards { display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr)); gap:18px; margin-top: 18px }
.cards.service-grid { grid-template-columns: 1fr; gap: 24px }
.cards.cards-2col { grid-template-columns: repeat(2, 1fr); gap: 24px }
.cards.cards-3col { grid-template-columns: repeat(3, 1fr); gap: 24px }

@media (max-width: 900px) {
  .cards.cards-2col, .cards.cards-3col {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .cards.cards-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card { background:#fff; padding:20px; border-radius:14px; box-shadow:0 12px 30px rgba(36,48,58,0.06); transition:transform .18s ease, box-shadow .18s ease; position:relative }
.card.about-card { padding: 40px 22px 20px }
.card h3 { margin:0 0 8px; display:flex; align-items:center; gap:10px }
.card .icon { width:28px; height:28px; color:var(--mauve); flex-shrink:0 }
.fancy-card .icon { animation: float 3s ease-in-out infinite; margin-top: 12px }
.cards .card::before { content: ''; position:absolute; left:16px; top:16px; width:56px; height:6px; background:linear-gradient(90deg,var(--pink),var(--mauve)); border-radius:6px }
.cards .card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(36,48,58,0.09) }
.study-card.expandable-value:hover { transform: translateY(-4px); transition: transform 0.3s ease, box-shadow 0.3s ease }

/* Fancy-card decorative shape */
.fancy-card { position: relative; overflow: visible }
.fancy-card::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(246,165,192,0.18), rgba(166,77,123,0.06));
  border-radius: 50%;
  transform: rotate(12deg);
  pointer-events: none;
}

/* Expandable cards - Desktop styles (default) */
.individual-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-toggle {
  display: none;
}

.card-header-mobile {
  display: none;
}

.card-icon-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-icon-desktop h3 {
  margin: 0;
}

.expandable-card .card-content {
  display: block;
}

/* Expandable cards - Mobile styles */
@media (max-width: 900px) {
  .individual-services {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .expandable-card {
    padding: 0;
    overflow: hidden;
  }
  
  .expandable-card::before {
    display: none;
  }
  
  .card-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    background: white;
    border-radius: 14px 14px 0 0;
    transition: background 0.3s ease;
  }
  
  .card-header-mobile:hover {
    background: #fafafa;
  }
  
  .card-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
  }
  
  .card-header-content h3 {
    margin: 0;
    font-size: 1.1rem;
  }
  
  .card-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mauve);
    transition: transform 0.3s ease;
  }
  
  .card-toggle svg {
    width: 24px;
    height: 24px;
  }
  
  .card-icon-desktop {
    display: none;
  }
  
  .expandable-card .card-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  }
  
  .service-toggle:checked + .expandable-card .card-content {
    max-height: 2000px;
    padding: 0 20px 20px 20px;
  }
  
  .service-toggle:checked + .expandable-card .card-toggle {
    transform: rotate(180deg);
  }
  
  .service-toggle:checked + .expandable-card .card-header-mobile {
    border-radius: 14px 14px 0 0;
  }
  
  .expandable-card .fancy-card::after {
    display: none;
  }
}

/* Locations */
.locations {
  background: #f0f2f7;
}

.locations-list { display:flex; gap:16px; flex-wrap:wrap; margin-top:18px }
.loc-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,248,252,0.9) 45%, rgba(240,228,236,0.7) 100%);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(122,46,85,0.14);
  box-shadow: 0 18px 55px rgba(36,48,58,0.12);
  flex: 1;
  min-width: 240px;
  position: relative;
  overflow: hidden;
}
.loc-card::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 18px;
  width: 54px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242,201,76,0.75), rgba(166,77,123,0.85));
}
.loc-card::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, rgba(246,165,192,0.22), rgba(166,77,123,0.06));
  border-radius: 50%;
  pointer-events: none;
}
.loc-card h3 { margin: 8px 0 8px }
.loc-card p { margin: 0 0 8px; color: #40656B }
.loc-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122,46,85,0.2);
  text-decoration: none;
  color: var(--contrast);
  background: rgba(166,77,123,0.08);
  font-weight: 600;
}
.loc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 70px rgba(36,48,58,0.16) }
.loc-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:18px }

/* Contacts */
.contact-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin-bottom:18px }
.contact-card { background:#fff; padding:14px; border-radius:12px; box-shadow:0 10px 30px rgba(36,48,58,0.06) }
.contact-card a { text-decoration: none; color: inherit }
.contact-card a:hover { text-decoration: none; color: var(--mauve) }
.contacts h2 { margin-top: 60px; }
.reveal-contact {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #C94E8D 0%, #A64D7B 50%, #8B4169 100%);
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(169, 77, 123, 0.4);
}
.reveal-contact:hover {
  background: linear-gradient(135deg, #B93D7A 0%, #953968 50%, #7A3056 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(169, 77, 123, 0.6);
}
.reveal-contact:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(169, 77, 123, 0.5);
}
.reveal-btn {
  background: linear-gradient(135deg, var(--pink), var(--mauve));
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.reveal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(122, 46, 85, 0.25);
}

.contact-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 6px 0 26px;
}

/* Decorative elements for headings */
.about::before, .services::before {
  content: '';
  display:block;
  width:56px;
  height:6px;
  background: linear-gradient(90deg,var(--accent),var(--primary));
  border-radius:6px;
  margin-bottom:14px;
}

/* Prenotazioni */
.small-hero {
  padding: var(--space-section-compact) 0;
}

.booking-calendar {
  padding-top: 10px;
}

.calendar-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 44px rgba(36,48,58,0.08);
  border: 1px solid rgba(36,48,58,0.06);
}

.calendar-head h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.calendar-head p {
  margin: 0 0 16px;
}

.availability-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 18px;
  align-items: start;
}

.slot-panel {
  border-radius: 14px;
  border: 1px solid rgba(36,48,58,0.08);
  padding: 16px;
  background: linear-gradient(180deg, rgba(246,165,192,0.06), rgba(255,255,255,0.9));
}

.slot-panel h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: start;
}

.booking .left,
.booking .right {
  min-width: 0;
}

.booking-form { background: linear-gradient(180deg, rgba(246,165,192,0.03), rgba(255,250,245,0.6)); padding:22px; border-radius:14px; box-shadow:0 14px 40px rgba(36,48,58,0.06); color:var(--text) }
.field-row { display:flex; gap:14px; flex-wrap:wrap }
.booking-form .field-row { margin-bottom: 16px }
.booking-form .field-row:last-of-type { margin-bottom: 0 }
.field-row label { flex:1; display:block; min-width:180px; color:var(--text) }
.field-group { flex: 1; min-width: 220px }
.field-label { display:block; font-weight:600; margin-bottom:10px; color:var(--text) }
.booking-form .field-row input, .booking-form .field-row select, .booking-form .field-row textarea { width:100%; padding:12px; margin-top:8px; border-radius:10px; border:1px solid rgba(36,48,58,0.06); background:#fff; font-family: inherit; font-size: inherit; }
.booking-form .field-row textarea { resize: vertical; min-height: 100px; }
.booking-form .field-row input::placeholder, .booking-form .field-row select::placeholder, .booking-form .field-row textarea::placeholder { color: #9B8AA0 }
.booking-form .field-row input:focus, .booking-form .field-row select:focus, .booking-form .field-row textarea:focus { outline:2px solid rgba(166,77,123,0.08); box-shadow:0 8px 18px rgba(166,77,123,0.06) }
.actions { margin-top:18px }
.actions button { background: linear-gradient(90deg,var(--teal),#2FA58A); color:#fff; border:none; padding:12px 18px; border-radius:20px; cursor:pointer; font-weight:700; box-shadow:0 10px 30px rgba(43,138,126,0.12) }
.actions button:disabled { opacity: 0.65; cursor: not-allowed; box-shadow: none }

.field-help {
  display: block;
  font-size: 0.85rem;
  color: #7B596B;
  margin-top: 6px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(122,46,85,0.18);
  color: var(--contrast);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 10px 22px rgba(36,48,58,0.06);
}

.section-link:hover {
  border-color: rgba(122,46,85,0.35);
}

.photo-band {
  padding-top: 0;
}

.photo-band-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.photo-band-wide .photo-band-inner {
  grid-template-columns: minmax(0, 1fr);
}

.location-hero {
  margin-bottom: 20px;
}

/* Parallax bands */
.parallax-band {
  position: relative;
  background: linear-gradient(135deg, rgba(36,48,58,0.35), rgba(36,48,58,0.55)), var(--bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 120px 0;
}

.parallax-band.parallax-soft {
  background: linear-gradient(135deg, rgba(166,77,123,0.3), rgba(36,48,58,0.45)), var(--bg);
}

.parallax-inner {
  max-width: 620px;
  padding: 24px 26px;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 18px 40px rgba(36,48,58,0.25);
}

.parallax-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.parallax-band p {
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(36,48,58,0.12);
  background: #fff;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.choice-pill input:checked + span {
  background: linear-gradient(90deg, rgba(43,138,126,0.15), rgba(43,138,126,0.05));
  border-color: rgba(43,138,126,0.6);
  color: #1F5F58;
  box-shadow: 0 10px 24px rgba(43,138,126,0.18);
}

.choice-pill input:focus-visible + span {
  outline: 2px solid rgba(43,138,126,0.4);
  outline-offset: 2px;
}

.booking-info {
  padding: 40px 0 30px;
}

.booking-aside {
  padding: 30px 0 40px;
}

.booking-aside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

/* Aside tabs - hidden by default (desktop) */
input[name="aside-tab"] {
  display: none;
}

.aside-tab-buttons {
  display: none;
}

.aside-panel {
  display: block;
}

.booking-pricing {
  padding: 40px 0 10px;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.info-card-wide {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
}

.booking-info .info-checklist {
  margin: 0;
}

.info-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 14px 40px rgba(36,48,58,0.06);
  border: 2px solid rgba(122,46,85,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(36,48,58,0.12);
  border-color: rgba(122,46,85,0.15);
}

.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--primary);
}

.pricing-duration {
  margin: 0 0 16px;
  color: #888;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-description {
  margin: 16px 0 0;
  color: #40656B;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pricing-featured {
  border-color: var(--mauve);
  background: linear-gradient(180deg, rgba(166,77,123,0.02), #fff);
  box-shadow: 0 18px 50px rgba(166,77,123,0.15);
}

.pricing-featured:hover {
  box-shadow: 0 24px 60px rgba(166,77,123,0.22);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--pink), var(--mauve));
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(166,77,123,0.3);
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.booking {
  padding: 0 0 60px;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.info-card,
.price-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 40px rgba(36,48,58,0.06);
}
.calendar-embed { margin-top: 18px; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(36,48,58,0.08); border: 1px solid rgba(36,48,58,0.06); max-height: 530px; position: relative; background: #fff }
.calendar-embed iframe { width:100%; height: 800px; border:0; transform: translateY(-95px) }
.calendar-full { margin-top: 0 }
.calendar-fullscreen-close { display: none; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(36,48,58,0.15); background: rgba(255,255,255,0.95); color: #24303A; font-weight: 700; font-size: 0.86rem; cursor: pointer }
.calendar-fullscreen-trigger { display: none; border: 0; margin: 0; background: transparent; color: transparent; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent }

/* Professionista selector */
.booking-switch {
  position: relative;
}

.pro-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-filter {
  padding: 40px 0 30px;
}

.pro-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  padding: 12px 10px 8px;
  border-radius: 999px;
  border: 1px solid rgba(36,48,58,0.2);
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pro-button:hover {
  border-color: rgba(36,48,58,0.35);
  background: rgba(36,48,58,0.03);
}

.pro-note {
  margin: 10px 0 24px;
  color: #6C6B73;
}

.booking-content {
  display: none;
}

#prof-viola:checked ~ .booking-content {
  display: block;
}

#prof-viola:checked ~ .booking-filter label[for="prof-viola"],
#prof-bubu:checked ~ .booking-filter label[for="prof-bubu"] {
  border-color: rgba(43,138,126,0.5);
  background: linear-gradient(90deg, rgba(43,138,126,0.15), rgba(43,138,126,0.05));
  color: #1F5F58;
}

/* Calendar tabs */
.calendar-tabs { position: relative }
#cal-consu, #cal-silea, #cal-sandona { display: none }
.calendar-tab-buttons { display: flex; gap: 12px; margin-bottom: 20px; margin-top: 20px; flex-wrap: wrap }
.tab-button { padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(36,48,58,0.2); background: #fff; color: var(--text); font-weight: 600; cursor: pointer; transition: all 0.2s ease; user-select: none }
.tab-button:hover { border-color: rgba(122,46,85,0.35); background: rgba(166,77,123,0.08) }
#cal-consu:checked ~ .calendar-tab-buttons label[for="cal-consu"],
#cal-silea:checked ~ .calendar-tab-buttons label[for="cal-silea"],
#cal-sandona:checked ~ .calendar-tab-buttons label[for="cal-sandona"] { background: linear-gradient(90deg, rgba(246,165,192,0.35), rgba(166,77,123,0.2)); border-color: rgba(166,77,123,0.6); color: #7A2E55; box-shadow: 0 10px 24px rgba(166,77,123,0.18) }

.calendar-duration-note {
  margin: -4px 0 12px;
  min-height: 28px;
}

.duration-note {
  display: none;
  align-items: center;
  gap: 5px;
  color: #999;
  font-size: 0.92rem;
  font-weight: 500;
}

.duration-note::before {
  content: '⏱';
  font-size: 0.9em;
  line-height: 1;
  flex-shrink: 0;
}

#cal-consu:checked ~ .calendar-duration-note .duration-consu,
#cal-silea:checked ~ .calendar-duration-note .duration-silea,
#cal-sandona:checked ~ .calendar-duration-note .duration-sandona {
  display: inline-flex;
}

.calendar-panel { display: none }
#cal-consu:checked ~ #cal-consu-panel,
#cal-silea:checked ~ #cal-silea-panel,
#cal-sandona:checked ~ #cal-sandona-panel { display: block }

.info-card h2 {
  margin-top: 0;
}

.info-checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.info-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #40656B;
}

.checklist-checkbox {
  display: none;
}

.faux-check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid rgba(43,138,126,0.5);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: white;
}

.faux-check:hover {
  border-color: rgba(43,138,126,0.8);
  transform: scale(1.1);
}

.checklist-checkbox:checked + .faux-check {
  background: linear-gradient(135deg, #4CAF8C 0%, #3D9B78 100%);
  border-color: #3D9B78;
}

.checklist-checkbox:checked + .faux-check::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 14px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checklist-label {
  cursor: pointer;
  flex: 1;
  transition: color 0.2s ease;
}

.checklist-label:hover {
  color: #2B8A7E;
}

.checklist-checkbox:checked ~ .checklist-label {
  color: #2B8A7E;
  font-weight: 500;
}

.checklist-complete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}

.checklist-complete.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.complete-emoji {
  font-size: 28px;
  animation: bounce 1s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.complete-text {
  color: #166534;
  font-weight: 600;
  font-size: 1.05rem;
}

.price-card {
  background: linear-gradient(145deg, rgba(166,77,123,0.08), rgba(246,165,192,0.08));
  text-align: center;
  border: 1px solid rgba(166,77,123,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.price-label {
  margin: 0 0 8px;
  font-weight: 600;
  color: #6C4F5C;
  font-size: 1.1rem;
}

.price-values {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
}

.price-old {
  text-decoration: line-through;
  color: #8F7B86;
  font-size: 1.25rem;
}

.price-new {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
}

.price-note {
  margin: 10px 0 0;
  color: #6C6B73;
  font-size: 1.05rem;
}

.payment-section {
  padding-top: 10px;
}

.payment-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(36,48,58,0.06);
  border: 1px solid rgba(36,48,58,0.06);
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

.payment-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.payment-card p {
  color: #40656B;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.payment-option {
  border-radius: 14px;
  border: 1px solid rgba(36,48,58,0.08);
  background: linear-gradient(180deg, rgba(246,165,192,0.06), rgba(255,255,255,0.85));
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.payment-options h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.payment-option p {
  margin: 0;
  color: #40656B;
}

.payment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(43,138,126,0.3);
  color: #1F5F58;
  text-decoration: none;
  font-weight: 600;
  background: rgba(43,138,126,0.08);
}

.payment-link:hover {
  border-color: rgba(43,138,126,0.55);
}

.disclaimer-section {
  padding-top: 10px;
}

.disclaimer-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(36,48,58,0.06);
  border: 1px solid rgba(36,48,58,0.06);
}

.disclaimer-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.disclaimer-subtitle {
  margin: 0 0 14px;
  font-weight: 600;
  color: #6C4F5C;
}

.disclaimer-card p {
  color: #40656B;
}

.disclaimer-card ul {
  margin: 10px 0 16px;
  padding-left: 18px;
  color: #40656B;
}

/* Availability/time slot buttons: teal accent */
#availabilityCalendar .day button { margin-top:8px; background: var(--teal); color:#fff; padding:8px 12px; border-radius:20px; border:none; cursor:pointer; font-weight:700; box-shadow:0 10px 24px rgba(43,138,126,0.16) }
#timeSlots button.available { background: var(--teal); color:#fff; border:none; box-shadow:0 10px 30px rgba(47,165,138,0.12); padding:8px 12px; border-radius:20px }

/* Availability calendar styles */
#availabilityCalendar { display:grid; grid-template-columns: repeat(7, 1fr); gap:8px; margin-top:12px; background: rgba(255,255,255,0.7); border-radius:16px; padding:12px; border:1px solid rgba(36,48,58,0.06) }
#availabilityCalendar .day { background:transparent; padding:10px; border-radius:10px; text-align:center; color:rgba(36,48,58,0.7) }
#availabilityCalendar .day header { font-weight:600; font-size:0.9rem }
#availabilityCalendar .day button { width:100% }
#timeSlots { margin-top:12px; display:flex; gap:8px; flex-wrap:wrap }
#timeSlots button { background:#fff; border:1px solid rgba(36,48,58,0.08); padding:8px 10px; border-radius:8px; cursor:pointer }

.muted { color: #7B596B }
.small { font-size: 0.92rem }

/* Footer */
.site-footer {
  padding: 44px 0 36px;
  color: #6B7B7B;
  font-size: 0.9rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(240,243,249,0.9));
  border-top: 1px solid rgba(36,48,58,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo img { width: 44px; height: 44px; }
.footer-title { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.footer-tagline { margin: 10px 0 14px; color: #40656B; }
.footer-meta { margin: 0; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--text);
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: #40656B;
  text-decoration: none;
}

.footer-col a:hover { color: var(--contrast); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-links { grid-template-columns: 1fr; }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes subtlePulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(217, 70, 166, 0.3);
  }
  50% { 
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(217, 70, 166, 0.45);
  }
}

/* Media query per schermi piccoli */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr }
  .about-layout { grid-template-columns: 1fr }
  .about-media { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .cards { grid-template-columns: repeat(3, minmax(140px, 1fr)) }
  .parallax-band { background-attachment: scroll }
  .info-grid { grid-template-columns: 1fr }
  .booking-grid { grid-template-columns: 1fr }
  .availability-wrap { grid-template-columns: 1fr }
  .calendar-embed { max-height: none; overflow: hidden }
  .calendar-embed iframe { width: 100%; height: clamp(360px, calc(var(--cal-mobile-vh, 100vh) - 130px), 760px); transform: none; display: block }

  html.calendar-fullscreen-active {
    overflow: hidden;
    height: 100%;
    overscroll-behavior: none;
  }
  body.calendar-fullscreen-active {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--calendar-lock-top, 0px);
    width: 100%;
    height: 100%;
    overscroll-behavior: none;
  }
  .calendar-embed.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1200;
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    max-height: none;
    padding-top: calc(env(safe-area-inset-top, 0px) + 52px);
    overscroll-behavior: contain;
  }
  .calendar-embed.is-fullscreen iframe {
    height: calc(var(--cal-mobile-vh, 100vh) - env(safe-area-inset-top, 0px) - 52px) !important;
    min-height: 0 !important;
  }
  .calendar-embed.is-fullscreen .calendar-fullscreen-close {
    display: inline-flex;
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    right: 12px;
    z-index: 2;
  }
  .calendar-fullscreen-trigger {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    touch-action: manipulation;
  }
  .calendar-embed.is-fullscreen .calendar-fullscreen-trigger {
    display: none;
  }
}

@media (max-width: 600px) {
  section { padding: 44px 0; }
  .hero { padding: 56px 0; }
  .hero-grid { gap: 28px; }
  .hero-content { padding: 18px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { margin-bottom: 18px; }
  .specialties-marquee { margin-top: 12px; padding: 6px 0; }
  .specialty-chip { width: 120px; height: 120px; }
  .cards { gap: 14px; }
  .locations-list { gap: 14px; }
  .site-footer { padding: 36px 0 30px; }
  .services .cards { grid-template-columns: 1fr; }
  .media-frame-hide-mobile { display: none; }

  .calendar-embed { margin-bottom: 20px }
  .calendar-embed iframe { height: clamp(320px, calc(var(--cal-mobile-vh, 100vh) - 110px), 720px) }
  .menu-toggle { display: block }
  .nav { display: none }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .about-media { grid-template-columns: 1fr }
  .about-media .media-frame:nth-child(1) { height: 160px }

  /* Prenotazione - ottimizzazione mobile */
  .parallax-band h1 { font-size: 1.5rem; margin-bottom: 12px }
  .parallax-band p { font-size: 0.9rem; line-height: 1.5 }
  .parallax-inner { padding: 20px; }
  
  .pricing-grid { grid-template-columns: 1fr }
  .pricing-card { padding: 20px 18px }
  .pricing-card h3 { font-size: 1.1rem; margin-bottom: 6px }
  .pricing-duration { font-size: 0.85rem }
  .price-new { font-size: 2rem }
  .price-old { font-size: 1rem }
  .pricing-description { font-size: 0.85rem; margin-top: 8px }
  
  .section-title { font-size: 1.4rem; margin-bottom: 20px }
  .pro-selector { gap: 8px }
  .pro-button { padding: 10px 14px; font-size: 0.9rem }
  .pro-note { font-size: 0.8rem }
  
  /* Aside tabs for mobile */
  .aside-tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 12px;
  }
  
  .aside-tab-btn {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  #aside-info:checked ~ .aside-tab-buttons label[for="aside-info"],
  #aside-payment:checked ~ .aside-tab-buttons label[for="aside-payment"] {
    background: white;
    color: var(--mauve);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Hide panels by default on mobile */
  .booking-aside-grid {
    grid-template-columns: 1fr;
    position: relative;
  }
  
  .aside-panel {
    display: none;
    grid-column: 1;
    animation: fadeIn 0.3s ease;
  }
  
  #aside-info:checked ~ .booking-aside-grid .info-card {
    display: block;
  }
  
  #aside-payment:checked ~ .booking-aside-grid .payment-card {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .info-title { font-size: 0.95rem; margin-bottom: 10px }
  .info-checklist { gap: 8px }
  .info-checklist li { font-size: 0.9rem; gap: 8px }
  
  .disclaimer-card h2 { font-size: 1.25rem; margin-bottom: 12px }
  .disclaimer-subtitle { font-size: 0.95rem; margin-bottom: 10px }
  .disclaimer-card p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 10px }
  .disclaimer-card ul { font-size: 0.9rem; margin: 8px 0 10px; padding-left: 16px }
  .disclaimer-card li { margin-bottom: 4px }
  
  .payment-card h2 { font-size: 1.15rem }
  .payment-card p { font-size: 0.9rem; margin-bottom: 10px }
  .payment-card { 
    display: block; 
    width: 100%; 
    padding: 16px;
    box-sizing: border-box;
  }
  
  .payment-grid { grid-template-columns: 1fr; gap: 12px }
  .payment-option { padding: 16px }
  .payment-option-header { flex-wrap: wrap }
  .payment-option-header h3 { font-size: 0.95rem }
  .payment-price { font-size: 1.4rem }
  .payment-btn { font-size: 0.95rem; padding: 12px 18px; margin-top: auto }
}

@media (max-width: 520px) {
  .field-row { flex-direction:column }
  .nav a { margin-left: 12px }
}

/* ===== STRIPE PAYMENT BUTTONS ===== */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.payment-option {
  background: linear-gradient(145deg, #ffffff 0%, #f9f9f9 100%);
  border-radius: 16px;
  padding: 20px;
  border: 2px solid #e8e8e8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.payment-option:hover {
  border-color: #d0d0d0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.payment-option-featured {
  border-color: var(--mauve);
  background: linear-gradient(145deg, #fef5fa 0%, #fcf0f7 100%);
  position: relative;
}

.payment-option-featured::before {
  content: '★';
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--mauve);
  font-size: 20px;
}

.payment-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.payment-option-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  font-family: var(--font-heading);
}

.payment-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--mauve);
  font-family: var(--font-heading);
}

.payment-price-custom {
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  font-style: italic;
}

.payment-btn {
  width: 100%;
  padding: 14px 20px;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-btn svg {
  transition: transform 0.3s ease;
}

.payment-btn:hover svg {
  transform: translateX(4px);
}

.payment-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

.payment-btn:active {
  transform: translateY(0);
}

.payment-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Varianti colore per ciascun pulsante */
.payment-online {
  background: linear-gradient(135deg, #5B8DEE 0%, #4A7DD9 100%);
  box-shadow: 0 4px 12px rgba(91, 141, 238, 0.25), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.payment-online:hover {
  background: linear-gradient(135deg, #6B9DF5 0%, #5A8DE6 100%);
  box-shadow: 0 6px 20px rgba(91, 141, 238, 0.35), 0 4px 8px rgba(0, 0, 0, 0.12);
}

.payment-online:active {
  box-shadow: 0 2px 8px rgba(91, 141, 238, 0.25), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.payment-visita {
  background: linear-gradient(135deg, var(--mauve) 0%, #9d3d6f 100%);
  box-shadow: 0 4px 12px rgba(166, 77, 123, 0.25), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.payment-visita:hover {
  background: linear-gradient(135deg, #b85d8a 0%, #a94a7d 100%);
  box-shadow: 0 6px 20px rgba(166, 77, 123, 0.35), 0 4px 8px rgba(0, 0, 0, 0.12);
}

.payment-visita:active {
  box-shadow: 0 2px 8px rgba(166, 77, 123, 0.25), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.payment-controllo {
  background: linear-gradient(135deg, #4CAF8C 0%, #3D9B78 100%);
  box-shadow: 0 4px 12px rgba(76, 175, 140, 0.25), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.payment-controllo:hover {
  background: linear-gradient(135deg, #5CC09D 0%, #4DAB89 100%);
  box-shadow: 0 6px 20px rgba(76, 175, 140, 0.35), 0 4px 8px rgba(0, 0, 0, 0.12);
}

.payment-controllo:active {
  box-shadow: 0 2px 8px rgba(76, 175, 140, 0.25), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.payment-custom {
  background: linear-gradient(135deg, #F59E42 0%, #E68A32 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 66, 0.25), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.payment-custom:hover {
  background: linear-gradient(135deg, #F7AD5C 0%, #F39C45 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 66, 0.35), 0 4px 8px rgba(0, 0, 0, 0.12);
}

.payment-custom:active {
  box-shadow: 0 2px 8px rgba(245, 158, 66, 0.25), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Disabilita dark mode */
html, body {
  color-scheme: light !important;
}

/* Dark mode DISABILITATA - media queries commentate
@media (prefers-color-scheme: dark) {
  /* Hamburger menu bianco in dark mode
  .menu-toggle span {
    background: #ffffff;
  }
  
  /* Riduce l'opacità dei layer sopra le foto
  .parallax-band {
    background: linear-gradient(135deg, rgba(36,48,58,0.15), rgba(36,48,58,0.25)), var(--bg);
  }
  
  .parallax-band.parallax-soft {
    background: linear-gradient(135deg, rgba(166,77,123,0.15), rgba(36,48,58,0.2)), var(--bg);
  }
}
*/

/* Dark mode per mobile devices DISABILITATA
@media (prefers-color-scheme: dark) and (max-width: 768px) {
  :root {
    --text: #E0E0E0;
    --card: #1e1e1e;
    --muted: #2a2a2a;
  }
  
  html, body {
    background: #121212;
    color: #E0E0E0;
  }
  
  .site-header {
    background: #1a1a1a;
    border-bottom-color: rgba(224, 224, 224, 0.1);
  }
  
  .brand-text {
    color: #E0E0E0;
  }
  
  .nav a {
    color: #E0E0E0;
  }
  
  #nav-check:checked ~ .nav {
    background: rgba(30, 30, 30, 0.95);
  }
  
  #nav-check:checked ~ .nav a {
    color: #E0E0E0;
  }
  
  .hero {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.2) 0%, rgba(18, 18, 18, 0.4) 100%), url("Foto/Sfondi/130.webp");
  }
  
  .hero-content p {
    color: #B0B0B0;
  }
  
  .card {
    background: #1e1e1e;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  }
  
  .body-card,
  .professional-card,
  .specialty-chip,
  .loc-card,
  .contact-card,
  .tab-content,
  .pricing-card {
    background: #1e1e1e;
  }
  
  .professional-card,
  .loc-card,
  .contact-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  section h2 {
    color: #E0E0E0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #E0E0E0;
  }
  
  .hero-content p,
  .professional-card p,
  .description-text {
    color: #B0B0B0;
  }
  
  .pricing-description,
  .professional-item p {
    color: #A0A0A0;
  }
  
  .booking-pricing,
  .cta-section,
  section {
    background: #121212;
  }
  
  .booking-form .field-row input,
  .booking-form .field-row select,
  .booking-form .field-row textarea {
    background: #2a2a2a;
    border-color: rgba(224, 224, 224, 0.1);
    color: #E0E0E0;
  }
  
  .booking-form .field-row input::placeholder,
  .booking-form .field-row select::placeholder,
  .booking-form .field-row textarea::placeholder {
    color: #7a7a7a;
  }
  
  .specialty-chip {
    background: #2a2a2a;
    color: #E0E0E0;
    border-color: rgba(224, 224, 224, 0.2);
  }
  
  .specialty-chip:hover {
    background: #3a3a3a;
  }
  
  .tab-button {
    background: #1e1e1e;
    border-color: rgba(224, 224, 224, 0.2);
    color: #E0E0E0;
  }
  
  .tab-button:hover {
    background: rgba(166, 77, 123, 0.2);
    border-color: rgba(166, 77, 123, 0.4);
  }
  
  .accordion-item {
    background: #1e1e1e;
  }
  
  .accordion-header {
    background: #1e1e1e;
  }
  
  .accordion-title h3 {
    color: #E0E0E0;
  }
  
  .accordion-title p {
    color: #B0B0B0;
  }
  
  a {
    color: #F6A5C0;
  }
  
  a:hover {
    color: #FF85A2;
  }
  
  .section-link {
    color: #F6A5C0;
  }
  
  .section-link:hover {
    color: #FF85A2;
  }
  
  .actions button {
    background: linear-gradient(90deg, var(--teal), #40B5A0);
  }
  
  .pricing-featured {
    background: linear-gradient(135deg, rgba(166, 77, 123, 0.25), rgba(50, 50, 50, 0.5));
  }
  
  .pricing-featured:hover {
    background: linear-gradient(135deg, rgba(166, 77, 123, 0.35), rgba(60, 60, 60, 0.6));
  }
}
*/