/* ==========================================================
   Author Website - Theme Styles
   ========================================================== */
:root {
  --bg: #030c10;
  --bg-soft: #0b151a;
  --card: #162026;
  --card-2: #1b252b;
  --line: rgba(255, 255, 255, 0.18);
  --gold: #c9a95c;
  --gold-dark: #b8964a;
  --peach: #f7d9ab;
  --slate: #33414a;
  --pill: #c9d3d7;
  --text: #ffffff;
  --muted: #c4cbcf;
  --font-head: "EB Garamond", Georgia, serif;
  --font-body: "Jost", Arial, sans-serif;
  --font-ui: "Outfit", Arial, sans-serif;
  --font-script: "Great Vibes", cursive;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
main, section, footer { overflow-x: clip; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 18px;
}

p { color: var(--text); margin-bottom: 14px; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1240px; }

.section { padding: 90px 0; }
.section-title { font-size: clamp(34px, 4vw, 52px); }
.divider { border-top: 1px solid var(--line); margin: 0 20px; }

/* ---------- Buttons ---------- */
.btn-theme {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 6px 6px 26px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  border: 0;
  background: var(--gold);
  color: #12181c;
  transition: transform .3s, background .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn-theme .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #12181c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform .3s;
}
.btn-theme:hover { color: #12181c; background: #d8b86a; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(201, 169, 92, .25); }
.btn-theme:hover .ic { transform: rotate(-45deg); }
.btn-theme.btn-slate { background: var(--slate); color: #fff; }
.btn-theme.btn-slate:hover { background: #40505a; color: #fff; box-shadow: none; }
.btn-theme.btn-slate .ic { background: #12181c; }

/* ---------- Top agency bar ---------- */
.top-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 40px));
  background: #fff;
  color: #102631;
  border-radius: 0 0 18px 18px;
  padding: 10px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  box-shadow: 0 0 0 8px var(--bg);
}
.brand-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-script); font-weight: 500; font-size: 24px; letter-spacing: 1px; color: #102631; }
.brand-logo svg { width: 18px; height: 34px; }
.brand-logo:hover { color: #102631; }
.top-contact { display: flex; align-items: center; gap: 14px; font-family: var(--font-ui); font-size: 12px; line-height: 1.5; }
.top-contact i { font-size: 22px; }
.top-actions { display: flex; align-items: center; gap: 70px; }
.top-bar .btn-theme { font-size: 13px; padding: 4px 4px 4px 20px; }
.top-bar .btn-theme .ic { width: 28px; height: 28px; font-size: 14px; }

/* ---------- Hero / Banner wrapper ---------- */
.hero-wrap { padding: 28px 20px 0; position: relative; }
.hero {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 780px;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 74%;
  transform: scale(1.2);
  transform-origin: 75% 40%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 12, 16, .55) 0%, rgba(3, 12, 16, .25) 55%, rgba(3, 12, 16, .15) 100%);
  z-index: 1;
}
.hero > *:not(.hero-bg) { position: relative; z-index: 2; }

