/* ===================================================
   ANTONIN KDP — Design System
   =================================================== */

:root {
  --navy: #0A1F44;
  --navy-deep: #061535;
  --navy-soft: #142a5a;
  --blue: #0066FF;
  --blue-light: #3B82F6;
  --blue-pale: #EAF2FF;
  --orange: #FF6B35;
  --orange-light: #FF8C42;
  --orange-pale: #FFF1EA;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 31, 68, 0.12);
  --shadow-glow: 0 20px 60px rgba(0, 102, 255, 0.25);
  --shadow-orange: 0 14px 40px rgba(255, 107, 53, 0.35);

  --max-w: 1200px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { color: var(--gray-700); }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title { margin-bottom: 18px; max-width: 760px; }
.section-subtitle { color: var(--gray-500); font-size: 1.1rem; max-width: 680px; margin-bottom: 56px; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--orange-light); color: var(--white); transform: translateY(-2px); }

.btn-secondary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-secondary:hover { background: var(--blue-light); color: var(--white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-ghost { background: transparent; color: var(--navy); padding: 12px 18px; }
.btn-ghost:hover { color: var(--orange); }

.btn-lg { padding: 18px 34px; font-size: 1.02rem; }

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.28);
}
.logo-mark svg { width: 22px; height: 22px; display: block; }
.logo-mark::after {
  content: ''; position: absolute; right: -3px; bottom: -3px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--white);
}
.footer .logo-mark::after { border-color: var(--navy-deep); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--orange);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--navy);
  margin: 6px auto; width: 24px;
  transition: all var(--transition);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 80px 0 120px;
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.10), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--orange); font-style: italic; }
.hero-subtitle {
  font-size: 1.18rem;
  color: var(--gray-700);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; }
.hero-trust-item strong { color: var(--navy); font-size: 1.3rem; font-family: 'Playfair Display', serif; }
.hero-trust-item span { color: var(--gray-500); font-size: 0.88rem; }

.hero-visual {
  position: relative;
}
.hero-portrait {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 11px 15px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
}
.hero-badge-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 1.05rem;
}
.hero-badge strong { display: block; color: var(--navy); font-size: 0.88rem; }
.hero-badge span { color: var(--gray-500); font-size: 0.72rem; }
.hero-badge-1 { top: 24px; left: -40px; }
.hero-badge-1 .hero-badge-icon { background: var(--blue-pale); color: var(--blue); }
.hero-badge-2 { bottom: 32px; right: -30px; }
.hero-badge-2 .hero-badge-icon { background: var(--orange-pale); color: var(--orange); }

/* ============== STATS BAR ============== */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,102,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,107,53,0.15), transparent 50%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative; z-index: 1;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  font-weight: 700;
}
.stat-num .accent { color: var(--orange); }
.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin-top: 4px;
}

/* ============== SERVICES ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-pale), var(--orange-pale));
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--navy);
}
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { color: var(--gray-500); margin-bottom: 20px; flex: 1; }
.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.service-price {
  color: var(--navy);
  font-weight: 700;
}
.service-price span { color: var(--gray-500); font-weight: 400; font-size: 0.85rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange);
}

/* Service card with banner image — keep full ratio so banners are never cropped */
.service-card-img {
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  aspect-ratio: 1000 / 637;
  background: #0A1428;
  display: grid;
  place-items: center;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms;
}
.service-card:hover .service-card-img img { transform: scale(1.03); }

