/* ============================================
   SETA — Centro Benessere Armonia
   Template A: Light · Luxe · Elegant Serif
   ============================================ */

:root {
  --bg-primary: #FFFBF9;
  --bg-secondary: #F5E6E0;
  --bg-tertiary: #EEDDD6;
  --bg-panel: #FFFFFF;
  --accent-rose: #B8806C;
  --accent-rose-light: #C99585;
  --accent-rose-pale: rgba(184, 128, 108, 0.08);
  --accent-blush: #F5E6E0;
  --text-primary: #3D2B24;
  --text-secondary: #6B524A;
  --text-muted: #9A847C;
  --border: #E8D5CD;
  --border-light: #F0E2DB;

  --shadow-sm: 0 1px 3px rgba(61, 43, 36, 0.06);
  --shadow-md: 0 4px 20px rgba(61, 43, 36, 0.08);
  --shadow-lg: 0 8px 40px rgba(61, 43, 36, 0.1);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 250ms var(--ease-out-expo);
  --transition-normal: 400ms var(--ease-out-expo);

  --accent-primary: var(--accent-rose);
}

body {
  font-family: 'Raleway', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
}

em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--accent-rose);
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent-rose);
  color: #fff;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  font-size: 0.88rem;
}

.skip-link:focus {
  top: 0;
}

/* ---- Navigation ---- */
.nav {
  background: rgba(255, 251, 249, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
}

.nav__links a:hover {
  color: var(--accent-rose);
}

.nav__links a::after {
  background: var(--accent-rose);
}

.nav__hamburger span {
  background: var(--text-primary);
}

@media (max-width: 767px) {
  .nav__links {
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero__silk {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(184, 128, 108, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 80%, rgba(245, 230, 224, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

.hero__silk::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 8%;
  width: 280px;
  height: 280px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  opacity: 0.5;
}

.hero__silk::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 15%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(184, 128, 108, 0.15);
  border-radius: 50%;
  opacity: 0.4;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__label {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-rose);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 3rem;
}

.hero__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--accent-rose);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 520px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  border-radius: 100px;
  transition: all var(--transition-normal);
}

.btn--primary {
  background: var(--accent-rose);
  color: #fff;
  box-shadow: 0 2px 16px rgba(184, 128, 108, 0.3);
}

.btn--primary:hover {
  background: var(--accent-rose-light);
  box-shadow: 0 4px 24px rgba(184, 128, 108, 0.4);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--border);
  color: var(--text-primary);
  border-radius: 100px;
}

.btn--outline:hover {
  border-color: var(--accent-rose);
  color: var(--accent-rose);
  background: var(--accent-rose-pale);
}

/* ============================================
   TRATTAMENTI
   ============================================ */
.trattamenti {
  background: var(--bg-secondary);
}

.section-header__label {
  color: var(--accent-rose);
  font-family: 'Raleway', sans-serif;
}

.section-header__title {
  color: var(--text-primary);
}

.section-header__subtitle {
  color: var(--text-secondary);
}

.trattamenti__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trattamenti__card {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-normal);
  text-align: center;
}

.trattamenti__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 128, 108, 0.25);
}

.trattamenti__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent-rose);
  border: 1px solid rgba(184, 128, 108, 0.15);
}

.trattamenti__card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.trattamenti__card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

@media (min-width: 768px) and (max-width: 1023px) {
  .trattamenti__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   LISTINO PREZZI
   ============================================ */
.listino {
  background: var(--bg-primary);
}

.listino__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.listino__card {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.listino__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 128, 108, 0.3);
}

.listino__duration {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  background: var(--accent-blush);
  color: var(--accent-rose);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(184, 128, 108, 0.12);
}

.listino__card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.listino__card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.listino__price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-rose);
  line-height: 1;
}

@media (max-width: 767px) {
  .listino__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

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

@media (min-width: 768px) and (max-width: 1023px) {
  .listino__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   CHI SIAMO
   ============================================ */
.chi-siamo {
  background: var(--bg-secondary);
}

.chi-siamo__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.chi-siamo__text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.chi-siamo__text .btn {
  margin-top: 1rem;
}

.chi-siamo__values {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.chi-siamo__value {
  text-align: center;
  padding: 2rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: all var(--transition-normal);
}

.chi-siamo__value:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.chi-siamo__value-num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-rose);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.chi-siamo__value span:last-child {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 767px) {
  .chi-siamo__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .chi-siamo__values {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .chi-siamo__value {
    flex: 1;
    min-width: 140px;
  }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  background: var(--bg-primary);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-blush) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.gallery__placeholder:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.gallery__placeholder span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.gallery__placeholder small {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 767px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }
}

/* ============================================
   PRENOTA (CTA)
   ============================================ */
.prenota {
  background: var(--bg-secondary);
  position: relative;
  padding: 6rem 0;
}

.prenota__ornament {
  width: 60px;
  height: 1px;
  background: var(--accent-rose);
  margin: 0 auto 2rem;
  position: relative;
}

.prenota__ornament::before,
.prenota__ornament::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-rose);
}

.prenota__ornament::before { left: -3px; }
.prenota__ornament::after { right: -3px; }

.prenota__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.prenota__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.prenota__phone {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.prenota__phone a {
  color: var(--accent-rose);
  font-weight: 600;
  transition: opacity 0.3s;
}

.prenota__phone a:hover {
  opacity: 0.7;
}

/* ============================================
   CONTATTI
   ============================================ */
.contatti {
  background: var(--bg-primary);
}

.info-grid__icon {
  fill: var(--accent-rose);
}

.info-grid__text a {
  color: var(--accent-rose);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer__text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  background: var(--accent-rose);
  box-shadow: 0 2px 12px rgba(184, 128, 108, 0.3);
  border-radius: 50%;
}

.back-to-top:hover {
  background: var(--accent-rose-light);
  box-shadow: 0 4px 20px rgba(184, 128, 108, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 4rem 0;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ============================================
   COMPLIANCE BASELINE v1.2
   Footer multi-colonna + Cookie banner Garante 2021
   Aggiunto automaticamente da tools/inject-compliance.sh
   ============================================ */
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer__col p {
  margin-bottom: 0.4rem;
}

.footer__col a {
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.footer__col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__legal {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.6;
}

@media (max-width: 767px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 20, 20, 0.96);
  color: #f5f5f5;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 2px solid currentColor;
  padding: 1.25rem 1rem;
  z-index: 10000;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cookie-banner__text {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner__text a {
  color: inherit;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}
