/* ==========================================================================
   Manganye-Khazamula Attorneys
   Brand palette derived from the firm logo (deep maroon + gold)
   ========================================================================== */

:root {
  --brand-maroon: #8e1116;
  --brand-maroon-dark: #6b0c10;
  --brand-maroon-soft: #b4272c;
  --brand-gold: #e0a007;
  --brand-gold-dark: #b57f04;
  --brand-ink: #1c1917;
  --brand-body: #4a4643;
  --brand-line: #e6e1dc;
  --brand-cream: #faf7f3;
  --brand-cream-2: #f3ede6;
  --brand-white: #ffffff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.08);
  --shadow-md: 0 10px 30px rgba(28, 25, 23, 0.10);
  --shadow-lg: 0 24px 60px rgba(28, 25, 23, 0.16);

  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--brand-body);
  background: var(--brand-white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-maroon); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand-gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 880px); margin-inline: auto; }

.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-cream { background: var(--brand-cream); }
.section-ink { background: var(--brand-ink); color: #ddd6d0; }
.section-ink h2, .section-ink h3 { color: #fff; }

.lead { font-size: 1.14rem; color: var(--brand-body); }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 760px; }

.rule {
  width: 72px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-maroon), var(--brand-gold));
  margin: 0 0 26px;
}
.center .rule { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--brand-maroon); color: #fff; box-shadow: 0 10px 26px rgba(142, 17, 22, .28); }
.btn-primary:hover { background: var(--brand-maroon-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(142, 17, 22, .34); }

.btn-gold { background: var(--brand-gold); color: #2a1d02; box-shadow: 0 10px 26px rgba(224, 160, 7, .32); }
.btn-gold:hover { background: var(--brand-gold-dark); color: #fff; transform: translateY(-3px); }

.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--brand-maroon); transform: translateY(-3px); }

.btn-outline { background: transparent; color: var(--brand-maroon); border-color: var(--brand-maroon); }
.btn-outline:hover { background: var(--brand-maroon); color: #fff; transform: translateY(-3px); }

/* ---------- Top information bar ---------- */
.topbar {
  background: var(--brand-maroon-dark);
  color: #f3e3e3;
  font-size: .86rem;
  position: relative;
  z-index: 60;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar a { color: #f3e3e3; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--brand-gold); }
.topbar svg { width: 15px; height: 15px; flex: none; }
.topbar-hours { display: inline-flex; align-items: center; gap: 8px; opacity: .85; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { transition: transform .25s var(--ease), color .25s var(--ease); }
.topbar-social a:hover { transform: translateY(-2px) scale(1.08); }
.topbar-label { display: inline; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 6px 24px rgba(28, 25, 23, .10);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.logo, .nav-brand img, .footer-brand img, .site-logo {
  border-radius: 16px;
  background: #fff;
  padding: 6px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.nav-brand { display: inline-flex; align-items: center; }
.nav-brand img { height: 64px; width: auto; transition: height .3s var(--ease), border-radius .3s var(--ease); }
.site-header.is-solid .nav-brand img { height: 56px; border-radius: 12px; }

.main-nav > ul {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
  white-space: nowrap;
}
.site-header.is-solid .main-nav a { color: var(--brand-ink); text-shadow: none; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--brand-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.is-active { color: var(--brand-gold); }
.site-header.is-solid .main-nav a:hover, .site-header.is-solid .main-nav a.is-active { color: var(--brand-maroon); }

/* Services disclosure: grouped desktop menu and touch-friendly mobile accordion. */
.services-trigger {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 7px;
  border: 0; background: transparent; color: var(--brand-white);
  font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: 0;
  padding: 10px 2px; cursor: pointer; white-space: nowrap;
}
.services-trigger svg { width: 15px; height: 15px; flex: none; transition: transform .25s var(--ease); }
.services-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.services-trigger:hover, .services-trigger.is-active { color: var(--brand-gold); }
.site-header.is-solid .services-trigger { color: var(--brand-ink); }
.site-header.is-solid .services-trigger:hover, .site-header.is-solid .services-trigger.is-active { color: var(--brand-maroon); }
.services-trigger:focus-visible, .services-panel a:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 4px; }
.services-panel[hidden] { display: none; }
.services-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: min(1060px, calc(100vw - 40px)); max-height: calc(100dvh - 140px); overflow-y: auto;
  background: var(--brand-white); color: var(--brand-ink); border: 1px solid var(--brand-line);
  border-top: 3px solid var(--brand-gold); border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-lg); padding: 28px 30px 0;
  animation: servicesIn .25s var(--ease);
}
@keyframes servicesIn { from { opacity: 0; margin-top: -8px; } to { opacity: 1; margin-top: 0; } }
.services-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.services-group { min-width: 0; }
.services-group h3 { font-family: var(--font-display); font-size: 1rem; color: var(--brand-maroon); margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--brand-line); }
.services-panel ul { display: block; list-style: none; padding: 0; margin: 0; }
.services-panel li { border: 0; }
.main-nav .services-panel a, .mobile-nav .services-panel a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px;
  color: var(--brand-ink); text-shadow: none; white-space: normal; font-family: var(--font-body);
  font-size: .94rem; font-weight: 500; line-height: 1.4; padding: 10px 8px; border-radius: 4px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.services-panel a::after { display: none; }
.services-panel a svg { width: 15px; height: 15px; color: var(--brand-gold-dark); transition: transform .2s var(--ease); }
.main-nav .services-panel a:hover, .main-nav .services-panel a.is-active,
.mobile-nav .services-panel a:hover, .mobile-nav .services-panel a.is-active { color: var(--brand-maroon); background: var(--brand-cream); }
.services-panel a:hover svg { transform: translateX(3px); }
.services-panel-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--brand-line); }
.services-panel-footer .services-consult { color: var(--brand-maroon); font-weight: 600; }
.mobile-nav .services-trigger { display: grid; grid-template-columns: minmax(0,1fr) auto; width: 100%; text-align: left; padding: 16px 4px; font-family: var(--font-display); font-size: 1.22rem; color: var(--brand-ink); }
.mobile-nav .services-trigger[aria-expanded="true"] { color: var(--brand-maroon); }
.mobile-nav .services-panel { position: static; transform: none; width: 100%; max-height: none; box-shadow: none; border: 0; border-left: 2px solid var(--brand-gold); border-radius: 0; padding: 8px 0 4px 16px; margin-bottom: 16px; }
.mobile-nav .services-groups { grid-template-columns: 1fr; gap: 20px; }
.mobile-nav .services-panel-footer { grid-template-columns: 1fr; gap: 4px; margin-top: 16px; }
.mobile-nav .services-group h3 { font-size: 1rem; margin-bottom: 4px; padding-bottom: 8px; }
.mobile-nav .services-panel a { min-height: 44px; }
@media (min-width: 1081px) and (max-width: 1250px) {
  .header-inner { gap: 12px; }
  .main-nav > ul { gap: 10px; }
  .main-nav > ul > li > a, .services-trigger { font-size: .88rem; }
  .header-cta .btn { padding: 10px 12px; font-size: .8rem; }
}

.header-cta { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 22px; font-size: .9rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  padding: 10px; border-radius: 10px;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px; background: #fff; margin: 5px 0;
  transition: transform .3s var(--ease), opacity .25s var(--ease), background-color .3s var(--ease);
}
.site-header.is-solid .nav-toggle span { background: var(--brand-ink); }
.nav-toggle.is-open span { background: var(--brand-ink); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile navigation ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1200;
  background: #fff;
  padding: 90px 24px 40px;
  overflow-y: auto;
  transform: translateY(-14px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mobile-nav ul { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--brand-line); }
.mobile-nav a {
  display: block; padding: 16px 4px;
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 600;
  color: var(--brand-ink);
}
.mobile-nav a.is-active, .mobile-nav a:hover { color: var(--brand-maroon); }
.mobile-nav .btn { width: 100%; justify-content: center; }
.mobile-nav-close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--brand-line); background: #fff; cursor: pointer;
  color: var(--brand-ink);
}
body.nav-open { overflow: hidden; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand-maroon), var(--brand-gold));
  z-index: 1500; transition: width .1s linear;
}

