@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/*
 * Abbey Care Complex — Premium 2026 redesign system
 * Focus: polished UX, strong hierarchy, refined motion, semantic-friendly presentation.
 */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Fraunces', serif !important;
  text-wrap: balance;
}

:root {
  --acc-ink-900: #151b26;
  --acc-ink-700: #2d3748;
  --acc-ink-500: #5a6475;
  --acc-ink-400: #738099;

  --acc-brand-900: #0c2b2d;
  --acc-brand-800: #12393d;
  --acc-brand-700: #1b4d52;
  --acc-brand-500: #2f6a6f;

  --acc-gold-500: #c99a4a;
  --acc-gold-600: #ae833a;

  --acc-surface: #ffffff;
  --acc-cream: #f6f3ed;
  --acc-mist: #eef3f4;
  --acc-border: #dce4ea;

  --acc-shadow-sm: 0 8px 24px rgba(12, 43, 45, 0.08);
  --acc-shadow-md: 0 18px 44px rgba(12, 43, 45, 0.12);
  --acc-shadow-lg: 0 26px 64px rgba(12, 43, 45, 0.2);

  --acc-radius-sm: 0.6rem;
  --acc-radius-md: 1rem;
  --acc-radius-lg: 1.6rem;
  --acc-radius-pill: 999px;

  --acc-navbar-h: 88px;
  --acc-container-max: 1220px;
  --acc-section-y: clamp(3.4rem, 2.3rem + 3.2vw, 6.8rem);

  --acc-font-body: "Plus Jakarta Sans", sans-serif;
  --acc-fs-body: clamp(0.99rem, 0.95rem + 0.15vw, 1.08rem);
  --acc-fs-lead: clamp(1.04rem, 0.98rem + 0.3vw, 1.24rem);
  --acc-fs-h1: clamp(2.2rem, 1.2rem + 3vw, 4.8rem);
  --acc-fs-h2: clamp(1.7rem, 1.2rem + 1.6vw, 3rem);
  --acc-fs-h3: clamp(1.3rem, 1.04rem + 0.9vw, 2rem);
  --acc-fs-btn: clamp(0.89rem, 0.84rem + 0.2vw, 0.97rem);
  --acc-btn-min-h: 48px;
  --acc-btn-min-h-sm: 44px;
  --acc-btn-min-h-lg: 52px;
  --acc-lh-body: clamp(1.58, 1.54 + 0.2vw, 1.76);
  --acc-lh-tight: clamp(1.08, 1.02 + 0.18vw, 1.2);

  --acc-transition: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--acc-font-body);
  font-size: var(--acc-fs-body);
  color: var(--acc-ink-700);
  background:
    radial-gradient(circle at 18% -8%, rgba(201, 154, 74, 0.09), transparent 42%),
    radial-gradient(circle at 102% 18%, rgba(18, 57, 61, 0.1), transparent 40%),
    var(--acc-cream);
  line-height: var(--acc-lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--acc-navbar-h);
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(47, 106, 111, 0.16);
}

body.acc-nav-open {
  overflow: hidden;
}

main,
section {
  position: relative;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

main>section,
body>section,
body>main>section,
.py-5,
section[id] {
  padding-top: var(--acc-section-y) !important;
  padding-bottom: var(--acc-section-y) !important;
}

.container {
  max-width: var(--acc-container-max);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--acc-ink-900);
  line-height: var(--acc-lh-tight);
  letter-spacing: -0.018em;
  margin-bottom: clamp(0.6rem, 0.45rem + 0.35vw, 1rem);
  text-wrap: balance;
}

h1,
.display-1,
.display-2,
.display-3,
.display-4 {
  font-size: var(--acc-fs-h1);
  font-weight: 600;
}

h2 {
  font-size: var(--acc-fs-h2);
  font-weight: 600;
}

h3,
.h3,
.h4 {
  font-size: var(--acc-fs-h3);
  font-weight: 550;
}

p,
li,
dd,
label,
input,
select,
textarea,
.btn,
.nav-link,
.dropdown-item,
.form-text,
.badge,
small {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}

.lead {
  font-size: var(--acc-fs-lead);
  color: var(--acc-ink-500);
  line-height: clamp(1.52, 1.48 + 0.16vw, 1.72);
}

.text-muted,
.text-secondary {
  /* bumped one step darker for WCAG AA on cream/white backgrounds */
  color: var(--acc-ink-500) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.78) !important;
}

a {
  color: var(--acc-brand-700);
  text-underline-offset: 0.2em;
  transition: color var(--acc-transition), text-decoration-color var(--acc-transition);
}

a:hover {
  color: var(--acc-brand-900);
}

.bg-light {
  background: linear-gradient(180deg, #f7f8fa 0%, #f2f5f8 100%) !important;
}

.bg-dark,
.bg-primary {
  background: var(--acc-brand-900) !important;
}

.bg-secondary {
  background:
    linear-gradient(145deg, rgba(47, 106, 111, 0.55), rgba(12, 43, 45, 0.76)),
    radial-gradient(circle at 80% 12%, rgba(201, 154, 74, 0.24), transparent 40%) !important;
  border-radius: var(--acc-radius-lg);
}

/* ─── PREMIUM NAVBAR ─── */
.acc-premium-navbar {
  min-height: var(--acc-navbar-h);
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(12, 43, 45, 0.06);
  box-shadow: 0 6px 24px rgba(12, 43, 45, 0.06);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, min-height 0.4s ease;
  z-index: 1040;
}

.acc-premium-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 12px 40px rgba(12, 43, 45, 0.1) !important;
  border-bottom-color: rgba(12, 43, 45, 0.04);
  min-height: calc(var(--acc-navbar-h) - 6px);
}

.acc-navbar-container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.65rem;
}

.acc-hero-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 0.35rem;
  padding: 0.25rem 0;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}

.brand-logo {
  width: 158px;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.06));
}

.brand-logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}

.footer-logo {
  width: clamp(140px, 16vw, 200px);
  height: auto;
  background-color: #ffffff;
  padding: 0.8rem;
  border-radius: var(--acc-radius-md);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.footer-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.18);
}

.navbar-nav {
  gap: 0.2rem;
  align-items: center;
}

/* ─── Nav Links ─── */
.acc-premium-navbar .nav-link {
  font-size: 0.9rem;
  font-weight: 510;
  color: var(--acc-ink-700) !important;
  border-radius: 0.5rem;
  padding: 0.42rem 0.48rem !important;
  position: relative;
  letter-spacing: 0;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.acc-premium-navbar .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0.05rem;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--acc-gold-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-premium-navbar .nav-link:hover:not(.dropdown-toggle)::after,
.acc-premium-navbar .nav-link.active:not(.dropdown-toggle)::after {
  transform: scaleX(1);
  transform-origin: center left;
}

.acc-premium-navbar .nav-link:hover {
  color: var(--acc-brand-900) !important;
  background: rgba(47, 106, 111, 0.03);
}

.acc-premium-navbar .nav-link.active {
  color: var(--acc-brand-900) !important;
}

/* ─── Dropdown Items ─── */
.acc-premium-navbar .dropdown-item {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--acc-ink-700) !important;
  padding: 0.6rem 1.1rem !important;
  border-radius: 0.5rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.acc-premium-navbar .dropdown-item:hover,
.acc-premium-navbar .dropdown-item:focus {
  background: var(--acc-mist) !important;
  color: var(--acc-brand-900) !important;
  transform: translateX(4px);
}

.acc-premium-navbar .dropdown-item.active,
.acc-premium-navbar .dropdown-item:active {
  background: rgba(47, 106, 111, 0.08) !important;
  color: var(--acc-brand-700) !important;
}

/* ─── Services Dropdown Toggle ─── */
.acc-services-dropdown .dropdown-toggle {
  padding-right: 1.8rem !important;
}

.acc-services-dropdown .dropdown-toggle::after {
  margin-left: 0.5rem;
  vertical-align: 0.12em;
  border-top-width: 0.35em;
  border-right-width: 0.35em;
  border-left-width: 0.35em;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.65;
}

.acc-services-dropdown .dropdown-toggle:hover::after,
.acc-services-dropdown .dropdown-toggle.show::after {
  opacity: 1;
}

.acc-services-dropdown .dropdown-toggle.show::after {
  transform: rotate(-180deg);
}

/* ─── Services Dropdown Menu ─── */
.acc-services-menu {
  min-width: min(92vw, 360px);
  border-radius: 1.25rem;
  padding: 0.9rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(246, 251, 251, 0.97)),
    radial-gradient(circle at top right, rgba(201, 154, 74, 0.12), transparent 52%);
  border: 1px solid rgba(12, 43, 45, 0.04);
}

.acc-contact-menu {
  min-width: min(92vw, 290px);
}

.acc-services-menu .acc-services-menu__headline {
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acc-brand-700);
  padding: 0.4rem 0.7rem 0.7rem;
  opacity: 0.85;
}

.acc-services-menu .dropdown-divider {
  margin: 0.4rem 0.5rem 0.6rem;
  border-top-color: rgba(12, 43, 45, 0.08);
}

.acc-services-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem !important;
  border-radius: 0.7rem;
  min-height: 50px;
}

.acc-services-menu .dropdown-item i {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  font-size: 0.92rem;
  color: var(--acc-brand-700);
  flex: 0 0 1.8rem;
  background: rgba(47, 106, 111, 0.05);
  border-radius: 0.5rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.acc-services-menu .dropdown-item:hover i {
  background: rgba(47, 106, 111, 0.15);
  color: var(--acc-brand-900);
  transform: scale(1.05);
}

.acc-services-menu .dropdown-item span {
  line-height: 1.35;
  font-size: 0.95rem;
}

/* ─── Generic Dropdown Menu ─── */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(12, 43, 45, 0.05);
  border-radius: var(--acc-radius-xl);
  box-shadow: 0 16px 48px rgba(12, 43, 45, 0.1), 0 0 0 1px rgba(12, 43, 45, 0.02);
  padding: 0.8rem;
  margin-top: 0 !important;
}