/* ============== KDP PILOT SECTION ============== */
.kdp-pilot-promo {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.kdp-pilot-promo::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,0.3), transparent 70%);
  border-radius: 50%;
}
.kdp-pilot-promo::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.2), transparent 70%);
  border-radius: 50%;
}
.kdp-pilot-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.kdp-pilot-promo h2 { color: var(--white); margin-bottom: 20px; }
.kdp-pilot-promo p { color: rgba(255,255,255,0.78); margin-bottom: 28px; }
.kdp-pilot-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,107,53,0.18);
  color: var(--orange);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.kdp-pilot-features {
  list-style: none;
  margin-bottom: 32px;
}
.kdp-pilot-features li {
  padding: 8px 0;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 12px;
}
.kdp-pilot-features li::before {
  content: '✓';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.kdp-pilot-visual {
  position: relative;
}
.kdp-pilot-visual img {
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

/* KDP Pilot mockup (homepage preview) */
.kdp-pilot-mockup {
  background: #F8FAFF;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  transform: perspective(1500px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition);
}
.kdp-pilot-mockup:hover { transform: perspective(1500px) rotateY(-2deg) rotateX(1deg); }
.kdp-mockup-bar {
  background: #E8EEF6;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #D8DFEA;
}
.kdp-mockup-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.kdp-mockup-url {
  margin-left: 12px;
  background: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #64748B;
  font-family: 'Inter', monospace;
}
.kdp-mockup-body { padding: 24px 22px 22px; }
.kdp-mockup-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.kdp-mockup-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.kdp-mockup-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px;
}
.kdp-mockup-label { font-size: 0.68rem; color: #64748B; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.kdp-mockup-val { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--navy); font-weight: 700; margin-top: 2px; }
.kdp-mockup-trend { font-size: 0.72rem; color: var(--orange); font-weight: 600; margin-top: 2px; }
.kdp-mockup-chart {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  height: 110px;
  padding: 8px;
}

/* ============== TESTIMONIALS ============== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testimonial-stars { color: var(--orange); margin-bottom: 14px; font-size: 1.05rem; letter-spacing: 2px; }
.testimonial-quote {
  color: var(--gray-700);
  font-size: 1rem;
  margin-bottom: 22px;
  line-height: 1.65;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name { color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.testimonial-role { color: var(--gray-500); font-size: 0.82rem; }

/* ============== ABOUT TEASER ============== */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.about-img-tag strong { color: var(--navy); display: block; font-family: 'Playfair Display', serif; font-size: 1.4rem; }
.about-img-tag span { color: var(--gray-500); font-size: 0.85rem; }

/* About visual (no photo) — quote + floating stat cards */
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
}
.about-quote-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-quote-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,102,255,0.3), transparent 70%);
  border-radius: 50%;
}
.about-quote-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,107,53,0.25), transparent 70%);
  border-radius: 50%;
}
.about-quote-card > * { position: relative; z-index: 1; }
.about-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 0.8;
  color: var(--orange);
  font-style: italic;
  margin-bottom: 6px;
}
.about-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 28px;
}
.about-quote-name { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--white); }
.about-quote-role { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 2px; }

.about-stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.about-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--orange);
  font-weight: 700;
  line-height: 1;
}
.about-stat-num span { font-size: 0.9rem; color: var(--gray-500); margin-left: 4px; font-weight: 400; }
.about-stat-label { color: var(--gray-700); font-size: 0.82rem; }
.about-stat-1 { top: 32px; left: -32px; }
.about-stat-2 { top: 50%; right: -36px; transform: translateY(-50%); }
.about-stat-3 { bottom: 36px; left: -24px; }
@media (max-width: 960px) {
  .about-stat-1 { left: 8px; }
  .about-stat-2 { right: 8px; }
  .about-stat-3 { left: 8px; }
}

.about-text h2 { margin-bottom: 22px; }
.about-text p { margin-bottom: 16px; }
.about-checks { list-style: none; margin: 24px 0 32px; }
.about-checks li {
  padding: 10px 0;
  display: flex; align-items: center; gap: 12px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.about-checks li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============== CTA FINAL ============== */
.cta-final {
  background: linear-gradient(135deg, var(--orange) 0%, #FF8C42 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0,0,0,0.15), transparent 50%);
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { color: var(--white); margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,0.9); max-width: 580px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-final .btn-primary { background: var(--white); color: var(--navy); box-shadow: 0 14px 40px rgba(0,0,0,0.2); }
.cta-final .btn-primary:hover { background: var(--navy); color: var(--white); }
.cta-final .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.cta-final .btn-outline:hover { background: var(--white); color: var(--orange); }

/* ============== FOOTER ============== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer-links a:hover { color: var(--orange); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--white);
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============== PAGE HEADER (interior pages) ============== */
.page-header {
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute;
  top: -150px; right: -150px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(0,102,255,0.10), transparent 70%);
  border-radius: 50%;
}
.page-header::after {
  content: ''; position: absolute;
  bottom: -100px; left: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.08), transparent 70%);
  border-radius: 50%;
}
.page-header-inner { position: relative; z-index: 1; max-width: 780px; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 16px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--orange); }

