/* ==========================================================================
   Saint Markus Store — main styles
   Matches the author website: midnight navy, gold Cinzel headings,
   electric-blue accents and glowing cards.
   ========================================================================== */

:root {
  --bg: #0d1424;
  --bg-2: #101827;
  --surface: #141e33;
  --surface-2: #1a2640;
  --surface-3: #22304f;
  --line: rgba(146, 172, 222, .16);
  --line-strong: rgba(146, 172, 222, .28);
  --text: #e8edf7;
  --text-soft: #c3cce0;
  --muted: #8f9cb8;
  --gold: #d9aa4b;
  --gold-light: #ecc674;
  --gold-dark: #b38630;
  --blue: #168bff;
  --blue-light: #4ea6ff;
  --blue-glow: rgba(22, 139, 255, .35);
  --success: #3fbf7f;
  --danger: #ef6a5a;

  /* Legacy names used by plugin styles. */
  --navy-950: #080d18;
  --navy-900: #0d1424;
  --navy-800: #141e33;
  --navy-700: #1a2640;
  --navy-600: #22304f;
  --navy-300: #8f9cb8;
  --gold-600: #d9aa4b;
  --gold-500: #d9aa4b;
  --gold-400: #ecc674;
  --gold-100: rgba(217, 170, 75, .14);
  --cream-50: #0d1424;
  --cream-100: #1a2640;
  --white: #141e33;
  --ink: #e8edf7;
  --ink-soft: #c3cce0;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
  --shadow-book: 0 30px 60px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .04);
  --glow: 0 0 0 1px rgba(22, 139, 255, .45), 0 0 28px -6px rgba(22, 139, 255, .45);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font: 400 16px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; color: var(--text); }
p { margin: 0 0 1em; }
strong { color: var(--text); }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
  top: 8px; left: 8px; padding: 10px 16px; background: var(--surface); color: var(--text);
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.eyebrow {
  font: 600 .74rem/1.3 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin: 0 0 .9rem;
}

/* Glow cards (author-site style) */
.glow-card {
  background: linear-gradient(180deg, rgba(26, 38, 64, .92), rgba(20, 30, 51, .92));
  border: 1px solid rgba(22, 139, 255, .35);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 26px -10px rgba(22, 139, 255, .45);
}
.glow-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(22, 139, 255, .45); box-shadow: 0 0 40px -10px rgba(22, 139, 255, .6); }
.icon-badge {
  display: inline-flex; width: 48px; height: 48px; border-radius: 999px; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; box-shadow: 0 0 20px -2px var(--blue-glow);
}

/* ---------- Buttons ---------- */
.btn,
.button,
button.button,
input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.7em;
  font: 600 .9rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:active, .button:active { transform: translateY(1px); }
