:root{
  --sac-purple: #514786;
  --sac-white: #ffffff;
  --sac-text: #111111;
  --sac-max: 1200px;

  --sac-radius: 12px;
  --sac-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--sac-text);
}

.sac-container{
  max-width: var(--sac-max);
  margin:0 auto;
  padding: 0 24px;
}

.sac-site-main{ min-height: 60vh; }

/* Header */
.sac-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.sac-header__inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap: 18px;
  min-height: 84px;
}

.sac-header__brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex: 0 0 auto;
}

.sac-header__logo{
  height: 44px;
  width: auto;
  display:block;
}

.sac-header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 0 0 auto;
}

.sac-nav{
  margin-left: 0;
  flex: 0 0 auto;
  display:flex;
  justify-content: center;
}

.sac-nav__menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 18px;
}

.sac-nav__menu a{
  text-decoration:none;
  color: var(--sac-text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  padding: 10px 6px;
  border-radius: 10px;
}

.sac-nav__menu a:hover{
  background: rgba(81,71,134,0.08);
  color: #2b2450;
}


/* Dropdowns */
.sac-nav__menu .menu-item-has-children{ position: relative; }

/* Hide submenus by default on desktop */
.sac-nav__menu .sub-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: var(--sac-shadow);
  display: none;
  z-index: 60;
}

/* Ensure no bullets/markers anywhere in dropdown */
.sac-nav__menu .sub-menu li{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Dropdown item spacing + hover */
.sac-nav__menu .sub-menu a{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--sac-text);
  text-decoration: none;
}

.sac-nav__menu .sub-menu a:hover{
  background: rgba(81,71,134,0.08);
  color: #2b2450;
}

/* Open dropdown on hover AND keyboard focus */
.sac-nav__menu .menu-item-has-children:hover > .sub-menu,
.sac-nav__menu .menu-item-has-children:focus-within > .sub-menu{
  display: block;
}

/* Buttons */
.sac-btn{
  display:inline-block;
  padding: 12px 18px;
  border-radius: var(--sac-radius);
  text-decoration:none;
  font-weight: 800;
  letter-spacing: .01em;
}

.sac-btn--primary{ background: #ffffff; color: #1a1a1a; }
.sac-btn--ghost{ border: 2px solid rgba(255,255,255,0.85); color: #ffffff; }

.sac-btn--header{
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(81,71,134,0.08);
  color: #2b2450;
  border: 1px solid rgba(81,71,134,0.18);
}

.sac-btn--header:hover{
  background: rgba(81,71,134,0.14);
}

.sac-btn--header-primary{
  background: var(--sac-purple);
  color: #ffffff;
  border-color: rgba(81,71,134,0.35);
}

.sac-btn--header-primary:hover{
  filter: brightness(1.05);
}

/* Hero */
.sac-hero{
  position: relative;
  min-height: clamp(520px, 70vh, 820px);
  overflow: hidden;
  color: var(--sac-white);
}

.sac-hero__media{ position:absolute; inset:0; z-index:0; }
.sac-hero__video{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }

.sac-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg,
    rgba(81,71,134,0.92) 0%,
    rgba(81,71,134,0.70) 35%,
    rgba(81,71,134,0.25) 60%,
    rgba(81,71,134,0.00) 100%
  );
}

.sac-hero__content{
  position:relative;
  z-index:1;
  padding: clamp(72px, 10vh, 120px) 24px;
}

.sac-hero__kicker{
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
  margin: 0 0 10px;
  font-size: 14px;
}

.sac-hero__title{
  margin: 0 0 10px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.0;
}

.sac-hero__subtitle{
  margin: 0 0 22px;
  font-size: clamp(18px, 2.2vw, 26px);
  max-width: 42ch;
  opacity: .95;
}

.sac-hero__cta{ display:flex; gap: 12px; flex-wrap: wrap; }