/* Desktop: hover to open + gap bridge for smooth UX */
@media (min-width: 992px) {

  /* Gap bridge so cursor can travel from link to dropdown */
  .acc-premium-navbar .dropdown>.dropdown-menu {
    padding-top: calc(0.8rem + 10px);
    margin-top: -10px !important;
  }

  .acc-premium-navbar .dropdown:hover>.dropdown-menu {
    display: block;
    animation: accDropdownFadeIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  /* Keep dropdown open if toggle has .show (click-opened) */
  .acc-premium-navbar .dropdown-toggle.show+.dropdown-menu {
    display: block;
  }
}

@keyframes accDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─── Navbar CTA Buttons ─── */
.acc-premium-navbar .btn-outline-light {
  color: var(--acc-brand-700) !important;
  border: 1.5px solid var(--acc-brand-700) !important;
  background: transparent !important;
  font-size: 0.92rem;
  min-height: 46px;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
}

.acc-premium-navbar .btn-outline-light:hover {
  background: var(--acc-mist) !important;
  color: var(--acc-brand-900) !important;
}

.acc-premium-navbar .btn-primary {
  background: linear-gradient(145deg, #1b4d52, #0c2b2d) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(12, 43, 45, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-premium-navbar .btn-primary:hover {
  background: linear-gradient(145deg, #2f6a6f, #12393d) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 43, 45, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .acc-navbar-container {
    max-width: calc(100% - 24px);
    padding-inline: 0;
    gap: 0.45rem;
  }

  .brand-logo {
    width: 136px;
  }

  .navbar-nav {
    gap: 0.08rem;
  }

  .acc-premium-navbar .nav-link {
    font-size: 0.82rem;
    padding: 0.38rem 0.34rem !important;
  }

  .acc-premium-navbar .nav-link:not(.dropdown-toggle)::after {
    left: 0.34rem;
    right: 0.34rem;
  }

  .acc-premium-navbar .btn-primary {
    font-size: 0.8rem;
    min-height: 38px;
    padding: 0.38rem 0.72rem;
  }
}

@media (min-width: 1200px) {
  .brand-logo {
    width: 168px;
  }

  .navbar-nav {
    gap: 0.34rem;
  }

  .acc-premium-navbar .nav-link {
    font-size: 0.94rem;
    padding: 0.46rem 0.58rem !important;
  }

  .acc-premium-navbar .btn-primary {
    font-size: 0.88rem;
    padding-inline: 1rem;
  }
}

@media (min-width: 1400px) {
  .acc-hero-brand {
    margin-right: 0.75rem;
  }

  .brand-logo {
    width: 182px;
  }

  .navbar-nav {
    gap: 0.6rem;
  }

  .acc-premium-navbar .nav-link {
    font-size: 0.98rem;
    padding-inline: 0.72rem !important;
  }

  .acc-premium-navbar .btn-primary {
    font-size: 0.92rem;
    padding-inline: 1.25rem;
  }
}

/* ─── Mobile Toggler (Premium Hamburger) ─── */
.navbar-toggler {
  border: none;
  width: auto;
  height: auto;
  padding: 0.6rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(47, 106, 111, 0.04);
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  z-index: 1050;
  position: relative;
  border: 1px solid rgba(12, 43, 45, 0.08);
}

.navbar-toggler::before {
  content: "MENU";
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--acc-brand-700);
  transition: all 0.2s ease;
}

.navbar-toggler.is-open::before {
  content: "CLOSE";
  color: var(--acc-gold-600);
}

.navbar-toggler:hover {
  background: rgba(47, 106, 111, 0.08);
  border-color: rgba(47, 106, 111, 0.2);
  transform: translateY(-1px);
}

.navbar-toggler.is-open {
  background: #fff;
  border-color: var(--acc-gold-500);
  box-shadow: 0 8px 24px rgba(12, 43, 45, 0.12);
}

.navbar-toggler-icon {
  width: 22px;
  height: 2px;
  background-image: none !important;
  background-color: var(--acc-brand-700);
  position: relative;
  transition: all 0.2s ease;
  display: block;
  border-radius: 999px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--acc-brand-700);
  left: 0;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  top: 6px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(47, 106, 111, 0.15);
  outline: none;
}

.navbar-toggler.is-open .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler.is-open .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--acc-gold-600);
}

.navbar-toggler.is-open .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--acc-gold-600);
}

/* ─── Mobile Nav Overlay Backdrop ─── */
.acc-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 43, 45, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1035;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  --bs-btn-font-weight: 700;
  --bs-btn-padding-y: 0.68rem;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-border-radius: var(--acc-radius-pill);
  font-size: var(--acc-fs-btn);
  letter-spacing: 0.012em;
  line-height: 1;
  min-height: var(--acc-btn-min-h);
  width: auto;
  white-space: nowrap;
  transition: transform var(--acc-transition), box-shadow var(--acc-transition), background-color var(--acc-transition), color var(--acc-transition), border-color var(--acc-transition);
  gap: 10px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn.btn-sm {
  --bs-btn-padding-y: 0.45rem;
  --bs-btn-padding-x: 1rem;
  min-height: var(--acc-btn-min-h-sm);
  font-size: clamp(0.82rem, 0.8rem + 0.09vw, 0.88rem);
}

.btn.btn-lg {
  --bs-btn-padding-y: 0.85rem;
  --bs-btn-padding-x: 1.6rem;
  min-height: var(--acc-btn-min-h-lg);
  font-size: clamp(0.93rem, 0.88rem + 0.22vw, 1.02rem);
}

.btn i, .btn .bi {
  margin-top: -1px; /* Optical adjustment for vertical centering */
  line-height: 1;
}

.btn i:first-child, .btn .bi:first-child {
  margin-left: -2px;
}

.btn i:last-child, .btn .bi:last-child {
  margin-right: -2px;
}

.btn-primary {
  --bs-btn-bg: var(--acc-gold-500);
  --bs-btn-border-color: var(--acc-gold-500);
  --bs-btn-color: #ffffff;
  --bs-btn-hover-bg: var(--acc-gold-600);
  --bs-btn-hover-border-color: var(--acc-gold-600);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-active-bg: #976f31;
  --bs-btn-active-border-color: #976f31;
  box-shadow: 0 14px 30px rgba(201, 154, 74, 0.24);
}

.btn-outline-primary {
  --bs-btn-color: var(--acc-brand-700);
  --bs-btn-border-color: var(--acc-brand-700);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--acc-brand-700);
  --bs-btn-hover-border-color: var(--acc-brand-700);
}

.btn-outline-light {
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.82);
  --bs-btn-hover-color: var(--acc-brand-900);
  --bs-btn-hover-bg: #ffffff;
  --bs-btn-hover-border-color: #ffffff;
}

.btn-outline-secondary {
  --bs-btn-color: var(--acc-ink-700);
  --bs-btn-border-color: var(--acc-border);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--acc-brand-700);
  --bs-btn-hover-border-color: var(--acc-brand-700);
}

.btn-light {
  --bs-btn-bg: #ffffff;
  --bs-btn-color: var(--acc-brand-900);
  --bs-btn-border-color: #ffffff;
  --bs-btn-hover-bg: #eaf2f3;
  --bs-btn-hover-color: var(--acc-brand-900);
}

.nav-link:focus-visible,
.dropdown-item:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
textarea:focus-visible,
.navbar-toggler:focus-visible,
.acc-chatbot__launcher:focus-visible,
.acc-chatbot__chip:focus-visible {
  outline: 3px solid rgba(47, 106, 111, 0.42);
  outline-offset: 2px;
  box-shadow: none;
}

.card,
.list-group-item,
.accordion-item,
.form-control,
.form-select,
textarea,
blockquote {
  border-radius: var(--acc-radius-md) !important;
  border-color: var(--acc-border) !important;
}

.card,
.accordion-item {
  border: 1px solid rgba(220, 228, 234, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--acc-shadow-sm);
  overflow: hidden;
  transition: transform var(--acc-transition), box-shadow var(--acc-transition), border-color var(--acc-transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--acc-shadow-md);
  border-color: rgba(47, 106, 111, 0.24) !important;
}

@media (hover: none) {

  .card:hover,
  .btn:hover {
    transform: none;
  }
}

.card .stretched-link {
  z-index: 2;
}

/* ===========================
   MODERN SERVICES SECTION
=========================== */

.modern-services-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 155, 74, 0.1), transparent 34%),
    radial-gradient(circle at 90% 100%, rgba(12, 70, 78, 0.1), transparent 34%),
    linear-gradient(180deg, #f8f6f1 0%, #f3efe7 100%);
  padding-bottom: clamp(2.2rem, 2.8vw, 3.2rem);
}

.services-intro {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(1.6rem, 2.2vw, 2.4rem);
}

.services-badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(201, 155, 74, 0.14);
  color: #a9771f;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.services-title {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  line-height: 1.12;
  font-weight: 700;
  color: #102131;
  margin-bottom: 14px;
  text-wrap: balance;
}

.services-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.75;
  color: #5f6f7a;
  text-wrap: balance;
}

.stack-services-list {
  width: min(100%, 920px);
  margin: 0 auto;
  position: relative;
  padding: 0 clamp(0.75rem, 2vw, 1.25rem) clamp(2rem, 4vw, 4rem);
}

.stack-service-card {
  position: sticky;
  top: calc(var(--acc-navbar-h) + 1rem);
  min-height: clamp(340px, 42vw, 430px);
  border-radius: 24px;
  border: 1px solid rgba(16, 33, 49, 0.1);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 64px rgba(16, 33, 49, 0.13);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
  align-items: stretch;
  margin-bottom: clamp(2.2rem, 5vw, 4.6rem);
  transform-origin: center center;
  will-change: transform, opacity;
}

.stack-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(132deg, rgba(201, 155, 74, 0.09), rgba(12, 70, 78, 0.07));
}

.stack-service-card__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 2.2vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(140deg, #f8fbff 0%, #eef5f7 100%);
}

.stack-service-card__count {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(16, 33, 49, 0.45);
  margin-bottom: 0.72rem;
}

.stack-service-card h3 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.78rem;
  color: #102131;
}

.stack-service-card p {
  font-size: clamp(1rem, 1.12vw, 1.08rem);
  line-height: 1.7;
  color: #5b6974;
  margin-bottom: 1.2rem;
  max-width: 44ch;
}

.stack-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0c464e;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.28s ease;
}

.stack-service-card__link span {
  transition: transform 0.28s ease;
}

.stack-service-card__link:hover {
  color: #a9771f;
}

.stack-service-card__link:hover span {
  transform: translateX(5px);
}

.stack-service-card__media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  isolation: isolate;
}

.stack-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.8s ease;
}

.stack-service-card:hover .stack-service-card__media img {
  transform: scale(1.08);
}

.stack-service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 20, 25, 0.14), rgba(7, 20, 25, 0.56)),
    radial-gradient(circle at 18% 84%, rgba(201, 155, 74, 0.28), transparent 35%);
}

.modern-services-section::after {
  content: "";
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 58px;
  height: 1px;
  background: rgba(16, 33, 49, 0.10);
}

.stack-service-card:last-child {
  margin-bottom: 0;
}

@media (min-width: 1600px) {
  .stack-services-list {
    width: min(100%, 1040px);
  }
}

@media (max-width: 1399.98px) {
  .stack-services-list {
    width: min(100%, 880px);
  }

  .stack-service-card {
    min-height: 370px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 40%);
  }
}

.accordion-button {
  font-weight: 700;
  color: var(--acc-ink-900);
}

.accordion-button:not(.collapsed) {
  background: rgba(18, 57, 61, 0.08);
  color: var(--acc-brand-900);
}

.form-control,
.form-select,
textarea {
  min-height: 46px;
  padding: 0.68rem 0.92rem;
  color: var(--acc-ink-900);
  background-color: #fff;
}

p {
  margin-bottom: clamp(0.72rem, 0.62rem + 0.26vw, 0.95rem);
}

small,
.small {
  line-height: 1.45;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: rgba(47, 106, 111, 0.54);
  box-shadow: 0 0 0 0.2rem rgba(47, 106, 111, 0.14);
}

