/* ============================================================
   Logopedy — style.css
   Brand: burgundy #7B1A2A, bianco #ffffff, neutri caldi
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --burgundy:       #7B1A2A;
  --burgundy-dark:  #5E1220;
  --blush:          #FADADD;
  --blush-light:    #FFE8EC;
  --surface:        #fbf9f8;
  --surface-sidebar:#f5f3f3;
  --text:           #4A4A4A;
  --title:          #1A1A1A;
  --text-muted:     #897172;
  --border:         #F5B8C4;
  --border-subtle:  #ddc0c0;
  --white:          #ffffff;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      24px;
  --shadow-card:    0 2px 12px rgba(123,26,42,0.08);
  --shadow-card-hover: 0 20px 40px rgba(123,26,42,0.12);
  --transition:     all 0.2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--title); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn--primary {
  background: var(--burgundy);
  color: var(--white);
}
.btn--primary:hover { background: var(--burgundy-dark); }
.btn--secondary {
  background: var(--white);
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
}
.btn--secondary:hover { background: #fdf5f6; }
.btn--full { width: 100%; text-align: center; }

/* --- Flash messages --- */
.flash-messages { padding: 0 1rem; }
.flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.flash--success { background: #d4edda; color: #155724; }
.flash--error   { background: #f8d7da; color: #721c24; }
.flash--info    { background: #d1ecf1; color: #0c5460; }

/* --- Navbar --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar__logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--burgundy); }
.navbar__links { display: flex; align-items: center; gap: 1.5rem; }
.navbar__links a { font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.navbar__links a:hover { color: var(--burgundy); }

/* --- Footer --- */
.footer { background: #1A1A1A; color: #ccc; padding: 3rem 2rem; margin-top: 4rem; }
.footer__inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer__brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--white); margin-bottom: 1rem; }
.footer__links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer__links a { font-size: 0.85rem; color: #aaa; transition: var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: 0.8rem; color: #666; }

/* --- Hero --- */
.hero { background: var(--surface); padding: 6rem 2rem; text-align: center; }
.hero__inner { max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 1.25rem; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero .btn + .btn { margin-left: 1rem; }

/* --- Page hero --- */
.page-hero { padding: 4rem 2rem; text-align: center; background: var(--surface); }
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-muted); }

/* --- Features --- */
.features { padding: 4rem 2rem; }
.features__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--white); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-card); transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.feature-card h3 { color: var(--burgundy); margin-bottom: 0.75rem; }

/* --- Services --- */
.services-grid { max-width: 1100px; margin: 3rem auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-card); }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { margin-bottom: 1.25rem; color: var(--text-muted); }

/* --- Content block --- */
.content-block { max-width: 720px; margin: 3rem auto; padding: 0 2rem; }
.content-block h2 { margin-bottom: 1rem; }
.content-block ul, .content-block ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.content-block li { margin-bottom: 0.5rem; list-style: disc; }
.content-block ol li { list-style: decimal; }

/* --- Reviews --- */
.reviews-grid { max-width: 900px; margin: 3rem auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-card); }
.review-card p { font-style: italic; margin-bottom: 0.75rem; }
.review-card span { font-size: 0.85rem; color: var(--text-muted); }

/* --- Auth --- */
.auth { display: flex; justify-content: center; padding: 4rem 1rem; background: var(--surface); min-height: calc(100vh - 64px); }
.auth__card { background: var(--white); border-radius: var(--radius-md); padding: 2.5rem; width: 100%; max-width: 420px; box-shadow: var(--shadow-card); }
.auth__card h1 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.auth__links { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.auth__links a { font-size: 0.875rem; color: var(--burgundy); }
.auth__links a:hover { text-decoration: underline; }

/* --- Forms --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--title); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burgundy);
}

/* --- Contact --- */
.contact-section { max-width: 600px; margin: 3rem auto; padding: 0 2rem; }
.contact-form .btn { margin-top: 0.5rem; }

/* --- Booking --- */
.booking-section { max-width: 500px; margin: 3rem auto; padding: 0 2rem; }

/* --- Dashboard --- */
.dashboard { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem; }
.dashboard__header { margin-bottom: 2rem; }
.dashboard__header h1 { font-size: 1.75rem; }
.dashboard__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.dashboard-card { background: var(--white); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-card); }
.dashboard-card h3 { margin-bottom: 0.75rem; font-size: 1rem; color: var(--burgundy); }
.dashboard-card p { margin-bottom: 1.25rem; color: var(--text-muted); }

