/* ========================================
   howmuchinchina.com — Guangzhou Click LTD
   Design v3 — Impeccable Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

/* Accessibility */
.skip-link { position: absolute; top: -100px; left: 8px; background: var(--navy); color: var(--white); padding: 8px 16px; z-index: 10000; border-radius: 0 0 6px 6px; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

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

:root {
  --red: #C62828;
  --red-dark: #8E0000;
  --red-light: #EF5350;
  --gold: #D4A017;
  --gold-light: #F5D76E;
  --gold-pale: #FFF8E1;
  --navy: #0e1a2a;
  --navy-light: #182736;
  --navy-mid: #18202e;
  --navy-deep: #0a1628;
  --navy-dark: #0d1f3c;
  --bg-light-navy: #e8ecf3;
  --bg-warm-grey: #ebeae6;
  --text-primary: #15171a;
  --text-secondary: #3d4045;
  --text-muted: #5f6368;
  --border-light: #e3e3e5;
  --gray-200: #e8e8ea;
  --gray-500: #5f6368;
  --gray-600: #3d4045;
  --surface-light: #f5f4f2;
  --surface: #faf9f7;
  --white: #fdfdfc;
  --shadow-sm: 0 1px 3px rgba(14,26,42,0.06), 0 1px 2px rgba(14,26,42,0.04);
  --shadow: 0 4px 6px rgba(14,26,42,0.05), 0 2px 4px rgba(14,26,42,0.04);
  --shadow-md: 0 10px 25px rgba(14,26,42,0.08), 0 4px 10px rgba(14,26,42,0.04);
  --shadow-lg: 0 20px 50px rgba(14,26,42,0.10), 0 8px 20px rgba(14,26,42,0.05);
  --shadow-xl: 0 25px 60px rgba(14,26,42,0.12);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --max-w: 1200px;
  --transition: 0.28s cubic-bezier(0.25, 0.1, 0.25, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-light-navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { text-wrap: balance; }
a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
p { max-width: 68ch; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0; transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, #C5960F 100%); color: var(--navy); box-shadow: 0 4px 15px rgba(212,160,23,0.3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,160,23,0.4); color: var(--navy); }
.btn-large { padding: 18px 40px; font-size: 1.05rem; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1DA851; color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.35); }
.btn-red { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: var(--white); box-shadow: 0 4px 15px rgba(198,40,40,0.25); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(198,40,40,0.4); color: white; }

/* ========== HEADER ========== */
.site-header {
  background: rgba(253,253,252,0.97);
  border-bottom: 1px solid rgba(14,26,42,0.06);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.logo-img { height: 104px; width: auto; border-radius: 6px; }
.logo:hover { color: var(--red); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 500; font-size: 0.9rem; color: var(--text-secondary); position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--red); border-radius: 2px; transition: width var(--transition); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover, .nav a.active { color: var(--red); }
.nav-affiliate { margin-left: 8px; padding-left: 20px; border-left: 1px solid var(--border-light); color: var(--gold) !important; font-weight: 600; }
.nav-affiliate::after { background: var(--gold) !important; }
.nav-affiliate:hover, .nav-affiliate.active { color: var(--gold-dark) !important; }
.nav .btn { padding: 10px 24px; font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%);
  color: var(--white);
  text-align: center;
  padding: 120px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; padding: 6px 18px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 6px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem; font-weight: 400; line-height: 1.12;
  margin-bottom: 20px; letter-spacing: -0.01em;
  color: var(--white);
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p { font-size: 1.1rem; opacity: 0.78; max-width: 560px; margin: 0 auto 40px; line-height: 1.68; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 60px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: 'Playfair Display', Georgia, serif; font-size: 2.6rem; font-weight: 400; color: var(--gold-light); line-height: 1; }
.hero-stat .lbl { font-size: 0.82rem; opacity: 0.65; margin-top: 6px; font-weight: 500; letter-spacing: 0.02em; }

/* ========== SECTION HEADERS ========== */
.section { padding: 100px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%); color: var(--white); padding: 100px 0; }
.section-dark .section-label { background: rgba(212,160,23,0.15); color: var(--gold-light); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(253,253,252,0.6); }
.section-dark .split-text h2 { color: var(--white); }
.section-dark .split-text p { color: rgba(253,253,252,0.7); }
.section-dark .feature-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: var(--white); }
.section-dark .feature-item h4 { color: var(--white); }
.section-dark .feature-item p { color: rgba(253,253,252,0.65); }
.section-label {
  display: inline-block; padding: 5px 14px;
  background: rgba(198,40,40,0.07);
  color: var(--red); border-radius: 6px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem; font-weight: 400; text-align: center;
  margin-bottom: 16px; color: var(--text-primary);
  letter-spacing: -0.01em; line-height: 1.2;
}
.section-sub {
  text-align: center; font-size: 1.02rem; color: var(--text-muted);
  margin-bottom: 56px; max-width: 540px; margin-left: auto; margin-right: auto;
}

/* ========== STATS ========== */
.stats { 
  padding: 0; margin-top: -40px; position: relative; z-index: 2;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: var(--max-w); margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.stat-card {
  padding: 40px 24px; text-align: center;
  border-right: 1px solid var(--border-light);
  transition: var(--transition);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--surface); }
.stat-icon { font-size: 1.8rem; margin-bottom: 12px; }
.stat-number { font-family: 'Playfair Display', Georgia, serif; font-size: 2.8rem; font-weight: 400; color: var(--red); line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; font-weight: 500; }

/* ========== TRUSTED BY ========== */
.trusted-section { padding: 64px 0; text-align: center; background: var(--white); border-bottom: 1px solid var(--border-light); }
.trusted-section .section-label { margin-bottom: 28px; }
.trusted-logos-wrap { position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; height: 54px; }
.trusted-logos { 
  display: flex;
  height: 100%;
  width: fit-content;
}
.trusted-logo {
  flex-shrink: 0; height: 54px; width: auto; max-width: 240px;
  padding: 0 40px;
}

/* ========== WHO WE SERVE — Segment Cards ========== */
.segments-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.segment-card {
  background: var(--white); padding: 36px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  transition: all var(--transition); text-align: center;
  position: relative; overflow: hidden;
}
.segment-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--red) 0%, var(--gold) 100%);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--transition);
}
.segment-card:hover::after { transform: scaleX(1); }
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.segment-icon { font-size: 2.8rem; margin-bottom: 16px; }
.segment-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.segment-card > p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 18px; min-height: 72px; }
.segment-list { 
  list-style: none; padding: 0; margin: 0; text-align: left;
  border-top: 1px solid var(--border-light); padding-top: 16px;
}
.segment-list li {
  font-size: 0.82rem; color: var(--text-secondary); padding: 6px 0 6px 20px;
  position: relative; line-height: 1.5;
}
.segment-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--red);
  font-weight: 700; font-size: 0.75rem;
}

