/* ==========================================================
   Tushar Kumar & Associates — simple, informative law firm theme
   Palette taken from the logo: navy + gold on white
   ========================================================== */
:root {
    --navy: #13294b;
    --navy-dark: #0b1a33;
    --navy-soft: #e9eef6;
    --gold: #c9a24a;
    --gold-dark: #8a6a1f;     /* gold dark enough for text on white */
    --gold-soft: #f7efdc;
    --ink: #1d2433;
    --muted: #5b6474;
    --line: #e4e0d6;
    --soft: #f7f5f0;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 14px 34px -18px rgba(19, 41, 75, .35);
    --serif: 'Merriweather', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); margin: 0 0 .5em; line-height: 1.3; font-weight: 700; color: var(--navy); }
h2 { font-size: clamp(25px, 3vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 32px); }
.ic { width: 1em; height: 1em; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.center-text { text-align: center; }
.small-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--navy-dark); padding: 10px 16px; border-radius: 6px; z-index: 300; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; font-family: var(--sans); line-height: 1.3; }
.btn .ic { font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: #b88f36; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn-row.center { justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: var(--gold); }

.eyebrow { display: inline-block; color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow.light { color: var(--gold); }

.section { padding: 80px 0; }
.soft { background: var(--soft); }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 700px; margin-inline: auto; }
.section-head p { margin: 0; }
.lead-text { font-size: 18px; color: var(--navy); font-weight: 500; }

/* Top bar */
.topbar { background: var(--navy-dark); color: rgba(255,255,255,.85); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; }
.topbar-info { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar-info li { display: flex; align-items: center; gap: 7px; }
.topbar-info .ic, .topbar-social .ic { color: var(--gold); }
.topbar a:hover { color: var(--gold); }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { display: inline-flex; align-items: center; gap: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(19,41,75,.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 20px; }
.logo img { height: 58px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
.main-nav > a::after, .nav-item > a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width .25s; }
.main-nav > a:hover::after, .main-nav a.current::after, .nav-item > a:hover::after { width: 100%; }
.nav-item { position: relative; display: flex; align-items: center; gap: 3px; }
.sub-toggle { background: none; border: 0; padding: 0; color: var(--navy); font-size: 15px; cursor: pointer; display: grid; place-items: center; }
.sub-toggle .ic { transition: transform .25s; }
.nav-item.open > .sub-toggle .ic { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: calc(100% + 18px); left: -18px; min-width: 290px; background: #fff; border-top: 3px solid var(--gold); border-radius: 0 0 8px 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 60; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 18px; }
.nav-item.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 8px 20px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.main-nav .sub-menu a:hover { background: var(--soft); color: var(--gold-dark); }
@media (min-width: 1025px) {
    .nav-item:hover > .sub-menu, .nav-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 28px; cursor: pointer; width: 44px; height: 44px; padding: 0; place-items: center; margin-right: -8px; }

/* Flash */
.flash { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100; padding: 14px 48px 14px 22px; border-radius: 8px; color: #fff; box-shadow: var(--shadow); width: max-content; max-width: calc(100% - 32px); font-weight: 600; }
.flash-ok { background: #1f7a52; }
.flash-error { background: #b23b3b; }
.flash button { position: absolute; right: 12px; top: 8px; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

/* Hero carousel */
.hero { position: relative; height: clamp(480px, 78vh, 640px); background: var(--navy-dark); overflow: hidden; color: #fff; }
.hero-track, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-active .slide-img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,26,51,.92) 0%, rgba(11,26,51,.72) 45%, rgba(11,26,51,.25) 100%); }
.slide-copy { position: relative; z-index: 1; max-width: 1200px; }
.slide-copy > * { max-width: 640px; }
.hero-copy h1, .slide h1, .slide-title { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 50px); line-height: 1.2; color: #fff; margin: 0 0 18px; font-weight: 700; }
.slide p, .hero-copy p { color: rgba(255,255,255,.88); font-size: 17px; }
.hero-copy { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(11,26,51,.35); color: #fff; font-size: 22px; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button.is-active { width: 34px; background: var(--gold); }

/* Trust strip */
.trust { background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-right: 1px solid rgba(255,255,255,.1); }
.trust-item:last-child { border-right: 0; }
.trust-item > .ic { font-size: 30px; color: var(--gold); margin-top: 2px; }
.trust-item strong { display: block; font-size: 16px; }
.trust-item span { font-size: 13.5px; color: rgba(255,255,255,.75); line-height: 1.5; display: block; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 9/10; object-fit: cover; border-radius: var(--radius); }
.about-badge { position: absolute; right: -16px; bottom: 30px; display: flex; align-items: center; gap: 12px; max-width: 270px; padding: 16px 20px; border-radius: 8px; background: var(--gold); color: var(--navy-dark); font-weight: 600; font-size: 14px; line-height: 1.4; box-shadow: var(--shadow); }
.about-badge .ic { font-size: 30px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.check-list.single { grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--navy); }
.check-list .ic { color: var(--gold-dark); font-size: 18px; margin-top: 4px; }

/* Stats */
.stats-band { background: var(--soft); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 34px 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 40px); color: var(--navy); line-height: 1.2; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.stats.six { grid-template-columns: repeat(3, 1fr); }
.stats.six .stat { border-bottom: 1px solid var(--line); }
.stats.six .stat:nth-child(3n) { border-right: 0; }
.stats.six .stat:nth-last-child(-n+3) { border-bottom: 0; }
.stats.six .stat strong { font-size: clamp(19px, 1.9vw, 24px); margin-bottom: 4px; }

/* Practice area cards */
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.practice-grid.three { grid-template-columns: repeat(3, 1fr); }
.pa-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pa-card:hover, .pa-card:focus-within { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.pa-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; transition: background .2s, color .2s; }
.pa-card:hover .pa-ic { background: var(--navy); color: var(--gold); }
.pa-card:has(.pa-img) { overflow: hidden; }
.pa-img { display: block; width: calc(100% + 48px); max-width: none; margin: -28px -24px 20px; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.pa-card:hover .pa-img { transform: scale(1.04); }
.pa-card h3 { font-size: 18px; margin-bottom: 8px; }
.pa-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.pa-card p { color: var(--muted); font-size: 14.5px; flex: 1; margin-bottom: 14px; }
.pa-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--gold-dark); }
.pa-card p + .pa-list { margin-top: -6px; }
.pa-card:has(.pa-list) p { flex: 0; }
.pa-list { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; display: grid; align-content: start; gap: 6px; font-size: 14.5px; color: var(--navy); }
.pa-list li { position: relative; padding-left: 16px; }
.pa-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 30px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--navy-dark); font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 0; }
.steps.compact { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 30px; }
.steps.compact li { padding: 22px; }
.steps.compact .step-num { width: 38px; height: 38px; font-size: 14px; margin-bottom: 10px; }
.steps.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps.five li { padding: 26px 20px; }

/* Why + courts */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.why-list { margin-top: 24px; display: grid; gap: 22px; }
.why-item { display: flex; gap: 16px; }
.why-item h3 { font-size: 18px; margin-bottom: 4px; }
.why-item p { color: var(--muted); margin: 0; font-size: 15px; }
.why-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-size: 23px; flex-shrink: 0; }
.courts-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.courts-box h3 { display: flex; align-items: center; gap: 10px; }
.courts-box h3 .ic { color: var(--gold-dark); }
.courts-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14.5px; }
.courts-list li { display: flex; gap: 8px; align-items: flex-start; }
.courts-list .ic { color: var(--gold-dark); margin-top: 5px; }
.courts-box img { border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { color: var(--gold); letter-spacing: 3px; }
.review blockquote { margin: 10px 0 16px; color: var(--muted); }
.review figcaption strong { display: block; color: var(--navy); }
.review figcaption span { font-size: 13px; color: var(--gold-dark); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--gold-dark); font-size: 20px; transition: transform .25s; }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq[open] { border-color: var(--gold); }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Appointment */
.appt-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contact-points li { display: flex; gap: 14px; align-items: center; }
.contact-points small { display: block; color: var(--muted); font-size: 13px; }
.contact-points a, .contact-points span:not(.why-ic) { font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.contact-points a:hover { color: var(--gold-dark); }
.appt-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.appt-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.appt-form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.appt-form input, .appt-form select, .appt-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid #cfcabd; border-radius: 6px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; }
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-soft); }
.appt-form .btn { width: 100%; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 50px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }
.cta-band .btn-row { margin-top: 0; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) max-content max-content minmax(0, 1.2fr); gap: 40px; padding: 60px 0 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 8px; margin-bottom: 18px; }
.footer-logo img { height: 56px; width: auto; }
.footer-about { line-height: 1.8; }
.footer-col h3 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.footer-col h3.footer-follow { font-size: 16px; margin: 22px 0 12px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--gold); display: grid; place-items: center; font-size: 18px; transition: .2s; }
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; white-space: nowrap; } /* one item per line */
.footer-links a::before { content: "›"; color: var(--gold); margin-right: 8px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; padding: 5px 0; overflow-wrap: anywhere; }
.footer-contact .ic { color: var(--gold); margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 18px 0; gap: 10px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-about strong { color: #fff; }
.footer-bottom a:hover { color: var(--gold); }

/* Floating buttons */
.float-contact { position: fixed; left: 18px; bottom: 18px; z-index: 45; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); }
.float-wa { background: #25d366; }
.float-call { background: var(--navy); }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy-dark); font-size: 20px; display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: .3s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Popups: enquiry + disclaimer */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(11,26,51,.72); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: modal-fade .25s ease; }
.modal[hidden] { display: none; }
.modal > div { animation: modal-rise .35s cubic-bezier(.2,.8,.2,1); }
@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(19,41,75,.06); color: var(--navy); transition: background .2s, color .2s, transform .2s; }
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--gold); color: var(--navy-dark); transform: rotate(90deg); }