/* ============== TIMELINE (about page) ============== */
.timeline {
  position: relative;
  margin: 48px 0;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--orange));
}
.timeline-item {
  position: relative;
  padding: 0 0 44px 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange);
}
.timeline-year {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.timeline-item h3 { margin-bottom: 12px; font-size: 1.25rem; }
.timeline-item p { color: var(--gray-700); }
.timeline-item ul { margin-top: 10px; padding-left: 18px; color: var(--gray-700); }
.timeline-item ul li { margin-bottom: 6px; }

/* ============== EXPERTISE GRID ============== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.expertise-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}
.expertise-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.expertise-card-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--orange);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.expertise-card h4 { margin-bottom: 8px; color: var(--navy); }
.expertise-card p { color: var(--gray-500); font-size: 0.92rem; }

/* ============== SERVICES PAGE DETAIL ============== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1000/637;
  background: var(--navy);
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
}
.service-detail h2 { margin-bottom: 18px; }
.service-detail-list { list-style: none; margin: 24px 0; }
.service-detail-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--gray-700);
}
.service-detail-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 10px;
  color: var(--white);
  background: var(--blue);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}
.service-detail-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  background: var(--orange-pale);
  border-radius: 999px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 16px;
}
.service-detail-price span { font-weight: 400; color: var(--gray-500); font-size: 0.85rem; }

/* ============== BLOG ============== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  position: relative;
  overflow: hidden;
}
.blog-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,107,53,0.4), transparent 60%),
    radial-gradient(circle at 80% 60%, rgba(0,102,255,0.4), transparent 60%);
}
.blog-card-img.alt-1 { background: linear-gradient(135deg, #1E3A8A, #3B82F6); }
.blog-card-img.alt-2 { background: linear-gradient(135deg, #BE3A11, #FF6B35); }
.blog-card-img.alt-3 { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.blog-card-img-label {
  position: absolute; top: 18px; left: 18px;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}
.blog-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { color: var(--gray-500); font-size: 0.82rem; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.blog-card p { color: var(--gray-500); margin-bottom: 18px; flex: 1; font-size: 0.95rem; }
.blog-read { color: var(--orange); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }

/* ============== NEWSLETTER ============== */
.newsletter {
  background: var(--blue-pale);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
}
.newsletter h3 { font-size: 1.8rem; margin-bottom: 12px; }
.newsletter p { color: var(--gray-700); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex; gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}
.newsletter-form input:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ============== CONTACT FORM ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.contact-info { }
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { margin-bottom: 32px; color: var(--gray-700); }
.contact-items { list-style: none; }
.contact-item {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-item-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-pale);
  color: var(--blue);
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-item-text strong { display: block; color: var(--navy); margin-bottom: 4px; }
.contact-item-text a { color: var(--gray-700); }
.contact-item-text a:hover { color: var(--orange); }

.contact-form {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--gray-900);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ============== RESPONSIVE ============== */
@media (max-width: 960px) {
  .hero-grid, .about-teaser, .kdp-pilot-grid, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 48px; }
  .services-grid, .testimonials-grid, .blog-grid, .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kdp-pilot-promo { padding: 40px 28px; }
  .hero-badge-1 { left: 10px; }
  .hero-badge-2 { right: 10px; }
  .section { padding: 72px 0; }
  .service-detail.reverse { direction: ltr; }

  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-100);
    display: none;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 560px) {
  .services-grid, .testimonials-grid, .blog-grid, .expertise-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter, .cta-final { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 0 80px; }
}

/* ============== ANIMATIONS ============== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.fade-up.delay-1 { animation-delay: 100ms; }
.fade-up.delay-2 { animation-delay: 200ms; }
.fade-up.delay-3 { animation-delay: 300ms; }

/* ============== SERVICES — CATEGORIES & COMPACT CARDS ============== */
.svc-nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.svc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
}
.svc-nav a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.svc-nav a .dot { width: 9px; height: 9px; border-radius: 50%; }
.svc-nav a .dot.blue { background: var(--blue); }
.svc-nav a .dot.orange { background: var(--orange); }

