/* ============================================================
   LianGroup Website — Shared Stylesheet
   Palette: Deep Navy #1a3a5c  ·  Gold #b8882e  ·  White #fff
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:       #1a3a5c;
  --primary-dark:  #0f2340;
  --primary-light: #2a5080;
  --accent:        #b8882e;
  --accent-light:  #f5e6c8;
  --text:          #2c2c2c;
  --text-light:    #5a5a5a;
  --text-muted:    #9a9a9a;
  --bg:            #ffffff;
  --bg-light:      #f7f8fa;
  --bg-dark:       #eef0f4;
  --border:        #e0e3e8;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.14);
  --radius:        8px;
  --radius-lg:     14px;
  --nav-h:         70px;
  --max-w:         1160px;
  --font-sans:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-serif:    'Georgia', 'Times New Roman', serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; color: var(--text-light); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

/* ── Layout Helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.bg-light  { background: var(--bg-light); }
.bg-dark   { background: var(--bg-dark); }
.bg-primary { background: var(--primary); }
.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.nav-logo-sub {
  font-size: .7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-light);
}
.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.nav-lang a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.nav-lang a.active,
.nav-lang a:hover {
  color: var(--primary);
  background: var(--accent-light);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: var(--shadow);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .lang-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.nav-mobile .lang-row a {
  border: none;
  padding: 0;
  font-size: .85rem;
  color: var(--accent);
  font-weight: 700;
}

/* Page offset for fixed nav */
main { padding-top: var(--nav-h); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }
.hero .section-label { color: var(--accent-light); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, background .18s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(184,136,46,.35);
}
.btn-primary:hover {
  background: #9e7426;
  box-shadow: 0 4px 18px rgba(184,136,46,.45);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .83rem; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.card-title { font-size: 1.1rem; color: var(--primary); margin-bottom: .5rem; line-height: 1.4; }
.card-excerpt { font-size: .88rem; color: var(--text-light); }
.card-meta { font-size: .78rem; color: var(--text-muted); margin-top: 14px; }

/* ── Service Cards ──────────────────────────────────────────── */
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.service-card h3 { margin-bottom: .75rem; }
.service-card p { font-size: .92rem; }

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar { background: var(--primary); padding: 48px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ── Process Steps ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.steps-flow .step:last-child::before { color: var(--accent); }
.step-icon { font-size: 1.4rem; display: block; margin-bottom: 6px; }
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .88rem; }

/* Steps flow (homepage 5-step with arrows) */
.steps-flow {
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  margin-inline: auto;
  counter-reset: step;
}
.steps-flow .step {
  flex: 1;
  min-width: 0;
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: var(--accent);
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
@media (max-width: 900px) {
  .steps-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .step-arrow { display: none; }
  .steps-flow .step:last-child { grid-column: 1 / -1; }
}

/* ── Team ───────────────────────────────────────────────────── */
.team-card { text-align: center; }
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--bg-dark);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.1rem; color: var(--primary); font-weight: 700; }
.team-role { font-size: .85rem; color: var(--accent); font-weight: 600; }
.team-bio { font-size: .85rem; color: var(--text-light); margin-top: 8px; }

/* ── Contact Form ───────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 16px;
  font-size: .95rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,.08);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a5a5a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* ── Blog ───────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}
.blog-post-body {
  max-width: 780px;
  margin-inline: auto;
}
.blog-post-body h1 { margin-bottom: 1rem; }
.blog-post-body .post-meta {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.blog-post-body .post-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}
.blog-post-body .content h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.blog-post-body .content h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.blog-post-body .content p  { font-size: 1rem; line-height: 1.85; margin-bottom: 1.2rem; }
.blog-post-body .content img { border-radius: var(--radius); margin: 1.5rem 0; }
.blog-post-body .content ul,
.blog-post-body .content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.blog-post-body .content li { margin-bottom: .4rem; }
.blog-post-body .content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.post-lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.post-lang-toggle a {
  padding: 6px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.post-lang-toggle a.active {
  background: var(--primary);
  color: #fff;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 72px; margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; max-width: 300px; }
.footer h4 {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.footer ul a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.footer-socials a:hover { background: var(--accent); color: #fff; }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--primary);
  padding: 72px 0 60px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 560px; margin-inline: auto; }
.page-hero .breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--accent); }

/* ── Dividers & Accents ─────────────────────────────────────── */
.gold-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 24px;
}
.gold-line-left {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .gold-line-left { margin-inline: auto; }

/* ── Contact Info ───────────────────────────────────────────── */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: .9rem; margin-bottom: 2px; }
.contact-info-item p  { font-size: .88rem; margin: 0; }

