/* =======================================================================
   Lawyer Theme — Custom Layer (RTL, Arabic)
   Stacks on top of Bootstrap 5.3 RTL
   ======================================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Palette */
  --color-gold: #cfae8b;
  --color-gold-soft: #e0c5a8;
  --color-gold-deep: #a88a6a;
  --color-charcoal: #1f3040;
  --color-graphite: #16242F;
  --color-ivory: #F5F1EA;
  --color-white: #FFFFFF;
  --color-text: #3A3A3E;
  --color-muted: #7A7A80;
  --color-hairline: rgba(207, 174, 139, 0.28);
  --color-border-light: rgba(31, 48, 64, 0.08);

  /* RGB tokens (for transparent overlays — use with rgba()) */
  --rgb-gold: 207, 174, 139;
  --rgb-charcoal: 31, 48, 64;

  /* Typography */
  --ff-primary: "Readex Pro", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --fs-body: 16px;
  --lh-body: 1.8;
  --lh-heading: 1.25;

  /* Layout */
  --container-max: 1320px;
  --section-pad: clamp(64px, 8vw, 120px);
  --radius-sm: 6px;     /* buttons, inputs, small chips */
  --radius-md: 10px;    /* cards, image frames, larger blocks */
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.3s;
}

/* ---------- 2. Reset / Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-primary);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(32px, 4vw, 44px); }
h3 { font-size: clamp(24px, 2.6vw, 28px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin: 0 0 1rem; }

a {
  color: var(--color-gold-deep);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--color-gold); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--color-gold); color: var(--color-charcoal); }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

section { padding-block: var(--section-pad); }

/* ---------- 3. Utilities ---------- */
.bg-ivory { background: var(--color-ivory); }
.bg-charcoal { background: var(--color-charcoal); color: var(--color-ivory); }
.bg-graphite { background: var(--color-graphite); color: var(--color-ivory); }
.bg-gold { background: var(--color-gold); color: var(--color-charcoal); }

.text-gold { color: var(--color-gold); }
.text-charcoal { color: var(--color-charcoal); }
.text-ivory { color: var(--color-ivory); }
.text-muted-soft { color: var(--color-muted); }

.text-gold strong,
.text-gold b { color: var(--color-gold); }

/* ---------- 4. Section Eyebrows & Headings ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-eyebrow::before,
.section-eyebrow.bothsides::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 20px;
}

.section-title.on-dark { color: var(--color-white); }

.section-intro { color: var(--color-muted); max-width: 640px; font-size: 17px; }

/* Centered section header block */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-intro { margin-inline: auto; }

/* ---------- 5. Buttons ---------- */
.btn-primary-gold,
.btn-ghost-gold,
.btn-dark-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--ff-primary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary-gold {
  background: var(--color-gold);
  color: var(--color-charcoal);
  border-color: var(--color-gold);
}
.btn-primary-gold:hover {
  background: var(--color-charcoal);
  color: var(--color-gold);
  border-color: var(--color-charcoal);
}

.btn-ghost-gold {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.btn-ghost-gold:hover {
  background: var(--color-gold);
  color: var(--color-charcoal);
}

.btn-dark-gold {
  background: var(--color-charcoal);
  color: var(--color-gold);
  border-color: var(--color-charcoal);
}
.btn-dark-gold:hover {
  background: var(--color-gold);
  color: var(--color-charcoal);
  border-color: var(--color-gold);
}

.btn-primary-gold svg,
.btn-ghost-gold svg,
.btn-dark-gold svg { transition: transform var(--dur) var(--ease); }
.btn-primary-gold:hover svg,
.btn-ghost-gold:hover svg,
.btn-dark-gold:hover svg { transform: translateX(-6px); } /* RTL: moves left */

/* Text-arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.arrow-link::after {
  content: "←";
  color: var(--color-gold);
  transition: transform var(--dur) var(--ease);
  font-size: 18px;
  line-height: 1;
}
.arrow-link:hover { color: var(--color-gold); }
.arrow-link:hover::after { transform: translateX(-8px); }

/* Round play button */
.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform var(--dur) var(--ease);
}
.play-btn::before,
.play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  animation: pulse-ring 2s ease-out infinite;
  opacity: 0;
}
.play-btn::after { animation-delay: 1s; }
.play-btn:hover { transform: scale(1.06); }

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}

.play-btn svg { margin-inline-start: 3px; }

/* ---------- 6. Top Bar ---------- */
.topbar {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info svg { color: var(--color-gold); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-ivory);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--dur) var(--ease);
}
.topbar-social a:hover { background: var(--color-gold); color: var(--color-charcoal); border-color: var(--color-gold); }

/* ---------- 7. Header / Nav ---------- */
.site-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(31, 48, 64,0.08); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.site-logo img {
  height: 58px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}
.footer-about .site-logo img { height: 78px; max-width: 240px; filter: brightness(0) invert(1); }
.preloader-logo-img {
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(207, 174, 139, 0.25));
  animation: preloader-pulse 1.4s ease-in-out infinite;
}
@media (max-width: 575.98px) {
  .site-logo img { height: 46px; }
  .footer-about .site-logo img { height: 64px; }
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  color: var(--color-charcoal);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 16px;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--dur) var(--ease);
}
.main-nav a:hover,
.main-nav a.active { color: var(--color-gold); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 20px; }

.header-actions { display: flex; gap: 14px; align-items: center; }

.icon-btn {
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--color-border-light);
  color: var(--color-charcoal);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--color-charcoal); color: var(--color-gold); border-color: var(--color-charcoal); }

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border-light);
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.topbar-social a { border-radius: var(--radius-sm); }