/* ========== WHAT SETS US APART ========== */
/* ========== APART SCROLLING STRIP ========== */
.apart-strip-wrap {
  overflow: hidden; position: relative;
  height: 420px;
}
@media (max-width: 600px) {
  .apart-strip-wrap { height: 380px; }
}
.apart-strip-track {
  display: flex; flex-direction: column; gap: 16px;
  animation: apartScrollUp 22s linear infinite;
}
.apart-strip-track .apart-item {
  flex: 0 0 auto; min-width: 0; width: 100%;
  margin: 0;
  display: flex; gap: 16px; align-items: flex-start;
}
@keyframes apartScrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Keep original grid as fallback */
.apart-grid { 
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; 
}
.apart-item {
  display: flex; gap: 24px; align-items: flex-start;
  position: relative;
}
.apart-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem; font-weight: 400; color: rgba(198,40,40,0.15);
  line-height: 1; min-width: 56px;
  margin-top: -8px;
}
.apart-text h3 { font-size: 1.08rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; line-height: 1.3; }
.apart-text p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ========== SERVICES GRID ========== */
/* ========== SERVICES SCROLLING STRIP ========== */
.services-strip-wrap {
  overflow: hidden; position: relative;
  width: 100%;
}
.services-strip-track {
  display: flex; gap: 20px;
  animation: scrollServices 25s linear infinite;
  width: fit-content;
}
.services-strip-track .service-card {
  flex: 0 0 280px; min-width: 0;
  margin: 0;
}
@media (max-width: 600px) {
  .services-strip-track .service-card {
    flex: 0 0 260px; min-width: 0;
  }
}

/* Keep original grid as fallback if needed */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); padding: 40px 32px 36px; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: all var(--transition);
  border: 1px solid var(--border-light); border-top: 4px solid;
  position: relative;
}
.services-grid .service-card {
  display: flex; flex-direction: column;
}
.services-grid .service-card > div:last-of-type {
  margin-top: auto;
}
.service-card:nth-child(1) { border-top-color: #C62828; }
.service-card:nth-child(2) { border-top-color: #D4A017; }
.service-card:nth-child(3) { border-top-color: #0e1a2a; }
.service-card:nth-child(4) { border-top-color: #8E0000; }
.service-card:nth-child(5) { border-top-color: #C5960F; }
.service-card:nth-child(6) { border-top-color: #18202e; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card::before { display: none; }
.service-icon { 
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-card:nth-child(1) .service-icon { background: rgba(198,40,40,0.10); }
.service-card:nth-child(2) .service-icon { background: rgba(212,160,23,0.10); }
.service-card:nth-child(3) .service-icon { background: rgba(14,26,42,0.08); }
.service-card:nth-child(4) .service-icon { background: rgba(142,0,0,0.08); }
.service-card:nth-child(5) .service-icon { background: rgba(197,150,15,0.08); }
.service-card:nth-child(6) .service-icon { background: rgba(24,32,46,0.06); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; color: var(--text-primary); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ========== IMAGE + TEXT SPLIT ========== */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.split-image img { width: 100%; max-height: 500px; object-fit: cover; }
.why-us-images { display: flex; gap: 12px; }
.why-us-images img { width: 50%; max-height: 600px; object-fit: cover; object-position: top; }
.split-text h2 { 
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem; margin-bottom: 20px; color: var(--navy);
}
.split-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.split-text .btn { margin-top: 16px; }

/* ========== FEATURES / WHY US ========== */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  transition: var(--transition);
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-icon {
  width: 52px; height: 52px; min-width: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,160,23,0.15) 0%, rgba(212,160,23,0.05) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.feature-item h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--navy); }
.feature-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ========== STATS BANNER ========== */
.stats-banner {
  background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%);
  padding: 56px 0; margin-top: -1px;
}
.stats-banner-grid {
  display: flex; justify-content: center; align-items: center; gap: 0;
  max-width: 900px; margin: 0 auto;
}
.stats-banner-item { text-align: center; flex: 1; }
.stats-banner-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem; font-weight: 400; color: var(--gold-light);
  line-height: 1;
}
.stats-banner-lbl {
  font-size: 0.82rem; color: rgba(253,253,252,0.6);
  margin-top: 6px; font-weight: 500; letter-spacing: 0.02em;
}
.stats-banner-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ========== HOW IT WORKS ========== */
.steps-flow {
  display: flex; gap: 0; max-width: 900px; margin: 0 auto;
  align-items: flex-start;
}
.step-item {
  flex: 1; text-align: center; position: relative;
  padding: 0 24px;
}
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white); font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem; font-weight: 400; line-height: 56px;
  margin: 0 auto 20px;
  position: relative; z-index: 2;
  box-shadow: 0 6px 20px rgba(198,40,40,0.25);
}
.step-connector {
  position: absolute; top: 28px; left: calc(50% + 28px);
  width: calc(100% - 56px); height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 100%);
  z-index: 1; opacity: 0.4;
}
.step-item:last-child .step-connector { display: none; }
.step-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.step-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; max-width: 250px; margin: 0 auto; }

