/* Access Home Care - fast, clean, responsive */

:root{
  --bg: #ffffff;
  --surface: #f6f4f8;
  --surface-2: #fbfafc;
  --text: #121018;
  --muted: #5a5666;
  --primary: #54075b;      /* sampled from logo */
  --primary-2: #7b1f84;
  --accent: #a12bad;       
  --accent-2: #f3b84d;     /* warm accent */
  --border: rgba(18,16,24,.10);
  --shadow: 0 18px 45px rgba(18,16,24,.10);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  width: 100%;
  overflow-x: hidden
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0 0 14px; }
ul{ margin: 0; padding-left: 18px; }
small{ color: var(--muted); }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link{
  position:absolute; left:-999px; top:0;
  background: #000; color:#fff;
  padding:10px 12px; border-radius: 10px;
}
.skip-link:focus{ left: 12px; top: 12px; z-index: 9999; }

.header{
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px;
}
.brand{
  display:flex; align-items:center; gap: 12px;
  min-width: 220px;
}
.brand img{ width: 180px; height:auto; }
.nav{
  display:flex; align-items:center; gap: 8px; flex-wrap: wrap;
}
.nav a{
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover{ background: rgba(84,7,91,.06); color: var(--text); }
.nav a[aria-current="page"]{ background: rgba(84,7,91,.10); color: var(--primary); }

.header-cta{
  display:flex; align-items:center; gap:10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 22px rgba(18,16,24,.08);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  font-size: 14px;
  width:auto;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 35px rgba(18,16,24,.12); }
.btn.primary{
  border-color: rgba(84,7,91,.18);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff;
  width:auto;
}
.btn.ghost{
  background: rgba(84,7,91,.06);
  border-color: rgba(84,7,91,.16);
  color: var(--primary);
  box-shadow: none;
  width:auto;
}
.btn.small{ padding: 9px 12px; font-size: 13px; }
.btn-group{
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* THIS is the magic */
}

.btn-group .btn{
  width: auto; /* ensures no 100% width override anywhere */
}

.mobile-toggle{
  display:none;
  width:44px; height:44px;
  border-radius: 12px;
  border:1px solid var(--border);
  background:#fff;
  align-items:center; justify-content:center;
}
.mobile-toggle svg{ width: 22px; height: 22px; }

.mobile-drawer{
  position: fixed; inset: 0;
  background: rgba(8, 10, 22, 0.55);
  z-index: 9999;
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(8, 10, 22, 0.55);
  backdrop-filter: blur(6px);
  transition: opacity .22s ease, visibility .22s ease;
}
.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100vh;
  width: 100%;
  background: var(--surface, #fff);
  box-shadow: -24px 0 60px rgba(0,0,0,.28);
  transform: translateX(18px);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-drawer[data-open="true"] .drawer-panel{
  transform: translateX(0);
  opacity: 1;
}
.mobile-drawer[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.drawer-close{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--primary);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.drawer-top{ display:flex; justify-content:space-between; align-items:center; gap: 12px;}
.drawer-nav{ display:flex; flex-direction:column; gap: 6px; margin-top: 14px; }
.drawer-nav a{ padding: 12px 12px; border-radius: 14px; font-weight: 700;text-decoration:none; color: inherit; font-weight: 700; letter-spacing: .2px;}
.drawer-nav a:hover,
.drawer-nav a:focus-visible{
  background: rgba(0,0,0,.06);
  outline: none;
}
.drawer-nav a[aria-current="page"]{
  background: rgba(84,7,91,.90);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.drawer-cta{  margin-top: auto; display:flex;  flex-direction:column;  gap: 10px;}

.hero{
  position: relative;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(84,7,91,.18), transparent 55%),
    radial-gradient(900px 420px at 95% 10%, rgba(123,31,132,.18), transparent 50%),
    linear-gradient(180deg, #fff, var(--surface-2));
  overflow:hidden;
  padding: 20px;
}

/* ===========================
   Hamburger button animation
   =========================== */

.mobile-toggle.hamburger{
  width:44px; height:44px;
  border-radius: 12px;
  border:1px solid var(--border);
  background:var(--primary);
  color: #fff;
  display:none;
  align-items:center; justify-content:center;
  cursor:pointer;
}

.hamburger-lines{
  width: 22px;
  height: 16px;
  position: relative;
  display:block;
}

.hamburger-lines span{
  position:absolute;
  left:0; right:0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease, top .22s ease;
}

.hamburger-lines span:nth-child(1){ top: 0; }
.hamburger-lines span:nth-child(2){ top: 7px; }
.hamburger-lines span:nth-child(3){ top: 14px; }

body.menu-open .hamburger-lines span:nth-child(1){
  top: 7px;
  transform: rotate(45deg);
}
body.menu-open .hamburger-lines span:nth-child(2){
  opacity: 0;
}
body.menu-open .hamburger-lines span:nth-child(3){
  top: 7px;
  transform: rotate(-45deg);
}

@media (max-width: 980px){
  .mobile-toggle.hamburger{ display:flex; }
  .nav, .header-cta{ display:none; }
}



/* ===== Hero Image Variant (service detail pages) ===== */
.hero-image{
  position: relative;
  min-height: clamp(520px, 62vh, 760px);
  display: grid;
  place-items: center;
  padding: 0;
}

.hero-image .hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.03);
  filter: saturate(1.10) contrast(1.08) brightness(.92);
}

/* Ensure content is above the image */
.hero-inner-image{
  position: relative;
  z-index: 2;
}

/* Make text readable on top of image */
.hero-image .kicker{
  background: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.60);
}

.hero-image .lede{
  color: rgba(255,255,255,.92);
}

.hero-image .h1{
  color: #fff;
  text-shadow:
    0 2px 6px rgba(0,0,0,.45),
    0 12px 28px rgba(0,0,0,.35);
}

/* Mobile padding fix (your screenshot shows it’s tight) */
@media (max-width: 980px){
  .hero-image{
    min-height: 620px;
  }

  .hero-inner{
    padding: 34px 0 34px; /* overrides tight inline padding feel */
  }

  .hero-image .hero-actions{
    margin-top: 14px;
  }
}

@media (max-width: 520px){
  .hero-inner{
    padding: 28px 0 30px;
  }
  .lede{
    font-size: 16px;
  }
}


/* ===== Hero Video Variant ===== */
.hero-video{
  position: relative;
  min-height: clamp(560px, 70vh, 820px);
  display: grid;
  place-items: center;   /* this is the key */
  padding: 0;
}

.hero-video .badge{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(18,16,24,.10);
  color: var(--text);
  backdrop-filter: blur(10px);
}

/* Background media layer */

.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}