/* --- Chat --- */
.chat-layout { display: flex; height: calc(100vh - 64px); }
.chat-sidebar { width: 280px; background: var(--surface-sidebar); border-right: 1px solid var(--border-subtle); padding: 1.5rem; }
.chat-sidebar h2 { font-size: 1rem; margin-bottom: 1rem; }
.chat-main { flex: 1; display: flex; flex-direction: column; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1.5rem; }
.chat-input-form { display: flex; gap: 0.75rem; padding: 1rem 1.5rem; border-top: 1px solid var(--border-subtle); }
.chat-input-form input { flex: 1; }

/* --- Legal --- */
.legal-page { max-width: 720px; margin: 3rem auto; padding: 0 2rem; }
.legal-page h1 { margin-bottom: 1rem; }
.legal-page p { margin-bottom: 1rem; color: var(--text-muted); }

/* --- Admin layout --- */
.admin-layout { display: flex; min-height: 100vh; background: var(--surface); }
.admin-sidebar { width: 240px; background: var(--surface-sidebar); border-right: 1px solid var(--border-subtle); padding: 1.5rem; flex-shrink: 0; }
.admin-sidebar__logo a { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--burgundy); font-size: 1.1rem; display: block; margin-bottom: 2rem; }
.admin-sidebar__nav { display: flex; flex-direction: column; gap: 0.25rem; }
.admin-sidebar__nav a { padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.admin-sidebar__nav a:hover, .admin-sidebar__nav a.active { background: rgba(123,26,42,0.08); color: var(--burgundy); }
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-content { padding: 2rem; width: 100%; box-sizing: border-box; }
.admin-content h1 { margin-bottom: 1.5rem; }

/* --- Admin stats --- */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-card); }
.stat-card h3 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.stat-card__value { font-size: 2rem; font-weight: 800; color: var(--burgundy); }
.stat-card--alert { border-left: 3px solid #e53e3e; }
.stat-card__link { display: inline-block; margin-top: 0.5rem; font-size: 0.8rem; color: var(--burgundy); font-weight: 600; text-decoration: none; }

/* --- Admin table --- */
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.admin-table th { background: var(--surface-sidebar); padding: 12px 16px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.admin-table td { padding: 12px 16px; border-top: 1px solid var(--border-subtle); font-size: 0.9rem; }
.admin-table tr:hover td { background: #fdf5f6; }
.btn-admin { border: none; border-radius: 6px; padding: 6px 14px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.btn-admin--approve { background: #2f855a; color: #fff; }
.btn-admin--approve:hover { background: #276749; }
.btn-admin--reject { background: #fff; color: #c53030; border: 1px solid #c53030; }
.btn-admin--reject:hover { background: #fff5f5; }
.admin-empty { color: var(--text-muted); padding: 2rem 0; }

/* --- Admin login --- */
.admin-login-page { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: var(--surface); }

/* =============================================================
   LANDING PAGE — nuove sezioni verticali
   ============================================================= */

/* ── Shared ─────────────────────────────────────── */
.lp-container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.lp-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

/* ── Button variants ────────────────────────────── */
.btn--lg { padding: 15px 34px; font-size: 1rem; }
.btn--outline {
  background: transparent;
  color: var(--title);
  border: 1.5px solid #d1d1d1;
}
.btn--outline:hover { border-color: var(--burgundy); color: var(--burgundy); }
.btn--white { background: var(--white); color: var(--burgundy); }
.btn--white:hover { background: var(--blush-light); }

/* ── Hero ───────────────────────────────────────── */
.lp-hero-wrap { background: var(--white); padding: 5rem 2rem 4rem; }
.lp-hero {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.lp-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1.25rem;
}
.lp-hero__text h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--title);
  margin-bottom: 1.25rem;
}
.lp-hero__accent { color: var(--burgundy); }
.lp-hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 460px;
}
.lp-hero__actions { display: flex; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.lp-hero__trust {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.lp-hero__media { display: flex; align-items: center; justify-content: flex-end; }
.lp-hero__img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

/* ── Come funziona ─────────────────────────────── */
.lp-how { background: var(--surface); padding: 6rem 2rem; border-top: 1px solid #eeeeee; }
.lp-how__header { max-width: 1100px; margin: 0 auto 2.5rem; }
.lp-how__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--title);
  margin-bottom: 0.5rem;
}
.lp-how__header p { color: var(--text-muted); font-size: 1.05rem; }

/* Tabs */
.lp-how__tabs {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  display: flex;
  gap: 0.5rem;
  background: #eee;
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
}
.lp-tab {
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.lp-tab--active { background: var(--white); color: var(--title); box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

/* Tab panels */
.lp-tab-panel { display: none; max-width: 1100px; margin: 0 auto; }
.lp-tab-panel--active { display: block; }

/* Steps */
.lp-steps { display: flex; flex-direction: column; gap: 2rem; max-width: 600px; }
.lp-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.lp-step__n {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.lp-step h4 { font-size: 1rem; font-weight: 700; color: var(--title); margin-bottom: 0.35rem; }
.lp-step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ── About ─────────────────────────────────────── */
.lp-about { background: var(--white); padding: 6rem 2rem; border-top: 1px solid #eeeeee; }
.lp-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.lp-about__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--title);
  margin-bottom: 1.25rem;
}
.lp-about__text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }

/* Quote */
.lp-quote {
  background: var(--surface);
  border-radius: 20px;
  padding: 2.5rem;
  border: none;
}
.lp-quote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--title);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.lp-quote footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  font-style: normal;
}

/* ── Pro CTA ───────────────────────────────────── */
.lp-pro-cta { background: var(--burgundy); padding: 6rem 2rem; }
.lp-pro-cta__inner { max-width: 700px; margin: 0 auto; text-align: center; }
.lp-pro-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.lp-pro-cta p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2.5rem; line-height: 1.75; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-hero-wrap { padding: 3.5rem 1.5rem; }
  .lp-hero__media { justify-content: center; }
  .lp-hero__img { max-width: 100%; }
  .lp-about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-how, .lp-about, .lp-pro-cta { padding: 4rem 1.5rem; }
}

/* =============================================================
   PAGINE PUBBLICHE INTERNE — pub-*
   ============================================================= */

/* Hero interno (più compatto della landing) */
.pub-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
}
.pub-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--title);
}
.pub-hero__lead {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.pub-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sezioni generiche */
.pub-section { padding: 5rem 2rem; }
.pub-section--alt { background: var(--surface); }
.pub-section--dark { background: linear-gradient(135deg, #5c0016 0%, #7b1a2a 100%); color: var(--white); }
.pub-section--dark h2 { color: var(--white); }
.pub-section--dark p { color: rgba(255,255,255,0.8); }
.pub-section__inner { max-width: 1100px; margin: 0 auto; }
.pub-section__inner--narrow { max-width: 760px; margin: 0 auto; }
.pub-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--title);
}
.pub-section__intro {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 680px;
}

/* Grid di card info */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.info-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.info-card__icon {
  font-size: 1.75rem;
  width: 52px; height: 52px;
  background: var(--blush-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.info-card h4 { font-weight: 700; margin-bottom: 0.5rem; color: var(--title); font-size: 1rem; }
.info-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.info-card--accent { border-top: 3px solid var(--burgundy); }

/* Steps orizzontali */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.step-pub {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border-subtle);
  position: relative;
}
.step-pub:last-child { border-right: none; }
.step-pub__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blush-light);
  color: var(--burgundy);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step-pub h4 { font-weight: 700; margin-bottom: 0.4rem; color: var(--title); font-size: 0.95rem; }
.step-pub p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border-subtle); }
.faq-item h4 { font-weight: 700; color: var(--title); margin-bottom: 0.6rem; font-size: 0.95rem; }
.faq-item p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; }

