/* ============================================================
   Dhee Compliance (OPC) Pvt Ltd — Site Stylesheet
   Palette: Charcoal + Emerald | Fonts: Fraunces + Manrope
   ============================================================ */

:root {
  --charcoal: #22272e;
  --charcoal-deep: #1a1e24;
  --charcoal-soft: #2e343c;
  --emerald: #0e9f6e;
  --emerald-dark: #0b7f58;
  --emerald-tint: #e7f6f0;
  --cream: #fafaf7;
  --white: #ffffff;
  --ink: #2b3138;
  --muted: #5f6871;
  --line: #e6e8e6;
  --gold: #d4a94e;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(26, 30, 36, 0.08);
  --shadow-lg: 0 14px 40px rgba(26, 30, 36, 0.14);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--emerald-dark); text-decoration: none; }
a:hover { color: var(--emerald); }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700; color: var(--emerald);
  margin-bottom: 12px;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { background: var(--charcoal-deep); color: #c8cdd2; font-size: 0.85rem; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #e8ecef; }
.topbar a:hover { color: var(--emerald); }
.topbar .tb-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .tb-social { display: flex; gap: 14px; align-items: center; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(26,30,36,0.05);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--charcoal);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
}
.brand-mark span { color: var(--emerald); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--charcoal); line-height: 1.2; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald-dark); }
nav.main-nav ul { list-style: none; display: flex; gap: 26px; align-items: center; }
nav.main-nav a { color: var(--charcoal); font-weight: 600; font-size: 0.95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--emerald-dark); border-bottom-color: var(--emerald); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--charcoal); cursor: pointer; }