.btn-primary, .btn-gold { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: var(--blue-light); border-color: var(--blue-light); color: #fff; box-shadow: 0 0 24px -4px var(--blue-glow); }
.btn-ghost, .btn-outline { background: transparent; color: #fff; border-color: var(--blue); }
.btn-ghost:hover, .btn-outline:hover { background: rgba(22, 139, 255, .14); color: #fff; box-shadow: 0 0 20px -6px var(--blue-glow); }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .78rem; }
.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold-dark); padding-bottom: 2px;
}
.text-link:hover { color: var(--gold-light); }
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Announcement + header ---------- */
.announcement {
  background: #070b15; color: var(--gold-light);
  font-size: .78rem; letter-spacing: .06em; text-align: center; padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 20, 36, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.site-logo { display: inline-flex; flex-shrink: 0; }
.header-logo img { height: 58px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .55rem .95rem; border-radius: 4px;
  color: var(--gold); text-decoration: none; font-weight: 500; font-size: .95rem;
  border: 1px solid transparent; transition: color .2s, border-color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--gold-light); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: #fff; border-color: var(--blue); box-shadow: 0 0 14px -6px var(--blue-glow); }
.site-nav .sub-menu { display: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent;
  color: var(--text-soft); cursor: pointer; text-decoration: none;
}
.header-icon:hover { color: var(--gold-light); background: rgba(255, 255, 255, .05); }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--blue); color: #fff;
  font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count.is-empty { display: none; }
.menu-toggle, .nav-close { display: none; }
.header-search { background: var(--surface); border-top: 1px solid var(--line); padding: 14px 0; }
.header-search form { display: flex; gap: 10px; }
.header-search input[type="search"] {
  flex: 1; min-height: 48px; padding: 0 18px; border-radius: 4px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit;
}
.header-search input::placeholder { color: var(--muted); }

@media (max-width: 900px) {
  .header-inner { gap: 8px; min-height: 64px; }
  .menu-toggle { display: inline-flex; }
  .header-logo { margin: 0 auto; }
  .header-logo img { height: 44px; }
  .site-nav {
    position: fixed; inset: 0 auto 0 0; width: min(84vw, 340px); z-index: 200;
    background: var(--bg-2); padding: 72px 20px 24px; margin: 0; border-right: 1px solid var(--line);
    transform: translateX(-100%); transition: transform .3s var(--ease); overflow-y: auto;
  }
  .menu-open .site-nav { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .6); }
  .site-nav .menu { flex-direction: column; gap: 4px; }
  .site-nav a { font-size: 1.1rem; padding: .85rem 1rem; }
  .nav-close { display: inline-flex; position: absolute; top: 14px; right: 14px; }
  .nav-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(3, 6, 12, .7); }
  .menu-open { overflow: hidden; }
  .header-actions [data-search-toggle] { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text);
  background: var(--bg) var(--hero-img) center / cover no-repeat;
  min-height: min(84vh, 760px); display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(8, 12, 22, .55), rgba(8, 12, 22, .82) 70%),
    linear-gradient(180deg, rgba(13, 20, 36, .35) 0%, rgba(13, 20, 36, .2) 50%, var(--bg) 100%);
}
.hero-inner { position: relative; text-align: center; max-width: 900px; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.4rem); text-shadow: 0 4px 30px rgba(0, 0, 0, .6); margin-bottom: .2em; }
.hero-subtitle { font: 600 clamp(1rem, 2vw, 1.35rem)/1.4 var(--font-display); color: var(--gold-light); letter-spacing: .04em; margin-bottom: 1.2em; }
.hero-text { font-size: clamp(1rem, 1.5vw, 1.12rem); color: #d7deee; max-width: 44em; margin: 0 auto; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 32px 0 30px; }
.hero-formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.hero-formats li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(13, 20, 36, .6); border: 1px solid var(--line-strong); color: var(--text-soft);
}
.hero-formats .icon { color: var(--gold); }

/* Trust strip */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.trust-grid > div + div { border-left: 1px solid var(--line); }
.trust-grid .icon { color: var(--blue-light); flex-shrink: 0; }
.trust-grid span { display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.trust-grid strong { font-size: .92rem; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(3) { border-left: 0; }
  .trust-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); }
.section-head h2 { margin: 0 0 .4em; }
.section-head p:last-child { color: var(--muted); margin: 0; }

/* Volumes */
.volume-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.volume-list .volume-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 12px); justify-self: center; width: 100%; }
@media (max-width: 860px) {
  .volume-list { grid-template-columns: minmax(0, 1fr); }
  .volume-list .volume-card:last-child:nth-child(odd) { max-width: none; }
}
.volume-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; padding: 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.volume-card:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.volume-card__cover img { width: 100%; border-radius: 3px 6px 6px 3px; box-shadow: var(--shadow-book); }
.volume-card__meta { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-light); margin: 0 0 6px; }
.volume-card__meta span { color: var(--muted); margin: 0 4px; }
.volume-card h3 { font-size: 1.25rem; color: var(--gold); margin-bottom: .45em; }
.volume-card h3 a { color: inherit; text-decoration: none; }
.volume-card h3 a:hover { color: var(--gold-light); }
.volume-card__blurb { font-size: .92rem; color: var(--text-soft); margin-bottom: 16px; }
.volume-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.volume-card__price { font-weight: 600; color: var(--text); }
.volume-card__price del { color: var(--muted); font-weight: 400; margin-right: 4px; }
.volume-card__price ins { text-decoration: none; }
@media (max-width: 480px) { .volume-card { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 16px; } }