/* ========== TESTIMONIALS CAROUSEL ========== */
.testimonial-carousel {
  overflow: hidden; position: relative;
  max-width: 900px; margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.testimonial-track {
  display: flex; gap: 32px;
  animation: scrollTestimonials 30s linear infinite;
  width: max-content;
}
.testimonial-track:hover { animation-play-state: paused; }
@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollServices {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  min-width: 340px; max-width: 340px;
  background: var(--white); padding: 32px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  text-align: left; flex-shrink: 0;
}
.testimonials { padding: 80px 0; background: var(--bg-warm-grey); color: var(--text-primary); }
.testimonials .section-title { color: var(--text-primary); }
.testimonials .section-sub { color: var(--text-muted); }
.testimonial-card:hover { 
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-stars { color: var(--gold-light); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-style: italic; font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; min-height: 80px; }
.testimonial-author { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%);
  color: var(--white); text-align: center;
  padding: 90px 24px; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { 
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem; margin-bottom: 16px;
}
.cta-banner p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ========== FAQ ========== */
.faq-section { max-width: 800px; margin: 0 auto; }
.faq-item { 
  border: 1px solid var(--border-light); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
  transition: var(--transition); background: var(--white);
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item h3 {
  font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 24px; margin: 0; color: var(--navy); user-select: none;
  gap: 12px; text-align: left; line-height: 1.5;
}
.faq-item h3 > span:first-child { flex: 1; }
.faq-item h3 > span:last-child {
  width: 28px; min-width: 28px; height: 28px; border-radius: 50%;
  background: var(--border-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; transition: var(--transition); color: var(--text-muted);
  flex-shrink: 0; margin-top: 2px;
}
.faq-item.active h3 span { background: var(--red); color: white; transform: rotate(45deg); }
.faq-item p { 
  display: none; padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7;
  font-size: 0.95rem;
}
.faq-item.active p { display: block; }

/* ========== LEAD MAGNET ========== */
.lead-magnet-section { background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%); color: var(--white); }
.lead-magnet-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }

/* ===== BRIGHT MAGAZINE-STYLE BOOK ===== */
.lead-visual { display: flex; justify-content: center; padding: 20px 0 10px; }
.book-scene { position: relative; }

.book {
  width: 270px; height: 360px;
  position: relative;
  transform: rotateY(-12deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  cursor: default;
}
.book:hover { transform: rotateY(-4deg) rotateX(1deg); }

/* Shadow on desk */
.book-shadow {
  position: absolute; bottom: -10px; left: 6%;
  width: 88%; height: 26px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45) 0%, transparent 75%);
  filter: blur(10px);
}

/* Body — back cover + pages */
.book-body {
  position: absolute; top: 3px; left: 3px; right: 4px; bottom: 3px;
  transform: translateZ(-14px);
}
.book-pages-stack { position: absolute; inset: 0; }
.page {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #fffef9 0%, #f7f3e8 50%, #efe8d5 100%);
  border-radius: 0 2px 2px 0;
}
.page-2 { right: 2px; }
.page-3 { right: 4px; opacity: 0.4; }
.book-back-cover {
  position: absolute; inset: 0; border-radius: 0 4px 4px 0;
  background: linear-gradient(160deg, #e8e0d0 0%, #d5ccb8 100%);
  transform: translateZ(-2px);
}

/* Spine */
.book-spine {
  position: absolute; top: 0; left: 0; bottom: 0; width: 28px;
  background: linear-gradient(90deg, #d4c8b0 0%, #e8dcc8 40%, #d9ceb8 100%);
  border-radius: 4px 0 0 4px;
  transform: translateZ(-7px);
  box-shadow: inset -2px 0 6px rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.spine-text {
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.14em;
  color: #5c4a3a; transform: rotate(-90deg);
  white-space: nowrap; opacity: 0.6;
}

/* ===== FRONT COVER — Crimson & Gold ===== */
.book-front {
  position: absolute; top: 0; left: 28px; right: 0; bottom: 0;
  background: linear-gradient(160deg, #8b1a1a 0%, #a82020 25%, #7a0e0e 55%, #5c0808 100%);
  border-radius: 0 8px 8px 0;
  box-shadow: 6px 4px 24px rgba(0,0,0,0.35);
  transform: translateZ(2px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 26px 16px 20px;
}

.cover-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4a843, transparent);
  flex-shrink: 0;
}

.cover-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  padding: 0 2px;
}

.cover-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: #f0d060;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: -0.01em;
}

.cover-sub {
  font-size: 0.62rem;
  color: rgba(255,220,160,0.8);
  line-height: 1.5;
  max-width: 92%;
}

.cover-tag {
  display: inline-block;
  padding: 6px 20px;
  border: 1.5px solid rgba(240,208,96,0.5);
  color: #f0d060;
  border-radius: 50px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
}

/* Gloss overlays */
.cover-gloss-main {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(
    140deg,
    rgba(255,255,255,0.2) 0%,
    rgba(255,255,255,0.06) 18%,
    transparent 32%,
    transparent 52%,
    rgba(255,255,255,0.04) 68%,
    rgba(255,255,255,0.1) 80%,
    rgba(255,255,255,0.15) 92%,
    rgba(255,255,255,0.05) 100%
  );
}

.cover-gloss-band {
  position: absolute;
  top: -25%;
  left: -15%;
  width: 75%;
  height: 150%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255,255,255,0.04) 28%,
    rgba(255,255,255,0.12) 44%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.12) 56%,
    rgba(255,255,255,0.04) 72%,
    transparent 100%
  );
  transform: rotate(-12deg);
  pointer-events: none;
  border-radius: 0 8px 8px 0;
}

.cover-gloss-spot {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 50px;
  height: 50px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* Bookmark */
.bookmark {
  position: absolute; bottom: -20px; left: 50%;
  width: 18px; height: 60px;
  background: linear-gradient(180deg, var(--red) 0%, #8E0000 100%);
  transform: translateX(-50%) translateZ(1px);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 5;
}

/* Lead content */
.lead-content .section-label { background: rgba(212,160,23,0.15); color: var(--gold-light); }
.lead-content h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.2rem; font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.2; }
.lead-content > p { font-size: 1rem; opacity: 0.8; line-height: 1.7; margin-bottom: 24px; max-width: 520px; }
.lead-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
.lead-list li {
  font-size: 0.9rem; padding: 6px 0 6px 22px;
  position: relative; opacity: 0.85; line-height: 1.5;
}
.lead-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--gold);
  font-weight: 700; font-size: 0.8rem;
}
.lead-form { display: flex; gap: 10px; margin-bottom: 10px; max-width: 500px; }
.lead-form input {
  flex: 1; padding: 16px 20px;
  border: 2px solid rgba(255,255,255,0.15); border-radius: 50px;
  background: rgba(255,255,255,0.08); color: var(--white);
  font-size: 0.95rem; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; outline: none;
  transition: var(--transition);
}
.lead-form input::placeholder { color: rgba(255,255,255,0.4); }
.lead-form input:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
.lead-nospam { font-size: 0.78rem; opacity: 0.5; }

/* ========== MAKE MONEY ========== */
.make-money {
  padding: 80px 24px; text-align: center;
  background: var(--surface);
  color: var(--navy); position: relative; overflow: hidden;
}
.make-money::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,160,23,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.make-money .container { position: relative; z-index: 1; }
.make-money h2, .make-money h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; color: var(--navy); }
.make-money p { font-size: 1.2rem; font-weight: 600; color: rgba(14,26,42,0.75); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ========== PAGE HEADER (inner pages) ========== */
.page-header { 
  background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%);
  color: var(--white); padding: 80px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 12px; }
.page-header p { font-size: 1.1rem; opacity: 0.85; max-width: 550px; margin: 0 auto; }
.breadcrumbs { margin-bottom: 16px; font-size: 0.85rem; opacity: 0.7; }
.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span { margin: 0 6px; }