@media (max-width: 991.98px) {
  .main-nav, .header-actions .btn-primary-gold, .header-actions .icon-btn { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
}

/* Offcanvas mobile menu */
.offcanvas.mobile-menu { background: var(--color-charcoal); color: var(--color-ivory); }
.offcanvas.mobile-menu .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,0.08); }
.offcanvas.mobile-menu .offcanvas-title { color: var(--color-gold); font-weight: 700; }
.offcanvas.mobile-menu .btn-close {
  filter: invert(1) grayscale(100%) brightness(2);
}
.offcanvas.mobile-menu .nav-link {
  color: var(--color-ivory);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 17px;
}
.offcanvas.mobile-menu .nav-link:hover { color: var(--color-gold); }
.offcanvas.mobile-menu .nav-link.active { color: var(--color-gold); }

/* ---------- 8. Hero Slider ---------- */
.hero {
  position: relative;
  height: clamp(560px, 78vh, 720px);
  color: var(--color-white);
  overflow: hidden;
  padding-top: 0;
}
.hero .swiper { height: 100%; width: 100%; }
.hero .swiper-slide { height: 100%; }
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 48, 64,0.85) 0%, rgba(31, 48, 64,0.55) 60%, rgba(31, 48, 64,0.35) 100%);
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--color-gold); font-weight: 600; margin-bottom: 24px;
}
.hero-eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--color-gold); display: inline-block; }
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title .gold-accent { color: var(--color-gold); }
.hero-subtitle {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .swiper-pagination {
  left: auto; right: 30px; top: 50%; bottom: auto;
  transform: translateY(-50%);
  width: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.hero .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.35);
  opacity: 1;
  border-radius: 0;
  transition: all var(--dur) var(--ease);
  margin: 0 !important;
}
.hero .swiper-pagination-bullet-active {
  background: var(--color-gold);
  height: 30px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 12px; letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 3;
  writing-mode: vertical-rl;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 40px;
  background: var(--color-gold);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); }
}

/* ---------- 9. Feature Strip (3 perks) ---------- */
.features-strip {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.features-strip .features-inner {
  background: var(--color-white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 20px 60px rgba(31, 48, 64,0.08);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feature-card {
  padding: 36px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-inline-start: 1px solid var(--color-border-light);
  transition: background var(--dur) var(--ease);
}
.feature-card:first-child { border-inline-start: none; }
.feature-card:hover { background: var(--color-ivory); }
.feature-card .feature-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--color-ivory);
  color: var(--color-gold);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.feature-card:hover .feature-icon { background: var(--color-gold); color: var(--color-charcoal); }
.feature-card h5 { margin-bottom: 4px; font-size: 17px; }
.feature-card p { margin: 0; font-size: 14px; color: var(--color-muted); }

@media (max-width: 767.98px) {
  .features-strip { margin-top: 40px; }
  .features-strip .features-inner { grid-template-columns: 1fr; }
  .feature-card { border-inline-start: none; border-top: 1px solid var(--color-border-light); }
  .feature-card:first-child { border-top: none; }
}

/* ---------- 10. About Split (image + content) ---------- */
.about-split { position: relative; }
.about-image-frame {
  position: relative;
  padding: 14px;
}
.about-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  transform: translate(12px, 12px); /* offset frame */
}
.about-image-frame img { width: 100%; display: block; position: relative; z-index: 2; border-radius: var(--radius-md); }
.about-image-badge {
  position: absolute;
  bottom: 30px; right: -20px;
  background: var(--color-charcoal);
  color: var(--color-gold);
  padding: 20px 30px;
  z-index: 3;
  text-align: center;
  border-inline-start: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
}
.about-image-badge strong { font-size: 44px; display: block; line-height: 1; color: var(--color-gold); }
.about-image-badge span { font-size: 13px; color: var(--color-ivory); letter-spacing: 0.05em; }

.check-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.check-list li {
  position: relative;
  padding-inline-start: 30px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 2px;
  width: 22px; height: 22px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}

/* ---------- 11. Service Cards ---------- */
.service-card {
  background: var(--color-white);
  padding: 40px 30px;
  position: relative;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease);
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(31, 48, 64,0.08);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 72px; height: 72px;
  background: var(--color-ivory);
  color: var(--color-gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.service-card:hover .service-icon { background: var(--color-charcoal); color: var(--color-gold); }

.service-card h4 { margin-bottom: 12px; font-size: 20px; }
.service-card p { color: var(--color-muted); font-size: 15px; margin-bottom: 20px; }

.service-number {
  position: absolute;
  top: 20px; left: 24px;
  font-size: 64px; font-weight: 800;
  color: var(--color-ivory);
  line-height: 1;
  transition: color var(--dur) var(--ease);
}
.service-card:hover .service-number { color: rgba(207, 174, 139,0.18); }

/* ---------- 12. Counters ---------- */
.counters-block {
  background: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}
.counters-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><path d='M60 10 L110 60 L60 110 L10 60 Z' fill='none' stroke='%23C9A86A' stroke-width='0.5' opacity='0.1'/></svg>") center/140px repeat;
  opacity: 0.5;
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}
.counter-item { text-align: center; color: var(--color-ivory); }
.counter-item strong {
  display: block;
  font-size: clamp(44px, 5vw, 64px);
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}
.counter-item span { font-size: 15px; color: var(--color-ivory); letter-spacing: 0.02em; }

@media (max-width: 767.98px) {
  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}

/* ---------- 13. Video CTA Block ---------- */
.video-block {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 48, 64,0.4) 0%, rgba(31, 48, 64,0.75) 100%);
}
.video-block .play-btn { position: relative; z-index: 2; }