blockquote {
  border-left: 3px solid var(--acc-gold-500);
  padding-left: 1rem;
}

.list-group-item {
  background: #fff;
  padding: 1rem 1.1rem;
}

#page-hero {
  isolation: isolate;
}

#page-hero {
  min-height: clamp(320px, 44vh, 480px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.2rem, 2vw, 3rem) !important;
  background:
    linear-gradient(120deg, rgba(8, 31, 34, 0.9) 5%, rgba(18, 57, 61, 0.77) 56%),
    radial-gradient(circle at 85% 25%, rgba(201, 154, 74, 0.3), transparent 46%) !important;
}

#page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

#page-hero .breadcrumb-item,
#page-hero .breadcrumb-item a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

#page-hero .breadcrumb-item.active {
  color: #fff !important;
}

/* ===========================
   WHY ABBEY SECTION
=========================== */

.acc-why-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(201, 154, 74, 0.1), transparent 36%),
    linear-gradient(180deg, #f7f8fb 0%, #eef2f6 100%) !important;
}

.acc-why-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: var(--acc-radius-pill);
  padding: 0.35rem 0.78rem;
  margin-bottom: 0.8rem;
  background: rgba(47, 106, 111, 0.1);
  color: var(--acc-brand-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acc-why-card {
  height: 100%;
  text-align: center;
  border-radius: 1.1rem;
  border: 1px solid rgba(12, 43, 45, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--acc-shadow-sm);
  padding: clamp(1rem, 1.5vw, 1.4rem);
  transition: transform var(--acc-transition), box-shadow var(--acc-transition), border-color var(--acc-transition);
}

.acc-why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 106, 111, 0.28);
  box-shadow: var(--acc-shadow-md);
}

.acc-why-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 106, 111, 0.2);
  background: linear-gradient(145deg, rgba(47, 106, 111, 0.14), rgba(255, 255, 255, 0.84));
}

.acc-why-card__icon i {
  font-size: 1.36rem;
  color: #2f6a6f;
}

.acc-why-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.2rem, 1.42vw, 1.55rem);
}

.acc-why-card p {
  font-size: 1.02rem;
  line-height: 1.68;
}

.acc-why-trustbar {
  border-radius: 1rem;
  border: 1px solid rgba(12, 43, 45, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(12, 43, 45, 0.08);
  padding: 0.8rem;
  display: flex;
  gap: 0.8rem;
}

.acc-proof-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(12, 43, 45, 0.1);
  border-radius: 0.85rem;
  padding: 0.58rem 0.66rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 246, 250, 0.78));
}

.acc-proof-logo {
  flex: 0 0 auto;
  min-width: 2.6rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.acc-proof-logo--cqc {
  background: linear-gradient(135deg, #0f3f45, #1b5d62);
  color: #fff;
}

.acc-proof-logo--review {
  background: linear-gradient(135deg, #d8b16a, #c99a4a);
  color: #fff;
  gap: 0.3rem;
}

.acc-proof-logo--care {
  background: linear-gradient(135deg, rgba(47, 106, 111, 0.18), rgba(47, 106, 111, 0.1));
  color: var(--acc-brand-700);
}

.acc-proof-copy {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.acc-proof-copy strong {
  color: var(--acc-ink-700);
  font-size: 0.86rem;
  font-weight: 700;
}

.acc-proof-copy small {
  color: var(--acc-ink-400);
  font-size: 0.76rem;
  white-space: nowrap;
}

/* ===========================
   HOME LEAD MAGNET
=========================== */

.acc-lead-magnet-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(201, 154, 74, 0.14), transparent 34%),
    radial-gradient(circle at 92% 86%, rgba(18, 57, 61, 0.12), transparent 36%),
    linear-gradient(180deg, #f7f5ef 0%, #f1eee8 100%);
}

.acc-lead-magnet-wrap {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1rem, 1.6vw, 1.55rem);
  padding: clamp(1.2rem, 2.4vw, 2.2rem);
  border: 1px solid rgba(12, 43, 45, 0.12);
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.95) 6%, rgba(247, 250, 252, 0.9) 58%),
    radial-gradient(circle at 90% 8%, rgba(201, 154, 74, 0.18), transparent 34%);
  box-shadow: 0 20px 56px rgba(12, 43, 45, 0.12);
}

.acc-lead-magnet-wrap::after {
  content: '';
  position: absolute;
  width: clamp(150px, 22vw, 280px);
  height: clamp(150px, 22vw, 280px);
  right: clamp(-80px, -5vw, -52px);
  top: clamp(-80px, -5vw, -42px);
  border-radius: 50%;
  border: 1px solid rgba(12, 43, 45, 0.1);
  opacity: 0.5;
  pointer-events: none;
}

.acc-lead-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: var(--acc-radius-pill);
  padding: 0.34rem 0.72rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc-brand-700);
  background: rgba(47, 106, 111, 0.11);
  margin-bottom: 0.7rem;
}

#lead-magnet h3 {
  font-size: clamp(1.55rem, 2vw, 2.3rem);
  margin-bottom: 0.72rem !important;
}

.acc-lead-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.56rem;
}

.acc-lead-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--acc-ink-700);
  font-size: 0.96rem;
  line-height: 1.5;
}

.acc-lead-benefits i {
  color: var(--acc-brand-700);
  margin-top: 0.1rem;
  flex: 0 0 auto;
}

.acc-lead-form-card {
  border-radius: 1rem;
  border: 1px solid rgba(12, 43, 45, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 34px rgba(12, 43, 45, 0.1);
  padding: clamp(1rem, 1.5vw, 1.3rem);
}

.acc-lead-form-card .form-control {
  min-height: 48px;
  border-radius: 0.8rem;
  border-color: rgba(12, 43, 45, 0.14);
}

.acc-lead-form-card .form-control::placeholder {
  color: #7f8ca2;
}

.acc-lead-form-card .btn {
  min-height: 48px;
}

.acc-lead-note {
  margin-top: 0.72rem;
  font-size: 0.82rem;
  color: var(--acc-ink-400);
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.acc-lead-note i {
  color: var(--acc-brand-700);
}

/* ===========================
   BLOG SYSTEM
=========================== */

.acc-blog-shell {
  background: linear-gradient(180deg, #f7f5f0 0%, #f2f5f8 100%);
}

.acc-blog-shell .row,
.acc-blog-detail-shell .row {
  --bs-gutter-x: clamp(1.1rem, 1.9vw, 2.3rem);
}

.acc-blog-feature {
  border-radius: var(--acc-radius-lg);
  border: 1px solid rgba(12, 43, 45, 0.12);
  background: #fff;
  box-shadow: var(--acc-shadow-md);
  overflow: hidden;
}

.acc-blog-feature__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.acc-blog-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s ease;
}

.acc-blog-feature:hover .acc-blog-feature__media img {
  transform: scale(1.07);
}

.acc-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acc-ink-400);
}

.acc-blog-meta .acc-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(12, 43, 45, 0.4);
}

.acc-blog-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--acc-radius-pill);
  padding: 0.35rem 0.75rem;
  background: rgba(47, 106, 111, 0.1);
  color: var(--acc-brand-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.acc-blog-feature__content {
  padding: clamp(1.3rem, 2vw, 2rem);
}

.acc-blog-feature__title {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  margin-bottom: 0.78rem;
}

.acc-blog-feature__desc {
  color: var(--acc-ink-500);
  margin-bottom: 1.2rem;
}

.acc-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

.acc-blog-card {
  height: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(12, 43, 45, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--acc-shadow-sm);
  overflow: hidden;
  transition: transform var(--acc-transition), box-shadow var(--acc-transition), border-color var(--acc-transition);
}

.acc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--acc-shadow-md);
  border-color: rgba(47, 106, 111, 0.26);
}

.acc-blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.acc-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.acc-blog-card:hover .acc-blog-card__media img {
  transform: scale(1.06);
}

.acc-blog-card__body {
  padding: 1rem 1rem 1.15rem;
}

.acc-blog-card__title {
  font-size: clamp(1.08rem, 1.2vw, 1.34rem);
  margin-bottom: 0.56rem;
}

.acc-blog-card__desc {
  color: var(--acc-ink-500);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.acc-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--acc-brand-700);
}

.acc-blog-link i {
  transition: transform 0.28s ease;
}

.acc-blog-link:hover i {
  transform: translateX(4px);
}

.acc-blog-sidebar {
  position: sticky;
  top: calc(var(--acc-navbar-h) + 1rem);
}

.acc-blog-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(12, 43, 45, 0.05);
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.8rem;
}

.acc-blog-panel h3 {
  font-size: 1.8rem;
  font-family: var(--acc-font-heading);
  margin-bottom: 1.2rem;
  color: var(--acc-ink-900);
}

.acc-blog-panel .input-group .form-control {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  padding-left: 1.2rem;
  height: 3.2rem;
  font-size: 1.05rem;
  border-color: rgba(12, 43, 45, 0.15);
  box-shadow: none;
}

.acc-blog-panel .input-group .form-control:focus {
  border-color: rgba(12, 43, 45, 0.3);
  box-shadow: none;
}

.acc-blog-panel .input-group .btn {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  height: 3.2rem;
  width: 3.8rem;
  border-color: rgba(12, 43, 45, 0.15);
  color: rgba(12, 43, 45, 0.8);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.acc-blog-panel .input-group .btn:hover {
  background: rgba(12, 43, 45, 0.05);
  color: rgba(12, 43, 45, 1);
}

.acc-blog-category-list,
.acc-blog-recent-list,
.acc-blog-tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acc-blog-category-list li+li,
.acc-blog-recent-list li+li {
  margin-top: 1.2rem;
}

.acc-blog-category-list a,
.acc-blog-recent-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  color: #2b3a42;
  text-decoration: none;
  padding: 0.2rem 0;
  font-size: 1.05rem;
  transition: color var(--acc-transition);
}

.acc-blog-category-list a:hover,
.acc-blog-recent-list a:hover {
  color: var(--acc-brand-900);
}

.acc-blog-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acc-recent-post {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 0.8rem;
  margin: -0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.acc-recent-post:hover {
  background-color: rgba(47, 106, 111, 0.04);
  transform: translateX(4px);
}

.acc-recent-post__thumb {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 0.6rem;
  overflow: hidden;
}

.acc-recent-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.acc-recent-post:hover .acc-recent-post__thumb img {
  transform: scale(1.1);
}

.acc-recent-post__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.acc-recent-post__date {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--acc-brand-700);
}

.acc-recent-post__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--acc-ink-900);
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.acc-recent-post:hover .acc-recent-post__title {
  color: var(--acc-brand-900);
}

.acc-blog-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2b3a42;
  background: #e6ebf0;
}

.acc-blog-newsletter {
  background:
    linear-gradient(135deg, rgba(12, 43, 45, 0.95), rgba(27, 77, 82, 0.88)),
    radial-gradient(circle at 80% 10%, rgba(201, 154, 74, 0.3), transparent 45%);
  color: #fff;
}