/* ========== CONTACT PAGE ========== */
/* about page */
.about-page { padding: 80px 0; background: var(--surface); }
.about-body { max-width: 700px; margin: 0 auto; padding: 0 20px; text-align: center; }
.about-body p, .about-body h2, .about-body h3 { text-align: center; }
.about-body .about-list { display: inline-block; text-align: left; }
.about-body figure { margin: 32px 0; text-align: center; }
.contact-page { padding: 80px 0; background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--navy); }
.contact-form input, .contact-form textarea { 
  width: 100%; padding: 14px 18px; border: 2px solid var(--border-light);
  border-radius: var(--radius-sm); font-size: 0.95rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; outline: none;
  transition: var(--transition); background: var(--surface-light);
}
.contact-form input:focus, .contact-form textarea:focus { 
  border-color: var(--red); box-shadow: 0 0 0 4px rgba(198,40,40,0.06);
  background: var(--white);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .form-group { margin-bottom: 22px; }
.form-feedback { padding: 14px 18px; border-radius: var(--radius-sm); margin-top: 16px; display: none; font-weight: 500; font-size: 0.9rem; }
.form-feedback.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-feedback.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.contact-info-card { 
  background: var(--surface-light); border-radius: var(--radius);
  padding: 36px; border: 1px solid var(--border-light);
}
.contact-info-card h3 { font-size: 1.2rem; margin-bottom: 24px; color: var(--navy); }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-item .icon { 
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 10px; background: rgba(198,40,40,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-info-item strong { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 2px; }
.contact-info-item span { font-size: 0.9rem; color: var(--text-muted); }

/* ========== LANGUAGE GRID ========== */
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lang-card {
  padding: 40px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  text-align: center; background: var(--white);
  transition: var(--transition);
}
.lang-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.lang-card .flag { font-size: 3.2rem; margin-bottom: 16px; }
.lang-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--navy); }
.lang-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ========== SERVICES TICKER (homepage compact) ========== */
.services-ticker { padding: 60px 0; background: var(--surface-light); overflow: hidden; }
.ticker-track { 
  display: flex; gap: 24px; 
  animation: scrollTicker 30s linear infinite;
}
@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  flex: 0 0 240px; padding: 28px 24px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  text-align: center;
}
.ticker-item .icon { font-size: 1.8rem; margin-bottom: 12px; }
.ticker-item h3 { font-size: 0.95rem; margin-bottom: 6px; color: var(--navy); }
.ticker-item p { font-size: 0.8rem; color: var(--text-muted); }

/* ========== FOOTER ========== */
.site-footer { background: var(--navy-mid); color: rgba(253,253,252,0.65); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; padding-bottom: 48px; }
.footer-brand h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; margin-bottom: 14px; color: var(--white); }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 0.85rem; color: var(--border-light);
  transition: var(--transition);
}
.social-links a:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; color: rgba(253,253,252,0.55); font-size: 0.88rem; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
/* Footer brand badges */
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; color: #fff;
}
.footer-badge.footer-wa { background: #25D366; }
.footer-badge.footer-tg { background: #0088cc; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; opacity: 0.5; }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); color: white;
  animation: floatPulse 2s infinite;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}
.whatsapp-float:hover { transform: scale(1.1); animation: none; color: white; }

/* ========== CHATBOT ========== */
.chat-toggle {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 999;
  max-width: calc(100vw - 32px);
  padding: 12px 28px;
  background: var(--red);
  border-radius: 50px; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 20px rgba(198,40,40,0.35);
  transition: var(--transition); color: white; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-toggle:hover { transform: translateX(-50%) scale(1.05); box-shadow: 0 4px 25px rgba(198,40,40,0.45); }

.chat-widget {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--white);
  display: none; flex-direction: column; overflow: hidden;
}
@media (min-width: 480px) {
  .chat-widget {
    top: auto; left: 50%; right: auto;
    bottom: 100px;
    width: 420px; max-height: 580px;
    transform: translateX(-50%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
  }
}
.chat-widget.open { display: flex; }
.chat-header {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; position: relative;
}
.chat-header .chat-avatar { flex-shrink: 0; }
.chat-close {
  position: absolute; top: 10px; right: 12px; z-index: 10;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: white; font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); line-height: 1; padding: 0;
}
.chat-close:hover { background: rgba(255,255,255,0.4); transform: scale(1.1); }
.chat-avatar { font-size: 1.4rem; }
.chat-title { font-weight: 600; font-size: 0.95rem; }
.chat-subtitle { font-size: 0.78rem; opacity: 0.8; }
.chat-messages { flex: 1 1 0; padding: 14px; overflow-y: auto; background: var(--surface-light); }
.chat-msg { margin-bottom: 10px; padding: 10px 16px; border-radius: 18px; max-width: 85%; font-size: 0.88rem; line-height: 1.5; }
.chat-msg.bot { background: var(--white); color: var(--text-primary); box-shadow: var(--shadow-sm); border-bottom-left-radius: 6px; max-width: 92%; }
.chat-msg.user { background: var(--red); color: var(--white); margin-left: auto; border-bottom-right-radius: 6px; }
.chat-msg .chat-chips {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px;
}
.chat-chip {
  display: flex; align-items: center; justify-content: center;
  padding: 9px 10px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.82rem; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  cursor: pointer; transition: var(--transition);
  text-align: center; white-space: nowrap;
}
.chat-chip:hover {
  background: var(--red); color: white; border-color: var(--red);
}
.chat-chip-faq {
  display: block; grid-column: 1 / -1;
  text-align: left;
  border-radius: 10px; padding: 9px 14px; margin-bottom: 0;
  line-height: 1.4; white-space: normal;
}

.chat-input-area { display: flex; border-top: 1px solid var(--border-light); padding: 10px 12px; gap: 8px; background: var(--white); flex-shrink: 0; }
.chat-input-area input { flex: 1; padding: 10px 14px; border: 1px solid var(--border-light); border-radius: 50px; font-size: 0.88rem; outline: none; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.chat-input-area input:focus { border-color: var(--red); }
.chat-input-area button { padding: 10px 18px; background: var(--red); color: white; border: none; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: var(--transition); flex-shrink: 0; }
.chat-input-area button:hover { background: var(--red-dark); }

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher {
  position: relative; margin-right: 8px;
}
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; background: var(--surface-light);
  border: 1px solid var(--border-light); border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
  cursor: pointer; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: var(--transition);
}
.lang-trigger:hover { background: var(--border-light); border-color: var(--border-light); }
.lang-arrow { font-size: 0.7rem; margin-left: 2px; transition: var(--transition); }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 200px; overflow: hidden; z-index: 200;
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option {
  display: block; width: 100%; padding: 12px 18px;
  background: none; border: none; text-align: left;
  font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: var(--transition);
}
.lang-option:hover { background: var(--surface-light); color: var(--navy); }
.lang-option.active { background: rgba(198,40,40,0.06); color: var(--red); font-weight: 700; }

/* ========== BACK TO TOP ========== */
[dir="rtl"] .hero, [dir="rtl"] .cta-banner { text-align: center; }
[dir="rtl"] .nav { direction: rtl; }
[dir="rtl"] .nav-affiliate { margin-left: 0; margin-right: 8px; padding-left: 0; padding-right: 20px; border-left: none; border-right: 1px solid var(--border-light); }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .feature-item { text-align: right; }
[dir="rtl"] .feature-item { flex-direction: row; }
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .section-label, [dir="rtl"] .section-title, [dir="rtl"] .section-sub { text-align: center; }
[dir="rtl"] .about-body { text-align: right; }
[dir="rtl"] .about-list li { text-align: right; padding-left: 0; padding-right: 24px; }
.about-list { list-style: none; padding: 0; text-align: center; }
[dir="rtl"] .contact-info-item { text-align: right; flex-direction: row; }
[dir="rtl"] .contact-info-item .icon { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .breadcrumbs { direction: rtl; }
[dir="rtl"] .testimonial-card { text-align: right; }
[dir="rtl"] .service-card, [dir="rtl"] .segment-card { text-align: right; }
[dir="rtl"] .segment-list li { text-align: right; padding-left: 0; padding-right: 20px; }
[dir="rtl"] .post-content { text-align: right; }
[dir="rtl"] .form-group label { text-align: right; }
[dir="rtl"] .chat-widget { direction: ltr; }
[dir="rtl"] .chat-widget .chat-msg { text-align: left; }
[dir="rtl"] .shipments-slideshow, [dir="rtl"] .trusted-logos-wrap, [dir="rtl"] .services-strip-wrap { direction: ltr; }
[dir="rtl"] .whatsapp-float { right: auto; left: 28px; }
[dir="rtl"] .chat-toggle { left: 50%; right: auto; }
[dir="rtl"] .fx-widget { right: auto; left: 28px; }
[dir="rtl"] .back-to-top { left: auto; right: 28px; }
[dir="rtl"] .stats-banner-grid { direction: ltr; }
[dir="rtl"] .fee-banner-card { direction: ltr; }
[dir="rtl"] .footer-bottom { direction: ltr; }
@media (max-width: 479px) {
  [dir="rtl"] .chat-widget { left: 0; right: 0; }
  [dir="rtl"] .chat-toggle { left: 50%; right: auto; }
}
.back-to-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 44px; height: 44px; background: var(--white);
  border: 1px solid var(--border-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden;
  transition: all var(--transition); box-shadow: var(--shadow);
  color: var(--text-secondary);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--red); }

/* ========== FX RATE WIDGET (floating bottom-center) ========== */
.fx-widget {
  position: fixed; bottom: 96px; right: 28px; z-index: 999;
  width: 58px; height: 58px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.fx-widget:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.1);
}
.fx-widget.fx-loading { opacity: 0.6; pointer-events: none; }
.fx-widget .fx-icon { display: none; }
.fx-widget .fx-rate { display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1.1; }
.fx-label {
  font-size: 0.5rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted);
}
.fx-value {
  font-size: 0.9rem; font-weight: 800; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.fx-trend { font-size: 0.65rem; line-height: 1; }
.fx-trend.fx-up   { color: #16a34a; }
.fx-trend.fx-down { color: var(--red); }

/* ========== ERROR PAGE ========== */
.error-page { text-align: center; padding: 140px 24px; }
.error-page h1 { font-size: 8rem; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 8px; }
.error-page p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 36px; }

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 96px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 24px;
    box-shadow: var(--shadow-lg); gap: 16px; }
  .nav-affiliate { margin-left: 0; padding-left: 0; border-left: none; border-top: 1px solid var(--border-light); padding-top: 16px; margin-top: 4px; }
  .nav.open { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 80px 20px 60px; }
  .stats-banner-grid { flex-wrap: wrap; gap: 20px; }
  .stats-banner-divider { display: none; }
  .stats-banner-item { flex: 1 1 40%; }
  .steps-flow { flex-direction: column; gap: 32px; align-items: center; }
  .step-connector { display: none; }
  .section-title { font-size: 1.8rem; }
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); }
  .stat-card { padding: 28px 16px; border-bottom: 1px solid var(--border-light); }
  .stat-card:nth-child(2) { border-right: none; }
  .segments-grid { grid-template-columns: 1fr 1fr; }
  .apart-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 280px; max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 36px; }
  .why-us-images { flex-direction: column; }
  .why-us-images img { width: 100% !important; }
  .lead-magnet-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .lead-visual { order: -1; }
  .book { width: 210px; height: 290px; transform: rotateY(-8deg) rotateX(2deg); }
  .book:hover { transform: rotateY(-3deg) rotateX(1deg); }
  .book-spine { width: 24px; }
  .book-front { left: 24px; padding: 18px 10px 14px; }
  .cover-title { font-size: 1.2rem; }
  .cover-sub { font-size: 0.5rem; }
  .cover-tag { font-size: 0.45rem; padding: 4px 14px; }
  .lead-content h2 { font-size: 1.7rem; }
  .lead-content > p { margin-left: auto; margin-right: auto; }
  .lead-list { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .lead-list li { text-align: left; }
  .lead-form { flex-direction: column; max-width: 360px; margin-left: auto; margin-right: auto; }
  .chat-widget { width: calc(100% - 32px); right: 16px; bottom: 150px; }
  .page-header h1 { font-size: 2rem; }
  .cta-banner h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .segments-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: 1fr; }
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ========== COOKIE CONSENT ========== */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy); color: var(--white);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  font-size: 0.88rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-consent.show { transform: translateY(0); }
.cookie-consent p { margin: 0; opacity: 0.8; max-width: 600px; line-height: 1.5; }
.cookie-consent a { color: var(--gold-light); text-decoration: underline; }
.cookie-consent button {
  padding: 10px 28px; border-radius: 50px; border: none;
  font-weight: 600; cursor: pointer; font-size: 0.88rem;
  white-space: nowrap;
  transition: var(--transition);
}
.cookie-consent .cc-accept {
  background: var(--gold); color: var(--navy);
}
.cookie-consent .cc-accept:hover { background: var(--gold-light); }
.cookie-consent .cc-settings {
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3);
}
.cookie-consent .cc-settings:hover { border-color: var(--white); }

