/* ==========================================================================
   URCARE Support Services — Premium Header + Full-Width Hero Slider
   File: /wp-content/themes/ur-care/css/urcare-header-hero.css
   Palette pulled from the URCARE logo: teal, berry, plum, orange, amber.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&display=swap');

:root {
  --uc-teal-dk: #076A86;
  --uc-teal: #0898B8;
  --uc-teal-lt: #E3F4F8;
  --uc-berry: #B82878;
  --uc-berry-dk: #8A1A5B;
  --uc-plum: #6A0F4A;
  --uc-orange: #F87818;
  --uc-orange-dk: #D9600A;
  --uc-amber: #F8A828;
  --uc-text: #0B5A70;
  --uc-line: rgba(8, 120, 152, .14);
  --uc-ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   1. TOP BAR
   -------------------------------------------------------------------------- */
header#header .header-top {
  background: linear-gradient(90deg, var(--uc-teal-dk) 0%, var(--uc-teal) 60%, #12A6C2 100%) !important;
  padding: 0 !important;
  border-bottom: 3px solid var(--uc-orange);
}
header#header .header-top .row { min-height: 42px; }
header#header .header-top .contact-info {
  display: flex; flex-wrap: wrap; align-items: center;
  margin: 0; padding: 0; list-style: none;
}
header#header .header-top .contact-info li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  color: rgba(255, 255, 255, .9) !important;
  padding: 0 18px; margin: 0 !important; border: 0 !important; position: relative;
}
header#header .header-top .contact-info li:first-child { padding-left: 0; }
header#header .header-top .contact-info li::after { display: none !important; content: none !important; }
header#header .header-top .contact-info li + li::before {
  content: "" !important; position: absolute !important; left: 0 !important; top: 50% !important;
  width: 1px !important; height: 14px !important; transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, .3) !important;
}
header#header .header-top .contact-info li a { color: #fff !important; transition: color .2s; }
header#header .header-top .contact-info li a:hover { color: #FFE2B8 !important; }
header#header .header-top .contact-info .font-icon {
  font-size: 12px !important; color: var(--uc-amber) !important; margin: 0 !important; width: auto !important;
}
header#header .header-top .styled-icons { margin: 0; display: flex; gap: 8px; }
header#header .header-top .styled-icons li { margin: 0 !important; }
header#header .header-top .styled-icons a {
  width: 30px !important; height: 30px !important; line-height: 30px !important;
  font-size: 13px !important; border-radius: 50% !important;
  background: rgba(255, 255, 255, .16) !important; border: 1px solid rgba(255, 255, 255, .28) !important;
  color: #fff !important; transition: all .25s var(--uc-ease);
}
header#header .header-top .styled-icons a:hover {
  background: var(--uc-orange) !important; border-color: var(--uc-orange) !important; transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. MAIN NAV
   -------------------------------------------------------------------------- */
header#header .header-nav,
header#header .header-nav-wrapper,
header#header .menuzord-container {
  background: rgba(255, 255, 255, .94) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
header#header .header-nav-wrapper { border-bottom: 1px solid var(--uc-line); transition: box-shadow .3s var(--uc-ease); }
header#header .header-nav-wrapper.scroll-to-fixed-fixed { box-shadow: 0 10px 30px -18px rgba(8, 120, 152, .45); }
header#header .header-nav-col-row { min-height: 92px; align-items: center; }
header#header .menuzord-brand img,
header#header .header-nav img { max-height: 78px !important; width: auto !important; transition: max-height .3s var(--uc-ease); }
header#header .scroll-to-fixed-fixed .header-nav img { max-height: 60px !important; }

@media (min-width: 1200px) {
  header#header .menuzord-menu { display: flex !important; align-items: center; gap: 4px; }
  header#header .menuzord-menu > li { margin: 0 !important; }
  header#header .menuzord-menu > li > a {
    position: relative;
    font-size: 15px !important; font-weight: 600 !important; letter-spacing: .005em;
    color: var(--uc-text) !important; background: transparent !important;
    padding: 10px 16px !important; border-radius: 999px !important;
    transition: color .2s var(--uc-ease);
  }
  header#header .menuzord-menu > li > a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--uc-berry), var(--uc-orange));
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--uc-ease);
  }
  header#header .menuzord-menu > li > a:hover,
  header#header .menuzord-menu > li.current-menu-item > a { color: var(--uc-berry) !important; }
  header#header .menuzord-menu > li > a:hover::after,
  header#header .menuzord-menu > li.current-menu-item > a::after { transform: scaleX(1); }

  /* Contact Us = CTA pill */
  header#header .menuzord-menu > li:has(> a[href$="/contact-us/"]) { margin-left: 10px !important; }
  header#header .menuzord-menu > li > a[href$="/contact-us/"] {
    color: #fff !important;
    background: linear-gradient(135deg, var(--uc-orange) 0%, var(--uc-amber) 100%) !important;
    padding: 13px 26px !important;
    box-shadow: 0 12px 24px -12px rgba(248, 120, 24, .9);
  }
  header#header .menuzord-menu > li > a[href$="/contact-us/"]::after { display: none; }
  header#header .menuzord-menu > li > a[href$="/contact-us/"]:hover {
    background: linear-gradient(135deg, var(--uc-berry) 0%, var(--uc-plum) 100%) !important;
    color: #fff !important; box-shadow: 0 12px 24px -12px rgba(184, 40, 120, .9);
  }
}

