/* ── RESET & TOKENS ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage:       #7A9E7E;
  --sage-light: #B8D4BA;
  --sage-pale:  #EEF5EF;
  --terra:      #C17B4E;
  --terra-pale: #F5EDE5;
  --ink:        #1C1C1C;
  --ink-mid:    #4A4A4A;
  --ink-soft:   #7A7A7A;
  --cream:      #FAF8F5;
  --white:      #FFFFFF;
  --line:       rgba(28,28,28,0.10);
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --r-sm:  0.5rem; --r-md:  1rem; --r-lg:  2rem; --r-pill: 100px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── UTILS ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section-label { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.8rem; }
h1,h2,h3 { font-family: var(--serif); font-weight: 300; line-height: 1.18; }
h1 { font-size: clamp(2.6rem,5vw,4rem); margin-bottom: 1.4rem; }
h2 { font-size: clamp(1.9rem,3.2vw,2.7rem); margin-bottom: 1.2rem; }
em { font-style: italic; color: var(--sage); }
p { color: var(--ink-mid); margin-bottom: 1rem; }
.sub { color: var(--ink-soft); font-size: 1rem; max-width: 600px; margin-bottom: 2.5rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--sage); color: var(--white); font-family: var(--sans); font-size: 0.88rem; font-weight: 500; padding: 0.85rem 2rem; border-radius: var(--r-pill); border: none; cursor: pointer; transition: background 0.25s, transform 0.2s; box-shadow: 0 4px 20px rgba(122,158,126,0.3); }
.btn-primary:hover { background: #5e8862; transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 0.88rem; padding: 0.85rem 1.6rem; border-radius: var(--r-pill); border: 1.5px solid var(--line); cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.btn-ghost:hover { border-color: var(--sage); background: var(--sage-pale); color: var(--sage); }

/* ── NAV ─────────────────────────────────────────────────── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,248,245,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
#nav.scrolled { border-color: var(--line); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 1.1rem 2rem; display: flex; align-items: center; justify-content: space-between; position: relative; }
.nav-logo { font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--ink); display: flex; align-items: center; gap: 0.6rem; }
.nav-logo span { color: var(--sage); font-weight: 600; font-size: 2rem; }
@media (max-width: 480px) { .nav-logo span { font-size: 1.2rem; } .nav-logo__dottssa { font-size: 1rem !important; } }
.nav-logo__img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 0.8rem; list-style: none; }
.nav-links li a { font-size: 0.85rem; color: var(--ink-mid); transition: color 0.2s; }
.nav-links li a:hover { color: var(--sage); }
.nav-cta { background: var(--sage); color: var(--white) !important; padding: 0.55rem 1.4rem; border-radius: var(--r-pill); font-weight: 500 !important; transition: background 0.25s !important; }
.nav-cta:hover { background: #5e8862 !important; }

/* ── REVEAL ANIMATION ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BLOCK: HERO ─────────────────────────────────────────── */
.th-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  max-width: 1160px;
  margin: 0 auto;
}
.th-hero__content { display: flex; flex-direction: column; justify-content: center; padding: 8rem 3rem 4rem; }
.th-hero__eyebrow { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.th-hero__dot { width: 8px; height: 8px; background: var(--sage); border-radius: 50%; }
.th-hero__eyebrow-text { font-size: 1.125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.th-hero__subtitle { font-size: 1.125rem; color: var(--terra); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.th-hero__h1 { font-family: var(--serif); font-size: clamp(2.6rem,5vw,4rem); font-weight: 300; line-height: 1.18; margin-bottom: 1.4rem; }
.th-hero__h1 em { color: var(--sage); font-style: italic; }
.th-hero__desc { font-size: 1.05rem; color: var(--ink-mid); max-width: 420px; margin-bottom: 2.2rem; line-height: 1.7; }
.th-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.th-hero__badges { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.th-hero__badge { display: inline-flex; align-items: center; justify-content: flex-start; gap: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.45rem 1rem; font-size: 0.78rem; color: var(--ink-mid); box-shadow: 0 2px 8px rgba(0,0,0,0.04); min-width: 160px; }
.th-hero__badge-icon { color: var(--sage); display: flex; }
.th-hero__visual { position: relative; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 100px; margin-bottom: 100px; }
.th-hero__photo-wrap { position: relative; width: 360px; }
.th-hero__photo { width: 100%; height: 480px; object-fit: cover; object-position: top; border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0,0,0,0.15); }
.th-hero__dot--terra { background: var(--terra) !important; flex-shrink: 0; }

/* ── BLOCK: DIVIDER QUOTE ──────────────────────────────── */
.th-divider { padding: 2.5rem 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.th-divider p { font-family: var(--serif); font-size: clamp(1.1rem,2.5vw,1.5rem); font-style: italic; color: var(--ink-soft); margin: 0; }

/* ── BLOCK: CHI SONO ────────────────────────────────────── */
.th-chi-sono { padding: 7rem 0; background: var(--cream); }
.th-chi-sono__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.th-chi-sono__nota { color: var(--terra); font-size: 0.9rem; font-weight: 600; font-style: italic; border-left: 3px solid var(--terra); padding-left: 1rem; margin-bottom: 1.2rem; }
.th-chi-sono__credentials { list-style: none; margin-bottom: 2rem; }
.th-chi-sono__credentials li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--ink-mid); font-size: 0.9rem; margin-bottom: 0.6rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.th-chi-sono__credentials li:last-child { border-bottom: none; }
.cred-check { color: var(--sage); font-weight: 600; flex-shrink: 0; }
.th-chi-sono__photo-wrap { position: relative; display: flex; justify-content: center; }
.th-chi-sono__photo { width: 100%; max-width: 420px; height: 520px; object-fit: cover; object-position: top; border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.th-chi-sono__accent { position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px; background: var(--sage-pale); border-radius: var(--r-md); z-index: -1; }

/* ── BLOCK: RICONOSCITI ─────────────────────────────────── */
.th-riconosciti { padding: 7rem 0; background: var(--sage-pale); }
.th-riconosciti__head { max-width: 760px; margin: 0 auto; text-align: center; margin-bottom: 3rem; }
.th-riconosciti__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.th-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem 1.4rem; transition: box-shadow 0.25s, transform 0.25s; }
.th-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.th-card__icon { color: var(--sage); margin-bottom: 0.8rem; }
.th-card__title { font-weight: 500; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.4rem; }
.th-card__desc { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }

/* ── BLOCK: COME FUNZIONA ──────────────────────────────── */
.th-come-funziona { padding: 7rem 0; background: var(--white); }
.th-come-funziona__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; margin-top: 3.5rem; position: relative; }
.th-come-funziona__steps::before { content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 1px; background: var(--line); }
.th-step { text-align: center; }
.th-step__num { width: 56px; height: 56px; background: var(--sage-pale); color: var(--sage); font-weight: 500; font-size: 1.1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; position: relative; z-index: 1; }
.th-step__title { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 400; }
.th-step__desc { font-size: 0.88rem; color: var(--ink-soft); }

/* ── BLOCK: SERVIZI ─────────────────────────────────────── */
.th-servizi { padding: 7rem 0; background: var(--cream); }
.th-servizi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.th-service { display: flex; gap: 1.5rem; align-items: flex-start; padding: 2rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transition: background 0.25s; }
.th-service:nth-child(2n) { border-right: none; }
.th-service:nth-child(3), .th-service:nth-child(4) { border-bottom: none; }
.th-service:hover { background: var(--sage-pale); }
.th-service__num { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--sage-light); line-height: 1; flex-shrink: 0; margin-top: -0.2rem; }
.th-service__title { font-weight: 500; font-size: 1rem; color: var(--ink); margin-bottom: 0.5rem; }
.th-service__desc { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

/* ── BLOCK: TARIFFE ─────────────────────────────────────── */
.th-tariffe { padding: 7rem 0; background: var(--ink); color: var(--white); }
.th-tariffe h2 { color: var(--white); }
.th-tariffe .sub { color: rgba(255,255,255,0.5); }
.th-tariffe__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.th-tariffe__cards--4 { grid-template-columns: repeat(4,1fr) !important; gap: 1rem !important; }
.th-price-card__label-top { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.4rem; }
.th-price-card--featured .th-price-card__label-top { color: rgba(255,255,255,0.8); }
.th-price-card { background: var(--sage-light); border: 1px solid var(--sage); border-radius: var(--r-lg); padding: 2.5rem 2rem; position: relative; transition: border-color 0.25s; color: var(--ink); }
.th-price-card:hover { border-color: rgba(255,255,255,0.25); }
.th-price-card--featured { background: var(--sage); border-color: var(--sage); }
.th-price-card__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--terra); color: var(--white); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 1rem; border-radius: var(--r-pill); white-space: nowrap; }
.th-price-card__title { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 1rem; }
.th-price-card--featured .th-price-card__title { color: rgba(255,255,255,0.85); }
.th-price-card__amount { font-family: var(--serif); font-size: 4rem; font-weight: 300; line-height: 1; color: var(--ink); margin-bottom: 0.3rem; }
.th-price-card__amount sup { font-size: 1.5rem; vertical-align: super; }
.th-price-card__per { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 2rem; }
.th-price-card__features { list-style: none; margin-bottom: 2rem; }
.th-price-card__features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--ink-mid); margin-bottom: 0.6rem; }
.th-price-card--featured .th-price-card__features li { color: rgba(255,255,255,0.9); }
.check { color: var(--sage-scuro); font-weight: 600; }
.th-price-card--featured .check { color: var(--white); }
.th-price-card--featured .th-price-card__amount { color: var(--white); }
.th-price-card--featured .th-price-card__per { color: rgba(255,255,255,0.7); }
.th-price-card__cta { display: block; text-align: center; background: rgba(0,0,0,0.08); color: var(--ink); padding: 0.75rem; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 500; transition: background 0.25s; }
.th-price-card--featured .th-price-card__cta { background: rgba(255,255,255,0.25); }
.th-price-card__cta:hover { background: rgba(255,255,255,0.3); }
.th-tariffe__cta-bottom { text-align: center; margin-top: 2.5rem; }
.th-tariffe__cta-bottom-btn { display: inline-block; padding: 0.85rem 2.5rem; border: 2px solid rgba(255,255,255,0.4); color: var(--white); border-radius: var(--r-pill); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em; transition: background 0.25s, border-color 0.25s; }
.th-tariffe__cta-bottom-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ── BLOCK: QUOTE ──────────────────────────────────────── */
.th-quote { padding: 2rem 0; background: var(--terra-pale); text-align: center; }
.th-quote blockquote { font-family: var(--serif); font-size: clamp(1.4rem,3vw,2.2rem); font-style: italic; font-weight: 300; color: var(--ink); line-height: 1.5; margin-bottom: 1.2rem; }
.th-quote cite { font-size: 0.85rem; color: var(--ink-soft); }

