/* ============================================================
   DryDigit.com — Global Stylesheet
   Brand: Outfit + Playfair Display · #FF6B00 · #0D0D0D · #F5F0EB
   Version 1.0 · Production · August 2026
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital@1&display=swap');

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #F5F0EB; color: #0D0D0D; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --orange: #FF6B00;
  --orange-deep: #D95200;
  --black: #0D0D0D;
  --black-deep: #060606;
  --charcoal: #4A4A4A;
  --cream: #F5F0EB;
  --white: #FFFFFF;
  --grey-body: #7A7069;
  --grey-light: #C8C0B8;
  --grey-border: rgba(0,0,0,.08);
  --grey-bg: #EDEAE5;
  --max: 1200px;
  --pad: 56px;
  --pad-v: 80px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--pad-v) 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--black); color: var(--white); }
.section--orange { background: var(--orange); }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; display: block; }
.h1 { font-size: clamp(38px, 5vw, 68px); font-weight: 900; line-height: 1.0; letter-spacing: -.04em; }
.h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.h4 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.lead { font-size: 17px; line-height: 1.75; color: var(--grey-body); }
.body-text { font-size: 15px; line-height: 1.75; color: var(--grey-body); }
.small { font-size: 13px; line-height: 1.65; color: var(--grey-body); }
.orange { color: var(--orange); }
.italic { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; }
.white { color: var(--white); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; font-size: 14px; font-weight: 700; border-radius: var(--radius-sm); font-family: 'Outfit', sans-serif; cursor: pointer; transition: opacity .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-deep); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { opacity: .85; }
.btn--outline { border: 1.5px solid rgba(0,0,0,.2); color: var(--black); background: transparent; }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.btn--outline-white { border: 1.5px solid rgba(255,255,255,.3); color: var(--white); background: transparent; }
.btn--outline-white:hover { border-color: var(--orange); color: var(--orange); }
.btn--white { background: var(--white); color: var(--orange); }
.btn--white:hover { opacity: .9; }
.btn-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── NAV ──────────────────────────────────────────────────── */
.nav { background: var(--cream); border-bottom: 1px solid var(--grey-border); position: sticky; top: 0; z-index: 100; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.nav__logo { text-decoration: none; }
.logo-text { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -.5px; line-height: 1; display: inline-block; }
.logo-dry { color: #0D0D0D; }
.logo-digit { color: #FF6B00; }
.nav__logo:hover .logo-text { opacity: .85; transition: opacity .2s ease; }
.nav__links { display: flex; gap: 32px; }
.nav__link { font-size: 14px; font-weight: 500; color: var(--grey-body); transition: color .15s; }
.nav__link:hover, .nav__link.active { color: var(--black); }
.nav__cta { background: var(--orange); color: var(--white); font-size: 13px; font-weight: 700; padding: 10px 22px; border-radius: var(--radius-sm); letter-spacing: .02em; transition: background .15s; }
.nav__cta:hover { background: var(--orange-deep); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; }
.nav__mobile { display: none; position: fixed; inset: 0; background: var(--black); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.nav__mobile.open { display: flex; }
.nav__mobile-link { font-size: 22px; font-weight: 700; color: var(--white); transition: color .15s; }
.nav__mobile-link:hover { color: var(--orange); }
.nav__mobile-close { position: absolute; top: 20px; right: var(--pad); font-size: 32px; color: var(--white); cursor: pointer; line-height: 1; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb { padding: 14px 0; font-size: 12px; color: var(--grey-light); }
.breadcrumb a { color: var(--grey-light); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); margin: 0 6px; }

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero { background: var(--black); padding: 80px 0 64px; border-bottom: 2px solid var(--orange); }
.page-hero__eyebrow { color: var(--orange); }
.page-hero__h1 { color: var(--white); margin-top: 12px; margin-bottom: 20px; }
.page-hero__lead { color: rgba(255,255,255,.6); max-width: 600px; }

/* ── CARDS ────────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--grey-border); padding: 28px; }
.card--cream { background: var(--cream); }
.card--dark { background: var(--black); }
.card--orange { background: var(--orange); }

/* ── SERVICE GRID ─────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grey-border); border: 1px solid var(--grey-border); border-radius: var(--radius); overflow: hidden; }
.svc-card { background: var(--white); padding: 30px 26px; transition: background .2s; }
.svc-card:hover { background: var(--cream); }
.svc-card--flagship { background: var(--black); }
.svc-card--flagship:hover { background: #1a1a1a; }
.svc-card--orange { background: var(--orange); }
.svc-card__num { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-border); margin-bottom: 16px; display: block; }
.svc-card--flagship .svc-card__num { color: rgba(255,255,255,.15); }
.svc-card--orange .svc-card__num { color: rgba(255,255,255,.4); }
.svc-card__title { font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 10px; color: var(--black); }
.svc-card--flagship .svc-card__title { color: var(--white); }
.svc-card--orange .svc-card__title { color: var(--white); }
.svc-card__desc { font-size: 13px; line-height: 1.65; color: var(--grey-body); margin-bottom: 18px; }
.svc-card--flagship .svc-card__desc { color: #666; }
.svc-card--orange .svc-card__desc { color: rgba(255,255,255,.75); }
.svc-card__link { font-size: 12px; font-weight: 700; color: var(--orange); display: flex; align-items: center; gap: 6px; }
.svc-card--flagship .svc-card__link { color: var(--orange); }
.svc-card--orange .svc-card__link { color: var(--white); }

/* ── FAQ ACCORDION ────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--grey-border); }
.faq-item { border-bottom: 1px solid var(--grey-border); }
.faq-item input[type="checkbox"] { display: none; }
.faq-label { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; cursor: pointer; gap: 20px; user-select: none; }
.faq-label:hover .faq-q { color: var(--orange); }
.faq-q { font-size: 15px; font-weight: 600; color: var(--black); transition: color .15s; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--grey-border); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--grey-light); flex-shrink: 0; transition: all .15s; line-height: 1; }
.faq-item input:checked ~ .faq-label .faq-q { color: var(--orange); }
.faq-item input:checked ~ .faq-label .faq-icon { background: var(--orange); border-color: var(--orange); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item input:checked ~ .faq-answer { max-height: 300px; }
.faq-answer-inner { font-size: 14px; line-height: 1.75; color: var(--grey-body); padding: 0 0 20px; }

/* ── PROCESS STEPS ────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.process-card { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--grey-border); }
.process-card--active { background: var(--orange); }
.pc-step { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 10px; display: block; }
.process-card--active .pc-step { color: rgba(255,255,255,.6); }
.pc-num { font-size: 44px; font-weight: 900; color: rgba(0,0,0,.06); letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.process-card--active .pc-num { color: rgba(255,255,255,.15); }
.pc-title { font-size: 15px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.process-card--active .pc-title { color: var(--white); }
.pc-desc { font-size: 13px; line-height: 1.65; color: var(--grey-body); }
.process-card--active .pc-desc { color: rgba(255,255,255,.75); }

/* ── STAT CARDS ───────────────────────────────────────────── */
.stat-card { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--grey-border); }
.stat-card--orange { background: var(--orange); }
.stat-card--dark { background: var(--black); }
.stat-num { font-size: 36px; font-weight: 900; color: var(--orange); letter-spacing: -.03em; line-height: 1; }
.stat-card--orange .stat-num { color: var(--white); }
.stat-card--dark .stat-num { color: var(--orange); }
.stat-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-light); margin-top: 4px; }
.stat-card--orange .stat-label { color: rgba(255,255,255,.6); }
.stat-desc { font-size: 13px; color: var(--grey-body); margin-top: 8px; line-height: 1.55; }
.stat-card--orange .stat-desc { color: rgba(255,255,255,.75); }

/* ── CAPABILITY STRIP ─────────────────────────────────────── */
.strip { background: var(--black); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.strip__inner { display: flex; gap: 40px; align-items: center; }
.strip__item { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffffff; flex-shrink: 0; }
.strip__sep { color: var(--orange); font-size: 14px; flex-shrink: 0; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--black-deep); padding: 64px 0 28px; border-top: 1px solid #111; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__logo { margin-bottom: 12px; }
.logo-text--footer { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1; display: inline-block; }
.logo-dry-footer { color: #FFFFFF; }
.footer__logo .logo-digit { color: #FF6B00; }
.footer__tagline { font-size: 12px; font-style: italic; color: #888; margin-bottom: 14px; }
.footer__desc { font-size: 13px; line-height: 1.7; color: #888; max-width: 240px; margin-bottom: 16px; }
.footer__contact a { font-size: 13px; color: #888; display: block; margin-bottom: 6px; transition: color .15s; }
.footer__contact a:hover { color: var(--orange); }
.footer__col-title { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555; margin-bottom: 18px; }
.footer__link { display: block; font-size: 13px; color: #888; margin-bottom: 10px; transition: color .15s; }
.footer__link:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid #111; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-size: 12px; color: #555; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 12px; color: #555; transition: color .15s; }
.footer__legal a:hover { color: #888; }

/* ── WHATSAPP STICKY ──────────────────────────────────────── */
.wa-sticky { position: fixed; bottom: 28px; right: 28px; z-index: 99; background: #25D366; color: #fff; border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: background .15s; }
.wa-sticky:hover { background: #1da851; }
.wa-sticky svg { width: 28px; height: 28px; }

/* ── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--black); border-top: 2px solid var(--orange); padding: 16px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 998; flex-wrap: wrap; }
.cookie-banner p { font-size: 13px; color: #888; line-height: 1.6; max-width: 700px; }
.cookie-banner a { color: var(--orange); }
.cookie-banner__btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 6px; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; }
.cookie-decline { background: transparent; border: 1px solid #333; color: #888; font-size: 13px; font-weight: 600; padding: 8px 20px; border-radius: 6px; cursor: pointer; font-family: 'Outfit', sans-serif; }
.cookie-banner.hidden { display: none; }

/* ── THANK YOU PAGE ───────────────────────────────────────── */
.thankyou-wrap { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--pad-v) var(--pad); }
.thankyou-icon { width: 72px; height: 72px; background: rgba(255,107,0,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.thankyou-icon svg { width: 36px; height: 36px; color: var(--orange); }

/* ── FORMS ────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--white); border: 1.5px solid var(--grey-border); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; font-family: 'Outfit', sans-serif; color: var(--black); transition: border-color .15s; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7069' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 12px; color: #e53e3e; margin-top: 4px; display: none; }
.form-submit { width: 100%; padding: 15px; font-size: 15px; font-weight: 700; background: var(--orange); color: var(--white); border: none; border-radius: var(--radius-sm); cursor: pointer; font-family: 'Outfit', sans-serif; transition: background .15s; }
.form-submit:hover { background: var(--orange-deep); }

/* ── BLOG CARDS ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-border); transition: box-shadow .2s; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.blog-card__body { padding: 24px; }
.blog-card__cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; display: block; }
.blog-card__title { font-size: 16px; font-weight: 800; color: var(--black); line-height: 1.3; letter-spacing: -.01em; margin-bottom: 10px; transition: color .15s; }
.blog-card:hover .blog-card__title { color: var(--orange); }
.blog-card__excerpt { font-size: 13px; line-height: 1.65; color: var(--grey-body); margin-bottom: 16px; }
.blog-card__meta { font-size: 11px; color: var(--grey-light); font-weight: 500; }

/* ── SVG DATA VISUALS ─────────────────────────────────────── */
.data-visual { background: var(--black); border-radius: var(--radius); padding: 28px; overflow: hidden; }
.dv-title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.dv-chart { width: 100%; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad: 32px; --pad-v: 64px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --pad: 20px; --pad-v: 48px; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* ── NAV DROPDOWN ────────────────────────────────────────────── */
.nav__dropdown-wrap { position: relative; display: inline-block; }
.nav__link--has-dropdown { display: flex; align-items: center; gap: 4px; }
.nav__dropdown-arrow { transition: transform .2s ease; }
.nav__dropdown-wrap:hover .nav__dropdown-arrow { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #0D0D0D; border: 1px solid #1e1e1e; border-radius: 12px;
  padding: 8px 8px 8px; min-width: 280px; opacity: 0; visibility: hidden;
  pointer-events: none; transition: opacity .2s ease, visibility .2s;
  box-shadow: 0 20px 60px rgba(0,0,0,.4); z-index: 200;
  /* Top padding creates invisible bridge so cursor can travel into dropdown */
  padding-top: 16px;
  margin-top: -2px;
}
.nav__dropdown::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 6px solid #1e1e1e;
}
/* Pseudo-element bridge — fills gap between nav link and dropdown */
.nav__dropdown-wrap::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px;
  background: transparent;
}
.nav__dropdown-wrap:hover .nav__dropdown,
.nav__dropdown-wrap:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.nav__dropdown-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px;
  border-radius: 8px; text-decoration: none; transition: background .15s;
}
.nav__dropdown-item:hover { background: #1a1a1a; }
.nav__dropdown-item .nav__dropdown-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.nav__dropdown-item span { display: flex; flex-direction: column; gap: 2px; }
.nav__dropdown-item strong { font-size: 13px; font-weight: 700; color: #fff; font-family: 'Outfit',sans-serif; line-height: 1.3; }
.nav__dropdown-item em { font-size: 11px; color: #666; font-style: normal; font-family: 'Outfit',sans-serif; }
.nav__dropdown-item:hover strong { color: #FF6B00; }
.nav__dropdown-all {
  display: block; text-align: center; padding: 10px 12px; margin-top: 4px;
  border-top: 1px solid #1e1e1e; font-size: 12px; font-weight: 700;
  color: #FF6B00; text-decoration: none; font-family: 'Outfit',sans-serif;
  letter-spacing: .04em; border-radius: 0 0 8px 8px; transition: background .15s;
}
.nav__dropdown-all:hover { background: #1a1a1a; }

/* ── BLOG FILTER BUTTONS ─────────────────────────────────────── */
.blog-filters { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.blog-filter-btn {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; cursor: pointer; border: none;
  background: transparent; font-family: 'Outfit',sans-serif;
  border: 1px solid var(--grey-border); color: var(--grey-light);
  transition: all .2s ease; white-space: nowrap;
}
.blog-filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.blog-filter-btn.active {
  color: var(--orange); border-color: rgba(255,107,0,.4);
  background: rgba(255,107,0,.07);
}

/* ── BLOG CARD CLICKABLE ─────────────────────────────────────── */
.blog-card { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.blog-card a.blog-card__link {
  text-decoration: none; color: inherit; display: block;
}
.blog-card__title-link { text-decoration: none; color: inherit; }
.blog-card__title-link:hover { color: var(--orange); }

/* ── BLOG ARTICLE PAGE ───────────────────────────────────────── */
.article-hero { padding: 60px 0 40px; background: var(--cream); }
.article-hero__cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.article-hero__title { font-size: clamp(28px,4vw,48px); font-weight: 900; line-height: 1.15; color: var(--black); margin-bottom: 20px; max-width: 800px; }
.article-hero__meta { font-size: 13px; color: var(--grey-light); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.article-hero__meta span { display: flex; align-items: center; gap: 6px; }
.article-body { padding: 56px 0 80px; }
.article-body .container { max-width: 760px; }
.article-body h2 { font-size: 24px; font-weight: 800; color: var(--black); margin: 40px 0 16px; }
.article-body h3 { font-size: 20px; font-weight: 700; color: var(--black); margin: 32px 0 12px; }
.article-body p { font-size: 17px; line-height: 1.8; color: var(--grey); margin-bottom: 24px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 24px; }
.article-body li { font-size: 17px; line-height: 1.8; color: var(--grey); margin-bottom: 8px; }
.article-body strong { color: var(--black); font-weight: 700; }
.article-callout { background: var(--cream); border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 32px 0; }
.article-callout p { margin: 0; font-style: italic; }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--orange); text-decoration: none; margin-bottom: 32px; letter-spacing: .04em; }
.article-back:hover { opacity: .8; }
.article-related { background: var(--cream); padding: 56px 0; }
.article-related h2 { font-size: 22px; font-weight: 800; color: var(--black); margin-bottom: 32px; }

/* ── CATEGORY BLOG PAGE HERO ─────────────────────────────────── */
.cat-badge { display: inline-block; background: rgba(255,107,0,.12); color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; border: 1px solid rgba(255,107,0,.3); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMISATION — Full horizontal overflow fix
   Prevents any element from causing sideways scroll on mobile
   ═══════════════════════════════════════════════════════════════ */

/* Global overflow lock — prevents ANY element causing sideways scroll */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Every element respects the viewport width */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ── MOBILE BREAKPOINT — 768px and below ──────────────────────── */
@media (max-width: 768px) {

  /* CASE STUDY CARDS — collapse 2-col layout to single column */
  .cs-card {
    grid-template-columns: 1fr !important;
  }

  /* All inline grids — target by forcing single column */
  [style*="grid-template-columns: 1fr 380px"],
  [style*="grid-template-columns:1fr 380px"],
  [style*="grid-template-columns: 1fr 400px"],
  [style*="grid-template-columns:1fr 400px"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 1fr 2px 1fr"],
  [style*="grid-template-columns:1fr 2px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Case study card dark right panels — full width on mobile */
  [style*="background:var(--black)"][style*="padding:40px 36px"] {
    border-radius: 0 0 14px 14px;
  }

  /* Stat strips on case study pages — 2x2 grid instead of 4 across */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* Intro stat strip on case-studies.html */
  [style*="display:flex"][style*="gap:48px"] {
    flex-wrap: wrap !important;
    gap: 24px !important;
    justify-content: center !important;
  }

  /* The vertical dividers between stats — hide on mobile */
  [style*="width:1px"][style*="height:48px"] {
    display: none !important;
  }

  /* Homepage hero section two-col layouts */
  [style*="grid-template-columns:1fr 400px"],
  [style*="grid-template-columns: 1fr 400px"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Gap reduction for stacked layouts */
  [style*="gap:80px"] {
    gap: 40px !important;
  }
  [style*="gap:56px"] {
    gap: 32px !important;
  }

  /* Tables — allow horizontal scroll within container, not full page */
  .article-body table,
  [style*="overflow-x:auto"] table {
    min-width: 480px;
  }

  /* Tables wrap in scrollable container */
  [style*="overflow-x:auto"] {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Case study page result tables — contained scroll */
  .article-body [style*="overflow-x:auto"] {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px;
  }

  /* Article body full width on mobile */
  .article-body .container {
    max-width: 100%;
  }

  /* Blog filter buttons — wrap cleanly */
  .blog-filters {
    gap: 8px;
  }
  .blog-filter-btn {
    font-size: 10px;
    padding: 5px 10px;
  }

  /* Article hero title — smaller on mobile */
  .article-hero__title {
    font-size: clamp(22px, 5vw, 32px);
    max-width: 100%;
  }

  /* Article callout — full width */
  .article-callout {
    margin-left: 0;
    margin-right: 0;
  }

  /* Page hero lead text — full width */
  .page-hero__lead {
    max-width: 100%;
  }

  /* Nav dropdown — full width on mobile */
  .nav__dropdown {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    min-width: unset !important;
    width: calc(100vw - 40px) !important;
  }

  /* Buttons — full width on mobile where stacked */
  .btn-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Card grids that use inline 3-col */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Footer bottom bar flex — stack on mobile */
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Case study page — back link and CTA stacked */
  [style*="justify-content:space-between"][style*="flex-wrap:wrap"] {
    flex-direction: column;
    gap: 16px;
  }

  /* Padding reduction for tight mobile screens */
  .section {
    padding: 48px 0;
  }

  /* Article body padding */
  .article-body {
    padding: 40px 0 60px;
  }

  /* Related articles on case study pages */
  .blog-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── SMALL MOBILE — 480px and below ──────────────────────────── */
@media (max-width: 480px) {

  :root {
    --pad: 16px;
  }

  /* Stat strips — stack fully on tiny screens */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Large stat numbers — smaller on tiny screens */
  .stat-num {
    font-size: 28px;
  }

  /* Case study dark panel numbers */
  [style*="font-size:36px"][style*="font-weight:900"] {
    font-size: 28px !important;
  }

  /* H1 on page heroes */
  .page-hero__h1 {
    font-size: clamp(28px, 8vw, 48px);
  }

  /* Nav inner padding */
  .nav__inner {
    padding: 0 16px;
  }

  /* WhatsApp sticky button — smaller on tiny screens */
  .wa-sticky {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 20px;
  }
}
