/* ==============================
   SERVICE PAGES (SHARED)
============================== */

.full-bleed{ width:100vw; margin-left: calc(50% - 50vw); }
.svc-section{ margin-top: clamp(20px, 4vw, 40px); }


/* HERO */
.svc-hero{
  position: relative;
  min-height: calc(100vh - 92px);
  overflow: hidden;
  display: grid;
  align-items: center;
}
.svc-hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.svc-hero-glow{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 22%, rgba(212,175,55,.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(191,195,201,.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.78));
}

.svc-hero-inner{
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 0 var(--page-pad, 16px);
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: center;
  color: #fff;
}

.svc-hero-left{ max-width: 62ch; }
.svc-hero-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
  color: #fff;
}
.svc-hero-actions a{
  color: #fff;
}
.svc-hero-right{
  display:grid;
  justify-items: end;
  align-items: end;
  padding-top: 30vh;
}
.svc-logo{
  width: 100px;
  height: auto;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,.55));
  transform: translateZ(0);
}

/* gold helper */
.gold{ color: var(--gold); }

/* LAYOUTS */
.svc-grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.svc-two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
 align-items: stretch; 
}

/* CARDS (INDEX) */
.svc-card{
  display:block;
  text-decoration:none;
  color: inherit;
  position: relative;
  height: 650px;
}
.svc-two > .card{
  height: 100%;
}


.svc-card-content{
  position:absolute;
  left: 14px; right: 14px; bottom: 14px;
  padding: 16px;

}

.svc-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}

.svc-chip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--silver);
}
.svc-chip .dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(212,175,55,.95);
  box-shadow: 0 0 22px rgba(212,175,55,.25);
}
.svc-arrow{ color: var(--gold); font-weight: 950; }

.svc-pill{
  margin-top: 12px;
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.35);
  color: var(--gold);
  background: rgba(0,0,0,.16);
  font-weight: 950;
}

/* COPY + MEDIA */
.svc-copy{ padding: clamp(14px, 2vw, 20px); border-radius: 26px; }
.svc-media{ padding: clamp(14px, 2vw, 20px); border-radius: 26px; }
.svc-points{
  margin-top: 14px;
  display: grid;
  gap: 10px;

  /* mobile: 1 column */
  grid-template-columns: 1fr;
}

/* desktop: 3 columns */
@media (min-width: 900px){
  .svc-points{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.svc-point{
  /* 3 rows: number, title, description */
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;

  justify-items: center;
  text-align: center;

  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);

  width: 100%;
  height: 100%; /* equal height cards in each row */
}

/* number badge */
.svc-point span{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;

  font-weight: 950;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.30);
  background: rgba(0,0,0,.20);
}

/* ensure the inner div doesn't fight the layout */
.svc-point > div{
  display: contents; /* lets strong + muted become row 2 + row 3 */
}

.svc-point strong{
  display: block;
}

.muted{
  color: var(--muted);
  margin-top: 2px;
}

.media-placeholder{
  margin-top: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  height: clamp(260px, 36vh, 460px);
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.70);
  font-weight: 850;
  letter-spacing: -0.01em;
}

.svc-mini{
  border-radius: 26px;
  padding: clamp(14px, 2vw, 20px);
}

/* CTA card */
.svc-cta{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 14px;
  border-radius: 26px;
  padding: clamp(14px, 2vw, 20px);
}

/* Responsive */
@media (max-width: 980px){
  .svc-hero-inner{ grid-template-columns: 1fr; 
  align-items: center;
  text-align: center;
justify-content: center;}
  .svc-hero-right{ justify-items: center; }
  .svc-grid-3{ grid-template-columns: 1fr; }
  .svc-two{ grid-template-columns: 1fr; }
  .svc-hero-actions {
  align-items: center;
  text-align: center;
justify-content: center;}
.svc-hero-right{
  padding-left: 70dvw;
  padding-top: 30px;
}}


.svc-media{
  display: grid;
  gap: 10px;
    align-items: center;
  text-align: center;
  justify-content: center;
}

.media-video{
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  align-items: center;
  text-align: center;
  justify-content: center;
    max-width: 750px;

}