/* ---------- 14. Testimonials ---------- */
.testimonial-card {
  background: var(--color-white);
  padding: 48px 40px;
  text-align: center;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px; right: 30px;
  font-size: 100px;
  color: var(--color-gold);
  font-family: serif;
  line-height: 1;
  opacity: 0.25;
}
.testimonial-card blockquote {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-charcoal);
  line-height: 1.85;
  margin: 0 0 30px;
  font-style: normal;
}
.testimonial-author {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.testimonial-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-gold); }
.testimonial-author strong { font-size: 16px; color: var(--color-charcoal); }
.testimonial-author span { font-size: 13px; color: var(--color-gold); letter-spacing: 0.08em; }

.stars { color: var(--color-gold); font-size: 16px; margin-bottom: 20px; letter-spacing: 4px; }

/* ---------- 15. Blog Cards ---------- */
.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(31, 48, 64,0.08);
  transform: translateY(-4px);
}
.blog-card .blog-thumb {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.blog-card .blog-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-card .blog-body { padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-meta { display: flex; gap: 16px; font-size: 13px; color: var(--color-muted); }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta svg { color: var(--color-gold); }
.blog-card h4 { font-size: 19px; line-height: 1.45; margin: 0; }
.blog-card h4 a { color: var(--color-charcoal); }
.blog-card h4 a:hover { color: var(--color-gold); }
.blog-card .arrow-link { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--color-border-light); }

.blog-card .blog-date-stamp {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  padding: 10px 14px;
  text-align: center;
  font-weight: 700;
  line-height: 1;
  z-index: 2;
  border-radius: var(--radius-sm);
}
.blog-card .blog-date-stamp strong { font-size: 20px; display: block; }
.blog-card .blog-date-stamp span { font-size: 12px; }
.blog-card .blog-thumb { position: relative; }

/* Blog horizontal card (list view) */
.blog-card-horizontal {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
}
.blog-card-horizontal .blog-thumb { aspect-ratio: auto; }
@media (max-width: 767.98px) {
  .blog-card-horizontal { grid-template-columns: 1fr; }
}

/* ---------- 16. CTA Strip ---------- */
.cta-strip {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(207, 174, 139,0.15) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(207, 174, 139,0.08) 0%, transparent 40%);
}
.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-strip h2 { color: var(--color-white); margin: 0; max-width: 640px; }
.cta-strip h2 .gold-accent { color: var(--color-gold); }

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.65);
  padding-top: 80px;
  position: relative;
}
.site-footer h5 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 26px;
  position: relative;
  padding-bottom: 14px;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--color-gold);
}
.site-footer a { color: rgba(255,255,255,0.65); }
.site-footer a:hover { color: var(--color-gold); }

.footer-about p { font-size: 14px; line-height: 1.8; margin: 20px 0; }
.footer-about .site-logo { color: var(--color-white); }
.footer-about .site-logo .logo-text small { color: rgba(255,255,255,0.55); }
.footer-about .site-logo .logo-mark { background: var(--color-gold); color: var(--color-charcoal); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 14px; }
.footer-links li a {
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap var(--dur) var(--ease);
}
.footer-links li a::before {
  content: "«";
  color: var(--color-gold);
  font-weight: 700;
  font-size: 12px;
}
.footer-links li a:hover { gap: 12px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex; gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}
.footer-contact-list li svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.newsletter-form {
  display: flex;
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  background: var(--color-gold);
  color: var(--color-charcoal);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--dur) var(--ease);
}
.newsletter-form button:hover { background: var(--color-gold-soft); }

.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-charcoal); }

.footer-bottom {
  margin-top: 60px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--color-gold); }

/* ---------- 18. Page Header / Breadcrumb ---------- */
.page-header {
  position: relative;
  padding: 140px 0 90px;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  background-color: var(--color-charcoal);
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 48, 64,0.92) 0%, rgba(31, 48, 64,0.78) 100%);
}
.page-header .container { position: relative; z-index: 2; text-align: center; }
.page-header h1 { color: var(--color-white); font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.page-breadcrumb {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}
.page-breadcrumb a { color: var(--color-gold); }
.page-breadcrumb .sep { color: rgba(255,255,255,0.4); }
.page-breadcrumb .current { color: var(--color-white); }

/* ---------- 19. Team Cards ---------- */
.team-card {
  background: var(--color-white);
  text-align: center;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease);
  overflow: hidden;
}
.team-card:hover { box-shadow: 0 20px 50px rgba(31, 48, 64,0.1); transform: translateY(-4px); }
.team-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.6s var(--ease);
}
.team-card:hover .team-photo img { filter: grayscale(0%); transform: scale(1.05); }
.team-photo-social {
  position: absolute;
  bottom: -40px; left: 0; right: 0;
  display: flex; gap: 8px; justify-content: center;
  transition: bottom 0.4s var(--ease);
}
.team-card:hover .team-photo-social { bottom: 20px; }
.team-photo-social a {
  width: 36px; height: 36px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: transform var(--dur) var(--ease);
}
.team-photo-social a:hover { background: var(--color-charcoal); color: var(--color-gold); }
.team-body { padding: 24px 20px; }
.team-body h5 { margin-bottom: 4px; font-size: 18px; }
.team-body span { color: var(--color-gold); font-size: 13px; letter-spacing: 0.1em; }