.acc-blog-newsletter h3,
.acc-blog-newsletter p {
  color: #fff;
}

.acc-blog-detail-shell {
  background: linear-gradient(180deg, #f7f5f0 0%, #f2f5f8 100%);
}

.acc-blog-article {
  border-radius: 1.35rem;
  border: 1px solid rgba(12, 43, 45, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--acc-shadow-md);
  overflow: hidden;
}

.acc-blog-article__header {
  padding: clamp(1.2rem, 2vw, 2rem) clamp(1.2rem, 2vw, 2rem) 0;
}

.acc-blog-article__title {
  font-size: clamp(1.6rem, 2.2vw, 2.6rem);
  line-height: 1.12;
}

.acc-blog-article__cover {
  margin: clamp(1rem, 1.6vw, 1.4rem) clamp(1.2rem, 2vw, 2rem) 0;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.acc-blog-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc-blog-article__body {
  padding: clamp(1.2rem, 2vw, 2rem);
}

.acc-blog-article__body p,
.acc-blog-article__body li {
  color: var(--acc-ink-500);
}

.acc-blog-article__body h2,
.acc-blog-article__body h3 {
  margin-top: 1.5rem;
}

.acc-blog-article blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1rem 1rem 1.2rem;
  border-left: 3px solid var(--acc-gold-500);
  background: rgba(201, 154, 74, 0.08);
  border-radius: 0.6rem;
}

.acc-blog-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.acc-blog-author__avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #1b4d52, #2f6a6f);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1199.98px) {
  .acc-blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .acc-blog-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 767.98px) {

  .acc-blog-feature__content,
  .acc-blog-card__body,
  .acc-blog-article__body {
    padding-inline: 1rem;
  }

  .acc-blog-article__header {
    padding-inline: 1rem;
  }

  .acc-blog-article__cover {
    margin-inline: 1rem;
  }
}

#stats-bar {
  padding: clamp(2.8rem, 4.5vw, 5rem) 0;
  background:
    radial-gradient(90% 65% at 0% 0%, rgba(194, 153, 77, 0.24) 0%, rgba(194, 153, 77, 0) 58%),
    radial-gradient(90% 80% at 100% 20%, rgba(32, 88, 105, 0.15) 0%, rgba(32, 88, 105, 0) 56%),
    linear-gradient(180deg, #f8fbfc 0%, #edf3f7 100%);
  border-top: 1px solid rgba(16, 42, 56, 0.08);
  border-bottom: 1px solid rgba(16, 42, 56, 0.08);
}

#stats-bar .display-5 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: var(--acc-brand-900);
  font-size: clamp(3.2rem, 2.3rem + 3.1vw, 5.2rem);
}

#testimonials,
#testimonial,
#resident-stories {
  background: linear-gradient(180deg, #f2f5f7 0%, #edf2f5 100%);
}

#testimonials blockquote p,
#testimonial .lead,
#resident-stories blockquote p {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.06rem, 0.98rem + 0.42vw, 1.32rem);
  font-style: italic;
  color: var(--acc-ink-900);
}

.text-warning {
  color: var(--acc-gold-500) !important;
}

#not-sure-banner,
#cta-banner,
#apply-cta-banner,
#newsletter-cta,
#about-cta,
#virtual-tour-cta {
  overflow: hidden;
  border-radius: 1.4rem;
  margin-inline: clamp(0.5rem, 1vw, 1.25rem);
  box-shadow: var(--acc-shadow-lg);
}

#not-sure-banner,
#cta-banner,
#apply-cta-banner,
#newsletter-cta,
#about-cta {
  overflow: hidden;
  border-radius: 1.4rem;
  margin-inline: clamp(0.5rem, 1vw, 1.25rem);
  background:
    linear-gradient(125deg, rgba(8, 31, 34, 0.96) 6%, rgba(18, 57, 61, 0.92) 56%),
    radial-gradient(circle at 84% 18%, rgba(201, 154, 74, 0.32), transparent 38%) !important;
  box-shadow: var(--acc-shadow-lg);
}

#not-sure-banner::after,
#cta-banner::after,
#apply-cta-banner::after,
#newsletter-cta::after,
#about-cta::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  right: -70px;
  top: -70px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0.6;
}

#virtual-tour-cta {
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 154, 74, 0.12), transparent 38%),
    linear-gradient(180deg, #f5f7fa 0%, #edf2f5 100%);
}

.acc-virtual-cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1.2rem, 1.8vw, 1.8rem);
  padding: clamp(1.2rem, 2.6vw, 2.2rem);
  background:
    linear-gradient(130deg, rgba(8, 31, 34, 0.98) 8%, rgba(19, 57, 62, 0.94) 54%, rgba(47, 106, 111, 0.88) 100%),
    radial-gradient(circle at 84% 14%, rgba(201, 154, 74, 0.32), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 62px rgba(6, 18, 20, 0.35);
}

.acc-virtual-cta-panel::after {
  content: '';
  position: absolute;
  right: -48px;
  top: -42px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.45;
  pointer-events: none;
}

.acc-virtual-cta__kicker {
  display: inline-flex;
  border-radius: var(--acc-radius-pill);
  padding: 0.34rem 0.7rem;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f6d8a7;
  background: rgba(201, 154, 74, 0.2);
}

.acc-virtual-cta__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.acc-virtual-cta__stats div {
  border-radius: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.58rem 0.65rem;
  display: grid;
  gap: 0.15rem;
}

.acc-virtual-cta__stats strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
}

.acc-virtual-cta__stats span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
}

.acc-virtual-stage {
  position: relative;
  min-height: clamp(290px, 34vw, 390px);
  perspective: 1100px;
}

.acc-virtual-stage__orb {
  position: absolute;
  inset: 14% auto auto 50%;
  width: min(75%, 300px);
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.03) 44%, transparent 58%),
    radial-gradient(circle at 70% 68%, rgba(201, 154, 74, 0.55), rgba(201, 154, 74, 0.1) 52%, transparent 72%);
  filter: blur(1px);
  animation: accOrbFloat 7s ease-in-out infinite;
}

.acc-virtual-stage__card {
  position: absolute;
  width: min(80%, 310px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 24, 27, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  box-shadow: 0 22px 44px rgba(1, 10, 12, 0.35);
}

.acc-virtual-stage__card i {
  font-size: 1.5rem;
  color: #f6d8a7;
}

.acc-virtual-stage__card h3 {
  font-size: 1.2rem;
  margin: 0.45rem 0 0.35rem;
  color: #fff;
}

.acc-virtual-stage__card p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.acc-virtual-stage__card--front {
  left: 12%;
  top: 12%;
  transform: rotateY(-13deg) rotateX(5deg);
}

.acc-virtual-stage__card--back {
  right: 4%;
  bottom: 10%;
  transform: rotateY(12deg) rotateX(-3deg);
}

@keyframes accOrbFloat {

  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  50% {
    transform: translateX(-50%) translateY(-10px) scale(1.03);
  }
}

/* ===========================
   VIRTUAL TOUR PAGE
=========================== */

.acc-vtour-page {
  background:
    radial-gradient(circle at 10% -6%, rgba(201, 154, 74, 0.1), transparent 36%),
    linear-gradient(180deg, #f6f8fb 0%, #eef2f6 100%);
}

.acc-vtour-hero {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1.2rem, 2vw, 1.9rem);
  padding: clamp(1.2rem, 2.6vw, 2.2rem);
  background:
    linear-gradient(126deg, rgba(8, 31, 34, 0.98) 8%, rgba(18, 57, 61, 0.95) 58%, rgba(47, 106, 111, 0.86) 100%),
    radial-gradient(circle at 84% 18%, rgba(201, 154, 74, 0.34), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(7, 20, 23, 0.34);
}

.acc-vtour-hero::after {
  content: '';
  position: absolute;
  width: clamp(180px, 20vw, 280px);
  height: clamp(180px, 20vw, 280px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  right: clamp(-90px, -6vw, -55px);
  top: clamp(-90px, -6vw, -58px);
  opacity: 0.45;
}

.acc-vtour-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7d8a6;
}

.acc-vtour-hero__title {
  color: #fff;
  font-size: clamp(2rem, 2.8vw, 3.3rem);
  margin-bottom: 0.75rem;
}

.acc-vtour-hero .lead {
  color: rgba(255, 255, 255, 0.84) !important;
}

.acc-vtour-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.acc-vtour-device-wrap {
  position: relative;
  min-height: clamp(300px, 36vw, 430px);
  perspective: 1200px;
}

.acc-vtour-device {
  position: absolute;
  inset: 10% 8% 6%;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 23, 25, 0.56);
  transform: rotateY(-13deg) rotateX(5deg);
  box-shadow: 0 32px 60px rgba(1, 10, 12, 0.4);
  overflow: hidden;
}

.acc-vtour-device__bar {
  height: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.acc-vtour-device__screen {
  position: absolute;
  inset: 34px 0 0;
}

.acc-vtour-device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.acc-vtour-chip {
  position: absolute;
  border-radius: var(--acc-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(7, 23, 25, 0.65);
  color: #fff;
  padding: 0.38rem 0.74rem;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(1, 10, 12, 0.28);
}

.acc-vtour-chip--a {
  left: 4%;
  top: 7%;
}

.acc-vtour-chip--b {
  right: 0;
  top: 48%;
}

.acc-vtour-chip--c {
  left: 16%;
  bottom: 4%;
}

.acc-vtour-glass {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 43, 45, 0.1);
  border-radius: 1rem;
  box-shadow: 0 16px 36px rgba(12, 43, 45, 0.1);
}

.acc-vtour-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.acc-vtour-feature-card {
  padding: 1rem;
  min-height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--acc-transition), box-shadow var(--acc-transition);
}

.acc-vtour-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(12, 43, 45, 0.14);
}

.acc-vtour-feature-card i {
  font-size: 1.5rem;
  color: var(--acc-brand-700);
}

.acc-vtour-feature-card h3 {
  font-size: 1.16rem;
  margin-top: 0.66rem;
  margin-bottom: 0.5rem;
}

.acc-vtour-feature-card p {
  color: var(--acc-ink-500);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.acc-vtour-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.acc-vtour-step {
  padding: 1rem;
}

.acc-vtour-step__num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 106, 111, 0.12);
  color: var(--acc-brand-700);
  font-weight: 800;
  margin-bottom: 0.58rem;
}

@media (max-width: 991.98px) {
  .acc-vtour-hero {
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .acc-vtour-hero__actions {
    justify-content: center;
  }

  .acc-vtour-highlights,
  .acc-vtour-steps {
    grid-template-columns: 1fr;
  }

  .acc-vtour-device-wrap {
    min-height: 330px;
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .acc-vtour-hero {
    padding: 2rem 1.25rem;
    border-radius: 1.1rem;
  }

  .acc-vtour-hero__title {
    font-size: 2.1rem !important;
  }

  .acc-vtour-hero__actions .btn {
    width: 100%;
  }

  .acc-vtour-device {
    inset: 10% 3% 2%;
    transform: none;
  }

  .acc-vtour-chip {
    font-size: 0.72rem;
    padding: 0.3rem 0.54rem;
  }
}

.acc-mask-card,
.acc-mask-reveal-card {
  position: relative;
  overflow: hidden;
}

.acc-mask-card::after,
.acc-mask-reveal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.04), rgba(201, 154, 74, 0.16), rgba(255, 255, 255, 0.05));
  transform: translateX(-115%);
  transition: transform 0.66s ease;
  pointer-events: none;
}

