/* =========================================================
   Transfer Pricing India — Global Stylesheet
   Brand palette inspired by HubSpot (orange CTA / navy text)
   and Salesforce (corporate blue / cloud).
   ========================================================= */

:root {
 --navy: #1E3A5F;
--navy-dark: #0F172A;
  --orange: #FF7A59;
  --orange-dark: #E8674A;
  --blue: #0176D3;
  --blue-dark: #032D60;
  --sky: #00A1E0;
  --bg-soft: #F5F8FA;
  --bg-cloud: #EAF5FF;
  --white: #FFFFFF;
  --border: #E5E9ED;
  --text-muted: #66798F;
  --radius: 12px;
  --shadow-card: 0 10px 30px -12px rgba(3, 45, 96, 0.22);
  --shadow-soft: 0 4px 20px rgba(51, 71, 91, 0.08);
  --shadow-lift: 0 20px 45px -20px rgba(3, 45, 96, 0.35);
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lexend', 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; color: var(--navy-dark); }
p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-cloud);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: linear-gradient(135deg, var(--blue-dark), var(--navy-dark)); color: #fff; }
.section-navy h2, .section-navy h3, .section-navy p { color: #fff; }

.text-center { text-align: center; }
.max-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.max-860 { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255, 122, 89, .55);
}
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(255, 122, 89, .65); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy {
  background: var(--navy-dark);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* =========================================================
   HEADER / MEGA MENU (HubSpot-style)
   ========================================================= */
#site-header { position: sticky; top: 0; z-index: 900; }

.topbar {
  background: var(--navy-dark);
  color: #cfd9e3;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #cfd9e3; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }

.navbar {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 90px;
        gap: 20px;
    }

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}
.nav-main { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-dark);
  border-radius: 8px;
  cursor: pointer;
}
.nav-link:hover, .nav-item.active .nav-link { color: var(--blue); background: var(--bg-cloud); }
.nav-link .chev { transition: transform .2s ease; }
.nav-item:hover .nav-link .chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--border);
  padding: 24px;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.nav-item:hover .mega { display: grid; }
.mega.mega-wide { width: 720px; }
.mega-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin: 10px 0 6px;
}
.mega a.mega-link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
}
.mega a.mega-link:hover { background: var(--bg-soft); color: var(--blue); }
.mega a.mega-link small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12.5px;
  margin-top: 2px;
}
.mega-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--bg-cloud);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.mega-footer {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
#google_translate_element { font-size: 12px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy-dark); margin: 5px 0; border-radius: 2px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, #032D60 0%, #0176D3 60%, #00A1E0 100%);
  color: #fff;
  padding: 96px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.14), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(255,122,89,.25), transparent 40%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: 44px; letter-spacing: -.01em; }