.hero-media-overlay{
  position: absolute;
  inset: 0;
  background:
    /* left focus for text */
    radial-gradient(900px 520px at 20% 35%, rgba(84,7,91,.62), transparent 60%),

    /* right color balance */
    radial-gradient(900px 520px at 90% 30%, rgba(123,31,132,.32), transparent 60%),

    /* overall cinematic wash */
    linear-gradient(135deg,
      rgba(0,0,0,.35),
      rgba(0,0,0,.15) 45%,
      rgba(255,255,255,.04) 100%
    ),

    /* fade to page */
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(255,255,255,.90) 92%);
}


/* Video fills the hero */
.hero-bg-video{
  width: 100%;
  height: 100%;
  object-position: center 20%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.15) contrast(1.10) brightness(.92);
}

/* Overlay to keep text readable + on-brand */
.hero-media-overlay{
  position: absolute;
  inset: 0;

  /* Make the VIDEO visible, but ensure readable content */
  background:
    /* deep vignette for readability */
    radial-gradient(900px 520px at 20% 20%, rgba(84,7,91,.55), transparent 62%),
    radial-gradient(900px 520px at 90% 20%, rgba(123,31,132,.35), transparent 60%),

    /* main purple wash (keep this fairly transparent) */
    linear-gradient(135deg,
      rgba(84,7,91,.38),
      rgba(123,31,132,.22) 45%,
      rgba(255,255,255,.10) 100%
    ),

    /* subtle bottom fade so the transition to next section is clean */
    linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.82) 92%);
}