/* ========== SHIPMENTS SLIDESHOW ========== */
.shipments-section{padding:48px 0 56px;background:linear-gradient(165deg,#0e1a2a 0%,#18202e 35%,#8E0000 70%,#5c0000 100%);color:var(--white);text-align:center;}
.shipments-section .section-label{color:var(--gold-light);}
.shipments-section .section-title{color:var(--white);margin-bottom:8px;}
.shipments-section .section-sub{color:rgba(255,255,255,0.65);max-width:560px;margin:0 auto 16px;}
.real-badge{display:inline-block;padding:6px 20px;background:rgba(37,211,102,0.12);border:1px solid rgba(37,211,102,0.25);border-radius:50px;font-size:0.78rem;font-weight:600;color:#4ade80;letter-spacing:0.03em;margin-bottom:28px;}
.shipments-slideshow{position:relative;max-width:100%;margin:0 auto;overflow:hidden;max-height:260px;}
.slideshow-track{display:flex;height:100%;width:fit-content;}
.slide{flex-shrink:0;height:260px;}
.slide img{height:100%;width:auto;display:block;object-fit:contain;}
.slideshow-prev,.slideshow-next{display:none;}
.slideshow-dots{display:none;}

/* ========== FEE TRANSPARENCY ========== */
.fee-banner{background:#faf9f7;padding:48px 24px;text-align:center;border-top:1px solid rgba(212,160,23,0.25);border-bottom:1px solid rgba(212,160,23,0.25);}
.fee-banner-title{font-family:'Playfair Display',Georgia,serif;font-size:2rem;color:#5c4a1e;margin-bottom:28px;font-weight:700;}
.fee-banner-rates{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;margin-bottom:20px;}
.fee-banner-card{display:flex;flex-direction:column;align-items:center;gap:6px;}
.fee-big{font-size:2.8rem;font-weight:900;color:#8b6914;line-height:1;font-family:'Playfair Display',Georgia,serif;}
.fee-small{font-size:0.95rem;font-weight:600;color:#5c4a1e;opacity:0.75;letter-spacing:0.02em;}
.fee-banner-sub{font-size:0.95rem;color:#8b6914;opacity:0.7;max-width:600px;margin:0 auto;}
@media(max-width:600px){.fee-banner{padding:36px 20px;}.fee-banner-title{font-size:1.5rem;}.fee-banner-rates{gap:24px;}.fee-big{font-size:2.2rem;}.fee-small{font-size:0.82rem;}.fee-banner-sub{font-size:0.85rem;}}

/* ========== BLOG CARDS ON HOME ========== */
.home-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:var(--max-w);margin:0 auto;}
.home-blog-card{background:var(--white);border:1px solid var(--border-light);border-radius:var(--radius);padding:24px;text-align:left;transition:all var(--transition);text-decoration:none;color:inherit;display:block;}
.home-blog-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:rgba(212,160,23,0.3);}
.home-blog-cat{display:inline-block;padding:2px 10px;background:rgba(212,160,23,0.1);color:#8b6914;border-radius:4px;font-size:0.66rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;margin-bottom:10px;}
.home-blog-card h3{font-family:'Playfair Display',Georgia,serif;font-size:1.05rem;color:var(--navy);margin-bottom:8px;line-height:1.35;}
.home-blog-card p{font-size:0.85rem;color:var(--text-muted);line-height:1.55;}
@media(max-width:768px){.home-blog-grid{grid-template-columns:1fr;gap:16px;}}

/* ========== CANTON FAIR GALLERY ========== */
.canton-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0 40px;}
.canton-card{border-radius:12px;overflow:hidden;background:var(--white);border:1px solid var(--border-light);box-shadow:var(--shadow-sm);transition:transform 0.3s ease,box-shadow 0.3s ease;}
.canton-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.canton-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;}
.canton-card span{display:block;padding:10px 14px;font-size:0.85rem;font-weight:600;color:var(--navy);text-align:center;}
@media(max-width:768px){.canton-gallery{grid-template-columns:repeat(2,1fr);gap:12px;}}
@media(max-width:480px){.canton-gallery{grid-template-columns:1fr 1fr;gap:10px;}.canton-card span{font-size:0.78rem;padding:8px 10px;}}

/* ========== CERTIFICATE HIGHLIGHT ========== */
.cert-highlight .cert-wrapper{position:relative;display:inline-block;border-radius:12px;overflow:hidden;box-shadow:0 4px 24px rgba(212,160,23,0.15);border:2px solid rgba(212,160,23,0.3);}
.cert-highlight .cert-wrapper img{display:block;max-width:100%;}
.cert-badge{position:absolute;top:14px;right:0;background:linear-gradient(135deg,var(--gold) 0%,#b8860b 100%);color:var(--navy);padding:8px 20px 8px 16px;font-size:0.82rem;font-weight:700;letter-spacing:0.02em;border-radius:6px 0 0 6px;box-shadow:0 2px 12px rgba(0,0,0,0.15);z-index:1;}
.cert-highlight figcaption{margin-top:12px;font-size:0.92rem;color:var(--text-secondary);line-height:1.6;max-width:560px;}
.cert-highlight figcaption strong{color:var(--navy);}
@media(max-width:480px){.cert-badge{font-size:0.7rem;padding:6px 14px 6px 12px;top:8px;}}

/* ========== BUTTON ROW (blog CTAs) ========== */
.btn-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:16px;}


/* === Inline CSS from affiliate.html === */
.affiliate-page { padding-bottom: 0; }

.aff-hero {
  background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%);
  padding: 140px 24px 80px; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.aff-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}
.aff-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 3.2rem; font-weight: 700; margin-bottom: 16px; position: relative; z-index: 1; }
.aff-hero .sub { font-size: 1.2rem; opacity: 0.75; max-width: 640px; margin: 0 auto 32px; position: relative; z-index: 1; line-height: 1.6; }
.aff-hero .big-cta { position: relative; z-index: 1; }

/* How it works */
.how-section { padding: 64px 24px; max-width: 900px; margin: 0 auto; background: var(--surface); }
.how-section h2 { text-align: center; font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; color: var(--navy); margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { text-align: center; padding: 28px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--gray-200); }
.step .step-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 900; font-size: 1.3rem; margin-bottom: 16px; }
.step h3 { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 0.9rem; line-height: 1.6; color: var(--gray-600); }

/* Service fee transparency */
.fee-section { max-width: 800px; margin: 0 auto 64px; padding: 0 24px; text-align: center; background: var(--bg-warm-grey); }
.fee-section h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.fee-section .fee-sub { opacity: 0.55; margin-bottom: 32px; font-size: 0.95rem; }
.fee-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 700px; margin: 0 auto 24px; }
.fee-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 24px 20px; }
.fee-card .fee-band { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.fee-card .fee-rate { font-size: 2rem; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.fee-card .fee-desc { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; }
.fee-note { font-size: 0.85rem; color: var(--gray-500); }

/* Commission section */
.commission-section { background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%); color: var(--white); padding: 64px 24px; text-align: center; }
.commission-section h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; margin-bottom: 32px; }
.commission-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.ccard { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 28px 20px; }
.ccard .cc-num { font-size: 2.4rem; font-weight: 900; color: var(--gold); margin-bottom: 6px; }
.ccard .cc-label { font-size: 0.9rem; opacity: 0.7; margin-bottom: 16px; }
.ccard .cc-result { font-size: 1.15rem; font-weight: 800; color: #4ade80; }
.ccard .cc-detail { font-size: 0.78rem; opacity: 0.5; margin-top: 4px; }

.payment-section { padding: 64px 24px; max-width: 800px; margin: 0 auto; text-align: center; background: var(--surface); }
.payment-section h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.payment-section .p-sub { opacity: 0.5; margin-bottom: 32px; }
.payment-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.payment-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px solid var(--gray-200); border-radius: 50px; font-size: 0.9rem; font-weight: 600; color: var(--navy); background: var(--white); }

.cta-section { background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%); color: var(--white); padding: 64px 24px; text-align: center; }
.cta-section h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.2rem; margin-bottom: 12px; }
.cta-section p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
  .aff-hero h1 { font-size: 2.2rem; }
}