/* ---------- 20. FAQ Accordion ---------- */
.accordion.lawyer-accordion {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0 22px;
}
.accordion.lawyer-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-light);
  border-radius: 0 !important;
  margin-bottom: 0;
}
.accordion.lawyer-accordion .accordion-item:last-child { border-bottom: none; }
.accordion.lawyer-accordion .accordion-button {
  background: transparent;
  color: var(--color-charcoal);
  font-weight: 600;
  font-size: 17px;
  font-family: inherit;
  padding: 22px 0 22px 40px;
  border: none;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.accordion.lawyer-accordion .accordion-button::after {
  content: "+";
  background: none;
  color: var(--color-gold);
  font-size: 26px;
  font-weight: 400;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  margin-inline-start: auto;
  margin-inline-end: 0;
}
.accordion.lawyer-accordion .accordion-button:not(.collapsed) { color: var(--color-gold); }
.accordion.lawyer-accordion .accordion-button:not(.collapsed)::after {
  content: "−";
  background: var(--color-gold);
  color: var(--color-charcoal);
}
.accordion.lawyer-accordion .accordion-body {
  padding: 0 0 24px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- 21. Contact Info Cards ---------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
@media (max-width: 767.98px) {
  .contact-info-grid { grid-template-columns: 1fr; margin-top: 30px; }
}
.contact-card {
  background: var(--color-white);
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(31, 48, 64,0.06);
  border-top: 3px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease);
}
.contact-card:hover { border-top-color: var(--color-gold); transform: translateY(-4px); }
.contact-card .icon-big {
  width: 72px; height: 72px;
  background: var(--color-ivory);
  color: var(--color-gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.contact-card:hover .icon-big { background: var(--color-charcoal); }
.contact-card h5 { margin-bottom: 10px; font-size: 19px; }
.contact-card p { margin: 0; color: var(--color-muted); font-size: 14px; line-height: 1.85; }

/* ---------- 22. Forms ---------- */
.form-control-lw {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-ivory);
  border: 1px solid transparent;
  color: var(--color-charcoal);
  font-family: inherit;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.form-control-lw::placeholder { color: var(--color-muted); }
.form-control-lw:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-gold);
}
textarea.form-control-lw { min-height: 140px; resize: vertical; }

select.form-control-lw {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23C9A86A' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: left 18px center;
  padding-inline-start: 44px;
}

.form-group-lw { margin-bottom: 18px; }
.form-label-lw {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

/* ---------- 23. Sidebar Widgets ---------- */
.widget {
  background: var(--color-ivory);
  padding: 28px 26px;
  margin-bottom: 30px;
  border-radius: var(--radius-md);
}
.widget-title {
  font-size: 18px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
}
.widget-title::after {
  content: "";
  position: absolute;
  bottom: -1px; right: 0;
  width: 40px; height: 2px;
  background: var(--color-gold);
}
.widget-search {
  display: flex;
  border: 1px solid var(--color-border-light);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.widget-search input {
  flex: 1;
  border: none; padding: 12px 16px; outline: none; background: transparent;
  font-family: inherit;
}
.widget-search button {
  background: var(--color-gold);
  border: none;
  padding: 0 18px;
  color: var(--color-charcoal);
  cursor: pointer;
}
.widget ul.widget-list { list-style: none; padding: 0; margin: 0; }
.widget ul.widget-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border-light);
  display: flex; justify-content: space-between; font-size: 14px;
}
.widget ul.widget-list li:last-child { border: none; }
.widget ul.widget-list a { color: var(--color-text); }
.widget ul.widget-list a:hover { color: var(--color-gold); }
.widget ul.widget-list .count {
  width: 28px; height: 28px;
  background: var(--color-white);
  color: var(--color-muted);
  font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}

.widget-recent { display: flex; flex-direction: column; gap: 16px; }
.widget-recent-item { display: flex; gap: 14px; align-items: flex-start; }
.widget-recent-item img { width: 72px; height: 72px; object-fit: cover; flex-shrink: 0; border-radius: var(--radius-sm); }
.widget-recent-item h6 { font-size: 14px; line-height: 1.5; margin: 0 0 4px; }
.widget-recent-item h6 a { color: var(--color-charcoal); }
.widget-recent-item h6 a:hover { color: var(--color-gold); }
.widget-recent-item time { font-size: 12px; color: var(--color-gold); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 7px 14px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 13px;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.tag-cloud a:hover { background: var(--color-gold); color: var(--color-charcoal); }

/* ---------- 24. Pagination ---------- */
.lw-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; list-style: none; padding: 0; }
.lw-pagination li a,
.lw-pagination li span {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-ivory);
  color: var(--color-charcoal);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.lw-pagination li a:hover,
.lw-pagination li.active span { background: var(--color-gold); color: var(--color-charcoal); }

/* ---------- 25. Video Library ---------- */
.video-filter { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.video-filter button {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--color-border-light);
  color: var(--color-charcoal);
  font-family: inherit;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.video-filter button.active,
.video-filter button:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-charcoal); }

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-md);
}
.video-card .video-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-md);
}
.video-card .video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-card .video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 48, 64,0) 40%, rgba(31, 48, 64,0.75) 100%);
}
.video-card .video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform var(--dur) var(--ease);
}
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-card .video-duration {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(31, 48, 64,0.8);
  color: var(--color-white);
  padding: 4px 10px;
  font-size: 12px;
  z-index: 2;
  border-radius: var(--radius-sm);
}
.video-card .video-meta {
  position: absolute;
  bottom: 20px; right: 20px; left: 20px;
  color: var(--color-white);
  z-index: 2;
}
.video-card .video-meta h5 { color: var(--color-white); margin-bottom: 4px; font-size: 18px; }
.video-card .video-meta span { color: var(--color-gold); font-size: 13px; letter-spacing: 0.08em; }

/* Featured video (big) */
.video-featured {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  border-radius: var(--radius-md);
}
.video-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 48, 64,0.3) 0%, rgba(31, 48, 64,0.75) 100%);
}
.video-featured .play-btn { position: relative; z-index: 2; width: 100px; height: 100px; }
.video-featured .play-btn svg { width: 28px; height: 28px; }