/* ---------- Home hero slider ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--brand-maroon-dark);
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.1s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero-slide.is-active img { transform: scale(1.14); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(50, 6, 8, .62) 0%, rgba(50, 6, 8, .45) 45%, rgba(28, 25, 23, .34) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  padding: calc(var(--header-h) + 60px) 0 90px;
  color: #fff; max-width: 860px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  margin-bottom: .35em;
}
.hero-tagline {
  font-size: clamp(1.05rem, 1.9vw, 1.42rem);
  color: #fdf3e5;
  font-weight: 400;
  font-family: var(--font-display);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .5);
  margin-bottom: 1.4em;
  max-width: 44ch;
}
.hero-sub { color: #f0e2e2; max-width: 56ch; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 34px;
  margin-top: 54px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.hero-trust div strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--brand-gold); }
.hero-trust div span { font-size: .9rem; color: #f0e2e2; }

.hero-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 10px;
}
.hero-dots button {
  width: 34px; height: 4px; border: 0; border-radius: 4px; padding: 0;
  background: rgba(255, 255, 255, .45); cursor: pointer;
  transition: background-color .3s var(--ease), width .3s var(--ease);
}
.hero-dots button.is-active { background: var(--brand-gold); width: 54px; }

/* ---------- Inner page banner ---------- */
.page-banner {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  min-height: 460px;
  display: flex; align-items: flex-end;
  background: var(--brand-maroon-dark);
  overflow: hidden;
}
.page-banner > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: bannerDrift 18s ease-out forwards;
}
@keyframes bannerDrift { from { transform: scale(1.1); } to { transform: scale(1); } }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(50, 6, 8, .55) 0%, rgba(50, 6, 8, .42) 45%, rgba(28, 25, 23, .58) 100%);
}
.page-banner .wrap { position: relative; z-index: 3; padding: calc(var(--header-h) + 70px) 0 56px; }
.page-banner h1 { color: #fff; text-shadow: 0 5px 26px rgba(0, 0, 0, .5); margin-bottom: .3em; }
.page-banner p { color: #f4e7e7; max-width: 62ch; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); margin-bottom: 14px; }
.crumbs { font-size: .88rem; color: #e9d4d4; }
.crumbs a { color: var(--brand-gold); }
.crumbs span { opacity: .7; padding: 0 6px; }

/* ---------- Reveal system ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(.96); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #d8cfc5; }
.card-media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--brand-cream-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .45em; }
.card-body p { margin-bottom: 1.2em; }
.card-link {
  margin-top: auto; font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.card-link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.card-link:hover svg { transform: translateX(5px); }

.value-card {
  background: #fff; border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg); padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(142,17,22,.10), rgba(224,160,7,.16));
  color: var(--brand-maroon);
  transition: transform .35s var(--ease);
}
.value-card:hover .value-icon { transform: translateY(-3px) scale(1.05); }
.value-icon svg { width: 27px; height: 27px; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(255,255,255,.94); border-radius: var(--radius);
  padding: 16px 22px; box-shadow: var(--shadow-sm);
}
.split-badge strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--brand-maroon); display: block; }
.split-badge span { font-size: .85rem; }

/* ---------- Lists ---------- */
.tick-list { list-style: none; margin: 0 0 1.6em; padding: 0; }
.tick-list li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--brand-line); }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.85);
}

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-card .card-media { aspect-ratio: 4 / 5; }
.team-role { color: var(--brand-maroon); font-weight: 600; font-size: .92rem; margin-bottom: .8em; }
.team-profile {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 30px;
  align-items: start; margin-bottom: 46px;
}
.team-profile-photo {
  width: 132px; height: 165px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.team-profile-copy { min-width: 0; }

@media (max-width: 640px) {
  .team-profile { grid-template-columns: 86px minmax(0, 1fr); gap: 18px; }
  .team-profile-photo { width: 86px; height: 108px; }
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--brand-line); border-radius: var(--radius-lg);
  padding: 34px 32px; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.05rem; color: var(--brand-ink); font-style: italic; }