/* Recensioni full */
.review-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.review-card-full {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.review-card-full__stars { color: #f59e0b; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.review-card-full__text {
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
  font-size: 0.9rem;
}
.review-card-full__author { display: flex; align-items: center; gap: 0.75rem; }
.review-card-full__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blush-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--burgundy);
  font-size: 0.85rem; flex-shrink: 0;
}
.review-card-full__info strong { display: block; font-size: 0.875rem; color: var(--title); }
.review-card-full__info span { font-size: 0.78rem; color: var(--text-muted); }

/* Stats bar */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.stats-bar__item { text-align: center; }
.stats-bar__num { font-size: 2.25rem; font-weight: 800; color: var(--burgundy); line-height: 1; }
.stats-bar__label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Two-col layout (contatti + form) */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-item__icon {
  width: 44px; height: 44px;
  background: var(--blush-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-item h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; color: var(--title); }
.contact-info-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--title); }

/* Highlight strip */
.highlight-strip {
  background: linear-gradient(135deg, #5c0016 0%, #7b1a2a 100%);
  padding: 5rem 2rem;
  text-align: center;
}
.highlight-strip__inner { max-width: 700px; margin: 0 auto; }
.highlight-strip h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--white); font-weight: 800; margin-bottom: 1rem; }
.highlight-strip p { color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.7; }