/* ---------- 26. Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 40px; left: 8%; right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--color-gold) 0, var(--color-gold) 6px, transparent 6px, transparent 14px);
}
.process-step { text-align: center; position: relative; }
.process-step .step-num {
  width: 80px; height: 80px;
  background: var(--color-white);
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease);
}
.process-step:hover .step-num { background: var(--color-gold); color: var(--color-charcoal); }
.process-step h5 { margin-bottom: 8px; font-size: 18px; }
.process-step p { font-size: 14px; color: var(--color-muted); margin: 0; }
@media (max-width: 767.98px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

/* ---------- 27. Timeline (v2 — badge cards) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  padding-top: 50px;
}
/* Connector line behind badges */
.timeline::before {
  content: "";
  position: absolute;
  top: 100px;
  inset-inline-start: 14%;
  inset-inline-end: 14%;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--color-gold) 0 8px,
    transparent 8px 16px
  );
  z-index: 1;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-badge {
  width: 96px; height: 96px;
  background: var(--color-charcoal);
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 3;
  box-shadow: 0 12px 30px rgba(31, 48, 64, 0.18);
  margin-bottom: -48px; /* overlap onto card */
  transition: all 0.35s var(--ease);
}
.timeline-badge::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(207, 174, 139, 0.4);
  border-radius: 50%;
  transition: transform 0.6s var(--ease);
}
.timeline-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 70px 28px 32px;
  width: 100%;
  text-align: center;
  position: relative;
  transition: all 0.35s var(--ease);
}
.timeline-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 3px;
  background: var(--color-gold);
  transition: width 0.4s var(--ease);
}
.timeline-icon {
  width: 48px; height: 48px;
  background: var(--color-ivory);
  color: var(--color-gold);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.3s var(--ease);
}
.timeline-card h5 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--color-charcoal);
}
.timeline-card p {
  color: var(--color-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.85;
}
/* Hover */
.timeline-item:hover .timeline-badge {
  background: var(--color-gold);
  color: var(--color-charcoal);
  transform: translateY(-6px);
}
.timeline-item:hover .timeline-badge::before {
  transform: rotate(180deg);
}
.timeline-item:hover .timeline-card {
  box-shadow: 0 22px 50px rgba(31, 48, 64, 0.08);
  border-color: transparent;
  transform: translateY(-4px);
}
.timeline-item:hover .timeline-card::after { width: 60%; }
.timeline-item:hover .timeline-icon {
  background: var(--color-charcoal);
  color: var(--color-gold);
}

/* Mobile: vertical stack */
@media (max-width: 767.98px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 30px;
  }
  .timeline::before { display: none; }
  .timeline-badge {
    width: 80px; height: 80px;
    font-size: 19px;
    margin-bottom: -40px;
  }
  .timeline-card { padding: 56px 24px 28px; }
}

/* ---------- 28. Single Post Styling ---------- */
.post-content { font-size: 16px; line-height: 1.9; color: var(--color-text); }
.post-content h2, .post-content h3, .post-content h4 { margin-top: 32px; margin-bottom: 14px; }
.post-content p { margin-bottom: 20px; }
.post-content img { margin: 28px 0; }
.post-content ul, .post-content ol { margin-bottom: 20px; padding-inline-start: 24px; }
.post-content li { margin-bottom: 8px; }

.post-quote {
  background: var(--color-ivory);
  border-inline-start: 4px solid var(--color-gold);
  padding: 28px 30px;
  margin: 28px 0;
  font-size: 19px;
  font-weight: 500;
  color: var(--color-charcoal);
  line-height: 1.8;
  position: relative;
  border-radius: var(--radius-md);
}
.post-content img { border-radius: var(--radius-md); }
.post-quote::before {
  content: "\201C";
  font-size: 60px;
  color: var(--color-gold);
  position: absolute;
  top: 10px; left: 20px;
  font-family: serif;
  line-height: 1;
  opacity: 0.4;
}
.post-meta-bar {
  display: flex; gap: 20px; padding: 14px 0;
  border-block: 1px solid var(--color-border-light);
  font-size: 13px; color: var(--color-muted);
  margin-bottom: 30px;
}
.post-meta-bar span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta-bar svg { color: var(--color-gold); }

.post-tags { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.post-tags strong { color: var(--color-charcoal); margin-inline-end: 6px; }
.post-share { display: flex; gap: 8px; margin-inline-start: auto; }
.post-share a {
  width: 36px; height: 36px;
  background: var(--color-ivory);
  color: var(--color-charcoal);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.post-share a:hover { background: var(--color-gold); }

.author-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 30px;
  background: var(--color-ivory);
  margin: 40px 0;
  border-radius: var(--radius-md);
}
.author-box img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.author-box h5 { margin-bottom: 6px; }
.author-box .author-role { color: var(--color-gold); font-size: 13px; letter-spacing: 0.08em; margin-bottom: 10px; display: block; }
.author-box p { font-size: 14px; color: var(--color-muted); margin-bottom: 12px; }

@media (max-width: 576px) {
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-box img { margin: 0 auto; }
}

.comment-list { list-style: none; padding: 0; margin: 30px 0; }
.comment { display: grid; grid-template-columns: 70px 1fr; gap: 18px; margin-bottom: 30px; }
.comment img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.comment .comment-head { display: flex; justify-content: space-between; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.comment strong { color: var(--color-charcoal); font-size: 15px; }
.comment time { font-size: 12px; color: var(--color-gold); }
.comment p { font-size: 14px; color: var(--color-muted); margin-bottom: 8px; }
.comment .reply-link { font-size: 13px; color: var(--color-gold); font-weight: 600; }
.comment.is-reply { margin-inline-start: 60px; }

/* ---------- 29. 404 ---------- */
.error-page {
  min-height: 100vh;
  background: var(--color-charcoal);
  color: var(--color-ivory);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(207, 174, 139,0.15) 0%, transparent 60%);
}
.error-inner { text-align: center; position: relative; z-index: 2; max-width: 640px; }
.error-code {
  font-size: clamp(140px, 22vw, 240px);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 40px rgba(31, 48, 64,0.6);
}
.error-inner h2 { color: var(--color-white); margin-bottom: 16px; }
.error-inner p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 17px; }
.error-search { display: flex; max-width: 440px; margin: 0 auto 30px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); overflow: hidden; }
.error-search input {
  flex: 1; background: transparent; border: none; padding: 14px 16px;
  color: var(--color-white); font-family: inherit; outline: none;
}
.error-search input::placeholder { color: rgba(255,255,255,0.4); }
.error-search button { background: var(--color-gold); border: none; padding: 0 22px; cursor: pointer; color: var(--color-charcoal); }