/* Enquiry popup — split card */
.enq-box { position: relative; display: grid; grid-template-columns: 300px 1fr; width: 100%; max-width: 860px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.enq-side { position: relative; overflow: hidden; padding: 40px 30px; color: rgba(255,255,255,.82); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); }
.enq-side::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(201,162,74,.14); }
.enq-side h2 { color: #fff; font-size: 30px; margin: 0 0 12px; }
.enq-side h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 14px; background: var(--gold); border-radius: 2px; }
.enq-side > p { font-size: 15px; margin: 0 0 26px; }
.enq-points { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 14.5px; }
.enq-points li { display: flex; align-items: center; gap: 12px; }
.enq-points .ic { flex-shrink: 0; width: 34px; height: 34px; padding: 8px; border-radius: 8px; background: rgba(201,162,74,.16); color: var(--gold); }
.enq-points a { color: #fff; font-weight: 600; }
.enq-points a:hover { color: var(--gold); }
.enq-form { display: grid; gap: 14px; align-content: center; padding: 40px 34px 34px; }
.enq-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.enq-form input, .enq-form select, .enq-form textarea { width: 100%; padding: 11px 14px; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--soft); border: 1px solid transparent; border-bottom: 2px solid var(--line); border-radius: 8px 8px 4px 4px; transition: border-color .2s, background .2s; }
.enq-form input:focus, .enq-form select:focus, .enq-form textarea:focus { outline: none; background: #fff; border-color: var(--line); border-bottom-color: var(--gold); }
.enq-form textarea { resize: vertical; min-height: 84px; }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enq-submit { justify-self: start; margin-top: 4px; }

/* Disclaimer popup — header bar, scrolling body, fixed footer */
.dlg-box { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 780px; max-height: calc(100vh - 32px); overflow: hidden; background: #fff; border-radius: 14px; border-top: 4px solid var(--gold); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.dlg-head { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 64px 20px 28px; background: var(--navy); color: rgba(255,255,255,.75); }
.dlg-head h2 { color: #fff; font-size: 22px; margin: 0; }
.dlg-head p { margin: 0; font-size: 14px; }
.dlg-ic { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(201,162,74,.18); color: var(--gold); font-size: 24px; }
.dlg-head .modal-close { top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); color: #fff; }
.dlg-head .modal-close:hover { transform: translateY(-50%) rotate(90deg); background: var(--gold); color: var(--navy-dark); }
.dlg-body { overflow-y: auto; padding: 24px 28px; display: grid; gap: 12px; }
.dlg-body p, .dlg-body li { margin: 0; font-size: 14.5px; line-height: 1.7; color: #3a4252; }
.dlg-body .modal-lead { padding: 14px 18px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: var(--gold-soft); font-family: var(--serif); font-weight: 700; color: var(--navy); }
.dlg-body strong { color: var(--navy); }
.dlg-body a { color: var(--gold-dark); font-weight: 600; }
.dlg-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dlg-body li { position: relative; padding: 12px 14px 12px 40px; border-radius: 8px; background: var(--soft); }
.dlg-body li::before { content: ""; position: absolute; left: 16px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.2); }
.dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--soft); }
.dlg-foot p { margin: 0; font-size: 13px; color: var(--muted); }
.dlg-foot .btn { flex-shrink: 0; }

/* Inner page banner */
.page-hero { position: relative; text-align: center; color: #fff; padding: 64px 0 70px; background: linear-gradient(rgba(11,26,51,.88), rgba(11,26,51,.88)), url('../images/page-banner.jpg') center/cover; }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 46px); color: #fff; margin: 14px 0 12px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 680px; margin: 0 auto; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

/* Practice area page */
.svc-grid { display: grid; grid-template-columns: 1fr 370px; gap: 50px; align-items: start; }
.svc-body h2 { font-size: clamp(22px, 2.5vw, 28px); margin-top: 10px; }
.svc-body > p { color: #3a4252; font-size: 16.5px; }
.svc-body > p + h2 { margin-top: 34px; }
.svc-body > .check-list + h2, .svc-body > .svc-points + h2 { margin-top: 34px; }
.svc-body > h3 { font-size: 19px; margin-top: 26px; }
.svc-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 0; }
.svc-point { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.svc-point h3 { font-size: 17px; margin: 0 0 6px; }
.svc-point p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .svc-points { grid-template-columns: 1fr; } }
.legal-body > ul { color: #3a4252; font-size: 16.5px; padding-left: 22px; }
.legal-body > ul + h2 { margin-top: 34px; }
.svc-aside { display: grid; gap: 22px; position: sticky; top: 100px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.aside-card h3 { font-size: 18px; }
.aside-card.navy { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.85); }
.aside-card.navy h3 { color: #fff; }
.aside-card.navy .btn + .btn { margin-top: 10px; }
.aside-card .appt-form { padding: 0; box-shadow: none; border: 0; }
.aside-card .appt-form .row { grid-template-columns: 1fr; gap: 0; }
.aside-links { list-style: none; padding: 0; margin: 0; max-height: 330px; overflow-y: auto; font-size: 14.5px; }
.aside-links a { display: flex; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.aside-links .ic { color: var(--gold-dark); }
.aside-links a:hover { color: var(--gold-dark); }

/* About page */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.founder-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo img.founder-emblem { object-fit: contain; padding: 30px; }
.founder-role { color: var(--gold-dark); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; margin-top: -6px; }
.founder-quote { margin: 24px 0 0; padding-left: 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--navy); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.value-card .why-ic { margin: 0 auto 14px; }
.value-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin-inline: auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; color: var(--navy); transition: border-color .2s, color .2s; }
.chip .ic { color: var(--gold-dark); font-size: 17px; }
a.chip:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Contact page */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: border-color .2s, box-shadow .2s; }
a.info-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.info-card .why-ic { margin: 0 auto 14px; }
.info-card h2 { font-size: 18px; margin-bottom: 4px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.hours-card { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.hours-card h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.hours-card h3 .ic { color: var(--gold-dark); }
.hours { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { font-weight: 600; color: var(--navy); text-align: right; }
.map-section { padding: 0 0 80px; background: var(--soft); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Blog list + post */
.blog-pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.blog-pager a, .blog-pager span { min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 6px; border: 1px solid var(--line); font-weight: 600; }
.blog-pager span { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-pager a:hover { border-color: var(--gold); color: var(--gold-dark); }
.post-wrap { max-width: 820px; }
.post-image { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 30px; }
.post-body { font-size: 17px; color: #3a4252; overflow-wrap: anywhere; }
.post-body h2 { font-size: clamp(22px, 2.5vw, 28px); margin-top: 36px; }
.post-body h3 { font-size: 20px; margin-top: 28px; }
.post-body a { color: var(--gold-dark); text-decoration: underline; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body blockquote { margin: 24px 0; padding: 14px 20px; border-left: 4px solid var(--gold); background: var(--soft); border-radius: 0 8px 8px 0; }
.post-cta { margin-top: 44px; padding: 28px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.post-cta h2 { margin-top: 0; }
.post-cta p { margin: 0; }
.post-cta .btn-row { margin-top: 18px; }
.post-cta a.btn { text-decoration: none; }

/* Legal insights (home) */
.insights-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.insights-head h2 { margin: 0; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.insight-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.insight-card:hover, .insight-card:focus-within { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.insight-media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--navy-soft); }
.insight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insight-card:hover .insight-media img { transform: scale(1.05); }
.insight-media::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--gold); }
.insight-tag { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.insight-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.insight-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.insight-meta svg { width: 15px; height: 15px; }
.insight-body h3 { font-size: 19px; margin-bottom: 10px; }
.insight-body h3 a::after { content: ""; position: absolute; inset: 0; }
.insight-body p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.insight-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--gold-dark); }
.insight-more svg { width: 16px; height: 16px; transition: transform .2s; }
.insight-card:hover .insight-more svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 1200px) {
    .main-nav { gap: 18px; }
    .main-nav a { font-size: 14.5px; }
}
@media (max-width: 1080px) {
    .hide-md { display: none !important; }
    .practice-grid { grid-template-columns: repeat(3, 1fr); }
    .steps, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-grid { grid-template-columns: 1fr 320px; gap: 36px; }
}
@media (max-width: 1024px) {
    .nav-toggle { display: grid; }
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 6px 16px 18px; display: none; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(19,41,75,.15); max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; }
    .main-nav.open { display: flex; }
    .main-nav > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .main-nav > a::after, .nav-item > a::after { display: none; }
    .nav-item { flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
    .nav-item > a { flex: 1; padding: 12px 0; }
    .sub-toggle { width: 44px; height: 44px; font-size: 18px; margin-right: -10px; }
    .sub-menu, .nav-item.open > .sub-menu { position: static; display: none; flex-basis: 100%; min-width: 0; padding: 0 0 8px 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .sub-menu::before { display: none; }
    .nav-item.open > .sub-menu { display: block; }
    .main-nav .sub-menu a { padding: 8px 0; }
}
@media (max-width: 900px) {
    .section { padding: 60px 0; }
    .about-grid, .why-grid, .appt-grid, .founder-grid, .svc-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-media { max-width: 520px; }
    .about-badge { right: 12px; }
    .founder-photo { max-width: 380px; width: 100%; margin-inline: auto; }
    .practice-grid, .practice-grid.three, .reviews, .insights-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-aside { position: static; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .hero-arrow { display: none; }
    .slide::after { background: linear-gradient(180deg, rgba(11,26,51,.7) 0%, rgba(11,26,51,.85) 100%); }
}
@media (max-width: 600px) {
    .hide-sm { display: none !important; }
    .section { padding: 50px 0; }
    .section-head { margin-bottom: 30px; }
    .topbar-inner { justify-content: space-between; padding: 7px 0; font-size: 13px; }
    .logo img { height: 46px; }
    .hero { height: auto; min-height: 520px; }
    /* Let the copy set the hero height so text never runs under the header or the dots */
    .hero-copy { position: relative; inset: auto; min-height: inherit; }
    .slide-copy { padding: 44px 0 72px; }
    .slide p, .hero-copy p { font-size: 15.5px; }
    .slide .btn-row .btn, .hero-copy .btn-row .btn { flex: 1 1 100%; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 18px 4px; }
    .trust-item:last-child { border-bottom: 0; }
    .check-list, .check-list.single, .courts-list { grid-template-columns: 1fr; }
    .practice-grid, .practice-grid.three, .reviews, .insights-grid, .steps, .steps.compact, .values-grid, .info-grid { grid-template-columns: 1fr; }
    .appt-form { padding: 22px; }
    .appt-form .row { grid-template-columns: 1fr; gap: 0; }
    .courts-box { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; padding: 44px 0 30px; gap: 30px; }
    .page-hero { padding: 46px 0 52px; }
    .map-wrap iframe { height: 320px; }
    .map-section { padding-bottom: 50px; }
    .enq-box { grid-template-columns: 1fr; max-width: 520px; }
    .enq-box > .modal-close { background: rgba(255,255,255,.12); color: #fff; }
    .enq-side { padding: 26px 24px 22px; }
    .enq-side .eyebrow { padding-right: 40px; }
    .enq-side h2 { font-size: 24px; }
    .enq-side > p { margin-bottom: 16px; }
    .enq-points { gap: 10px; font-size: 13.5px; }
    .enq-points a { white-space: nowrap; }
    .enq-points li:nth-child(n+3) { display: none; }
    .enq-form { padding: 22px 24px 24px; }
    .enq-row { grid-template-columns: 1fr; }
    .enq-submit { justify-self: stretch; }
    .dlg-head { padding: 18px 60px 16px 20px; }
    .dlg-ic { display: none; }
    .dlg-body { padding: 18px 20px; }
    .dlg-foot { flex-direction: column; align-items: stretch; padding: 14px 20px; text-align: center; }
    .float-contact { left: 10px; bottom: 12px; gap: 8px; }
    .float-btn { width: 44px; height: 44px; font-size: 22px; }
    .to-top { right: 10px; bottom: 12px; width: 40px; height: 40px; }
    .cta-band .btn-row .btn { flex: 1 1 100%; }
    body { padding-bottom: 0; }
}

/* Homepage: six-cell facts band and five-step process */
@media (max-width: 1080px) {
    .steps.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .stats.six { grid-template-columns: repeat(2, 1fr); }
    .stats.six .stat:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .stats.six .stat:nth-child(2n) { border-right: 0; }
    .stats.six .stat:nth-last-child(-n+2) { border-bottom: 0; }
    .steps.five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .steps.five { grid-template-columns: 1fr; }
    .stats.six .stat { padding: 22px 10px; }
    .stats.six .stat strong { font-size: 16px; overflow-wrap: anywhere; }
    .stats.six .stat span { font-size: 12px; }
}
