/* ============================================================
   VIVI IN BELLEZZA — style.css
   Framework: Bootstrap 5.3
   Font: Montserrat (Google Fonts)
   Icons: Font Awesome 6
   Palette: #f8f7f0 | #ba9f76 | #ffffff
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --cream:       #f8f7f0;
  --gold:        #ba9f76;
  --gold-light:  #d4bc96;
  --gold-dark:   #9a8260;
  --gold-pale:   #f0e8d8;
  --white:       #ffffff;
  --dark:        #1a1710;
  --dark-mid:    #2a2218;
  --text-dark:   #2a2520;
  --text-mid:    #5a5048;
  --text-light:  #8a7d70;
  --font-main:   'Montserrat', sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 15px;
  background-color: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

::selection {
  background: var(--gold-light);
  color: var(--white);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
}

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-rule {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 0;
}

.section-intro {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 560px;
  margin-top: 20px;
  font-weight: 300;
}

/* ── BUTTONS ── */
.btn-gold {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  border-radius: 0;
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(186, 159, 118, 0.38);
}

.btn-ghost {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(186, 159, 118, 0.55);
  padding: 14px 40px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border-radius: 0;
}
.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--white);
  background: rgba(186, 159, 118, 0.12);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
#mainNav {
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
  background: transparent;
}

#mainNav.nav-scrolled {
  background: rgba(248, 247, 240, 0.97);
  padding: 12px 0;
  box-shadow: 0 1px 24px rgba(186, 159, 118, 0.14);
  backdrop-filter: blur(8px);
}

/* Logo swap */
#mainNav .logo-white { display: block; }
#mainNav .logo-gold  { display: none; }
#mainNav.nav-scrolled .logo-white { display: none; }
#mainNav.nav-scrolled .logo-gold  { display: block; }

.navbar-logo img {
  height: 50px;
  width: auto;
  transition: height 0.3s;
}
#mainNav.nav-scrolled .navbar-logo img { height: 40px; }

.navbar-nav .nav-link {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88) !important;
  padding: 4px 0 !important;
  margin: 0 16px;
  position: relative;
  transition: color 0.3s;
}
#mainNav.nav-scrolled .navbar-nav .nav-link {
  color: var(--text-dark) !important;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 100%; }
.navbar-nav .nav-link:hover { color: var(--gold) !important; }

.nav-cta-btn {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white) !important;
  padding: 10px 26px !important;
  transition: background 0.3s, transform 0.2s;
  border-radius: 0;
}
.nav-cta-btn:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger color */
.navbar-toggler {
  border: 1px solid rgba(186, 159, 118, 0.5);
  padding: 6px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNav.nav-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2842%2C37%2C32%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNav.nav-scrolled .navbar-toggler { border-color: rgba(186, 159, 118, 0.4); }

/* Mobile menu */
@media (max-width: 991.98px) {
  #mainNav.nav-scrolled { background: rgba(248, 247, 240, 0.99); }
  #mainNav .navbar-collapse {
    background: var(--cream);
    padding: 20px 24px 28px;
    margin-top: 10px;
  }
  .navbar-nav .nav-link { color: var(--text-dark) !important; margin: 6px 0; }
  .navbar-nav .nav-link::after { background: var(--gold); }
  .nav-cta-btn { margin-top: 12px; display: inline-block; }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background-image: url('img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 5, 0.55) 0%,
    rgba(15, 12, 7, 0.38) 50%,
    rgba(10, 8, 5, 0.72) 100%
  );
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 55%, rgba(186, 159, 118, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-logo {
  max-width: 420px;
  width: 78%;
  margin-bottom: 40px;
  animation: fadeUp 0.9s ease both;
}

.hero-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(186, 159, 118, 0.6));
  margin: 0 auto 28px;
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  animation: fadeUp 0.9s 0.25s ease both;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 20px;
  animation: fadeUp 0.9s 0.35s ease both;
}
.hero-divider span {
  display: block;
  width: 38px;
  height: 1px;
  background: rgba(186, 159, 118, 0.5);
}
.hero-divider i {
  color: var(--gold-light);
  font-size: 0.7rem;
}

.hero-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 50px;
  animation: fadeUp 0.9s 0.4s ease both;
}

.hero-btns {
  animation: fadeUp 0.9s 0.5s ease both;
}
.hero-btns .btn-gold,
.hero-btns .btn-ghost { margin: 6px 8px; }

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  animation: fadeUp 1s 1s ease both;
}
.scroll-hint span {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 8px;
}
.scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(186, 159, 118, 0.55), transparent);
  margin: 0 auto;
  animation: scrollPulse 2.2s infinite;
}

/* ── SECTION PADDING ── */
.section-pad { padding: 100px 0; }

/* ── SERVIZI ── */
#servizi { background: var(--cream); }

.servizio-card {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
  height: 100%;
}
.servizio-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.servizio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(186, 159, 118, 0.13);
}
.servizio-card:hover::after { transform: scaleX(1); }

.serv-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(186, 159, 118, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  transition: background 0.3s, border-color 0.3s;
}
.servizio-card:hover .serv-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.serv-icon i { font-size: 1.15rem; }

.servizio-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.servizio-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.78;
  font-weight: 300;
}