.acc-mask-card:hover::after,
.acc-mask-card:focus-within::after,
.acc-mask-reveal-card:hover::after,
.acc-mask-reveal-card:focus-within::after {
  transform: translateX(110%);
}

/* Life at Abbey interactive editorial section */
.acc-life-experience {
  --acc-life-bg: linear-gradient(180deg, #f8f5ef 0%, #f2f7f7 100%);
  --acc-life-card-bg: rgba(255, 255, 255, 0.98);
  --acc-life-card-text: #243042;
  --acc-life-muted: #4f5f73;
  --acc-life-divider: rgba(36, 48, 66, 0.11);
  background: var(--acc-life-bg);
  position: relative;
}

.acc-life-experience::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 154, 74, 0.09), transparent 32%),
    radial-gradient(circle at 98% 76%, rgba(18, 57, 61, 0.09), transparent 30%);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 420ms ease;
}

.acc-life-experience.is-active::before {
  opacity: 1;
}

.acc-life-experience .container {
  max-width: min(1220px, 92%);
  position: relative;
  z-index: 1;
}

.acc-life-experience__layout {
  display: grid;
  gap: clamp(1.8rem, 3.4vw, 3.4rem);
  align-items: start;
}

.acc-life-experience__intro {
  align-self: start;
  max-width: 34rem;
}

.acc-life-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--acc-brand-700);
  margin-bottom: 0.8rem;
}

.acc-life-lead {
  color: var(--acc-life-muted);
  max-width: 36ch;
}

.acc-life-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.acc-life-experience__cards {
  display: grid;
  gap: clamp(2.1rem, 2.8vw, 2.9rem);
}

.acc-life-card {
  border-radius: 1rem;
  background: var(--acc-life-card-bg);
  box-shadow: 0 12px 34px rgba(20, 43, 56, 0.12);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease, border-color 400ms ease, opacity 360ms ease;
  opacity: 0.88;
}

.acc-life-card__media {
  margin: 0;
  position: relative;
  min-height: clamp(10.8rem, 30vw, 14rem);
  overflow: hidden;
}

.acc-life-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 24, 0.08) 20%, rgba(4, 18, 24, 0.52) 100%),
    radial-gradient(circle at 85% 10%, rgba(201, 154, 74, 0.32), transparent 42%);
  pointer-events: none;
}

.acc-life-card__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transform: translateZ(0);
}

.acc-life-card__body {
  padding: clamp(1.15rem, 2.1vw, 1.8rem);
}

.acc-life-card__body h3 {
  font-size: clamp(1.3rem, 1.3vw, 1.6rem);
  color: var(--acc-life-card-text);
  margin-bottom: 0.55rem;
}

.acc-life-card__body p {
  color: var(--acc-life-muted);
  margin-bottom: 1.15rem;
}

.acc-life-card__cta {
  min-width: 11.5rem;
}

.acc-life-card .btn {
  transform: translateZ(0);
}

.acc-life-card .btn:hover,
.acc-life-card .btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.acc-life-card.is-active {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 54px rgba(20, 43, 56, 0.2);
  border-color: rgba(47, 106, 111, 0.34);
  opacity: 1;
}

.acc-life-experience__cards .acc-life-card+.acc-life-card {
  position: relative;
}

.acc-life-experience__cards .acc-life-card+.acc-life-card::before {
  content: '';
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  top: -0.78rem;
  border-top: 1px solid var(--acc-life-divider);
}

@media (max-width: 768px) {
  .acc-life-experience {
    padding-top: clamp(2.7rem, 5vw, 4.1rem) !important;
    padding-bottom: clamp(2.7rem, 5vw, 4.1rem) !important;
  }

  .acc-life-experience__intro {
    text-align: center;
  }

  .acc-life-lead {
    margin-inline: auto;
  }

  .acc-life-actions {
    justify-content: center;
  }

  .acc-life-experience__cards {
    width: 100%;
    gap: 1rem;
  }

  .acc-life-card.is-active {
    transform: none;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .acc-life-experience__layout {
    grid-template-columns: 1fr;
  }

  .acc-life-experience__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acc-life-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .acc-life-experience__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: calc(100vh - var(--acc-navbar-h) - 2rem);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .acc-life-experience__intro {
    position: sticky;
    top: calc(var(--acc-navbar-h) + 2rem);
    padding-right: 1rem;
  }

  .acc-life-experience__cards {
    padding-block: 0.8rem 1.1rem;
  }
}

.acc-hover-lift {
  transition: transform var(--acc-transition), box-shadow var(--acc-transition), border-color var(--acc-transition);
}

.acc-hover-lift:hover,
.acc-hover-lift:focus-within {
  transform: translateY(-7px);
  box-shadow: var(--acc-shadow-md);
}

.acc-parallax,
.acc-parallax-panel {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.acc-sticky-editorial {
  position: sticky;
  top: calc(var(--acc-navbar-h) + 1rem);
}

.acc-editorial-frame {
  padding: clamp(1.15rem, 1.4vw, 1.6rem);
  border: 1px solid rgba(220, 228, 234, 0.9);
  border-radius: var(--acc-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--acc-shadow-sm);
}

.acc-premium-footer {
  position: relative;
  background:
    linear-gradient(145deg, #050505 0%, #111111 60%, #000000 100%) !important;
  overflow: hidden;
}

.acc-premium-footer::before {
  content: '';
  position: absolute;
  pointer-events: none;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  top: -180px;
  right: -100px;
  background: radial-gradient(circle, rgba(201, 154, 74, 0.28), transparent 68%);
}

.acc-premium-footer .text-secondary {
  color: #b4c1cc !important;
}

.acc-footer-links a {
  color: #c7d0d9 !important;
  text-decoration: none;
  transition: color var(--acc-transition), padding-left var(--acc-transition);
  display: inline-block;
}

.acc-footer-links a:hover {
  color: #ffffff !important;
  padding-left: 6px;
}

.acc-footer-legal a {
  color: #c7d0d9 !important;
  text-decoration: none;
  transition: color var(--acc-transition);
}

.acc-footer-legal a:hover {
  color: #ffffff !important;
}

.acc-footer-contact a {
  color: #c7d0d9 !important;
  text-decoration: none;
  transition: color var(--acc-transition);
}

.acc-footer-contact a:hover {
  color: #ffffff !important;
}

.acc-footer-desc {
  line-height: 1.7;
  color: #9ab0bc !important;
}

.footer-trust-bar,
.footer-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.letter-spacing-wide {
  letter-spacing: 0.06em;
}

.text-gold {
  color: var(--acc-gold-500) !important;
}

.acc-trust-badge {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--acc-radius-pill) !important;
  padding: 0.6rem 1.4rem;
}

.acc-social-list a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: transform var(--acc-transition), background-color var(--acc-transition), border-color var(--acc-transition);
}

.acc-social-list a:hover {
  transform: translateY(-2px);
  background: rgba(201, 154, 74, 0.18);
  border-color: rgba(201, 154, 74, 0.35);
}

.acc-service-media {
  position: relative;
  min-height: 220px;
  border-radius: 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(9, 31, 34, 0.2), rgba(9, 31, 34, 0.58)),
    radial-gradient(circle at 72% 18%, rgba(201, 154, 74, 0.32), transparent 34%),
    linear-gradient(135deg, #6e8e91, #254246);
}

.acc-service-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 12px, transparent 12px 24px);
  mix-blend-mode: screen;
}

.acc-service-media__label {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.84rem;
  backdrop-filter: blur(10px);
}

.acc-service-panel {
  height: 100%;
  padding: clamp(1.3rem, 1.2vw, 1.65rem);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(220, 228, 234, 0.94);
  box-shadow: 0 20px 46px rgba(12, 43, 45, 0.08);
}

.acc-service-panel .btn {
  margin-top: auto;
}

.acc-link-arrow {
  position: relative;
  transition: color var(--acc-transition), transform var(--acc-transition);
}

.acc-link-arrow i {
  transition: transform var(--acc-transition);
}

.acc-link-arrow:hover i {
  transform: translateX(4px);
}

footer .bg-secondary.rounded,
footer .bg-secondary.rounded.px-4 {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--acc-radius-pill) !important;
}

.acc-mobile-quickbar {
  position: fixed;
  left: 50%;
  bottom: 0.72rem;
  transform: translateX(-50%);
  z-index: 1080;
  width: min(94vw, 500px);
  border-radius: var(--acc-radius-pill);
  background: rgba(9, 31, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--acc-shadow-lg);
  backdrop-filter: blur(10px);
  padding: 0.35rem;
}

.acc-mobile-quickbar .btn {
  min-height: 42px;
  font-size: 0.91rem;
}

/* ─── MODERN CHATBOT UPGRADE ─── */
.acc-chatbot {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2000;
  border-radius: 1px solid var(--acc-gold-500);
  font-family: var(--acc-font-body);
}

.acc-chatbot__launcher {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--acc-gold-500);
  background: linear-gradient(145deg, var(--acc-gold-500) 0%, #d4a95a 100%);
  border: none;
  color: var(--acc-brand-900);
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(12, 43, 45, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  z-index: 2;
  overflow: visible;
}

.acc-chatbot__launcher:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(12, 43, 45, 0.4);
}

.acc-chatbot__launcher::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  opacity: 0;
  transition: all 0.4s ease;
}

.acc-chatbot__launcher:hover::before {
  opacity: 1;
  inset: -6px;
}

.acc-chatbot__launcher i {
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  font-size: 1.6rem;
}

.acc-chatbot__launcher[aria-expanded="true"] i {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

.acc-chatbot__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  animation: acc-pulse 2s infinite;
}

@keyframes acc-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

.acc-chatbot__window {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: min(92vw, 420px);
  height: min(80vh, 640px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 32px 80px rgba(12, 43, 45, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform-origin: bottom right;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  visibility: hidden;
}

.acc-chatbot__window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.acc-chatbot__header {
  background: var(--acc-brand-900);
  background: linear-gradient(135deg, var(--acc-brand-900) 0%, var(--acc-brand-800) 100%);
  color: #fff;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  position: relative;
}

.acc-chatbot__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--acc-gold-500);
  background: linear-gradient(135deg, var(--acc-gold-500) 0%, var(--acc-gold-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.acc-chatbot__avatar::after {
  content: '';
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  background: #27ae60;
  border: 2px solid var(--acc-brand-900);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

.acc-chatbot__header-info {
  flex: 1;
}

.acc-chatbot__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  font-family: var(--acc-font-body);
}

.acc-chatbot__subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.acc-chatbot__header-actions {
  display: flex;
  gap: 0.5rem;
}

.acc-chatbot__action-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 0.95rem;
}

.acc-chatbot__action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg) scale(1.1);
}