/* ── BLOCK: CONTATTI ────────────────────────────────────── */
.th-contatti { padding: 7rem 0; background: var(--cream); }
.th-contatti__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.th-contatti__info-items { margin-bottom: 2rem; }
.th-contatti__info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.th-contatti__icon { width: 36px; height: 36px; flex-shrink: 0; background: var(--sage-pale); color: var(--sage); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; }
.th-contatti__label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.2rem; }
.th-contatti__value { font-size: 0.92rem; color: var(--ink); }
.th-contatti__value a { color: var(--sage); }
.th-social-row { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.th-social-btn { width: 40px; height: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-mid); display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.th-social-btn:hover { border-color: var(--sage); color: var(--sage); background: var(--sage-pale); }
.th-contatti__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0.5rem 2rem 0.2rem; }
.th-form__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 0.4rem; }
.th-form__sub { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 2rem; }
.th-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.th-form__field { margin-bottom: 1rem; }
.th-form__field label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-mid); margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.th-form__field input, .th-form__field textarea { width: 100%; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0.75rem 1rem; font-family: var(--sans); font-size: 0.9rem; color: var(--ink); outline: none; transition: border-color 0.2s; resize: none; }
.th-form__field input:focus, .th-form__field textarea:focus { border-color: var(--sage); }
.th-form__field textarea { height: 110px; }
.th-form__submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer { background: var(--ink); color: rgba(255,255,255,0.5); text-align: center; padding: 2.5rem 2rem; font-size: 0.82rem; line-height: 1.8; }
footer a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
footer a:hover { color: var(--sage-light); }
.footer-name { font-family: var(--serif); font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 0.4rem; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .th-hero { grid-template-columns: 1fr; padding-top: 80px; }
  .th-hero__visual { height: auto; padding: 3rem 0; order: -1; align-items: center; margin-top: 0; margin-bottom: 0; }
  .th-hero__photo-wrap { width: 280px; }
  .th-hero__photo { width: 250px; height: 320px; }
  .th-hero__content { padding: 2rem; }
  .th-chi-sono__inner, .th-contatti__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .th-servizi__grid { grid-template-columns: 1fr; }
  .th-service { border-right: none; }
  .th-service:nth-child(3) { border-bottom: 1px solid var(--line); }
  .th-come-funziona__steps { grid-template-columns: 1fr; }
  .th-come-funziona__steps::before { display: none; }
  .th-tariffe__cards { grid-template-columns: 1fr; }
  .th-tariffe__cards--4 { grid-template-columns:  1fr !important; }
  .th-tariffe__cards--4 { gap: 0.5rem !important; }
  .th-form__row { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
 
}

/* ── EDITOR STYLES (Gutenberg) ──────────────────────────── */
.editor-styles-wrapper { background: var(--cream); font-family: var(--sans); }

/* ── CONTACT FORM 7 ── */
.wpcf7 .wpcf7-form { display: flex; flex-direction: column; gap: 0; }
.wpcf7 label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-mid); margin-bottom: 0rem; letter-spacing: 0.04em; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100%; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0.75rem 1rem; font-family: var(--sans); font-size: 0.9rem; color: var(--ink); outline: none; transition: border-color 0.2s; resize: none; }
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 input[type="tel"]:focus, .wpcf7 textarea:focus { border-color: var(--sage); }
.wpcf7 textarea { height: 110px; }
.wpcf7 input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; background: var(--sage); color: var(--white); font-family: var(--sans); font-size: 0.88rem; font-weight: 500; padding: 0.85rem 2rem; border-radius: var(--r-pill); border: none; cursor: pointer; transition: background 0.25s, transform 0.2s; box-shadow: 0 4px 20px rgba(122,158,126,0.3); width: 100%; margin-top: 0.5rem; }
.wpcf7 input[type="submit"]:hover { background: #5e8862; transform: translateY(-2px); }
.wpcf7 .wpcf7-response-output { margin-top: 0.5rem !important; padding: 0.75rem 1rem !important; border-radius: var(--r-sm) !important; font-size: 0.85rem !important; border: none !important; }
.wpcf7 .wpcf7-mail-sent-ok { background: var(--sage-pale) !important; color: var(--sage) !important; }
.wpcf7 .wpcf7-mail-sent-ng, .wpcf7 .wpcf7-validation-errors { background: var(--terra-pale) !important; color: var(--terra) !important; }
.wpcf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpcf7 .wpcf7-form p { margin-bottom: 0.5rem !important; }
.wpcf7 label { margin-bottom: 0.25rem !important; }
.wpcf7 br { display: none; }
.wpcf7 .wpcf7-form > p:last-of-type { margin-bottom: 0 !important; }

/* ── FAQ Blocco Dettagli ── */
.wp-block-details summary { font-family: var(--serif) !important; font-weight: 650 !important; color: #3d6b42 !important; font-size: 1.1rem !important; cursor: pointer; padding: 0.5rem 0; }
.wp-block-details p { font-family: var(--sans) !important; font-size: 0.97rem !important; color: var(--ink-mid) !important; line-height: 1.7 !important; text-align: justify !important; margin-top: 0.5rem !important; }

/* ── SEO HIDDEN ── */
.seo-hidden { color: transparent; font-size: 0; line-height: 0; }

/* ── BOTTONE GUTENBERG ── */
.wp-block-button__link { background-color: #7A9E7E !important; color: #FFFFFF !important; border-radius: 100px !important; font-family: var(--sans) !important; font-size: 0.88rem !important; font-weight: 500 !important; padding: 0.85rem 2rem !important; box-shadow: 0 4px 20px rgba(122,158,126,0.3) !important; text-decoration: none !important; }
.wp-block-button__link:hover { background-color: #5e8862 !important; }

/* ── PAGINA STUDIO ───────────────────────────────────────── */
.th-studio { padding: 7rem 0 5rem; background: var(--cream); }
.th-studio__header { padding-top: 2rem; margin-bottom: 4rem; }
.th-studio__title { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; color: var(--ink); margin-bottom: 0; }
.th-studio__content .wp-block-media-text { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 4rem !important; align-items: center !important; padding: 3rem 0 !important; border-bottom: 1px solid var(--line) !important; background: transparent !important; }
.th-studio__content .wp-block-media-text:last-child { border-bottom: none !important; }

.th-studio__content .wp-block-media-text__media img { width: 100% !important; height: 340px !important; object-fit: cover !important; border-radius: var(--r-lg) !important; box-shadow: 0 20px 60px rgba(0,0,0,0.10) !important; display: block !important; }
.th-studio__content .wp-block-media-text__content { padding: 0 !important; }
.th-studio__content .wp-block-media-text__content h2, .th-studio__content .wp-block-media-text__content h3 { font-family: var(--serif) !important; font-size: 1.8rem !important; font-weight: 300 !important; color: var(--ink) !important; margin-bottom: 1rem !important; line-height: 1.2 !important; }
.th-studio__content .wp-block-media-text__content p { font-family: var(--sans) !important; font-size: 0.97rem !important; color: var(--ink-mid) !important; line-height: 1.8 !important; }
@media (max-width: 768px) {
  .th-studio__content .wp-block-media-text { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .th-studio__content .wp-block-media-text.has-media-on-the-right { direction: ltr; }
}
/* ── PAGINE GENERICHE (Privacy, Termini ecc.) ─────────────── */
.th-page-content {
  max-width: 860px;
  margin: 7rem auto 5rem;
  padding: 0 2rem;
}

.th-page-content h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.th-page-content h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin: 2rem 0 0.8rem;
}

.th-page-content p,
.th-page-content li {
  font-family: var(--sans);
  font-size: 0.97rem;
  color: var(--ink-mid);
  line-height: 1.8;
}

.th-page-content ol,
.th-page-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
/* ── PAGINA PAGAMENTI ────────────────────────────────────── */
.th-pagamenti {
  padding: 7rem 0 5rem;
  background: var(--sage-pale);
  min-height: 100vh;
}
.th-pagamenti__header { padding-top: 2rem; margin-bottom: 3.5rem; text-align: center; }
.th-pagamenti__title { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; color: var(--ink); margin-bottom: 0.8rem; }
.th-pagamenti__sub { color: var(--ink-soft); font-size: 0.97rem; max-width: 560px; margin: 0 auto; }

/* Griglia 2 colonne x 3 righe */
.th-pagamenti__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; margin-bottom: 3rem; max-width: 860px; margin-left: auto; margin-right: auto; }

.th-pagamenti__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.8rem; position: relative; transition: border-color 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.th-pagamenti__card:hover { border-color: var(--sage); box-shadow: 0 8px 30px rgba(122,158,126,0.15); }
.th-pagamenti__card--featured { background: #5e8862; border-color: #5e8862; }
.th-pagamenti__card--featured:hover { box-shadow: 0 8px 30px rgba(94,136,98,0.4); }

.th-pagamenti__card-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--terra); color: var(--white); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 1rem; border-radius: var(--r-pill); white-space: nowrap; }

/* Icona */
.th-pagamenti__card-icon { color: var(--sage); margin-bottom: 1rem; }
.th-pagamenti__card--featured .th-pagamenti__card-icon { color: rgba(255,255,255,0.9); }

.th-pagamenti__card-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.4rem; }
.th-pagamenti__card--featured .th-pagamenti__card-label { color: rgba(255,255,255,0.8); }
.th-pagamenti__card-title { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.th-pagamenti__card--featured .th-pagamenti__card-title { color: rgba(255,255,255,0.9); }
.th-pagamenti__card-price { font-family: var(--serif); font-size: 3.5rem; font-weight: 300; line-height: 1; color: var(--ink); margin-bottom: 0.3rem; }
.th-pagamenti__card-price sup { font-size: 1.4rem; vertical-align: super; }
.th-pagamenti__card--featured .th-pagamenti__card-price { color: var(--white); }
.th-pagamenti__card-per { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.th-pagamenti__card--featured .th-pagamenti__card-per { color: rgba(255,255,255,0.7); }
.th-pagamenti__card-features { list-style: none; margin-bottom: 1.8rem; flex: 1; }
.th-pagamenti__card-features li { font-size: 0.85rem; color: var(--ink-mid); margin-bottom: 0.5rem; }
.th-pagamenti__card--featured .th-pagamenti__card-features li { color: rgba(255,255,255,0.9); }
.th-pagamenti__card-cta { margin-top: auto; }
.th-pagamenti__card-btn { display: block; text-align: center; background: var(--sage-pale); color: var(--sage); padding: 0.75rem; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 500; border: 1px solid var(--sage-light); transition: background 0.25s; text-decoration: none; }
.th-pagamenti__card-btn:hover { background: var(--sage); color: var(--white); }
.th-pagamenti__card--featured .th-pagamenti__card-btn { background: rgba(255,255,255,0.2); color: var(--white); border-color: rgba(255,255,255,0.4); }
.th-pagamenti__card--featured .th-pagamenti__card-btn:hover { background: rgba(255,255,255,0.35); }
.th-pagamenti__note { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin-top: 1rem; }
@media (max-width: 640px) { .th-pagamenti__grid { grid-template-columns: 1fr; } }

/* ── DETTAGLIO SERVIZI ───────────────────────────────────── */
.th-sdet__nav {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}
.th-sdet__nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}
.th-sdet__nav-list a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.th-sdet__nav-list a:hover { color: var(--sage); }

.th-sdet__section { padding: 6rem 0; }

.th-sdet__header { text-align: center; margin-bottom: 3.5rem; }
.th-sdet__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: var(--sage-pale);
  border-radius: 50%;
  color: var(--sage);
  margin-bottom: 1.2rem;
}
.th-sdet__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.th-sdet__desc {
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Griglia servizi */
.th-sdet__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.th-sdet__item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.2rem 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.th-sdet__item:hover {
  border-color: var(--sage);
  box-shadow: 0 4px 16px rgba(122,158,126,0.1);
}
.th-sdet__item-icon {
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 2px;
}
.th-sdet__item-text {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-mid);
  line-height: 1.5;
}

/* CTA */
.th-sdet__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 640px) {
  .th-sdet__grid { grid-template-columns: 1fr; }
  .th-sdet__nav-list { gap: 1rem; }
}

