@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,650&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --bg-alt: #f8f6f1;
  --bg-raised: #ffffff;
  --cream: #201c14;
  --muted: #746b5c;
  --line: rgba(32,28,20,0.10);
  --accent: #c79a3f;
  --accent-soft: rgba(199,154,63,0.14);

  /* golden 3D button palette */
  --gold-light: #f4d989;
  --gold-mid: #d4a942;
  --gold-dark: #a1751c;
  --gold-text: #4a3308;

  /* brand red (used for gradients, replacing the old dark/black panels) */
  --red-light: #e6564f;
  --red-mid: #c8161c;
  --red-dark: #7a0e11;
}

* { box-sizing: border-box; }
html { font-size: 15px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { color: var(--cream); text-decoration: none; transition: color 0.35s ease; }
a:hover { color: var(--accent); }

p { line-height: 1.7; }

/* ---------- Navbar ---------- */
.navbar {
  background: #0c0c0c !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.navbar-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #f5f5f5 !important;
}
.navbar-brand-logo { padding: 0; display: flex; align-items: center; }
.navbar-brand-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}
@media (max-width: 576px) {
  .navbar-brand-logo img { height: 48px; }
}
.nav-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72) !important;
  margin: 0 0.6rem;
}
.nav-link:hover { color: var(--red-light) !important; }

/* ---------- Golden 3D buttons ---------- */
.btn-primary,
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-mid) 48%, var(--gold-dark) 100%);
  border: 1px solid #8a611a;
  color: var(--gold-text);
  font-size: 0.85rem;
  padding: 0.7rem 1.7rem;
  border-radius: 4px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -6px 10px rgba(93,63,10,0.25),
    0 3px 0 #8a611a,
    0 8px 16px rgba(161,117,28,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
}
.btn-primary:hover, .btn-gold:hover {
  background: linear-gradient(180deg, #f8e2a3 0%, #dfb654 48%, #ac7f22 100%);
  color: var(--gold-text);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -6px 10px rgba(93,63,10,0.22),
    0 5px 0 #8a611a,
    0 12px 20px rgba(161,117,28,0.4);
}
.btn-primary:active, .btn-gold:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -3px 6px rgba(93,63,10,0.3),
    0 1px 0 #8a611a,
    0 3px 6px rgba(161,117,28,0.35);
}

.btn-outline-primary, .btn-outline-light {
  border-color: var(--gold-dark);
  color: var(--gold-text);
  background: var(--accent-soft);
  font-size: 0.85rem;
  border-radius: 4px;
  font-weight: 500;
}
.btn-outline-primary:hover, .btn-outline-light:hover {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-mid) 100%);
  border-color: var(--gold-dark);
  color: var(--gold-text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 5rem;
  overflow: hidden;
  background: #0c0c0c;
}
.hero-inner { position: relative; z-index: 2; }

/* ---------- Hero background slideshow (5 slides x 6s = 30s loop) ---------- */
.hero-slideshow {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slideshow .slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 40s infinite both;
}
.hero-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow .slide:nth-child(2) { animation-delay: 8s; }
.hero-slideshow .slide:nth-child(3) { animation-delay: 16s; }
.hero-slideshow .slide:nth-child(4) { animation-delay: 24s; }
.hero-slideshow .slide:nth-child(5) { animation-delay: 32s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6,6,6,0.72) 0%, rgba(6,6,6,0.45) 45%, rgba(122,14,17,0.6) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .slide { animation: none !important; opacity: 0 !important; }
  .hero-slideshow .slide:first-child { opacity: 1 !important; }
}

/* ---------- Hero text ---------- */
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
  max-width: 760px;
  perspective: 800px;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(38px) rotateX(35deg);
  animation: wordIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}
.hero p.lead {
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  font-size: 1.05rem;
  margin: 1.3rem 0 2rem;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 1.5s;
}
.hero .cta-row {
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 1.8s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .word, .hero p.lead, .hero .cta-row { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Quick access grid (DC.gov.ae-style service tiles) ---------- */
.quick-grid-section { padding: 3.5rem 0 1rem; background: var(--bg); }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}
.quick-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  color: var(--cream);
  box-shadow: 0 8px 22px rgba(32,28,20,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: block;
}
.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(178,22,26,0.16);
  border-color: var(--red-mid);
  color: var(--cream);
}
.quick-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red-light), var(--red-mid));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.quick-card h3 { font-family: 'Fraunces', serif; font-size: 1.02rem; margin-bottom: 0.35rem; }
.quick-card p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Sections ---------- */
section.block { padding: 5.5rem 0; border-bottom: 1px solid var(--line); }
section.block:last-of-type { border-bottom: none; }
.block-alt { background: var(--bg-alt); }

.section-heading {
  font-size: 2rem;
  max-width: 620px;
  margin-bottom: 1rem;
}
.section-sub { color: var(--muted); max-width: 560px; font-size: 0.98rem; }

/* ---------- Process steps ---------- */
.process-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step .num {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--accent);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.process-step p { color: var(--muted); margin: 0; max-width: 520px; }