.svc-video{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


/* =========================
   Testimonials + Carousel
   ========================= */

.testimonials{
  text-align: center;
}

.testimonials-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.testimonials-copy{
  display: grid;
  gap: 8px;
  justify-items: start;
  text-align: left;
}


@media (hover:hover){
  .testimonials-ad:hover{
    transform: translateY(-2px);
    border-color: rgba(212,175,55,.28);
    background: rgba(212,175,55,.06);
    box-shadow: 0 20px 44px rgba(0,0,0,.28);
  }
}


.carousel-slide {
  background-color: none;
}
/* Quote styling */
.quote{
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.55;
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,.90);
  max-width: 70ch;
  margin-inline: auto;
  position: relative;
}
.quote::before,
.quote::after{
  color: rgba(212,175,55,.70);
  font-weight: 900;
}
.quote::before{ content: "“"; margin-right: 2px; }
.quote::after{ content: "”"; margin-left: 2px; }

/* Meta row */
.quote-meta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.quote-avatar {
  padding: 0;
  border: none;
  background: none;
}
.quote-avatar img{
  border-radius: 14px;
  width: auto;
  height: 72px;
}

.quote-who{
  display: grid;
  gap: 2px;
  text-align: left;
}
.quote-name{
  font-weight: 950;
  color: rgba(255,255,255,.92);
}
.quote-role{
  font-size: 13px;
  color: rgba(255,255,255,.70);
}

/* ---- Controls ---- */
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 16px;

  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);

  display: grid;
  place-items: center;
  cursor: pointer;

  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  z-index: 3;
}