/* === Inline CSS from blog.html === */
/* ——— HERO ——— */
.blog-hero {
  background: linear-gradient(165deg, #0e1a2a 0%, #18202e 35%, #8E0000 70%, #5c0000 100%);
  padding: 140px 24px 80px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(212,168,67,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(59,130,246,0.06) 0%, transparent 50%);
}
.blog-hero > * { position: relative; z-index: 1; }
.blog-hero .badge {
  display: inline-block; padding: 5px 14px; background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.3); border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 20px; text-transform: uppercase;
}
.blog-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem; font-weight: 700; margin-bottom: 14px; line-height: 1.15;
}
.blog-hero .hero-sub {
  font-size: 1.08rem; opacity: 0.6; max-width: 520px; margin: 0 auto;
  line-height: 1.65;
}

/* ——— LAYOUT ——— */
.blog-layout {
  max-width: 1100px; margin: 0 auto; padding: 56px 24px 80px;
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start;
}

/* ——— POST CARDS ——— */
.posts-main h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem;
  color: var(--navy); margin-bottom: 28px; font-weight: 700;
}

/* Featured post */
.post-featured {
  background: var(--white); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gray-200); margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04); cursor: pointer;
  transition: all 0.3s ease;
}
.post-featured:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.post-featured .pf-cover {
  height: 200px; background: linear-gradient(135deg, #1a1a5e 0%, var(--navy-dark) 50%, #8b1a1a 100%);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.post-featured .pf-cover .pf-icon { font-size: 4rem; opacity: 0.3; }
.post-featured .pf-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 4px 12px; background: var(--red); color: #fff;
  border-radius: 6px; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.post-featured .pf-body { padding: 24px 28px; }
.post-featured .pf-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; font-weight: 700; color: var(--navy);
  margin-bottom: 8px; line-height: 1.3;
}
.post-featured .pf-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.post-featured .pf-meta span { font-size: 0.78rem; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }
.post-featured .pf-excerpt { font-size: 0.92rem; line-height: 1.65; color: var(--gray-600); }

/* Regular post cards */
.post-grid { display: flex; flex-direction: column; gap: 18px; }
.post-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px;
  padding: 24px 28px; cursor: pointer; transition: all 0.25s ease;
  display: flex; gap: 20px; align-items: flex-start;
  text-decoration: none; color: inherit;
}
.post-card:hover {
  border-color: rgba(212,168,67,0.4); transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.post-card .pc-date-badge {
  flex-shrink: 0; width: 52px; text-align: center;
  background: var(--gray-100); border-radius: 10px; padding: 8px 0;
}
.post-card .pc-date-badge .day { font-size: 1.3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.post-card .pc-date-badge .mon { font-size: 0.62rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; }
.post-card .pc-body { flex: 1; min-width: 0; }
.post-card .pc-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin-bottom: 4px; line-height: 1.35;
}
.post-card .pc-body .pc-meta { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-card .pc-body .pc-excerpt { font-size: 0.85rem; line-height: 1.6; color: var(--gray-600); }

/* Category tag */
.cat-tag {
  display: inline-block; padding: 2px 10px; background: rgba(212,168,67,0.1);
  color: #8b6914; border-radius: 4px; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ——— SIDEBAR ——— */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-box {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 24px;
}
.sidebar-box h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px;
}

/* Categories in sidebar */
.sidebar-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-cats .cat-pill {
  padding: 5px 14px; border: 1px solid var(--gray-200); border-radius: 50px;
  font-size: 0.78rem; color: var(--gray-600); cursor: pointer; transition: all 0.2s;
  background: var(--white);
}
.sidebar-cats .cat-pill:hover, .sidebar-cats .cat-pill.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.sidebar-cats .cat-pill .count { font-size: 0.65rem; opacity: 0.5; margin-left: 2px; }

/* Newsletter CTA in sidebar */
.sidebar-cta {
  background: linear-gradient(145deg, #1a1a5e 0%, var(--navy-dark) 100%);
  color: #fff; border: none;
}
.sidebar-cta h4 { color: var(--gold); }
.sidebar-cta p { font-size: 0.85rem; opacity: 0.7; line-height: 1.6; margin-bottom: 14px; }
.sidebar-cta input {
  width: 100%; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; background: rgba(255,255,255,0.08); color: #fff;
  font-size: 0.85rem; margin-bottom: 10px; font-family: 'Inter', sans-serif;
}
.sidebar-cta input::placeholder { color: rgba(255,255,255,0.35); }
.sidebar-cta .btn-sub {
  width: 100%; padding: 10px; background: var(--gold); color: var(--navy);
  border: none; border-radius: 8px; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; transition: opacity 0.2s;
}
.sidebar-cta .btn-sub:hover { opacity: 0.85; }

/* ——— FULL POST VIEW ——— */
.post-full { display: none; }
.post-full.active { display: block; }
.article-wrap {
  max-width: 780px; margin: 0 auto; padding: 120px 24px 80px;
}
.article-wrap .back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; color: var(--red); font-weight: 600;
  cursor: pointer; margin-bottom: 28px; transition: opacity 0.2s;
}
.article-wrap .back-link:hover { opacity: 0.7; }
.article-wrap .art-header { margin-bottom: 36px; }
.article-wrap .art-header .art-cat { margin-bottom: 12px; }
.article-wrap .art-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem; font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 14px;
}
.article-wrap .art-header .art-meta {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--gray-500);
}
.article-wrap .art-header .art-meta span { display: flex; align-items: center; gap: 4px; }

