:root {
  /* Royal theme: chocolate brown + ivory + gold (variable names kept for compatibility) */
  --green-900: #3a2216;
  --green-800: #4a2d1e;
  --green-700: #6a412c;
  --gold: #c9a24a;
  --gold-light: #e6c97a;
  --cream: #f8f1e1;
  --ink: #2b1c13;
  --muted: #6b5a4e;
  --line: #e8dbc0;
  --radius: 14px;
  --header-h: 76px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 4px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fffcf4; line-height: 1.65; font-size: 16px; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2.1rem, 5.5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: .8em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .9em 1.6em; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font: inherit; font-weight: 600; transition: transform .2s, background .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: .55em 1.2em; }

/* Disclaimer */
.disclaimer { position: fixed; inset: 0; background: rgba(40,23,14,.86); backdrop-filter: blur(4px); z-index: 100; display: none; place-items: center; padding: 16px; }
.disclaimer.show { display: grid; }
.disclaimer__box { background: #fff; width: 100%; max-width: 560px; border-radius: var(--radius); padding: 2rem; text-align: center; border-top: 4px solid var(--gold); max-height: calc(100vh - 32px); overflow: auto; }
.disclaimer__box img { margin: 0 auto 1rem; }
.disclaimer__box p { color: var(--muted); font-size: .95rem; text-align: left; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.brand span { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--green-900); line-height: 1; white-space: nowrap; }
.brand small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { background: radial-gradient(ellipse at 85% 10%, rgba(201,162,74,.25), transparent 50%), linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; padding: clamp(3.5rem, 10vw, 7.5rem) 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 520px; height: 520px; border: 2px solid rgba(201,162,74,.35); border-radius: 50%; pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold-light); font-style: italic; }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 560px; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero__highlights li { border: 1px solid rgba(201,162,74,.4); border-radius: var(--radius); padding: 1.3rem; background: rgba(255,255,255,.04); color: rgba(255,255,255,.8); }
.hero__highlights strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--gold-light); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--dark { background: var(--green-900); color: rgba(255,255,255,.85); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--cream { background: var(--cream); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section--dark .section__head p:last-child { color: rgba(255,255,255,.7); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.about__card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 2rem; text-align: center; position: relative; }
.about__card::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--gold); border-radius: 10px; pointer-events: none; }
.about__card img { margin: 0 auto 1.5rem; mix-blend-mode: multiply; }
.about__card p { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--green-800); margin: 0; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.values > div { border-left: 3px solid var(--gold); padding-left: 1rem; }
.values h3 { font-size: 1.2rem; margin-bottom: .3em; }
.values p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service { background: var(--green-800); border: 1px solid rgba(201,162,74,.25); border-radius: var(--radius); padding: 2rem; transition: border-color .3s, transform .3s; }
.service:hover { border-color: var(--gold); transform: translateY(-4px); }
.service__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(201,162,74,.15); display: grid; place-items: center; margin-bottom: 1.2rem; }
.service__icon svg, .contact__list svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service > p { color: rgba(255,255,255,.7); }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.service li { padding-left: 1.4rem; position: relative; font-size: .95rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* Why */
/* Banks we serve */
.banks-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.banks-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.banks-tab { font: 600 .88rem var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.banks-tab span { display: inline-block; min-width: 1.6em; margin-left: .3em; padding: .05em .45em; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: .78rem; }
.banks-tab:hover { border-color: var(--gold); }
.banks-tab.is-active { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.banks-tab.is-active span { background: var(--gold); color: var(--green-900); }
.banks-tab:focus-visible, .banks-search input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.banks-search { position: relative; flex: 0 1 280px; }
.banks-search svg { position: absolute; left: .9rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.banks-search input { width: 100%; font: 500 .95rem var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem .65rem 2.6rem; }
.banks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.banks li { --c: var(--gold); display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; animation: bankIn .4s ease both; }
.banks li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.banks li:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 12px 28px -14px rgba(29,36,32,.35); }
.banks li[hidden] { display: none; }
.banks__badge { grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font: 800 .78rem/1 var(--sans); letter-spacing: .02em; box-shadow: inset 0 0 0 3px rgba(255,255,255,.25), 0 4px 10px -4px var(--c); }
.banks__name { font-weight: 700; font-size: .97rem; color: var(--ink); line-height: 1.3; align-self: end; }
.banks__type { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); align-self: start; margin-top: .15rem; }
.banks-empty { text-align: center; color: var(--muted); margin-top: 1.5rem; }
.banks-empty a { color: var(--gold); font-weight: 700; }
@keyframes bankIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .banks-tools { flex-direction: column; align-items: stretch; }
  .banks-tools > * { width: 100%; min-width: 0; max-width: 100%; }
  .banks-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
  .banks-tabs::-webkit-scrollbar { display: none; }
  .banks-tab { white-space: nowrap; }
  .banks-search { flex-basis: auto; }
  .banks { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .banks li { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; text-align: center; padding: 1rem .7rem; row-gap: .5rem; }
  .banks li::after { width: auto; height: 4px; right: 0; bottom: auto; }
  .banks__badge { grid-row: auto; width: 46px; height: 46px; font-size: .72rem; }
  .banks__name { font-size: .88rem; align-self: auto; }
  .banks__type { font-size: .66rem; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .banks li { animation: none; transition: none; } }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why__item { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s; }
.why__item:hover { box-shadow: 0 12px 30px rgba(12,35,28,.08); }
.why__item span { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.why__item p { color: var(--muted); margin: 0; }

/* Process */
.process { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; position: relative; border: 1px solid var(--line); }
.process li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--green-900); color: var(--gold-light); display: grid; place-items: center; font-weight: 700; margin-bottom: 1rem; }
.process p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Founder */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: center; max-width: 960px; }
.founder__badge { width: 220px; height: 220px; border-radius: 50%; background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: var(--gold-light); font-family: var(--serif); font-size: 4rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--cream), 0 0 0 10px var(--gold); }
.quals { font-size: .55em; color: var(--gold); font-weight: 600; white-space: nowrap; }
.founder__role { color: var(--gold); font-weight: 600; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; padding: 0 1.5rem; }
.faq summary { cursor: pointer; padding: 1.2rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list svg { flex: none; margin-top: 3px; }
.contact__list a { color: var(--gold-light); text-decoration: none; word-break: break-word; }
.contact__list a:hover { text-decoration: underline; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; align-self: start; }
.form h3 { color: var(--green-900) !important; }
.form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; width: 100%; min-height: 46px; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }
/* Bank auction card spans the full row; its list in two columns */
.service--wide { grid-column: 1 / -1; }
.service--wide ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
@media (max-width: 640px) { .service--wide ul { grid-template-columns: 1fr; } }