/* Book cards (shop) */
.book-grid, ul.products {
  display: grid; gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.book-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 640px) { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
.book-card { position: relative; display: flex; flex-direction: column; }
.book-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.book-card__cover {
  position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 3px 6px 6px 3px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-book);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.book-card__cover::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7%;
  background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .08) 60%, transparent);
}
.book-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-card__link:hover .book-card__cover { transform: translateY(-6px); box-shadow: var(--shadow-book), 0 0 34px -8px var(--blue-glow); }
.book-card__body { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.book-card__label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-light); }
.book-card__title { font: 600 1.05rem/1.3 var(--font-display); color: var(--gold); }
.book-card__price { font-size: .92rem; color: var(--text); font-weight: 500; }
.book-card__price del { color: var(--muted); font-weight: 400; margin-right: 4px; }
.book-card__price ins { text-decoration: none; }
.book-card__formats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.book-card__actions { margin-top: 12px; }
.chip {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: .68rem; font-weight: 500; color: var(--text-soft); background: var(--surface-2); border: 1px solid var(--line);
}
.chip--soon { color: var(--muted); border-style: dashed; background: transparent; }
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(217, 170, 75, .14); color: var(--gold);
}
.badge--sale { position: absolute; top: 10px; left: 12px; background: var(--gold); color: #10182a; }
.price-soon { color: var(--muted); font-style: italic; }

/* Complete edition feature */
.feature { position: relative; overflow: hidden; }
.feature::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background: var(--feature-img) right center / auto 130% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
}
.feature-inner { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); }
.feature-art img { width: min(320px, 100%); margin: 0 auto; border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-book), 0 0 50px -10px var(--blue-glow); }
.feature-price { font: 600 1.4rem/1.2 var(--font-display); color: var(--gold); margin: 18px 0 22px; }
.feature-price del { color: var(--muted); font-size: .8em; }
.feature-price ins { text-decoration: none; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.check-list .icon { color: var(--blue-light); flex-shrink: 0; }
@media (max-width: 760px) {
  .feature-inner { grid-template-columns: 1fr; text-align: center; }
  .feature-art img { width: 200px; }
  .check-list { justify-items: center; }
}

/* What makes it different */
.different { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.different-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 1000px; margin: 0 auto; }
.different-item { text-align: center; padding: 30px 34px; }
.different-item:nth-child(odd) { border-right: 1px solid var(--line); }
.different-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.different-item h3 { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; letter-spacing: .04em; margin: 16px 0 10px; }
.different-item p { color: var(--text-soft); font-size: .95rem; margin: 0; }
@media (max-width: 680px) {
  .different-grid { grid-template-columns: 1fr; }
  .different-item:nth-child(odd) { border-right: 0; }
  .different-item:not(:last-child) { border-bottom: 1px solid var(--line); }
}

/* Formats */
.format-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .format-grid { grid-template-columns: 1fr; } }
.format-tile { padding: 28px 24px; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.format-tile:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.format-tile h3 { margin: 16px 0 .4em; font-family: var(--font-display); color: var(--gold); }
.format-tile p { color: var(--text-soft); font-size: .92rem; margin: 0; }

/* About the book */
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { padding: clamp(24px, 4vw, 44px); }
.about-copy > p { color: var(--text-soft); }
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-art { max-width: 360px; margin: 0 auto; }
}
blockquote {
  margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold);
  font: italic 500 1.45rem/1.35 var(--font-accent); color: var(--text);
}
blockquote p { margin: 0 0 .3em; }
blockquote cite { font: normal 600 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.age-advisory { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--muted); padding: 12px 14px; border-radius: var(--radius); background: rgba(8, 12, 22, .5); border: 1px solid var(--line); margin: 0 0 22px; }
.age-badge { flex-shrink: 0; display: inline-flex; width: 36px; height: 36px; border-radius: 999px; align-items: center; justify-content: center; border: 2px solid var(--danger); color: #fff; font-weight: 700; font-size: .72rem; }

/* Testimonials */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.review { margin: 0; padding: 26px; display: flex; flex-direction: column; }
.review__stars { display: flex; gap: 2px; color: var(--gold); }
.review__stars .icon { fill: currentColor; }
.review blockquote { border: 0; padding: 0; margin: 16px 0 20px; font: 400 .98rem/1.65 var(--font-body); color: var(--text-soft); flex: 1; }
.review figcaption { font-weight: 600; color: var(--text); }
.review figcaption span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }

