/* =========================================================
   Sito Dott.ssa Shirin Ghannadian — Terapia del Dolore
   Palette calda ed elegante:
   - Verde giada  -> medicina tradizionale cinese
   - Oro / terracotta -> eleganza persiana
   ========================================================= */

:root {
  --bg:        #FAF6EF;   /* avorio caldo */
  --bg-alt:    #F1E8DA;   /* sabbia */
  --bg-deep:   #14332B;   /* verde giada profondo (footer/hero) */
  --ink:       #2E2A26;   /* testo (grigio caldo) */
  --muted:     #6E645A;   /* testo secondario */
  --jade:      #256D5B;   /* verde giada — colore primario */
  --jade-dark: #17493C;
  --terracotta:#B65C3F;   /* accento persiano */
  --gold:      #C29A4A;   /* oro persiano */
  --gold-soft: #E7D6A8;
  --line:      rgba(46,42,38,0.14);
  --shadow:    0 12px 40px rgba(20,51,43,0.10);

  --serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --sans:  'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1120px;
}

/* ---------- Reset di base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--jade); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terracotta); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: .5px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.eyebrow {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; font-size: .78rem; color: var(--terracotta); margin-bottom: 14px;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Divisore ornamentale (cinese/persiano) ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 22px 0; }
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 26px; height: 26px; color: var(--gold); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0 12px; }
.nav__brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: .3px; }
.nav__brand-mark { width: 40px; height: 40px; flex: none; }
.nav__brand span { color: var(--jade); }
.nav__links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; align-items: center; justify-content: center; }
.nav__links a { font-size: .96rem; color: var(--ink); font-weight: 600; }
.nav__links a:hover { color: var(--jade); }
.nav__cta {
  background: var(--jade); color: #fff !important; padding: 10px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 700;
}
.nav__cta:hover { background: var(--jade-dark); color: #fff !important; }
.nav__lang {
  font-size: .82rem; font-weight: 700; letter-spacing: .5px;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
  color: var(--muted) !important;
}
.nav__lang:hover { border-color: var(--jade); color: var(--jade) !important; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(194,154,74,0.18), transparent 60%),
    linear-gradient(160deg, var(--bg-deep), #1c4638 70%);
  color: #F4EEE3;
  padding: 96px 0 104px;
}
.hero h1 { color: #FCF8EF; }
.hero .eyebrow { color: var(--gold-soft); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__title-sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--gold-soft); margin-bottom: 18px; font-weight: 500;
}
.hero p { color: #DDD3C4; font-size: 1.12rem; max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__figure {
  aspect-ratio: 3/2; border-radius: 12px;
  background: linear-gradient(145deg, #2c6353, #1a4034);
  border: 1px solid rgba(231,214,168,0.35);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--gold-soft); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__emblem { width: 82%; height: auto; }
.hero__figure span { font-family: var(--serif); font-style: italic; opacity: .8; padding: 24px; }

/* motivo decorativo d'angolo (arabesco persiano stilizzato) */
.hero__figure::before, .hero__figure::after {
  content: ""; position: absolute; width: 46px; height: 46px;
  border: 2px solid var(--gold); opacity: .55;
}
.hero__figure::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.hero__figure::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .2s ease;
}
.btn--primary { background: var(--gold); color: #23180a !important; }
.btn--primary:hover { background: #d3ac5c; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #F4EEE3 !important; border-color: rgba(244,238,227,0.5); }
.btn--ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft) !important; }
.btn--jade { background: var(--jade); color: #fff !important; }
.btn--jade:hover { background: var(--jade-dark); }

/* ---------- Griglia prestazioni ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 28px; box-shadow: 0 4px 18px rgba(20,51,43,0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section--alt .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(194,154,74,0.4); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(37,109,91,0.10); color: var(--jade); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Biografia: elenco titoli ---------- */
.cred-list { list-style: none; padding: 0; margin: 6px 0 0; }
.cred-list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--muted); }
.cred-list li:last-child { border-bottom: 0; }
.cred-list li::before { content: ""; position: absolute; left: 3px; top: 19px; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.cred-list strong { color: var(--jade-dark); display: block; font-family: var(--sans); }
.bio-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-alt); border-radius: 12px; padding: 18px 22px; margin-top: 28px;
}
.bio-note svg { flex: 0 0 auto; width: 26px; height: 26px; color: var(--terracotta); margin-top: 3px; }
.bio-note p { margin: 0; font-size: .98rem; color: var(--muted); }

/* ---------- Agopuntura: aree + evidenze ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.pill-list li {
  background: rgba(37,109,91,0.08); color: var(--jade-dark);
  border: 1px solid rgba(37,109,91,0.18); border-radius: 999px;
  padding: 7px 16px; font-size: .95rem; font-weight: 600;
}
.evidence { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }
.evidence__item {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 20px;
}
.evidence__item strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--jade); }
.evidence__item span { color: var(--muted); font-size: .96rem; }

/* ---------- Articoli / Approfondimenti ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--jade); }
.article { max-width: 760px; margin: 0 auto; }
.article__meta { color: var(--muted); font-size: .92rem; margin: 0 0 24px; }
.article h2 { font-size: 1.7rem; margin-top: 1.5em; }
.article h3 { font-size: 1.25rem; margin-top: 1.2em; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 6px; }
.article__card-title { text-decoration: none; }
.article__card-title:hover { color: var(--terracotta); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 4px; position: relative;
  font-family: var(--serif); font-size: 1.28rem; color: var(--ink); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 700; color: var(--gold); font-size: 1.7rem; line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:hover { color: var(--jade); }
.faq__answer { padding: 0 44px 22px 4px; color: var(--muted); }
.faq__answer p { margin: 0; }

/* ---------- Sedi ---------- */
.place {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(20,51,43,0.05); display: flex; flex-direction: column;
}
.place__head { background: var(--jade); color: #fff; padding: 20px 26px; }
.place__head h3 { color: #fff; margin: 0; }
.place__body { padding: 24px 26px; color: var(--muted); }
.place__body p { margin: 0 0 .5em; }

/* ---------- Contatti ---------- */
.contact-box {
  background: linear-gradient(160deg, var(--bg-deep), #1c4638);
  color: #F4EEE3; border-radius: 18px; padding: 54px 40px; text-align: center;
  box-shadow: var(--shadow);
}
.contact-box h2 { color: #FCF8EF; }
.contact-box p { color: #DDD3C4; }
.contact-phone { font-family: var(--serif); font-size: clamp(1.6rem,4vw,2.4rem); color: var(--gold-soft); margin: 10px 0 24px; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--bg-alt); border: 1px dashed var(--line); border-radius: 12px;
  padding: 22px 26px; color: var(--muted); font-size: .95rem; margin-top: 8px;
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: #C9C0B2; padding: 56px 0 30px; font-size: .95rem; }
.footer a { color: var(--gold-soft); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.footer h4 { font-family: var(--serif); color: #F4EEE3; font-size: 1.2rem; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer__bottom { border-top: 1px solid rgba(244,238,227,0.15); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #9A9082; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 340px; margin: 0 auto; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .evidence { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  /* Navigazione mobile senza JavaScript: link sempre visibili, che vanno a capo */
  .nav__links { gap: 8px 16px; }
  .nav__links a { font-size: .92rem; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  body { font-size: 17px; }
}