/* Responsive pagine interne */
@media (max-width: 768px) {
  .pub-hero { padding: 3rem 1.5rem; }
  .pub-section { padding: 3.5rem 1.5rem; }
  .steps-row { grid-template-columns: 1fr; }
  .step-pub { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .step-pub:last-child { border-bottom: none; }
  .two-col-layout { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { gap: 2rem; }
}

/* =============================================================
   NAVBAR — logo SVG + bottoni distinti + scroll shadow
   ============================================================= */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  background: var(--white);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar--scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 24px rgba(123,26,42,0.06);
}
.navbar__logo { display: flex; align-items: center; }
.navbar__logo-img { height: 32px; width: auto; display: block; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  flex-wrap: nowrap;
}
.navbar__links > li > a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 7px 14px;
  border-radius: var(--radius-lg);
  transition: color 0.2s ease, background 0.2s ease;
  display: inline-block;
}
.navbar__links > li > a:hover { color: var(--burgundy); background: var(--blush-light); }
.navbar__links > li > a.btn--primary { color: var(--white); }
.navbar__links > li > a.btn--primary:hover { color: var(--white); background: var(--burgundy-dark); }
.navbar__links > li > a.btn--secondary { color: var(--burgundy); }
.navbar__links > li > a.btn--ghost { color: var(--burgundy); }
.navbar__links > li > a.active { color: var(--burgundy); font-weight: 600; }

/* Bottone piccolo nella nav */
.btn--sm { padding: 8px 18px; font-size: 0.825rem; }

/* Bottone ghost (bordo trasparente/sottile) */
.btn--ghost {
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid var(--border-subtle);
}
.btn--ghost:hover { background: var(--blush-light); border-color: var(--burgundy); }

/* Bottone bianco (per aree scure) */
.btn--white {
  background: var(--white);
  color: var(--burgundy);
}
.btn--white:hover { background: #fdf5f6; }

/* Bottone large */
.btn--lg { padding: 14px 34px; font-size: 1rem; }

/* Hamburger mobile */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--title);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.navbar__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .navbar { padding: 0 1.5rem; }
  .navbar__hamburger { display: flex; }
  .navbar__links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }
  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .navbar__links > li > a { padding: 11px 4px; display: block; border-radius: 0; border-bottom: 1px solid var(--border-subtle); }
  .navbar__links > li:last-child > a { border-bottom: none; }
  .navbar__links .btn--sm { margin-top: 0.5rem; text-align: center; display: block; }
}

/* =============================================================
   FOOTER — multi-colonna
   ============================================================= */

.site-footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  margin-top: 4rem;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem 3.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.site-footer__brand {}
.site-footer__logo { height: 28px; width: auto; margin-bottom: 1.25rem; }
.site-footer__tagline { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.site-footer__social { display: flex; gap: 0.75rem; }
.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  transition: all 0.2s ease;
}
.site-footer__social-link:hover { border-color: var(--blush); color: var(--blush); }

.site-footer__col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer__col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.site-footer__col ul a:hover { color: var(--white); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2.5rem;
}
.site-footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 540px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .site-footer__bottom { padding: 1.25rem 1.5rem; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   AUTH SPLIT — login e registrazione
   ============================================================= */

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}

/* Panel sinistro */
.auth-split__panel {
  background: linear-gradient(160deg, #5c0016 0%, #7b1a2a 60%, #9c2a3a 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-split__panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.auth-split__panel::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.auth-split__panel-logo img { height: 28px; width: auto; }
.auth-split__panel-content { position: relative; z-index: 1; }
.auth-split__panel-content h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.auth-split__panel-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.auth-split__panel-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.auth-split__stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--white); }
.auth-split__stat span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

.auth-split__panel-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.auth-split__panel-checklist li { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

.auth-split__panel-quote {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
}
.auth-split__panel-quote p {
  font-style: italic;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.4rem;
}
.auth-split__panel-quote span { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* Form */
.auth-split__form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--surface);
  overflow-y: auto;
}
.auth-split__form-inner { width: 100%; max-width: 440px; }
.auth-split__header { margin-bottom: 2rem; }
.auth-split__header h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.auth-split__header p { font-size: 0.875rem; color: var(--text-muted); }
.auth-split__header p a { color: var(--burgundy); font-weight: 500; }
.auth-split__header p a:hover { text-decoration: underline; }