.acc-chatbot__action-btn--reset:hover {
  transform: rotate(-180deg) scale(1.1);
}

.acc-chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 100% 100%, rgba(201, 154, 74, 0.03), transparent 40%),
    rgba(255, 255, 255, 0.4);
}

.acc-chatbot__messages::-webkit-scrollbar {
  width: 5px;
}

.acc-chatbot__messages::-webkit-scrollbar-thumb {
  background: rgba(12, 43, 45, 0.1);
  border-radius: 10px;
}

.acc-chatbot__bubble {
  max-width: 88%;
  padding: 0.85rem 1.1rem;
  font-size: 0.94rem;
  line-height: 1.55;
  position: relative;
  animation: acc-msg-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes acc-msg-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.acc-chatbot__bubble--bot {
  background: #fff;
  color: var(--acc-ink-900);
  border-radius: 20px 20px 20px 6px;
  align-self: flex-start;
  box-shadow: 0 6px 18px rgba(12, 43, 45, 0.04);
  border: 1px solid rgba(12, 43, 45, 0.04);
  position: relative;
}

.acc-chatbot__bubble--bot::before {
  content: '';
  position: absolute;
  left: -6px;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.acc-chatbot__bubble--user {
  background: var(--acc-brand-900);
  background: linear-gradient(135deg, var(--acc-brand-900) 0%, var(--acc-brand-700) 100%);
  color: #ffffff;
  border-radius: 20px 20px 6px 20px;
  align-self: flex-end;
  box-shadow: 0 10px 25px rgba(12, 43, 45, 0.15);
}

.acc-chatbot__typing {
  padding: 0.85rem 1.1rem;
  background: #fff;
  border-radius: 20px 20px 20px 4px;
  align-self: flex-start;
  display: flex;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(12, 43, 45, 0.05);
}

.acc-chatbot__typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc-brand-500);
  opacity: 0.4;
  animation: acc-typing 1s infinite alternate;
}

.acc-chatbot__typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.acc-chatbot__typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes acc-typing {
  from {
    transform: translateY(0);
    opacity: 0.4;
  }

  to {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.acc-chatbot__chips-container {
  padding: 0 1rem 0.75rem;
  background: transparent;
}

.acc-chatbot__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.acc-chatbot__chip {
  background: #fff;
  border: 1px solid var(--acc-brand-700);
  color: var(--acc-brand-700);
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(12, 43, 45, 0.05);
}

.acc-chatbot__chip:hover {
  background: var(--acc-brand-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(27, 77, 82, 0.15);
}

.acc-chatbot__input-area {
  padding: 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(12, 43, 45, 0.05);
}

.acc-chatbot__input-wrapper {
  display: flex;
  align-items: center;
  background: #f1f4f6;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 0.35rem 0.5rem 0.35rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.acc-chatbot__input-wrapper:focus-within {
  background: #fff;
  border-color: var(--acc-gold-500);
  box-shadow: 0 4px 12px rgba(201, 154, 74, 0.15);
}

.acc-chatbot__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  outline: none;
  color: var(--acc-ink-900);
  font-family: inherit;
  font-weight: 500;
}

.acc-chatbot__input::placeholder {
  color: rgba(21, 27, 38, 0.4);
}

.acc-chatbot__input:focus-visible {
  outline: none;
}

.acc-chatbot__send-btn {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--acc-brand-900);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.acc-chatbot__send-btn:hover:not(:disabled) {
  background: var(--acc-brand-700);
  transform: scale(1.05) rotate(5deg);
}

.acc-chatbot__send-btn:disabled {
  background: var(--acc-border);
  cursor: not-allowed;
  transform: none;
}

/* Lead Form Upgrade */
.acc-chatbot__form {
  background: var(--acc-cream);
  padding: 1.1rem;
  border-radius: 20px;
  border: 1px solid var(--acc-border);
  margin-bottom: 0.5rem;
}

.acc-chatbot__form-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--acc-brand-900);
}

.acc-chatbot__form-group {
  margin-bottom: 0.75rem;
}

.acc-chatbot__form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--acc-border);
  border-radius: 12px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.acc-chatbot__form-input:focus {
  border-color: var(--acc-brand-700);
}

.acc-chatbot__form-submit {
  width: 100%;
  background: var(--acc-gold-500);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.acc-chatbot__form-submit:hover {
  background: var(--acc-gold-600);
}

@media (max-width: 575.98px) {
  .acc-chatbot {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .acc-chatbot__window {
    width: calc(100vw - 1.5rem);
    height: calc(100vh - 90px);
    bottom: 76px;
    border-radius: 20px;
  }
}


@media (max-width: 1199.98px) {
  :root {
    --acc-section-y: clamp(3rem, 2.4rem + 2.2vw, 4.8rem);
    --acc-fs-h1: clamp(2rem, 1.2rem + 2.5vw, 3.6rem);
    --acc-fs-h2: clamp(1.56rem, 1.12rem + 1.3vw, 2.45rem);
  }
}

@media (max-width: 991.98px) {
  :root {
    --acc-navbar-h: 72px;
    --acc-font-body: "Plus Jakarta Sans", sans-serif;
    --acc-fs-body: 0.98rem;
  }

  .acc-navbar-container {
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: space-between;
    padding-inline: 0.5rem;
  }

  .brand-logo {
    width: clamp(118px, 32vw, 140px);
    height: auto;
  }

  .navbar-nav {
    align-items: stretch;
    gap: 0.25rem;
  }

  /* ─── Mobile Nav Panel — fast + smooth (works with Bootstrap collapse) ─── */
  .navbar-collapse {
    margin-top: 0.85rem;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(12, 43, 45, 0.06);
    border-radius: 1.5rem;
    padding: 1.25rem 1rem;
    max-height: calc(100dvh - var(--acc-navbar-h) - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 24px 60px rgba(12, 43, 45, 0.18), 0 0 0 1px rgba(12, 43, 45, 0.02);
  }

  /* Make Bootstrap's height transition near-instant (still fires transitionend) */
  .navbar-collapse.collapsing {
    transition: height 0.01s linear !important;
    overflow: hidden;
  }

  /* GPU-accelerated slide-in when menu opens */
  .navbar-collapse.show {
    animation: accMenuOpen 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes accMenuOpen {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Fast stagger on items — tight 20ms gaps for snappy cascade */
  .navbar-collapse .nav-item {
    opacity: 0;
    transform: translateY(8px);
  }

  .navbar-collapse.show .nav-item {
    animation: accNavItemIn 0.22s ease forwards;
  }

  @keyframes accNavItemIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.02s; }
  .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.04s; }
  .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.06s; }
  .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.08s; }
  .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.10s; }
  .navbar-collapse.show .nav-item:nth-child(6) { animation-delay: 0.12s; }
  .navbar-collapse.show .nav-item:nth-child(7) { animation-delay: 0.14s; }
  .navbar-collapse.show .nav-item:nth-child(8) { animation-delay: 0.16s; }

  .acc-premium-navbar .nav-link {
    padding: 0.85rem 1rem !important;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.85rem;
    color: var(--acc-brand-900) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
  }

  .acc-premium-navbar .nav-link:hover,
  .acc-premium-navbar .nav-link:active {
    background: rgba(47, 106, 111, 0.05);
    padding-left: 1.15rem !important;
  }

  /* Reset underline on mobile — not needed */
  .acc-premium-navbar .nav-link:not(.dropdown-toggle)::after {
    display: none;
  }

  .acc-premium-navbar .nav-link.active {
    background: rgba(47, 106, 111, 0.08);
    color: var(--acc-brand-700) !important;
    border-left: 3px solid var(--acc-gold-500);
    border-radius: 0.4rem 0.85rem 0.85rem 0.4rem;
  }

  /* Mobile dropdown menu */
  .acc-premium-navbar .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    margin-top: 0.25rem !important;
    background: rgba(246, 243, 237, 0.8);
    border-radius: 1rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .acc-services-dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    display: inline-flex;
    align-items: center;
    padding-right: 1rem !important;
  }

  .acc-services-menu,
  .acc-contact-menu {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    float: none;
    min-width: 100%;
    width: 100%;
    padding: 0.6rem;
    max-height: none;
    overflow-y: visible;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.6);
  }

  .acc-services-menu .dropdown-item {
    min-height: 46px;
    padding: 0.75rem 0.85rem !important;
    font-size: 0.98rem;
  }

  /* Gap bridge not needed on mobile */
  .acc-premium-navbar .dropdown>.dropdown-menu {
    padding-top: 0.5rem;
    margin-top: 0 !important;
  }

  .acc-services-dropdown .dropdown-toggle.show {
    background: rgba(47, 106, 111, 0.06);
    color: var(--acc-brand-900) !important;
    border-radius: 0.85rem;
  }

  .acc-services-menu .acc-services-menu__headline {
    padding-top: 0.35rem;
    font-size: 0.68rem;
  }

  .acc-services-menu .dropdown-item {
    font-size: 0.92rem;
    padding: 0.55rem 0.6rem !important;
    min-height: 42px;
  }

  .acc-services-menu .dropdown-item i {
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 1.4rem;
    font-size: 0.78rem;
  }

  /* Mobile CTA button */
  .acc-premium-navbar .btn-primary {
    width: 100%;
    min-height: 42px;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    padding: 0.45rem 1.2rem;
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 999px;
  }


  .acc-chatbot {
    right: 0.75rem;
    bottom: 4.6rem;
  }

  .acc-chatbot__window {
    width: min(94vw, 360px);
  }

  .acc-sticky-editorial {
    position: static;
    top: auto;
  }

  .services-intro {
    padding: 70px 18px 36px;
  }

  .stack-services-list {
    width: min(100%, 920px);
  }

  .stack-service-card {
    position: relative;
    top: auto;
    min-height: 340px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
    margin-bottom: 1.2rem;
  }

  .stack-service-card__content {
    padding: 24px 22px;
  }

  .stack-service-card h3 {
    font-size: 1.7rem;
  }

  .stack-service-card p {
    font-size: 1rem;
    line-height: 1.75;
    max-width: 100%;
  }

  .acc-lead-magnet-wrap {
    padding: 1.15rem;
  }

  .acc-lead-benefits {
    gap: 0.48rem;
  }

  .acc-why-card {
    padding: 1rem;
  }

  .acc-why-card p {
    font-size: 0.96rem;
  }

  .acc-why-trustbar {
    border-radius: 0.9rem;
    gap: 0.7rem;
  }

  .acc-proof-item {
    flex: 1 1 calc(50% - 0.7rem);
  }

  .acc-virtual-stage {
    min-height: 320px;
  }

  .acc-virtual-stage__card--front {
    left: 8%;
    top: 10%;
  }

  .acc-virtual-stage__card--back {
    right: 6%;
    bottom: 8%;
  }
}