/* ---------- 30. Swiper Adjustments ---------- */
.swiper-wrapper-align .swiper-slide { height: auto; }

/* Testimonials swiper pagination */
.testim-swiper .swiper-pagination {
  position: relative;
  margin-top: 30px;
}
.testim-swiper .swiper-pagination-bullet {
  background: var(--color-border-light);
  opacity: 1;
  width: 10px; height: 10px;
  border-radius: 0;
  transition: all var(--dur) var(--ease);
  margin: 0 4px !important;
}
.testim-swiper .swiper-pagination-bullet-active {
  background: var(--color-gold);
  width: 30px;
}

/* Team/Blog swipers - generic bullets */
.lw-swiper .swiper-pagination { position: relative; margin-top: 30px; }
.lw-swiper .swiper-pagination-bullet {
  background: var(--color-charcoal); opacity: 0.3;
  width: 8px; height: 8px;
  margin: 0 4px !important;
  transition: all var(--dur) var(--ease);
}
.lw-swiper .swiper-pagination-bullet-active { background: var(--color-gold); opacity: 1; width: 26px; border-radius: 4px; }

/* ---------- 31. Responsive Helpers ---------- */
@media (max-width: 991.98px) {
  .cta-strip .container { justify-content: center; text-align: center; }
  .cta-strip h2 { max-width: none; }
}
@media (max-width: 767.98px) {
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .about-image-badge { right: auto; left: 0; bottom: -16px; padding: 14px 22px; }
  .about-image-badge strong { font-size: 32px; }
  .hero .swiper-pagination { right: 16px; }
  .topbar .container { justify-content: center; }
}

/* ---------- 32. AOS minor overrides ---------- */
[data-aos] { pointer-events: auto; }

/* ---------- 33. Print ---------- */
@media print {
  .site-header, .site-footer, .cta-strip, .topbar, .preloader, .whatsapp-fab, .scroll-top { display: none; }
}

/* =======================================================================
   34. v2 Enhancements (preloader, FAB, scroll-top, mobile fixes,
   improved counters/testimonials/CTA, header hide-on-scroll)
   ======================================================================= */

/* ---------- 34.1 Global overflow guard (prevents AOS horizontal scroll) ---------- */
html, body { overflow-x: clip; max-width: 100%; }
@media (max-width: 991.98px) {
  /* Cap horizontal AOS movement on mobile to avoid screen pushing */
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate3d(0, 30px, 0) !important;
    opacity: 0;
  }
  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1;
  }
}

/* ---------- 34.2 Hide topbar on mobile ---------- */
@media (max-width: 991.98px) {
  .topbar { display: none; }
}

/* ---------- 34.3 Header hide-on-scroll-down / show-on-scroll-up ---------- */
.site-header {
  transition: transform 0.4s var(--ease),
              box-shadow var(--dur) var(--ease),
              padding var(--dur) var(--ease);
  will-change: transform;
}
.site-header.is-hidden { transform: translateY(-100%); }

/* ---------- 34.4 Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.preloader-logo {
  width: 80px; height: 80px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  display: flex; align-items: center; justify-content: center;
  font-family: serif;
  font-size: 44px;
  font-weight: 700;
  border-radius: var(--radius-md);
  animation: preloader-pulse 1.4s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(207, 174, 139,0.45); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 18px rgba(207, 174, 139,0); }
}
.preloader-bars {
  display: flex; gap: 6px;
}
.preloader-bars span {
  width: 4px; height: 22px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: preloader-bar 1s ease-in-out infinite;
}
.preloader-bars span:nth-child(2) { animation-delay: 0.15s; }
.preloader-bars span:nth-child(3) { animation-delay: 0.3s; }
.preloader-bars span:nth-child(4) { animation-delay: 0.45s; }
@keyframes preloader-bar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- 34.5 WhatsApp Floating Button ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform var(--dur) var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
.whatsapp-fab::before,
.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2.4s ease-out infinite;
  opacity: 0;
}
.whatsapp-fab::after { animation-delay: 1.2s; }
@media (max-width: 575.98px) {
  .whatsapp-fab { width: 52px; height: 52px; bottom: 20px; inset-inline-end: 20px; }
}

/* ---------- 34.6 Scroll-to-top button ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  inset-inline-start: 28px;
  z-index: 999;
  width: 46px; height: 46px;
  background: var(--color-charcoal);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur) var(--ease);
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--color-gold); color: var(--color-charcoal); }
@media (max-width: 575.98px) {
  .scroll-top { width: 42px; height: 42px; bottom: 20px; inset-inline-start: 20px; }
}

/* ---------- 34.7 Improved Counters with Icons ---------- */
.counters-block .counters-grid { gap: 0; }
.counter-item {
  text-align: center;
  color: var(--color-ivory);
  padding: 20px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
/* Vertical gold separators between items (desktop) */
.counter-item + .counter-item::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 100%;
  transform: translateY(-50%);
  width: 1px;
  height: 70%;
  background: linear-gradient(180deg, transparent 0%, var(--color-hairline) 50%, transparent 100%);
}
.counter-item .counter-icon {
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: var(--radius-md);
  background: rgba(207, 174, 139, 0.05);
  margin-bottom: 4px;
  transition: all var(--dur) var(--ease);
}
.counter-item:hover .counter-icon {
  background: var(--color-gold);
  color: var(--color-charcoal);
  transform: translateY(-3px);
}
.counter-item strong {
  display: block;
  font-size: clamp(36px, 4.6vw, 56px);
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
  direction: ltr;
}
.counter-item span {
  font-size: 14px;
  color: rgba(245, 241, 234, 0.85);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.counter-item::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-gold);
  margin-top: 4px;
  opacity: 0.6;
}
@media (max-width: 767.98px) {
  .counter-item + .counter-item::before { display: none; }
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }
}

