/* ==========================================================
   ANGELO LEO BUSCAGLIA - STILE UNIFICATO
   Include: sito generale + Home + Chi sono + Pubblicazioni + Blog
   Sostituisce: style.css + blog.css
   ========================================================== */

/* ==========================================================
   01. VARIABILI
   ========================================================== */
:root {
  --ab-ink: #111827;
  --ab-ink-2: #334155;
  --ab-muted: #64748b;
  --ab-light: #f7f8fa;
  --ab-line: #e5e7eb;
  --ab-white: #ffffff;
  --ab-accent: #d5a945;
  --ab-accent-dark: #9a741f;
  --ab-navy: #152238;
  --ab-navy-2: #0d1727;
  --ab-success: #166534;
  --ab-radius: 1.25rem;
  --ab-shadow: 0 20px 60px rgba(15, 23, 42, .10);
}

/* ==========================================================
   02. BASE / TYPOGRAPHY
   ========================================================== */
html { scroll-behavior: smooth; }

body {
  color: var(--ab-ink);
  background: var(--ab-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--ab-navy); }
a:hover { color: var(--ab-accent-dark); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1100;
  background: #fff;
  padding: .8rem 1rem;
  border-radius: 0 0 .5rem .5rem;
}
.skip-link:focus { left: 1rem; }

/* ==========================================================
   03. HEADER / NAVIGAZIONE
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229,231,235,.88);
}

.utility-bar { background: var(--ab-navy-2); color: #cbd5e1; font-size: .78rem; }
.utility-bar .container { min-height: 34px; }
.utility-bar a { color: #e2e8f0; text-decoration: none; font-weight: 650; }
.utility-bar a:hover { color: #fff; text-decoration: underline; }
.utility-label { color: #94a3b8; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }

.navbar { min-height: 82px; }
.navbar-brand { text-decoration: none; color: var(--ab-ink); }
.brand-wrap { display: inline-flex; align-items: center; gap: .8rem; }
.brand-logo { display: block; width: auto; height: 42px; flex: 0 0 auto; }
.brand-text { display: block; }
.brand-name { display: block; font-weight: 800; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.brand-claim { display: block; margin-top: .32rem; font-size: .70rem; color: var(--ab-muted); letter-spacing: .12em; text-transform: uppercase; }
.nav-link { font-weight: 650; color: var(--ab-ink-2); }
.nav-link:hover,
.nav-link.active { color: var(--ab-accent-dark); }

/* ==========================================================
   04. COMPONENTI COMUNI
   ========================================================== */