.nav-logo__dottssa { font-size: 1.5rem; color: var(--ink-mid) !important; font-weight: 400 !important; }

/* ── TH PAGAMENTO RAPIDO ─────────────────────────────── */
.th-pagamento-rapido { padding: 6rem 0 4rem; background: var(--cream); }
.th-pagamento-rapido__header { text-align: center; margin-bottom: 3rem; }
.th-pagamento-rapido__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); margin-bottom: 0.75rem; }
.th-pagamento-rapido__sub { color: var(--ink-soft); font-size: 0.95rem; max-width: 480px; margin: 0 auto; }

.th-pagamento-rapido__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 860px; margin: 0 auto; }

.th-pr-card { background: var(--white); border: 1.5px solid var(--sage-light); border-radius: var(--r-lg); padding: 1.5rem 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 0.3rem; transition: border-color 0.25s, box-shadow 0.25s; }
.th-pr-card:hover { border-color: var(--sage); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.th-pr-card--pacchetto { background: var(--white); }

.th-pr-card__icon { color: var(--sage); margin-bottom: 0.5rem; }
.th-pr-card__label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.th-pr-card__title { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 0.5rem; }
.th-pr-card__price { font-family: var(--serif); font-size: 3rem; font-weight: 300; line-height: 1; color: var(--ink); margin-bottom: 0.75rem; }
.th-pr-card__price sup { font-size: 1.2rem; vertical-align: super; }

.th-pr-card__btn { display: block; text-align: center; margin-top: auto; padding: 0.6rem 1rem; background: rgba(0,0,0,0.08); color: rgba(0,0,0,0.35); border-radius: var(--r-pill); font-size: 0.82rem; font-weight: 500; transition: background 0.25s; }
.th-pr-card__btn:hover { background: rgba(0,0,0,0.14); }
.th-pr-card--highlight .th-pr-card__btn { background: var(--sage); color: var(--white); }
.th-pr-card--highlight .th-pr-card__btn:hover { background: var(--sage-scuro); }

.th-pr-card--highlight { background: #dce8dd; border-color: var(--sage-dark); box-shadow: 0 0 0 3px rgba(61,107,66,0.2), 0 6px 24px rgba(0,0,0,0.1); animation: th-pr-pulse 1.2s ease-out; }
@keyframes th-pr-pulse { 0% { box-shadow: 0 0 0 0 rgba(61,107,66,0.4), 0 6px 24px rgba(0,0,0,0.1); } 70% { box-shadow: 0 0 0 10px rgba(61,107,66,0), 0 6px 24px rgba(0,0,0,0.1); } 100% { box-shadow: 0 0 0 3px rgba(61,107,66,0.2), 0 6px 24px rgba(0,0,0,0.1); } }

.th-pagamento-rapido__note { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; font-size: 0.75rem; color: var(--ink-soft); }

@media (max-width: 768px) { .th-pagamento-rapido__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .th-pagamento-rapido__grid { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── PAGAMENTI CARD AZIENDE ─────────────────────────────── */
.th-pagamenti__biz-header { margin-top: 3rem; margin-bottom: 1.5rem; }
.th-pagamenti__grid--biz { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin: 0 auto; }
.th-pagamenti__card--biz { background: var(--terra); border-color: #a8673e; }
.th-pagamenti__card--biz .th-pagamenti__card-icon { color: var(--terra-pale); }
.th-pagamenti__card--biz .th-pagamenti__card-label { color: rgba(255,255,255,0.7); }
.th-pagamenti__card--biz .th-pagamenti__card-title { color: var(--white); }
.th-pagamenti__card--biz .th-pagamenti__card-per { color: rgba(255,255,255,0.6); }
.th-pagamenti__card--biz .th-pagamenti__card-features li { color: rgba(255,255,255,0.85); }
.th-pagamenti__card--biz .th-pagamenti__card-btn { background: var(--terra-pale); color: var(--terra); }
.th-pagamenti__card--biz .th-pagamenti__card-btn:hover { background: #f0e0d0; }
@media (max-width: 600px) { .th-pagamenti__grid--biz { grid-template-columns: 1fr; } }
/* ── HAMBURGER MENU MOBILE ───────────────────────────────── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger--open span:nth-child(2) { opacity: 0; }
.nav-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem 1.5rem 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 1000; }
  .nav-links--open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--sage-pale); padding: 0.6rem 0; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-cta { display: inline-block; margin-top: 0.5rem; }
}