/* ---------- 34.8 Testimonials: 2-up on desktop ---------- */
@media (min-width: 992px) {
  .testim-swiper .swiper-slide { width: calc(50% - 15px); }
}
.testimonial-card { height: 100%; }

/* ---------- 34.9 Improved Footer CTA Strip ---------- */
.cta-strip {
  padding-block: clamp(60px, 8vw, 90px);
}
.cta-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--color-hairline) 50%, transparent 100%);
  transform: translateX(-50%);
  display: none;
}
.cta-redesign .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-icon-wrap {
  min-width: 80px;
  min-height: 80px;
  width: auto;
  height: auto;
  padding: 14px 22px;
  margin: 0 auto;
  background: var(--color-gold);
  color: var(--color-charcoal);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(207, 174, 139, 0.35);
  position: relative;
}
.cta-icon-wrap img {
  max-height: 64px;
  max-width: 180px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.cta-icon-wrap::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(207, 174, 139, 0.5);
  border-radius: calc(var(--radius-md) + 8px);
  animation: spin-slow 18s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.cta-redesign .cta-eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  justify-content: center;
}
.cta-redesign .cta-eyebrow::before,
.cta-redesign .cta-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold);
}
.cta-redesign h2 {
  color: var(--color-white);
  margin: auto;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
}
.cta-redesign h2 .gold-accent { color: var(--color-gold); }
.cta-redesign .cta-subtitle {
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  margin: 0 auto;
  font-size: 17px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-direct-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.cta-direct-call:hover {
  background: rgba(207, 174, 139, 0.1);
  border-color: var(--color-gold);
  color: var(--color-white);
}
.cta-direct-call .call-icon {
  width: 38px; height: 38px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.cta-direct-call strong {
  color: var(--color-white);
  font-size: 17px;
  font-weight: 600;
  direction: ltr;
  line-height: 1;
}

/* Decorative corners on CTA */
.cta-redesign::before,
.cta-redesign::after {
  content: "";
  position: absolute;
  width: 60px; height: 60px;
  border: 2px solid var(--color-gold);
  opacity: 0.35;
  z-index: 1;
}
.cta-redesign::before {
  top: 30px; inset-inline-start: 30px;
  border-bottom: none; border-inline-end: none;
}
.cta-redesign::after {
  bottom: 30px; inset-inline-end: 30px;
  border-top: none; border-inline-start: none;
}
@media (max-width: 575.98px) {
  .cta-redesign::before, .cta-redesign::after { display: none; }
}

/* ---------- 34.10b Force LTR on phone numbers / numerals ---------- */
.ltr-num,
a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

/* Phone / email links inherit surrounding color (topbar, footer, contact cards) */
.topbar-info a[href^="tel:"],
.footer-contact-list a[href^="tel:"],
.footer-contact-list a[href^="mailto:"],
.contact-card a[href^="tel:"],
.contact-card a[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.topbar-info a[href^="tel:"]:hover,
.footer-contact-list a[href^="tel:"]:hover,
.footer-contact-list a[href^="mailto:"]:hover,
.contact-card a[href^="tel:"]:hover,
.contact-card a[href^="mailto:"]:hover {
  color: var(--color-gold);
}

/* ---------- 34.11 Service Details Page ---------- */
.service-detail-content { font-size: 16px; line-height: 1.9; }
.service-detail-content h2 { font-size: clamp(26px, 3vw, 34px); margin: 12px 0 18px; }
.service-detail-content h3 { font-size: 22px; margin: 36px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border-light); position: relative; }
.service-detail-content h3::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  width: 50px;
  height: 2px;
  background: var(--color-gold);
}
.service-detail-content p { color: var(--color-text); margin-bottom: 18px; }
.service-detail-content > p:first-of-type {
  font-size: 18px;
  color: var(--color-charcoal);
  font-weight: 500;
  line-height: 1.85;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin: 0 0 24px;
  list-style: none;
  padding: 0;
}
.service-feature-grid li {
  position: relative;
  padding-inline-start: 32px;
  font-weight: 500;
  color: var(--color-charcoal);
  font-size: 15px;
  line-height: 1.6;
}
.service-feature-grid li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 20px; height: 20px;
  background: var(--color-gold);
  border-radius: var(--radius-sm);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/14px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/14px no-repeat;
}
@media (max-width: 575.98px) {
  .service-feature-grid { grid-template-columns: 1fr; }
}

.service-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

/* Sidebar service navigation */
.service-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--dur) var(--ease);
}
.service-nav a::after {
  content: "←";
  color: var(--color-gold);
  transition: transform var(--dur) var(--ease);
}
.service-nav a:hover,
.service-nav a.active {
  background: var(--color-charcoal);
  color: var(--color-gold);
  border-color: var(--color-charcoal);
}
.service-nav a:hover::after,
.service-nav a.active::after { transform: translateX(-6px); }

