/* ============================================================
   Biovigyaana Biopharma – Main Stylesheet
   Design: Classic Professional | Colors: Navy Blue + Forest Green
   ============================================================ */

:root {
  --navy:          #0B2D4E;
  --navy-dark:     #071E34;
  --navy-light:    #174470;
  --blue:          #1565C0;
  --blue-mid:      #1976D2;
  --blue-light:    #42A5F5;
  --green:         #1B5E20;
  --green-mid:     #2E7D32;
  --green-light:   #43A047;
  --teal:          #006064;
  --grad-brand:    linear-gradient(135deg, #0B2D4E 0%, #1B5E20 100%);
  --grad-hero:     linear-gradient(160deg, rgba(7,30,52,.92) 0%, rgba(27,94,32,.80) 100%);
  --grad-text:     linear-gradient(135deg, #1565C0, #2E7D32);
  --grad-btn:      linear-gradient(135deg, #1565C0 0%, #2E7D32 100%);
  --grad-btn-h:    linear-gradient(135deg, #0D47A1 0%, #1B5E20 100%);
  --bg:            #F7F9FC;
  --bg-alt:        #EEF5FF;
  --bg-green-tint: #F0F7F1;
  --bg-dark:       #071E34;
  --white:         #FFFFFF;
  --txt:           #0D1F2D;
  --txt-body:      #3D5166;
  --txt-muted:     #627D98;
  --txt-white:     #FFFFFF;
  --txt-white-75:  rgba(255,255,255,.75);
  --border:        #D4E1ED;
  --border-focus:  #1976D2;
  --shadow-sm:     0 2px 8px rgba(11,45,78,.08);
  --shadow-md:     0 4px 20px rgba(11,45,78,.12);
  --shadow-lg:     0 8px 40px rgba(11,45,78,.18);
  --shadow-card:   0 2px 16px rgba(11,45,78,.09);
  --shadow-card-h: 0 8px 32px rgba(11,45,78,.18);
  --r-sm:    4px;
  --r-md:    8px;
  --r-lg:    16px;
  --r-xl:    24px;
  --r-pill:  100px;
  --s-xs:  8px;
  --s-sm: 16px;
  --s-md: 24px;
  --s-lg: 40px;
  --s-xl: 64px;
  --s-2xl: 96px;
  --s-3xl: 128px;
  --font-h: 'Montserrat', sans-serif;
  --font-b: 'Inter', sans-serif;
  --t: all .3s cubic-bezier(.4,0,.2,1);
  --t-slow: all .5s cubic-bezier(.4,0,.2,1);
  --nav-h: 72px;
}

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

h1, h2, h3, h4, h5, h6 { font-family: var(--font-h); color: var(--txt); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
p { margin-bottom: 1rem; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; line-height: 1.8; color: var(--txt-body); }
.text-muted { color: var(--txt-muted); }
.text-white { color: var(--white); }
.overline { display: inline-block; font-family: var(--font-h); font-size: .75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 12px; }
.overline-green { color: var(--green-mid); }
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.container-wide { max-width: 1400px; }
.container-narrow { max-width: 800px; }
.section { padding-block: 80px; }
.section-sm { padding-block: 56px; }
.section-lg { padding-block: 112px; }
.section-bg   { background: var(--bg); }
.section-alt  { background: var(--bg-alt); }
.section-green { background: var(--bg-green-tint); }
.section-dark  { background: var(--bg-dark); color: var(--white); }
.section-grad  { background: var(--grad-brand); color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin-inline: auto; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--txt-muted); margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: var(--s-sm); }
.gap-md { gap: var(--s-md); }
.gap-lg { gap: var(--s-lg); }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 600; font-size: .9rem; letter-spacing: .3px; padding: 12px 28px; border-radius: var(--r-pill); transition: var(--t); white-space: nowrap; cursor: pointer; border: 2px solid transparent; text-decoration: none; }
.btn-lg { padding: 15px 36px; font-size: .95rem; }
.btn-sm { padding: 8px 20px; font-size: .82rem; }
.btn-primary { background: var(--grad-btn); color: var(--white); border-color: transparent; box-shadow: 0 4px 14px rgba(21,101,192,.35); }
.btn-primary:hover { background: var(--grad-btn-h); box-shadow: 0 6px 20px rgba(21,101,192,.45); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); border-color: var(--white); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); font-weight: 700; }
.btn-white:hover { background: var(--bg-alt); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-green { background: var(--green-mid); color: var(--white); border-color: var(--green-mid); }
.btn-green:hover { background: var(--green); transform: translateY(-1px); }

.badge { display: inline-block; padding: 4px 14px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.badge-blue   { background: rgba(21,101,192,.1);  color: var(--blue); }
.badge-green  { background: rgba(46,125,50,.1);   color: var(--green-mid); }
.badge-navy   { background: rgba(11,45,78,.08);   color: var(--navy); }
.badge-teal   { background: rgba(0,96,100,.1);    color: var(--teal); }
.badge-gray   { background: var(--bg);            color: var(--txt-muted); }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: var(--t); }
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.navbar-inner { display: flex; align-items: center; gap: 32px; width: 100%; }
.navbar-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.navbar-brand svg { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-h); font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: -.3px; }
.brand-sub { font-family: var(--font-h); font-weight: 500; font-size: .7rem; color: var(--green-mid); letter-spacing: .6px; text-transform: uppercase; }
.navbar-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-family: var(--font-h); font-weight: 600; font-size: .85rem; letter-spacing: .2px; color: var(--txt); border-radius: var(--r-md); transition: var(--t); }
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--bg-alt); }
.dropdown-arrow { font-size: .7rem; opacity: .6; transition: var(--t); }
.nav-item:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); min-width: 220px; padding: 8px; opacity: 0; pointer-events: none; transition: var(--t); list-style: none; }
.nav-item:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 10px 16px; font-family: var(--font-h); font-size: .83rem; font-weight: 600; color: var(--txt); border-radius: var(--r-md); transition: var(--t); }
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--blue); }
.navbar-cta { margin-left: 8px; padding: 9px 22px; font-size: .83rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; border-radius: var(--r-sm); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--txt); border-radius: 2px; transition: var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--white); z-index: 999; padding: 24px; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 13px 16px; font-family: var(--font-h); font-weight: 600; font-size: .95rem; color: var(--txt); border-radius: var(--r-md); border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { background: var(--bg-alt); color: var(--blue); }
.mobile-nav .mobile-cta { margin-top: 16px; text-align: center; }
main { padding-top: var(--nav-h); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--navy-dark); overflow: hidden; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; background-repeat: no-repeat; transform: scale(1.05); transition: transform 9s ease; }
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: var(--grad-hero); }
.hero-content { position: relative; z-index: 2; max-width: 740px; padding-block: 80px; color: var(--white); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-pill); font-family: var(--font-h); font-size: .78rem; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 24px; backdrop-filter: blur(4px); }
.hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); }
.hero-title { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.1; color: var(--white); margin-bottom: 24px; }
.hero-title em { font-style: normal; color: #7EC8A4; }
.hero-desc { font-size: 1.1rem; line-height: 1.78; color: rgba(255,255,255,.82); margin-bottom: 40px; max-width: 580px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 500; color: rgba(255,255,255,.8); }
.trust-check { width: 20px; height: 20px; background: rgba(67,160,71,.9); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: .65rem; color: white; }

.inner-hero { position: relative; min-height: 360px; display: flex; align-items: center; background: var(--navy-dark); overflow: hidden; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); }
.inner-hero .hero-bg { background-position: center; }
.inner-hero .hero-content { max-width: 680px; padding-block: 72px 60px; }
.inner-hero .hero-title { font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: .8rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.6); transition: var(--t); }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb span { color: rgba(255,255,255,.3); }