/* Bring content above video */
.hero-inner-video{
  position: relative;
  z-index: 2;
  padding: 0;        
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
}



.hero-copy{
  max-width: 720px;
  padding: 0;
  margin: 64px 0; 
  background: none;
  border: none;
  box-shadow: none;
  position: relative;
}

.hero-video .h1{
  color: #ffffff;
  text-shadow:
    0 2px 6px rgba(0,0,0,.45),
    0 12px 28px rgba(0,0,0,.35);
}

  .hero-video .lede{
    color: rgba(255,255,255,.95);
  }

.hero-video .kicker{
  background: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.65);
}

.hero-video .btn.primary{
  box-shadow:
    0 12px 30px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.15);
}

.hero-video .btn:not(.primary){
  background: rgba(255,255,255,.92);
  color: var(--text);
}


@media (max-width: 768px){
  .hero-video .h1{
    text-shadow:
      0 3px 8px rgba(0,0,0,.55),
      0 16px 34px rgba(0,0,0,.45);
  }
}

@media (max-width: 520px){
  .hero-copy{
    margin: 34px 0 22px;
  }
}


/* Floating CTA card (replaces the old image card) */
.hero-float-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--shadow);
  background:
    radial-gradient(650px 280px at 20% 20%, rgba(84,7,91,.30), transparent 60%),
    linear-gradient(180deg, rgba(18,16,24,.72), rgba(18,16,24,.55));
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.hero-float-card-inner{
  padding: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-float-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Mobile: don’t autoplay heavy video; use poster image look */
@media (max-width: 980px){
  .hero-video{
    min-height: 640px;
  }
  .hero-inner-video{
    grid-template-columns: 1fr;
  }
  .hero-copy{
    padding: 18px;
  }
}

/* Reduced motion: no video */
@media (prefers-reduced-motion: reduce){
  .hero-bg-video{ display:none; }
  .hero-media{
    background:
      radial-gradient(1200px 500px at 20% 0%, rgba(84,7,91,.18), transparent 55%),
      radial-gradient(900px 420px at 95% 10%, rgba(123,31,132,.18), transparent 50%),
      linear-gradient(180deg, #fff, var(--surface-2)),
      url("/assets/images/seniors.jpg");
    background-size: cover;
    background-position: center;
  }
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  padding: 56px 25px 54px;
  align-items:center;
}
.kicker{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(84,7,91,.08);
  border: 1px solid rgba(84,7,91,.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.h1{
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  margin: 14px 0 12px;
  letter-spacing: -0.02em;
}
.lede{
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
}
.hero-actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-card{
  position: relative;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
  min-height: 360px;
}
.hero-card img{
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .82;
  transform: scale(1.03);
}
.hero-card::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.52)),
    radial-gradient(650px 280px at 20% 20%, rgba(84,7,91,.40), transparent 60%);
}
.hero-card .overlay{
  position:absolute; inset:auto 18px 18px 18px;
  color:#fff;
  z-index: 2;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.badges{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 12px;
}
.badge{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.section{ padding: 56px 0; }
.section.alt{ background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.h2{ font-size: 28px; margin: 0; letter-spacing: -0.01em; }
.subhead{ color: var(--muted); max-width: 70ch; }


/* Split assessment band */
.assessment-split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.assessment-copy{
  padding: 6px 24px 6px 2px;
}

.assessment-copy h2 {
  margin-bottom: 14px;
}

.assessment-actions {
  margin-top: 22px;
}


/* Media card */
.assessment-media {
  border-radius: calc(var(--radius) + 6px);
  overflow:hidden;
  min-height: 320px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(18,16,24,.10);
  background: #000;
  box-shadow:
    0 30px 60px rgba(18,16,24,.14),
    0 10px 20px rgba(18,16,24,.08);
}

.assessment-media img,
.assessment-media video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  opacity: .92;
  transform: scale(1.03);
}

.assessment-media-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(600px 260px at 10% 15%, rgba(84,7,91,.45), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45));
}

.assessment-media-caption{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap: 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

.assessment-media-caption span{
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

/* ===========================
   Assessment full-width band
   =========================== */

.section.assessment{
  padding: 0;
  background: #fff;
  margin-top: -40px; /* keep your nice overlap with hero */
}

.assessment-band{
  width: 100%;
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  /* full-width background feel */
  background:
    radial-gradient(900px 420px at 15% 15%, rgba(84,7,91,.14), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(123,31,132,.10), transparent 60%),
    linear-gradient(180deg, #fff, var(--surface-2));
}

.assessment-split{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}

.assessment-copy{
  padding: 6px 6px 6px 0;
}

.assessment-actions{
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Media card */
.assessment-media{
  position: relative; /* REQUIRED so overlay/caption are positioned correctly */
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow:
    0 30px 60px rgba(18,16,24,.14),
    0 10px 20px rgba(18,16,24,.08);
}

.assessment-media img,
.assessment-media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .95;
  transform: scale(1.03);
}

.assessment-media-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 260px at 10% 15%, rgba(84,7,91,.45), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45));
}

.assessment-media-caption{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

.assessment-media-caption span{
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

/* Mobile stack */
@media (max-width: 980px){
  .assessment-band{
    padding: 56px 0;
    margin-top: 0;
  }

  .assessment-split{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .assessment-media{
    order: -1;
    min-height: 220px;
  }

  .assessment-copy{
    padding: 0 4px;
  }
}

.grid{
  display:grid;
  gap: 14px;
}
.grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
.grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
.card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(18,16,24,.06);
}
.card.soft{
  background: linear-gradient(180deg, #fff, var(--surface-2));
}
.card h3{ margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p{ color: var(--muted); }
.card .meta{ display:flex; gap: 10px; align-items:center; color: var(--muted); font-size: 13px; }


/* Feature cards: icon left, title right, text below */
.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.feature-head h3 {
  margin: 0;
}

.feature-card p {
  margin: 0;
}


/* Sercie Section */
/* --- Service icon color themes --- */
:root{
  --svc-a: 84, 7, 91;    /* purple (brand) */
  --svc-b: 123, 31, 132; /* teal */
  --svc-c: 245, 148, 66; /* warm amber */
  --svc-d: 62, 114, 255; /* soft blue */
  --svc-e: 240, 84, 132; /* rose */
  --svc-f: 72, 170, 98;  /* green */
}

/* Service card icons (How can we help?) */
.card.soft{
  position: relative; /* lets icon sit cleanly */
}


/* Slightly larger icon chip */
.service-icon{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(var(--svc), .10);
  color: rgba(var(--svc), 1);
}

.service-icon svg,
.service-icon img{
  width: 24px;
  height: 24px;
}

.card.soft .meta b{
  color: rgba(var(--svc), 1);
}

/* Assign a theme per card */
.card.soft.svc-1{ --svc: var(--svc-a); }
.card.soft.svc-2{ --svc: var(--svc-b); }
.card.soft.svc-3{ --svc: var(--svc-d); }
.card.soft.svc-4{ --svc: var(--svc-c); }
.card.soft.svc-5{ --svc: var(--svc-f); }
.card.soft.svc-6{ --svc: var(--svc-e); }

.icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  background: rgba(84,7,91,.10);
  border: 1px solid rgba(84,7,91,.14);
  display:grid; place-items:center;
  margin-bottom: 10px;
  align-items: center;
}
.icon svg{ width: 22px; height: 22px; fill:var(--primary);}

.split{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}
.panel{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(18,16,24,.06);
}
.split > .panel { height: 100%; display:flex; flex-direction:column; }
.panel.highlight{
  background: radial-gradient(800px 220px at 10% 0%, rgba(123,31,132,.14), transparent 60%),
              radial-gradient(800px 220px at 90% 20%, rgba(84,7,91,.14), transparent 60%),
              rgba(255,255,255, .75);
}


.panel.highlight .card {margin:20px auto;}

/* Step Cards */

/* Step cards with image */
.step-card {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Image container */
.step-media {
  flex: 0 0 110px;
}

.step-media img {
  object-fit: cover;
  border-radius: 14px;
  box-shadow:
    0 10px 24px rgba(0,0,0,.12),
    0 2px 6px rgba(0,0,0,.08);
}

/* Text content */
.step-content {
  flex: 1;
}

/* Mobile behavior */
@media (max-width: 768px) {
  .step-card {
    align-items: flex-start;
  }

  .step-media {
    flex: 0 0 96px;
  }
}

/* Who we serve - image cards */
.serve-card{
  padding: 18px;
}

.serve-media{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(18,16,24,.10);
  box-shadow: 0 14px 30px rgba(18,16,24,.10);
  margin: -2px 0 14px; /* creates a nice “top” block inside the card */
  background: #fff;
}

.serve-media img{
  width: 100%;
  height: 180px;          
  display: block;
}

.serve-media-large {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(18,16,24,.10);
  box-shadow: 0 14px 30px rgba(18,16,24,.10);
  margin: 20px 5px;
  background: #fff;
}

.serve-media-large img {
  width: 100%;
  height: auto;          
  display: block;
}

/* Slightly taller on large screens */
@media (min-width: 981px){
  .serve-media img{
    height: 200px;
  }
  .serve-media-large img {
    height: auto;
  }
}

.call-btn {
  width: 100%;
  justify-content: center;
  gap: 12px;
}

.call-btn svg {
  width: 20px;
  height: 20px;
}


.form{
  display:grid;
  gap: 12px;
}
.field{
  display:grid;
  gap: 6px;
}
label{ font-weight: 700; font-size: 13px; }
input, textarea, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(18,16,24,.14);
  outline: none;
  font: inherit;
  background: #fff;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  border-color: rgba(84,7,91,.40);
  box-shadow: 0 0 0 4px rgba(84,7,91,.12);
}

.footer{
  padding: 34px 0;
  background: var(--primary);
  color: rgba(255,255,255,.86);
}
.footer a{ color: rgba(255,255,255,.86); }
.footer a:hover{ color: #fff; text-decoration: underline; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.footer h4{ margin: 0 0 10px; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color:#fff; }
.footer ul{ list-style:none; padding:0; margin:0; display:grid; gap: 8px; }
.footer small{ color: rgba(255,255,255,.60); }
/* ===== Footer layout + social ===== */
.footer-grid{
  display:grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.footer-brand p{ margin: 0 0 10px; }
.footer-logo{
  filter: brightness(0) invert(1);
  width: 200px;
  opacity: .95;
  margin-bottom: 10px;
}

.footer-loc{
  margin-top: 2px;
  color: rgba(255,255,255,.88);
}

.footer-serve strong,
.footer-loc strong{
  color: #fff;
}

.footer-serve,
.footer-note{
  color: rgba(255,255,255,.78);
}

.footer-blurb{
  margin-top: 12px;
  color: rgba(255,255,255,.68);
  max-width: 46ch;
}

.footer-address{
  color: rgba(255,255,255,.60);
  font-size: 0.95rem;
}

.footer-credit{ margin-top: 12px; }

.footer-social{
  display:flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0 6px;
}

.social-link{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.social-link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.30);
}

.social-link:focus-visible{
  outline: 3px solid rgba(255,255,255,.35);
  outline-offset: 3px;
}

.social-link svg{
  width: 20px;
  height: 20px;
  display:block;
  fill: currentColor;
}

/* Your existing mobile footer rules can stay,
   but these make the columns behave nicely */
@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
}


.pill{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  margin-top: 10px;
}

/* reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .btn{ transition:none; }
}

/* responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-card{ min-height: 320px; }
  .grid.cols-3{ grid-template-columns: 1fr; }
  .grid.cols-2{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .nav, .header-cta{ display:none; }
  .mobile-toggle{ display:flex; }
  .brand img{ max-width: 120px; height:auto; }
}
@media (max-width: 520px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* Services section background video */
.services-bg {
  position: relative;
  overflow: hidden;
}

.services-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.services-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) brightness(0.95);
  transform: scale(1.03);
}

/* Soft brand-tinted overlay for contrast (LET VIDEO SHOW) */
.services-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      80% 60% at 20% 20%,
      rgba(84, 7, 91, 0.17),
      transparent 60%
    ),
    radial-gradient(
      70% 50% at 85% 25%,
      rgba(123, 31, 132, 0.12),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.25),
      rgba(255,255,255,0.30)
    );
}