@media (max-width: 767.98px) {
  :root {
    --acc-font-body: "Plus Jakarta Sans", sans-serif;
    --acc-fs-body: 1rem;
    --acc-section-y: clamp(2.5rem, 2.05rem + 2.2vw, 3.5rem);
    --acc-fs-h1: clamp(1.92rem, 1.36rem + 2.1vw, 2.72rem);
    --acc-fs-h2: clamp(1.42rem, 1.1rem + 1.2vw, 1.96rem);
    --acc-fs-h3: clamp(1.16rem, 1.02rem + 0.7vw, 1.5rem);
    --acc-btn-min-h: 44px;
    --acc-btn-min-h-sm: 44px;
    --acc-btn-min-h-lg: 48px;
  }

  .acc-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .acc-hero-actions .btn {
    width: min(100%, 220px);
  }

  .acc-hero-trust {
    position: relative;
    min-height: 2.35rem;
    width: 100%;
    overflow: hidden;
    display: block;
  }

  .acc-hero-trust .acc-hero-trust__badge {
    width: fit-content;
    max-width: 100%;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 320ms ease, transform 320ms ease;
  }

  .acc-hero-trust .acc-hero-trust__badge.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .btn {
    --bs-btn-padding-y: 0.62rem;
    --bs-btn-padding-x: 1rem;
    white-space: normal;
  }

  .acc-premium-navbar .nav-link {
    font-size: 0.94rem;
  }

  .acc-premium-navbar .nav-link:not(.dropdown-toggle)::after {
    display: none;
  }

  #not-sure-banner,
  #cta-banner,
  #apply-cta-banner,
  #newsletter-cta,
  #about-cta,
  #virtual-tour-cta,
  #lead-magnet {
    margin-inline: 0;
    border-radius: var(--acc-radius-lg);
  }

  .acc-chatbot {
    right: 0.65rem;
    bottom: 4.6rem;
  }

  .acc-chatbot__window {
    width: min(96vw, 360px);
    height: 480px;
  }

  .modern-services-section {
    padding-bottom: 20px;
  }

  .services-intro {
    padding: 60px 16px 24px;
  }

  .stack-services-list {
    width: min(100%, 760px);
  }

  .stack-service-card {
    position: relative;
    top: auto;
    min-height: auto;
    border-radius: 20px;
    grid-template-columns: 1fr;
    margin-bottom: 0.8rem;
  }

  .stack-service-card__media {
    min-height: 210px;
  }

  .stack-service-card__content {
    padding: 24px 20px;
  }

  .stack-service-card h3 {
    font-size: 1.45rem !important;
  }

  .stack-service-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 22px !important;
  }

  #lead-magnet h3 {
    font-size: clamp(1.38rem, 1.14rem + 1.35vw, 1.78rem);
  }

  .acc-lead-form-card {
    padding: 0.95rem;
  }

  .acc-lead-form-card .form-control,
  .acc-lead-form-card .btn {
    min-height: 44px;
  }

  .acc-lead-benefits li {
    font-size: 0.92rem;
  }

  .acc-why-kicker {
    margin-bottom: 0.6rem;
  }

  .acc-why-card {
    border-radius: 0.95rem;
  }

  .acc-why-card__icon {
    width: 2.9rem;
    height: 2.9rem;
    margin-bottom: 0.68rem;
  }

  .acc-why-card p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .acc-why-trustbar {
    padding: 0.7rem;
    gap: 0.55rem;
  }

  .acc-proof-item {
    width: 100%;
    border-radius: 0.75rem;
    padding: 0.52rem 0.58rem;
  }

  .acc-proof-logo {
    min-width: 2.3rem;
    height: 2rem;
    font-size: 0.72rem;
  }

  .acc-proof-copy strong {
    font-size: 0.82rem;
  }

  .acc-proof-copy small {
    font-size: 0.72rem;
  }

  .acc-virtual-cta-panel {
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .acc-virtual-cta-panel::after {
    width: 120px;
    height: 120px;
    right: -36px;
    top: -34px;
  }

  .acc-virtual-cta__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acc-virtual-stage {
    min-height: 280px;
  }

  .acc-virtual-stage__card {
    width: min(88%, 280px);
    padding: 0.85rem;
  }

  .acc-virtual-stage__card--front {
    left: 2%;
    top: 5%;
    transform: rotateY(-8deg);
  }

  .acc-virtual-stage__card--back {
    right: 0;
    bottom: 2%;
    transform: rotateY(8deg);
  }

  .modern-services-section::after {
    display: none;
  }
}

@media (max-width: 479.98px) {
  .acc-hero-trust .acc-hero-trust__badge {
    max-width: 94%;
  }

  .acc-hero-trust .acc-hero-trust__badge span {
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-inline: 1rem;
  }

  p,
  li {
    line-height: 1.58;
  }

  .acc-mobile-quickbar {
    bottom: 0.5rem;
    width: min(96vw, 460px);
  }

  .acc-mobile-quickbar .btn {
    font-size: 0.85rem;
    padding-inline: 0.45rem;
    min-height: 44px;
  }
}

@media (max-width: 375px) {
  :root {
    --acc-font-body: "Plus Jakarta Sans", sans-serif;
    --acc-fs-body: 0.95rem;
  }

  .btn {
    font-size: 0.86rem;
    --bs-btn-padding-x: 0.9rem;
  }

  .acc-hero-actions .btn {
    width: min(100%, 206px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .card,
  .btn,
  [data-stagger-item],
  [data-motion-card],
  [data-cta-pop],
  [data-fade-col],
  .acc-parallax,
  .acc-scroll-hero [data-hero-reveal] {
    transform: none !important;
    opacity: 1 !important;
  }

  .acc-hero-trust .acc-hero-trust__badge {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
  }

}

/* ============================================================
   2026 PREMIUM UPGRADE LAYER
   Care-home focused accessibility, motion, and modern UI
   ============================================================ */

/* ── Body minimums for elderly readability ── */
body {
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.75;
}

main p,
main li,
.card-text,
.acc-why-card p {
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.08rem);
  line-height: 1.8;
}

/* ── Universal visible focus ring (WCAG) ── */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--acc-gold-500) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(201, 154, 74, 0.2) !important;
  border-radius: 8px;
}

/* ── Standardised buttons: min tap target 48px ── */
.btn {
  min-height: var(--acc-btn-min-h);
  padding: 0.75rem 1.4rem;
}

.btn-lg {
  min-height: var(--acc-btn-min-h-lg);
}

.btn-sm {
  min-height: var(--acc-btn-min-h-sm);
}

/* ── ABOUT SUMMARY ── */
.acc-about-summary {
  background: var(--acc-surface);
  border-block: 1px solid var(--acc-border);
}

.acc-about-summary__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.acc-about-summary__kicker {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--acc-gold-600);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.acc-about-summary__lede {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.7;
  color: var(--acc-ink-700);
}

.acc-about-summary__lede strong {
  color: var(--acc-brand-900);
}

.acc-about-summary__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem 2rem;
  margin: 1.6rem 0 0;
}

.acc-about-summary__facts>div {
  border-left: 3px solid var(--acc-gold-500);
  padding: 0.2rem 0 0.2rem 0.9rem;
}

.acc-about-summary__facts dt {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc-ink-400);
  margin: 0;
}

.acc-about-summary__facts dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: var(--acc-ink-900);
}

/* ── INNER PAGE HERO BANNER ── */
#page-hero {
  position: relative;
  min-height: 46vh;
  overflow: hidden;
  padding: calc(var(--acc-navbar-h) + 3rem) 0 3.5rem !important;
  background: var(--acc-brand-900) !important;
  isolation: isolate;
}

#page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--acc-page-hero-bg, url('../images/gallery/forest-place/1.webp'));
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.02);
}

#page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 43, 45, 0.45) 0%, rgba(12, 43, 45, 0.75) 100%);
  z-index: -1;
}

#page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
}

#page-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
}

#page-hero .breadcrumb {
  margin-bottom: 1rem;
}

#page-hero .breadcrumb-item,
#page-hero .breadcrumb-item.active,
#page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}

#page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767.98px) {
  #page-hero {
    min-height: 38vh;
    text-align: center;
  }

  #page-hero .breadcrumb {
    justify-content: center;
  }
}

/* ── ON-SCROLL FULL-WIDTH PANELS ── */
.acc-scroll-panels {
  display: grid;
  gap: clamp(2rem, 3vw, 4rem);
}

.acc-scroll-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.acc-scroll-panel.is-in {
  opacity: 1;
  transform: translateY(0);
}

.acc-scroll-panel__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--acc-radius-lg);
  box-shadow: var(--acc-shadow-md);
}

.acc-scroll-panel--alt .acc-scroll-panel__media {
  order: 2;
}

@media (max-width: 767.98px) {
  .acc-scroll-panel {
    grid-template-columns: 1fr;
  }

  .acc-scroll-panel--alt .acc-scroll-panel__media {
    order: 0;
  }
}

/* ── PARALLAX STAT CARDS ── */
.acc-stats-shell {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 253, 0.9));
  border: 1px solid rgba(19, 43, 56, 0.13);
  border-radius: clamp(1.15rem, 2vw, 1.8rem);
  box-shadow:
    0 28px 60px -40px rgba(10, 36, 48, 0.5),
    0 12px 30px -24px rgba(194, 153, 77, 0.35);
  padding: clamp(1.3rem, 2.6vw, 2.4rem);
}

.acc-stats-shell__intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(1.6rem, 2.4vw, 2.1rem);
}

.acc-stats-shell__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--acc-gold-700);
}

.acc-stats-shell__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.7rem, 1.35rem + 1.35vw, 2.55rem);
  line-height: 1.1;
  color: #102a38;
}

.acc-stats-shell__lead {
  color: #435969;
  font-size: clamp(0.97rem, 0.91rem + 0.25vw, 1.1rem);
}

.acc-parallax-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.2rem);
}

.acc-parallax-stat {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: clamp(180px, 20vw, 250px);
  padding: clamp(1rem, 2.1vw, 1.5rem);
  border-radius: 1.1rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  border: 1px solid rgba(16, 42, 56, 0.12);
  box-shadow: 0 20px 38px -30px rgba(16, 42, 56, 0.45);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.acc-parallax-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 106, 111, 0.28);
  box-shadow: 0 28px 52px -36px rgba(11, 43, 58, 0.54);
}

.acc-parallax-stat__icon {
  width: clamp(2.6rem, 2.1rem + 1vw, 3.2rem);
  height: clamp(2.6rem, 2.1rem + 1vw, 3.2rem);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  margin-bottom: clamp(0.75rem, 1vw, 0.95rem);
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.45rem);
  color: #1d4e5d;
  background: linear-gradient(180deg, #f8fbff 0%, #eaf3f8 100%);
  border: 1px solid rgba(47, 106, 111, 0.24);
  box-shadow: 0 12px 22px -18px rgba(16, 62, 83, 0.55);
}

.acc-parallax-stat__num {
  font-size: clamp(3.2rem, 2.3rem + 3.1vw, 5.2rem) !important;
  font-weight: 700;
  line-height: 0.88;
  margin-bottom: 0.62rem;
  letter-spacing: -0.015em;
}

