/* ============================================================
   SEOtop10 — Custom CSS
   Bootstrap 5 overrides + design system
   ============================================================ */

/* ── Google Fonts are loaded in header.php ── */

/* ── CSS Variables ── */
:root {
  --ink:          #0b0d12;
  --ink-light:    #2a2d38;
  --paper:        #f5f3ee;
  --paper-mid:    #ede9e1;
  --gold:         #c8a84b;
  --gold-light:   #e8cc7a;
  --teal:         #1a6b6b;
  --teal-bright:  #22a8a8;
  --teal-pale:    #e6f4f4;
  --text-body:    #3a3d4a;
  --text-muted-c: #7a7e8c;

  /* Bootstrap overrides */
  --bs-body-font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --bs-body-color: var(--text-body);
  --bs-body-bg: var(--paper);
  --bs-link-color: var(--teal);
  --bs-link-hover-color: var(--teal-bright);
  --bs-border-radius: 4px;
  --bs-border-radius-lg: 12px;
}

/* ── Typography ── */
/*
  Font system (reviewed against live render):
  Headings  → Plus Jakarta Sans 700 — open, confident, naturally proportioned
  Hero h1   → 700 weight (not 800) — 800 is too blocky at display sizes
  Body      → Inter 400/500        — 300 is too thin on screens; use 400 minimum
*/
body {
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;         /* 700 not 800 — reads sharper at smaller sizes */
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Display classes — hero and section headlines */
/* Key insight: reduce letter-spacing at large sizes, but don't over-tighten */
.display-3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;         /* 700 prevents blocky over-bold on hero */
  font-size: clamp(2.4rem, 4.5vw, 4rem); /* scale down on mid viewports */
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.display-5 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.75vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

/* Bootstrap heading size overrides — tighten line-heights to prevent squashing */
.h1, .h2 { line-height: 1.18; letter-spacing: -0.015em; }
.h3, .h4 { line-height: 1.28; letter-spacing: -0.01em;  }
.h5, .h6 { line-height: 1.38; letter-spacing: 0;        }

.lead {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.72;
  font-weight: 400;   /* was 300 — 400 is more legible on screen */
  letter-spacing: 0.005em;
}

/* Supporting copy — slightly lighter than body, still legible */
.text-supporting {
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text-muted-c);
}

.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-300 { font-weight: 300 !important; }

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.4;
}

/* ── Colour helpers ── */
.text-teal        { color: var(--teal) !important; }
.text-teal-bright { color: var(--teal-bright) !important; }
.text-gold        { color: var(--gold) !important; }
.text-gold-light  { color: var(--gold-light) !important; }
.text-white-60    { color: rgba(255,255,255,0.6) !important; }
.text-white-45    { color: rgba(255,255,255,0.45) !important; }
.text-white-40    { color: rgba(255,255,255,0.4) !important; }
.text-white-30    { color: rgba(255,255,255,0.3) !important; }
.bg-ink           { background-color: var(--ink) !important; }
.bg-paper         { background-color: var(--paper) !important; }
.bg-paper-mid     { background-color: var(--paper-mid) !important; }
.border-white-6   { border-color: rgba(255,255,255,0.06) !important; }

/* ── Spacing helpers ── */
.py-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.pt-hero { padding-top: 140px !important; }
.mt-section { margin-top: 4rem; }

/* ── Section label ── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  border-left: 2px solid var(--teal);
  padding-left: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── Navbar ── */
.seo-nav {
  background: rgba(245,243,238,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,168,75,0.2);
  transition: box-shadow 0.3s;
}
.seo-nav.scrolled { box-shadow: 0 2px 24px rgba(11,13,18,0.08); }

.seo-logo {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  text-decoration: none;
}

.logo-badge {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  vertical-align: super;
}

.seo-nav .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.seo-nav .nav-link:hover,
.seo-nav .nav-link.active { color: var(--teal); }

.btn-nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--bs-border-radius);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-nav-cta:hover { background: var(--teal); transform: translateY(-1px); }

/* ── Buttons ── */
.btn-primary-gold {
  background: var(--gold);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--bs-border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-primary-gold:hover {
  background: var(--gold-light);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,168,75,0.3);
}