.carousel-btn span{
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.carousel-btn.prev{ left: 12px; }
.carousel-btn.next{ right: 12px; }

@media (hover:hover){
  .carousel-btn:hover{
    transform: translateY(-50%) translateY(-2px);
    border-color: rgba(212,175,55,.25);
    background: rgba(0,0,0,.45);
    box-shadow: 0 18px 40px rgba(0,0,0,.30);
  }
}

.carousel-viewport:focus-visible{
  box-shadow: 0 0 0 4px rgba(212,175,55,.18);
  border-radius: 18px;
}

/* ---- Dots ---- */
.carousel-dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.carousel-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  cursor: pointer;
  padding: 0;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.carousel-dot[aria-selected="true"]{
  background: rgba(212,175,55,.70);
  border-color: rgba(212,175,55,.85);
  transform: scale(1.08);
}


:root[data-theme="light"] .quote{ color: rgba(0,0,0,.78); }
:root[data-theme="light"] .quote-name{ color: rgba(0,0,0,.82); }
:root[data-theme="light"] .quote-role{ color: rgba(0,0,0,.56); }
:root[data-theme="light"] .carousel-btn{
  background: rgba(255,255,255,.70);
  border-color: rgba(0,0,0,.12);
  color: rgba(0,0,0,.75);
}
:root[data-theme="light"] .testimonials-ad{
  border-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
}

/* ---- Responsive ---- */
@media (max-width: 720px){

  .svc-hero-glow{

    
    background:  rgba(0,0,0,.8);
  }
.svc-hero-actions{
  align-items: center; text-align: center; justify-content: center;
}
  .testimonials-copy{
    justify-items: center;
    text-align: center;
    width: 100%;
  }
  .testimonials-ad{ margin-inline: auto; }
  .carousel{ padding: 14px; }
  .carousel-slide{ padding: 16px; min-height: 260px; }
  .carousel-btn{ display: none; } /* swipe + dots on mobile */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .carousel-track, .carousel-btn, .testimonials-ad, .carousel-dot{
    transition: none !important;
  }
}



.svc-media--video{
  padding: 0;          /* no padding */
  overflow: hidden;    /* crop video to rounded corners */
  position: relative;
}

.svc-video{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;   /* adjust to your layout */
  object-fit: cover;  /* fills the card nicely */
  border-radius: inherit;
}


/* ==========================================
   SERVICES — LIGHT MODE CLEAN IVORY PATCH
   Add this at the END of services CSS
========================================== */

/* 1) Hero overlay: lighter + ivory compatible */
:root[data-theme="light"] .svc-hero-glow{
  background:
    radial-gradient(circle at 18% 22%, rgba(212,175,55,.14), transparent 58%),
    radial-gradient(circle at 80% 70%, rgba(191,195,201,.10), transparent 62%),
    linear-gradient(180deg, rgba(251,246,234,.10), rgba(18,18,18,.42));
}

/* Hero text: don’t force white in light mode */
:root[data-theme="light"] .svc-hero-inner{
  color: #121212;
}
:root[data-theme="light"] .svc-hero-actions,
:root[data-theme="light"] .svc-hero-actions a{
  color: rgba(18,18,18,.88);
}

/* Logo: remove heavy drop shadow */
:root[data-theme="light"] .svc-logo{
  filter: none;
}

/* Mobile hero overlay: your current rgba(0,0,0,.8) is too dark for light mode */
@media (max-width: 720px){
  :root[data-theme="light"] .svc-hero-glow{
    background:
      radial-gradient(circle at 18% 22%, rgba(212,175,55,.12), transparent 60%),
      linear-gradient(180deg, rgba(251,246,234,.12), rgba(18,18,18,.52));
  }
}

/* 2) Remove “floating” shadows + blur glass in light mode */
:root[data-theme="light"] .svc-card,
:root[data-theme="light"] .svc-copy,
:root[data-theme="light"] .svc-media,
:root[data-theme="light"] .svc-mini,
:root[data-theme="light"] .svc-cta,
:root[data-theme="light"] .svc-point,
:root[data-theme="light"] .media-placeholder,
:root[data-theme="light"] .media-video,
:root[data-theme="light"] .testimonials-ad,
:root[data-theme="light"] .carousel-btn,
:root[data-theme="light"] .carousel-viewport{
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 3) Clean card surfaces (ivory “paper”) */
:root[data-theme="light"] .svc-copy,
:root[data-theme="light"] .svc-media,
:root[data-theme="light"] .svc-mini,
:root[data-theme="light"] .svc-cta{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(18,18,18,.10);
}

/* 4) Index cards: content panel should be light, not a dark slab */
:root[data-theme="light"] .svc-card-content{
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(18,18,18,.10);
  border-radius: 22px;
}

/* Chip + dot: remove glow for clean mode */
:root[data-theme="light"] .svc-chip{
  color: rgba(18,18,18,.55);
}
:root[data-theme="light"] .svc-chip .dot{
  box-shadow: none;
}

/* Pill: remove dark backing in light mode */
:root[data-theme="light"] .svc-pill{
  background: rgba(212,175,55,.10);
  border-color: rgba(212,175,55,.35);
  color: rgba(212,175,55,.95);
}

/* 5) Points: remove dark micro-cards inside */
:root[data-theme="light"] .svc-point{
  background: rgba(18,18,18,.03);
  border-color: rgba(18,18,18,.10);
}
:root[data-theme="light"] .svc-point span{
  background: rgba(212,175,55,.10);
  border-color: rgba(212,175,55,.30);
  color: rgba(212,175,55,.95);
}

/* 6) Media placeholder: ivory */
:root[data-theme="light"] .media-placeholder{
  background: rgba(18,18,18,.03);
  border-color: rgba(18,18,18,.10);
  color: rgba(18,18,18,.60);
}

/* 7) Testimonials carousel: cleaner controls + dots */
:root[data-theme="light"] .carousel-btn{
  background: rgba(255,255,255,.82);
  border-color: rgba(18,18,18,.10);
  color: rgba(18,18,18,.75);
}
:root[data-theme="light"] .carousel-dots .carousel-dot{
  background: rgba(18,18,18,.06);
  border-color: rgba(18,18,18,.14);
}
:root[data-theme="light"] .carousel-dot[aria-selected="true"]{
  background: rgba(212,175,55,.85);
  border-color: rgba(212,175,55,.50);
}

/* Quote meta already handled by your existing rules,
   but ensure avatar and meta don’t look “dark” */
:root[data-theme="light"] .quote-avatar img{
  filter: none;
}
