/* ============================================
   THEME V2 — homepage redesign, header & footer
   Loaded after style.css / responsive.css so it wins on shared selectors.
   ============================================ */
:root {
  --v2-gold: #141414;        /* primary (black); name kept for compatibility */
  --v2-gold-dark: #000000;
  --v2-accent: #A87B45;      /* gold */
  --v2-cream: #FFFFFF;
  --v2-cream-2: #F6F5F2;
  --v2-olive: #141414;
  --v2-olive-2: #1E1E1E;
  --v2-text: #141414;
  --v2-muted: #5E5B56;
  --v2-line: #E6E3DE;
  --v2-soft: #F3F1ED;
}

body { background: var(--v2-cream); color: var(--v2-text); }

/* ---------- Buttons & shared type ---------- */
.btn-v2 {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 3px; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent; transition: all .25s ease;
}
.btn-v2-gold { background: var(--v2-gold); color: #fff; }
.btn-v2-gold:hover { background: var(--v2-gold-dark); color: #fff; }
.btn-v2-outline { border-color: var(--v2-gold); color: var(--v2-text); background: #fff; }
.btn-v2-outline:hover { background: var(--v2-gold); color: #fff; }
.btn-v2-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--v2-text); padding-bottom: 4px; border-bottom: 1px solid var(--v2-text);
}
.btn-v2-link:hover { color: var(--v2-gold); border-color: var(--v2-gold); }
.eyebrow-v2 { color: var(--v2-gold); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.title-v2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(1.8rem, 2.6vw, 2.35rem); line-height: 1.15; color: var(--v2-text); margin-bottom: 16px; }
.text-v2 { color: var(--v2-muted); font-size: .9rem; line-height: 1.7; }
.text-light-v2 { color: #F5F0E4; }
.link-v2 { display: inline-flex; align-items: center; gap: 8px; color: var(--v2-gold); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.link-v2:hover { color: var(--v2-gold-dark); }
.link-v2 i { transition: transform .25s ease; }
.link-v2:hover i { transform: translateX(3px); }

/* ---------- Header ---------- */
.main-navbar { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); padding: 14px 0; box-shadow: none; border-bottom: 1px solid var(--v2-line); }
.main-navbar.scrolled { background: #fff; padding: 8px 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 58px; height: auto; flex-shrink: 0; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 500; letter-spacing: .01em; color: var(--v2-text); }
.brand-tagline { font-size: .82rem; letter-spacing: .12em; color: var(--v2-text); font-weight: 400; margin-top: 3px; text-transform: none; }
.navbar-nav .nav-link { font-size: .9rem; font-weight: 400; color: var(--v2-text); padding: 8px 16px !important; position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--v2-gold); font-weight: 500; }
.navbar-nav .nav-link.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -6px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--v2-gold) 60%, var(--v2-accent)); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--v2-gold) !important; color: #fff !important; border-radius: 999px !important; font-size: .88rem !important; font-weight: 500; padding: 11px 22px !important; box-shadow: none !important; border: 0; }
.nav-cta i { font-size: 1.05rem; }
.nav-cta:hover { background: var(--v2-gold-dark) !important; color: #fff !important; }

/* ---------- Hero ---------- */
.hero-v2 { position: relative; min-height: 560px; padding: 70px 0 150px; overflow: hidden; background: var(--v2-cream); }
.hero-v2-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 58%;
  background-size: cover; background-position: center;
}
.hero-v2-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--v2-cream) 0%, rgba(250, 246, 238, .75) 18%, rgba(250, 246, 238, 0) 45%);
}
.hero-v2-content { position: relative; z-index: 2; max-width: 520px; }
.hero-v2-title { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.08; color: var(--v2-text); margin: 0; }
.hero-v2-script { font-family: var(--font-script); color: var(--v2-gold); font-size: clamp(2.4rem, 4.2vw, 3.4rem); line-height: 1.1; margin: 4px 0 18px; }
.hero-v2-desc { color: #3B3B35; font-size: .95rem; line-height: 1.75; margin-bottom: 30px; max-width: 460px; }
.hero-v2-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats-v2 { position: relative; z-index: 3; margin-top: -110px; padding: 0; background: transparent; }
.stats-v2-bar {
  display: grid; grid-template-columns: repeat(5, 1fr); background: var(--v2-olive); border-radius: 6px;
  padding: 26px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}
.stats-v2-item { display: flex; align-items: center; gap: 16px; padding: 4px 22px; border-right: 1px solid rgba(255, 255, 255, .14); }
.stats-v2-item:last-child { border-right: 0; }
.stats-v2-item > i { font-size: 2rem; color: var(--v2-gold); }
.stats-v2-item small { display: block; font-size: .72rem; color: #CFCABB; }
.stats-v2-item strong { display: block; font-family: var(--font-body); font-weight: 500; font-size: 1.35rem; color: #fff; line-height: 1.2; }
.stats-v2 .stat-number { display: inline; font: inherit; color: inherit; }
.stats-v2-item span:not(.stat-number) { display: block; font-size: .74rem; color: #CFCABB; line-height: 1.4; margin-top: 3px; }

/* ---------- Services ---------- */
.services-v2 { padding: 60px 0 50px; }
.services-v2-grid { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 6px; box-shadow: 0 14px 40px rgba(0, 0, 0, .05); overflow: hidden; }
.services-v2-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  padding: 26px 12px; min-height: 140px; border-right: 1px solid var(--v2-line); border-bottom: 1px solid var(--v2-line);
  color: var(--v2-text); font-size: .78rem; line-height: 1.35; transition: all .25s ease;
}
.services-v2-tile:nth-child(5n) { border-right: 0; }
.services-v2-tile:nth-last-child(-n+5):nth-child(5n+1), .services-v2-tile:nth-last-child(-n+5):nth-child(5n+1) ~ .services-v2-tile { border-bottom: 0; }
.services-v2-tile i { font-size: 2.1rem; color: var(--v2-gold); transition: transform .25s ease; }
.services-v2-tile:hover { background: var(--v2-cream); color: var(--v2-gold-dark); }
.services-v2-tile:hover i { transform: translateY(-3px); }

/* ---------- Philosophy ---------- */
.philosophy-v2 {
  padding: 56px 0; background-color: var(--v2-olive-2);
  background-image: radial-gradient(circle at 80% 20%, rgba(168, 128, 47, .08), transparent 45%);
}
.philosophy-v2-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.philosophy-v2-text { color: #D8D3C5; font-size: .88rem; line-height: 1.8; max-width: 560px; margin-bottom: 26px; }
.philosophy-v2-values { display: grid; grid-template-columns: repeat(4, 1fr); }
.philosophy-v2-value { padding: 0 16px; border-left: 1px solid rgba(255, 255, 255, .15); }
.philosophy-v2-value:first-child { padding-left: 0; border-left: 0; }
.philosophy-v2-value h3 { font-family: var(--font-body); font-size: .84rem; font-weight: 500; color: #fff; display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.philosophy-v2-value h3 i { color: var(--v2-gold); }
.philosophy-v2-value p { font-size: .7rem; color: #BDB8AA; line-height: 1.55; margin: 0; }

/* ---------- Team ---------- */
.team-v2 { padding: 60px 0 30px; }
.head-v2 { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.team-v2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.team-v2-card { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, .05); transition: all .3s ease; color: var(--v2-text); }
.team-v2-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 0, 0, .09); color: var(--v2-text); }
.team-v2-photo { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--v2-cream-2); }
.team-v2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.team-v2-card:hover .team-v2-photo img { transform: scale(1.04); }
.team-v2-info { padding: 18px 20px 20px; border-top: 3px solid var(--v2-gold); }
.team-v2-info h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; margin-bottom: 2px; }
.team-v2-info p { font-size: .8rem; color: var(--v2-muted); margin-bottom: 10px; }

/* ---------- Articles ---------- */
.articles-v2 { padding: 40px 0 30px; }
.articles-v2-swiper { padding-bottom: 36px !important; }
.article-v2-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); color: var(--v2-text); }
.article-v2-card:hover { color: var(--v2-text); box-shadow: 0 16px 40px rgba(0, 0, 0, .09); }
.article-v2-img { aspect-ratio: 16 / 7.2; overflow: hidden; background: var(--v2-cream-2); }
.article-v2-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-v2-card:hover .article-v2-img img { transform: scale(1.05); }
.article-v2-body { position: relative; padding: 14px 16px 34px; flex: 1; }
.article-v2-meta { display: flex; gap: 10px; font-size: .62rem; font-weight: 500; color: var(--v2-muted); margin-bottom: 8px; }
.article-v2-meta .gold { color: var(--v2-gold); padding-left: 10px; border-left: 1px solid var(--v2-line); }
.article-v2-body h3 { font-family: var(--font-heading); font-size: 1.08rem; font-weight: 600; line-height: 1.3; margin: 0; }
.article-v2-arrow { position: absolute; right: 16px; bottom: 12px; color: var(--v2-gold); font-size: .85rem; }
.articles-v2-pagination .swiper-pagination-bullet { background: var(--v2-line); opacity: 1; }
.articles-v2-pagination .swiper-pagination-bullet-active { background: var(--v2-gold); }

