/* =============================================
   MEDIAOFFICERS — style.css
   Design tokens, base, components, sections
   ============================================= */

/* === TOKENS === */
:root {
  --bg: #FFFFFF;
  --bg-grey: #F8FAFC;
  --heading: #0F172A;
  --dark: #0F172A;
  --text: #334155;
  --text-dark: #1E293B;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-light: #EFF6FF;
  --blue-border: #BFDBFE;
  --green: #22C55E;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1200px;
  --transition: .22s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; overflow-x: hidden; width: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; max-width: 100%; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === CONTAINER === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* === TYPOGRAPHY === */
h1,h2,h3,h4 { font-family: var(--font-heading); color: var(--heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.25; }
h3 { font-size: 1.15rem; }
p { max-width: 680px; }
.text--blue { color: var(--blue); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border-radius: var(--radius-sm); transition: var(--transition); cursor: pointer;
  padding: 12px 24px; white-space: nowrap;
}
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.btn--primary:hover { background: var(--blue-hover); transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 35px rgba(37,99,235,.6); }
.btn--ghost { border: 2px solid var(--border); color: var(--text-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--pulse { animation: btnPulse 2s infinite; }
@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(37,99,235,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

/* === SECTIONS === */
.section { padding: 96px 0; }
.section--sm { padding: 56px 0; }
.section--grey { background: var(--bg-grey); }

.section__tag {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; padding: 5px 14px; border-radius: 50px;
  margin-bottom: 16px;
}
.section__title { margin-bottom: 16px; }
.section__subtitle { color: var(--text); font-size: 1.05rem; margin-bottom: 48px; }
.section__header { text-align: center; }
.section__header p { margin: 0 auto 48px; }

/* Ensure paragraphs with max-width inside centered containers are centered horizontally */
[style*="text-align: center"] p,
[style*="text-align:center"] p,
.text-center p {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* === ANIMATE ON SCROLL === */
[data-animate].will-animate { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
[data-animate].visible { opacity: 1 !important; transform: translateY(0) !important; }

/* === IMAGE PLACEHOLDER === */
.img-placeholder {
  background: var(--bg-grey); border: 2px dashed var(--border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  min-height: 320px; width: 100%;
}
.img-placeholder--sm { min-height: 180px; margin-bottom: 20px; }
.img-placeholder__inner { text-align: center; color: var(--text); padding: 24px; }
.img-placeholder__inner svg { margin: 0 auto 12px; }
.img-placeholder__inner p { font-weight: 600; font-size: .95rem; }
.img-placeholder__inner small { font-size: .8rem; color: #94A3B8; max-width: 260px; display: block; margin: 6px auto 0; }

/* ===================== HEADER / NAV ===================== */
.header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.2rem; color: var(--heading); }
.logo__icon {
  width: 36px; height: 36px; background: var(--blue); color: #fff;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.nav__menu { display: flex; align-items: center; gap: 8px; }
.nav__link { padding: 8px 14px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; color: var(--text-dark); transition: var(--transition); }
.nav__link:hover { background: var(--bg-grey); color: var(--blue); }
.nav__link--cta { margin-left: 8px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 24px; height: 2px; background: var(--heading);
  border-radius: 2px; transition: var(--transition);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav__toggle.open .hamburger { background: transparent; }
.nav__toggle.open .hamburger::before { transform: rotate(45deg); top: 0; }
.nav__toggle.open .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ===================== HERO ===================== */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero__container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light);
  border: 1px solid var(--blue-border); border-radius: 50px; padding: 6px 16px;
  font-size: .82rem; font-weight: 600; color: var(--blue); margin-bottom: 24px;
}
.badge__dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.4; } }
.hero__headline { margin-bottom: 20px; }
.hero__subheadline { font-size: 1.05rem; color: var(--text); margin-bottom: 36px; max-width: 520px; }
.hero__form { margin-bottom: 16px; width: 100%; max-width: 540px; }
.hero__form-inner { display: flex; flex-direction: column; gap: 10px; background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.hero__form-inner input { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font-body); }
.hero__form-inner input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.hero__urgency { font-size: 0.85rem; color: var(--text); display: flex; align-items: center; gap: 12px; }
.hero__urgency strong { color: var(--heading); }
.hero__urgency .divider { color: var(--border); }

.hero__offer-badge {
  position: absolute; 
  top: -14px; 
  right: 32px; 
  background: #F59E0B; 
  color: #fff; 
  font-size: 0.75rem; 
  font-weight: 800; 
  padding: 6px 16px; 
  border-radius: 50px; 
  text-transform: uppercase; 
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.hero__cta-grid {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 12px; 
  margin-bottom: 0; 
  max-width: 100%;
}
.hero__micro-proof {
  display: flex; 
  justify-content: center; 
  gap: 16px; 
  margin-top: 20px; 
  padding-top: 16px; 
  border-top: 1px solid #E2E8F0; 
  flex-wrap: wrap;
}
.micro-proof__item {
  display: flex; 
  align-items: center; 
  gap: 6px; 
  font-size: 0.8rem; 
  font-weight: 600; 
  color: #475569;
}
.wow-proof__metrics {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  margin-bottom: 24px;
}
.audit-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.9); z-index: 10000;
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; overflow-y: auto;
}
.audit-modal__inner {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  border: 2px solid var(--blue);
}
.hero__trust { display: flex; flex-wrap: wrap; gap: 20px; }
.hero__trust li { display: flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 500; color: var(--text-dark); }
.hero__visual { position: relative; z-index: 1; transform: scale(1.18) translateX(20px); margin: -20px 0; }
.hero__visual::before { content: ''; position: absolute; inset: -25px; background: linear-gradient(135deg, rgba(37,99,235,0.2) 0%, rgba(37,99,235,0.05) 50%, transparent 100%); border-radius: var(--radius-lg); z-index: -1; filter: blur(30px); }
.hero__visual::after { content: ''; position: absolute; bottom: -30px; left: 10%; right: 10%; height: 40px; background: rgba(37,99,235,0.15); filter: blur(25px); border-radius: 50%; z-index: -1; }
.hero__floating-card {
  position: absolute; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600;
  animation: float 4s ease-in-out infinite; z-index: 2;
}
.hero__floating-card div { display: flex; flex-direction: column; }
.hero__floating-card strong { color: var(--heading); font-size: .95rem; }
.hero__floating-card span { color: var(--text); font-weight: 400; }
.hero__floating-card--1 { bottom: 24px; left: -20px; animation-delay: 0s; }
.hero__floating-card--2 { top: 24px; right: -20px; animation-delay: 2s; }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

/* ===================== STATS ===================== */
.stats { background: var(--blue); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat__item { padding: 40px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.15); }
.stat__item:last-child { border-right: none; }
.stat__number { font-family: var(--font-heading); font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; color: #fff; display: inline-block; }
.stat__suffix { font-family: var(--font-heading); font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: rgba(255,255,255,.8); }
.stat__label { color: rgba(255,255,255,.75); font-size: .88rem; margin-top: 6px; max-width: none; }
.stat__item--highlight .stat__number, .stat__item--highlight .stat__suffix { color: #FCD34D; }

/* ===================== CLIENTS ===================== */
.clients { padding: 48px 0; border-bottom: 1px solid var(--border); }
.clients__label { text-align: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #94A3B8; font-weight: 600; margin-bottom: 28px; }
.clients__wrapper { overflow: hidden; -webkit-mask: linear-gradient(90deg,transparent,black 15%,black 85%,transparent); mask: linear-gradient(90deg,transparent,black 15%,black 85%,transparent); }
.clients__track { display: flex; gap: 48px; width: max-content; animation: scroll-logos 22s linear infinite; }
.clients__track:hover { animation-play-state: paused; }
.client__logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: #CBD5E1; white-space: nowrap; transition: color var(--transition); }
.client__logo:hover { color: var(--blue); }
.client__logo-img { height: 40px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.client__logo-img:hover { filter: grayscale(0%); opacity: 1; }
@keyframes scroll-logos { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ===================== SERVICES ===================== */
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service__card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: var(--transition); position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.service__card:hover { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 15px 40px rgba(0,0,0,0.08); transform: translateY(-5px); }
.service__card--featured { border-color: var(--blue); background: var(--blue-light); }
.service__icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--blue);
  transition: transform var(--transition);
}
.service__card:hover .service__icon { transform: scale(1.1) rotate(-5deg); }
.service__icon--blue { background: var(--blue); color: #fff; }
.service__card--featured .service__icon { background: var(--blue); color: #fff; }
.service__card h3 { margin-bottom: 10px; }
.service__card p { font-size: .93rem; max-width: none; }
.service__link { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 600; font-size: .9rem; transition: var(--transition); }
.service__link:hover { gap: 6px; letter-spacing: .01em; }
.service__badge {
  position: absolute; top: 16px; right: 16px; background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 50px;
}

/* ===================== WHY US ===================== */
.why-us__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-us__list { display: flex; flex-direction: column; gap: 28px; margin: 32px 0 36px; }
.why-us__list li { display: flex; gap: 16px; }
.list__icon {
  flex-shrink: 0; width: 42px; height: 42px; background: var(--blue-light);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.why-us__list strong { display: block; color: var(--heading); font-weight: 600; margin-bottom: 4px; }
.why-us__list p { font-size: .9rem; max-width: none; }
.why-us__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric__card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.metric__card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--blue); transform: translateY(-5px); }
.metric__card--large { grid-column: 1 / -1; background: var(--blue); border-color: var(--blue); }
.metric__card--large p, .metric__card--large .metric__tag { color: rgba(255,255,255,.8); }
.metric__card--large .metric__number { color: #FCD34D; }
.metric__number { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; display: block; margin-bottom: 8px; }
.metric__tag {
  display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--blue); background: var(--blue-light);
  padding: 3px 10px; border-radius: 50px; margin-top: 12px;
}
.metric__card--large .metric__tag { background: rgba(255,255,255,.15); color: #fff; }
.metric__card p { font-size: .88rem; max-width: none; }

/* ===================== PORTFOLIO ===================== */
.portfolio__tabs { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.portfolio__tab { padding: 10px 24px; border: 2px solid var(--border); border-radius: 50px; background: transparent; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; transition: var(--transition); cursor: pointer; }
.portfolio__tab:hover { border-color: var(--blue); color: var(--blue); }
.portfolio__tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.portfolio__content { display: none; animation: fadeIn 0.4s ease; }
.portfolio__content.active { display: block; }
.portfolio__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.portfolio__img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.3s ease; }
.portfolio__img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); z-index: 2; position: relative; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== CASE STUDIES ===================== */
.results__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.result__card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.result__card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.08); transform: translateY(-5px); border-color: var(--blue); }
.result__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.result__industry { font-size: .78rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.result__period { font-size: .78rem; color: #94A3B8; font-weight: 500; }
.result__title { font-size: 1rem; margin-bottom: 10px; }
.result__challenge { font-size: .88rem; margin-bottom: 20px; max-width: none; }
.result__metrics { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.result__metric { display: flex; flex-direction: column; }
.metric__value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.metric__value--highlight { color: var(--green); display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; background: rgba(34, 197, 94, 0.1); border-radius: 4px; box-shadow: 0 4px 10px rgba(34,197,94,0.2); }
.metric__label { font-size: .78rem; color: #94A3B8; font-weight: 500; margin-top: 4px; }
.result__service-tag {
  font-size: .75rem; font-weight: 600; background: var(--bg-grey);
  color: var(--text-dark); padding: 4px 12px; border-radius: 50px; display: inline-block;
}

/* ===================== SEO PORTFOLIO ===================== */
.seo__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; margin-top: 40px; }
.seo__card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: var(--transition); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.seo__card.hidden-card { display: none; }
.seo__card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--blue); transform: translateY(-5px); }
.seo__header { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.seo__industry { font-size: 0.85rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.05em; }
.seo__project { font-size: 1.1rem; font-weight: 700; color: var(--heading); }
.seo__snapshot { background: var(--blue-light); border: 1px solid var(--blue-border); border-radius: var(--radius-sm); padding: 16px; }
.seo__snapshot strong { color: var(--blue); display: block; margin-bottom: 8px; font-size: 0.9rem; }
.seo__snapshot ul { display: flex; flex-direction: column; gap: 6px; }
.seo__snapshot li { font-size: 0.9rem; color: var(--text-dark); display: flex; align-items: flex-start; gap: 6px; }
.seo__snapshot li::before { content: '✓'; color: var(--green); font-weight: bold; }
.seo__table-wrap { overflow-x: auto; margin-top: 4px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.seo__table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem; }
.seo__table th { padding: 10px 12px; background: var(--bg-grey); border-bottom: 2px solid var(--border); color: var(--heading); font-weight: 600; }
.seo__table td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text); }
.seo__table tr:last-child td { border-bottom: none; }
.seo__table td strong { color: var(--green); font-weight: 700; }
.seo__wins strong, .seo__strategy strong { display: block; font-size: 0.95rem; color: var(--heading); margin-bottom: 8px; }
.seo__wins ul { list-style: disc; padding-left: 20px; font-size: 0.9rem; display: flex; flex-direction: column; gap: 4px; }
.seo__strategy p { font-size: 0.9rem; line-height: 1.5; color: var(--text-dark); background: var(--bg-grey); padding: 12px; border-radius: var(--radius-sm); border-left: 3px solid var(--blue); }
details.seo__details > summary { list-style: none; }
details.seo__details > summary::-webkit-details-marker { display: none; }



/* ===================== PROCESS ===================== */
.process__grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; gap: 8px; margin-top: 56px; }
.process__step { text-align: center; padding: 0 12px; }
.step__number {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800;
  color: var(--blue-light); line-height: 1; margin-bottom: 16px;
  -webkit-text-stroke: 2px var(--blue); color: transparent;
}
.process__step h3 { margin-bottom: 10px; font-size: 1rem; }
.process__step p { font-size: .88rem; max-width: none; }
.process__connector { width: 40px; height: 2px; background: var(--border); margin-top: 28px; align-self: start; }

/* ===================== TESTIMONIALS SLIDER ===================== */
.testimonials__slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonials__track { 
  display: flex;
  overflow-x: auto;
  gap: 24px;
  scroll-snap-type: x mandatory;
  padding: 10px 0 30px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  scroll-behavior: smooth;
}
.testimonials__track::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.testimonial__card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: min(320px, calc(100vw - 48px));
  scroll-snap-align: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px; transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.testimonial__card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-color: var(--blue); transform: translateY(-5px); }
.testimonial__stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial__card p { font-size: .95rem; font-style: italic; color: var(--text-dark); margin-bottom: 24px; max-width: none; }
.testimonial__card footer { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-size: .88rem; flex-shrink: 0;
}
cite { font-style: normal; font-weight: 700; color: var(--heading); display: block; }
.testimonial__role { font-size: .82rem; color: #94A3B8; }

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}
.testimonials__arrow {
  background: var(--bg);
  border: 1px solid var(--border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.testimonials__arrow:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(37,99,235,0.2);
  transform: translateY(-2px);
}
.testimonials__arrow svg { width: 24px; height: 24px; }
.testimonials__dots {
  display: flex;
  gap: 8px;
}
.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}
.testimonials__dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

/* ===================== CTA SECTION ===================== */
.cta-section { background: linear-gradient(135deg, #1E3A8A, #2563EB 60%, #3B82F6); padding: 96px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; border-radius: 50%; background: rgba(255,255,255,0.04); }
.cta-section::after { content: ''; position: absolute; bottom: -40%; left: -15%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.03); }
.cta__inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta__inner .section__tag { background: rgba(255,255,255,.15); color: #fff; }
.cta__title { font-family: var(--font-heading); font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta__subtitle { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 0 auto 32px; max-width: 580px; }
.cta__value-props { text-align: left; background: rgba(255,255,255,0.1); padding: 24px; border-radius: var(--radius-sm); margin: 0 auto 40px; max-width: 420px; color: #fff; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); }
.cta__value-props strong { display: block; margin-bottom: 12px; font-size: 1.05rem; font-weight: 700; color: #FCD34D; }
.cta__value-props ul { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; font-weight: 500; }
.cta__form { background: #fff; border-radius: var(--radius-lg); padding: 48px; box-shadow: 0 25px 80px rgba(0,0,0,0.25); text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: .85rem; font-weight: 600; color: var(--text-dark); }
.form__input {
  padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--heading);
  transition: var(--transition); width: 100%; background: var(--bg);
}
.form__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
select.form__input { cursor: pointer; }
.form__submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; margin-top: 4px; }
.form__note { text-align: center; font-size: .8rem; color: #94A3B8; margin-top: 12px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--heading); color: rgba(255,255,255,.7); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer__brand .nav__logo { color: #fff; margin-bottom: 16px; display: flex; }
.footer__brand p { font-size: .9rem; max-width: 300px; }
.footer__col h4 { color: #fff; font-size: .9rem; font-weight: 600; margin-bottom: 16px; font-family: var(--font-body); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .88rem; transition: color var(--transition); }
.footer__links a:hover { color: #fff; }
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.social__link {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.social__link:hover { background: var(--blue); border-color: var(--blue); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer__copy { font-size: .82rem; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: .82rem; transition: color var(--transition); }
.footer__legal a:hover { color: #fff; }

.client__logo-img {
  height: 40px;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  cursor: pointer;
}
.client__logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ===================== AWARDS ===================== */
.awards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; align-items: center; justify-items: center; margin-top: 40px; }
.award__item { text-align: center; opacity: 0.8; transition: var(--transition); filter: grayscale(100%); }
.award__item:hover { opacity: 1; filter: grayscale(0%); transform: translateY(-3px); }
.award__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.award__title { font-weight: 700; font-size: 1rem; color: var(--heading); }
.award__source { font-size: 0.8rem; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; display: block; }

/* ===================== PRICING ===================== */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin-top: 48px; }
.pricing__card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; display: flex; flex-direction: column; transition: var(--transition); position: relative; }
.pricing__card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-border); }
.pricing__card--featured { border-color: var(--blue); box-shadow: var(--shadow-md); transform: scale(1.03); z-index: 10; }
.pricing__card--featured::before { content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 4px 16px; border-radius: 50px; }
.pricing__name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.pricing__price { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800; color: var(--heading); line-height: 1; margin-bottom: 8px; display: flex; align-items: flex-end; gap: 4px; }
.pricing__price span { font-size: 1rem; font-weight: 500; color: var(--text); font-family: var(--font-body); padding-bottom: 6px; }
.pricing__desc { font-size: 0.9rem; color: var(--text); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.pricing__features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; flex-grow: 1; }
.pricing__features li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.pricing__features svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }
.pricing__btn { width: 100%; justify-content: center; margin-top: auto; }

/* ===================== FAQ ===================== */
.faq__container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq__item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: var(--transition); }
.faq__item.active { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq__question { width: 100%; text-align: left; padding: 24px; font-size: 1.1rem; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq__question:hover { color: var(--blue); }
.faq__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--text-dark); transition: transform 0.3s ease; }
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq__item.active .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__item.active .faq__icon::before { background: var(--blue); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq__answer-inner { padding: 0 24px 24px; font-size: 0.95rem; line-height: 1.8; color: var(--text); }

/* ===================== GLOBAL REACH ===================== */
.global-reach { padding: 80px 0; border-top: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
.global__map-bg { position: absolute; inset: 0; opacity: 0.03; background-image: radial-gradient(circle at 50% 50%, var(--heading) 2px, transparent 2px); background-size: 24px 24px; z-index: 0; }
.global__inner { position: relative; z-index: 1; }
.global__stats { display: flex; justify-content: center; gap: 48px; margin: 40px 0; flex-wrap: wrap; }
.global__stat { display: flex; flex-direction: column; }
.global__stat strong { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--blue); line-height: 1.2; }
.global__stat span { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dark); }
.global__countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 800px; margin: 0 auto; }
.country__tag { background: var(--bg-grey); border: 1px solid var(--border); padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.country__tag img { width: 20px; border-radius: 2px; }

/* ===================== COMPARISON ===================== */
.comparison__wrapper { overflow-x: auto; margin-top: 40px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow-sm); }
.comparison__table { width: 100%; min-width: 600px; border-collapse: collapse; text-align: left; }
.comparison__table th, .comparison__table td { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.comparison__table th { background: var(--bg-grey); font-family: var(--font-heading); font-size: 1.1rem; color: var(--heading); font-weight: 700; }
.comparison__table tr:last-child td { border-bottom: none; }
.comparison__table td { font-size: 0.95rem; }
.comparison__table td strong { color: var(--heading); }
.comparison__table .highlight { background: var(--blue-light); border-left: 2px solid var(--blue); border-right: 2px solid var(--blue); }
.comparison__table th.highlight { background: var(--blue); color: #fff; border-color: var(--blue-hover); border-left: 2px solid var(--blue); border-right: 2px solid var(--blue); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .why-us__grid { gap: 48px; }
  .services__grid { grid-template-columns: repeat(2,1fr); }
  .results__grid { grid-template-columns: repeat(2,1fr); }
  .process__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process__connector { display: none; }
  .pricing__grid { grid-template-columns: repeat(2,1fr); }
  .pricing__card--featured { transform: scale(1); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .section { padding: 56px 0; }
  .nav__menu { 
    position: fixed; top: 70px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 24px; gap: 8px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-110%); opacity: 0; transition: var(--transition);
    pointer-events: none; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav__menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav__link { width: 100%; padding: 12px 16px; }
  .nav__link--cta { margin: 8px 0 0; text-align: center; width: 100%; justify-content: center; }
  .nav__toggle { display: flex; }
  .hero { padding: 48px 0 56px; }
  .hero__container { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { display: none; }
  .hero__form-inner { flex-direction: column; gap: 12px; }
  .btn { width: 100%; justify-content: center; text-align: center; flex-wrap: wrap; }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .stat__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
  .stat__item:last-child { border-bottom: none; }
  .services__grid { grid-template-columns: 1fr; }
  .why-us__grid { grid-template-columns: 1fr; gap: 40px; }
  .why-us__metrics { grid-template-columns: 1fr; }
  .metric__card--large { grid-column: 1; }
  .results__grid { grid-template-columns: 1fr; }
  .testimonial__card { flex: 0 0 calc(100% - 16px); min-width: calc(100vw - 48px); }
  .process__grid { grid-template-columns: 1fr; gap: 32px; }
  .form__row { grid-template-columns: 1fr; gap: 16px; }
  .pricing__grid { grid-template-columns: 1fr; gap: 24px; }
  .global__stats { gap: 32px; flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer__legal { flex-wrap: wrap; justify-content: center; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__kpi { border-bottom: 1px solid var(--border); }
  .dash__kpi:nth-child(even) { border-right: none; }
  .hero__cta-grid { grid-template-columns: 1fr; }
  .hero__micro-proof { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__trust { flex-direction: column; gap: 10px; align-items: flex-start; }
  .wow-proof__metrics { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__trust { flex-direction: column; gap: 10px; align-items: flex-start; }
  .hero__urgency { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__urgency .divider { display: none; }
  .result__metrics { gap: 12px; flex-direction: column; }
  .cta__form { padding: 24px 16px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat__item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.15); padding: 24px 16px; }
  .stat__item:last-child { border-bottom: none; }
  h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); line-height: 1.15; }
  h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); line-height: 1.25; }
  .floating-wa { bottom: 16px; left: auto; right: 16px; width: 50px; height: 50px; }
  .floating-wa svg { width: 24px; height: 24px; }
  .container { padding: 0 16px; }
  .dash__kpis { grid-template-columns: 1fr; }
  .dash__kpi { border-right: none !important; }
  .hero__offer-badge {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90%;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  .section { padding: 40px 0; }
  .hero { padding: 32px 0 40px; }
  .audit-modal__inner { padding: 24px !important; margin: auto; }
  .audit-modal { align-items: flex-start; }
  .result__card { padding: 24px 16px; }
  .result__mini-chart { padding: 12px; }
  .mini-chart__bars { gap: 8px; }
  .result__metric { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 12px; }
  .result__metric:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (min-width: 600px) {
  .hero__form-inner { flex-direction: row; align-items: stretch; }
  .hero__form-inner input { flex: 1; min-width: 0; }
  .hero__form-inner .btn { flex-shrink: 0; }
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox__img { max-width: 90%; max-height: 90vh; border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(0,0,0,0.5); object-fit: contain; }
.lightbox__close {
  position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; transition: color 0.2s;
}
.lightbox__close:hover { color: var(--blue); }

/* ===================== FLOATING WHATSAPP ===================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waPulse 2s infinite;
}
.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  animation-play-state: paused;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===================== HERO ANIMATED DASHBOARD ===================== */
.hero-dashboard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.dash__header {
  background: #1E293B; color: #fff; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; font-weight: 600;
}
.dash__line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawGraph 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.5s;
}
@keyframes drawGraph {
  to { stroke-dashoffset: 0; }
}
.dash__header-left { display: flex; align-items: center; gap: 12px; }
.dash__dots { display: flex; gap: 6px; }
.dash__dots span { width: 10px; height: 10px; border-radius: 50%; }
.dash__dots span:nth-child(1) { background: #EF4444; }
.dash__dots span:nth-child(2) { background: #F59E0B; }
.dash__dots span:nth-child(3) { background: #22C55E; }
.dash__title { font-family: var(--font-body); }
.dash__badge { font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.dash__badge--green { color: #22C55E; background: rgba(34,197,94,0.15); }

/* KPI Strip */
.dash__kpis {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  border-bottom: 1px solid var(--border);
}
.dash__kpi {
  padding: 14px 16px; text-align: center;
  border-right: 1px solid var(--border);
}
.dash__kpi:last-child { border-right: none; }
.dash__kpi-label { display: block; font-size: 0.7rem; color: #94A3B8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.dash__kpi-value { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: var(--heading); }
.dash__kpi-value--up::before { content: '↑ '; color: #22C55E; font-size: 0.8rem; }

/* Chart Area */
.dash__chart-area { display: flex; padding: 16px 20px; gap: 8px; }
.dash__y-axis {
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 0.68rem; color: #94A3B8; font-weight: 600; min-width: 32px; text-align: right;
  padding: 0 4px;
}
.dash__chart-wrap { flex: 1; position: relative; }
.dash__chart-svg { width: 100%; height: 200px; display: block; }
.wow-chart { height: 160px; }
.dash__x-axis {
  display: flex; justify-content: space-between;
  font-size: 0.7rem; color: #94A3B8; font-weight: 600;
  padding-top: 8px;
}

/* Line draw animation */
.dash__line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 2.5s ease forwards;
}
.dash__area {
  opacity: 0;
  animation: fadeInArea 1s ease 1.8s forwards;
}
.dash__dot-pulse {
  opacity: 0;
  animation: fadeInDot 0.4s ease 2.5s forwards;
}
.dash__dot-glow {
  opacity: 0;
  animation: fadeInDot 0.4s ease 2.5s forwards, pulseGlow 2s ease 3s infinite;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeInArea { to { opacity: 1; } }
@keyframes fadeInDot { to { opacity: 1; } }
@keyframes pulseGlow {
  0%,100% { r: 8; opacity: 0.4; }
  50% { r: 14; opacity: 0; }
}

/* Keyword Ranking Bars */
.dash__rankings { padding: 16px 20px; border-top: 1px solid var(--border); }
.dash__rankings-title { font-size: 0.82rem; font-weight: 700; color: var(--heading); margin-bottom: 12px; }
.dash__bars { display: flex; flex-direction: column; gap: 8px; }
.dash__bar-row { display: flex; align-items: center; gap: 12px; }
.dash__bar-label { font-size: 0.78rem; color: #64748B; font-weight: 500; min-width: 130px; white-space: nowrap; }
.dash__bar-track { flex: 1; background: #F1F5F9; border-radius: 6px; height: 28px; overflow: hidden; }
.dash__bar-fill {
  height: 100%; background: linear-gradient(90deg, #2563EB, #3B82F6);
  border-radius: 6px; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px; font-size: 0.72rem; font-weight: 700; color: #fff;
  width: 0;
}
.dash__bar-fill--animate {
  animation: fillBar 1.2s ease var(--bar-delay, 0s) forwards;
}
@keyframes fillBar { to { width: var(--bar-width, 80%); } }

/* ===================== CASE STUDY MINI CHARTS ===================== */
.result__mini-chart {
  background: #F8FAFC; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px;
}
.mini-chart__bars { display: flex; gap: 16px; justify-content: center; align-items: flex-end; height: 120px; }
.mini-chart__bar-group { display: flex; gap: 6px; align-items: flex-end; justify-content: center; flex: 1; position: relative; padding-bottom: 20px; }
.mini-chart__label {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; font-weight: 600; color: #94A3B8; white-space: nowrap;
}
.mini-chart__bar {
  width: 28px; border-radius: 4px 4px 0 0;
  display: flex; align-items: flex-start; justify-content: center;
  font-size: 0.6rem; font-weight: 700; padding-top: 4px; min-height: 10px;
  height: 0;
}
.mini-chart__bar span { white-space: nowrap; }
.mini-chart__bar--before {
  background: #E2E8F0; color: #94A3B8;
}
.is-animated .mini-chart__bar--before {
  animation: growBar 0.8s ease 0.2s forwards;
}

.mini-chart__bar--after {
  background: linear-gradient(to top, #2563EB, #3B82F6); color: #fff;
}
.is-animated .mini-chart__bar--after {
  animation: growBar 1s ease var(--delay, 0.4s) forwards;
}

.mini-chart__bar--green {
  background: linear-gradient(to top, #16A34A, #22C55E);
}
@keyframes growBar { to { height: var(--h, 50%); } }

/* ===================== BREADCRUMBS ===================== */
.bc-nav {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  padding: 6px 6px 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
  margin: 15px 0 5px;
}
.bc-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bc-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bc-link {
  color: #64748B;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  padding: 2px;
}
.bc-link:hover {
  color: #2563EB;
}
.bc-current {
  color: #1E3A8A;
  font-weight: 600;
  background: #EFF6FF;
  padding: 6px 16px;
  border-radius: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.bc-sep {
  display: inline-flex;
  align-items: center;
  color: #CBD5E1;
  flex-shrink: 0;
}

/* Light variant (for dark hero backgrounds) */
.bc-nav--light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.bc-nav--light .bc-link {
  color: rgba(255,255,255,0.7);
}
.bc-nav--light .bc-link:hover {
  color: #fff;
}
.bc-nav--light .bc-current {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.bc-nav--light .bc-sep {
  color: rgba(255,255,255,0.3);
}

/* Hide on tiny screens if trail is long; keep Home > Current only via CSS */
@media (max-width: 480px) {
  .bc-item:not(:first-child):not(:last-child) { display: none; }
  .bc-item:first-child::after {
    content: '...';
    color: #CBD5E1;
    font-size: 0.8rem;
    margin-left: 4px;
    margin-right: 2px;
  }
}

/* ── Industries Hub — Mobile Responsive ───────────────── */
@media (max-width: 768px) {
  #filter-tabs { gap: 8px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  #filter-tabs::-webkit-scrollbar { height: 3px; }
  #filter-tabs button { flex-shrink: 0; font-size: 0.8rem; padding: 7px 14px; }
  #industry-cards { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) {
  /* Industries hub approach section 2-col grid */
  [style*="grid-template-columns: 1fr 1fr"][style*="gap: 60px"] { grid-template-columns: 1fr !important; gap: 32px !important; }
  /* Industries hub core services & pillars */
  [style*="grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))"],
  [style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 540px) {
  [style*="grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))"],
  [style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] { grid-template-columns: 1fr !important; }
}

/* ── Contact page stat strip — no overflow on mobile ─── */
@media (max-width: 640px) {
  .contact__layout { grid-template-columns: 1fr !important; }
  /* stat strip in contact page */
  [style*="border-right: 1px solid rgba(255,255,255,.15)"] { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.15); }
}