/* ---------- Practice areas: editorial list, not cards ---------- */
.practice-list a.practice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  color: var(--cream);
  transition: padding-left 0.45s ease, color 0.45s ease;
}
.practice-list a.practice-row:last-child { border-bottom: 1px solid var(--line); }
.practice-list a.practice-row:hover {
  padding-left: 0.8rem;
  color: var(--accent);
  background: var(--accent-soft);
}
.practice-row .name { font-family: 'Fraunces', serif; font-size: 1.25rem; }
.practice-row .desc { color: var(--muted); font-size: 0.88rem; max-width: 380px; text-align: right; }
.practice-row .arrow { margin-left: 1.2rem; opacity: 0.6; }

/* ---------- Team ---------- */
.avatar-circle {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--cream);
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card-title { font-family: 'Fraunces', serif; font-weight: 600; }
.card-text, .text-muted { color: var(--muted) !important; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  text-align: left;
  background: linear-gradient(120deg, #ffffff 0%, #fbe4e3 30%, var(--red-mid) 68%, var(--red-dark) 100%);
}
.cta-banner h2 { font-size: 2.2rem; max-width: 560px; color: var(--cream); }
.cta-banner p, .cta-banner .lead { color: rgba(32,28,20,0.75); }
.cta-banner .btn-primary, .cta-banner .btn-gold {
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 60%, #e2e2e2 100%);
  color: var(--red-dark);
  border-color: #ffffff;
  text-shadow: none;
}
.cta-banner .btn-primary:hover, .cta-banner .btn-gold:hover {
  background: #ffffff;
  color: var(--red-mid);
}

/* ---------- Forms ---------- */
.form-control, .form-select {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--cream);
}
.form-control:focus, .form-select:focus {
  background: var(--bg-alt);
  color: var(--cream);
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem var(--accent-soft);
}
.form-label { color: var(--muted); font-size: 0.88rem; }

.table { color: var(--cream); }
.table > :not(caption) > * > * { background: transparent; color: var(--cream); border-color: var(--line); }

.alert-success { background: var(--accent-soft); border-color: var(--accent); color: var(--cream); }

/* ---------- Footer ---------- */
.footer {
  background: #0c0c0c;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  padding: 3.5rem 0 1.8rem;
}
.footer h6 { font-size: 0.82rem; color: #f5f5f5; margin-bottom: 0.9rem; }
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--red-light); }

@media (max-width: 576px) {
  .practice-row .desc { display: none; }
  .process-step { grid-template-columns: 50px 1fr; }
}


/* ================= Additions (new classes only; nothing above was changed) ================= */

/* header icons */
.nav-link i { color: var(--accent); margin-right: 0.4rem; }
.nav-link:hover i { color: var(--red-light); }

/* footer map */
.footer-map { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: #1a1a1a; max-width: 420px; }
.footer-map iframe { display: block; width: 100%; height: 190px; border: 0; }
.footer-map-link { display: inline-block; margin-top: 0.5rem; font-size: 0.82rem; }

/* hero portrait: floats over the slideshow, does not affect the hero text layout */
.hero-portrait {
  position: absolute;
  z-index: 2;
  top: 1.2rem;
  right: 1.2rem;
  width: 104px;
  margin: 0;
  opacity: 0;
  animation: fadeUp 1.3s ease forwards;
  animation-delay: 2.1s;
}
.hero-portrait img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border: 2px solid var(--gold-mid); border-radius: 6px; background: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}
.hero-portrait figcaption {
  margin-top: 0.4rem; padding: 0.35rem 0.4rem; text-align: center;
  font-size: 0.62rem; line-height: 1.3; color: #fff;
  background: rgba(0,0,0,0.55); border-bottom: 2px solid var(--gold-mid); border-radius: 4px;
}
.hero-portrait figcaption strong { display: block; font-size: 0.72rem; color: var(--gold-mid); letter-spacing: 0.02em; }
@media (min-width: 768px) { .hero-portrait figcaption { font-size: 0.7rem; } .hero-portrait figcaption strong { font-size: 0.82rem; } }
@media (min-width: 1200px) { .hero-portrait figcaption { font-size: 0.9rem; padding: 0.55rem 0.6rem; } .hero-portrait figcaption strong { font-size: 1.05rem; } }
@media (min-width: 768px) { .hero-portrait { width: 150px; top: 1.6rem; right: 2rem; } }
@media (min-width: 1200px) {
  .hero-portrait { width: 270px; top: auto; bottom: 4rem; right: max(1.5rem, calc((100% - 1140px) / 2 + 0.75rem)); }
  .hero-portrait img { border-width: 3px; }
}
@media (min-width: 1400px) { .hero-portrait { right: calc((100% - 1320px) / 2 + 0.75rem); } }
@media (prefers-reduced-motion: reduce) { .hero-portrait { animation: none !important; opacity: 1 !important; } }