/* ---------- CTA ---------- */
.cta-v2 { padding: 10px 0 0; position: relative; z-index: 2; margin-bottom: -1px; }
.cta-v2-box {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, #FBF7EF, #F5EEDF); border: 1px solid var(--v2-line); border-bottom: 0;
  border-radius: 8px 8px 0 0; padding: 26px 38px;
}
.cta-v2-icon { width: 64px; height: 64px; border-radius: 6px; background: var(--v2-olive); color: #fff; display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; }
.cta-v2-text { flex: 1; min-width: 220px; }
.cta-v2-text h2 { font-family: var(--font-heading); font-weight: 500; font-size: 1.6rem; margin-bottom: 4px; }
.cta-v2-text p { font-size: .84rem; color: var(--v2-muted); margin: 0; }
.cta-v2-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer-v2 { background: var(--v2-olive); color: #CFCABB; padding: 36px 0 0; font-size: .78rem; }
.footer-v2-top { padding-bottom: 26px; }
.footer-v2-brand { display: flex; align-items: center; gap: 10px; color: var(--v2-gold); margin-bottom: 14px; }
.footer-v2-brand .logo-mark { width: 52px; }
.footer-v2-brand strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 1rem; color: var(--v2-gold); }
.footer-v2-brand small { display: block; font-size: .55rem; letter-spacing: .06em; color: #CFCABB; }
.footer-v2-tagline { font-size: .74rem; line-height: 1.65; margin-bottom: 14px; max-width: 250px; }
.footer-v2-social { display: flex; gap: 8px; }
.footer-v2-social a { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; color: #fff; font-size: .8rem; }
.footer-v2-social a:hover { background: var(--v2-gold); border-color: var(--v2-gold); }
.footer-v2 h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-v2 ul { padding: 0; margin: 0; }
.footer-v2 ul li { margin-bottom: 7px; }
.footer-v2 a { color: #CFCABB; }
.footer-v2 a:hover { color: var(--v2-gold); }
.footer-v2-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-v2-contact i { color: var(--v2-gold); margin-top: 2px; }
.footer-v2-hours strong { display: block; color: #fff; font-weight: 600; }
.footer-v2-hours span { display: block; }
.footer-v2-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 0; font-size: .7rem; }
.footer-v2-bottom p { margin: 0; }
.footer-v2-bottom div { display: flex; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .stats-v2-bar { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .stats-v2-item:nth-child(3) { border-right: 0; }
  .philosophy-v2-values { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .philosophy-v2-value:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 991.98px) {
  .navbar-collapse { background: var(--v2-cream); padding: 12px 0; }
  .hero-v2 { padding: 40px 0 140px; min-height: 0; }
  .hero-v2-media { position: relative; width: auto; height: 280px; margin: 0 16px 28px; border-radius: 6px; }
  .hero-v2-media::after { display: none; }
  .hero-v2 { display: flex; flex-direction: column-reverse; }
  .services-v2-grid { grid-template-columns: repeat(3, 1fr); }
  .services-v2-tile { border-right: 1px solid var(--v2-line) !important; border-bottom: 1px solid var(--v2-line) !important; }
}
@media (max-width: 767.98px) {
  .stats-v2-bar { grid-template-columns: repeat(2, 1fr); padding: 20px 10px; }
  .stats-v2-item { padding: 4px 12px; border-right: 0; }
  .stats-v2-item:last-child { grid-column: 1 / -1; }
  .services-v2-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-v2-box { padding: 22px; }
  .brand-name { font-size: .9rem; }
  .brand-tagline { font-size: .5rem; }
}
@media (max-width: 479.98px) {
  .philosophy-v2-values { grid-template-columns: 1fr; }
  .philosophy-v2-value { padding-left: 0 !important; border-left: 0 !important; }
  .hero-v2-actions { gap: 18px; }
}


/* ============================================
   V3 — legacy sections
   ============================================ */
.eyebrow-v3 { color: var(--v2-gold); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.btn-v3 {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; border-radius: 12px;
  font-size: .95rem; font-weight: 500; border: 1px solid transparent; transition: all .25s ease;
}
.btn-v3 i { transition: transform .25s ease; }
.btn-v3:hover i { transform: translateX(3px); }
.btn-v3-primary { background: var(--v2-gold); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn-v3-primary:hover { background: var(--v2-gold-dark); color: #fff; }
.btn-v3-outline { background: rgba(255, 255, 255, .7); border-color: var(--v2-gold); color: var(--v2-gold); border-radius: 999px; }
.btn-v3-outline:hover { background: var(--v2-gold); color: #fff; }
.icon-v3 { width: 76px; height: 76px; flex-shrink: 0; border-radius: 50%; background: var(--v2-soft); color: var(--v2-gold); display: grid; place-items: center; font-size: 1.9rem; }

/* Hero */
.hero-v3 { position: relative; overflow: hidden; padding: 56px 0 150px; min-height: 560px; background: linear-gradient(180deg, #F6F9F7, #fff); }
.hero-v3-media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; background-size: cover; background-position: center; }
.hero-v3-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #F6F9F7 0%, rgba(246, 249, 247, .85) 16%, rgba(246, 249, 247, 0) 45%);
}
.hero-v3-content { position: relative; z-index: 2; max-width: 620px; }
.hero-v3-title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.08; color: var(--v2-text); margin: 0 0 26px; letter-spacing: -.01em; }
.hero-v3-title span { display: block; color: var(--v2-accent); font-weight: 500; }
.hero-v3-desc { color: var(--v2-muted); font-size: 1.1rem; line-height: 1.7; margin-bottom: 30px; max-width: 540px; }
.hero-v3-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Feature bar */
.features-v3 { position: relative; z-index: 3; margin-top: -100px; }
.features-v3-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: #fff; border-radius: 16px;
  padding: 28px; box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}
.features-v3-item { display: flex; align-items: center; gap: 22px; }
.features-v3-item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--v2-text); margin-bottom: 6px; }
.features-v3-item p { font-size: .86rem; color: var(--v2-muted); line-height: 1.6; margin: 0; }

/* About + services */
.about-v3 { padding: 70px 0 60px; }
.title-v3 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.9rem, 3.3vw, 2.8rem); line-height: 1.15; color: var(--v2-text); margin-bottom: 22px; }
.title-v3 span { display: block; color: var(--v2-accent); font-weight: 500; }
.divider-v3 { width: 78px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--v2-gold) 40%, var(--v2-accent) 40%); opacity: .85; margin-bottom: 26px; }
.text-v3 { color: var(--v2-muted); font-size: 1rem; line-height: 1.8; max-width: 600px; margin-bottom: 34px; }
.services-v3-card { background: #F7FAF8; border: 1px solid var(--v2-line); border-radius: 18px; padding: 22px 18px 18px; }
.services-v3-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.65rem; color: var(--v2-text); margin-bottom: 18px; }
.services-v3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.services-v3-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 10px 14px;
  background: #fff; border-radius: 10px; color: var(--v2-text); transition: all .25s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}
.services-v3-tile .icon-v3 { width: 56px; height: 56px; font-size: 1.45rem; margin-bottom: 8px; }
.services-v3-tile strong { font-size: .88rem; font-weight: 600; }
.services-v3-tile small { font-size: .78rem; color: var(--v2-muted); line-height: 1.5; }
.services-v3-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .09); color: var(--v2-text); }