.btn { border-radius: 999px; font-weight: 700; padding: .78rem 1.15rem; }
.btn-brand { background: var(--ab-accent); border-color: var(--ab-accent); color: #17120a; }
.btn-brand:hover { background: #c39736; border-color: #c39736; color: #17120a; }
.btn-outline-brand { color: var(--ab-navy); border-color: var(--ab-navy); }
.btn-outline-brand:hover { background: var(--ab-navy); border-color: var(--ab-navy); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ab-accent-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ab-accent); }

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-light { background: var(--ab-light); }
.section-dark { background: var(--ab-navy-2); color: white; }
.section-title { margin-top: .9rem; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 800; }
.section-intro { max-width: 720px; color: var(--ab-muted); font-size: 1.08rem; }
.section-dark .section-intro,
.section-dark .text-muted-2 { color: #cbd5e1; }

.page-hero { padding: 5rem 0 3.5rem; background: linear-gradient(180deg,#fff,#f8fafc); border-bottom: 1px solid var(--ab-line); }
.page-hero h1 { margin-top: .8rem; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.05em; font-weight: 800; }
.page-hero p { max-width: 760px; color: var(--ab-ink-2); font-size: 1.13rem; }

.card-clean {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.card-clean h3 { font-size: 1.2rem; font-weight: 800; }
.card-clean p { color: var(--ab-muted); }

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: .9rem;
  background: rgba(213,169,69,.16);
  color: var(--ab-accent-dark);
  font-size: 1.25rem;
}

.quote-panel {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2rem;
  background: var(--ab-navy);
  color: white;
  box-shadow: var(--ab-shadow);
}
.quote-panel blockquote { margin: 0; font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -.03em; font-weight: 700; }

.cta-panel {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--ab-navy-2), var(--ab-navy));
  color: white;
  overflow: hidden;
}
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; }
.cta-panel p { color: #dbe3ee; }

.content-prose { max-width: 820px; }
.content-prose h2 { margin-top: 2.5rem; font-weight: 800; letter-spacing: -.03em; }
.content-prose h3 { margin-top: 1.7rem; font-weight: 800; }
.content-prose p,
.content-prose li { color: var(--ab-ink-2); }
.content-prose li + li { margin-top: .4rem; }

.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .65rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 900; color: var(--ab-success); }

.form-panel { padding: 2rem; border-radius: var(--ab-radius); background: #fff; border: 1px solid var(--ab-line); box-shadow: var(--ab-shadow); }
.form-label { font-weight: 700; }
.form-control,
.form-select { min-height: 50px; border-radius: .8rem; border-color: #d7dce3; }
textarea.form-control { min-height: 150px; }
.form-control:focus,
.form-select:focus { border-color: var(--ab-accent); box-shadow: 0 0 0 .25rem rgba(213,169,69,.15); }

/* ==========================================================
   05. HOME
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6.4rem 0 5.2rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(213,169,69,.18), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.hero h1 {
  margin-top: 1.1rem;
  max-width: 900px;
  font-size: clamp(2.55rem, 6vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}
.hero .lead { max-width: 760px; margin-top: 1.5rem; font-size: 1.18rem; color: var(--ab-ink-2); }
.hero-photo-wrap { position: relative; max-width: 480px; margin-inline: auto; }
.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 2rem;
  background: #fff;
  box-shadow: var(--ab-shadow);
}
.hero-badge {
  position: absolute;
  left: -1.25rem;
  bottom: 1.25rem;
  max-width: 250px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(13,23,39,.93);
  color: white;
  border-radius: 1rem;
  box-shadow: var(--ab-shadow);
}
.hero-badge strong { display: block; font-size: 1.05rem; }
.hero-badge span { font-size: .84rem; color: #cbd5e1; }

.trust-strip { border-top: 1px solid var(--ab-line); border-bottom: 1px solid var(--ab-line); background: #fff; }
.metric { padding: 1.55rem .5rem; }
.metric strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.metric span { display: block; margin-top: .5rem; color: var(--ab-muted); font-size: .88rem; }

.problem-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.problem-card h3 { font-size: 1.05rem; }
.problem-card p { color: #cbd5e1; margin-bottom: 0; }

.step { position: relative; padding-left: 4.5rem; }
.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ab-navy);
  color: #fff;
  font-weight: 800;
}
.step h3 { font-size: 1.22rem; font-weight: 800; }
.step p { color: var(--ab-muted); }

/* Card articolo generica: usata anche nella Home */
.article-card { position: relative; height: 100%; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); overflow: hidden; background: #fff; }
.article-card .article-body { padding: 1.45rem; }
.article-card .article-kicker { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--ab-accent-dark); }
.article-card h2,
.article-card h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; }
.article-card p { color: var(--ab-muted); }
.article-card a.stretched-link { color: inherit; text-decoration: none; }

/* Blog in Home */
.home-blog-card,
.blog-post-card {
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-blog-card:hover,
.blog-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(15,23,42,.08);
}

.home-blog-image,
.blog-post-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ab-light);
}
.home-blog-image { position: relative; z-index: 2; }
.home-blog-image img,
.blog-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease;
}
.home-blog-card:hover .home-blog-image img,
.blog-post-card:hover .blog-post-image img { transform: scale(1.03); }
.home-blog-card .article-body { display: flex; flex-direction: column; flex: 1 1 auto; }

/* ==========================================================
   06. SERVIZI / AREE
   ========================================================== */
.service-nav {
  position: sticky;
  top: 140px;
  padding: 1.25rem;
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  background: #fff;
}
.service-nav a { display: block; padding: .55rem .7rem; border-radius: .6rem; color: var(--ab-ink-2); text-decoration: none; font-weight: 650; }
.service-nav a:hover { background: var(--ab-light); color: var(--ab-ink); }