.svc-cat { margin-bottom: 72px; scroll-margin-top: 100px; }
.svc-cat:last-child { margin-bottom: 0; }
.svc-cat-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.svc-cat-num {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.svc-cat-num.blue { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.svc-cat-num.orange { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.svc-cat-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.svc-cat-head p { margin: 4px 0 0; color: var(--gray-500); font-size: 0.98rem; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  scroll-margin-top: 100px;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card-img {
  aspect-ratio: 1000 / 637;
  overflow: hidden;
  background: #0A1428;
}
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms; }
.svc-card:hover .svc-card-img img { transform: scale(1.04); }
.svc-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.svc-card-top h3 { font-size: 1.18rem; margin: 0; }
.svc-price {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.svc-card-desc { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 16px; }
.svc-points { list-style: none; margin: 0 0 20px; }
.svc-points li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 0.88rem;
  color: var(--gray-700);
}
.svc-points li::before {
  content: '✓';
  position: absolute; left: 0; top: 7px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
}
.svc-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange);
}
.svc-link:hover { gap: 10px; }

@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-cat-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============== SERVICE HIGHLIGHT (coaching transversal) ============== */
.svc-highlight {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  margin-top: 56px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 100px;
}
.svc-highlight-media { position: relative; min-height: 280px; background: #0A1428; }
.svc-highlight-media img { width: 100%; height: 100%; object-fit: contain; }
.svc-highlight-body {
  padding: 48px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-highlight-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(255,107,53,0.18);
  color: var(--orange);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.svc-highlight-body h2 { color: var(--white); margin-bottom: 14px; }
.svc-highlight-body > p { color: rgba(255,255,255,0.78); margin-bottom: 22px; }
.svc-highlight-points { list-style: none; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.svc-highlight-points li {
  padding-left: 28px;
  position: relative;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
}
.svc-highlight-points li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
}
.svc-highlight-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.svc-highlight-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
}
@media (max-width: 960px) {
  .svc-highlight { grid-template-columns: 1fr; }
  .svc-highlight-media { min-height: 220px; }
  .svc-highlight-body { padding: 36px 28px; }
}
@media (max-width: 560px) {
  .svc-highlight-points { grid-template-columns: 1fr; }
}

/* ============== SERVICE BAND (coaching full-width, no image) ============== */
.svc-band {
  margin-top: 56px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  scroll-margin-top: 100px;
}
.svc-band::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,102,255,0.28), transparent 70%);
  border-radius: 50%;
}
.svc-band::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,107,53,0.22), transparent 70%);
  border-radius: 50%;
}
.svc-band-body {
  position: relative;
  z-index: 1;
  padding: 48px 56px;
  color: var(--white);
}
.svc-band-body h2 { color: var(--white); margin-bottom: 14px; }
.svc-band-body > p { color: rgba(255,255,255,0.78); margin-bottom: 22px; max-width: 760px; }
.svc-band-body .svc-highlight-points { max-width: 820px; }
@media (max-width: 560px) {
  .svc-band-body { padding: 36px 28px; }
}

/* ============== SERVICES HEADER 2-COL + COACHING CARD ============== */
.svc-header-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.svc-header-grid .page-header-inner h1 { font-size: clamp(2rem, 3.4vw, 2.85rem); }
.svc-header-grid .page-header-inner { max-width: none; }

.svc-coach-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 100px;
}
.svc-coach-card::before {
  content: '';
  position: absolute;
  top: -90px; right: -70px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,102,255,0.30), transparent 70%);
  border-radius: 50%;
}
.svc-coach-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,107,53,0.22), transparent 70%);
  border-radius: 50%;
}
.svc-coach-card > * { position: relative; z-index: 1; }
.svc-coach-card h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 12px; }
.svc-coach-card > p { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin-bottom: 20px; }
.svc-coach-card .svc-highlight-points { display: block; margin: 0 0 24px; }
.svc-coach-card .svc-highlight-points li { font-size: 0.9rem; margin-bottom: 8px; }
.svc-coach-card .svc-highlight-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.svc-coach-card .svc-highlight-price { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--orange); }

@media (max-width: 960px) {
  .svc-header-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============== KDP PILOT — PILLS & FAQ ============== */
.kdp-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
}

.faq { margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--orange); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--gray-700);
  margin: 0;
}

/* ============== LEGAL PAGES ============== */
.legal-content { max-width: 820px; }
.legal-updated { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 32px; }
.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin: 20px 0 8px; color: var(--navy); font-family: 'Inter', sans-serif; }
.legal-content p, .legal-content li { color: var(--gray-700); margin-bottom: 12px; line-height: 1.7; }
.legal-content ul { padding-left: 22px; margin-bottom: 12px; }
.legal-content strong { color: var(--navy); }
.legal-content a { color: var(--blue); }
.legal-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 8px 0 16px;
}
.legal-box p { margin-bottom: 4px; }
.legal-todo {
  background: var(--orange-pale);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 4px 10px;
  color: #9A3412;
  font-size: 0.9rem;
  font-style: italic;
}