.btn-outline-hero {
  background: transparent;
  color: var(--paper);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(245,243,238,0.25);
  border-radius: var(--bs-border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-outline-hero:hover {
  border-color: rgba(245,243,238,0.6);
  background: rgba(245,243,238,0.05);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-dark-seo {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--bs-border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-dark-seo:hover { background: var(--teal); color: var(--paper); transform: translateY(-2px); }

.btn-teal-outline {
  background: transparent;
  color: var(--teal);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--teal);
  border-radius: var(--bs-border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-teal-outline:hover { background: var(--teal); color: white; transform: translateY(-2px); }

.btn-white-cta {
  background: white;
  color: var(--teal);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: var(--bs-border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-white-cta:hover { color: var(--teal); box-shadow: 0 8px 28px rgba(0,0,0,0.2); transform: translateY(-2px); }

.btn-whatsapp {
  background: #25d366;
  color: white;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: var(--bs-border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.btn-whatsapp:hover { background: #1db855; color: white; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.3); }

/* ── Tags / Badges ── */
.seo-tag {
  display: inline-block;
  background: rgba(34,168,168,0.12);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.seo-tag-gold {
  background: rgba(200,168,75,0.15);
  color: var(--gold);
}
.seo-tag-dark {
  background: rgba(11,13,18,0.07);
  color: var(--text-body);
}

/* ── Cards ── */
.seo-card {
  background: white;
  border: 1px solid rgba(11,13,18,0.07);
  border-radius: var(--bs-border-radius-lg);
  padding: 2.25rem;
  height: 100%;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.seo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.seo-card:hover { box-shadow: 0 12px 40px rgba(11,13,18,0.1); transform: translateY(-4px); }
.seo-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  background: var(--teal-pale);
  border-radius: var(--bs-border-radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.dark-card {
  background: var(--ink-light);
  border: 1px solid rgba(245,243,238,0.06);
  border-radius: var(--bs-border-radius-lg);
  padding: 2rem;
}

/* ── Dark visual box ── */
.metric-visual {
  background: var(--ink);
  border-radius: var(--bs-border-radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.metric-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34,168,168,0.2), transparent 70%);
  border-radius: 50%;
}
.metric-visual h3 { color: var(--paper); font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; }

.metric-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(245,243,238,0.07);
}
.metric-row:last-child { border: none; }
.metric-label { font-size: 0.85rem; color: rgba(245,243,238,0.55); }
.metric-bar-wrap { flex: 1; margin: 0 1rem; }
.metric-bar { height: 6px; background: rgba(245,243,238,0.1); border-radius: 3px; overflow: hidden; }
.metric-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
}
.metric-val {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700; font-size: 0.9rem;
  color: var(--gold-light); min-width: 44px; text-align: right;
}

/* ── Hero (homepage) ── */
.hero-section {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
  padding-top: 100px;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,168,168,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,168,168,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,168,168,0.15) 0%, transparent 70%);
  top: -100px; right: -100px; border-radius: 50%;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,168,75,0.1) 0%, transparent 70%);
  bottom: 0; left: -80px; border-radius: 50%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(34,168,168,0.15);
  border: 1px solid rgba(34,168,168,0.3);
  color: var(--teal-bright);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 99px; margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal-bright); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:0.4;transform:scale(0.8);}
}
.hero-title em { font-style: normal; color: var(--gold-light); position: relative; }
.hero-title em::after {
  content: '';
  position: absolute; bottom: 4px; left: 0; right: 0;
  height: 3px; background: var(--gold); border-radius: 2px; opacity: 0.6;
}
/* Hero h1 — 700 weight renders sharper than 800 at large viewport sizes */
.hero-section h1 {
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
}
.hero-stats {
  border-top: 1px solid rgba(245,243,238,0.08);
  padding-top: 3rem; margin-top: 3rem;
}
.stat-number {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 2.4rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1;
  color: var(--gold-light); display: block;
}
.stat-label {
  font-size: 0.75rem; color: rgba(245,243,238,0.45);
  text-transform: uppercase; letter-spacing: 0.09em; font-weight: 500;
  margin-top: 0.35rem; display: block;
}

/* ── Trust strip ── */
.trust-strip { background: var(--paper-mid); border-bottom: 1px solid rgba(11,13,18,0.06); }
.trust-strip p { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
.trust-logo { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--text-muted-c); opacity: 0.6; }

/* ── Problem section ── */
.problem-section { background: var(--ink); }
.problem-section .section-label { color: var(--gold-light); border-color: var(--gold); }
.problem-card { background: var(--ink-light); padding: 2rem; position: relative; height: 100%; }
.problem-number {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 4rem; font-weight: 800;
  color: rgba(245,243,238,0.05);
  position: absolute; top: 1rem; right: 1.5rem; line-height: 1;
}
.problem-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.problem-card h3 { font-size: 1rem; font-weight: 700; color: var(--paper); margin-bottom: 0.6rem; }
.problem-card p  { font-size: 0.875rem; color: rgba(245,243,238,0.5); line-height: 1.65; font-weight: 400; margin: 0; }
.problem-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  background: rgba(245,243,238,0.06);
  border: 1px solid rgba(245,243,238,0.06);
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
}

/* ── Process steps ── */
.process-section { background: var(--paper-mid); }
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--gold), transparent);
}
.process-step { text-align: center; padding: 0 1.25rem; }
.step-num {
  width: 64px; height: 64px;
  background: var(--ink); color: var(--gold-light);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 1.1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--paper-mid);
  box-shadow: 0 0 0 1px var(--ink);
  position: relative; z-index: 1;
}
.process-step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.process-step p  { font-size: 0.875rem; color: var(--text-muted-c); line-height: 1.65; font-weight: 400; }