/* ==========================================================
   07. PUBBLICAZIONI
   ========================================================== */
.book-cover { width: 100%; max-width: 390px; border-radius: 1rem; box-shadow: var(--ab-shadow); }

.book-card {
  height: 100%;
  min-height: 360px;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(15,23,42,.06);
}
.book-card-main { display: flex; align-items: flex-start; gap: 1.15rem; width: 100%; flex: 1 1 auto; margin-bottom: 1.25rem; }
.book-card-image { flex: 0 0 34%; max-width: 135px; min-width: 100px; }
.book-card-image img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: .85rem; box-shadow: 0 10px 24px rgba(15,23,42,.12); }
.book-card-copy { flex: 1 1 0; min-width: 0; }
.book-card-copy .article-kicker { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--ab-accent-dark); }
.book-card h2,
.book-card h3 { margin-top: .7rem; font-size: 1.35rem; line-height: 1.18; font-weight: 800; letter-spacing: -.025em; }
.book-card p { color: var(--ab-muted); }
.book-card > a:last-child { margin-top: auto; align-self: flex-start; }
.book-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.2rem; border-radius: 1rem; background: rgba(213,169,69,.16); color: var(--ab-accent-dark); font-size: 1.35rem; }
.book-card-featured { border-color: rgba(213,169,69,.55); background: linear-gradient(180deg,#fffdf8,#fff); }
.book-card-download { background: var(--ab-light); }

/* ==========================================================
   08. CHI SONO
   ========================================================== */
.bio-hero {
  position: relative;
  overflow: hidden;
  padding: 5.8rem 0 5rem;
  background: radial-gradient(circle at 82% 8%, rgba(213,169,69,.20), transparent 30%), linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}
.bio-hero h1 {
  margin-top: 1rem;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 800;
}
.bio-hero-lead { max-width: 760px; margin-top: 1.6rem; color: var(--ab-ink-2); font-size: clamp(1.15rem,2vw,1.38rem); }
.bio-signature { max-width: 700px; color: var(--ab-accent-dark); font-weight: 750; font-size: 1.05rem; }
.bio-archive { padding: .75rem; border: 1px solid var(--ab-line); border-radius: 1.6rem; background: #fff; box-shadow: var(--ab-shadow); }
.bio-archive img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 1.15rem; }
.bio-archive figcaption { padding: .9rem .55rem .25rem; color: var(--ab-muted); font-size: .86rem; }
.bio-timeline { position: relative; padding-left: 2.2rem; }
.bio-timeline::before { content:""; position:absolute; left:.55rem; top:.5rem; bottom:.5rem; width:2px; background:linear-gradient(var(--ab-accent),var(--ab-line)); }
.bio-timeline-item { position: relative; padding: 0 0 2rem 1.5rem; }
.bio-timeline-item:last-child { padding-bottom: 0; }
.bio-timeline-mark { position:absolute; left:-2.08rem; top:.35rem; width:1.05rem; height:1.05rem; border-radius:50%; background:var(--ab-accent); box-shadow:0 0 0 6px rgba(213,169,69,.15); }
.bio-timeline h3 { margin:0 0 .45rem; font-size:1.18rem; font-weight:800; }
.bio-timeline p { margin:0; color:var(--ab-muted); }
.bio-now-card { border-color: rgba(213,169,69,.45); background: linear-gradient(180deg,#fffdf8,#fff); }

/* ==========================================================
   09. BLOG - ELENCO / ARCHIVIO
   ========================================================== */
.blog-page-hero { padding-bottom: 4.5rem; }
.blog-featured-section { padding-top: 4.5rem; }

.blog-featured-card,
.blog-latest-panel,
.blog-post-card {
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  background: #fff;
  overflow: hidden;
}

.blog-featured-card { display: flex; flex-direction: column; box-shadow: 0 16px 45px rgba(15,23,42,.08); }
.blog-featured-image { display: block; position: relative; overflow: hidden; aspect-ratio: 16/8.2; background: #e9edf2; }
.blog-featured-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.blog-featured-card:hover .blog-featured-image img { transform: scale(1.025); }
.blog-featured-body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.blog-featured-body h2 { margin: .65rem 0 1rem; max-width: 850px; font-size: clamp(1.8rem,3vw,2.65rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.blog-featured-body p { max-width: 800px; color: var(--ab-muted); font-size: 1.06rem; }

.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: var(--ab-muted); font-size: .78rem; }
.blog-category { display: inline-flex; align-items: center; min-height: 27px; padding: .2rem .65rem; border-radius: 999px; background: rgba(213,169,69,.15); color: var(--ab-accent-dark); font-weight: 800; }

.blog-latest-panel { padding: 1.4rem; }
.blog-panel-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.blog-small-link { font-size: .82rem; font-weight: 750; text-decoration: none; }
.blog-mini-post { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-top: 1px solid var(--ab-line); }
.blog-mini-post:first-of-type { border-top: 0; }
.blog-mini-thumb { display: block; aspect-ratio: 1/1; border-radius: .85rem; overflow: hidden; background: var(--ab-light); }
.blog-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-mini-post h3 { margin: .45rem 0 0; font-size: 1rem; line-height: 1.25; font-weight: 800; }
.blog-mini-post h3 a { color: var(--ab-ink); text-decoration: none; }
.blog-mini-post h3 a:hover { color: var(--ab-accent-dark); }

.blog-topic-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.blog-topic-list a { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .9rem; border: 1px solid var(--ab-line); border-radius: 999px; background: #fff; color: var(--ab-ink-2); font-size: .86rem; font-weight: 750; text-decoration: none; }
.blog-topic-list a:hover { border-color: var(--ab-accent); color: var(--ab-accent-dark); }
.blog-topic-list a.active,
.blog-topic-list a.active:hover { border-color: var(--ab-navy); background: var(--ab-navy); color: #fff; }

.blog-search { position: relative; }
.blog-search > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ab-muted); z-index: 1; }
.blog-search .form-control { padding-left: 2.7rem; }

.blog-post-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.35rem; }
.blog-post-body h3 { margin: .7rem 0 .8rem; font-size: 1.25rem; line-height: 1.18; font-weight: 800; letter-spacing: -.025em; }
.blog-post-body h3 a { color: var(--ab-ink); text-decoration: none; }
.blog-post-body h3 a:hover { color: var(--ab-accent-dark); }
.blog-post-body p { color: var(--ab-muted); }
.blog-read-more { margin-top: auto; font-weight: 800; text-decoration: none; }

.blog-pagination { display: flex; justify-content: center; gap: .55rem; margin-top: 3.5rem; }
.blog-pagination a,
.blog-page-current { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ab-line); border-radius: 999px; text-decoration: none; font-weight: 800; }
.blog-pagination a { background: #fff; color: var(--ab-ink-2); }
.blog-pagination a:hover { border-color: var(--ab-accent); color: var(--ab-accent-dark); }
.blog-page-current { border-color: var(--ab-navy); background: var(--ab-navy); color: #fff; }

/* ==========================================================
   10. BLOG - DETTAGLIO POST
   ========================================================== */
.blog-detail-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--ab-line);
}
.blog-detail-head { max-width: 980px; margin: 0 auto; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: var(--ab-muted); font-size: .84rem; }
.blog-breadcrumb a { color: var(--ab-muted); text-decoration: none; font-weight: 700; }
.blog-breadcrumb a:hover { color: var(--ab-accent-dark); }
.blog-detail-hero h1 { margin: 1rem 0 1.2rem; max-width: 950px; font-size: clamp(2.6rem, 5.8vw, 5.2rem); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
.blog-detail-lead { max-width: 850px; margin: 0; color: var(--ab-ink-2); font-size: clamp(1.12rem, 2vw, 1.35rem); }
.blog-detail-cover { max-width: 1120px; margin: 3rem auto 0; border-radius: 1.5rem; overflow: hidden; background: var(--ab-light); box-shadow: 0 20px 55px rgba(15,23,42,.10); }
.blog-detail-cover img { display: block; width: 100%; max-height: 690px; object-fit: cover; }
.blog-detail-section { padding-top: 4.5rem; }
.blog-detail-content { color: var(--ab-ink-2); font-size: 1.08rem; line-height: 1.82; }
.blog-detail-content > *:first-child { margin-top: 0; }
.blog-detail-content h2 { margin: 2.7rem 0 1rem; color: var(--ab-ink); font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.blog-detail-content h3 { margin: 2.2rem 0 .8rem; color: var(--ab-ink); font-size: 1.5rem; line-height: 1.2; font-weight: 800; }
.blog-detail-content p { margin-bottom: 1.35rem; }
.blog-detail-content img { display: block; max-width: 100%; height: auto; margin: 2rem auto; border-radius: 1rem; }
.blog-detail-content blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 4px solid var(--ab-accent); background: var(--ab-light); color: var(--ab-ink); font-size: 1.15rem; font-weight: 650; }
.blog-detail-content ul,
.blog-detail-content ol { margin-bottom: 1.4rem; padding-left: 1.4rem; }
.blog-detail-content li + li { margin-top: .5rem; }
.blog-source-box { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 3rem; padding: 1.25rem 1.4rem; border: 1px solid var(--ab-line); border-radius: 1rem; background: var(--ab-light); }
.blog-source-label { color: var(--ab-muted); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.blog-source-box a,
.blog-source-box strong { color: var(--ab-ink); font-weight: 800; text-decoration: none; }
.blog-source-box a:hover { color: var(--ab-accent-dark); }
.blog-detail-footer-actions { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--ab-line); }
.blog-related-section { border-top: 1px solid var(--ab-line); }

/* ==========================================================
   11. FOOTER / SOCIAL
   ========================================================== */
.site-footer { padding: 4rem 0 2rem; background: #0b1220; color: #cbd5e1; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-title { color: #fff; font-weight: 800; }
.footer-brand { display: inline-flex; align-items: center; gap: .85rem; color: #fff; text-decoration: none; font-size: 1.1rem; font-weight: 800; }
.footer-brand:hover { color: #fff; text-decoration: none; }
.footer-logo { display: block; width: auto; height: 44px; flex: 0 0 auto; }
.footer-small { font-size: .86rem; color: #94a3b8; }
.footer-publications-link { font-size: .92rem; font-weight: 750; }

.social-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-links .social-link { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: 1.15rem; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.social-links a.social-link:hover { transform: translateY(-2px); background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.35); text-decoration: none; }
.social-links .social-link-empty { opacity: .48; cursor: default; pointer-events: none; }
.social-links .social-link-empty:hover { opacity: .48; transform: none; }

.mobile-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1030;
  display: none;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

/* ==========================================================
   12. RESPONSIVE
   ========================================================== */
@media (max-width: 991.98px) {
  .hero { padding-top: 4rem; }
  .hero-photo-wrap { margin-top: 3rem; }
  .hero-badge { left: .75rem; right: .75rem; max-width: none; }
  .service-nav { position: static; }
  .mobile-cta { display: inline-flex; }
  .navbar-collapse { padding: 1rem 0 1.4rem; }
  .bio-hero { padding-top: 4rem; }
  .blog-featured-image { aspect-ratio: 16/9; }
}

@media (max-width: 575.98px) {
  .section { padding: 4rem 0; }
  .page-hero { padding-top: 3.5rem; }
  .metric strong { font-size: 1.65rem; }
  .brand-logo { height: 34px; }
  .brand-claim { display: none; }
  .utility-bar .container { justify-content: center !important; gap: 1rem !important; }

  .book-card { min-height: 0; }
  .book-card-main { gap: .95rem; }
  .book-card-image { flex-basis: 105px; min-width: 105px; max-width: 105px; }

  .blog-page-hero { padding-bottom: 3.5rem; }
  .blog-featured-section { padding-top: 3.5rem; }
  .blog-mini-post { grid-template-columns: 78px 1fr; gap: .8rem; }
  .blog-topic-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; }
  .blog-topic-list a { white-space: nowrap; }

  .blog-detail-hero { padding: 3.7rem 0 2.8rem; }
  .blog-detail-cover { margin-top: 1.5rem; border-radius: 1rem; }
  .blog-detail-section { padding-top: 3.2rem; }
  .blog-detail-content { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