/* Stats bar now sits after services */
.stats-v2 { margin-top: 0; padding: 0 0 50px; }
.stats-v2-item > i { color: #C9A26F; }

@media (max-width: 1199.98px) {
  .features-v3-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  .hero-v3 { display: flex; flex-direction: column-reverse; padding: 30px 0 130px; min-height: 0; }
  .hero-v3-media { position: relative; width: auto; height: 280px; margin: 0 16px 28px; border-radius: 14px; }
  .hero-v3-media::after { display: none; }
  .nav-cta { margin-top: 8px; }
  .navbar-nav .nav-link.active::after { display: none; }
}
@media (max-width: 767.98px) {
  .features-v3-bar { grid-template-columns: 1fr; padding: 22px; }
  .icon-v3 { width: 60px; height: 60px; font-size: 1.5rem; }
  .services-v3-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-name { font-size: 1rem; }
  .brand-tagline { font-size: .66rem; }
  .logo-mark { width: 46px; }
}
@media (max-width: 400px) {
  .services-v3-grid { grid-template-columns: 1fr; }
}

/* Footer on black */
.footer-v2-brand strong { color: #fff; }
.footer-v2-brand .logo-mark { filter: brightness(0) invert(1); opacity: .9; }
.footer-v2 a:hover, .footer-v2-contact i { color: #C9A26F; }
.footer-v2-social a:hover { background: var(--v2-accent); border-color: var(--v2-accent); }



/* ============================================
   V4 — base layout (colours overridden by the Yusfa theme below)
   ============================================ */
:root {
  --v4-black: #141414;
  --v4-gold: #A87B45;
  --v4-gold-light: #C9A26F;
  --v4-paper: #F6F5F2;
  --v4-line: #E6E3DE;
  --v4-muted: #5E5B56;
  --v4-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M28 2 L54 28 L28 54 L2 28 Z'/%3E%3Cpath d='M28 12 L44 28 L28 44 L12 28 Z'/%3E%3Ccircle cx='28' cy='28' r='6'/%3E%3C/g%3E%3C/svg%3E");
}
body { font-family: var(--font-body); background: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

/* ---------- Buttons & shared type ---------- */
.btn-v4 {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border-radius: 4px;
  font-size: .95rem; font-weight: 500; border: 1px solid transparent; transition: all .25s ease; cursor: pointer;
}
.btn-v4 i { transition: transform .25s ease; }
.btn-v4:hover .bi-arrow-right { transform: translateX(3px); }
.btn-v4-sm { padding: 9px 20px; font-size: .88rem; }
.btn-v4-dark { background: var(--v4-black); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn-v4-dark:hover { background: var(--v4-gold); color: #fff; }
.btn-v4-light { background: #fff; color: var(--v4-black); border-color: var(--v4-black); }
.btn-v4-light:hover { background: var(--v4-black); color: #fff; }
.btn-v4-white { background: #fff; color: var(--v4-black); }
.btn-v4-white:hover { background: var(--v4-gold); color: #fff; }
.eyebrow-v4 { color: var(--v4-gold); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.title-v4 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--v4-black); margin: 0; position: relative; padding-bottom: 14px; }
.title-v4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--v4-gold); }
.title-v4-sm { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: 16px; }
.text-v4 { color: var(--v4-muted); font-size: .92rem; line-height: 1.7; }
.link-v4 { display: inline-flex; align-items: center; gap: 10px; color: var(--v4-black); font-size: .82rem; font-weight: 500; background: none; border: 0; padding: 0; }
.link-v4:hover { color: var(--v4-gold); }
.link-v4 i { transition: transform .25s ease; }
.link-v4:hover i { transform: translateX(3px); }
.head-v4 { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }

/* ---------- Header: floating white card ---------- */
.main-navbar { background: transparent; border: 0; padding: 0; backdrop-filter: none; }
.main-navbar.scrolled { background: transparent; padding: 0; box-shadow: none; }
.main-navbar > .container {
  background: #fff; border-radius: 0 0 10px 10px; padding: 10px 36px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  flex-wrap: wrap; transition: padding .25s ease;
}
.main-navbar.scrolled > .container { padding-top: 6px; padding-bottom: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.brand-logo { gap: 14px; }
.logo-mark { width: 48px; }
.brand-text { align-items: center; line-height: 1; }
.brand-name { font-family: var(--font-heading); font-size: 1.65rem; font-weight: 400; color: var(--v4-black); letter-spacing: .02em; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: .62rem; letter-spacing: .32em; color: var(--v4-black); margin-top: 4px; font-weight: 500; }
.brand-sub::before, .brand-sub::after { content: ""; width: 16px; height: 1px; background: var(--v4-gold); }
.brand-tagline { font-size: .52rem; letter-spacing: .38em; color: var(--v4-black); margin-top: 5px; padding-top: 4px; border-top: 1px solid var(--v4-gold); text-transform: uppercase; }
.navbar-nav .nav-link { font-size: .95rem; color: var(--v4-black); padding: 8px 17px !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--v4-black); font-weight: 500; }
.navbar-nav .nav-link.active::after { left: 17px; right: 17px; bottom: -2px; height: 2px; background: var(--v4-gold); }
.navbar-nav .dropdown-menu { border: 1px solid var(--v4-line); border-radius: 6px; box-shadow: 0 16px 36px rgba(0, 0, 0, .1); padding: 8px; }
.navbar-nav .dropdown-item { font-size: .9rem; border-radius: 4px; padding: 8px 14px; }
.navbar-nav .dropdown-item:hover { background: var(--v4-paper); color: var(--v4-gold); }
.nav-tools { display: flex; align-items: center; gap: 22px; }
.nav-search-btn { background: none; border: 0; font-size: 1.15rem; color: var(--v4-black); padding: 4px; }
.nav-search-btn:hover { color: var(--v4-gold); }
.nav-cta { background: var(--v4-black) !important; border-radius: 5px !important; padding: 11px 24px !important; font-size: .92rem !important; }
.nav-cta:hover { background: var(--v4-gold) !important; }
.nav-search { width: 100%; gap: 8px; padding: 10px 0 6px; }
.nav-search.show, .nav-search.collapsing { display: flex; }
.nav-search input { flex: 1; border: 1px solid var(--v4-line); border-radius: 5px; padding: 10px 14px; font-size: .92rem; outline: none; }
.nav-search input:focus { border-color: var(--v4-gold); }
.nav-search button { border: 0; background: var(--v4-black); color: #fff; border-radius: 5px; padding: 0 18px; }

/* ---------- Hero ---------- */
.hero-v4 { position: relative; overflow: hidden; margin-top: -92px; padding: 150px 0 70px; min-height: 480px; background: var(--v4-paper) var(--v4-pattern); }
.hero-v4-media { position: absolute; top: 0; right: 0; bottom: 0; left: 7%; background-size: cover; background-position: right top; border-top-left-radius: 260px 200px; }
.hero-v4-media::after {
  content: ""; position: absolute; inset: 0; border-top-left-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 30%, rgba(255, 255, 255, 0) 62%);
}
.hero-v4-content { position: relative; z-index: 2; max-width: 680px; margin-left: 6%; }
.hero-v4-title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.15; color: var(--v4-black); margin: 0 0 14px; }
.hero-v4-title span { display: block; color: var(--v4-gold); }
.hero-v4-sub { font-family: var(--font-heading); font-size: 1.05rem; color: var(--v4-black); margin-bottom: 14px; }
.hero-v4-desc { font-size: .98rem; color: #3A3835; line-height: 1.6; max-width: 440px; margin-bottom: 22px; }
.hero-v4-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-v4-actions .btn-v4 { min-width: 160px; justify-content: center; }

/* ---------- Feature bar ---------- */
.features-v4 { background: var(--v4-black); position: relative; z-index: 2; }
.features-v4-bar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 0; }
.features-v4-item { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 20px; border-left: 1px solid rgba(255, 255, 255, .22); }
.features-v4-item:first-child { border-left: 0; }
.features-v4-item i { font-size: 1.9rem; color: var(--v4-gold-light); line-height: 1; }
.features-v4-item p { margin: 0; color: #E9E6E0; font-size: .86rem; line-height: 1.45; }

/* ---------- Services ---------- */
.services-v4 { padding: 26px 0 20px; background: #fff var(--v4-pattern); }
.services-v4-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.services-v4-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px 18px;
  background: #fff; border: 1px solid var(--v4-line); border-radius: 3px; color: var(--v4-black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04); transition: all .25s ease;
}
.services-v4-card.is-extra { display: none; }
.services-v4-grid.show-all .services-v4-card.is-extra { display: flex; }
.services-v4-card i { font-size: 2.1rem; line-height: 1; margin-bottom: 14px; transition: color .25s ease; }
.services-v4-card h3 { font-family: var(--font-heading); font-size: .98rem; font-weight: 700; margin-bottom: 10px; }
.services-v4-card p { font-size: .8rem; color: var(--v4-muted); line-height: 1.45; margin: 0; }
.services-v4-card:hover { transform: translateY(-4px); border-color: var(--v4-gold-light); box-shadow: 0 16px 34px rgba(0, 0, 0, .09); color: var(--v4-black); }
.services-v4-card:hover i { color: var(--v4-gold); }

/* ---------- About + Articles ---------- */
.about-v4 { padding: 20px 0 22px; background: #fff; }
.about-v4-wrap { display: grid; grid-template-columns: minmax(0, 44%) 1fr; gap: 20px; align-items: start; }
.about-v4-wrap:not(:has(.about-v4-img)) { grid-template-columns: 1fr; }
.about-v4-img { border-radius: 3px; overflow: hidden; height: 100%; min-height: 200px; }
.about-v4-img img { width: 100%; height: 100%; object-fit: cover; }
.about-v4-text p { font-size: .86rem; color: var(--v4-muted); line-height: 1.55; margin-bottom: 12px; }
.about-v4-text .title-v4 { padding-bottom: 0; margin-bottom: 18px; }
.about-v4-text .title-v4::after { display: none; }
.articles-v4-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.article-v4-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--v4-line); border-radius: 3px; overflow: hidden; color: var(--v4-black); transition: all .25s ease; }
.article-v4-card:hover { color: var(--v4-black); box-shadow: 0 14px 30px rgba(0, 0, 0, .09); transform: translateY(-3px); }
.article-v4-img { aspect-ratio: 16 / 10; background: var(--v4-paper); overflow: hidden; }
.article-v4-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-v4-card:hover .article-v4-img img { transform: scale(1.05); }
.article-v4-body { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; }
.article-v4-body small { font-size: .68rem; color: var(--v4-muted); margin-bottom: 4px; }
.article-v4-body h3 { font-family: var(--font-heading); font-size: .84rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.article-v4-more { margin-top: auto; font-size: .74rem; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.article-v4-card:hover .article-v4-more { color: var(--v4-gold); }

/* ---------- Stats & team restyle ---------- */
.stats-v2 { padding: 26px 0 30px; }
.stats-v2-bar { background: var(--v4-black); border-radius: 4px; }
.stats-v2-item > i { color: var(--v4-gold-light); }
.team-v2 { padding: 30px 0 40px; background: var(--v4-paper) var(--v4-pattern); }
.team-v2-card { border-radius: 3px; border: 1px solid var(--v4-line); }
.team-v2-info { border-top-color: var(--v4-gold); }
.team-v2-info h3 { font-size: 1.05rem; font-weight: 700; }

/* ---------- Contact ---------- */
.contact-v4 { padding: 12px 0 18px; background: var(--v4-paper); }
.contact-v4-grid { display: grid; grid-template-columns: 1.45fr 1fr .8fr; gap: 14px; align-items: stretch; }
.contact-v4-info { padding: 12px 0; }
.contact-v4-info .text-v4 { font-size: .82rem; margin-bottom: 18px; }
.contact-v4-items { display: flex; gap: 22px; flex-wrap: wrap; }
.contact-v4-item { display: flex; gap: 10px; align-items: flex-start; color: var(--v4-black); }
.contact-v4-item:hover { color: var(--v4-gold); }
.contact-v4-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--v4-black); color: #fff; display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.contact-v4-icon.plain { background: none; color: var(--v4-black); font-size: 1.4rem; }
.contact-v4-item strong { display: block; font-size: .82rem; font-weight: 600; }
.contact-v4-item small { display: block; font-size: .74rem; color: var(--v4-muted); line-height: 1.45; }
.contact-v4-map { position: relative; border-radius: 4px; overflow: hidden; min-height: 150px; background: #E9E7E3; border: 1px solid var(--v4-line); }
.contact-v4-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.9) brightness(1.05); }
.contact-v4-pins { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.contact-v4-pin { pointer-events: auto; display: flex; gap: 6px; align-items: flex-start; background: rgba(255, 255, 255, .94); padding: 5px 10px 5px 7px; border-radius: 4px; color: var(--v4-black); box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.contact-v4-pin i { color: var(--v4-gold); }
.contact-v4-pin strong { display: block; font-size: .74rem; font-weight: 600; line-height: 1.2; }
.contact-v4-pin small { display: block; font-size: .66rem; color: var(--v4-muted); }
.contact-v4-cta { display: flex; gap: 14px; align-items: flex-start; background: var(--v4-black); color: #fff; border-radius: 4px; padding: 16px; }
.contact-v4-cta-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.contact-v4-cta h3 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.contact-v4-cta p { font-size: .72rem; color: #CFCBC4; line-height: 1.5; margin-bottom: 12px; }
.contact-v4-cta .btn-v4 { font-size: .76rem; padding: 8px 14px; }

/* ---------- Footer ---------- */
.footer-v2 { background: var(--v4-black); }
.footer-v2-brand .logo-mark { filter: brightness(0) invert(1); }
.footer-v2-brand strong { font-size: 1.15rem; font-weight: 400; letter-spacing: .02em; }
.footer-v2-brand em { display: block; font-style: normal; font-size: .52rem; letter-spacing: .3em; color: var(--v4-gold-light); margin-top: 2px; }
.footer-v2-brand small { letter-spacing: .3em; font-size: .48rem; }
.footer-v2 a:hover, .footer-v2-contact i { color: var(--v4-gold-light); }
.footer-v2-social a:hover { background: var(--v4-gold); border-color: var(--v4-gold); }

/* Other pages: shared gold buttons */
.btn-primary-gold { background: var(--v4-black) !important; border-color: var(--v4-black) !important; color: #fff !important; }
.btn-primary-gold:hover { background: var(--v4-gold) !important; border-color: var(--v4-gold) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
  .navbar-nav .nav-link { padding: 8px 11px !important; }
  .navbar-nav .nav-link.active::after { left: 11px; right: 11px; }
  .main-navbar > .container { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 1199.98px) {
  .services-v4-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-v4-grid { grid-template-columns: 1fr 1fr; }
  .contact-v4-info { grid-column: 1 / -1; }
  .nav-tools { gap: 12px; }
  .nav-cta { padding: 10px 16px !important; }
}
@media (max-width: 991.98px) {
  .main-navbar > .container { border-radius: 0; padding: 10px 16px; }
  .navbar-collapse { background: #fff; padding: 8px 0 12px; }
  .navbar-nav .nav-link.active::after { display: none; }
  .nav-tools { margin-top: 8px; }
  .hero-v4 { margin-top: 0; padding: 40px 0 36px; min-height: 0; }
  .hero-v4-media { left: 0; border-radius: 0; }
  .hero-v4-media::after { border-radius: 0; background: rgba(255, 255, 255, .82); }
  .hero-v4-content { margin-left: 0; }
  .features-v4-bar { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .features-v4-item { justify-content: flex-start; }
  .features-v4-item:nth-child(3) { border-left: 0; }
  .about-v4-img { min-height: 240px; }
}
@media (max-width: 767.98px) {
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: .52rem; }
  .brand-tagline { font-size: .46rem; }
  .logo-mark { width: 40px; }
  .services-v4-grid { grid-template-columns: repeat(2, 1fr); }
  .about-v4-wrap { grid-template-columns: 1fr; }
  .articles-v4-grid { grid-template-columns: 1fr; }
  .article-v4-card { flex-direction: row; }
  .article-v4-img { width: 38%; aspect-ratio: auto; flex-shrink: 0; }
  .contact-v4-grid { grid-template-columns: 1fr; }
  .contact-v4-map { min-height: 220px; }
}
@media (max-width: 479.98px) {
  .features-v4-bar { grid-template-columns: 1fr; }
  .features-v4-item { border-left: 0; padding: 6px 4px; }
  .services-v4-grid { grid-template-columns: 1fr; }
  .hero-v4-actions .btn-v4 { flex: 1; }
}

/* Hero on tablet/mobile: text first, then photo cropped around the two lawyers */
@media (max-width: 991.98px) {
  .hero-v4 { display: flex; flex-direction: column; padding: 34px 0 0; }
  .hero-v4-media {
    position: relative; order: 2; left: auto; width: 100%; aspect-ratio: 1 / 1; max-height: 520px;
    margin-top: 28px; background-position: 96% center;
  }
  .hero-v4-media::after { display: none; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-v4-media { aspect-ratio: 16 / 10; background-position: 100% 20%; }
}
@media (max-width: 479.98px) {
  .hero-v4-actions { gap: 10px; }
  .hero-v4-actions .btn-v4 { min-width: 0; padding: 12px 10px; white-space: nowrap; font-size: .9rem; }
}



/* ============================================
   YUSFA HANIS & PARTNERS: purple & teal theme
   (overrides the V4 tokens above; layout unchanged)
   ============================================ */
:root {
  --v4-black: #2A1B4D;       /* ink (primary) */
  --v4-gold: #2FAFAA;        /* teal accent */
  --v4-gold-light: #5FE0DA;
  --v4-paper: #F7F5FA;
  --v4-line: #E4DEEE;
  --v4-muted: #564E6C;
  --yh-ink-2: #341F63;
  --yh-violet: #8A63C9;
  --yh-paper-2: #EBE6F4;
  --yh-text: #201A38;
}
body { color: var(--yh-text); background: #fff; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; letter-spacing: -.01em; color: var(--v4-black); }
::selection { background: var(--v4-gold-light); color: var(--v4-black); }

/* ---------- Brand (mark + name) ---------- */
.brand-logo { gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; display: block; }
.brand-text { align-items: flex-start; line-height: 1.15; }
.brand-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; letter-spacing: 0; color: var(--v4-black); white-space: nowrap; }
.brand-tagline {
  font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--v4-gold); margin-top: 3px; padding-top: 0; border-top: 0;
}
.navbar-nav .nav-link { font-size: .92rem; }
.navbar-nav .nav-link:hover { color: var(--v4-gold); }
.nav-cta { background: transparent !important; color: var(--v4-black) !important; border: 1px solid var(--v4-black) !important; border-radius: 2px !important; }
.nav-cta:hover { background: var(--v4-black) !important; color: #fff !important; }
.main-navbar > .container { box-shadow: 0 10px 30px rgba(42, 27, 77, .08); }

/* ---------- Buttons & type ---------- */
.btn-v4 { border-radius: 2px; }
.btn-v4-dark { box-shadow: 0 8px 20px rgba(42, 27, 77, .2); }
.btn-v4-dark:hover { background: var(--v4-gold); color: #fff; }
.btn-v4-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-v4-outline-light:hover { background: #fff; color: var(--v4-black); }
.btn-v4-white:hover { background: var(--v4-gold); color: #fff; }
.title-v4 { font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; }
.title-v4-sm { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.eyebrow-v4 { color: var(--v4-gold); }
.link-v4 { color: var(--v4-black); }
.link-v4:hover { color: var(--v4-gold); }

/* ---------- Hero ---------- */
.hero-v4 { min-height: 560px; padding: 160px 0 90px; background: var(--v4-paper); }
.hero-v4-media { top: 96px; left: 48%; background-size: cover; background-position: center top; border-top-left-radius: 240px 200px; }
.hero-v4-media::after { background: linear-gradient(90deg, rgba(247, 245, 250, 1) 0%, rgba(247, 245, 250, .55) 14%, rgba(247, 245, 250, 0) 34%); }
.hero-v4-content { max-width: 560px; margin-left: 0; }
.hero-v4-eyebrow, .page-hero-eyebrow {
  display: flex; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--v4-gold); font-weight: 600; margin-bottom: 20px;
}
.hero-v4-eyebrow .line, .page-hero-eyebrow .line { width: 36px; height: 1px; background: currentColor; flex-shrink: 0; }
.hero-v4-title { font-weight: 500; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.14; color: var(--v4-black); }
.hero-v4-title span { display: inline; color: var(--yh-violet); font-style: italic; }
.hero-v4-desc { color: var(--v4-muted); max-width: 470px; }
.hero-v4-actions .btn-v4 { min-width: 180px; }

/* ---------- Feature bar ---------- */
.features-v4 { background: var(--v4-black); }
.features-v4-item p { color: #DCD6EA; }
.features-v4-item p strong { color: #fff; font-weight: 600; }
.features-v4-item i { color: var(--v4-gold-light); }

/* ---------- Firm introduction + areas ---------- */
.about-v4 { padding: 64px 0 56px; }
.about-v4-text p { font-size: .95rem; line-height: 1.75; }
.about-v4-text .title-v4 { margin-bottom: 20px; }
.areas-card { background: var(--v4-paper); border: 1px solid var(--v4-line); border-top: 3px solid var(--v4-gold); padding: 26px 26px 22px; }
.areas-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.areas-list li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--v4-black); }
.areas-list i { color: var(--v4-gold); font-size: .85rem; }
.firm-quote { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--v4-line); font-family: var(--font-heading); font-style: italic; font-size: 1.02rem; line-height: 1.6; color: var(--yh-ink-2); }

/* ---------- Founder ---------- */
.founder-v4 { position: relative; background: var(--v4-black); color: #DCD6EA; padding: 72px 0; overflow: hidden; }
.founder-v4::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; opacity: .1;
  background: url("../img/brand/logo-mark.svg") no-repeat center / contain;
}
.founder-v4-grid { position: relative; display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 56px; align-items: center; }
.founder-v4-photo { position: relative; }
.founder-v4-photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--v4-gold); z-index: 0; }
.founder-v4-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.founder-v4-text h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 4px; }
.founder-v4 .eyebrow-v4 { color: var(--v4-gold-light); }
.founder-v4-role { color: var(--v4-gold-light); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.founder-v4-quote { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; color: var(--yh-violet); margin-bottom: 18px; }
.founder-v4 .founder-v4-quote { color: var(--v4-gold-light); }
.founder-v4-text p:not(.eyebrow-v4):not(.founder-v4-role):not(.founder-v4-quote) { font-size: .95rem; line-height: 1.75; }
.founder-v4-text .btn-v4 { margin-top: 8px; }

/* ---------- Services (home cards) ---------- */
.services-v4 { padding: 64px 0 40px; background: #fff; }
.services-v4-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.services-v4-card { align-items: flex-start; text-align: left; padding: 26px 22px; border-radius: 2px; border-top: 3px solid transparent; }
.services-v4-card i { color: var(--v4-gold); font-size: 1.9rem; }
.services-v4-card h3 { font-size: 1.12rem; font-weight: 500; }
.services-v4-card p { font-size: .84rem; line-height: 1.6; }
.services-v4-card:hover { border-color: var(--v4-line); border-top-color: var(--v4-gold); box-shadow: 0 16px 34px rgba(42, 27, 77, .1); }
.services-v4-card:hover i { color: var(--yh-violet); }

/* ---------- Stats ---------- */
.stats-v2 { padding: 20px 0 50px; background: #fff; }
.stats-v2-bar { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: linear-gradient(120deg, var(--v4-black), var(--yh-ink-2)); border-radius: 2px; box-shadow: 0 20px 50px rgba(42, 27, 77, .2); }
.stats-v2-item small, .stats-v2-item span:not(.stat-number) { color: #CFC8E2; }

/* ---------- News (home) ---------- */
.news-v4 { padding: 56px 0 60px; background: var(--v4-paper); }
.articles-v4-grid { gap: 18px; }
.article-v4-card { border-radius: 2px; }
.article-v4-body { padding: 16px 18px 18px; }
.article-v4-body h3 { font-size: 1.02rem; font-weight: 500; }
.article-v4-card:hover { box-shadow: 0 14px 30px rgba(42, 27, 77, .1); }
.article-v4-img:empty { background: linear-gradient(135deg, var(--v4-black), var(--yh-violet)); }

/* ---------- Get in touch (home & news pages) ---------- */
.contact-v4 { padding: 64px 0; background: var(--v4-paper); border-top: 1px solid var(--v4-line); }
.contact-v4-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-v4-info .text-v4 { font-size: .95rem; margin-bottom: 26px; }
.contact-v4-items { flex-direction: column; gap: 16px; }
.contact-v4-item { align-items: center; gap: 14px; }
.contact-v4-icon { width: 40px; height: 40px; background: var(--v4-black); color: var(--v4-gold-light); font-size: 1rem; }
.contact-v4-item strong { font-size: .92rem; }
.contact-v4-item small { font-size: .85rem; }
.contact-v4-form { background: #fff; border: 1px solid var(--v4-line); border-top: 3px solid var(--v4-gold); padding: 30px; box-shadow: 0 20px 50px rgba(42, 27, 77, .06); }

/* ---------- Enquiry form ---------- */
.enquiry-form { display: flex; flex-direction: column; gap: 16px; }
.enquiry-field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--v4-black); margin-bottom: 6px; }
.enquiry-field input, .enquiry-field textarea {
  width: 100%; border: 1px solid var(--v4-line); border-radius: 2px; background: var(--v4-paper); padding: 12px 14px;
  font: inherit; font-size: .95rem; color: var(--yh-text); transition: border-color .2s ease, background .2s ease;
}
.enquiry-field input:focus, .enquiry-field textarea:focus { outline: none; border-color: var(--v4-gold); background: #fff; box-shadow: 0 0 0 3px rgba(47, 175, 170, .15); }
.enquiry-form .btn-v4 { align-self: flex-start; min-width: 160px; justify-content: center; }
.enquiry-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 2px; font-size: .9rem; line-height: 1.5; }
.enquiry-alert i { font-size: 1.1rem; margin-top: 1px; }
.enquiry-alert-success { background: rgba(47, 175, 170, .12); color: #1C6E6A; border: 1px solid rgba(47, 175, 170, .4); }
.enquiry-alert-error { background: #FBEDEF; color: #9B2C3C; border: 1px solid #F0C4CB; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; margin-top: -92px; padding: 170px 0 70px; background: var(--v4-black); color: #DCD6EA; }
.page-hero-content { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.12; margin-bottom: 16px; }
.page-hero-eyebrow { color: var(--v4-gold-light); }
.page-hero-lead { font-size: 1.05rem; line-height: 1.7; color: #CFC8E2; max-width: 620px; margin: 0; }
.page-hero-mark { position: absolute; right: -60px; top: 40px; width: 340px; height: 340px; opacity: .1; pointer-events: none; }
.inner-section { padding: 70px 0; background: #fff; }
.inner-section-alt { background: var(--v4-paper); }
.prose-v4 p { font-size: 1rem; line-height: 1.8; color: var(--v4-muted); margin-bottom: 16px; }
.prose-v4-closing { font-size: 1rem; line-height: 1.8; color: var(--v4-black); font-weight: 500; margin: 0; }
.verse-quote { margin: 30px 0; padding: 26px 30px; background: #fff; border-left: 3px solid var(--v4-gold); box-shadow: 0 14px 34px rgba(42, 27, 77, .06); }
.verse-quote blockquote { margin: 0 0 8px; font-family: var(--font-heading); font-style: italic; font-size: 1.4rem; line-height: 1.45; color: var(--v4-black); }
.verse-quote figcaption { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--v4-gold); font-weight: 600; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--v4-black), var(--yh-ink-2)); padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Our Team */
.lawyers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.lawyer-card { background: #fff; border: 1px solid var(--v4-line); display: grid; grid-template-columns: 200px 1fr; overflow: hidden; }
.lawyer-card-photo { display: block; background: var(--v4-paper); }
.lawyer-card-photo img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: top; transition: transform .5s ease; }
.lawyer-card:hover .lawyer-card-photo img { transform: scale(1.03); }
.lawyer-card-body { padding: 24px 24px 20px; border-left: 3px solid var(--v4-gold); }
.lawyer-card-body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.lawyer-card-body h3 a { color: inherit; }
.lawyer-card-body h3 a:hover { color: var(--v4-gold); }
.lawyer-card-role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--v4-gold); font-weight: 600; margin-bottom: 8px; }
.lawyer-card-quote { font-family: var(--font-heading); font-style: italic; color: var(--yh-violet); margin-bottom: 10px; }
.lawyer-card-body p:not(.lawyer-card-role):not(.lawyer-card-quote) { font-size: .88rem; line-height: 1.7; color: var(--v4-muted); margin-bottom: 0; }
.profile-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-bottom: 3px solid var(--v4-gold); }
.profile-name { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 8px; }

/* Syariah Services */
.service-list { display: flex; flex-direction: column; }
.service-row { display: grid; grid-template-columns: 70px 64px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--v4-line); scroll-margin-top: 110px; }
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: 0; padding-bottom: 0; }
.service-row-num { font-family: var(--font-heading); font-size: 2.4rem; line-height: 1; color: var(--v4-line); }
.service-row-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--v4-paper); display: grid; place-items: center; font-size: 1.6rem; color: var(--v4-gold); }
.service-row-body h2 { font-size: 1.6rem; margin-bottom: 12px; }
.service-row-body p { font-size: 1rem; line-height: 1.8; color: var(--v4-muted); max-width: 780px; }
.service-row-items { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.service-row-items li { display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--v4-black); }
.service-row-items i { color: var(--v4-gold); }

/* Contact Us */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: .98rem; }
.contact-list a { color: var(--v4-black); }
.contact-list a:hover { color: var(--v4-gold); }
.contact-address { font-style: normal; font-size: .98rem; line-height: 1.75; color: var(--v4-muted); margin: 0; }
.enquiry-card { background: var(--v4-paper); border: 1px solid var(--v4-line); border-top: 3px solid var(--v4-gold); padding: 32px; }
.enquiry-card .enquiry-field input, .enquiry-card .enquiry-field textarea { background: #fff; }
.contact-map { margin-top: 56px; height: 380px; border: 1px solid var(--v4-line); overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75); }

/* News list / post (shared older classes) */
.article-card { border-radius: 2px; }
.article-img-wrap:empty { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--v4-black), var(--yh-violet)); }
.btn-outline-gold { border-color: var(--v4-black) !important; color: var(--v4-black) !important; border-radius: 2px !important; }
.btn-outline-gold:hover { background: var(--v4-black) !important; color: #fff !important; }
.btn-primary-gold { border-radius: 2px !important; }
.pagination .page-link { color: var(--v4-black); }
.pagination .active > .page-link { background: var(--v4-black); border-color: var(--v4-black); color: #fff; }
.page-content a { color: var(--v4-gold); }

/* ---------- Footer ---------- */
.footer-v2 { background: #1E1338; color: #CFC8E2; padding-top: 48px; font-size: .86rem; }
.footer-v2-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand-text { align-items: flex-start; }
.footer-brand-text .brand-name { color: #fff; font-size: 1.2rem; }
.footer-brand-text .brand-tagline { color: var(--v4-gold-light); }
.footer-v2-tagline { font-size: .86rem; max-width: 340px; }
.footer-v2 h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-v2 a { color: #CFC8E2; }
.footer-v2 a:hover, .footer-v2-contact i { color: var(--v4-gold-light); }
.footer-v2 ul li { margin-bottom: 8px; }
.footer-v2-social a { width: 36px; height: 36px; }
.footer-v2-social a:hover { background: var(--v4-gold); border-color: var(--v4-gold); color: #fff; }
.footer-v2-bottom { margin-top: 28px; padding: 18px 0; font-size: .8rem; }
.floating-whatsapp { background: #25D366; }
.back-to-top { background: var(--v4-black); }
.back-to-top:hover { background: var(--v4-gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .contact-v4-grid { grid-template-columns: 1fr 1fr; }
  .contact-v4-info { grid-column: auto; }
  .lawyer-card { grid-template-columns: 1fr; }
  .lawyer-card-photo img { min-height: 0; aspect-ratio: 4 / 4.2; }
  .lawyer-card-body { border-left: 0; border-top: 3px solid var(--v4-gold); }
}
@media (max-width: 991.98px) {
  .hero-v4 { padding: 40px 0 0; min-height: 0; }
  .hero-v4-media {
    position: relative; order: 2; top: auto; left: auto; width: 100%; aspect-ratio: 3 / 2; max-height: none; margin-top: 28px;
    border-radius: 0; background-image: url("../img/hero/hero-team-mobile.webp") !important; background-position: center;
  }
  .page-hero { margin-top: 0; padding: 64px 0 48px; }
  .founder-v4-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-v4-photo { max-width: 340px; }
  .contact-v4-grid { grid-template-columns: 1fr; gap: 32px; }
  .areas-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .brand-name { font-size: 1.02rem; }
  .brand-tagline { font-size: .56rem; }
  .brand-mark { width: 28px; height: 28px; }
  .lawyers-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 52px 1fr; gap: 16px; }
  .service-row-num { display: none; }
  .service-row-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .areas-list { grid-template-columns: repeat(2, 1fr); }
  .inner-section, .about-v4, .services-v4, .founder-v4 { padding-top: 48px; padding-bottom: 48px; }
  .contact-v4-form, .enquiry-card { padding: 22px; }
  .contact-map { height: 280px; margin-top: 40px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .page-hero-mark { width: 220px; height: 220px; right: -60px; top: 20px; }
}
@media (max-width: 479.98px) {
  .enquiry-form .btn-v4 { align-self: stretch; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn-v4 { flex: 1; justify-content: center; }
}

/* Spacing below section titles in text sections */
.inner-section .title-v4, .about-v4 .title-v4 { margin-bottom: 22px; }
.inner-section .head-v4 .title-v4 { margin-bottom: 0; }

/* Enquiry form: privacy consent line */
.enquiry-consent { font-size: .8rem; line-height: 1.55; color: var(--v4-muted); margin: 0; }
.enquiry-consent a { color: var(--v4-black); text-decoration: underline; }
.enquiry-consent a:hover { color: var(--v4-gold); }