/* Steps */
.steps { background: var(--bg-2); border-top: 1px solid var(--line); }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; } }
.step-list li { padding: 28px; }
.step-num {
  display: inline-flex; width: 42px; height: 42px; border-radius: 999px; align-items: center; justify-content: center;
  border: 2px solid var(--blue); color: #fff; font: 700 1.05rem/1 var(--font-display); margin-bottom: 16px; box-shadow: 0 0 16px -4px var(--blue-glow);
}
.step-list h3 { color: var(--gold); font-family: var(--font-display); font-size: 1.05rem; }
.step-list p { color: var(--text-soft); margin: 0; }

/* CTA band */
.cta-band {
  position: relative; padding: clamp(64px, 10vw, 120px) 0; overflow: hidden;
  background: var(--bg) var(--cta-img) center / cover no-repeat;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 36, .78), rgba(13, 20, 36, .9)); }
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--gold); }
.cta-band p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 28px; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-bottom: 28px; }
.faq details, .entry-content details {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 22px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open], .entry-content details[open] { border-color: rgba(22, 139, 255, .5); box-shadow: 0 0 22px -10px var(--blue-glow); }
.faq summary, .entry-content details summary {
  list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative;
  font-weight: 600; color: var(--text);
}
.faq summary::-webkit-details-marker, .entry-content details summary::-webkit-details-marker { display: none; }
.faq summary::after, .entry-content details summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after, .entry-content details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p, .entry-content details p { color: var(--text-soft); padding-bottom: 18px; margin: 0; }

/* Newsletter */
.newsletter { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0; }
.newsletter h2 { margin-bottom: .2em; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 760px) { .newsletter-inner { grid-template-columns: 1fr; } }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1 1 220px; min-height: 50px; padding: 0 18px; border-radius: 4px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit;
}
.newsletter-form input[type="email"]:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(22, 139, 255, .2); }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-msg { flex-basis: 100%; font-size: .9rem; color: var(--gold); margin: 4px 0 0; }

/* Footer */
.site-footer { background: #090e1a; color: var(--muted); font-size: .92rem; padding-top: 60px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 64px; width: auto; margin-bottom: 14px; }
.site-footer h3 { font: 600 .95rem/1.2 var(--font-display); letter-spacing: .06em; color: var(--gold); margin-bottom: 18px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line-strong);
}
.social-links a:hover { border-color: var(--blue); box-shadow: 0 0 14px -4px var(--blue-glow); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center;
  padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: .8rem;
}
.footer-bottom p { margin: 0; }
.legal-menu { display: flex !important; flex-wrap: wrap; gap: 6px 18px !important; }
.payment-note { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Pages & posts ---------- */
.site-main:not(.home) { padding: clamp(32px, 5vw, 60px) 0 clamp(56px, 8vw, 96px); }
.page-header { margin-bottom: 28px; }
.page-title { margin: 0; }
.entry-content { font-size: 1.03rem; color: var(--text-soft); }
.entry-content h2 { margin-top: 1.6em; font-size: 1.6rem; }
.entry-content h3 { margin-top: 1.4em; color: var(--gold); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-quote { border-left-color: var(--gold); }
.entry-content .wp-block-button__link { border-radius: 4px; background: var(--blue); }
.entry-content details { margin-bottom: 10px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.post-card__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__meta { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font-size: 1.25rem; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-hero { margin: 0 0 28px; }
.post-hero img { border-radius: var(--radius-lg); }
.not-found { padding: 40px 0; }
.not-found .btn { margin: 6px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { padding: 8px 14px; border-radius: 4px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--text); }
.page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Forms (generic) */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"],
input[type="search"], input[type="url"], select, textarea {
  font: inherit; color: var(--text);
}
input::placeholder, textarea::placeholder { color: var(--muted); }

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