/* ── Why us icons ── */
.why-icon {
  width: 44px; height: 44px;
  background: var(--ink); color: var(--gold-light);
  border-radius: var(--bs-border-radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

/* ── Testimonials ── */
.testi-section { background: var(--ink); }
.testi-section .section-label { color: var(--gold-light); border-color: var(--gold); }
.testi-card {
  background: var(--ink-light);
  border: 1px solid rgba(245,243,238,0.06);
  border-radius: var(--bs-border-radius-lg);
  padding: 2rem; position: relative; height: 100%;
}
.testi-card::before {
  content: '\201C';
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 6rem; line-height: 0.7;
  color: rgba(200,168,75,0.15);
  position: absolute; top: 1.5rem; right: 1.5rem;
}
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 0.05em; }
.testi-text { font-size: 0.9rem; color: rgba(245,243,238,0.78); line-height: 1.75; font-weight: 400; font-style: italic; }
.author-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 0.85rem; color: white;
  flex-shrink: 0;
}
.author-name { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 0.875rem; color: var(--paper); }
.author-biz  { font-size: 0.75rem; color: rgba(245,243,238,0.4); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--paper-mid); }
.faq-btn {
  width: 100%; background: none; border: none; text-align: left;
  cursor: pointer; padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--ink); transition: color 0.2s;
}
.faq-btn:hover { color: var(--teal); }
.faq-toggle {
  width: 28px; height: 28px;
  border: 1px solid var(--paper-mid); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; transition: all 0.3s; color: var(--teal);
}
.faq-btn.open .faq-toggle { background: var(--teal); color: white; transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 1.5rem; font-size: 0.9rem; color: var(--text-muted-c); line-height: 1.75; font-weight: 400; }
.faq-answer.open { display: block; }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, #0d4f4f 100%);
}
.cta-pattern {
  position: absolute; inset: 0;
  background-image: 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='%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/svg%3E");
}

/* ── Footer ── */
.seo-footer { background: var(--ink); }
.footer-heading {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 0.82rem;
  color: var(--paper); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.85rem; color: rgba(245,243,238,0.45); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-bright); }
.footer-contact-link { font-size: 0.85rem; color: rgba(245,243,238,0.45); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.footer-contact-link:hover { color: var(--teal-bright); }

/* ── Page hero (interior) ── */
.page-hero { background: var(--ink); }
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,168,168,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,168,168,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,168,168,0.12), transparent 70%);
  top: -80px; right: -80px; border-radius: 50%;
}

/* ── Breadcrumb bar ── */
.breadcrumb-bar {
  background: var(--paper-mid);
  border-bottom: 1px solid rgba(11,13,18,0.06);
}
.breadcrumb-item.active { color: var(--text-muted-c); }

/* ── Services detail (services.php) ── */
.service-detail-section { border-bottom: 1px solid var(--paper-mid); }
.service-detail-section:last-child { border: none; }
.feature-check { list-style: none; padding: 0; }
.feature-check li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; margin-bottom: 0.5rem;
}
.feature-check li::before {
  content: '✓';
  background: var(--teal-pale); color: var(--teal);
  font-weight: 700; font-size: 0.7rem;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.service-dark-box {
  background: var(--ink); border-radius: var(--bs-border-radius-lg);
  padding: 2.5rem; position: relative; overflow: hidden; min-height: 300px;
  display: flex; flex-direction: column; justify-content: center;
}
.service-dark-box::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34,168,168,0.2), transparent 70%);
  border-radius: 50%;
}
.service-dark-box::after {
  content: ''; position: absolute; bottom: -50px; left: -50px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(200,168,75,0.12), transparent 70%);
  border-radius: 50%;
}
.big-icon { font-size: 3.5rem; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.box-title { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--paper); margin-bottom: 1rem; position: relative; z-index: 1; }
.box-metrics { position: relative; z-index: 1; }
.box-metric { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.box-metric-num { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--teal-bright); min-width: 70px; }
.box-metric-label { font-size: 0.8rem; color: rgba(245,243,238,0.5); font-weight: 300; }