/* --------------------------------------------------------------------------
   3. FULL-WIDTH HERO SLIDER
   -------------------------------------------------------------------------- */
section.uc-hero > .container { padding-top: 0 !important; padding-bottom: 0 !important; }

.uc-hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(580px, 84vh, 760px);
  background: var(--uc-teal-dk);
  font-family: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
  color: #fff;
}

/* Slide layers */
.uc-slide {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--uc-ease), visibility 0s linear 1.1s;
}
.uc-slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1.1s var(--uc-ease), visibility 0s; }

.uc-slide__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 75% center;
  transform: scale(1.08); transition: transform 8s linear;
}
.uc-slide.is-active .uc-slide__bg { transform: scale(1); }

/* Brand-colour overlays (no black) */
.uc-slide__shade { position: absolute; inset: 0; }
.uc-slide--teal .uc-slide__shade {
  background:
    linear-gradient(90deg, rgba(7, 106, 134, .96) 0%, rgba(8, 136, 168, .86) 34%, rgba(8, 152, 184, .35) 60%, rgba(8, 152, 184, 0) 80%),
    linear-gradient(0deg, rgba(7, 106, 134, .55) 0%, rgba(7, 106, 134, 0) 30%);
}
.uc-slide--berry .uc-slide__shade {
  background:
    linear-gradient(90deg, rgba(106, 15, 74, .95) 0%, rgba(184, 40, 120, .84) 34%, rgba(184, 40, 120, .32) 60%, rgba(184, 40, 120, 0) 80%),
    linear-gradient(0deg, rgba(106, 15, 74, .5) 0%, rgba(106, 15, 74, 0) 30%);
}
.uc-slide--orange .uc-slide__shade {
  background:
    linear-gradient(90deg, rgba(176, 70, 8, .95) 0%, rgba(217, 96, 10, .86) 34%, rgba(248, 120, 24, .32) 60%, rgba(248, 120, 24, 0) 80%),
    linear-gradient(0deg, rgba(176, 70, 8, .5) 0%, rgba(176, 70, 8, 0) 30%);
}

/* Decorative rings */
.uc-slide__ribbon {
  position: absolute; left: -6%; bottom: -38%; width: 60%; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); pointer-events: none;
}
.uc-slide__ribbon::after {
  content: ""; position: absolute; inset: 34px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .18);
}

/* Content */
.uc-slide .container { position: relative; height: 100%; }
.uc-slide__content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 620px; padding-bottom: 70px;
}
.uc-slide__content > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--uc-ease), transform .8s var(--uc-ease);
}
.uc-slide.is-active .uc-slide__content > * { opacity: 1; transform: none; }
.uc-slide.is-active .uc-slide__content > *:nth-child(2) { transition-delay: .12s; }
.uc-slide.is-active .uc-slide__content > *:nth-child(3) { transition-delay: .22s; }
.uc-slide.is-active .uc-slide__content > *:nth-child(4) { transition-delay: .32s; }
.uc-slide.is-active .uc-slide__content > *:nth-child(5) { transition-delay: .42s; }

.uc-eyebrow {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff;
}
.uc-eyebrow__dot {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--uc-berry);
}
.uc-eyebrow__dot svg { width: 12px; height: 12px; }

.uc-slide__kicker {
  display: block; margin: 26px 0 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #FFE2B8;
}
.uc-slide__title {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 500 !important; font-size: clamp(38px, 4.8vw, 66px) !important;
  line-height: 1.04 !important; letter-spacing: -.02em !important;
  color: #fff !important; margin: 0 0 20px !important; text-transform: none !important;
  text-shadow: 0 2px 24px rgba(106, 15, 74, .18);
}
.uc-slide__title em { font-style: italic; color: var(--uc-amber); }
.uc-slide--orange .uc-slide__title em { color: #FFE2B8; }
.uc-slide__text {
  max-width: 520px; margin: 0 !important;
  font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .92) !important;
}