/* gallery */
.gallery-grid { column-count: 3; column-gap: 1rem; }
@media (max-width: 991px) { .gallery-grid { column-count: 2; } }
@media (max-width: 575px) { .gallery-grid { column-count: 1; } }
.gallery-item { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--bg-alt); break-inside: avoid; cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; height: auto; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gallery-modal .modal-content { background: transparent; border: 0; }
.gallery-modal img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; display: block; border-radius: 6px; }
.gallery-modal .gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.55); color: #fff; font-size: 1.3rem; }
.gallery-modal .gallery-prev { left: 0.5rem; }
.gallery-modal .gallery-next { right: 0.5rem; }

/* ---------- Bold + larger header & footer menu text ---------- */
.navbar .nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0.3rem;
  letter-spacing: 0.01em;
}
.navbar .nav-link i { font-size: 1.15rem; vertical-align: -0.1em; }
.navbar .btn-gold { font-size: 1rem; font-weight: 700; padding: 0.55rem 1.1rem; }
@media (min-width: 1200px) {
  .navbar .navbar-nav { flex-wrap: wrap; align-items: center; }
}

.footer h6 { font-size: 1.3rem; font-weight: 700; color: #ffffff; margin-bottom: 1.1rem; }
.footer a { font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.footer a:hover { color: var(--red-light); }
.footer .footer-map-link { font-size: 1rem; }

/* footer social icons (WhatsApp, etc.) */
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.footer-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff !important;
  font-size: 1.25rem !important; transition: background 0.35s, transform 0.35s;
}
.footer-social-icon:hover { transform: translateY(-2px); }
.footer-social-icon.whatsapp:hover { background: #25D366; }

/* header portrait: small round photo beside the logo on every page */
.header-person { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.9rem; margin-right: auto; }
.header-person img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top center;
  border: 2px solid var(--gold-mid); background: #fff; flex-shrink: 0;
}
.header-person-text { color: rgba(255,255,255,0.85); font-size: 0.72rem; line-height: 1.25; white-space: nowrap; }
.header-person-text strong { display: block; color: var(--gold-mid); font-size: 0.9rem; }
@media (max-width: 576px) { .header-person img { width: 36px; height: 36px; } }
@media (min-width: 1200px) { .header-person { margin-right: 0.75rem; } }


/* ================= Gallery captions, footer blocks, booking page (added) ================= */
.gallery-item { position: relative; }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 0.8rem 0.6rem;
  font-size: 0.82rem; font-weight: 500; text-align: left; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 100%);
  opacity: 0; transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; }