/* ── PREZZI ── */
#prezzi {
  background: var(--gold);
}
#prezzi .section-label { color: rgba(255, 255, 255, 0.55); }
#prezzi .section-title { color: var(--white); }
#prezzi .section-rule { background: rgba(255, 255, 255, 0.35); }
#prezzi .section-intro { color: rgba(255, 255, 255, 0.72); max-width: none; }

.prezzi-tabs-wrap { margin-top: 36px; }

.prezzi-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  border: none;
}
.prezzi-nav .nav-item { margin: 0; }
.prezzi-nav .nav-link {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 11px 22px;
  transition: background 0.3s, color 0.3s;
  margin: 0 !important;
}
.prezzi-nav .nav-link.active,
.prezzi-nav .nav-link:hover {
  background: var(--white) !important;
  color: var(--gold-dark) !important;
}

.prezzi-tab-content { background: var(--white); }

.prezzi-cat-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 20px 28px 8px;
}

.prezzi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 28px;
  border-top: 1px solid rgba(186, 159, 118, 0.09);
  transition: background 0.2s;
}
.prezzi-row:hover { background: rgba(186, 159, 118, 0.04); }
.prezzi-row span { font-size: 0.87rem; color: var(--text-mid); font-weight: 300; flex: 1; }
.prezzi-row .price {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
  margin-left: 20px;
}

/* ── CHI SIAMO ── */
#chi-siamo { background: var(--cream); }

.chisiamo-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #e8e3d8 0%, #d4c9b5 50%, #c4b59e 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chisiamo-monogram {
  font-size: 9rem;
  font-weight: 700;
  color: rgba(186, 159, 118, 0.22);
  letter-spacing: -0.04em;
  user-select: none;
  line-height: 1;
}
.chisiamo-badge {
  position: absolute;
  top: 24px;
  left: -14px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
}
.chisiamo-border {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--gold);
  pointer-events: none;
  z-index: 1;
}

.chisiamo-quote {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  line-height: 1.55;
  margin: 24px 0 22px;
}

.chisiamo-body {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 18px;
}

.badge-pill {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid rgba(186, 159, 118, 0.38);
  color: var(--gold-dark);
  background: transparent;
  display: inline-block;
  margin: 4px 4px 4px 0;
  border-radius: 0;
}

.chisiamo-firma {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(186, 159, 118, 0.22);
}
.firma-bar { width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.firma-name { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); letter-spacing: 0.05em; }
.firma-role { font-size: 0.72rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── STRIP CTA ── */
#strip-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, var(--dark) 100%);
  padding: 72px 0;
}
#strip-cta p {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 0 auto 26px;
  line-height: 1.55;
}
#strip-cta .strip-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(186, 159, 118, 0.4);
  padding-bottom: 3px;
  transition: all 0.3s;
}
#strip-cta .strip-link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ── CONTATTI ── */
#contatti {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-mid) 60%, var(--dark) 100%);
}
#contatti .section-label { color: rgba(186, 159, 118, 0.65); }
#contatti .section-title { color: var(--white); }
#contatti .section-rule { background: rgba(186, 159, 118, 0.35); }

.contatto-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(186, 159, 118, 0.1);
}
.contatto-item:last-of-type { border-bottom: none; }

.contatto-icon-wrap {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(186, 159, 118, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.95rem;
  transition: background 0.3s, border-color 0.3s;
}
.contatto-item:hover .contatto-icon-wrap {
  background: rgba(186, 159, 118, 0.12);
  border-color: var(--gold);
}

.contatto-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(186, 159, 118, 0.55);
  margin-bottom: 4px;
}
.contatto-value {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
}
.contatto-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.contatto-value a:hover { color: var(--gold); }

.orario-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(186, 159, 118, 0.07);
  font-size: 0.87rem;
}
.orario-row .g { color: rgba(255, 255, 255, 0.42); font-style: italic; }
.orario-row .o { color: rgba(255, 255, 255, 0.8); font-weight: 500; }

.piva-note {
  font-size: 0.72rem;
  color: rgba(186, 159, 118, 0.38);
  margin-top: 8px;
  letter-spacing: 0.06em;
}

.mappa-wrap {
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}
.mappa-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(0.85) brightness(0.72);
  transition: filter 0.4s;
}
.mappa-wrap:hover iframe {
  filter: grayscale(0.2) contrast(0.9) brightness(0.88);
}

/* ── FOOTER ── */
footer {
  background: #0d0c09;
  padding: 44px 0;
}
.footer-logo img {
  height: 32px;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.footer-logo:hover img { opacity: 1; }

.footer-copy {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.07em;
  text-align: center;
}

.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(186, 159, 118, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.82rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  margin-left: 8px;
}
.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(186, 159, 118, 0.08);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.22; }
}

/* ── RESPONSIVE TWEAKS ── */
@media (max-width: 767.98px) {
  .section-pad { padding: 72px 0; }
  .hero-logo { max-width: 280px; }
  .chisiamo-frame { aspect-ratio: 16/9; }
  .mappa-wrap, .mappa-wrap iframe { min-height: 260px; }
  #hero { background-attachment: scroll; }
}

@media (max-width: 575.98px) {
  .prezzi-row { padding-left: 16px; padding-right: 16px; }
  .prezzi-cat-title { padding-left: 16px; }
  .hero-btns .btn-gold,
  .hero-btns .btn-ghost { width: 100%; max-width: 280px; text-align: center; }
}
