/* =========================================================
   Global Multispeciality Hospital, Dighi — Design System
   ========================================================= */

:root {
  /* Brand palette */
  --teal-900: #0a3d4a;
  --teal-700: #0f6e82;
  --teal-600: #128299;
  --teal-500: #16a3bf;
  --teal-100: #e3f6fa;
  --green-500: #1fb877;
  --green-600: #169c64;
  --amber-500: #f5a623;

  --ink-900: #0f2730;
  --ink-700: #2c4651;
  --ink-500: #5a727c;
  --ink-300: #8fa3ab;

  --bg: #ffffff;
  --bg-soft: #f4f9fb;
  --bg-tint: #eef6f9;
  --line: #e2ecf0;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(15, 39, 48, .06);
  --shadow-md: 0 10px 30px rgba(15, 39, 48, .10);
  --shadow-lg: 0 24px 60px rgba(15, 39, 48, .16);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1180px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --grad-brand: linear-gradient(135deg, var(--teal-600), var(--teal-500) 55%, var(--green-500));
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink-700); }
section { position: relative; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-600); background: var(--teal-100);
  padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 18px;
}
.section-head { max-width: 680px; margin: 0 auto 52px; }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 14px; font-size: 1.08rem; color: var(--ink-500); }
.lead { font-size: 1.15rem; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: .98rem; cursor: pointer;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(18, 130, 153, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(18, 130, 153, .45); }
.btn-ghost { background: #fff; color: var(--teal-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-600); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--teal-700); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline-white { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--teal-900); color: #cfe9ef; font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 9px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
.topbar .tb-socials { display: flex; gap: 14px; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; color: #fff; flex: none; overflow: hidden;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text strong { display: block; color: var(--ink-900); font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.brand-text span { font-size: .74rem; color: var(--teal-600); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 600; font-size: .96rem; color: var(--ink-700); padding: 9px 14px; border-radius: 10px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg-tint); color: var(--teal-600); }
.nav-links a.active { color: var(--teal-600); }
.nav-links .btn { display: none; } /* in-menu CTA shown on mobile only */
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: .25s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-1.5px); }

/* ---------- Hero ---------- */
.hero { background: var(--bg-soft); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: clamp(48px, 7vw, 90px) 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: var(--radius-pill); font-weight: 600; font-size: .88rem; color: var(--ink-700);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(31,184,119,.2); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .ht { }
.hero-trust .ht b { display: block; font-size: 1.7rem; color: var(--ink-900); font-weight: 800; }
.hero-trust .ht span { font-size: .85rem; color: var(--ink-500); }

.hero-visual { position: relative; }
.hero-card-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--grad-brand); aspect-ratio: 4/4.2; position: relative;
}
.hero-card-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-float {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.hero-float small { display: block; color: var(--ink-500); font-size: .78rem; }
.hero-float b { color: var(--ink-900); font-size: 1rem; }
.hero-float--tl { top: 26px; left: -22px; }
.hero-float--br { bottom: 30px; right: -18px; }

/* ---------- Quick info strip ---------- */
.infostrip { margin-top: -38px; position: relative; z-index: 5; }
.infostrip-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 12px;
}
.infocard { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); }
.infocard:hover { background: var(--bg-soft); }
.infocard .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; }
.infocard h3 { font-size: 1.05rem; margin-bottom: 2px; }
.infocard p { font-size: .92rem; color: var(--ink-500); }
.ic-teal { background: var(--grad-brand); }
.ic-green { background: linear-gradient(135deg, var(--green-500), var(--green-600)); }
.ic-amber { background: linear-gradient(135deg, var(--amber-500), #e8890b); }

/* ---------- Cards grid (services / features) ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .card-ic {
  width: 58px; height: 58px; border-radius: 16px; background: var(--teal-100); color: var(--teal-600);
  display: grid; place-items: center; margin-bottom: 20px; transition: .2s;
}
.card .card-ic svg { width: 28px; height: 28px; }
.card:hover .card-ic { background: var(--grad-brand); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--ink-500); margin-bottom: 16px; }
.card .more { font-weight: 700; color: var(--teal-600); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
.card ul.tick { display: grid; gap: 8px; }
.card ul.tick li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink-700); }
.card ul.tick li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4.4; background: var(--grad-brand); position: relative; }
.split-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.split h2 { margin-bottom: 18px; }
.split p { margin-bottom: 16px; color: var(--ink-500); }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin: 26px 0; }
.value-list li { display: flex; gap: 12px; align-items: flex-start; }
.value-list .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; flex: none; }
.value-list .ic svg { width: 19px; height: 19px; }
.value-list b { display: block; color: var(--ink-900); font-size: .98rem; }
.value-list span { font-size: .86rem; color: var(--ink-500); }

/* ---------- Stats band ---------- */
.stats { background: var(--teal-900); color: #fff; }
.stats .grid-4 { gap: 30px; }
.stat { text-align: center; padding: 12px; }
.stat b { display: block; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; background: linear-gradient(135deg, #7fe6c6, #58d3ec); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: #add3dc; font-weight: 600; font-size: .96rem; }

/* ---------- Doctors ---------- */
.doctor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.doctor:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.doctor-photo { aspect-ratio: 1/1; background: var(--grad-brand); position: relative; display: grid; place-items: center; }
.doctor-photo svg { width: 70%; height: 70%; opacity: .92; }
.doctor-body { padding: 22px; }
.doctor-body h3 { font-size: 1.15rem; }
.doctor-body .role { color: var(--teal-600); font-weight: 700; font-size: .9rem; margin: 3px 0 10px; }
.doctor-body p { font-size: .9rem; color: var(--ink-500); }
.doctor-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.doctor-tags span { font-size: .76rem; font-weight: 600; color: var(--teal-700); background: var(--teal-100); padding: 4px 12px; border-radius: var(--radius-pill); }

/* ---------- Why / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .num { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-500); }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.quote .stars { color: var(--amber-500); margin-bottom: 14px; letter-spacing: 2px; }
.quote p { color: var(--ink-700); font-size: 1rem; font-style: italic; margin-bottom: 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who b { color: var(--ink-900); font-size: .95rem; display: block; }
.quote .who span { font-size: .82rem; color: var(--ink-500); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 60px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: 1.05rem; color: var(--ink-900); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc-q .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; font-size: 1.2rem; transition: .25s; }
.acc-item.open .pm { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a p { padding: 0 24px 22px; color: var(--ink-500); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--teal-900); color: #fff; padding: clamp(48px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(31,184,119,.4), transparent 70%); }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #bfe0e7; max-width: 640px; font-size: 1.1rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: #8fc4cf; margin-bottom: 18px; }
.crumbs a { color: #cfeaf0; font-weight: 600; }
.crumbs span { opacity: .6; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-info .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex: none; }
.contact-info b { display: block; color: var(--ink-900); margin-bottom: 3px; }
.contact-info a, .contact-info span { color: var(--ink-500); font-size: .96rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink-900); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--ink-300); margin-top: 4px; }
.form-success { display: none; background: #e7f8ef; border: 1px solid #b7e7cd; color: var(--green-600); padding: 14px 18px; border-radius: 12px; font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: block; }
.form-error { display: none; background: #fdecea; border: 1px solid #f5c6c0; color: #c0392b; padding: 14px 18px; border-radius: 12px; font-weight: 600; margin-bottom: 18px; }
.form-error.show { display: block; }
button[type="submit"]:disabled { opacity: .65; cursor: not-allowed; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Hours table ---------- */
.hours { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px 26px; }
.hours li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--ink-700); font-weight: 600; }
.hours li span:last-child { color: var(--teal-600); font-weight: 700; }
.hours li.today { color: var(--green-600); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: #aebfc6; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.footer .brand-text strong { color: #fff; }
.footer p { font-size: .92rem; color: #92a6ad; margin: 18px 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .94rem; color: #aebfc6; transition: color .15s, padding .15s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .92rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal-500); flex: none; margin-top: 3px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .2s; }
.footer-socials a:hover { background: var(--grad-brand); transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #7d949b; }
.footer-bottom a { color: #aebfc6; }

/* ---------- Floating call button (mobile) ---------- */
.fab-call {
  position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-500); color: #fff; display: none; place-items: center; box-shadow: 0 10px 26px rgba(31,184,119,.5);
  animation: pulse 2s infinite;
}
.fab-call svg { width: 26px; height: 26px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,184,119,.5); } 70% { box-shadow: 0 0 0 16px rgba(31,184,119,0); } 100% { box-shadow: 0 0 0 0 rgba(31,184,119,0); } }

/* ---------- Department procedure list ---------- */
.proc-wrap { max-width: 980px; margin: 0 auto; }
.proc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.proc-item {
  display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.proc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--teal-500); }
.proc-item .pi-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; flex: none; transition: .18s; }
.proc-item:hover .pi-ic { background: var(--grad-brand); color: #fff; }
.proc-item .pi-ic svg { width: 18px; height: 18px; }
.proc-item .pi-txt { display: flex; flex-direction: column; }
.proc-item b { color: var(--ink-900); font-size: .98rem; font-weight: 600; line-height: 1.35; }
.proc-item span { font-size: .78rem; color: var(--ink-300); font-weight: 700; letter-spacing: .04em; }

.dept-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; margin-bottom: 8px; }
.dept-stat-card { background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.dept-stat-card b { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.dept-stat-card span { color: rgba(255,255,255,.9); font-weight: 600; }
.dept-stat-card .ds-divider { height: 1px; background: rgba(255,255,255,.25); margin: 20px 0; }
.dept-stat-card .ds-row { display: flex; gap: 10px; align-items: center; font-size: .92rem; margin-bottom: 10px; }
.dept-stat-card .ds-row svg { width: 18px; height: 18px; flex: none; }

/* Department nav chips on services hub */
.dept-chip-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.dept-chip { font-weight: 700; font-size: .92rem; color: var(--teal-700); background: #fff; border: 1.5px solid var(--line); padding: 9px 18px; border-radius: var(--radius-pill); transition: .18s; }
.dept-chip:hover { border-color: var(--teal-500); background: var(--teal-100); transform: translateY(-2px); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-thumb { height: 180px; position: relative; display: grid; place-items: center; overflow: hidden; }
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post-thumb svg { width: 50px; height: 50px; color: #fff; opacity: .95; }
.post-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--teal-700); font-size: .72rem; font-weight: 800; padding: 5px 13px; border-radius: var(--radius-pill); letter-spacing: .05em; text-transform: uppercase; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--ink-300); font-weight: 600; margin-bottom: 11px; display: flex; gap: 9px; align-items: center; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-300); }
.post-body h3 { font-size: 1.18rem; margin-bottom: 10px; line-height: 1.32; transition: color .15s; }
.post-card:hover h3 { color: var(--teal-600); }
.post-body p { font-size: .95rem; color: var(--ink-500); margin-bottom: 18px; flex: 1; }
.post-body .more { font-weight: 700; color: var(--teal-600); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.post-body .more svg { width: 16px; height: 16px; transition: transform .2s; }
.post-card:hover .more svg { transform: translateX(4px); }

.g-teal { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); }
.g-green { background: linear-gradient(135deg, #1fb877, #0f9d8c); }
.g-violet { background: linear-gradient(135deg, #6d6cf0, #128299); }
.g-amber { background: linear-gradient(135deg, #f5a623, #e8650b); }
.g-rose { background: linear-gradient(135deg, #f0617f, #c0392b); }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article > p:first-of-type { font-size: 1.22rem; line-height: 1.7; color: var(--ink-900); font-weight: 500; }
.article p { font-size: 1.06rem; line-height: 1.8; color: var(--ink-700); margin-bottom: 22px; }
.article h2 { font-size: 1.38rem; margin: 40px 0 14px; padding-left: 16px; border-left: 4px solid var(--teal-500); }
.article h3 { font-size: 1.18rem; margin: 28px 0 10px; color: var(--teal-700); }
.article > h2:first-of-type { margin-top: 8px; }
.article ul, .article ol { margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.article ul li { position: relative; padding-left: 30px; color: var(--ink-700); line-height: 1.7; }
.article ul li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.article ol { counter-reset: n; }
.article ol li { position: relative; padding-left: 40px; counter-increment: n; color: var(--ink-700); line-height: 1.7; }
.article ol li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); font-weight: 800; font-size: .82rem; display: grid; place-items: center; }
.callout { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, var(--teal-100), #eafaf3); border: 1px solid #c4e9ef; border-left: 4px solid var(--teal-500); border-radius: 14px; padding: 18px 22px; margin: 28px 0; box-shadow: var(--shadow-sm); }
.callout::before { content: ''; flex: none; width: 26px; height: 26px; margin-top: 1px; background: var(--grad-brand); border-radius: 8px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E") center/18px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E") center/18px no-repeat; }
.callout p { margin: 0; font-size: 1rem; color: var(--ink-700); }
.callout b { color: var(--teal-700); }

/* Featured image (and placeholder) */
.article-figure { margin: 0 0 34px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); }
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption { font-size: .85rem; color: var(--ink-300); padding: 10px 4px 0; }
.figure-ph { aspect-ratio: 16/9; position: relative; display: grid; place-items: center; }
.figure-ph svg { width: 74px; height: 74px; color: #fff; opacity: .95; }
.figure-ph .ph-label { position: absolute; bottom: 14px; right: 16px; background: rgba(255,255,255,.92); color: var(--teal-700); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); }
.article-meta { display: flex; gap: 12px; align-items: center; color: #bfe0e7; font-size: .9rem; font-weight: 600; margin-top: 14px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #8fc4cf; }
.cat-badge { display: inline-block; background: rgba(255,255,255,.14); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 15px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.disclaimer { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; font-size: .9rem; color: var(--ink-500); margin-top: 40px; }
.disclaimer b { color: var(--ink-700); }
.back-link { display: inline-flex; gap: 7px; align-items: center; color: var(--teal-600); font-weight: 700; font-size: .92rem; margin-bottom: 26px; }
.back-link svg { width: 16px; height: 16px; }
.related-box { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; margin-top: 36px; }
.related-box h3 { font-size: 1.08rem; margin-bottom: 6px; }
.related-box p { font-size: .94rem; color: var(--ink-500); margin: 0 0 16px; }
.related-box .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.related-box .dept-chip { background: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .dept-intro { grid-template-columns: 1fr; gap: 28px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; height: 100vh;
    width: min(82vw, 340px); background: #fff; flex-direction: column;
    align-items: stretch; gap: 4px; padding: 90px 22px 30px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s ease; z-index: 99; overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav-links .btn { display: inline-flex; margin-top: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .infostrip-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }
  .stats .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-float--tl { left: 6px; }
  .hero-float--br { right: 6px; }
  .proc-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .fab-call { display: grid; }
  .topbar .tb-left .tb-item.hide-sm { display: none; }
}
.nav-backdrop { position: fixed; inset: 0; background: rgba(15,39,48,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 98; }
.nav-backdrop.show { opacity: 1; visibility: visible; }
