/* ==========================================================================
   Divorce Lawyer Pakistan — divorcelawyerpk.com
   Design system & global styles
   ========================================================================== */

:root {
  /* Brand palette — trustworthy navy + warm gold accent */
  --navy-900: #0b1f33;
  --navy-800: #10293f;
  --navy-700: #163650;
  --navy-600: #1f4966;
  --navy-100: #eaf1f7;
  --gold-600: #b8892f;
  --gold-500: #c8a34e;
  --gold-400: #d8bd7b;
  --gold-100: #f6efdd;
  --teal-600: #0f7168;
  --ink-900: #12212e;
  --ink-700: #33475b;
  --ink-500: #5c6f80;
  --ink-300: #93a2b0;
  --line: #e2e8ee;
  --line-soft: #eef2f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-tint: #f1f5f9;
  --white: #ffffff;
  --success: #1f9d6b;
  --danger: #c23b3b;

  --wa: #25d366;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 51, 0.06);
  --shadow: 0 12px 30px rgba(11, 31, 51, 0.10);
  --shadow-lg: 0 28px 60px rgba(11, 31, 51, 0.16);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --gutter: 22px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}
body.nav-open { overflow: hidden; }
img, svg, iframe, video { max-width: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.2; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .5em; }
strong { color: var(--ink-900); font-weight: 600; }
hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }
.bg-navy { background: var(--navy-800); color: #d5e0ea; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .9rem;
}
.bg-navy .eyebrow { color: var(--gold-400); }
.lead { font-size: 1.18rem; color: var(--ink-700); }
.bg-navy .lead { color: #c3d2df; }
.section-head { max-width: 720px; margin: 0 auto 2.8rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.muted { color: var(--ink-500); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s ease; text-align: center; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-navy { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.btn-navy:hover { background: var(--navy-900); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { background: #1eb857; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy-700); border-color: var(--navy-600); }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.bg-navy .btn-outline,
.hero .btn-outline,
.page-hero .btn-outline,
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.bg-navy .btn-outline:hover,
.hero .btn-outline:hover,
.page-hero .btn-outline:hover,
.cta-band .btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--gold-400); border-color: transparent; padding-left: 0; }
.btn-lg { padding: 1rem 2rem; font-size: 1.06rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--navy-900); color: #c7d5e2; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #e6eef5; font-weight: 500; }
.topbar a:hover { color: var(--gold-400); }
.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-item svg { width: 15px; height: 15px; color: var(--gold-400); }
.topbar-right { display: inline-flex; gap: .5rem; align-items: center; }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; color: var(--navy-900); }
.brand-name span { color: var(--gold-600); }
.brand-tag { font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--ink-900); font-weight: 500; font-size: .97rem; padding: .55rem .75rem; border-radius: 8px; }
.nav a:hover { color: var(--gold-600); background: var(--bg-soft); }
.nav a.active { color: var(--gold-600); }
.nav-cta { margin-left: .5rem; }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: "▾"; font-size: .7rem; margin-left: .35rem; color: var(--ink-500); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .6rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s ease; z-index: 120;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .75rem; border-radius: 8px; font-size: .93rem; color: var(--ink-700); font-weight: 500; }
.dropdown a:hover { background: var(--bg-soft); color: var(--gold-600); }
.dropdown a small { display: block; color: var(--ink-500); font-weight: 400; font-size: .78rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy-900); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #eaf1f7; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(200,163,78,.18), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: linear-gradient(var(--gold-400) 1px, transparent 1px), linear-gradient(90deg, var(--gold-400) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(3rem, 6vw, 5.5rem) 0; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold-400); }
.hero p.lead { color: #c8d6e3; }
.hero .eyebrow { color: var(--gold-400); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.8rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 500;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .4rem .85rem; border-radius: 999px; color: #dbe6f0;
}
.chip svg { width: 15px; height: 15px; color: var(--gold-400); }

.hero-card {
  background: rgba(255,255,255,.97); color: var(--ink-700); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold-500);
}
.hero-card h3 { color: var(--navy-900); margin-bottom: .3rem; }
.hero-card .form-note { font-size: .82rem; color: var(--ink-500); margin-top: .4rem; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-900); color: #cdd9e5; }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.6rem var(--gutter); text-align: center; }
.trust-stat .num { font-family: var(--font-head); font-size: 1.9rem; color: var(--gold-400); font-weight: 700; }
.trust-stat .lbl { font-size: .82rem; letter-spacing: .5px; color: #a9bccd; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: all .25s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-600); margin-bottom: 1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; font-size: 1.28rem; }
.card p { font-size: .97rem; margin-bottom: .9rem; color: var(--ink-500); }
.card .card-link { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .3rem; }
.card .card-link::after { content: "→"; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }

/* Service card as full link block */
a.card { color: inherit; display: block; }
a.card:hover { color: inherit; }

/* ---------- Feature / why-us ---------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .fi {
  flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-100); color: var(--navy-700);
}
.bg-navy .feature .fi { background: rgba(200,163,78,.15); color: var(--gold-400); }
.feature .fi svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: .3rem; color: var(--ink-900); }
.bg-navy .feature h4 { color: #fff; }
.feature p { font-size: .95rem; margin: 0; color: var(--ink-500); }
.bg-navy .feature p { color: #b7c6d4; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.info-panel {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #dbe6f0; border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow);
}
.info-panel h3 { color: #fff; }
.info-panel ul { list-style: none; padding: 0; }
.info-panel li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; }
.info-panel li svg { flex: none; width: 20px; height: 20px; color: var(--gold-400); margin-top: 3px; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.3rem; }
.steps.grid-4 { grid-template-columns: repeat(4,1fr); }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--gold-600);
  background: var(--gold-100); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: .9rem;
}
.step h4 { margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--ink-500); margin: 0; }

/* ---------- List with checks ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7rem; }
.checklist li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600); font-weight: 700; font-size: .8rem;
  display: grid; place-items: center; margin-top: 3px;
}

/* ---------- Testimonials ---------- */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); height: 100%; }
.testi .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: .6rem; }
.testi p { font-style: italic; color: var(--ink-700); }
.testi .who { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.testi .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.testi .who b { color: var(--ink-900); display: block; font-size: .95rem; }
.testi .who small { color: var(--ink-500); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.15rem 1.3rem; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem;
  color: var(--ink-900); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q:hover { color: var(--gold-600); }
.faq-q .ic { flex: none; width: 24px; height: 24px; position: relative; transition: transform .3s; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--gold-600); border-radius: 2px; }
.faq-q .ic::before { top: 11px; left: 4px; right: 4px; height: 2.5px; }
.faq-q .ic::after { left: 11px; top: 4px; bottom: 4px; width: 2.5px; transition: transform .3s; }
.faq-item.open .faq-q .ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 1.3rem 1.25rem; color: var(--ink-500); font-size: .98rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 10%, rgba(200,163,78,.22), transparent 60%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d6e3; max-width: 620px; margin: 0 auto 1.6rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(200,163,78,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #eaf1f7; padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(2.4rem, 5vw, 3.6rem);
}
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { color: #c8d6e3; max-width: 720px; font-size: 1.12rem; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: #9fb4c6; margin-bottom: 1rem; }
.breadcrumb a { color: #cdddea; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { color: var(--gold-400); }

/* ---------- Article / rich text ---------- */
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; color: var(--navy-700); }
.prose ul li::marker { color: var(--gold-600); }
.prose > p:first-of-type { font-size: 1.12rem; color: var(--ink-700); }
.callout {
  background: var(--gold-100); border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin: 1.6rem 0;
}
.callout h4 { color: var(--navy-800); margin-bottom: .4rem; }
.callout p:last-child { margin-bottom: 0; }
.note-box {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin: 1.6rem 0;
}

/* sidebar layout */
.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: 110px; }
.aside-card h4 { color: var(--navy-900); }
.aside-card + .aside-card { margin-top: 1.3rem; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.aside-list li:last-child { border-bottom: none; }
.aside-list a { display: block; padding: .6rem 0; font-weight: 500; font-size: .95rem; color: var(--ink-700); }
.aside-list a:hover { color: var(--gold-600); padding-left: 5px; }
.aside-cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); color: #dbe6f0; }
.aside-cta h4 { color: #fff; }
.aside-cta p { font-size: .92rem; color: #c3d2df; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-900); margin-bottom: .35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .98rem; color: var(--ink-900); background: #fff; transition: border .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(200,163,78,.15); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9bccd; font-size: .94rem; }
.footer-top { padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.2rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #93a8ba; font-size: .93rem; margin-top: 1rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #a9bccd; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .9rem; list-style: none; }
.footer-contact { padding: 0; margin: 0; }
.footer-contact svg { flex: none; width: 18px; height: 18px; color: var(--gold-400); margin-top: 3px; }
.footer-contact a { color: #cdddea; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdddea; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8296a8; }
.footer-bottom a { color: #a9bccd; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: .7rem; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); color: #fff; transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn svg { width: 28px; height: 28px; }
.float-wa { background: var(--wa); }
.float-call { background: var(--navy-700); }
.float-btn.pulse { animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Utilities ---------- */
.tag { display: inline-block; background: var(--gold-100); color: var(--gold-600); font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; }
.icon-list { list-style: none; padding: 0; }
.icon-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; }
.icon-list svg { flex: none; width: 22px; height: 22px; color: var(--gold-600); margin-top: 3px; }
.divider-gold { width: 64px; height: 4px; background: var(--gold-500); border-radius: 3px; margin: 0 auto 1.4rem; }
.section-head.left .divider-gold { margin-left: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

/* Tablet & below: off-canvas mobile menu */
@media (max-width: 1024px) {
  /* backdrop-filter would make the header the containing block for the
     fixed menu, clamping it to header height — disable it on mobile */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; z-index: 130; }
  .nav {
    position: fixed; top: 0; right: 0; left: auto;
    height: 100vh; height: 100dvh; width: min(340px, 86vw); background: #fff;
    flex-direction: column; align-items: stretch; padding: 5.5rem 1.3rem 2.5rem; gap: .15rem;
    box-shadow: var(--shadow-lg); transform: translateX(100%); z-index: 120;
    transition: transform .3s ease; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav.open { transform: translateX(0); }
  .nav > a,
  .has-dropdown > a { padding: .85rem .6rem; border-radius: 8px; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .nav a.active { background: var(--gold-100); }
  .has-dropdown { border-bottom: 1px solid var(--line-soft); }
  .has-dropdown > a { border-bottom: none; }
  .has-dropdown > a::after { float: right; color: var(--gold-600); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 .5rem .6rem; min-width: 0; background: transparent;
  }
  .dropdown a { padding: .6rem .6rem; border-bottom: none; font-size: .95rem; }
  .dropdown a small { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; padding: .95rem 1.6rem; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(11,31,51,.55); opacity: 0; visibility: hidden; transition: .3s; z-index: 110; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}

/* Layout stacking */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .split, .split.wide-left, .with-aside { grid-template-columns: 1fr; gap: 2rem; }
  .aside-card { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps.grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .with-aside .aside-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
  .aside-card + .aside-card { margin-top: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps.grid-4 { grid-template-columns: 1fr; }
  .trustbar .container { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .with-aside .aside-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .topbar-left { gap: .9rem; }
  .topbar-right { gap: .5rem; }
  .topbar .topbar-hide { display: none; }
  .header-main { min-height: 64px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.12rem; }
  .btn-row { gap: .7rem; }
  .float-actions { right: 14px; bottom: 14px; }
  .float-btn { width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .trustbar .container { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: .85rem 1.4rem; font-size: 1rem; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: .4rem; }
  .breadcrumb { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