/* ---------- Brand logo & dropdown ---------- */
.brand-logo { height: 46px; width: auto; }
nav.main-nav li { position: relative; }
nav.main-nav .submenu {
  display: none; position: absolute; top: 100%; left: -14px; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  min-width: 235px; padding: 10px 0; z-index: 300; flex-direction: column; gap: 0;
}
nav.main-nav li.has-sub:hover > .submenu { display: flex; }
nav.main-nav .submenu li { border: none; }
nav.main-nav .submenu a { display: block; padding: 9px 20px; border-bottom: none; font-size: 0.88rem; font-weight: 600; }
nav.main-nav .submenu a:hover { background: var(--emerald-tint); color: var(--emerald-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 700;
  font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease;
}
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: var(--emerald-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-soft); color: var(--white); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-light-outline { border-color: rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.btn-light-outline:hover { background: var(--white); color: var(--charcoal); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--charcoal-deep) 0%, var(--charcoal) 55%, #26473b 100%);
  color: #e9edf0; padding: 96px 0 88px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(14,159,110,0.25), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: #58c99a; }
.hero p.lead { color: #b9c2c9; max-width: 640px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero-badges .badge-item strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--white); }
.hero-badges .badge-item span { font-size: 0.85rem; color: #9aa5ad; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--charcoal-deep), var(--charcoal) 70%, #26473b); color: var(--white); padding: 64px 0 56px; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #b9c2c9; max-width: 680px; margin-bottom: 0; }
.breadcrumb { font-size: 0.85rem; color: #8f9aa2; margin-bottom: 14px; }
.breadcrumb a { color: #c8cdd2; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.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: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--emerald-tint); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--emerald-tint);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }
.card .card-link { font-weight: 700; font-size: 0.9rem; }

/* ---------- Alternating feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row + .feature-row { margin-top: 72px; }
.feature-visual {
  background: linear-gradient(145deg, var(--emerald-tint), #f2f7f4); border-radius: var(--radius);
  min-height: 300px; display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; border: 1px solid var(--line);
}
.checklist { list-style: none; margin: 18px 0; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  background: var(--emerald-tint); color: var(--emerald-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800;
}

/* ---------- Dark strip / stats ---------- */
.strip-dark { background: var(--charcoal); color: var(--white); }
.strip-dark h2 { color: var(--white); }
.strip-dark p { color: #b9c2c9; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats .stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; color: #58c99a; }
.stats .stat span { color: #b9c2c9; font-size: 0.92rem; }

/* ---------- Service detail sections ---------- */
.service-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; margin-bottom: 32px; scroll-margin-top: 110px; }
.service-block h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 1.55rem; }
.service-block h2 .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--emerald-tint); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.service-block .sub-services { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.service-block .sub-services span { background: var(--emerald-tint); color: var(--emerald-dark); font-size: 0.83rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--charcoal);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--emerald); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--emerald-dark), var(--emerald));
  border-radius: var(--radius); padding: 56px; text-align: center; color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: #dff3ea; max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: var(--white); color: var(--emerald-dark); }
.cta-band .btn-primary:hover { background: var(--charcoal); color: var(--white); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .post-cat { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-dark); margin-bottom: 10px; }
.post-card .post-meta { font-size: 0.83rem; color: var(--muted); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
article.post-body { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; }
article.post-body h2 { margin: 32px 0 14px; font-size: 1.5rem; }
article.post-body h3 { margin: 24px 0 10px; }
article.post-body ul, article.post-body ol { margin: 0 0 18px 24px; }
article.post-body li { margin-bottom: 8px; }
.post-meta-top { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 0.88rem; color: var(--charcoal); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(14,159,110,0.12); }

/* ---------- Resource links ---------- */
.link-tile { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: all 0.2s; }
.link-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.link-tile .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--emerald-tint); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.link-tile strong { color: var(--charcoal); display: block; }
.link-tile small { color: var(--muted); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--charcoal-deep); color: #aeb6bd; padding: 64px 0 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a { color: #aeb6bd; }
footer a:hover { color: var(--emerald); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #3a414a;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.footer-social a:hover { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.footer-bottom { border-top: 1px solid #31373f; padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.83rem; color: #7d868e; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45); z-index: 90;
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px; }
  nav.main-nav li { border-bottom: 1px solid var(--line); }
  nav.main-nav li:last-child { border-bottom: none; }
  nav.main-nav a { display: block; padding: 14px 0; border-bottom: none; }
  nav.main-nav .submenu { display: block; position: static; border: none; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
  nav.main-nav .submenu a { padding: 8px 0; font-size: 0.85rem; }
  .topbar .tb-social { display: none; }
  section { padding: 52px 0; }
  .cta-band { padding: 40px 24px; }
  article.post-body { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Content protection (deterrent only) ---- */
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,select{-webkit-user-select:text;user-select:text}
img{-webkit-user-drag:none;user-drag:none;pointer-events:none}
.brand img,.nav-toggle{pointer-events:auto}
@media print{body{display:none!important}}

/* ---------- Services page ---------- */
.service-block h2 .icon img { width: 30px; height: 30px; border-radius: 6px; object-fit: contain; }
.svc-nav { position: sticky; top: 76px; z-index: 50; display: flex; gap: 8px; overflow-x: auto; padding: 12px 14px; margin-bottom: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scrollbar-width: thin; }
.svc-nav a { flex-shrink: 0; font-size: 0.82rem; font-weight: 700; color: var(--charcoal); background: var(--emerald-tint); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.svc-nav a:hover { background: var(--emerald); color: var(--white); }
.svc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 6px; padding: 18px 20px; background: var(--cream); border-left: 3px solid var(--emerald); border-radius: 10px; }
.svc-facts strong { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-dark); margin-bottom: 4px; }
.svc-facts span { font-size: 0.9rem; color: var(--ink); line-height: 1.5; }
@media (max-width: 760px) { .svc-facts { grid-template-columns: 1fr; } .service-block { padding: 26px 20px; } .svc-nav { top: 64px; } }

/* ---------- Services: neat pills, mini-grid, audience ---------- */
.pill-label { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 22px 0 -2px; }
.service-block .sub-services { gap: 8px; margin: 12px 0 22px; }
.service-block .sub-services span { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; line-height: 1.35; border: 1px solid #cfe9de; }
.service-block .sub-services span::before { content: "✓"; font-weight: 800; color: var(--emerald); }
.service-block .sub-services span em { font-style: normal; font-weight: 600; font-size: 0.76rem; color: var(--muted); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.mini-card { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 20px; scroll-margin-top: 150px; }
.mini-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.mini-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.mini-card .card-link { font-weight: 700; font-size: 0.88rem; }
.who-serve { margin: 56px 0 40px; }
.who-serve .card .icon img { width: 30px; height: 30px; object-fit: contain; }
@media (max-width: 900px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mini-grid { grid-template-columns: 1fr; } }

/* ---------- Services: trust strip & actions ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-top: 14px; padding-bottom: 14px; }
.trust-strip span { font-size: 0.85rem; font-weight: 700; color: var(--charcoal); }
.trust-strip span::before { content: "✓"; color: var(--emerald); margin-right: 8px; font-weight: 800; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-wa { background: transparent; color: var(--emerald-dark); border: 2px solid var(--emerald); }
.btn-wa:hover { background: var(--emerald); color: var(--white); transform: translateY(-2px); }
.cta-band .svc-actions { justify-content: center; }
.cta-band .btn-wa { color: var(--white); border-color: rgba(255,255,255,0.7); }
.cta-band .btn-wa:hover { background: var(--white); color: var(--emerald-dark); }
@media (max-width: 560px) { .svc-actions .btn { width: 100%; text-align: center; } .trust-strip .container { justify-content: flex-start; } }

/* ---------- Individual service pages ---------- */
.svc-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.svc-main h2 { margin: 40px 0 16px; font-size: 1.45rem; }
.svc-main > p:first-child { margin-top: 0; }
.svc-main p { font-size: 1.02rem; }
.tick-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 28px; line-height: 1.55; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--emerald); font-weight: 800; }
.svc-main .sub-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.svc-main .sub-services span { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; background: var(--emerald-tint); color: var(--emerald-dark); font-size: 0.83rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1px solid #cfe9de; line-height: 1.35; }
.svc-main .sub-services span::before { content: "✓"; font-weight: 800; color: var(--emerald); }
.svc-main .sub-services span em { font-style: normal; font-weight: 600; font-size: 0.76rem; color: var(--muted); }
.steps .card { position: relative; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--emerald); color: var(--white); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.svc-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.side-card p { font-size: 0.92rem; color: var(--muted); }
.side-card .btn { display: block; width: 100%; text-align: center; margin-top: 10px; }
.side-card .side-call { margin: 14px 0 0; text-align: center; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.side-links a { font-weight: 700; font-size: 0.92rem; }
@media (max-width: 900px) { .svc-page { grid-template-columns: 1fr; gap: 32px; } .svc-side { position: static; } }

/* ---------- Icons ---------- */
.topbar .ico, .tb-contact .ico { vertical-align: -2px; margin-right: 4px; }
.wa-float svg { display: block; margin: auto; }
.card .icon img, .link-tile .icon img { width: 30px; height: 30px; object-fit: contain; }
.card .icon.step-icon { background: var(--emerald); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.feature-visual img { width: 96px; height: 96px; object-fit: contain; }

/* ---------- Hidden placeholders, trust, links ---------- */
[hidden] { display: none !important; }
.footer-reg { font-size: 0.8rem; color: #9aa5ad; padding: 14px 0 0; }
.svc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.svc-links a { background: var(--emerald-tint); color: var(--emerald-dark); font-weight: 700; font-size: 0.88rem; padding: 8px 16px; border-radius: 999px; border: 1px solid #cfe9de; }
.svc-links a:hover { background: var(--emerald); color: var(--white); }
.team-card .team-role { font-weight: 700; color: var(--emerald-dark); font-size: 0.85rem; margin-bottom: 8px; }
.testi-card .testi-quote { font-family: var(--font-head); font-size: 1.05rem; color: var(--charcoal); }
.testi-card .testi-by { font-size: 0.88rem; color: var(--muted); margin: 0; }
.cred-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cred-row div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cred-row strong { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-dark); margin-bottom: 6px; }
@media (max-width: 700px) { .cred-row { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan-card:nth-child(2) { border: 2px solid var(--emerald); }
.plan-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.plan-blurb { color: var(--muted); font-size: 0.93rem; min-height: 4.2em; }
.plan-fee { margin: 8px 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-fee strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--charcoal); }
.plan-fee small { color: var(--muted); font-size: 0.8rem; }
.plan-card .tick-list { flex: 1; margin-bottom: 22px; }
.plan-card .btn { text-align: center; }
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plan-matrix { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.93rem; }
.plan-matrix thead th { background: var(--charcoal); color: var(--white); padding: 14px 16px; text-align: center; font-family: var(--font-head); }
.plan-matrix tbody th { text-align: left; font-weight: 600; padding: 12px 16px; color: var(--ink); }
.plan-matrix td { text-align: center; padding: 12px 16px; border-left: 1px solid var(--line); }
.plan-matrix tr { border-top: 1px solid var(--line); }
.plan-matrix tr.grp th { background: var(--emerald-tint); color: var(--emerald-dark); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.plan-matrix td.yes { color: var(--emerald); font-weight: 800; }
.plan-matrix td.no { color: #b6bcc2; }
.plan-matrix td.txt { font-weight: 600; color: var(--charcoal); font-size: 0.88rem; }
.plan-matrix tr.fee th, .plan-matrix tr.fee td { background: var(--cream); font-weight: 800; color: var(--charcoal); }
.matrix-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
.addon-grid { margin-top: 0; }
.mini-card.addon { display: block; color: inherit; }
.mini-card.addon:hover { border-color: var(--emerald); transform: translateY(-2px); }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } .plan-blurb { min-height: 0; } }

/* ---------- Mobile: collapsible submenus ---------- */
@media (max-width: 900px) {
  nav.main-nav .submenu { display: none; }
  nav.main-nav li.has-sub.open > .submenu { display: block; }
}
.footer-disclaimer { font-size: 0.78rem; line-height: 1.55; color: #9aa5ad; font-style: italic; margin: 0 0 14px; max-width: 460px; }

/* ---------- Header CTA & WhatsApp float polish ---------- */
nav.main-nav .nav-cta a.btn { padding: 11px 26px; white-space: nowrap; line-height: 1.2; border-bottom: 2px solid transparent; font-size: 0.92rem; }
nav.main-nav .nav-cta a.btn:hover { border-bottom-color: transparent; color: var(--white); }
.wa-float { width: 58px; height: 58px; }
.wa-float svg { width: 30px; height: 30px; }
@media (min-width: 901px) and (max-width: 1220px) { nav.main-nav ul { gap: 16px; } nav.main-nav a { font-size: 0.88rem; } .brand-name small { letter-spacing: 0.08em; } }

/* ---------- Mobile polish ---------- */
@media (max-width: 700px) {
  input, select, textarea { font-size: 16px; }
  .card-link { display: inline-block; padding: 12px 0; }
  .topbar a { display: inline-block; padding: 8px 0; }
  .hero-badges { gap: 20px 24px; }
}
@media (max-width: 480px) {
  .stats { gap: 20px 12px; }
  .stats .stat strong { font-size: 1.9rem; }
  .stats .stat span { font-size: 0.85rem; }
  .tb-contact { gap: 12px; flex-wrap: wrap; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal-updated { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p { font-size: 1rem; line-height: 1.75; }

/* ---------- Service icon set ---------- */
svg.ic { display: block; }
.icon { color: var(--emerald-dark); transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.card:hover .icon, .link-tile:hover .icon, .service-block:hover > h2 .icon { background: var(--emerald); color: var(--white); transform: translateY(-2px); }
.service-block h2 .icon svg.ic { width: 28px; height: 28px; }
.card .icon.step-icon { color: var(--white); }
.page-hero .hero-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(88, 201, 154, 0.14); border: 1px solid rgba(88, 201, 154, 0.35); color: #58c99a; display: flex; align-items: center; justify-content: center; margin: 14px 0 12px; }
.page-hero .hero-icon svg.ic { width: 30px; height: 30px; }

/* ---------- Header fit & icon size ---------- */
nav.main-nav a, .brand-name small, .brand-name { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1400px) {
  nav.main-nav ul { gap: 18px; }
  nav.main-nav a { font-size: 0.9rem; }
  nav.main-nav .nav-cta a.btn { padding: 10px 20px; font-size: 0.88rem; }
  .nav-wrap { gap: 16px; }
}
.card .icon svg.ic, .link-tile .icon svg.ic { width: 28px; height: 28px; stroke-width: 1.8; }
@media (min-width: 901px) and (max-width: 1060px) {
  nav.main-nav ul { gap: 11px; }
  nav.main-nav a { font-size: 0.82rem; }
  nav.main-nav .nav-cta a.btn { padding: 9px 14px; font-size: 0.8rem; }
  .brand-name small { display: none; }
  .brand-logo { height: 40px; }
}

/* ---------- Header: cleaner layout ---------- */
nav.main-nav a:not(.btn):hover, nav.main-nav a:not(.btn).active { color: var(--emerald-dark); border-bottom-color: var(--emerald); }
nav.main-nav a.btn.active { color: var(--white); border-bottom-color: transparent; }
nav.main-nav li.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s ease; opacity: 0.75;
}
nav.main-nav li.has-sub:hover > a::after, nav.main-nav li.has-sub.open > a::after { transform: rotate(-135deg) translate(-1px, -1px); }
.brand { flex-shrink: 0; margin-right: 12px; }
@media (min-width: 901px) {
  nav.main-nav ul { gap: 30px; }
  nav.main-nav a { font-size: 0.95rem; }
  nav.main-nav .nav-cta a.btn { padding: 12px 26px; font-size: 0.92rem; }
  .brand-name small { display: block; }
  .brand-logo { height: 46px; }
  .nav-wrap { gap: 24px; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  nav.main-nav ul { gap: 20px; }
  nav.main-nav a { font-size: 0.9rem; }
  nav.main-nav .nav-cta a.btn { padding: 11px 20px; font-size: 0.88rem; }
}
@media (min-width: 901px) and (max-width: 1040px) {
  nav.main-nav ul { gap: 15px; }
  nav.main-nav a { font-size: 0.85rem; }
  nav.main-nav .nav-cta a.btn { padding: 10px 16px; }
  .brand-name small { display: none; }
  .brand-logo { height: 40px; }
}
@media (max-width: 900px) {
  nav.main-nav li.has-sub > a { display: flex; align-items: center; justify-content: space-between; }
  nav.main-nav li.has-sub > a::after { margin: 0 4px 3px 0; }
}


/* ---------- About page visual ---------- */
.feature-visual.art { background: linear-gradient(135deg, var(--charcoal-deep), var(--charcoal) 60%, #26473b); border-color: transparent; padding: 0; overflow: hidden; }
.feature-visual.art img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; }


.feature-visual.art .hv-svg { display: block; width: 100%; height: 100%; max-height: 460px; }

.feature-visual.art .as-svg { display: block; width: 100%; height: auto; }

/* ---------- Service page hero illustration ---------- */
.page-hero .hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
.page-hero .hero-copy-s p { max-width: 560px; }
.hero-art-s svg { display: block; width: 100%; height: auto; max-height: 300px; margin-left: auto; }
@media (max-width: 900px) {
  .page-hero .hero-split { grid-template-columns: 1fr; gap: 20px; }
  .hero-art-s svg { max-width: 340px; margin: 0 auto; }
}

/* ---------- Menu breakpoint: hamburger up to 960px ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 99; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px; }
  nav.main-nav li { border-bottom: 1px solid var(--line); }
  nav.main-nav li:last-child { border-bottom: none; }
  nav.main-nav a { display: block; padding: 14px 0; border-bottom: none; font-size: 0.95rem; }
  nav.main-nav li.has-sub > a { display: flex; align-items: center; justify-content: space-between; }
  nav.main-nav .submenu { display: none; position: static; border: none; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
  nav.main-nav li.has-sub.open > .submenu { display: block; }
  nav.main-nav .submenu a { padding: 8px 0; font-size: 0.85rem; }
  nav.main-nav .nav-cta { padding: 12px 0 6px; }
  nav.main-nav .nav-cta a.btn { display: inline-block; padding: 12px 26px; }
  .brand-name small { display: block; }
  .brand-logo { height: 42px; }
}

/* ---------- Blog covers ---------- */
.post-card .post-cover { display: block; width: calc(100% + 56px); max-width: none; margin: -30px -28px 20px; border-radius: 12px 12px 0 0; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-cover-lg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin: 0 0 28px; }
@media (max-width: 720px) { .post-card .post-cover { width: calc(100% + 56px); } }

/* ---------- 404 ---------- */
.e404-art svg { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 8px; }

/* ---------- Pricing: type tabs, centred plan cards, applicability table ---------- */
.type-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 12px; }
.type-tab { font: inherit; font-weight: 700; font-size: 1rem; color: var(--charcoal); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 24px; cursor: pointer; transition: all 0.2s ease; }
.type-tab:hover { border-color: var(--emerald); color: var(--emerald-dark); }
.type-tab.active { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.type-note-wrap { text-align: center; min-height: 1.6em; margin: 0 0 28px; color: var(--muted); font-size: 0.95rem; }
.plan-card { text-align: center; padding: 40px 32px; }
.plan-card h3 { font-size: 1.9rem; margin-bottom: 10px; }
.plan-blurb { font-size: 1.05rem; line-height: 1.6; min-height: 6.6em; }
.plan-fee { margin: 14px 0 26px; padding: 22px 0; }
.plan-fee strong { font-size: 2rem; }
.plan-fee small { display: block; font-size: 0.95rem; margin-top: 6px; }
.plan-card .btn { font-size: 1.05rem; padding: 15px 28px; margin-top: auto; }
.plan-matrix.applic { min-width: 760px; font-size: 1rem; }
.plan-matrix.applic thead th { font-size: 1.02rem; line-height: 1.3; }
.plan-matrix.applic thead th small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; opacity: 0.8; margin-top: 2px; }
.plan-matrix.applic tbody th { width: 34%; }
.plan-matrix.applic td { font-size: 1.15rem; }
.plan-matrix.applic td.no { color: #b6bcc2; font-weight: 700; }
.plan-matrix.applic td.cond sup { color: var(--gold); font-size: 0.95rem; margin-left: 2px; }
.triggers { max-width: 920px; margin: 28px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.triggers h3 { font-size: 1.15rem; margin-bottom: 14px; }
.triggers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.triggers li { font-size: 0.95rem; line-height: 1.65; color: var(--ink); padding-left: 18px; position: relative; }
.triggers li::before { content: "*"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
@media (max-width: 700px) { .type-tab { padding: 10px 16px; font-size: 0.92rem; } .plan-card { padding: 30px 22px; } .plan-blurb { min-height: 0; } }
.plan-matrix.applic { table-layout: fixed; }
.plan-matrix.applic thead th:first-child, .plan-matrix.applic tbody th { width: 34%; }
.plan-matrix.applic thead th:not(:first-child), .plan-matrix.applic td { width: 16.5%; }

/* ---------- Services mega menu ---------- */
@media (min-width: 961px) {
  nav.main-nav li.has-mega { position: static; }
  nav.main-nav .submenu.mega { left: 0; right: 0; top: 100%; min-width: 0; padding: 26px 34px 20px; border-radius: 0 0 14px 14px; gap: 6px 36px; grid-template-columns: repeat(3, 1fr); }
  nav.main-nav li.has-mega:hover > .submenu.mega, nav.main-nav li.has-mega:focus-within > .submenu.mega { display: grid; }
  .mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
}
.mega-title { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald-dark); margin-bottom: 6px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
nav.main-nav .mega-col li, nav.main-nav .mega-foot { border: none; }
nav.main-nav .mega-col a { display: block; padding: 7px 0; font-size: 0.9rem; font-weight: 600; border: none; white-space: nowrap; }
nav.main-nav .mega-col a:hover { color: var(--emerald-dark); }
nav.main-nav .mega-foot a { display: inline-block; padding: 6px 0; font-weight: 800; color: var(--emerald-dark); border: none; }
@media (max-width: 960px) {
  nav.main-nav .submenu.mega { display: none; padding: 4px 0 8px 16px; }
  nav.main-nav li.has-mega.open > .submenu.mega { display: block; }
  .mega-col { margin-bottom: 10px; }
  .mega-title { margin: 10px 0 2px; }
  nav.main-nav .mega-col a { font-size: 0.85rem; padding: 6px 0; }
}

/* ---------- Service verticals ---------- */
.vertical-head { margin: 56px 0 28px; max-width: 760px; scroll-margin-top: 150px; }
.vertical-head:first-of-type { margin-top: 12px; }
.vertical-head h2 { font-size: 2rem; margin: 6px 0 10px; }
.vertical-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.svc-nav-v { justify-content: center; }
.svc-nav-v a { font-size: 0.95rem; padding: 9px 22px; }

/* ---------- Homepage verticals ---------- */
.home-vertical { margin-top: 56px; }
.home-vertical:first-of-type { margin-top: 0; }
.home-vertical-head { text-align: center; margin-bottom: 28px; }
.home-vertical-head .eyebrow { font-size: 0.85rem; }
.home-vertical-head p { color: var(--muted); max-width: 640px; margin: 8px auto 0; }
.home-vertical-more { text-align: center; margin: 26px 0 0; }
.home-vertical-more .card-link { font-weight: 800; }
.home-vertical-head h3 { font-size: 1.7rem; margin: 0; }
nav.main-nav .mega-col ul { display: block; flex-direction: column; gap: 0; padding: 0; margin: 4px 0 0; list-style: none; }
nav.main-nav .mega-col { min-width: 0; }

/* ---------- Blog: filters and related posts ---------- */
.blog-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 32px; }
.blog-filter button { font: inherit; font-weight: 700; font-size: 0.92rem; color: var(--charcoal); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 20px; cursor: pointer; transition: all 0.2s ease; }
.blog-filter button:hover { border-color: var(--emerald); color: var(--emerald-dark); }
.blog-filter button.active { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.related-posts { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.related-posts h3 { font-size: 1.15rem; margin-bottom: 14px; }
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rel-post { display: block; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--charcoal); transition: all 0.2s ease; }
.rel-post:hover { border-color: var(--emerald); transform: translateY(-2px); color: var(--charcoal); }
.rel-post .rel-cat { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-dark); margin-bottom: 6px; }
.rel-post strong { font-family: var(--font-head); font-size: 1rem; line-height: 1.35; }
.rel-post[hidden], .post-card[hidden], .related-posts[hidden] { display: none !important; }
@media (max-width: 640px) { .rel-grid { grid-template-columns: 1fr; } }