/* ── Accordion (FAQ / How We Work) ─────────────────────────── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--bg);
  transition: background .2s;
  font-weight: 600;
  color: var(--primary);
  user-select: none;
}
.accordion-header:hover { background: var(--bg-light); }
.accordion-header .arrow { font-size: 1rem; transition: transform .25s; color: var(--accent); }
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 22px 18px;
  font-size: .92rem;
  color: var(--text-light);
}
.accordion-item.open .accordion-body { display: block; }

/* ── Alert / Notice ─────────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.alert-success { background: #e6f7ef; color: #1a6640; border: 1px solid #b0dfc6; }
.alert-error   { background: #fde8e8; color: #7a1a1a; border: 1px solid #f5b8b8; }

/* ── Utilities ──────────────────────────────────────────────── */
.mt-sm { margin-top: 12px; }
.mt    { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 12px; }
.mb    { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.gap-btn { display: flex; gap: 14px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: 80vh; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }

  .steps-grid { grid-template-columns: 1fr; }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .btn { width: 100%; justify-content: center; }
  .gap-btn { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Admin specific ─────────────────────────────────────────── */
.admin-body { background: #f0f2f5; min-height: 100vh; padding-top: 0; }
.admin-header {
  background: var(--primary);
  color: #fff;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-header h1 { color: #fff; font-size: 1.1rem; font-weight: 700; }
.admin-sidebar {
  width: 240px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  overflow-y: auto;
}
.admin-layout {
  display: flex;
  min-height: calc(100vh - 60px);
}
.admin-main { flex: 1; overflow-y: auto; padding: 24px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: .9rem;
  color: var(--text-light);
  text-decoration: none;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--bg-light);
  color: var(--primary);
  border-left-color: var(--accent);
}
.article-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.article-list-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.article-list-item .ali-title { font-weight: 600; font-size: .9rem; color: var(--primary); }
.article-list-item .ali-date  { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.editor-pane {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.editor-pane-header {
  padding: 12px 18px;
  background: var(--bg-dark);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.editor-panes { display: flex; gap: 16px; }
.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}
.rich-toolbar button {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  transition: background .15s;
}
.rich-toolbar button:hover { background: var(--accent-light); }
.rich-editor {
  min-height: 320px;
  padding: 16px;
  outline: none;
  font-family: var(--font-sans);
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text);
}
.rich-editor:empty::before { content: attr(data-placeholder); color: var(--text-muted); }

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 32px; height: 32px;
  border: 3px solid var(--bg-dark);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
}

/* ── service-list — bullet list inside service cards ─────────── */
.service-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.service-list li {
  font-size: .92rem;
  color: var(--text-light);
  padding: 7px 0;
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}
.service-list li:last-child { border-bottom: none; }

/* ── price-tag / price-badge — inside service cards ─────────── */
.price-tag {
  margin: 16px 0 0;
  line-height: 1.2;
}
.price-tag strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.price-tag span {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}
.price-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .pricing-3col { grid-template-columns: 1fr !important; max-width: 400px; margin-inline: auto; }
}

/* ── Newsletter ─────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
}
.newsletter-section .section-label { color: var(--accent-light); }
.newsletter-section h2 { color: #fff; margin-bottom: .5rem; }
.newsletter-section .gold-line { margin-inline: auto; }
.newsletter-section > .container > p {
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.newsletter-form {
  max-width: 540px;
  margin-inline: auto;
}
.newsletter-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.newsletter-input-row input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-input-row input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.newsletter-input-row input[type="email"]:focus { border-color: var(--accent); }
.newsletter-input-row button {
  white-space: nowrap;
  padding: 12px 24px;
}
.gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}
.gdpr-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.gdpr-consent span {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  text-align: left;
}
.gdpr-consent span a { color: var(--accent-light); text-decoration: underline; }
.gdpr-note {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin-bottom: 0;
}
.newsletter-success {
  text-align: center;
  padding: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  color: #fff;
}
.newsletter-success h3 { color: var(--accent-light); margin-bottom: .5rem; }
@media (max-width: 520px) {
  .newsletter-input-row { flex-direction: column; }
  .newsletter-input-row button { width: 100%; }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .nav, .footer, .btn { display: none; }
  main { padding-top: 0; }
}