/* ── Pricing ── */
.pricing-card {
  background: white;
  border: 1px solid rgba(11,13,18,0.07);
  border-radius: var(--bs-border-radius-lg);
  padding: 2.5rem; position: relative; height: 100%; transition: all 0.3s;
}
.pricing-card:hover:not(.featured-plan) { box-shadow: 0 12px 40px rgba(11,13,18,0.1); }
.featured-plan { background: var(--ink); border-color: var(--teal); transform: scale(1.03); }
.featured-badge-wrap {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink);
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 14px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
}
.plan-name { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); }
.featured-plan .plan-name { color: var(--gold-light); }
.plan-price { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 2rem; font-weight: 800; }
.featured-plan .plan-price, .featured-plan h3, .featured-plan p { color: var(--paper); }
.featured-plan .text-muted { color: rgba(245,243,238,0.5) !important; }
.plan-features { list-style: none; padding: 0; }
.plan-features li { font-size: 0.875rem; display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.6rem; }
.plan-features li::before {
  content: '✓'; background: var(--teal-pale); color: var(--teal);
  font-weight: 700; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0; margin-top: 1px;
}
.featured-plan .plan-features li { color: rgba(245,243,238,0.75); }
.featured-plan .plan-features li::before { background: rgba(34,168,168,0.2); color: var(--teal-bright); }

/* ── About timeline ── */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 32px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--teal), var(--gold));
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 3rem; }
.timeline-dot {
  width: 64px; height: 64px; flex-shrink: 0;
  background: var(--ink); color: var(--gold-light);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 0.78rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--teal);
  position: relative; z-index: 1; text-align: center; line-height: 1.2;
}
.timeline-content { padding-top: 0.75rem; }
.timeline-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.timeline-content p  { font-size: 0.9rem; color: var(--text-muted-c); line-height: 1.7; font-weight: 400; }

/* ── Blog grid ── */
.blog-card { background: white; border: 1px solid rgba(11,13,18,0.07); border-radius: var(--bs-border-radius-lg); overflow: hidden; height: 100%; transition: all 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: 0 12px 40px rgba(11,13,18,0.1); transform: translateY(-4px); }
.blog-img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); position: relative; overflow: hidden;
}
.blog-img::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(34,168,168,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(34,168,168,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.blog-emoji { position: relative; z-index: 1; font-size: 3.2rem; }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); background: var(--teal-pale); padding: 2px 8px; border-radius: 99px; }
.blog-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0; }
.blog-card h3 a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--teal); }
.blog-excerpt { font-size: 0.875rem; color: var(--text-muted-c); line-height: 1.7; font-weight: 400; flex: 1; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; transition: gap 0.2s; }
.read-more:hover { gap: 0.6rem; }

/* ── Contact form ── */
.contact-form-card {
  background: white; border: 1px solid rgba(11,13,18,0.07);
  border-radius: var(--bs-border-radius-lg); padding: 2.5rem;
}
.form-label-seo { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,107,107,0.12); }

/* ── Value cards ── */
.value-card {
  background: white; border: 1px solid rgba(11,13,18,0.07);
  border-top: 3px solid var(--teal);
  border-radius: var(--bs-border-radius-lg); padding: 2rem; height: 100%;
  transition: all 0.3s;
}
.value-card:hover { box-shadow: 0 8px 32px rgba(11,13,18,0.08); transform: translateY(-3px); }

/* ── Map placeholder ── */
.map-placeholder {
  background: var(--ink); border-radius: var(--bs-border-radius-lg);
  padding: 2.5rem; text-align: center; position: relative; overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(34,168,168,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(34,168,168,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── Stats band ── */
.stats-band { background: var(--ink); }
.stat-big-num {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--gold-light); display: block;
}

/* ── Case study cards ── */
.case-card {
  background: white; border: 1px solid rgba(11,13,18,0.07);
  border-radius: var(--bs-border-radius-lg); overflow: hidden;
}
.case-visual {
  background: var(--ink); padding: 2.5rem;
  position: relative; overflow: hidden; min-height: 260px;
  display: flex; flex-direction: column; justify-content: center;
}
.case-visual::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34,168,168,0.2), transparent 70%); border-radius: 50%;
}
.case-industry { display: inline-block; background: rgba(200,168,75,0.15); color: var(--gold-light); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.5rem; }
.case-metric-num { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--teal-bright); }
.case-metric-label { font-size: 0.8rem; color: rgba(245,243,238,0.55); font-weight: 300; }
.case-body { padding: 2.5rem; }
.detail-label { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted-c); margin-bottom: 0.25rem; }

/* ── Newsletter ── */
.newsletter-band { background: var(--paper-mid); border-radius: var(--bs-border-radius-lg); }

/* ── Scroll reveal ── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ── Responsive tweaks ── */
@media (max-width: 991.98px) {
  .process-timeline::before { display: none; }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .metric-visual { display: none; }
  .featured-plan { transform: none; }
}
@media (max-width: 767.98px) {
  .process-timeline { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem !important; }
  .stat-number { font-size: 1.8rem; }
  .timeline::before { left: 24px; }
  .timeline-dot { width: 48px; height: 48px; font-size: 0.7rem; }
}