/* Navbar */
.site-nav { padding: 70px 0 0; }
.site-nav .navbar { padding: 0; }
.script-logo { font-family: var(--font-script); font-size: 34px; color: #fff; line-height: 1; word-spacing: 6px; }
.script-logo:hover { color: #fff; }
.site-nav .nav-link {
  font-family: var(--font-ui);
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 22px !important;
  position: relative;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--gold); }
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.btn-excerpt {
  background: var(--pill);
  color: #12181c;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  padding: 13px 30px;
  margin-left: 28px;
  transition: background .3s, transform .3s;
}
.btn-excerpt:hover { background: #fff; color: #12181c; transform: translateY(-2px); }
.navbar-toggler { border: 1px solid var(--line); padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { color: #fff; font-size: 26px; }

/* Home hero content */
.hero-content { flex: 1; display: flex; align-items: center; padding: 40px 0 70px; }
.hero-content h1 { font-size: clamp(42px, 5.2vw, 66px); }
.hero-content p { max-width: 470px; font-size: 16px; color: #e8ecee; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-book { animation: floatY 5s ease-in-out infinite; width: 100%; max-width: 560px; margin: 50px 0 0 -40px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* Inner page banner */
.hero.inner { min-height: 580px; }
.hero.inner::after { background: rgba(3, 12, 16, .45); }
.inner-content { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px 0 60px; }
.inner-content h1 { font-size: clamp(40px, 5vw, 64px); }
.inner-content p { max-width: 600px; margin: 0 auto; color: #e8ecee; }

/* ---------- About Writer (home) ---------- */
.stats { display: flex; align-items: flex-start; gap: 0; margin: 30px 0 34px; }
.stat { padding: 0 34px; border-left: 1px solid var(--gold); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat .num { font-family: var(--font-head); font-size: 58px; line-height: 1; display: block; }
.stat .label { font-size: 14px; color: #e2e6e8; }
.rounded-img { border-radius: 14px; width: 100%; object-fit: cover; }
.author-home-img { aspect-ratio: 5 / 4; object-position: center 20%; }

/* ---------- Book feature card ---------- */
.book-card {
  position: relative;
  background: var(--card);
  padding: 90px 50px 90px 70px;
  clip-path: polygon(0 50px, 160px 50px, 210px 0, 100% 0, 100% 100%, 210px 100%, 160px calc(100% - 50px), 0 calc(100% - 50px));
  border-radius: 14px;
}
.book-card .cover { box-shadow: 0 25px 50px rgba(0, 0, 0, .55); width: 100%; max-width: 420px; }
.book-card h2 { font-size: clamp(36px, 4vw, 54px); }

/* ---------- Blogs ---------- */
.blog-card { padding: 0 10px; }
.blog-card .thumb { border-radius: 12px; overflow: hidden; margin-bottom: 18px; aspect-ratio: 16 / 10; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .thumb img { transform: scale(1.08); }
.blog-card h3 { font-size: 21px; margin-bottom: 12px; }
.blog-card p { font-size: 13.5px; color: #dfe4e6; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-family: var(--font-ui); font-size: 14px; }
.read-more { color: var(--peach); text-decoration: underline; text-underline-offset: 3px; }
.blog-slider .slick-list { margin: 0 -10px; }

/* Slick dots shared */
.slick-dots { position: static; margin-top: 30px; }
.slick-dots li button::before { color: #fff; font-size: 10px; opacity: .35; }
.slick-dots li.slick-active button::before { color: var(--gold); opacity: 1; }

/* ---------- Testimonials ---------- */
.testi-slider { margin: 0 20px; }
.testi-slider .slick-list { padding: 0 60px !important; }
.testi-row + .testi-row { margin-top: 18px; }
.testi-card {
  background: #fff;
  color: #6b7378;
  border-radius: 10px;
  padding: 24px 26px 18px;
  margin: 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
}
.testi-card p { color: #6b7378; margin-bottom: 18px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-user img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testi-initials {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  background: var(--slate); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 20px; letter-spacing: .5px;
}
.testi-user h4 { font-size: 17px; color: #1d2a30; margin: 0; }
.testi-user span { font-size: 12.5px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 34px 0 40px; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-list .ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--slate);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--peach); font-size: 17px; flex-shrink: 0;
}
.contact-list small { display: block; font-size: 11px; color: #9aa4a9; letter-spacing: .5px; }
.contact-list span { font-size: 14px; }
.follow-title { font-family: var(--font-head); font-size: 22px; color: var(--gold); }
.follow-title em { font-style: italic; }
.social-boxes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-boxes a {
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  padding: 7px 18px;
  min-width: 100px;
  text-align: center;
  transition: background .3s, color .3s;
}
.social-boxes a:hover { background: var(--gold); color: #12181c; }

.theme-form .form-control {
  background: var(--card-2);
  border: 1px solid #2c373e;
  color: #fff;
  border-radius: 2px;
  padding: 16px 18px;
  font-size: 14px;
}
.theme-form .form-control::placeholder { color: #c3cace; }
.theme-form .form-control:focus { background: var(--card-2); color: #fff; border-color: var(--gold); box-shadow: none; }
.theme-form textarea.form-control { min-height: 160px; resize: vertical; }
.form-note { font-size: 13px; color: #d8dde0; margin: 14px 0 22px; }

/* ---------- FAQ ---------- */
.faq-wrap { position: relative; padding: 70px 0 0; }
.faq-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 75%;
  background: var(--card);
  border-radius: 14px;
}
.faq-wrap > * { position: relative; }
.faq-box { background: #020a0e; border-radius: 14px; padding: 40px 64px 50px; max-width: 1000px; margin: 50px auto 0; }
.faq-box .accordion-item { background: transparent; border: 0; border-bottom: 1px solid #8a9599; border-radius: 0; }
.faq-box .accordion-button {
  background: transparent;
  color: #fff;
  font-family: var(--font-head);
  font-size: 19px;
  padding: 26px 30px 18px 0;
  box-shadow: none;
}
.faq-box .accordion-button::after {
  content: "\F64D";
  font-family: "bootstrap-icons";
  background: none;
  color: var(--gold);
  font-size: 22px;
  width: auto; height: auto;
  transition: transform .3s;
}
.faq-box .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq-box .accordion-body { padding: 0 0 18px; color: #dfe4e6; font-size: 14px; }

/* ---------- About author page ---------- */
.about-card { background: var(--card); border-radius: 14px; padding: 80px 110px 90px; }
.about-card h2 { font-size: clamp(36px, 4vw, 54px); }
.about-card p { font-size: 14.5px; }
.img-stats { position: relative; padding-bottom: 40px; }
.img-stats .rounded-img { aspect-ratio: 1 / .95; object-fit: cover; }
.stats-glass {
  position: absolute;
  left: -90px;
  bottom: 0;
  background: rgba(70, 84, 92, .92);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 22px 30px;
  margin: 0;
}
.stats-glass .num { font-size: 50px; }

/* ---------- About Book page ---------- */
.book-img-box { border-radius: 4px; overflow: hidden; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 22px; margin-bottom: 12px; font-size: 14.5px; }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.amazon-logo { width: 130px; margin: 30px auto 0; }

/* ---------- Blog detail ---------- */
.crumbs { font-family: var(--font-ui); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: 10px; margin: 0 8px; }
.inner-content h1.post-title { font-size: clamp(34px, 4.4vw, 58px); max-width: 900px; margin: 0 auto; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 26px; font-family: var(--font-ui); font-size: 14px; color: #e8ecee; }
.post-meta i { color: var(--gold); margin-right: 6px; }

.post-cover { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 46px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { font-size: 16.5px; line-height: 1.8; }
.post-body p { color: #dfe4e6; margin-bottom: 20px; }
.post-body .dropcap::first-letter { float: left; font-family: var(--font-head); font-size: 78px; line-height: .8; color: var(--gold); padding: 8px 12px 0 0; }
.post-body .lead-text { font-family: var(--font-head); font-size: 23px; font-style: italic; line-height: 1.5; color: #fff; border-left: 2px solid var(--gold); padding-left: 24px; margin: 32px 0 36px; }
.post-body h2 { font-size: clamp(28px, 3vw, 38px); margin: 50px 0 18px; }
.post-body h3 { font-size: 25px; margin: 32px 0 12px; }
.post-body h2.step,
.post-body h3.step { display: flex; align-items: baseline; gap: 14px; }
.step-num { font-family: var(--font-head); font-size: 1.15em; color: var(--gold); flex-shrink: 0; }
.post-body .btn-theme { white-space: normal; text-align: left; }
.post-cta {
  display: flex;
  align-items: center;
  gap: 34px;
  background: var(--card);
  border: 1px solid rgba(201, 169, 92, .3);
  border-radius: 14px;
  padding: 34px 38px;
  margin: 36px 0 40px;
}
.post-cta img { width: 130px; flex-shrink: 0; box-shadow: 0 20px 40px rgba(0, 0, 0, .55); }
.post-cta h3 { font-size: 32px; margin: 6px 0 8px; }
.post-cta h3 em { color: var(--gold); }
.post-cta p { font-size: 14.5px; margin-bottom: 20px; }
.post-signoff { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.post-signoff p { font-family: var(--font-head); font-size: 23px; font-style: italic; color: #fff; line-height: 1.5; }
.signature { font-family: var(--font-script); font-size: 58px; color: var(--gold); line-height: 1; }
.post-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; font-family: var(--font-ui); font-size: 14px; }
.post-share span { margin-right: 6px; }
.post-share a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, color .3s;
}
.post-share a:hover { background: var(--gold); border-color: var(--gold); color: #12181c; }

.post-sidebar { position: sticky; top: 30px; display: flex; flex-direction: column; gap: 24px; }
.side-card { background: var(--card); border-radius: 14px; padding: 30px 28px; }
.side-card h4 { font-size: 26px; margin-bottom: 22px; }
.side-book { text-align: center; }
.side-book img { width: 150px; margin: 0 auto 22px; box-shadow: 0 20px 40px rgba(0, 0, 0, .55); }
.side-book p { font-size: 14px; color: #d4d9dc; }
.side-post { display: flex; align-items: center; gap: 14px; }
.side-post + .side-post { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-post img { width: 86px; height: 66px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.side-post h5 { font-size: 18px; line-height: 1.25; margin: 0 0 4px; }
.side-post span { font-family: var(--font-ui); font-size: 12px; color: #9aa4a9; }

.author-box { background: var(--card); border-radius: 14px; padding: 70px 80px; }
.author-photo { position: relative; max-width: 400px; margin: 0 auto; }
.author-photo::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--gold);
  border-radius: 14px;
}
.author-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 14px; }
.author-box h2 { font-size: clamp(34px, 4vw, 50px); margin: 8px 0 22px; }
.author-box p { font-size: 15px; color: #dfe4e6; }
.author-box .signature { display: block; margin: 6px 0 26px; font-size: 46px; }

/* ---------- Thank you ---------- */
.thanks-card { background: var(--card); border-radius: 14px; padding: 70px 40px; text-align: center; max-width: 760px; margin: 0 auto; }
.thanks-card .tick {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--gold); color: #12181c; font-size: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  animation: pop .7s ease;
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ---------- Get Started Modal ---------- */
.modal-backdrop.show { opacity: .8; background: #000; }
.theme-modal .modal-dialog { max-width: 920px; padding: 0 12px; }
.theme-modal .modal-content {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.theme-modal.fade .modal-dialog { transform: translateY(40px) scale(.96); transition: transform .4s ease; }
.theme-modal.show .modal-dialog { transform: none; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: #12181c;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s, background .3s;
}
.modal-close:hover { transform: rotate(90deg); background: #d8b86a; }
.modal-side {
  position: relative;
  background: linear-gradient(160deg, #22303a 0%, #0b151a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 34px;
  text-align: center;
}
.modal-side::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 169, 92, .35);
  border-radius: 10px;
  pointer-events: none;
}
.modal-book { width: 200px; box-shadow: 0 25px 45px rgba(0, 0, 0, .6); margin-bottom: 26px; animation: floatY 5s ease-in-out infinite; }
.modal-side-text p { font-size: 14px; color: #d4d9dc; margin: 8px 0 0; }
.modal-form-wrap { padding: 50px 44px 44px; }
.modal-eyebrow { font-family: var(--font-ui); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.modal-form-wrap h2 { font-size: 46px; margin: 6px 0 10px; }
.modal-sub { font-size: 14px; color: #d4d9dc; margin-bottom: 24px; }
.theme-modal .theme-form .form-control { padding: 13px 16px; }
.theme-modal .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c9a95c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 10px;
  padding-right: 44px;
  color: #c3cace;
}
.theme-modal .form-select:valid { color: #fff; }
.theme-modal .form-select option { background: var(--card); color: #fff; }

@media (max-width: 767.98px) {
  .modal-side { display: none; }
  .modal-form-wrap { padding: 56px 22px 28px; }
  .modal-form-wrap h2 { font-size: 36px; }
}

/* ---------- Newsletter + Footer ---------- */
.site-footer { background: #182127; margin-top: 20px; }
.newsletter { padding: 60px 0; border-bottom: 1px solid #2c373e; }
.newsletter h3 { font-family: "Space Grotesk", var(--font-ui); font-size: 26px; font-weight: 500; line-height: 1.3; margin: 0; }
.news-form { display: flex; background: #fff; padding: 4px; max-width: 400px; }
.news-form input { flex: 1; border: 0; outline: 0; padding: 10px 12px; font-family: var(--font-ui); font-size: 14px; min-width: 0; }
.news-form button { background: var(--peach); border: 0; padding: 10px 28px; font-family: var(--font-ui); font-size: 14px; transition: background .3s; }
.news-form button:hover { background: var(--gold); }
.footer-main { padding: 50px 0 30px; }
.site-footer h5 { font-family: var(--font-ui); font-size: 17px; font-weight: 500; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; max-width: 200px; }
.footer-links li { margin-bottom: 12px; font-family: var(--font-ui); font-size: 14px; }
.site-footer .brand-logo { color: #fff; }
.site-footer .brand-logo svg path { stroke: #fff; }
.footer-about { font-family: var(--font-ui); font-size: 13.5px; color: #d4d9dc; max-width: 330px; margin: 10px auto 0; line-height: 1.5; }
.footer-contact { font-family: var(--font-ui); font-size: 14px; }
.footer-contact a { display: block; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #2c373e; padding: 20px 0; font-family: var(--font-ui); font-size: 13.5px; }
.footer-social { display: flex; gap: 30px; flex-wrap: wrap; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #12181c;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; z-index: 50;
  opacity: 0; visibility: hidden; transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { color: #12181c; transform: translateY(-3px); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199.98px) {
  .top-bar { padding: 10px 30px; }
  .top-actions { gap: 30px; }
  .site-nav .nav-link { padding: 8px 14px !important; }
  .about-card { padding: 60px 50px; }
  .stats-glass { left: -60px; }
}

@media (max-width: 991.98px) {
  .section { padding: 70px 0; }
  .top-contact { display: none; }
  .site-nav { padding-top: 76px; }
  .site-nav .navbar-collapse {
    background: rgba(3, 12, 16, .96);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    margin-top: 14px;
  }
  .site-nav .nav-link::after { display: none; }
  .btn-excerpt { margin: 10px 0 0; display: inline-block; }
  .hero { min-height: auto; }
  .hero-content { padding: 40px 0 60px; text-align: center; }
  .hero-content p { margin: 0 auto; }
  .hero-btns { justify-content: center; }
  .hero-book { margin: 40px auto 0; }
  .hero.inner { min-height: 440px; }
  .book-card { clip-path: none; padding: 50px 30px; }
  .book-card .cover { margin: 0 auto 30px; }
  .stats-glass { position: static; margin-top: 20px; }
  .faq-box { padding: 24px 24px 34px; }
  .post-sidebar { position: static; margin-top: 20px; }
  .author-box { padding: 50px 34px; }
  .author-photo { margin-bottom: 30px; }
}

@media (max-width: 767.98px) {
  body { font-size: 14.5px; }
  .section { padding: 56px 0; }
  .top-bar { width: calc(100% - 24px); padding: 8px 16px; border-radius: 0 0 14px 14px; }
  .brand-logo { font-size: 17px; letter-spacing: .5px; }
  .post-body { font-size: 15.5px; }
  .post-body .lead-text, .post-signoff p { font-size: 20px; }
  .post-cta { flex-direction: column; text-align: center; padding: 30px 22px; gap: 20px; }
  .author-box { padding: 40px 22px; }
  .author-photo { max-width: 300px; }
  .author-photo::before { inset: 12px -12px -12px 12px; }
  .top-bar .btn-theme { padding: 3px 3px 3px 14px; gap: 10px; font-size: 12px; }
  .hero-wrap { padding: 18px 12px 0; }
  .site-nav { padding-top: 64px; }
  .script-logo { font-size: 28px; }
  .stats { flex-wrap: wrap; row-gap: 16px; }
  .stat { padding: 0 18px; }
  .stat .num { font-size: 44px; }
  .about-card { padding: 40px 22px; }
  .testi-slider { margin: 0; }
  .testi-slider .slick-list { padding: 0 30px !important; }
  .newsletter { text-align: center; }
  .news-form { margin: 20px auto 0; }
  .footer-main { text-align: center; }
  .footer-links { margin: 0 auto; text-align: left; }
  .footer-bottom { text-align: center; }
  .footer-social { justify-content: center; gap: 18px; margin-top: 10px; }
  .faq-box .accordion-button { font-size: 17px; }
  .divider { margin: 0 12px; }
}

@media (max-width: 400px) {
  .top-bar .btn-theme span.txt { display: none; }
  .top-bar .btn-theme { padding: 3px; }
  .btn-theme { padding-left: 20px; gap: 12px; }
}