.acc-parallax-stat__label {
  font-size: clamp(0.92rem, 0.85rem + 0.24vw, 1.06rem);
  font-weight: 700;
  color: #375061;
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 991.98px) {
  .acc-parallax-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .acc-stats-shell {
    border-radius: 1.5rem;
    padding: 2.2rem 1.25rem;
  }

  .acc-stats-shell__intro {
    text-align: center;
    margin-bottom: 2rem;
  }

  .acc-parallax-stats {
    grid-template-columns: 1fr;
  }

  .acc-parallax-stat {
    text-align: center;
    justify-items: center;
    min-height: 160px;
    padding: 1.5rem 1rem;
  }

  .acc-parallax-stat__icon {
    margin-bottom: 0.65rem;
  }

  .acc-parallax-stat__num {
    font-size: clamp(2.9rem, 11vw, 4.1rem) !important;
  }
}

/* ── HORIZONTAL SCROLL RAIL ── */
.acc-hscroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: thin;
}

.acc-hscroll>* {
  scroll-snap-align: start;
}

.acc-hscroll::-webkit-scrollbar {
  height: 8px;
}

.acc-hscroll::-webkit-scrollbar-thumb {
  background: var(--acc-border);
  border-radius: 4px;
}

@media (min-width: 992px) {
  .acc-hscroll {
    grid-auto-columns: minmax(280px, 1fr);
  }
}

/* ── EVENT GALLERY ── */
.acc-event-gallery {
  background: var(--acc-cream);
  padding: var(--acc-section-y) 0;
}

.acc-event-filters-container {
  margin-bottom: 3.5rem;
  display: flex;
  justify-content: center;
}

.acc-event-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.5rem;
}

.acc-gallery-select {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 1.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(12, 43, 45, 0.1);
  font-weight: 600;
  color: var(--acc-brand-900);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.4s var(--acc-transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230c2b2d' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1rem;
}

.acc-gallery-select:focus {
  outline: none;
  border-color: var(--acc-brand-600);
  box-shadow: 0 15px 40px rgba(12, 43, 45, 0.1);
  transform: translateY(-2px);
}

.acc-event-filters::-webkit-scrollbar {
  display: none;
}

@media (min-width: 992px) {
  .acc-event-filters {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding: 0;
  }
}

.acc-event-filter {
  background: transparent;
  border: 1px solid var(--acc-brand-900);
  color: var(--acc-brand-900);
  border-radius: var(--acc-radius-pill);
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 44px;
  white-space: nowrap;
  transition: all 0.3s var(--acc-transition);
  cursor: pointer;
}

.acc-event-filter:hover {
  background: rgba(12, 43, 45, 0.05);
  transform: translateY(-2px);
}

.acc-event-filter.is-active {
  background: var(--acc-brand-900);
  color: #fff;
}

.is-hidden {
  display: none !important;
}

.acc-load-hidden {
  display: none !important;
}

.acc-event-grid {
  column-count: 3;
  column-gap: 2rem;
}

@media (max-width: 1200px) {
  .acc-event-grid {
    column-count: 3;
    column-gap: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .acc-event-grid {
    column-count: 2;
    column-gap: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .acc-event-grid {
    column-count: 1;
  }
}

.acc-event-item {
  break-inside: avoid;
  margin-bottom: 2.5rem;
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  transition: transform 0.6s var(--acc-transition), box-shadow 0.6s var(--acc-transition);
  opacity: 0;
  transform: translateY(40px);
  animation: accFadeInUp 1s var(--acc-transition) forwards;
  box-shadow: 0 10px 30px rgba(12, 43, 45, 0.05);
}

.acc-event-item__badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--acc-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--acc-brand-900);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s var(--acc-transition);
}

.acc-event-item:hover .acc-event-item__badge {
  transform: translateY(-5px);
  background: var(--acc-brand-900);
  color: #fff;
}

@keyframes accFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.acc-event-item:nth-child(1) {
  animation-delay: 0.1s;
}

.acc-event-item:nth-child(2) {
  animation-delay: 0.15s;
}

.acc-event-item:nth-child(3) {
  animation-delay: 0.2s;
}

.acc-event-item:nth-child(4) {
  animation-delay: 0.25s;
}

.acc-event-item:nth-child(5) {
  animation-delay: 0.3s;
}

.acc-event-item:nth-child(6) {
  animation-delay: 0.35s;
}

.acc-event-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(12, 43, 45, 0.25);
}

.acc-event-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s var(--acc-transition);
}

.acc-event-item:hover img {
  transform: scale(1.1);
}

.acc-event-item__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(12, 43, 45, 0.95) 0%, rgba(12, 43, 45, 0.6) 40%, transparent 100%);
  opacity: 0;
  transition: all 0.5s var(--acc-transition);
  pointer-events: none;
}

.acc-event-item:hover .acc-event-item__caption {
  opacity: 1;
}

.acc-event-item__date {
  display: inline-block;
  background: var(--acc-gold-500);
  color: #1c1708;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--acc-radius-pill);
  margin-bottom: 0.4rem;
}

.acc-event-item__title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  transform: translateY(15px);
  transition: transform 0.5s var(--acc-transition);
}

.acc-event-item:hover .acc-event-item__title {
  transform: translateY(0);
}

.acc-event-item__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.4;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.acc-event-item:hover .acc-event-item__desc {
  transform: translateY(0);
}

.acc-load-more-wrap {
  text-align: center;
  margin-top: 3rem;
  padding-bottom: 2rem;
}

.acc-load-more-wrap .btn {
  padding: 1rem 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  background: var(--acc-brand-900);
  border: none;
  color: #fff;
  border-radius: var(--acc-radius-pill);
  transition: all 0.5s var(--acc-transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(12, 43, 45, 0.15);
}

.acc-load-more-wrap .btn:hover {
  background: var(--acc-brand-700);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(12, 43, 45, 0.25);
}

.acc-load-more-wrap .btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.acc-load-more-wrap .btn:hover::after {
  left: 100%;
}

/* ── LIGHTBOX ── */
.acc-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 20, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.acc-lightbox.is-open {
  display: flex;
}

.acc-lightbox__img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: var(--acc-radius-md);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.acc-lightbox__close,
.acc-lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
}

.acc-lightbox__close:hover,
.acc-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  color: var(--acc-gold-500, #c99a4a);
}

.acc-lightbox__close:hover {
  transform: rotate(90deg) scale(1.1);
}

.acc-lightbox__close {
  top: 2rem;
  right: 2rem;
}

.acc-lightbox__nav--prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.acc-lightbox__nav--prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.acc-lightbox__nav--next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.acc-lightbox__nav--next:hover {
  transform: translateY(-50%) scale(1.1);
}

.acc-lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem 1.2rem;
  border-radius: var(--acc-radius-pill);
  font-weight: 500;
  text-align: center;
  max-width: 86vw;
}

/* ── Team Preview Refresh (elderly + family decision-makers) ── */
.acc-team-section {
  --acc-team-bg: #f4f7f6;
  --acc-team-surface: #ffffff;
  --acc-team-border: #d7e2de;
  --acc-team-title: #0f2f33;
  --acc-team-body: #264547;
  --acc-team-soft: #4e6968;
  --acc-team-shadow: 0 20px 50px rgba(12, 39, 41, 0.08);
  background: radial-gradient(120% 100% at 100% 0%, #ecf3f1 0%, var(--acc-team-bg) 56%, #f8fbfa 100%);
  padding-block: clamp(3.25rem, 5vw, 5.5rem);
  overflow-x: clip;
}

.acc-team-kicker {
  font-size: clamp(0.9rem, 0.82rem + 0.2vw, 1rem);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #355e5f;
  font-weight: 800;
}

.acc-team-title {
  color: var(--acc-team-title);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.85rem, 1.35rem + 1.8vw, 3rem);
  line-height: 1.18;
}

.acc-team-lead {
  color: var(--acc-team-body);
  font-size: clamp(1.07rem, 0.98rem + 0.4vw, 1.28rem);
  line-height: 1.72;
  max-width: 60ch;
}

.acc-team-panel {
  background: var(--acc-team-surface);
  border: 1px solid var(--acc-team-border);
  border-radius: 1.15rem;
  box-shadow: var(--acc-team-shadow);
  padding: clamp(1rem, 0.8rem + 1vw, 1.55rem);
}

.acc-team-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.acc-team-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--acc-team-body);
  font-size: 1rem;
  line-height: 1.55;
}

.acc-team-list li:last-child {
  margin-bottom: 0;
}

.acc-team-list li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.5rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: #2f6a6f;
}

.acc-team-cta .btn {
  min-height: 52px;
  font-size: 1rem;
  border-radius: 0.86rem;
  transition: transform 220ms ease, opacity 220ms ease;
}

.acc-team-cta .btn:hover,
.acc-team-cta .btn:focus-visible {
  transform: translateY(-2px);
}

.acc-team-section .acc-team-card {
  background: var(--acc-team-surface);
  border: 1px solid var(--acc-team-border);
  border-radius: 1.15rem;
  box-shadow: 0 12px 32px rgba(12, 39, 41, 0.07);
  padding: clamp(1.1rem, 0.95rem + 0.7vw, 1.45rem);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 220ms ease, opacity 220ms ease;
}

.acc-team-section .acc-team-card:hover,
.acc-team-section .acc-team-card:focus-within {
  transform: translateY(-4px);
}

.acc-team-section .acc-team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
  background: linear-gradient(135deg, #dbe8e3, #c7d9d3);
  color: #0f2f33;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.acc-team-section .acc-team-avatar span {
  font-size: 1.02rem;
}

.acc-team-section .acc-team-card h3 {
  color: var(--acc-team-title);
  font-size: clamp(1.18rem, 1.05rem + 0.25vw, 1.3rem);
  line-height: 1.35;
}

.acc-team-section .acc-team-role {
  color: #2f6a6f;
  font-size: 1rem;
  font-weight: 700;
}

.acc-team-section .acc-team-copy {
  color: var(--acc-team-soft);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
  line-height: 1.68;
}

.acc-team-section a:focus-visible,
.acc-team-section button:focus-visible {
  outline: 3px solid #0f4a4f;
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .acc-team-panel {
    padding: 1rem;
  }
}

@media (max-width: 767.98px) {
  .acc-team-section {
    padding-block: clamp(2.75rem, 9vw, 3.5rem);
  }

  .acc-team-section .acc-team-card {
    padding: 1rem;
  }

  .acc-team-cta .btn {
    width: 100%;
  }
}

/* ── STICKY STACK CARDS (enforce sticky behaviour) ── */
.stack-services-list {
  position: relative;
}

@media (min-width: 992px) {
  .stack-service-card {
    position: sticky;
    top: calc(var(--acc-navbar-h) + 2rem);
  }
}

/* ── Reduced motion overrides ── */
@media (prefers-reduced-motion: reduce) {

  .acc-scroll-panel,
  .acc-event-item,
  .acc-team-section .acc-team-card,
  .acc-team-cta .btn {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Utility Classes */
.text-gold {
  color: var(--acc-gold-500) !important;
}
/* Ensure long email addresses wrap properly across the site */
a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}