.card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); border: 1px solid var(--border); overflow: hidden; transition: var(--t); }
.card:hover { box-shadow: var(--shadow-card-h); transform: translateY(-4px); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 28px; }
.card-footer { padding: 20px 28px; border-top: 1px solid var(--border); background: var(--bg); }

.service-card { background: var(--white); border-radius: var(--r-lg); padding: 36px 32px; border: 1px solid var(--border); box-shadow: var(--shadow-card); transition: var(--t); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-btn); transform: scaleX(0); transform-origin: left; transition: var(--t); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-h); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 24px; flex-shrink: 0; }
.service-icon-blue  { background: rgba(21,101,192,.1); }
.service-icon-green { background: rgba(46,125,50,.1); }
.service-icon-navy  { background: rgba(11,45,78,.08); }
.service-icon-teal  { background: rgba(0,96,100,.1); }
.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p  { color: var(--txt-muted); font-size: .93rem; margin-bottom: 16px; }
.service-list { list-style: none; margin-bottom: 24px; }
.service-list li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; font-size: .88rem; color: var(--txt-body); }
.service-list li::before { content: ''; width: 6px; height: 6px; background: var(--green-mid); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }

.blog-card { display: flex; flex-direction: column; }
.blog-card .card-img { height: 200px; }
.blog-card .card-body { flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: .78rem; color: var(--txt-muted); }
.blog-meta .sep { opacity: .4; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card h3 a { color: var(--txt); transition: var(--t); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { font-size: .88rem; color: var(--txt-muted); flex: 1; margin-bottom: 20px; }
.read-more { font-family: var(--font-h); font-weight: 600; font-size: .82rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; transition: var(--t); }
.read-more:hover { color: var(--navy); gap: 10px; }

.portfolio-card .card-img { height: 240px; }
.portfolio-card .sector-badge { margin-bottom: 12px; }
.portfolio-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.portfolio-outcomes { list-style: none; margin-bottom: 20px; }
.portfolio-outcomes li { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: .85rem; color: var(--txt-body); }
.portfolio-outcomes li::before { content: '\u2713'; color: var(--green-mid); font-weight: 700; flex-shrink: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 3px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: .73rem; color: var(--txt-muted); font-weight: 500; }

.who-card { background: var(--white); border-radius: var(--r-lg); padding: 36px 32px; border: 1px solid var(--border); text-align: center; transition: var(--t); }
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.who-icon-wrap { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-item { padding: 40px 24px; text-align: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat-number { font-family: var(--font-h); font-size: 2.8rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 8px; }
.stat-number span { color: var(--green-light); }
.stat-label { font-size: .85rem; color: var(--txt-white-75); font-weight: 500; }

.why-item { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--border); transition: var(--t); }
.why-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.why-icon { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; }
.why-content h4 { margin-bottom: 6px; }
.why-content p { font-size: .9rem; color: var(--txt-muted); margin: 0; }

.cta-band { background: var(--grad-brand); padding: 80px 24px; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto 36px; }
.cta-band-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-wrap img { width: 100%; height: 520px; object-fit: cover; }
.about-img-badge { position: absolute; bottom: 28px; left: 28px; background: var(--white); border-radius: var(--r-lg); padding: 16px 20px; box-shadow: var(--shadow-md); }
.about-img-badge strong { display: block; font-family: var(--font-h); font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.about-img-badge span { font-size: .82rem; color: var(--txt-muted); }
.about-text .overline { margin-bottom: 8px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--txt-body); margin-bottom: 16px; }
.value-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.value-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--bg); border-radius: var(--r-md); border-left: 3px solid var(--blue-mid); }
.value-item h5 { font-size: .9rem; margin-bottom: 2px; color: var(--navy); }
.value-item p { font-size: .83rem; color: var(--txt-muted); margin: 0; }

.service-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 80px; }
.service-section.reverse { direction: rtl; }
.service-section.reverse > * { direction: ltr; }
.service-img-wrap { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.service-text .overline { margin-bottom: 8px; }
.service-text h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 16px; }
.service-text p { margin-bottom: 20px; }
.feature-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--txt-body); padding: 8px 0; border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border: none; }
.feature-check { width: 22px; height: 22px; background: rgba(46,125,50,.12); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.feature-check::after { content: '\u2713'; font-size: .68rem; color: var(--green-mid); font-weight: 700; }

.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expertise-card { background: var(--white); border-radius: var(--r-lg); padding: 32px 28px; border: 1px solid var(--border); box-shadow: var(--shadow-card); transition: var(--t); }
.expertise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.expertise-num { font-family: var(--font-h); font-size: 2.5rem; font-weight: 800; color: rgba(21,101,192,.12); margin-bottom: 8px; line-height: 1; }
.expertise-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.expertise-card p { font-size: .88rem; color: var(--txt-muted); margin: 0; }
.framework-strip { background: var(--grad-brand); border-radius: var(--r-xl); padding: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.fw-step { padding: 24px 20px; text-align: center; background: rgba(255,255,255,.07); border-radius: var(--r-md); }
.fw-num { font-family: var(--font-h); font-size: 2rem; font-weight: 800; color: rgba(255,255,255,.3); margin-bottom: 6px; }
.fw-step h4 { color: var(--white); font-size: .95rem; margin-bottom: 6px; }
.fw-step p { color: rgba(255,255,255,.65); font-size: .8rem; margin: 0; }

.blog-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: var(--white); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); margin-bottom: 56px; }
.blog-featured-img { height: 100%; min-height: 360px; object-fit: cover; }
.blog-featured-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 1.8rem; margin-bottom: 14px; }
.blog-featured-body p { color: var(--txt-muted); margin-bottom: 24px; }
.blog-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.post-content { max-width: 780px; margin-inline: auto; padding-block: 64px; }
.post-content h2, .post-content h3 { font-family: var(--font-h); color: var(--txt); margin-top: 40px; margin-bottom: 16px; }
.post-content h3 { font-size: 1.35rem; }
.post-content ul { padding-left: 0; margin-bottom: 20px; }
.post-content ul li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--txt-body); }
.post-content ul li::before { content: '\25b8'; position: absolute; left: 0; color: var(--blue-mid); font-size: .75rem; top: 4px; }
.author-box { display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: var(--bg-alt); border-radius: var(--r-lg); border: 1px solid var(--border); margin-top: 48px; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: white; font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }

.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perk-card { padding: 28px 24px; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--border); text-align: center; transition: var(--t); }
.perk-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.perk-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--bg-alt); }
.perk-card h4 { margin-bottom: 8px; font-size: 1rem; }
.perk-card p { font-size: .85rem; color: var(--txt-muted); margin: 0; }
.opening-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: var(--t); }
.opening-card:hover { box-shadow: var(--shadow-md); }
.opening-info h4 { margin-bottom: 4px; }
.opening-meta { display: flex; gap: 12px; font-size: .8rem; color: var(--txt-muted); }

.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info-card { background: var(--grad-brand); border-radius: var(--r-xl); padding: 44px 40px; color: var(--white); }
.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-detail:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.contact-detail-icon { width: 42px; height: 42px; background: rgba(255,255,255,.12); border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; }
.contact-detail h5 { color: rgba(255,255,255,.6); font-size: .72rem; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.contact-detail p { color: var(--white); font-size: .9rem; margin: 0; line-height: 1.5; }
.contact-detail a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.contact-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.contact-form-card { background: var(--white); border-radius: var(--r-xl); padding: 44px 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.contact-form-card h3 { margin-bottom: 8px; }
.contact-form-card > p { color: var(--txt-muted); font-size: .92rem; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }
.form-label { font-family: var(--font-h); font-size: .78rem; font-weight: 600; color: var(--txt); letter-spacing: .2px; }
.form-label .req { color: #e53935; margin-left: 2px; }
.form-control { width: 100%; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: var(--r-md); font-family: var(--font-b); font-size: .92rem; color: var(--txt); background: var(--bg); transition: var(--t); outline: none; }
.form-control:focus { border-color: var(--border-focus); background: var(--white); box-shadow: 0 0 0 3px rgba(25,118,210,.1); }
.form-control::placeholder { color: var(--txt-muted); }
.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='%23627D98' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-alert { padding: 14px 18px; border-radius: var(--r-md); font-size: .9rem; margin-bottom: 20px; display: none; }
.form-alert.show { display: block; }
.form-alert.success { background: rgba(46,125,50,.1); border: 1px solid rgba(46,125,50,.3); color: var(--green-mid); }
.form-alert.error { background: rgba(198,40,40,.08); border: 1px solid rgba(198,40,40,.25); color: #c62828; }
.btn-submit { width: 100%; padding: 14px; font-size: .95rem; justify-content: center; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255,255,255,.55); }
.footer-desc { font-size: .87rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-col h5 { font-family: var(--font-h); font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .87rem; color: rgba(255,255,255,.65); transition: var(--t); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: .85rem; color: rgba(255,255,255,.65); }
.footer-contact-item a { color: rgba(255,255,255,.65); transition: var(--t); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: .78rem; color: rgba(255,255,255,.4); transition: var(--t); }
.footer-legal-links a:hover { color: rgba(255,255,255,.75); }

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity .7s ease; }
.fade-in.visible { opacity: 1; }
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .1s; }
.stagger > *:nth-child(3) { transition-delay: .2s; }
.stagger > *:nth-child(4) { transition-delay: .3s; }

.divider { height: 1px; background: var(--border); margin-block: 40px; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: var(--s-lg); }
.mt-md { margin-top: var(--s-md); }
.full-width { width: 100%; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.legal-content { max-width: 800px; margin: 0 auto; padding-block: 64px; }
.legal-content h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 12px; }
.legal-content h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; }
.legal-content p, .legal-content li { font-size: .95rem; color: var(--txt-body); }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { list-style: disc; margin-bottom: 6px; }
.last-updated { display: inline-block; padding: 4px 12px; background: var(--bg); border-radius: var(--r-pill); font-size: .78rem; color: var(--txt-muted); margin-bottom: 32px; }

.page-404 { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 64px 24px; }
.page-404 .num { font-family: var(--font-h); font-size: clamp(6rem, 15vw, 10rem); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 16px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap img { height: 400px; }
  .service-section { grid-template-columns: 1fr; gap: 40px; }
  .service-section.reverse { direction: ltr; }
  .framework-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 300px; max-height: 300px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding-block: 56px; }
  .section-lg { padding-block: 72px; }
  .grid-2, .grid-3, .expertise-grid, .perk-grid, .blog-list-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding-block: 60px 48px; }
  .inner-hero { min-height: 300px; }
  .inner-hero .hero-content { padding-block: 56px 44px; }
  .hero-trust { gap: 16px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .framework-strip { grid-template-columns: 1fr 1fr; padding: 28px 20px; gap: 8px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 24px; }
  .contact-info-card { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { margin-bottom: 40px; }
  .blog-featured-body { padding: 32px 28px; }
  .post-content { padding-block: 40px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .framework-strip { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .contact-actions { flex-direction: column; }
  .opening-card { flex-direction: column; align-items: flex-start; }
}
