/* ============================================================
   L'Oasi del Benessere di Camilla Depaoli
   Centro Estetico · Oleggio (NO)
   Palette ispirata al logo: verde bosco, eucalipto, crema, oro
   ============================================================ */

:root {
  --forest: #2d3b36;      /* verde bosco scuro (sfondo logo) */
  --forest-deep: #232e2a;
  --sage: #8ba888;        /* verde eucalipto */
  --sage-soft: #a9c1a1;
  --cream: #f6f2e9;       /* crema / avorio */
  --cream-warm: #efe8d8;
  --gold: #c9a86a;        /* oro tenue */
  --gold-soft: #d9c199;
  --ink: #2b332f;
  --muted: #6c7a72;
  --white: #ffffff;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px -20px rgba(35, 46, 42, 0.35);
  --shadow-soft: 0 10px 30px -14px rgba(35, 46, 42, 0.25);
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografia condivisa ---------- */
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 20px;
}

.section-title em { font-style: italic; color: var(--sage); }

.section { padding: clamp(70px, 10vw, 130px) 0; }

.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-intro { color: var(--muted); font-size: 1.05rem; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--sage); color: var(--forest-deep); transform: translateY(-3px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 242, 233, 0.55);
}
.btn-ghost:hover { background: rgba(246, 242, 233, 0.14); transform: translateY(-3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(45, 59, 54, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 30px -12px rgba(0,0,0,0.4);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 52px; height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--forest-deep);
  transition: transform 0.4s var(--ease);
}
.site-header.scrolled .brand-logo { width: 44px; height: 44px; }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 400;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav a:not(.nav-cta):hover { color: var(--gold-soft); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--forest-deep) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--gold-soft); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background:
    radial-gradient(circle at 75% 30%, rgba(139, 168, 136, 0.25), transparent 55%),
    linear-gradient(150deg, var(--forest-deep) 0%, var(--forest) 55%, #33443e 100%);
  overflow: hidden;
}
/* motivo botanico soffuso */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 78%, rgba(201, 168, 106, 0.10), transparent 40%),
    radial-gradient(circle at 88% 88%, rgba(139, 168, 136, 0.14), transparent 45%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%238ba888' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M60 20 Q75 45 60 70 Q45 45 60 20Z'/%3E%3Cpath d='M20 90 Q45 80 55 95'/%3E%3Cpath d='M100 40 Q80 55 90 75'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: var(--gold-soft);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.1s forwards;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.06;
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.25s forwards;
}
.hero-title em { font-style: italic; color: var(--sage-soft); }
.hero-lead {
  font-size: 1.15rem;
  max-width: 560px;
  color: rgba(246, 242, 233, 0.88);
  margin-bottom: 38px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.4s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.55s forwards;
}

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(246, 242, 233, 0.5);
  border-radius: 100px;
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  background: var(--gold-soft);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s var(--ease) infinite;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 24px; } 100% { opacity: 0; } }

/* ============================================================
   CHI SIAMO
   ============================================================ */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-media { position: relative; }
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--sage) 0%, var(--forest) 100%);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.about-badge {
  position: absolute;
  right: -18px; bottom: 34px;
  background: var(--white);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-soft);
}
.about-badge-num { font-size: 1.9rem; color: var(--gold); }
.about-badge-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
}
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.about-text strong { color: var(--forest); font-weight: 500; }
.about-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.about-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 0.98rem;
}
.about-list li::before {
  content: "✿";
  position: absolute; left: 0; top: 0;
  color: var(--sage);
}

/* ============================================================
   SERVIZI
   ============================================================ */
.services { background: var(--forest); color: var(--cream); position: relative; }
.services .eyebrow { color: var(--gold-soft); }
.services .section-title { color: var(--cream); }
.services .section-intro { color: rgba(246, 242, 233, 0.8); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.service-card {
  background: rgba(246, 242, 233, 0.05);
  border: 1px solid rgba(246, 242, 233, 0.12);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  background: rgba(246, 242, 233, 0.09);
  border-color: rgba(201, 168, 106, 0.5);
}
.service-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(201, 168, 106, 0.16);
  color: var(--gold-soft);
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--cream);
}
.service-card p { color: rgba(246, 242, 233, 0.78); font-size: 0.98rem; }

.services-note {
  text-align: center;
  margin-top: 48px;
  color: rgba(246, 242, 233, 0.75);
}
.services-note a { color: var(--gold-soft); border-bottom: 1px solid currentColor; }

/* ============================================================
   GALLERIA
   ============================================================ */
.gallery { background: var(--cream-warm); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage-soft), var(--forest));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gallery-item:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(35,46,42,0.35), transparent 55%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

/* placeholder foto (visibile solo finché non aggiungi le immagini) */
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(246, 242, 233, 0.92);
  background: rgba(35, 46, 42, 0.25);
}
.photo-placeholder strong { display: inline; }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: stretch;
}
.contact-intro { color: var(--muted); margin-bottom: 34px; font-size: 1.05rem; }
.contact-list { list-style: none; display: grid; gap: 24px; margin-bottom: 34px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest);
  color: var(--cream);
  border-radius: 50%;
  font-size: 1.1rem;
}
.contact-list strong { color: var(--forest); font-weight: 500; }
.contact-list a { color: var(--sage); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-list a:hover { border-color: var(--sage); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest-deep);
  color: rgba(246, 242, 233, 0.75);
  padding: 60px 0 34px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 14px; justify-self: start; text-align: left; }
.footer-logo { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; background: var(--forest); }
.footer-brand p { font-family: var(--font-serif); font-size: 1.2rem; color: var(--cream); line-height: 1.2; }
.footer-brand span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.footer-nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-copy { justify-self: end; text-align: right; font-size: 0.82rem; }
.footer-small { color: rgba(246, 242, 233, 0.45); }

/* ============================================================
   FLOATING CTA (mobile)
   ============================================================ */
.floating-cta {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  background: var(--gold);
  color: var(--forest-deep);
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.4);
  display: none;
  transition: transform 0.3s var(--ease);
}
.floating-cta:hover { transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: rgba(35, 46, 42, 0.98);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.5);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 101; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 340px; }

  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand { justify-self: center; text-align: center; flex-direction: column; }
  .footer-copy { justify-self: center; text-align: center; }

  .floating-cta { display: inline-flex; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: 0.6rem; }
  .about-list { grid-template-columns: 1fr; }
  .about-badge { right: 12px; bottom: 12px; padding: 14px 18px; }
  .service-card { padding: 32px 26px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