/* Sidebar CTA card */
.sidebar-cta-card {
  position: relative;
  padding: 36px 24px 28px;
  background: var(--color-charcoal);
  color: var(--color-ivory);
  text-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
}
.sidebar-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(207, 174, 139,0.18) 0%, transparent 60%);
}
.sidebar-cta-card > * { position: relative; z-index: 1; }
.sidebar-cta-card .cta-icon-circle {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sidebar-cta-card h5 {
  color: var(--color-white);
  font-size: 20px;
  margin-bottom: 10px;
}
.sidebar-cta-card p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 20px;
}
.sidebar-cta-card .cta-phone {
  display: block;
  color: var(--color-gold);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  direction: ltr;
}

/* Brochure download card */
.brochure-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-ivory);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-charcoal);
  transition: all var(--dur) var(--ease);
  margin-bottom: 30px;
}
.brochure-card:hover { background: var(--color-charcoal); color: var(--color-ivory); }
.brochure-card .brochure-icon {
  width: 48px; height: 48px;
  background: var(--color-gold);
  color: var(--color-charcoal);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brochure-card .brochure-text {
  display: flex; flex-direction: column;
  line-height: 1.4;
}
.brochure-card .brochure-text strong { font-size: 15px; }
.brochure-card .brochure-text small { font-size: 12px; color: var(--color-muted); transition: color var(--dur) var(--ease); }
.brochure-card:hover .brochure-text small { color: rgba(255,255,255,0.6); }
.brochure-card .brochure-arrow {
  margin-inline-start: auto;
  color: var(--color-gold);
}

/* Service highlight quote */
.service-highlight {
  background: var(--color-ivory);
  border-inline-start: 4px solid var(--color-gold);
  padding: 22px 26px;
  margin: 30px 0;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--color-charcoal);
  font-weight: 500;
  position: relative;
}
.service-highlight strong { color: var(--color-gold); }

/* ---------- 34.10 Gold divider between CTA strip and Footer ---------- */
.cta-strip + .site-footer {
  position: relative;
}
.cta-strip + .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(86%, 900px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(207, 174, 139, 0.55) 30%,
    rgba(207, 174, 139, 0.55) 70%,
    transparent 100%
  );
}
.cta-strip + .site-footer::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px var(--color-charcoal);
  z-index: 2;
}

/* =======================================================================
   35. Search Modal (live AJAX search popup)
   ======================================================================= */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.search-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}
.search-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 48, 64, 0.92);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.search-modal-inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: min(92%, 760px);
  max-height: 86vh;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 36px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  transition: transform 0.35s var(--ease);
  overflow: hidden;
}
.search-modal.is-open .search-modal-inner { transform: translate(-50%, -50%) scale(1); }

.search-modal-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 40px; height: 40px;
  background: var(--color-ivory);
  border: none;
  color: var(--color-charcoal);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.search-modal-close:hover { background: var(--color-charcoal); color: var(--color-gold); }

.search-modal-header { text-align: center; margin-bottom: 22px; }
.search-modal-header h3 {
  font-size: 24px;
  margin: 0 0 6px;
  color: var(--color-charcoal);
}
.search-modal-header p {
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  margin: 0;
}

.search-modal-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-ivory);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 6px 6px 6px 18px;
  margin-bottom: 22px;
  transition: border-color var(--dur) var(--ease);
}
.search-modal-form:focus-within {
  border-color: var(--color-gold);
  background: var(--color-white);
}
.search-modal-icon {
  color: var(--color-gold);
  flex-shrink: 0;
}
.search-modal-form input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 0;
  font-family: var(--ff-primary);
  font-size: 16px;
  color: var(--color-charcoal);
}
.search-modal-form input[type="search"]::placeholder { color: var(--color-muted); }
.search-modal-form button[type="submit"] { padding: 12px 22px; font-size: 14px; }

.search-modal-results {
  flex: 1;
  overflow-y: auto;
  margin-inline: -8px;
  padding-inline: 8px;
}
.search-modal-results::-webkit-scrollbar { width: 6px; }
.search-modal-results::-webkit-scrollbar-thumb { background: var(--color-hairline); border-radius: 3px; }

.search-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--color-muted);
}
.search-empty svg { color: var(--color-gold); opacity: 0.5; margin-bottom: 12px; }
.search-empty p { margin: 0; font-size: 14px; }

.search-loading {
  text-align: center;
  padding: 50px;
  color: var(--color-muted);
  font-size: 14px;
}
.search-loading::before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--color-hairline);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  vertical-align: middle;
  margin-inline-end: 10px;
  animation: dmlfc-spin 0.8s linear infinite;
}
@keyframes dmlfc-spin { to { transform: rotate(360deg); } }

.search-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-muted);
}
.search-no-results strong { color: var(--color-charcoal); display: block; margin-bottom: 6px; }

.search-group { margin-bottom: 24px; }
.search-group:last-child { margin-bottom: 0; }
.search-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-hairline);
}
.search-group-head .count {
  margin-inline-start: auto;
  background: var(--color-ivory);
  color: var(--color-muted);
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 600;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}
.search-result:hover {
  background: var(--color-ivory);
}
.search-result-thumb {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-body { flex: 1; min-width: 0; }
.search-result-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result-excerpt {
  font-size: 13px;
  color: var(--color-muted);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}
.search-result-arrow {
  flex-shrink: 0;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--dur) var(--ease);
}
.search-result:hover .search-result-arrow {
  opacity: 1;
  transform: translateX(0);
}

.search-view-all {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--color-charcoal);
  color: var(--color-gold);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-top: 18px;
  transition: all var(--dur) var(--ease);
}
.search-view-all:hover {
  background: var(--color-gold);
  color: var(--color-charcoal);
}

@media (max-width: 575.98px) {
  .search-modal-inner { padding: 26px 20px 20px; max-height: 92vh; }
  .search-modal-header h3 { font-size: 20px; }
  .search-modal-form button[type="submit"] { display: none; }
  .search-modal-form { padding-inline-start: 14px; }
}

/* Lock body scroll when modal open */
body.search-open { overflow: hidden; }