.article-wrap .post-content { font-size: 1.08rem; line-height: 1.85; color: var(--gray-700); }
.article-wrap .post-content h2 {
  font-size: 1.55rem; font-weight: 700; color: var(--navy);
  margin: 44px 0 14px; padding-top: 6px;
}
.article-wrap .post-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 32px 0 10px; }
.article-wrap .post-content p { margin-bottom: 18px; }
.article-wrap .post-content ul, .article-wrap .post-content ol { margin: 10px 0 20px 24px; }
.article-wrap .post-content li { margin-bottom: 8px; }
.article-wrap .post-content a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article-wrap .post-content strong { color: var(--navy); }
.article-wrap .post-content blockquote {
  border-left: 4px solid var(--gold); padding: 12px 22px; margin: 24px 0;
  background: linear-gradient(90deg, rgba(212,168,67,0.06) 0%, transparent 100%);
  border-radius: 0 10px 10px 0; font-style: italic; color: var(--gray-600);
}
.article-wrap .post-content code {
  background: var(--gray-100); padding: 2px 7px; border-radius: 5px;
  font-size: 0.9em; color: var(--red);
}
.article-wrap .post-content pre {
  background: #0d1117; color: #c9d1d9; padding: 20px 24px;
  border-radius: 12px; overflow-x: auto; margin: 20px 0; font-size: 0.85rem; line-height: 1.6;
}
.article-wrap .post-content hr {
  border: none; border-top: 1px solid var(--gray-200); margin: 36px 0;
}

/* Article CTA at bottom */
.article-cta {
  margin-top: 48px; padding: 32px;
  background: linear-gradient(135deg, #fef9e7 0%, #fdf3d0 100%);
  border: 1px solid rgba(212,168,67,0.3); border-radius: 14px;
  text-align: center;
}
.article-cta .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.article-cta h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; }
.article-cta p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }

/* Newsletter banner between posts */
.newsletter-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  border-radius: 16px; padding: 32px 36px; margin: 28px 0;
  color: #fff; display: flex; align-items: center; gap: 28px;
}
.newsletter-banner .nl-icon { font-size: 2.8rem; flex-shrink: 0; }
.newsletter-banner .nl-text { flex: 1; }
.newsletter-banner .nl-text h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; margin-bottom: 4px; }
.newsletter-banner .nl-text p { font-size: 0.82rem; opacity: 0.6; }
.newsletter-banner .nl-form { display: flex; gap: 8px; flex-shrink: 0; }
.newsletter-banner .nl-form input {
  padding: 10px 16px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; background: rgba(255,255,255,0.08); color: #fff;
  font-size: 0.85rem; min-width: 200px; font-family: 'Inter', sans-serif;
}
.newsletter-banner .nl-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-banner .nl-form button {
  padding: 10px 20px; background: var(--gold); color: var(--navy);
  border: none; border-radius: 8px; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; white-space: nowrap; transition: opacity 0.2s;
}
.newsletter-banner .nl-form button:hover { opacity: 0.85; }

.empty-state { text-align: center; padding: 80px 0; }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--navy); margin-bottom: 8px; }
.empty-state p { opacity: 0.4; }

/* ——— RESPONSIVE ——— */
@media (max-width: 860px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { order: -1; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .sidebar-box { flex: 1; min-width: 200px; }
  .newsletter-banner { flex-direction: column; text-align: center; gap: 16px; }
  .newsletter-banner .nl-form { width: 100%; }
  .newsletter-banner .nl-form input { flex: 1; min-width: 0; }
  .post-featured .pf-cover { height: 140px; }
  .post-card { flex-direction: column; gap: 12px; }
  .post-card .pc-date-badge { display: none; }
}

@media (max-width: 600px) {
  .blog-hero { padding: 120px 16px 56px; }
  .blog-hero h1 { font-size: 2.2rem; }
  .blog-layout { padding: 36px 16px 60px; }
  .article-wrap { padding: 110px 16px 60px; }
  .article-wrap .art-header h1 { font-size: 2rem; }
  .sidebar { flex-direction: column; }
}


/* === Inline CSS from privacy.html === */
.privacy-page { padding: 80px 24px; max-width: 800px; margin: 0 auto; }
.privacy-page h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.5rem; color: var(--navy); margin-bottom: 8px; }
.privacy-page .last-updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 40px; }
.privacy-page h2 { font-size: 1.3rem; color: var(--navy); margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.privacy-page h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.privacy-page p, .privacy-page li { color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; }
.privacy-page ul { padding-left: 20px; margin-bottom: 16px; }
.privacy-page a { color: var(--red); text-decoration: underline; }
.privacy-page a:hover { color: var(--red-dark); }

/* ========== ADMIN PAGE ========== */
.admin-wrap { max-width: 800px; margin: 120px auto 60px; padding: 0 24px; }
.admin-wrap h1 { font-family:'Playfair Display',Georgia,serif; font-size:2rem; color:var(--navy); margin-bottom:32px; }
.login-box { background:var(--white); border:1px solid var(--gray-200); border-radius:16px; padding:32px; max-width:400px; margin:0 auto; }
.login-box input { width:100%; padding:12px; border:1px solid var(--gray-200); border-radius:8px; font-size:1rem; margin-bottom:16px; font-family:'Inter',sans-serif; }
.login-box button { width:100%; }
.login-box .err { color:var(--red); font-size:0.85rem; margin-top:8px; text-align:center; }

.editor { display:none; }
.editor label { display:block; font-weight:600; font-size:0.85rem; color:var(--gray-600); margin:20px 0 6px; text-transform:uppercase; letter-spacing:0.06em; }
.editor input[type=text], .editor textarea {
  width:100%; padding:12px; border:1px solid var(--gray-200); border-radius:8px;
  font-size:0.95rem; font-family:'Inter',sans-serif;
}
.editor textarea { min-height:400px; resize:vertical; line-height:1.6; }
.editor .hint { font-size:0.78rem; color:var(--gray-500); margin-top:4px; }
.editor .hint code { background:var(--gray-100); padding:1px 5px; border-radius:3px; font-size:0.85em; }
.btn-row { display:flex; gap:12px; margin-top:24px; flex-wrap:wrap; }
.btn-red { background:var(--red); color:white; border:1px solid var(--red); }
.btn-red:hover { background:#b22222; }
.btn-outline { background:transparent; color:var(--navy); border:1px solid var(--gray-300); }
.btn-outline:hover { background:var(--gray-100); }

.msg { padding:10px 16px; border-radius:8px; margin-bottom:16px; font-size:0.9rem; display:none; }
.msg.success { background:#e6f7ed; color:#1a7a3a; border:1px solid #b7ebc9; display:block; }
.msg.error { background:#ffeaea; color:#c41e3a; border:1px solid #fcc; display:block; }

.posts-list { margin-top:40px; }
.posts-list h2 { font-family:'Playfair Display',Georgia,serif; font-size:1.4rem; color:var(--navy); margin-bottom:16px; }
.post-item { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; border:1px solid var(--gray-200); border-radius:8px; margin-bottom:8px; }
.post-item .pi-title { font-weight:600; color:var(--navy); }
.post-item .pi-date { font-size:0.8rem; color:var(--gray-500); margin-left:12px; }
.post-item .pi-actions { display:flex; gap:8px; }
.post-item .pi-actions button { font-size:0.78rem; padding:5px 12px; border-radius:6px; cursor:pointer; border:1px solid var(--gray-300); background:var(--white); }
.post-item .pi-actions .del { color:var(--red); border-color:var(--red); }

@media (max-width:600px) {
  .admin-wrap { margin-top:100px; }
  .post-item { flex-direction:column; align-items:flex-start; gap:8px; }
}

/* ========== DARK MODE ========== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-light-navy: #1a1f2e;
    --bg-warm-grey: #1c2030;
    --surface: #1e2234;
    --white: #252838;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #888;
    --border-light: #333;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
  }
  body { background: #181c28; color: #e0e0e0; }
  .site-header { background: rgba(24,28,40,0.95); }
  .nav a { color: #ccc; }
  .nav a:hover { color: var(--gold); }
  .logo { color: #e0e0e0; }
  .nav-toggle span { background: #ccc; }
  .trusted-logo { background: transparent; border-color: #333; }
  .service-card, .segment-card, .testimonial-card, .post-card, .home-blog-card { background: #252838; border-color: #333; color: #e0e0e0; }
  .service-card h3, .segment-card h3, .testimonial-card h3, .home-blog-card h3 { color: #e0e0e0; }
  .service-card p, .segment-card p { color: #aaa; }
  .step-item p { color: #aaa; }
  .section-alt, .testimonials { background: #1c2030 !important; }
  .fee-banner { background: #1a1f2e !important; border-color: #333; }
  .fee-banner-title { color: #e0d080; }
  .fee-big { color: #d4a843; }
  .btn-outline { border-color: #555; color: #ccc; }
  .lead-form input { background: #2a2d3a; border-color: #444; color: #e0e0e0; }
  .footer-col a { color: rgba(200,200,200,0.5); }
  .footer-bottom { border-color: rgba(255,255,255,0.08); }
  .chat-widget { background: #252838; border-color: #333; }
  .chat-messages { background: #1c2030; }
  .chat-input-area input { background: #2a2d3a; border-color: #444; color: #e0e0e0; }
}
.services-strip-track:hover { animation-play-state: paused; }