/* Auth form */
.auth-form__group { margin-bottom: 1.25rem; }
.auth-form__group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 0.5rem;
}
.auth-form__label-link { font-size: 0.8rem; font-weight: 400; color: var(--burgundy); }
.auth-form__label-link:hover { text-decoration: underline; }

.auth-form__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-form__icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}
.auth-form__input-wrap input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-form__input-wrap input:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123,26,42,0.08);
}
.auth-form__toggle-pw {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
}
.auth-form__toggle-pw:hover { color: var(--burgundy); }

/* Role picker */
.auth-form__role-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.auth-form__role-option { cursor: pointer; }
.auth-form__role-option input[type="radio"] { position: absolute; opacity: 0; width: 0; }
.auth-form__role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.25rem 1rem;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
  transition: all 0.2s ease;
}
.auth-form__role-option input[type="radio"]:checked ~ .auth-form__role-card {
  border-color: var(--burgundy);
  background: #fdf5f6;
  box-shadow: 0 0 0 3px rgba(123,26,42,0.06);
}
.auth-form__role-icon { font-size: 1.5rem; }
.auth-form__role-card strong { font-size: 0.85rem; color: var(--title); }
.auth-form__role-card small { font-size: 0.75rem; color: var(--text-muted); }

/* GDPR */
.auth-form__gdpr { margin: 1.5rem 0; }
.auth-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  cursor: pointer;
}
.auth-form__checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--burgundy);
  cursor: pointer;
}
.auth-form__checkbox-label a { color: var(--burgundy); text-decoration: underline; }

.auth-form__submit { margin-top: 1rem; font-size: 0.95rem; padding: 13px 28px; }

.auth-form__disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* Riga doppia (nome + cognome) */
.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) { .auth-form__row { grid-template-columns: 1fr; } }

/* Tag "facoltativo" */
.auth-form__optional {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* Criteri password */
.pw-criteria {
  list-style: none;
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.pw-criteria__item {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  transition: color 0.2s ease;
}
.pw-criteria__item::before {
  content: '○';
  position: absolute;
  left: 0;
  font-size: 0.65rem;
  color: var(--text-muted);
}
.pw-criteria__item--ok { color: #16a34a; }
.pw-criteria__item--ok::before { content: '✓'; color: #16a34a; }
.pw-criteria__item--fail { color: #dc2626; }
.pw-criteria__item--fail::before { content: '✗'; color: #dc2626; }

/* Sezione campi logopedista */
.auth-form__section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: var(--blush-light);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.auth-form__field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* Banner verifica logopedista */
.reg-pending-banner {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1rem 1.125rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.reg-pending-banner__icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.reg-pending-banner strong { display: block; font-size: 0.875rem; font-weight: 700; color: #92400e; margin-bottom: 0.3rem; }
.reg-pending-banner p { font-size: 0.8rem; color: #78350f; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-split__panel { display: none; }
  .auth-split__form { min-height: calc(100vh - 68px); padding: 2.5rem 1.5rem; }
}

/* =============================================================
   LEGAL PAGES — documenti legali
   ============================================================= */

.legal-doc {
  max-width: 780px;
  margin: 0 auto;
}
.legal-doc__section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-doc__section:last-child { border-bottom: none; }
.legal-doc__section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 1rem;
}
.legal-doc__section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--title);
  margin: 1.25rem 0 0.5rem;
}
.legal-doc__section p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal-doc__section p a { color: var(--burgundy); text-decoration: underline; }
.legal-doc__section ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.legal-doc__section li { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.legal-doc__section li strong { color: var(--title); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.legal-table th {
  background: var(--surface);
  text-align: left;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.legal-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.55;
}
.legal-table td code {
  background: var(--blush-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--burgundy);
}

.legal-doc__alert {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #fff8e7;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: #78520a;
  line-height: 1.6;
}
.legal-doc__alert code {
  background: rgba(0,0,0,0.06);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
}

/* =============================================================
   COOKIE BANNER
   ============================================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1.25rem 2rem;
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.08);
  animation: slideUp 0.4s ease forwards;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner__text strong { display: block; font-weight: 700; color: var(--title); margin-bottom: 0.3rem; font-size: 0.9rem; }
.cookie-banner__text p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.cookie-banner__text a { color: var(--burgundy); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

@media (max-width: 600px) {
  .cookie-banner { padding: 1.25rem 1.5rem; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; text-align: center; }
}

/* =============================================================
   SCROLL ANIMATIONS — fade-up
   ============================================================= */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