.quote-mark { color: var(--brand-gold); width: 34px; height: 34px; margin-bottom: 14px; }
.quote-author { font-weight: 700; color: var(--brand-ink); }
.quote-meta { font-size: .88rem; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--brand-line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 46px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--brand-ink);
  transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--brand-maroon); }
.faq-q svg { position: absolute; right: 6px; top: 24px; width: 20px; height: 20px; transition: transform .35s var(--ease); color: var(--brand-maroon); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .35s var(--ease); opacity: 0; }
.faq-item.is-open .faq-a { opacity: 1; }
.faq-a p { padding-bottom: 20px; margin: 0; }

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative; overflow: hidden;
  background: var(--brand-maroon-dark); color: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(224,160,7,.22), transparent 55%),
              radial-gradient(circle at 85% 80%, rgba(224,160,7,.14), transparent 50%);
}
.cta-strip .wrap { position: relative; z-index: 2; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #f6e5e5; max-width: 62ch; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--brand-ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--brand-line); border-radius: 12px;
  font: inherit; font-size: .98rem; color: var(--brand-ink); background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-maroon);
  box-shadow: 0 0 0 4px rgba(142, 17, 22, .12);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-error { color: #b3261e; font-size: .85rem; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field.has-error .field-error { display: block; animation: fadeUp .3s var(--ease); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: .86rem; }
.form-status {
  display: none; margin-top: 18px; padding: 15px 18px; border-radius: 12px;
  font-size: .95rem; animation: fadeUp .4s var(--ease);
}
.form-status.is-shown { display: block; }
.form-status.is-ok { background: #edf7ee; border: 1px solid #bcdcbf; color: #205c26; }
.form-status.is-bad { background: #fdeceb; border: 1px solid #f2c2bf; color: #8c1d18; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.btn .spinner {
  width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: spin .7s linear infinite; display: none;
}
.btn.is-loading .spinner { display: block; }
.btn.is-loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact info blocks ---------- */
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--brand-line);
  border-radius: var(--radius); padding: 22px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-card svg { width: 22px; height: 22px; color: var(--brand-maroon); flex: none; margin-top: 4px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .25em; }
.info-card p { margin: 0; font-size: .96rem; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Blog ---------- */
.post-meta { font-size: .86rem; color: #7c746d; margin-bottom: .8em; }
.article-body h2 { margin-top: 1.7em; }
.article-body ul { padding-left: 22px; }
.article-body li { margin-bottom: .5em; }
.article-lead { font-size: 1.15rem; color: var(--brand-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-ink); color: #c9c1bb; padding: clamp(56px, 7vw, 86px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: #c9c1bb; position: relative; }
.site-footer a:hover { color: var(--brand-gold); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brand-gold); flex: none; margin-top: 5px; }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #ddd6d0;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.footer-social a:hover { background: var(--brand-gold); color: #2a1d02; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 54px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .87rem;
}
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom li { margin: 0; }

/* ---------- Floating actions ---------- */
.float-stack {
  position: fixed; right: 18px; bottom: 18px; z-index: 1100;
  display: flex; flex-direction: column; gap: 12px;
}
.float-stack-left {
  right: auto; left: 18px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.float-btn:hover { transform: translateY(-4px) scale(1.06); color: #fff; }
.float-btn svg { width: 24px; height: 24px; }
.float-whatsapp { background: #1faa54; }
.float-call { background: var(--brand-maroon); }
.float-email { background: var(--brand-gold-dark); }
.float-chat { background: var(--brand-ink); }
.float-top { background: rgba(28,25,23,.65); opacity: 0; pointer-events: none; }
.float-top.is-shown { opacity: 1; pointer-events: auto; }

/* ---------- Chatbot ---------- */
.chat-panel {
  position: fixed; left: 18px; bottom: 86px; z-index: 1150;
  width: min(340px, calc(100vw - 36px));
  background: #fff; border: 1px solid var(--brand-line);
  border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-head { background: var(--brand-maroon); color: #fff; padding: 16px 18px; }
.chat-head strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.chat-head span { font-size: .82rem; opacity: .85; }
.chat-log { padding: 16px; max-height: 300px; overflow-y: auto; background: var(--brand-cream); }
.chat-msg { margin-bottom: 12px; font-size: .92rem; line-height: 1.6; }
.chat-msg .bubble { display: inline-block; padding: 10px 14px; border-radius: 14px; max-width: 92%; }
.chat-msg.bot .bubble { background: #fff; border: 1px solid var(--brand-line); border-bottom-left-radius: 4px; }
.chat-msg.me { text-align: right; }
.chat-msg.me .bubble { background: var(--brand-maroon); color: #fff; border-bottom-right-radius: 4px; }
.chat-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--brand-line); }
.chat-options button {
  border: 1px solid var(--brand-line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--brand-ink);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chat-options button:hover { background: var(--brand-maroon); color: #fff; border-color: var(--brand-maroon); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--brand-line); background: #fff; }
.chat-input {
  flex: 1; min-width: 0; border: 1px solid var(--brand-line); border-radius: 999px;
  padding: 10px 14px; font: inherit; font-size: .9rem; color: var(--brand-ink); background: var(--brand-cream);
}
.chat-input:focus { outline: none; border-color: var(--brand-gold); background: #fff; }
.chat-send {
  border: 0; background: var(--brand-maroon); color: #fff; border-radius: 999px;
  padding: 10px 18px; font: inherit; font-size: .88rem; cursor: pointer;
  transition: background-color .25s var(--ease);
}
.chat-send:hover { background: var(--brand-gold); color: var(--brand-ink); }
.chat-send[disabled] { opacity: .6; cursor: default; }
.chat-msg.bot .bubble.is-typing { color: var(--brand-muted); font-style: italic; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}



/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 1300;
  background: #fff; border: 1px solid var(--brand-line); border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: none; align-items: center; gap: 20px; flex-wrap: wrap;
  max-width: 760px; margin-inline: auto;
}
.cookie-banner.is-shown { display: flex; animation: fadeUp .5s var(--ease); }
.cookie-banner p { margin: 0; font-size: .92rem; flex: 1 1 340px; }
.cookie-banner .btn { padding: 11px 22px; font-size: .9rem; }

/* ---------- Counters ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.stat { text-align: center; padding: 26px 18px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--brand-gold); }
.stat span { font-size: .93rem; }

/* ---------- Page load ---------- */
body { opacity: 0; animation: pageIn .5s var(--ease) forwards; }
@keyframes pageIn { to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-cta { gap: 8px; }
  .header-cta .btn-primary { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .topbar-label { display: none; }
  .topbar .wrap { justify-content: center; gap: 14px; min-height: 42px; }
  .topbar-left { gap: 18px; justify-content: center; }
  .topbar-hours { display: none; }
  .page-banner { min-height: 400px; }
  .hero { min-height: 92svh; }
  .hero-trust { gap: 24px; margin-top: 36px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-brand img { height: 54px; border-radius: 12px; padding: 5px 8px; }
  .site-header.is-solid .nav-brand img { height: 48px; border-radius: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 22px; height: 22px; }
  .cookie-banner { padding: 18px; }
  .hero-content { padding-top: calc(var(--header-h) + 40px); }
  .page-banner .wrap { padding-top: calc(var(--header-h) + 50px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-slide img { transform: none; }
}