/* Ensure content stays above video */
.services-bg > .container {
  position: relative;
  z-index: 1;
}

/* Cards remain crisp and solid */
.services-bg .card {
  background: #fff;
}



/* Square image placeholders for Services + Team cards */
.card-img-square{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  background: rgba(255,255,255,0.6);
  margin-bottom: 14px;
  display: block;
}

/* Slightly smaller square on tight layouts */
@media (max-width: 680px){
  .card-img-square{
    border-radius: 12px;
    margin-bottom: 12px;
  }
}


/* TEAM SECTION */
.team-section {
  padding: 72px 0;
}

.team-header h2 {
  margin: 0 0 8px;
}

.team-header p {
  margin: 0;
  max-width: 70ch;
}

/* Featured CEO block */
.team-feature {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 20px;
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--card-radius, 18px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft, 0 12px 30px rgba(0, 0, 0, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.team-feature__media img {
  border-radius: 14px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.04);
  display: block;
}

.team-name {
  margin: 0 0 6px;
}

.team-title {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--accent, #6b1b7b);
}

.team-bio p {
  margin: 0 0 10px;
  color: var(--text, #2b2b2b);
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.team-separator {
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.14),
    transparent
  );
}

/* Team grid cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  padding: 18px;
  border-radius: var(--card-radius, 18px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft, 0 12px 30px rgba(0, 0, 0, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.team-card__media img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.04);
  display: block;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .team-section {
    padding: 56px 0;
  }

  .team-feature {
    grid-template-columns: 1fr;
  }

  .team-feature__media img {
    width: 100%;
    height: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}



/* Soft background section (used under video heroes for callouts) */
.section-soft{
  background:
    radial-gradient(800px 240px at 20% 20%, rgba(148, 84, 173, 0.12), transparent 60%),
    radial-gradient(900px 280px at 85% 25%, rgba(133, 204, 200, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.96));
  border-top: 1px solid rgba(17,17,17,0.06);
  border-bottom: 1px solid rgba(17,17,17,0.06);
}

/* Hero video: make page chip + lead readable on video */
.hero-video .pill{
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  border: 1px solid rgba(255,255,255,0.55);
}
.hero-video .lead,
.hero-video .hero-copy p{
  color: rgba(255,255,255,0.92);
}

/* Custom bullet image */
ul.bullets{
  list-style: none;
  padding-left: 0;
  margin: 14px 0 0;
}
ul.bullets li{
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  line-height: 1.5;
}
ul.bullets li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  background: url("/assets/images/bullet.png") center/contain no-repeat;
  opacity: 0.95;
}