.hero p.lead { color: #dbeeff; font-size: 18px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 42px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 28px; color: #fff; }
.hero-stat span { font-size: 13px; color: #bcdcf7; }
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; }
.hero-card ul li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; color: #eaf5ff; font-size: 14.5px; }
.hero-card ul li b { color: #7CFFC4; font-weight: 800; }

.page-hero {
  background: linear-gradient(135deg, #032D60 0%, #0176D3 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.page-hero h1 { color: #fff; font-size: 36px; }
.page-hero p { color: #dbeeff; font-size: 17px; max-width: 700px; }
.breadcrumb { font-size: 13px; color: #bcdcf7; margin-bottom: 16px; }
.breadcrumb a { color: #bcdcf7; }
.breadcrumb a:hover { color: #fff; }

/* =========================================================
   GRIDS & CARDS
   ========================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s ease, transform .2s ease;
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-cloud), #fff);
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; }
.card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 0; }
.card ul { margin-top: 12px; }
.card ul li { font-size: 13.5px; color: var(--text-muted); padding: 4px 0 4px 20px; position: relative; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-cloud);
  color: var(--blue);
  margin-bottom: 10px;
}

/* Stats band */
.stats-band { background: var(--navy-dark); color: #fff; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid b { display: block; font-size: 34px; color: #7CC7FF; }
.stats-grid span { font-size: 14px; color: #cfd9e3; }

/* Testimonials */
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.testimonial p { font-style: italic; color: var(--navy); }
.testimonial .who { font-weight: 700; font-size: 14px; margin-top: 12px; }
.testimonial .who span { display: block; font-weight: 400; color: var(--text-muted); font-size: 13px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-navy { background: #fff; color: var(--orange-dark); }
.cta-band .btn-navy:hover { background: #FFF3EE; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.blog-featured .img { background-size: cover; background-position: center; min-height: 320px; }
.blog-featured .body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.blog-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-meta b { color: var(--blue); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; height: 100%; display: flex; flex-direction: column;}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.blog-card .img { height: 170px; background-size: cover; background-position: center; }
.blog-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 17px; }
.blog-card p { color: var(--text-muted); font-size: 14px; flex: 1; }
.blog-card .read-more { color: var(--blue); font-weight: 700; font-size: 13.5px; margin-top: 10px; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--navy);
}
.filter-chip.active, .filter-chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Article */
.article-wrap { max-width: 1160px; margin: 0 auto; }
.article-hero-img { width: 100%; height: 380px; border-radius: 16px; margin: -60px auto 40px; box-shadow: var(--shadow-lift); display: block; max-width: 900px; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.post-main { min-width: 0; }
.post-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.widget { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-soft); }
.widget h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 16px; }
.cat-pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill { padding: 7px 14px; border-radius: 999px; background: var(--bg-cloud); color: var(--blue); font-size: 13px; font-weight: 700; }
.cat-pill:hover { background: var(--blue); color: #fff; }
.recent-post-mini { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.recent-post-mini:last-child { margin-bottom: 0; }
.recent-post-mini .thumb { width: 62px; height: 62px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; }
.recent-post-mini .txt h5 { font-size: 13.5px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; color: var(--navy-dark); }
.recent-post-mini .txt span { font-size: 12px; color: var(--text-muted); }
.widget .share-row { border: none; padding: 0; margin: 0; }
.keytakeaways { background: var(--bg-cloud); border-radius: 14px; padding: 24px 26px; margin: 26px 0; border: 1px solid #d6ebfa; }
.keytakeaways h4 { margin: 0 0 12px; font-size: 15px; color: var(--blue-dark); text-transform: uppercase; letter-spacing: .04em; }
.keytakeaways ul { margin: 0; padding-left: 20px; }
.keytakeaways li { margin-bottom: 8px; color: var(--navy); font-size: 15px; }
.newsletter-band { background: linear-gradient(135deg, var(--blue-dark), var(--navy-dark)); border-radius: 16px; padding: 30px 34px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 40px 0; }
.newsletter-band h3 { color: #fff; margin: 0 0 4px; }
.newsletter-band p { color: #cfe6fb; margin: 0; font-size: 14px; }
@media (max-width: 980px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}
.article-body h2 { font-size: 26px; margin-top: 40px; }
.article-body h3 { font-size: 20px; margin-top: 28px; }
.article-body p { color: #3a4b5c; font-size: 16.5px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; color: #3a4b5c; font-size: 16px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--blue);
  background: var(--bg-cloud);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  font-size: 16px;
  color: var(--navy-dark);
  margin: 26px 0;
}
.share-row { display: flex; gap: 10px; align-items: center; margin: 30px 0; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 15px; }
.share-btn:hover { background: var(--blue); color: #fff; }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--bg-soft); border-radius: 14px; padding: 20px; margin: 34px 0; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex-shrink: 0; }
.toc { background: var(--bg-soft); border-radius: 14px; padding: 22px 26px; margin: 30px 0; }
.toc h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.toc ol { padding-left: 20px; margin: 0; }
.toc a { color: var(--blue); font-weight: 600; font-size: 14.5px; }

/* =========================================================
   FOOTER (rendered dynamically via components.js)
   ========================================================= */
#site-footer{
    background: linear-gradient(180deg,#14213D 0%,#0F172A 100%);
    color:#D6E2EE;
}
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo { font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 10px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a{
    color:#D6E2EE;
    transition:.25s;
}

.footer-col a:hover{
    color:#4DA3FF;
}
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; margin-bottom: 14px; align-items: flex-start; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover{
    background:#0176D3;
    transform:translateY(-3px);
}
.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    color:#9FB2C8;
}
.footer-bottom a { color: #9aabbb; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   MODALS (Book Free Consultation / Talk to Expert)
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 26, 41, .6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98);} to { opacity: 1; transform: translateY(0) scale(1);} }
.modal-header {
  padding: 22px 28px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  border-radius: 16px 16px 0 0;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-header h3 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.modal-header p { color: #dbeeff; margin: 0; font-size: 13.5px; }
.modal-close { background: rgba(255,255,255,.15); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; flex-shrink: 0; }
.modal-close:hover { background: rgba(255,255,255,.3); }
.modal-body { padding: 10px 8px 8px; }
.modal-body iframe { display: block; margin: 0 auto; }

/* Back to top */
.back-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  cursor: pointer; z-index: 500; opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* Google Translate cleanup */
.goog-te-banner-frame, .goog-te-gadget-icon { display: none !important; }
body { top: 0 !important; }
#google_translate_element .goog-te-gadget { color: transparent !important; font-size: 0; }
#google_translate_element .goog-te-gadget > span { display: none; }
.goog-te-combo {
  font-family: 'Lexend', sans-serif;
  font-size: 13px !important;
  border-radius: 6px !important;
  border: 1px solid var(--border) !important;
  padding: 5px 8px !important;
  color: var(--navy) !important;
  background: #fff !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 760px) {
  .nav-main, .mega { display: none; }
  .hamburger { display: block; }
  .nav-cta .btn span.txt { display: none; }
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 27px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .article-hero-img { height: 220px; margin-top: -30px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile drawer nav */
.mobile-nav {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100%;
  background: #fff; z-index: 1500; box-shadow: -10px 0 30px rgba(0,0,0,.2);
  transition: right .25s ease; overflow-y: auto; padding: 20px;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close { background: none; border: none; font-size: 20px; cursor: pointer; float: right; }
.mobile-nav h4 { font-size: 12px; text-transform: uppercase; color: var(--text-muted); margin: 18px 0 8px; }
.mobile-nav a { display: block; padding: 10px 0; font-weight: 600; color: var(--navy-dark); border-bottom: 1px solid var(--border); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1400; display: none; }
.mobile-overlay.open { display: block; }

/* =========================================================
   MOBILE ALIGNMENT HARDENING — global fix
   ========================================================= */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body { overflow-wrap: break-word; }
.container, section, header, footer, main { min-width: 0; }
.grid > *, .hero-grid > *, .footer-grid > *, .post-layout > * { min-width: 0; }
iframe, video, table { max-width: 100%; }

@media (max-width: 980px) {
  .navbar .container { height: 76px; }
  .logo-link { width: 170px !important; height: 64px !important; overflow: hidden; }
  .logo-link img { width: 170px !important; height: 64px !important; transform: scale(2.15) !important; }
  .nav-main { display: none; }
  .hamburger { display: block; flex-shrink: 0; }
  .nav-cta { margin-left: auto; }
}

@media (max-width: 760px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 42px 0; }

  .topbar .container {
    height: auto;
    min-height: 38px;
    padding-top: 7px;
    padding-bottom: 7px;
    gap: 8px;
  }
  .topbar-links { gap: 10px; min-width: 0; }
  .topbar-links:first-child a:nth-child(2) { display: none; }
  .topbar-links a, .topbar-links span { font-size: 11.5px; white-space: nowrap; }
  #google_translate_element { max-width: 92px; overflow: hidden; }
  .goog-te-combo { max-width: 92px !important; font-size: 11px !important; padding: 4px !important; }

  .navbar .container { height: 68px; gap: 8px; }
  .logo-link { width: 138px !important; height: 54px !important; }
  .logo-link img { width: 138px !important; height: 54px !important; transform: scale(2.05) !important; }
  .nav-cta { gap: 4px; }
  .nav-cta .btn { padding: 9px 10px; min-width: 40px; }
  .hamburger { padding: 7px 2px 7px 8px; }

  .hero { padding: 62px 0 56px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(29px, 8vw, 36px); }
  .hero p.lead { font-size: 16px; }
  .hero-card { padding: 20px; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }

  .page-hero { padding: 52px 0 46px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 32px); }
  .page-hero p { font-size: 15.5px; }

  .card, .testimonial { padding: 21px; }
  .grid { gap: 18px; }
  .stats-band { padding: 38px 0; }
  .stats-grid { gap: 22px 12px; }
  .stats-grid b { font-size: 28px; }

  .cta-band { padding: 30px 20px; border-radius: 16px; align-items: stretch; }
  .cta-band .btn { width: 100%; white-space: normal; }

  .blog-featured .img { min-height: 220px; }
  .blog-featured .body { padding: 24px 20px; }
  .blog-card .body { padding: 18px; }

  .article-wrap { width: 100%; }
  .article-hero-img { width: calc(100% - 32px); border-radius: 12px; }
  .article-body h2 { font-size: 23px; }
  .article-body h3 { font-size: 19px; }
  .article-body p, .article-body ul, .article-body ol { font-size: 15.5px; }
  .keytakeaways, .toc { padding: 20px; }
  .newsletter-band { padding: 24px 20px; }
  .author-box { align-items: flex-start; }

  .footer-top { padding: 48px 0 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { display: block; text-align: center; }
  .footer-bottom > * { margin-bottom: 8px; }

  .modal-overlay { padding: 8px; align-items: flex-start; overflow-y: auto; }
  .modal-box { max-height: calc(100dvh - 16px); margin: 8px 0; border-radius: 12px; }
  .modal-header { padding: 18px 16px; border-radius: 12px 12px 0 0; }
  .modal-header h3 { font-size: 18px; }
  .modal-body { padding: 4px; }

  .mobile-nav { width: min(88vw, 320px); right: min(-88vw, -320px); }
  .back-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

@media (max-width: 420px) {
  .topbar-links:first-child a:first-child { font-size: 11px; }
  .topbar-links:last-child > a { display: none; }
  .logo-link { width: 124px !important; }
  .logo-link img { width: 124px !important; transform: scale(1.95) !important; }
  .hero-stats, .stats-grid { grid-template-columns: 1fr; }
  .btn { font-size: 14px; }
}