/* Responsive */
@media (max-width: 980px){
  .sac-header__inner{ display: flex !important; justify-content: space-between; align-items: center; padding: 10px 0; }
  .sac-nav--desktop{ display: none !important; }
  .sac-header__actions--desktop{ display: none !important; }
  .sac-hamburger{ display: flex !important; }
}
@media (min-width: 981px){
  .sac-hamburger{ display: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .sac-hero__video{ display:none; }
  .sac-hero__media{ background: var(--sac-purple); }
}

/* Header polish */
.sac-nav__menu{ justify-content: center; }
.sac-header__actions{ justify-content: flex-end; }

/* Nav alignment */
.sac-nav__menu{ justify-content: center; }

/* Hero enhancements: bolder + vertically centered + right aligned */
.sac-hero__overlay{
  background: linear-gradient(270deg,
    rgba(81,71,134,0.92) 0%,
    rgba(81,71,134,0.70) 35%,
    rgba(81,71,134,0.25) 60%,
    rgba(81,71,134,0.00) 100%
  );
}

.sac-hero__content{
  min-height: clamp(520px, 70vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: flex-end;   /* right align block */
  text-align: right;
  padding: clamp(72px, 10vh, 120px) 24px;
}

.sac-hero__kicker{
  font-weight: 800;
  letter-spacing: .14em;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.sac-hero__title{
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.sac-hero__subtitle{
  font-weight: 650;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Keep the text block from getting too wide on large screens */
.sac-hero__subtitle,
.sac-hero__kicker{
  max-width: 46ch;
}

/* CTA alignment to match right-aligned layout */
.sac-hero__cta{
  justify-content: flex-end;
}

/* Hero motion + stronger title outline */
@keyframes sacFadeUp {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes sacFadeAway {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Animate hero text in */
.sac-hero__kicker,
.sac-hero__title,
.sac-hero__subtitle,
.sac-hero__cta{
  opacity: 0;
  animation: sacFadeUp 900ms ease-out forwards;
}

.sac-hero__kicker{ animation-delay: 120ms; }
.sac-hero__title{ animation-delay: 220ms; }
.sac-hero__subtitle{ animation-delay: 340ms; }
.sac-hero__cta{ animation-delay: 460ms; }

/* Title: heavier “outline” + depth */
.sac-hero__title{
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.55),
     1px -1px 0 rgba(0,0,0,0.55),
    -1px  1px 0 rgba(0,0,0,0.55),
     1px  1px 0 rgba(0,0,0,0.55),
    0 18px 55px rgba(0,0,0,0.55);
}

/* Fade the entire hero text away to reveal the end-logo moment
   Adjust 8.5s to match your logo timing. */
.sac-hero__content{
  animation: sacFadeAway 900ms ease-in forwards;
  animation-delay: 8.5s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .sac-hero__kicker,
  .sac-hero__title,
  .sac-hero__subtitle,
  .sac-hero__cta,
  .sac-hero__content{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Hero motion + stronger title outline */
@keyframes sacFadeUp {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes sacFadeAway {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Animate hero text in */
.sac-hero__kicker,
.sac-hero__title,
.sac-hero__subtitle,
.sac-hero__cta{
  opacity: 0;
  animation: sacFadeUp 900ms ease-out forwards;
}

.sac-hero__kicker{ animation-delay: 120ms; }
.sac-hero__title{ animation-delay: 220ms; }
.sac-hero__subtitle{ animation-delay: 340ms; }
.sac-hero__cta{ animation-delay: 460ms; }

/* Title: heavier “outline” + depth */
.sac-hero__title{
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.55),
     1px -1px 0 rgba(0,0,0,0.55),
    -1px  1px 0 rgba(0,0,0,0.55),
     1px  1px 0 rgba(0,0,0,0.55),
    0 18px 55px rgba(0,0,0,0.55);
}

/* Fade the entire hero text away to reveal the end-logo moment
   Adjust 8.5s to match your logo timing. */
.sac-hero__content{
  animation: sacFadeAway 900ms ease-in forwards;
  animation-delay: 8.5s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .sac-hero__kicker,
  .sac-hero__title,
  .sac-hero__subtitle,
  .sac-hero__cta,
  .sac-hero__content{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Loop-synced hero visibility (controlled by JS) */
.sac-hero__content{
  opacity: 1;
  transition: opacity 900ms ease-in;
}

/* When hidden: fade out and disable clicks */
.sac-hero__content.is-hidden{
  opacity: 0;
  pointer-events: none;
}

/* Re-triggerable fade-in (JS will toggle this class) */
.sac-hero__content.is-animating .sac-hero__kicker,
.sac-hero__content.is-animating .sac-hero__title,
.sac-hero__content.is-animating .sac-hero__subtitle,
.sac-hero__content.is-animating .sac-hero__cta{
  opacity: 0;
  animation: sacFadeUp 900ms ease-out forwards;
}

.sac-hero__content.is-animating .sac-hero__kicker{ animation-delay: 120ms; }
.sac-hero__content.is-animating .sac-hero__title{ animation-delay: 220ms; }
.sac-hero__content.is-animating .sac-hero__subtitle{ animation-delay: 340ms; }
.sac-hero__content.is-animating .sac-hero__cta{ animation-delay: 460ms; }

/* Override the old timer-based fade-away so it doesn't interfere */
.sac-hero__content{
  animation: none !important;
  animation-delay: 0s !important;
}

/* Worship Times module */
.sac-section{ padding: 64px 0; }
.sac-container{ width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.sac-eyebrow{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(43,36,80,0.75);
  font-size: 12px;
}

.sac-h2{ margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
.sac-h3{ margin: 0 0 10px; font-size: 18px; line-height: 1.2; }
.sac-lead{ margin: 0 0 18px; color: rgba(20,20,20,0.78); max-width: 60ch; }

.sac-times__grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.sac-times__list{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sac-time{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(81,71,134,0.14);
  background: rgba(81,71,134,0.04);
}

.sac-time__day{
  font-weight: 900;
  color: #2b2450;
}

.sac-time__name{ font-weight: 850; margin-top: 2px; }
.sac-time__when{ color: rgba(20,20,20,0.72); margin-bottom: 6px; }
.sac-time__meta{ color: rgba(43,36,80,0.72); font-weight: 700; font-size: 13px; }

.sac-times__cards{
  display: grid;
  gap: 14px;
}

.sac-card{
  border-radius: 22px;
  border: 1px solid rgba(81,71,134,0.14);
  background: #fff;
  padding: 18px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.sac-card--primary{
  background: linear-gradient(135deg, rgba(81,71,134,0.10), rgba(0,121,107,0.08));
  border-color: rgba(81,71,134,0.18);
}

.sac-card--soft{
  background: rgba(81,71,134,0.04);
}

.sac-muted{ color: rgba(20,20,20,0.72); margin: 0 0 14px; line-height: 1.45; }
.sac-note{ margin: 10px 0 0; color: rgba(20,20,20,0.62); font-size: 13px; }

.sac-card__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px){
  .sac-times__grid{ grid-template-columns: 1fr; }
  .sac-time{ grid-template-columns: 1fr; }
}

/* ARK interactive tabs */
.sac-ark__tabs{
  display: flex;
  gap: 10px;
  margin: 22px 0 0;
}

.sac-ark__tab{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 16px;
  border: 2px solid rgba(81,71,134,0.14);
  background: rgba(81,71,134,0.04);
  cursor: pointer;
  transition: all 260ms ease;
  font-family: inherit;
  font-size: 14px;
  color: #2b2450;
}

.sac-ark__tab:hover{
  border-color: rgba(81,71,134,0.30);
  background: rgba(81,71,134,0.08);
}

.sac-ark__tab.is-active{
  background: var(--sac-purple, #514786);
  border-color: var(--sac-purple, #514786);
  color: #fff;
  box-shadow: 0 8px 24px rgba(81,71,134,0.30);
  transform: translateY(-2px);
}

.sac-ark__letter{
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
}

.sac-ark__label{
  font-weight: 700;
}

/* ARK panel content */
.sac-ark__panel{
  margin-top: 22px;
  padding: 22px 22px;
  border-radius: 20px;
  border: 1px solid rgba(81,71,134,0.12);
  background: rgba(81,71,134,0.03);
}

/* Fade/slide animation on panel change */
@keyframes sacArkFadeIn {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.sac-ark.is-animating .sac-ark__panel{
  animation: sacArkFadeIn 420ms ease-out;
}

/* Responsive */
@media (max-width: 640px){
  .sac-ark__tabs{
    flex-direction: column;
    gap: 8px;
  }

  .sac-ark__tab{
    width: 100%;
    justify-content: center;
  }
}

/* Mission section distinct background */
.sac-mission{
  background: linear-gradient(135deg, #2b2450 0%, #514786 60%, #3d3570 100%);
  color: #fff;
}

.sac-mission .sac-eyebrow{ color: rgba(255,255,255,0.65); }
.sac-mission .sac-h2{ color: #fff; }
.sac-mission .sac-lead{ color: rgba(255,255,255,0.82); }
.sac-mission .sac-muted{ color: rgba(255,255,255,0.75); }
.sac-mission .sac-bullets{ color: rgba(255,255,255,0.80); }
.sac-mission .sac-bullets strong{ color: #fff; }

/* ARK tabs on dark bg */
.sac-mission .sac-ark__tab{
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.sac-mission .sac-ark__tab:hover{
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.14);
}

.sac-mission .sac-ark__tab.is-active{
  background: #fff;
  border-color: #fff;
  color: #2b2450;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ARK panel on dark bg */
.sac-mission .sac-ark__panel{
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

/* What to Expect panel on dark bg */
.sac-mission .sac-panel{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

.sac-mission .sac-panel .sac-h3{ color: #fff; }

.sac-mission .sac-mini{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

.sac-mission .sac-mini__title{ color: rgba(255,255,255,0.90); }
.sac-mission .sac-mini__value{ color: rgba(255,255,255,0.72); }

/* Turn ALL links in mission section into buttons (no plain links) */
.sac-mission .sac-mini__value a{
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--sac-radius, 999px);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: all 200ms ease;
}

.sac-mission .sac-mini__value a:hover{
  background: rgba(255,255,255,0.22);
  text-decoration: none;
}

/* Mission buttons on dark bg */
.sac-mission .sac-btn--primary{
  background: #fff;
  color: #2b2450;
}

.sac-mission .sac-btn--primary:hover{
  background: rgba(255,255,255,0.90);
}

.sac-mission .sac-btn--ghost{
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.sac-mission .sac-btn--ghost:hover{
  background: rgba(255,255,255,0.10);
}

/* Panel actions buttons */
.sac-mission .sac-panel__actions .sac-btn--primary{
  background: #fff;
  color: #2b2450;
}

.sac-mission .sac-panel__actions .sac-btn--ghost{
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

/* Mission section spacing refinements */
.sac-mission .sac-section{ padding: 80px 0; }
.sac-mission{ padding: 80px 0; }

.sac-mission .sac-h2{ margin-bottom: 18px; }
.sac-mission .sac-lead{ margin-bottom: 28px; }

/* Space between ARK tabs and panel */
.sac-ark__tabs{ margin: 28px 0 0; }
.sac-ark__panel{ margin-top: 32px; padding: 28px 28px; }

/* Space inside ARK panel */
.sac-ark__title{ margin-bottom: 14px; }
.sac-ark__body{ margin-bottom: 18px; }
.sac-ark__bullets{ margin: 18px 0 24px; }

/* Space between left column (ARK) and right column (What to Expect) */
.sac-mission__grid{ gap: 48px; }

/* What to Expect panel internal spacing */
.sac-mission .sac-panel{ padding: 28px 28px; }
.sac-mission .sac-panel .sac-h3{ margin-bottom: 14px; }
.sac-mission .sac-panel .sac-muted{ margin-bottom: 22px; }

/* Mini cards spacing */
.sac-panel__items{ gap: 14px; margin: 22px 0 28px; }
.sac-mini{ padding: 16px 16px; }
.sac-mini__title{ margin-bottom: 6px; }

/* Actions spacing */
.sac-mission__actions{ margin-top: 24px; gap: 14px; }
.sac-panel__actions{ margin-top: 8px; gap: 14px; }

/* More space between ARK column and What to Expect column */
.sac-mission__grid{ row-gap: 48px; column-gap: 48px; }

/* Space above the What to Expect panel */
.sac-mission__panel{ padding-top: 12px; }

/* On mobile when columns stack, add clear separation */
@media (max-width: 980px){
  .sac-mission__grid{ row-gap: 42px; }
  .sac-mission__panel{ padding-top: 0; }
}

/* Worship times buttons on light background */
.sac-times .sac-btn--primary{
  background: var(--sac-purple, #514786);
  color: #fff;
}

.sac-times .sac-btn--primary:hover{
  background: #3d3570;
}

.sac-times .sac-btn--ghost{
  border-color: var(--sac-purple, #514786);
  color: var(--sac-purple, #514786);
}

.sac-times .sac-btn--ghost:hover{
  background: rgba(81,71,134,0.08);
}

/* Featured Message section */
.sac-featured-msg{ padding: 80px 0; background: #f8f7fc; }

.sac-featured-msg__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sac-featured-msg__thumb{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.sac-featured-msg__thumb img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.sac-featured-msg__play{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(81,71,134,0.85);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: background 200ms ease, transform 200ms ease;
}

.sac-featured-msg__thumb:hover .sac-featured-msg__play{
  background: rgba(81,71,134,1);
  transform: translate(-50%, -50%) scale(1.08);
}

.sac-featured-msg__speaker{
  font-weight: 600;
  color: var(--sac-purple, #514786);
  margin: 8px 0 14px;
  font-size: 16px;
}

.sac-featured-msg__desc{
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

.sac-featured-msg__actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons on light bg */
.sac-featured-msg .sac-btn--primary{
  background: var(--sac-purple, #514786);
  color: #fff;
}

.sac-featured-msg .sac-btn--primary:hover{
  background: #3d3570;
}

.sac-featured-msg .sac-btn--ghost{
  border-color: var(--sac-purple, #514786);
  color: var(--sac-purple, #514786);
}

.sac-featured-msg .sac-btn--ghost:hover{
  background: rgba(81,71,134,0.08);
}

/* Responsive */
@media (max-width: 768px){
  .sac-featured-msg__inner{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Video modal overlay */
.sacfm-modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}

.sacfm-modal.is-open{
  display: flex;
  align-items: center;
  justify-content: center;
}

.sacfm-modal__overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}

.sacfm-modal__container{
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 960px;
}

.sacfm-modal__close{
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: opacity 200ms ease;
}

.sacfm-modal__close:hover{
  opacity: 0.7;
}

.sacfm-modal__video{
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.sacfm-modal__video iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Footer */
.sac-footer{
  background: linear-gradient(135deg, #2b2450 0%, #3d3570 50%, #514786 100%);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 48px;
}

.sac-footer a{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 200ms ease;
}

.sac-footer a:hover{
  color: #fff;
}

.sac-footer__grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Brand column */
.sac-footer__brand{
  text-align: center;
}

.sac-footer__logo{
  width: 160px;
  height: auto;
  margin-bottom: 20px;
}

.sac-footer__copy{
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.sac-footer__copy a{
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
}

.sac-footer__copy a:hover{
  color: #fff;
}

/* Column headings */
.sac-footer__heading{
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

/* Link lists */
.sac-footer__links{
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.sac-footer__links li{
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sac-footer__links--contact li{
  text-transform: none;
}

/* Footer CTA buttons */
.sac-btn--footer{
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: var(--sac-radius, 999px);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  transition: all 200ms ease;
  width: 100%;
  box-sizing: border-box;
}

.sac-btn--footer:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 980px){
  .sac-footer__grid{
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px){
  .sac-footer__grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sac-footer__brand{ text-align: center; }
}

/* ── Hamburger ── */
.sac-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: background .2s;
  flex-shrink: 0;
}
.sac-hamburger:hover { background: rgba(81,71,134,0.08); }
.sac-hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sac-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.sac-hamburger.is-open .sac-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sac-hamburger.is-open .sac-hamburger__bar:nth-child(2) {
  opacity: 0; width: 0;
}
.sac-hamburger.is-open .sac-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Drawer Backdrop ── */
.sac-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  transition: opacity .3s;
}
.sac-drawer-backdrop.is-open { opacity: 1; }

/* ── Drawer ── */
.sac-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  overflow: hidden;
}
.sac-drawer.is-open { transform: translateX(0); }

.sac-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.sac-drawer__logo { height: 34px; width: auto; display: block; }
.sac-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(81,71,134,0.07);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--sac-text);
  transition: background .2s;
}
.sac-drawer__close:hover { background: rgba(81,71,134,0.14); }

.sac-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}
.sac-drawer__menu,
.sac-drawer__menu ul,
.sac-drawer__menu li,
.sac-drawer__menu .sub-menu,
.sac-drawer__menu .sub-menu li {
  list-style: none !important;
  margin-left: 0;
  padding-left: 0;
}
.sac-drawer__menu > li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.sac-drawer__menu > li:last-child { border-bottom: none; }
.sac-drawer__menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sac-text);
  text-decoration: none;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.sac-drawer__menu > li > a:hover {
  background: rgba(81,71,134,0.07);
  color: var(--sac-purple);
}
.sac-drawer__menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s;
  flex-shrink: 0;
  margin-left: 8px;
  opacity: .5;
}
.sac-drawer__menu .menu-item-has-children.is-open > a::after {
  transform: rotate(-135deg);
}
.sac-drawer__menu .sub-menu {
  list-style: none !important;
  margin: 0;
  padding: 0 0 8px 12px;
  display: none;
}
.sac-drawer__menu .menu-item-has-children.is-open > .sub-menu { display: block; }
.sac-drawer__menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.sac-drawer__menu .sub-menu a:hover {
  background: rgba(81,71,134,0.07);
  color: var(--sac-purple);
}

.sac-drawer__footer {
  padding: 16px 16px 28px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.sac-drawer__btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.sac-drawer__btn:hover { transform: translateY(-1px); text-decoration: none; }
.sac-drawer__btn--outline {
  background: rgba(81,71,134,0.08);
  color: var(--sac-purple);
  border: 1px solid rgba(81,71,134,0.2);
}
.sac-drawer__btn--outline:hover { background: rgba(81,71,134,0.14); color: var(--sac-purple); }
.sac-drawer__btn--primary {
  background: var(--sac-purple);
  color: #fff;
}
.sac-drawer__btn--primary:hover { filter: brightness(1.08); color: #fff; }