/* Landscape card images (Services) */
.card-img-landscape{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  background: rgba(255,255,255,0.6);
  margin-bottom: 14px;
  display: block;
}

@media (max-width: 980px){
  .assessment-split{
    grid-template-columns: 1fr;
  }
  .assessment-media{
    order: -1;
    min-height: 220px;
  }
}


/* ===========================
   Testimonials carousel
   =========================== */
.testimonials{
  background: linear-gradient(180deg, #fff, var(--surface-2));
  border-top: 1px solid var(--border);
}

.reviews-carousel{
  --per-view: 3;
  --gap: 14px;
  position: relative;
  margin-top: 10px;
  padding: 0 3.5rem; /* creates safe space for arrows */
}

.reviews-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.reviews-carousel .carousel-arrow.prev {
  left: 0.75rem; /* was probably 0 or negative */
}

.reviews-carousel .carousel-arrow.next {
  right: 0.75rem;
}

.reviews-viewport{
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
}

.reviews-track{
  display: flex;
  gap: var(--gap);
  transform: translateX(0);
  transition: transform .45s ease;
  will-change: transform;
  padding: 4px; /* a touch of breathing room for shadows */
}

.review-card{
  flex: 0 0 calc((100% - (var(--gap) * (var(--per-view) - 1))) / var(--per-view));
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(18,16,24,.10);
  border-radius: calc(var(--radius) + 2px);
  padding: 18px 18px 16px;
  box-shadow: 0 12px 30px rgba(18,16,24,.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.review-card[data-review-source="google"] .review-quote{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.review-toggle{
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--purple);
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  margin-top: 6px;
}

.review-toggle:hover,
.review-toggle:focus-visible{
  text-decoration: underline;
}

.review-author{
  margin: 0;
  font-weight: 900;
  color: var(--text);
}

.review-source{
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.review-source a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review-source a:hover{
  color: var(--text);
}
.reviews-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(18,16,24,.14);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 30px rgba(18,16,24,.10);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  z-index: 6;
}

.reviews-nav:hover{
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 18px 40px rgba(18,16,24,.14);
}

.reviews-nav span{
  font-size: 24px;
  line-height: 1;
  color: var(--primary);
  font-weight: 900;
}

.reviews-nav.prev{ left: 10px; }
.reviews-nav.next{ right: 10px; }

.reviews-nav:disabled{
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}

.reviews-footnote{
  margin-top: 12px;
  color: var(--muted);
}

@media (max-width: 980px){
  .reviews-carousel{ --per-view: 1; }
  .reviews-nav.prev{ left: 6px; }
  .reviews-nav.next{ right: 6px; }
  .review-card{ min-height: auto; }
}


/* Review carousel: Read more / Read less toggle */
.review-more {
  margin-top: 14px;
}

.review-toggle {
  appearance: none;
  border: 1px solid rgba(92, 38, 116, 0.25);
  background: rgba(255, 255, 255, 0.75);
  color: var(--purple-700, #5c2674);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.review-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.review-toggle:focus-visible {
  outline: 3px solid rgba(127, 74, 149, 0.35);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .carousel-arrow {
    top: auto;
    bottom: -3rem;
    transform: none;
  }

  .carousel-arrow.prev {
    left: 40%;
  }

  .carousel-arrow.next {
    right: 40%;
  }
}

.map-embed{
  margin-top: 18px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(18,16,24,.08);
}

.map-embed iframe{
  width: 100%;
  height: 420px;
  border: 0;
  display:block;
}


/* Resources */
.resources-wrap .card {
    margin: 35px auto;
}

.resources-wrap .card h3 {
	color: var(--primary);
}

.resources-wrap .card svg {
    fill: var(--primary);
}

/* FAQ accordion */
.faq-item .faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font: inherit; /* keeps your existing typography */
}

.faq-item .faq-q:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
  border-radius: 10px;
}

.faq-item .faq-a {
  margin-top: 10px;
}

/* little chevron */
.faq-item .faq-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
  opacity: 0.8;
}

.faq-item.is-open .faq-icon {
  transform: rotate(-135deg);
}