/* Our offices */
.offices { margin-top: 3.5rem; }
.offices__title { font-size: 1.8rem; margin-bottom: 1.25rem; }
.offices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.office { background: var(--green-800); border: 1px solid rgba(201,162,74,.25); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.office:hover { border-color: var(--gold); transform: translateY(-4px); }
.office__tag { align-self: flex-start; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--green-900); background: var(--gold); border-radius: 999px; padding: .3em .8em; margin-bottom: .9rem; }
.office h4 { font-family: var(--serif); font-size: 1.6rem; color: #fff; margin: 0 0 .5rem; }
.office p { color: rgba(255,255,255,.75); font-size: .93rem; margin: 0 0 .6rem; }
.office__meta { color: var(--gold-light) !important; font-weight: 600; }
.office__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .6rem; }
@media (max-width: 960px) { .offices__grid { grid-template-columns: 1fr; } }

.map { margin-top: 3rem; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); display: block; }

/* Footer */
.footer { background: #26160d; color: rgba(255,255,255,.6); padding: 2.5rem 0; text-align: center; font-size: .9rem; }
.footer__inner { display: grid; justify-items: center; gap: .5rem; }
.footer__inner p { margin: 0; }
.brand--footer span { color: #fff; }
.brand--footer img { border-radius: 8px; }
.footer__small { font-size: .78rem; opacity: .7; }

/* WhatsApp button */
.wa { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 40; }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ================= LAW ILLUSTRATIONS & ANIMATIONS ================= */

/* Hero: scales of justice watermark, gently swaying */
.hero__art { position: absolute; right: -30px; top: 50%; width: 480px; height: 480px; margin-top: -240px; color: var(--gold); opacity: .16; pointer-events: none; z-index: 0; }
.hero__beam { transform-box: view-box; transform-origin: 200px 92px; animation: beamSway 6s ease-in-out infinite; }
.hero__pan { transform-box: view-box; animation: panSway 6s ease-in-out infinite; }
.hero__pan--l { transform-origin: 70px 92px; }
.hero__pan--r { transform-origin: 330px 92px; }
@keyframes beamSway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes panSway  { 0%, 100% { transform: rotate(4deg); }  50% { transform: rotate(-4deg); } }

/* Hero: text and cards arrive one after another */
.hero__text > * { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__text > *:nth-child(1) { animation-delay: .1s; }
.hero__text > *:nth-child(2) { animation-delay: .25s; }
.hero__text > *:nth-child(3) { animation-delay: .4s; }
.hero__text > *:nth-child(4) { animation-delay: .55s; }
.hero__highlights li { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__highlights li:nth-child(1) { animation-delay: .6s; }
.hero__highlights li:nth-child(2) { animation-delay: .72s; }
.hero__highlights li:nth-child(3) { animation-delay: .84s; }
.hero__highlights li:nth-child(4) { animation-delay: .96s; }
.hero__highlights li { transition: transform .3s, border-color .3s, background .3s; }
.hero__highlights li:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(255,255,255,.08); }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Gold shimmer on the italic headline words */
.hero h1 em { background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold-light) 40%, #fff6d6 50%, var(--gold-light) 60%, var(--gold-light) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* Gold buttons: light sweep on hover */
.btn { position: relative; overflow: hidden; }
.btn--gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn--gold:hover::after { left: 130%; }

/* About: courthouse whose pillars rise when scrolled into view */
.court { display: block; width: 100%; max-width: 230px; height: auto; margin: 0 auto 1.6rem; }
.court__roof { fill: var(--green-900); stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; }
.court__seal { fill: var(--gold); }
.court__beam, .court__step { fill: var(--green-700); }
.court__col { fill: var(--green-900); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in .court__col { transform: scaleY(1); }
.reveal.in .court__col:nth-of-type(2) { transition-delay: .1s; }
.reveal.in .court__col:nth-of-type(3) { transition-delay: .2s; }
.reveal.in .court__col:nth-of-type(4) { transition-delay: .3s; }
.reveal.in .court__col:nth-of-type(5) { transition-delay: .4s; }
.reveal.in .court__col:nth-of-type(6) { transition-delay: .5s; }
.court__seal { animation: sealGlow 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sealGlow { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

/* Quote band with a striking gavel */
.quote-band { background: radial-gradient(ellipse at 20% 50%, rgba(201,162,74,.2), transparent 55%), linear-gradient(135deg, var(--green-900), var(--green-700)); padding: clamp(2.5rem, 6vw, 4rem) 0; color: #fff; overflow: hidden; }
.quote-band__inner { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); }
.gavel { width: 170px; height: auto; flex-shrink: 0; overflow: visible; }
.gavel__block, .gavel__base { fill: var(--gold); }
.gavel__base { opacity: .7; }
.gavel__handle { stroke: var(--gold-light); stroke-width: 10; stroke-linecap: round; fill: none; }
.gavel__head { fill: var(--gold-light); }
.gavel__arm { transform-box: view-box; transform-origin: 24px 146px; animation: gavelStrike 3.2s ease-in-out infinite; }
.gavel__spark { stroke: var(--gold-light); stroke-width: 4; stroke-linecap: round; fill: none; opacity: 0; animation: gavelSpark 3.2s ease-out infinite; }
@keyframes gavelStrike { 0%, 50% { transform: rotate(-16deg); } 64% { transform: rotate(20deg); } 70% { transform: rotate(15deg); } 76% { transform: rotate(20deg); } 100% { transform: rotate(-16deg); } }
@keyframes gavelSpark { 0%, 62% { opacity: 0; } 66% { opacity: 1; } 82%, 100% { opacity: 0; } }
.quote-band blockquote { margin: 0; text-align: left; }
.quote-band blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 .4rem; color: var(--gold-light); }
.quote-band cite { font-style: normal; text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.8); }

/* Cards in grids appear one after another */
.services > .reveal:nth-child(2), .why > .reveal:nth-child(2), .process > .reveal:nth-child(2), .offices__grid > .reveal:nth-child(2) { transition-delay: .12s; }
.services > .reveal:nth-child(3), .why > .reveal:nth-child(3), .process > .reveal:nth-child(3), .offices__grid > .reveal:nth-child(3) { transition-delay: .24s; }
.services > .reveal:nth-child(4), .why > .reveal:nth-child(4), .process > .reveal:nth-child(4) { transition-delay: .36s; }
.services > .reveal:nth-child(5), .why > .reveal:nth-child(5) { transition-delay: .48s; }
.why > .reveal:nth-child(6) { transition-delay: .6s; }
.service__icon { transition: transform .4s, background .4s; }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.08); background: rgba(201,162,74,.28); }
.why__item { transition: box-shadow .3s, transform .3s, border-color .3s; }
.why__item:hover { transform: translateY(-4px); border-color: var(--gold); }

@media (max-width: 640px) {
  .hero__art { width: 280px; height: 280px; right: -70px; top: 10px; margin-top: 0; opacity: .12; }
  .quote-band__inner { flex-direction: column; text-align: center; gap: 1rem; }
  .quote-band blockquote { text-align: center; }
  .gavel { width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__beam, .hero__pan, .hero__text > *, .hero__highlights li, .hero h1 em, .court__seal, .gavel__arm, .gavel__spark { animation: none; }
  .court__col { transform: none; transition: none; }
  .btn--gold::after { display: none; }
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {
  .nav { gap: 1.3rem; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .about { gap: 2.5rem; }
  .about__media { width: 100%; max-width: 420px; margin: 0 auto; }
}

/* Mobile menu */
@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .header { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1.25rem; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(12,35,28,.1); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 1rem; min-height: 48px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Phones */
@media (max-width: 640px) {
  h3 { font-size: 1.25rem; }
  .section__head { margin-bottom: 2rem; }

  .brand img { width: 42px; height: 42px; }
  .brand span { font-size: 1.2rem; }
  .brand small { font-size: .56rem; letter-spacing: .2em; }

  .disclaimer__box { padding: 1.4rem; }
  .disclaimer__box img { width: 56px; height: 56px; }
  .disclaimer__box p { font-size: .9rem; }
  .disclaimer__box .btn { width: 100%; }

  .hero h1 br { display: none; }
  .hero h1 em { display: block; }
  .lead { font-size: 1rem; }
  .hero__cta { flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
  .hero__cta .btn { width: 100%; }
  .hero__highlights { gap: .7rem; }
  .hero__highlights li { padding: .9rem; font-size: .88rem; }
  .hero__highlights strong { font-size: 1.15rem; }
  .hero::after { width: 300px; height: 300px; right: -140px; bottom: -140px; }

  .about__card { padding: 2rem 1.5rem; }
  .about__card img { width: 110px; height: 110px; }
  .about__card p { font-size: 1.25rem; }
  .values { grid-template-columns: 1fr; gap: 1rem; }

  .services { grid-template-columns: 1fr; gap: 1rem; }
  .service { padding: 1.5rem; }
  .service:hover { transform: none; }
  .service__icon { width: 48px; height: 48px; margin-bottom: 1rem; }

  /* Why: number on the left, text on the right */
  .why { grid-template-columns: 1fr; gap: .8rem; }
  .why__item { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .9rem; padding: 1.2rem; }
  .why__item span { grid-row: span 2; font-size: 1.8rem; line-height: 1; }
  .why__item h3 { margin-bottom: .2em; }

  /* Process: vertical timeline */
  .process { grid-template-columns: 1fr; gap: 0; position: relative; }
  .process::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--gold); opacity: .5; }
  .process li { background: none; border: 0; padding: .45rem 0 1.6rem 62px; }
  .process li:last-child { padding-bottom: 0; }
  .process li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .process h3 { margin-bottom: .2em; }

  .founder { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .founder__badge { width: 140px; height: 140px; font-size: 2.6rem; margin: 0 auto; }
  .founder .btn { width: 100%; }

  .faq details { padding: 0 1rem; }
  .faq summary { font-size: .97rem; min-height: 56px; }

  .contact { gap: 2rem; }
  .contact__list { margin-top: 1.5rem; gap: 1.2rem; }
  .form { padding: 1.5rem; }
  .form .btn { width: 100%; }
  .map { margin-top: 2rem; }
  .map iframe { height: 240px; }

  .wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (max-width: 360px) {
  .brand small { display: none; }
  .hero__highlights { grid-template-columns: 1fr; }
}

/* ================= MULTI-PAGE SITE (PHP version) ================= */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.section--tight { padding-top: clamp(2rem, 5vw, 3rem); }
.center-cta { text-align: center; margin: 2.5rem 0 0; }
.btn--dark { background: var(--green-900); color: #fff; }
.btn--dark:hover { background: var(--green-700); }
.btn--line { border-color: var(--line); color: var(--green-900); background: #fff; }
.btn--line:hover { border-color: var(--gold); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1ebe5b; }
.link-gold { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.link-gold:hover { text-decoration: underline; }

/* Nav: current page + services dropdown */
.nav a.is-current, .nav__drop.is-current > .nav__droplink { color: var(--gold); }
.nav__drop { position: relative; }
.nav__droplink::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.nav__menu { position: absolute; top: 100%; left: -1rem; min-width: 290px; padding: .5rem; margin-top: .6rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(40,23,14,.35); display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__menu a { padding: .6rem .8rem; border-radius: 6px; font-size: .93rem; }
.nav__menu a:hover { background: var(--cream); color: var(--green-900) !important; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 880px) {
  .nav__drop { display: grid; }
  .nav__droplink::after { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; margin: 0; padding: 0 0 0 1rem; border: 0; box-shadow: none; border-radius: 0; background: none; }
  .nav__menu::before { display: none; }
  .nav__menu a { font-size: .97rem !important; padding: .7rem .25rem !important; color: var(--muted); }
}

/* Service cards on the home page link to their own pages */
.service { position: relative; }
.service__link { text-decoration: none; color: inherit; }
.service__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service__link:focus-visible { outline: none; }
.service__link:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 3px; }
.service__more { display: inline-block; margin-top: 1.2rem; color: var(--gold-light); font-weight: 700; font-size: .92rem; transition: transform .3s; }
.service:hover .service__more { transform: translateX(4px); }

/* Inner page banner + breadcrumbs */
.page-hero { background: radial-gradient(ellipse at 85% 0%, rgba(201,162,74,.22), transparent 55%), linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 860px; }
.page-hero .lead { margin: 0; max-width: 720px; }
.page-hero--slim h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1.2rem; }
.crumbs a { color: var(--gold-light); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: rgba(255,255,255,.85); overflow-wrap: anywhere; }

/* Rich text */
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #4a3a2f; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.ticks--light li { color: rgba(255,255,255,.85); }

/* Service page */
.svc { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.svc__intro { font-size: 1.15rem; color: var(--ink) !important; border-left: 3px solid var(--gold); padding-left: 1.1rem; margin-bottom: 2rem; }
.svc__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
.svc__box { background: var(--green-900); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .8rem; }
.svc__box h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.svc__box .ticks { margin: 0 0 .4rem; }
.svc__box .ticks li { font-size: .93rem; }
.svc__box .btn { width: 100%; }
.svc__box--plain { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.svc__box--plain h2 { color: var(--green-900); font-size: 1.3rem; }
.svc__others { list-style: none; margin: 0; padding: 0; display: grid; }
.svc__others a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; }
.svc__others li:last-child a { border-bottom: 0; }
.svc__others a:hover { color: var(--gold); }

/* Auction property cards */
.props { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.prop { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s, box-shadow .3s, border-color .3s; }
.prop:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 34px -18px rgba(40,23,14,.4); }
.prop__img { position: relative; aspect-ratio: 3 / 2; background: var(--cream); }
.prop__img img { width: 100%; height: 100%; object-fit: cover; }
.prop__noimg { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--cream), #efe3c8); }
.prop__noimg svg { width: 64px; height: 64px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.prop__status { position: absolute; left: 12px; top: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; background: var(--gold); color: var(--green-900); }
.prop__status--closed { background: #6b5a4e; color: #fff; }
.prop__status--sold { background: #2e7d32; color: #fff; }
.prop__status--cancelled { background: #b3261e; color: #fff; }
.prop__status--inline { position: static; display: inline-block; margin-bottom: .9rem; }
.prop__body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.prop__type { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0 0 .4rem; }
.prop__body h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.prop__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0 0 .9rem; }
.prop__facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.prop__facts dd { margin: 0; font-weight: 700; color: var(--green-900); }
.prop__bank { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); font-weight: 600; }

/* Listing filters */
.filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto auto; gap: .7rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.filters select, .filters input { font: 500 .95rem var(--sans); font-size: 16px; width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); color: var(--ink); }
.filters__search { position: relative; }
.filters__search svg { position: absolute; left: .8rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.filters__search input { padding-left: 2.4rem; }
.filters__clear { color: var(--muted); font-weight: 600; font-size: .9rem; }
.results-count { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.empty-state { text-align: center; background: var(--cream); border-radius: var(--radius); padding: 3rem 1.5rem; }
.empty-state p { color: var(--muted); max-width: 520px; margin-inline: auto; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.pager a { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; background: #fff; }
.pager a.is-current { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.note-box { margin-top: 2rem; background: #fff8e6; border: 1px solid #ecd9a6; border-left: 4px solid var(--gold); border-radius: 8px; padding: 1rem 1.2rem; font-size: .93rem; color: #5b4630; }
.note-box a { display: inline-block; margin-top: .3rem; color: var(--green-900); font-weight: 700; }
@media (max-width: 1024px) {
  .filters { grid-template-columns: 1fr 1fr 1fr; }
  .filters__search { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .filters { grid-template-columns: 1fr 1fr; padding: .8rem; }
  .filters .btn { grid-column: 1 / -1; width: 100%; }
  .filters__clear { grid-column: 1 / -1; text-align: center; }
  .props { grid-template-columns: 1fr; }
}

/* Property detail */
.pd { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.pd__main { min-width: 0; }
.gallery__main { border-radius: var(--radius); overflow: hidden; background: var(--cream); aspect-ratio: 3 / 2; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: .6rem; overflow-x: auto; padding: .7rem 0 .2rem; scrollbar-width: thin; }
.gallery__thumbs button { flex: none; width: 96px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { opacity: 1; border-color: var(--gold); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__desc { margin-top: 2rem; }
.pd__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
.pd__price { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .7rem; }
.pd__price p { margin: 0; }
.pd__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-light); font-weight: 700; }
.pd__amount { font-family: var(--serif); font-size: 2.3rem; font-weight: 700; line-height: 1.1; }
.pd__short { color: rgba(255,255,255,.65); font-size: .9rem; }
.pd__date { display: flex; align-items: center; gap: .5rem; color: var(--gold-light); font-weight: 600; padding: .4rem 0 .3rem; }
.pd__date svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.pd__price .btn { width: 100%; }
.pd__facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem 1.2rem; }
.pd__facts div { display: grid; grid-template-columns: 44% 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.pd__facts div:last-child { border-bottom: 0; }
.pd__facts dt { color: var(--muted); font-size: .88rem; }
.pd__facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .svc, .pd { grid-template-columns: 1fr; gap: 2rem; }
  .svc__side, .pd__side { position: static; }
}

/* Enquiry form additions */
.form { position: relative; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.form__ok { background: #edf7ee; color: #2e7d32; border: 1px solid #b7dcb9; border-radius: 8px; padding: .8rem 1rem; margin: 0; font-weight: 600; }
.form__err { background: #fdecea; color: #b3261e; border: 1px solid #f2b8b5; border-radius: 8px; padding: .8rem 1rem; margin: 0; font-weight: 600; }
.form__ok[hidden], .form__err[hidden] { display: none; }
.form__about { margin: 0; font-size: .9rem; color: var(--muted); }
.form__about strong { color: var(--green-900); }
.form button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 640px) { .form__actions .btn { width: 100%; } }

/* Footer links */
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin: .8rem 0; }
.footer__links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .88rem; }
.footer__links a:hover { color: var(--gold-light); }