.gallery-modal .gallery-modal-caption { margin: 0.6rem 0 0; text-align: center; color: #fff; font-size: 0.95rem; }

/* footer: services strip, government links, contact details */
.footer-services { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .footer-services-title { margin-bottom: 1.2rem; }
.footer-service { display: flex; gap: 0.8rem; height: 100%; padding: 1rem; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.footer-service > i { font-size: 1.6rem; color: var(--gold-mid); line-height: 1; }
.footer-service strong { display: block; color: #fff; font-size: 0.98rem; font-weight: 600; margin-bottom: 0.2rem; }
.footer-service span { display: block; font-size: 0.82rem; line-height: 1.45; color: rgba(255,255,255,0.65); }
.gov-links li + li { margin-top: 0.6rem; }
.footer .gov-links a {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.8rem;
  font-size: 1rem; font-weight: 600; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
}
.footer .gov-links a i { color: var(--gold-mid); font-size: 1.15rem; }
.footer .gov-links a:hover { background: rgba(200,22,28,0.25); border-color: var(--red-light); }
.footer .footer-main p a { font-size: 1rem; font-weight: 600; }
.footer-hours { color: rgba(255,255,255,0.75); }
.footer-main i.bi { color: var(--gold-mid); }
.footer-social-icon i { color: #fff !important; }
.footer-social-icon.instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.footer-social-icon.facebook:hover { background: #1877f2; }

/* booking page */
.booking-side { display: grid; gap: 1.2rem; }
.booking-people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.person-card { margin: 0; text-align: center; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.7rem 0.8rem; }
.person-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: 8px; border: 2px solid var(--gold-mid); background: #fff; }
.person-card figcaption { margin-top: 0.55rem; font-size: 0.8rem; line-height: 1.3; color: var(--muted); }
.person-card figcaption strong { display: block; color: var(--cream); font-size: 0.92rem; }
.info-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem 1.3rem; }
.info-card h2 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.info-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.9rem; }
.info-card li { margin-bottom: 0.35rem; }
.info-card .info-row { display: flex; gap: 0.6rem; margin-bottom: 0.5rem; font-size: 0.9rem; }
.info-card .info-row i { color: var(--accent); }

/* admin gallery */
.admin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.admin-gallery-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-raised); }
.admin-gallery-card img { display: block; width: 100%; height: 160px; object-fit: cover; background: #eee; }
.admin-gallery-card .body { padding: 0.7rem; }


/* cart count badge in the header */
.cart-badge { display: inline-block; min-width: 1.3rem; padding: 0 0.35rem; margin-left: 0.25rem; border-radius: 999px; background: var(--red-mid); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1.3rem; text-align: center; }

/* ================= Service catalog, cart, checkout ================= */
.catalog-crumbs { font-size: 0.9rem; margin-bottom: 1.2rem; color: var(--muted); }
.catalog-crumbs a { color: var(--gold-dark); font-weight: 600; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.category-card { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; transition: border-color .35s, transform .35s, box-shadow .35s; }
.category-card:hover { border-color: var(--gold-mid); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(32,28,20,0.08); }
.category-card small { display: block; font-weight: 400; color: var(--muted); }
.service-list { display: grid; gap: 0.8rem; }
.service-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.service-row h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; margin: 0 0 0.2rem; }
.service-row p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.service-price { font-size: 1.15rem; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.cart-summary { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem 1.4rem; }

/* booking form: plaintiff / defendant blocks */
.party-box { border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem 0.4rem; margin-bottom: 1.2rem; background: #fff; }
.party-box legend { float: none; width: auto; padding: 0 0.5rem; margin-bottom: 0.4rem; font-size: 1rem; font-weight: 700; color: var(--gold-dark); }
.party-box legend small { font-weight: 400; color: var(--muted); }

/* admin catalog */
.catalog-node { border-left: 2px solid var(--line); margin: 0.5rem 0 0.5rem 0.6rem; padding-left: 0.9rem; }


/* ===================================================================
   WINE THEME - deep burgundy, antique gold, ivory (elegant, premium look)
   These rules come last so they override the earlier colours.
   =================================================================== */
:root {
  --wine-950: #1d060e;
  --wine-900: #2c0b17;
  --wine-800: #430f23;
  --wine-700: #5d1630;
  --wine-600: #7b1f3f;
  --ivory: #f1f6ee;
  --gold-soft: #e8d4a0;
  --bg-alt: #f1f6ee;
  --accent: #c9a45c;
  --accent-soft: rgba(217,100,74,0.16);
  --red-light: #c05a7c;
  --red-mid: #7b1f3f;
  --red-dark: #430f23;
  --line: rgba(11,51,37,0.12);
}
body { background: #fbfdf9; }
h1, h2, h3, .serif { letter-spacing: -0.015em; }

/* header */
.navbar {
  background: linear-gradient(90deg, var(--wine-950) 0%, var(--wine-800) 100%) !important;
  border-bottom: 1px solid rgba(217,100,74,0.35) !important;
  box-shadow: 0 6px 24px rgba(7,36,26,0.35);
}
.nav-link:hover { color: var(--gold-soft) !important; }
.nav-link i { color: var(--accent); }
.nav-link:hover i { color: var(--gold-soft); }

/* buttons: soft pill, gold */
.btn-primary, .btn-gold {
  border-radius: 999px;
  padding: 0.72rem 1.9rem;
  border: 1px solid #b8923f;
  background: linear-gradient(180deg, #e9cd8a 0%, #c9a45c 100%);
  color: var(--wine-900);
  text-shadow: none;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(217,100,74,0.35);
}
.btn-primary:hover, .btn-gold:hover {
  background: linear-gradient(180deg, #f1d99a 0%, #d3ae66 100%);
  color: var(--wine-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217,100,74,0.45);
}
.btn-primary:active, .btn-gold:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(217,100,74,0.35); }
.btn-outline-primary, .btn-outline-light {
  border-radius: 999px;
  border-color: var(--accent);
  color: var(--wine-700);
  background: transparent;
}
.btn-outline-primary:hover, .btn-outline-light:hover {
  background: var(--wine-700);
  border-color: var(--wine-700);
  color: #fff;
}

/* hero */
.hero { background: var(--wine-950); }
.hero-overlay {
  background: linear-gradient(180deg, rgba(7,36,26,0.55) 0%, rgba(11,51,37,0.5) 40%, rgba(7,36,26,0.93) 100%);
}
.hero h1 { font-weight: 600; }
.hero p.lead { color: rgba(255,255,255,0.86); }

/* hero search bar ("Legal match") */
.match-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem;
  max-width: 760px; margin-top: 2.2rem; padding: 0.7rem 0.8rem 0.7rem 1.3rem;
  border-radius: 999px;
  background: rgba(241,246,238,0.12);
  border: 1px solid rgba(244,201,184,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0; animation: fadeUp 1.2s ease forwards; animation-delay: 2.1s;
}
.match-label { color: var(--gold-soft); font-size: 0.85rem; font-weight: 500; margin: 0; white-space: nowrap; }
.match-select { flex: 1 1 220px; border-radius: 999px; background: #fbfdf9; border: 0; padding: 0.65rem 1.1rem; color: var(--wine-900); }
.match-btn { white-space: nowrap; }
@media (max-width: 640px) {
  .match-bar { border-radius: 22px; padding: 1rem; }
  .match-btn, .match-select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .match-bar { animation: none !important; opacity: 1 !important; } }

/* stats strip */
.stats-strip { background: linear-gradient(90deg, var(--wine-900), var(--wine-700)); border-bottom: 3px solid var(--accent); padding: 1.6rem 0; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; text-align: center; }
.stats-row strong { display: block; font-family: 'Fraunces', serif; font-size: 2rem; line-height: 1.1; color: var(--gold-soft); }
.stats-row span { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

/* section headings: small gold rule */
.section-heading { position: relative; padding-bottom: 0.9rem; }
.section-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--gold-soft)); }
.block-alt { background: var(--ivory); }
.quick-grid-section { background: #fbfdf9; }

/* cards: larger radius, soft wine shadow */
.quick-card, .card, .category-card, .service-row, .info-card, .cart-summary, .party-box, .person-card, .footer-service {
  border-radius: 18px;
}
.quick-card { box-shadow: 0 10px 30px rgba(11,51,37,0.08); }
.quick-card:hover { box-shadow: 0 18px 38px rgba(11,51,37,0.18); border-color: var(--accent); }
.quick-icon { border-radius: 14px; background: linear-gradient(135deg, var(--wine-600), var(--wine-800)); color: var(--gold-soft); }
.card { border-color: var(--line); box-shadow: 0 8px 24px rgba(11,51,37,0.06); }
.category-card:hover { border-color: var(--accent); box-shadow: 0 10px 26px rgba(11,51,37,0.12); }
.service-price { color: var(--wine-600); }
.catalog-crumbs a { color: var(--wine-600); }
.cart-summary, .info-card { background: var(--ivory); }
.party-box legend { color: var(--wine-600); }
.avatar-circle { background: linear-gradient(135deg, var(--wine-600), var(--wine-800)); color: var(--gold-soft); }
.gallery-item { border-radius: 16px; overflow: hidden; }

/* process steps + banner */
.process-step .num { color: var(--accent); }
.cta-banner { background: linear-gradient(120deg, var(--wine-950) 0%, var(--wine-800) 55%, var(--wine-600) 100%); }
.cta-banner h2 { color: #fff; }
.cta-banner p, .cta-banner .lead { color: rgba(255,255,255,0.82); }
.cta-banner .btn-primary, .cta-banner .btn-gold {
  background: linear-gradient(180deg, #e9cd8a 0%, #c9a45c 100%);
  color: var(--wine-900);
  border-color: #b8923f;
}
.cta-banner .btn-primary:hover, .cta-banner .btn-gold:hover { color: var(--wine-900); background: linear-gradient(180deg, #f1d99a 0%, #d3ae66 100%); }

/* forms */
.form-control, .form-select { border-radius: 12px; background: #fbfdf9; }
.form-control:focus, .form-select:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 0.2rem var(--accent-soft); }

/* footer */
.footer { background: linear-gradient(180deg, var(--wine-900) 0%, var(--wine-950) 100%); border-top: 3px solid var(--accent); }
.footer h6, .footer .footer-services-title { color: var(--gold-soft); }
.footer a:hover { color: var(--gold-soft); }
.footer-service { background: rgba(255,255,255,0.05); border-color: rgba(244,201,184,0.18); }
.footer .gov-links a { border-radius: 999px; border-color: rgba(244,201,184,0.25); }
.footer .gov-links a:hover { background: rgba(217,100,74,0.18); border-color: var(--accent); }
.footer-social-icon:hover { background: var(--accent); }

/* ===== Red rounded buttons (replace the golden ones) ===== */
.btn-primary, .btn-gold {
  background: linear-gradient(180deg, #e0262d 0%, #c8161c 55%, #a10f15 100%);
  border: 1px solid #8f0d12;
  color: #ffffff;
  border-radius: 999px;
  text-shadow: none;
  box-shadow: 0 8px 20px rgba(200,22,28,0.35);
}
.btn-primary:hover, .btn-gold:hover, .btn-primary:focus, .btn-gold:focus {
  background: linear-gradient(180deg, #ea3a41 0%, #d3181f 55%, #b0121a 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200,22,28,0.45);
}
.btn-primary:active, .btn-gold:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(200,22,28,0.35); }
.btn-primary:disabled, .btn-primary.disabled { background: #b9868a; border-color: #b9868a; color: #fff; box-shadow: none; }

.btn-outline-primary, .btn-outline-light {
  border-radius: 999px;
  border-color: #c8161c;
  color: #a10f15;
  background: transparent;
}
.btn-outline-primary:hover, .btn-outline-light:hover {
  background: #c8161c;
  border-color: #c8161c;
  color: #ffffff;
}

/* banner sits on dark wine: keep the button light so it stands out */
.cta-banner .btn-primary, .cta-banner .btn-gold {
  background: #ffffff;
  border-color: #ffffff;
  color: #a10f15;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.cta-banner .btn-primary:hover, .cta-banner .btn-gold:hover { background: #fdecec; color: #c8161c; }

/* gold accent icons in footer / headers stay, only buttons changed */


/* ===== About Us + staff ===== */
.about-hero { padding: 5rem 0 4rem; background: linear-gradient(120deg, var(--wine-950) 0%, var(--wine-800) 60%, var(--wine-600) 100%); color: #fff; }
.about-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 860px; }
.about-hero .lead { color: rgba(255,255,255,0.85); max-width: 760px; margin-top: 1rem; }
.about-eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--gold-soft); margin-bottom: 0.8rem; }
.about-text { font-size: 1.05rem; line-height: 1.8; color: var(--muted); }
.about-image { width: 100%; border-radius: 20px; box-shadow: 0 18px 40px rgba(11,51,37,0.18); }
.about-card { height: 100%; padding: 1.6rem; border-radius: 18px; background: var(--ivory); border: 1px solid var(--line); }
.about-card i { font-size: 1.8rem; color: var(--red-mid); }
.about-card h3 { font-size: 1.25rem; margin: 0.6rem 0 0.4rem; }
.about-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.staff-card { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(11,51,37,0.08); transition: transform .4s, box-shadow .4s; }
.staff-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(11,51,37,0.16); }
.staff-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; background: #f1ece3; }
.staff-initial { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; font-family: 'Fraunces', serif; font-size: 4rem; color: var(--gold-soft); background: linear-gradient(135deg, var(--wine-600), var(--wine-900)); }
.staff-body { padding: 1.1rem 1.2rem 1.3rem; }
.staff-body h3 { font-size: 1.15rem; margin: 0 0 0.15rem; }
.staff-position { color: var(--red-mid); font-weight: 600; font-size: 0.9rem; margin: 0 0 0.6rem; }
.staff-bio { font-size: 0.9rem; line-height: 1.6; color: var(--muted); margin: 0 0 0.6rem; }
.staff-contact { display: flex; flex-direction: column; gap: 0.25rem; margin: 0; font-size: 0.85rem; }
.staff-contact a { color: var(--wine-700); }


/* practice areas list: sub-category links under each area */
.practice-item { border-top: 1px solid var(--line); }
.practice-item:last-child { border-bottom: 1px solid var(--line); }
.practice-list .practice-item a.practice-row { border-top: 0; border-bottom: 0; }
.practice-subcats { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 0 1.3rem; }
.subcat-chip { display: inline-block; padding: 0.3rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.85rem; font-weight: 600; color: var(--gold-dark); transition: border-color .35s ease, background .35s ease, transform .35s ease; }
.subcat-chip:hover { border-color: var(--gold-mid); background: var(--bg-alt); transform: translateY(-1px); }

/* "N in your cart - View cart & pay" bar on the services pages */
.cart-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.8rem 1.1rem; margin-bottom: 1.4rem; background: var(--bg-alt); border: 1px solid var(--gold-mid); border-radius: 10px; font-weight: 600; }


/* ===================================================================
   LEFT SIDEBAR NAVIGATION (replaces the old top header)
   =================================================================== */
:root {
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sidebar-w: 280px;
  --rx: 40px;
}
html[data-nav="back"] { --rx: -40px; }

.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  z-index: 1040;
  display: flex; flex-direction: column;
  padding: 1.4rem 1rem 1.2rem;
  background: linear-gradient(180deg, var(--wine-950) 0%, var(--wine-800) 100%);
  border-right: 1px solid rgba(217,100,74,0.35);
  box-shadow: 6px 0 30px rgba(7,36,26,0.35);
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(217,100,74,0.4) transparent;
}
.sidebar-brand { display: block; padding: 0 0.4rem 1rem; }
.sidebar-brand img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }

.sidebar-person {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 0.4rem; margin-bottom: 0.8rem;
  border-top: 1px solid rgba(217,100,74,0.25);
  border-bottom: 1px solid rgba(217,100,74,0.25);
}
.sidebar-person img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top center;
  border: 2px solid var(--gold-mid); background: #fff; flex-shrink: 0;
}
.sidebar-person-text { color: rgba(255,255,255,0.85); font-size: 0.78rem; line-height: 1.3; }
.sidebar-person-text strong { display: block; color: var(--gold-mid); font-size: 0.98rem; }

.sidebar-nav { flex: 1 1 auto; gap: 0.15rem; }
.sidebar .nav-link {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0; padding: 0.7rem 0.9rem 0.7rem 1rem;
  position: relative; width: 100%;
  font-size: 1.05rem; font-weight: 700; text-align: left;
  border-radius: 12px; border: 0; background: transparent;
  transition: padding-left 0.6s var(--ease-soft), background 0.6s var(--ease-soft), color 0.5s ease;
}
.sidebar .nav-link i { margin: 0; font-size: 1.2rem; transition: transform 0.6s var(--ease-soft), color 0.5s ease; }
.sidebar .nav-link::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px;
  background: var(--accent); transform: scaleY(0); transition: transform 0.6s var(--ease-soft);
}
.sidebar .nav-link:hover { padding-left: 1.35rem; background: rgba(217,100,74,0.14); }
.sidebar .nav-link:hover i { transform: scale(1.18) rotate(-6deg); }
.sidebar .nav-link.active { color: var(--gold-soft) !important; background: rgba(217,100,74,0.2); }
.sidebar .nav-link.active::before { transform: scaleY(1); }
.sidebar .nav-link.btn-link { text-decoration: none; }

.sidebar-actions { padding: 1rem 0.2rem 0.6rem; }
.sidebar-actions .btn-gold { font-size: 1rem; font-weight: 700; padding: 0.7rem 1rem; }
.sidebar-account { border-top: 1px solid rgba(217,100,74,0.25); padding-top: 0.6rem; }
.sidebar-account .nav-link { font-size: 0.98rem; }

/* sidebar intro (only the first page of a visit) */
@keyframes sbIn { from { opacity: 0; transform: translate3d(-40px,0,0); } to { opacity: 1; transform: none; } }
.sidebar.sb-intro .sidebar-brand,
.sidebar.sb-intro .sidebar-person,
.sidebar.sb-intro .nav-item,
.sidebar.sb-intro .sidebar-actions {
  animation: sbIn 1.1s var(--ease-soft) backwards;
  animation-delay: calc(var(--i, 0) * 110ms + 150ms);
}

/* mobile top bar */
.topbar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 1030;
  align-items: center; justify-content: space-between; padding: 0 1rem;
  background: linear-gradient(90deg, var(--wine-950) 0%, var(--wine-800) 100%);
  border-bottom: 1px solid rgba(217,100,74,0.35);
  box-shadow: 0 6px 24px rgba(7,36,26,0.35);
}
.topbar-brand img { height: 44px; width: auto; }
.sidebar-toggle {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(217,100,74,0.5);
  background: transparent; color: var(--gold-soft); font-size: 1.8rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.5s ease, transform 0.6s var(--ease-soft);
}
.sidebar-toggle:hover { background: rgba(217,100,74,0.18); }
body.sidebar-open .sidebar-toggle { transform: rotate(90deg); }
.sidebar-backdrop {
  display: none; position: fixed; inset: 0; z-index: 1035;
  background: rgba(4,24,17,0.55); opacity: 0; pointer-events: none;
  transition: opacity 0.8s var(--ease-soft);
}

@media (min-width: 992px) {
  .page-shell { margin-left: var(--sidebar-w); }
}
@media (max-width: 991.98px) {
  .topbar { display: flex; }
  .sidebar-backdrop { display: block; }
  .page-shell { padding-top: 64px; }
  .sidebar {
    width: min(310px, 86vw);
    transform: translate3d(-105%, 0, 0);
    transition: transform 0.9s var(--ease-soft);
  }
  body.sidebar-open .sidebar { transform: none; }
  body.sidebar-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  body.sidebar-open { overflow: hidden; }
}

/* ===================================================================
   PAGE TRANSITIONS - whole page slides in/out (forward / back)
   =================================================================== */
@keyframes pageInFwd  { from { opacity: 0; transform: translate3d(90px,0,0); }  to { opacity: 1; transform: none; } }
@keyframes pageInBack { from { opacity: 0; transform: translate3d(-90px,0,0); } to { opacity: 1; transform: none; } }
@keyframes pageOutFwd { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(-90px,0,0); } }

.page-shell { animation: pageInFwd 1.1s var(--ease-soft) backwards; }
html[data-nav="back"] .page-shell { animation-name: pageInBack; }
.page-shell.is-leaving {
  animation: pageOutFwd 0.7s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
  pointer-events: none;
}

/* ===================================================================
   SLOW, SMOOTH ENTRANCE ANIMATIONS (auto-applied to every page by site.js)
   =================================================================== */
.reveal, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0;
  transition: opacity 1.2s var(--ease-soft), transform 1.2s var(--ease-soft);
  will-change: opacity, transform;
}
.reveal       { transform: translate3d(calc(var(--rx) * 0.6), 34px, 0); }
.reveal-left  { transform: translate3d(-56px, 0, 0); }
.reveal-right { transform: translate3d(56px, 0, 0); }
.reveal-zoom  { transform: translate3d(0, 28px, 0) scale(0.94); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-zoom.is-visible {
  opacity: 1; transform: none;
}

/* slower hero + gentle zoom on slideshow */
.hero h1 .word { animation-duration: 1.8s; }
.hero-slideshow .slide { transform: scale(1.04); }

/* smoother hover movement everywhere */
.quick-card, .card, .category-card, .service-row, .person-card, .info-card, .gallery-item {
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft), border-color 0.5s ease;
}
.quick-card:hover, .category-card:hover, .person-card:hover, .info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(11,51,37,0.16);
}
.btn { transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft), background 0.5s ease, color 0.4s ease; }

@media (prefers-reduced-motion: reduce) {
  .page-shell, .page-shell.is-leaving { animation: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sidebar.sb-intro * { animation: none !important; }
}


/* ===================================================================
   NEW COLOUR THEME - deep emerald green with brick-red / terracotta accents
   (placed last so it overrides the earlier wine/gold colours)
   =================================================================== */
:root {
  --wine-950: #06231a;
  --wine-900: #0a3125;
  --wine-800: #0e4331;
  --wine-700: #14573f;
  --wine-600: #1b6e50;
  --ivory: #f1f6ee;
  --bg-alt: #f1f6ee;
  --cream: #1b2620;
  --muted: #5d6b62;

  --accent: #d9644a;
  --accent-soft: rgba(217,100,74,0.15);
  --gold-light: #f2a58f;
  --gold-mid: #d9644a;
  --gold-dark: #a8402b;
  --gold-text: #ffffff;
  --gold-soft: #f6cdbd;

  --red-light: #58b88c;
  --red-mid: #14573f;
  --red-dark: #0a3125;
  --line: rgba(11,51,37,0.13);
}
body { background: #fbfdf9; color: var(--cream); }
a:hover { color: var(--accent); }

/* buttons: brick-red / terracotta with white text */
.btn-primary, .btn-gold {
  background: linear-gradient(180deg, #e8785d 0%, #c4513a 100%);
  border: 1px solid #a8402b;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
  box-shadow: 0 8px 20px rgba(196,81,58,0.32);
}
.btn-primary:hover, .btn-gold:hover {
  background: linear-gradient(180deg, #ef8a70 0%, #cf5d45 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(196,81,58,0.42);
}
.btn-primary:active, .btn-gold:active { box-shadow: 0 4px 10px rgba(196,81,58,0.35); }
.btn-outline-primary, .btn-outline-light { border-color: var(--accent); color: var(--wine-700); }
.btn-outline-primary:hover, .btn-outline-light:hover { background: var(--wine-700); border-color: var(--wine-700); color: #fff; }
.cta-banner .btn-primary, .cta-banner .btn-gold { background: #fff; color: var(--wine-800); border-color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.18); text-shadow: none; }
.cta-banner .btn-primary:hover, .cta-banner .btn-gold:hover { background: #fff; color: #c4513a; }
.cta-banner { background: linear-gradient(120deg, #ffffff 0%, #e3f1e8 30%, var(--wine-700) 68%, var(--wine-900) 100%); }
.cart-badge { background: #c4513a; }
.stats-strip { border-bottom-color: var(--accent); }
.quick-card:hover { border-color: var(--accent); }
.section-heading::after { background: linear-gradient(90deg, #d9644a, #f2a58f); }
.catalog-crumbs a, .service-price, .party-box legend { color: #b04a33; }
.footer, .navbar { background: var(--wine-950) !important; }

/* ===================================================================
   COLLAPSIBLE SIDEBAR (desktop): click the arrow to shrink to icons / open again
   =================================================================== */
.sidebar-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.sidebar-collapse {
  display: none; flex-shrink: 0; width: 38px; height: 38px; margin-top: 0.2rem;
  align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(217,100,74,0.6);
  background: rgba(217,100,74,0.12); color: var(--gold-soft); font-size: 1rem;
  transition: background 0.5s ease, transform 0.8s var(--ease-soft);
}
.sidebar-collapse:hover { background: rgba(217,100,74,0.3); }
.sidebar-collapse i { transition: transform 0.8s var(--ease-soft); }
.sidebar .nav-link { white-space: nowrap; overflow: hidden; }

@media (min-width: 992px) {
  .sidebar-collapse { display: inline-flex; }
  .sidebar { overflow-x: hidden; transition: width 0.8s var(--ease-soft), padding 0.8s var(--ease-soft); }
  .page-shell { transition: margin-left 0.8s var(--ease-soft); }

  html.sb-collapsed { --sidebar-w: 84px; }
  html.sb-collapsed .sidebar { padding-left: 0.6rem; padding-right: 0.6rem; }
  html.sb-collapsed .sidebar-collapse i { transform: rotate(180deg); }
  html.sb-collapsed .sidebar-head { flex-direction: column; align-items: center; }
  html.sb-collapsed .sidebar-brand { display: none; }
  html.sb-collapsed .sidebar-person { justify-content: center; padding-left: 0; padding-right: 0; }
  html.sb-collapsed .sidebar-person img { width: 44px; height: 44px; }
  html.sb-collapsed .sidebar-person-text { display: none; }
  html.sb-collapsed .sidebar .nav-link { font-size: 0; justify-content: center; gap: 0; padding: 0.85rem 0; }
  html.sb-collapsed .sidebar .nav-link:hover { padding-left: 0; }
  html.sb-collapsed .sidebar .nav-link i { font-size: 1.4rem; margin: 0; }
  html.sb-collapsed .sidebar .nav-link .cart-badge { position: absolute; top: 4px; right: 10px; font-size: 0.65rem; line-height: 1.1rem; min-width: 1.1rem; margin: 0; }
  html.sb-collapsed .sidebar-actions { padding-left: 0; padding-right: 0; }
  html.sb-collapsed .sidebar-actions .btn-gold { font-size: 0; padding: 0.75rem 0; }
  html.sb-collapsed .sidebar-actions .btn-gold i { font-size: 1.25rem; margin: 0 !important; }
}