/* ============== BLOG ARTICLE PAGES ============== */
.article-body { max-width: 760px; margin: 0 auto; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
  color: var(--gray-500); font-size: 0.9rem; margin-top: 14px;
}
.article-meta .author { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; }
.article-meta .author-avatar { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; }
.article-meta .author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.article-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 44px 0 16px; scroll-margin-top: 96px; }
.article-body h3 { font-size: 1.25rem; margin: 28px 0 10px; font-family: 'Inter', sans-serif; color: var(--navy); }
.article-body p { margin-bottom: 16px; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body strong { color: var(--navy); }
.article-body > p:first-of-type { font-size: 1.12rem; color: var(--gray-700); }

/* Definition canonique */
.def-box {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 8px 0 28px;
}
.def-box p { margin: 0; }
.def-box strong { color: var(--blue); }

/* Réponse en 1 minute */
.tldr-box {
  background: #FFFAF6;
  border: 1px solid #FFE0CC;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
}
.tldr-box h2, .tldr-box h3 { margin-top: 0; font-size: 1.15rem; color: var(--orange); font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; }
.tldr-box ul { margin-bottom: 0; }
.tldr-box .tldr-bottom { margin: 14px 0 0; font-weight: 600; color: var(--navy); }

/* TOC */
.article-toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0;
}
.article-toc strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 12px; }
.article-toc ol { margin: 0 0 0 18px; }
.article-toc li { margin-bottom: 6px; }
.article-toc a { color: var(--gray-700); }
.article-toc a:hover { color: var(--orange); }

/* Tables */
.article-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.95rem; }
.article-table th, .article-table td { border: 1px solid var(--gray-200); padding: 11px 14px; text-align: left; vertical-align: top; }
.article-table th { background: var(--navy); color: #fff; font-weight: 600; }
.article-table tr:nth-child(even) td { background: var(--gray-50); }

/* Inline callout */
.callout {
  background: #FFF7ED; border: 1px solid #FED7AA; border-radius: var(--radius-md);
  padding: 16px 20px; margin: 22px 0; font-size: 0.96rem;
}
.callout strong { color: #9A3412; }

/* Pour aller plus loin */
.further {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px 30px; margin: 36px 0 0;
}
.further h2 { margin-top: 0; }
.further h4 { margin: 18px 0 8px; color: var(--navy); }
.further ul { list-style: none; margin-left: 0; }
.further li { margin-bottom: 8px; padding-left: 18px; position: relative; }
.further li::before { content: '→'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* CTA fin d'article */
.article-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff; border-radius: var(--radius-lg); padding: 36px 38px; margin: 36px 0 0;
  position: relative; overflow: hidden;
}
.article-cta::after { content: ''; position: absolute; top: -80px; right: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,107,53,0.25), transparent 70%); border-radius: 50%; }
.article-cta > * { position: relative; z-index: 1; }
.article-cta h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }

.article-tag {
  display: inline-block; background: var(--orange-pale); color: var(--orange);
  padding: 5px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px;
}

/* ============== BLOG BANNERS (cards + article hero) ============== */
/* Dot pattern overlay on card thumbnails */
.blog-card-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  z-index: 1;
}
.blog-card-img .bnr-icon {
  position: absolute; right: 14px; bottom: 10px;
  width: 104px; height: 104px;
  color: #fff; opacity: 0.92; z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
  transition: transform 400ms;
}
.blog-card:hover .blog-card-img .bnr-icon { transform: scale(1.06) rotate(-2deg); }
.blog-card-img-label { z-index: 3; }

/* Featured article visual icon */
.feat-visual .bnr-icon {
  position: absolute; right: 26px; top: 24px;
  width: 120px; height: 120px; color: #fff; opacity: 0.9; z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
}
.feat-visual::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

/* Article hero banner (on post pages) */
.post-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21 / 7;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  padding: 0 44px;
}
.post-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
}
.post-hero::after {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 65%);
  z-index: 1;
}
.post-hero-label {
  position: relative; z-index: 2;
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.post-hero .bnr-icon {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  width: 130px; height: 130px; color: #fff; opacity: 0.95; z-index: 2;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.3));
}
/* Banner gradients per theme */
.bnr-strategy { background: linear-gradient(135deg, #0A1F44, #0066FF); }
.bnr-launch   { background: linear-gradient(135deg, #061535, #1E3A8A); }
.bnr-money    { background: linear-gradient(135deg, #0A1F44, #1E6F5C); }
.bnr-ads      { background: linear-gradient(135deg, #BE3A11, #FF6B35); }
.bnr-case     { background: linear-gradient(135deg, #142a5a, #0066FF); }
@media (max-width: 560px) {
  .post-hero { aspect-ratio: 16/7; padding: 0 24px; }
  .post-hero .bnr-icon { width: 90px; height: 90px; right: 20px; }
}