.uc-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.uc-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em; line-height: 1;
  text-decoration: none !important; transition: all .25s var(--uc-ease);
}
.uc-btn svg { width: 18px; height: 18px; transition: transform .25s var(--uc-ease); }
.uc-btn--primary {
  background: linear-gradient(135deg, var(--uc-orange) 0%, var(--uc-amber) 100%);
  color: #fff !important; box-shadow: 0 16px 30px -14px rgba(248, 120, 24, .95);
}
.uc-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(248, 120, 24, 1); }
.uc-btn--primary:hover svg { transform: translateX(4px); }
.uc-slide--orange .uc-btn--primary {
  background: #fff; color: var(--uc-orange-dk) !important; box-shadow: 0 16px 30px -14px rgba(106, 15, 74, .5);
}
.uc-btn--ghost {
  background: rgba(255, 255, 255, .14); color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.uc-btn--ghost:hover { background: #fff; color: var(--uc-teal-dk) !important; transform: translateY(-2px); }

/* Bottom control bar */
.uc-hero__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 0 0 30px;
}
.uc-hero__bar .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.uc-dots { display: flex; gap: 12px; flex: 1; max-width: 560px; }
.uc-dot {
  flex: 1; padding: 14px 0 0; border: 0; background: none; text-align: left; cursor: pointer;
  position: relative; font: 600 13px/1.3 "Plus Jakarta Sans", sans-serif;
  color: rgba(255, 255, 255, .7); transition: color .3s;
}
.uc-dot b { display: block; font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .55); margin-bottom: 2px; }
.uc-dot::before, .uc-dot::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; border-radius: 3px; }
.uc-dot::before { right: 0; background: rgba(255, 255, 255, .28); }
.uc-dot::after { width: 0; background: var(--uc-amber); }
.uc-dot.is-active { color: #fff; }
.uc-dot.is-active b { color: var(--uc-amber); }
.uc-dot.is-active::after { animation: ucProgress var(--uc-interval, 7s) linear forwards; }
.uc-hero.is-paused .uc-dot.is-active::after { animation-play-state: paused; }
.uc-dot:focus-visible, .uc-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@keyframes ucProgress { to { width: 100%; } }

.uc-arrows { display: flex; gap: 10px; }
.uc-arrow {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: all .25s var(--uc-ease);
}
.uc-arrow svg { width: 20px; height: 20px; }
.uc-arrow:hover { background: #fff; color: var(--uc-berry); }

/* Floating trust card */
.uc-trustcard {
  position: absolute; z-index: 5; right: max(24px, calc((100vw - 1320px) / 2 + 12px)); top: 40px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 22px 40px -20px rgba(106, 15, 74, .5);
}
.uc-trustcard__icon {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--uc-berry), var(--uc-plum)); color: #fff;
}
.uc-trustcard__icon svg { width: 20px; height: 20px; }
.uc-trustcard strong { display: block; font-size: 14px; color: var(--uc-plum); line-height: 1.2; }
.uc-trustcard div > span { display: block; font-size: 12px; color: var(--uc-text); margin-top: 2px; }

/* --------------------------------------------------------------------------
   4. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .uc-hero { height: auto; min-height: 640px; }
  .uc-slide__bg { object-position: 70% center; }
  .uc-slide--teal .uc-slide__shade { background: linear-gradient(0deg, rgba(7, 106, 134, .97) 0%, rgba(8, 136, 168, .9) 48%, rgba(8, 152, 184, .35) 100%); }
  .uc-slide--berry .uc-slide__shade { background: linear-gradient(0deg, rgba(106, 15, 74, .97) 0%, rgba(184, 40, 120, .9) 48%, rgba(184, 40, 120, .35) 100%); }
  .uc-slide--orange .uc-slide__shade { background: linear-gradient(0deg, rgba(176, 70, 8, .97) 0%, rgba(217, 96, 10, .9) 48%, rgba(248, 120, 24, .35) 100%); }
  .uc-slide__content { justify-content: flex-end; padding: 120px 0 130px; }
  .uc-trustcard { top: 20px; right: 16px; }
  .uc-arrows { display: none; }
}
@media (max-width: 575.98px) {
  .uc-hero { min-height: 680px; }
  .uc-slide__content { padding: 96px 0 120px; }
  .uc-slide__text { font-size: 16px; }
  .uc-btn { flex: 1 1 100%; justify-content: center; }
  .uc-dot { font-size: 11px; }
  .uc-dot b { font-size: 10px; }
  .uc-trustcard div > span { display: none; }
  .uc-trustcard { padding: 8px 14px 8px 8px; }
  .uc-trustcard__icon { width: 34px; height: 34px; }
  header#header .header-top .contact-info { justify-content: center; }
  header#header .header-top .contact-info li { padding: 4px 10px; }
  header#header .header-top .contact-info li + li::before { display: none !important; }
  header#header .header-top .contact-address { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .uc-slide, .uc-slide__bg, .uc-slide__content > *, .uc-btn { transition: none !important; }
  .uc-dot.is-active::after { animation: none; width: 100%; }
}
