/* =====================================================================
   URCARE About page, 2026 redesign
   Aus Asia Online, October 2026
   Loaded only on the "About Us (2026 Redesign)" template (about-v2.php).
   Builds on the homepage header + hero styles in urcare-header-hero.css
   (Fraunces display, .uc-btn, .uc-eyebrow, .uc-trustcard).
   ===================================================================== */

.ucx {
  --x-teal-dk: #076A86;
  --x-teal: #0898B8;
  --x-teal-lt: #E3F4F8;
  --x-berry: #B82878;
  --x-plum: #6A0F4A;
  --x-orange: #F87818;
  --x-amber: #F8A828;
  --x-ink: #1E1A26;
  --x-text: #45424F;
  --x-muted: #6E6A78;
  --x-line: #ECE5E0;
  --x-sand: #F7F2EE;
  --x-ivory: #FDFBF8;
  --x-grad: linear-gradient(90deg, #F87818 0%, #B82878 100%);
  --x-ease: cubic-bezier(.22, .61, .36, 1);
  --x-sec: clamp(64px, 8vw, 108px);
  --x-display: "Bricolage Grotesque", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --x-body: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--x-ivory);
  color: var(--x-text);
  font-family: var(--x-body);
  overflow-x: clip;
}
.ucx :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
.ucx :where(ul, ol) { list-style: none; }
.ucx :where(ul, ol) > li::before { content: none; }
.ucx img { display: block; max-width: 100%; height: auto; }
.ucx a, .ucx a:hover, .ucx a:focus { text-decoration: none !important; }
.ucx section > .container { padding-top: 0 !important; padding-bottom: 0 !important; }

/* ---------- Shared type ---------- */
.ucx .ucx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; margin-bottom: 18px;
  border-radius: 999px; background: #fff; border: 1px solid var(--x-line);
  font: 700 12px/1 var(--x-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--x-berry);
}
.ucx .ucx-eyebrow i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--x-berry); box-shadow: 0 0 0 4px rgba(184, 40, 120, .14);
}
.ucx .ucx-eyebrow--light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.ucx .ucx-eyebrow--light i { background: var(--x-amber); box-shadow: 0 0 0 4px rgba(248, 168, 40, .25); }

.ucx .ucx-h2 {
  font-family: var(--x-display) !important;
  font-size: clamp(32px, 4vw, 52px) !important;
  font-weight: 700 !important; line-height: 1.06 !important; letter-spacing: -.035em !important;
  color: var(--x-ink) !important; text-transform: none !important;
  margin: 0 0 18px !important;
}
.ucx .ucx-h2 em {
  font-style: normal;
  background: var(--x-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.ucx p { font-size: 17px; line-height: 1.75; color: var(--x-text); }
.ucx .ucx-lead { font-size: 18px; line-height: 1.7; max-width: 62ch; }

.ucx-sec { padding: var(--x-sec) 0; }
.ucx-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.ucx-head--split {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end;
}
.ucx-head--split .ucx-h2 { margin-bottom: 0 !important; }

/* ---------- 1. Hero ---------- */
.ucx-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(540px, 72vh, 660px);
  display: flex; align-items: center;
  background: var(--x-teal-dk); color: #fff;
}
.ucx-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important;
  object-fit: cover; object-position: 78% 40%; z-index: -2;
  animation: ucxZoom 9s var(--x-ease) both;
}
@keyframes ucxZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.ucx-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 106, 134, .97) 0%, rgba(8, 136, 168, .88) 36%, rgba(8, 152, 184, .38) 62%, rgba(8, 152, 184, 0) 82%),
    linear-gradient(0deg, rgba(7, 106, 134, .55) 0%, rgba(7, 106, 134, 0) 32%);
}
.ucx-hero .uc-slide__ribbon { z-index: -1; }
.ucx-hero__inner { position: relative; width: 100%; }
.ucx-hero__content { max-width: 640px; padding: 72px 0 84px; }
.ucx-hero__content > * { animation: ucxRise .8s var(--x-ease) both; }
.ucx-hero__content > *:nth-child(2) { animation-delay: .08s; }
.ucx-hero__content > *:nth-child(3) { animation-delay: .16s; }
.ucx-hero__content > *:nth-child(4) { animation-delay: .24s; }
.ucx-hero__content > *:nth-child(5) { animation-delay: .32s; }
.ucx-hero__content > *:nth-child(6) { animation-delay: .4s; }
@keyframes ucxRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.ucx-crumbs {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78);
}
.ucx-crumbs a { color: #fff !important; }
.ucx-crumbs a:hover { color: #FFE2B8 !important; }
.ucx-crumbs span[aria-current] { color: #FFE2B8; }

.ucx-hero .uc-eyebrow { display: inline-flex; }
.ucx-hero .uc-slide__kicker { margin: 24px 0 12px; }
.ucx .ucx-hero__title {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 500 !important; font-size: clamp(40px, 5vw, 68px) !important;
  line-height: 1.04 !important; letter-spacing: -.02em !important;
  color: #fff !important; text-transform: none !important; margin: 0 0 20px !important;
  text-shadow: 0 2px 24px rgba(106, 15, 74, .18);
}
.ucx .ucx-hero__title em { font-style: italic; color: var(--x-amber); }
.ucx .ucx-hero__text { max-width: 540px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.ucx-hero .uc-hero__cta { margin-top: 32px; }
.ucx-hero__card { top: auto; bottom: 40px; }

/* ---------- 2. Who we are ---------- */
.ucx-who__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.ucx-who__media { position: relative; padding: 0 0 30px 30px; }
.ucx-who__media::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 76%; height: 80%;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--x-teal) 0%, var(--x-teal-dk) 55%, var(--x-plum) 130%);
}
.ucx-who__media::after {
  content: ""; position: absolute; left: 14px; bottom: 14px; width: 60%; height: 60%;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1.2px, transparent 1.2px);
  background-size: 14px 14px; border-radius: 20px; pointer-events: none;
}
.ucx-who__photo { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; box-shadow: 0 34px 70px -28px rgba(11, 59, 79, .5); }
.ucx-who__photo img { width: 100%; aspect-ratio: 513 / 611; object-fit: cover; }
.ucx-chip {
  position: absolute; z-index: 2; right: -14px; top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; background: #fff;
  box-shadow: 0 18px 36px -18px rgba(106, 15, 74, .45);
  font-size: 14px; font-weight: 700; color: var(--x-plum);
}
.ucx-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--x-orange); box-shadow: 0 0 0 5px rgba(248, 120, 24, .18); }

.ucx-who__body .ucx-lead { margin-bottom: 28px; }
.ucx-checks {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-bottom: 32px !important;
}
.ucx-checks li {
  display: flex; align-items: center; gap: 12px; margin: 0;
  padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--x-line);
  font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--x-ink);
  transition: border-color .25s var(--x-ease), transform .25s var(--x-ease);
}
.ucx-checks li:hover { border-color: rgba(184, 40, 120, .35); transform: translateY(-2px); }
.ucx-checks__wide { grid-column: 1 / -1; }
.ucx-checks__tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--x-teal), var(--x-berry)); color: #fff;
}
.ucx-checks__tick svg { width: 13px; height: 13px; }

.ucx-call {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 28px 10px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--x-berry) 0%, var(--x-plum) 100%);
  box-shadow: 0 18px 34px -16px rgba(184, 40, 120, .8);
  transition: transform .25s var(--x-ease), box-shadow .25s var(--x-ease);
}
.ucx-call:hover { transform: translateY(-2px); box-shadow: 0 22px 38px -16px rgba(184, 40, 120, .95); }
.ucx-call__icon {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); color: #fff;
}
.ucx-call__icon svg { width: 20px; height: 20px; }
.ucx-call__text { display: flex; flex-direction: column; line-height: 1.2; color: #fff; }
.ucx-call__text small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.ucx-call__text strong { font-size: 20px; font-weight: 800; color: #fff; }

/* ---------- 3. Purpose ---------- */
.ucx-purpose { padding-top: 0; }
.ucx-purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ucx-pcard {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(32px, 4vw, 52px); border-radius: 28px; color: #fff;
  box-shadow: 0 34px 70px -32px rgba(11, 59, 79, .55);
}
.ucx-pcard--teal { background: linear-gradient(150deg, #0898B8 0%, #076A86 55%, #0B3B4F 100%); }
.ucx-pcard--berry { background: linear-gradient(150deg, #B82878 0%, #8A1A5B 55%, #6A0F4A 100%); box-shadow: 0 34px 70px -32px rgba(106, 15, 74, .6); }
.ucx-pcard::before {
  content: ""; position: absolute; z-index: -1; right: -90px; bottom: -90px; width: 300px; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .16);
}
.ucx-pcard::after {
  content: ""; position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 200px; aspect-ratio: 1;
  border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16);
}
.ucx-pcard__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 26px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
}
.ucx-pcard__icon svg { width: 26px; height: 26px; }
.ucx-pcard__num {
  position: absolute; top: clamp(28px, 3.5vw, 44px); right: clamp(28px, 4vw, 52px);
  font: italic 500 48px/1 "Fraunces", Georgia, serif; color: rgba(255, 255, 255, .22);
}
.ucx .ucx-pcard h3 {
  font-family: "Fraunces", Georgia, serif !important; font-weight: 500 !important;
  font-size: clamp(30px, 3vw, 40px) !important; line-height: 1.1 !important; letter-spacing: -.02em !important;
  color: #fff !important; margin: 0 0 16px !important; text-transform: none !important;
}
.ucx .ucx-pcard p { color: rgba(255, 255, 255, .92); font-size: 17px; }

/* ---------- 4. Values ---------- */
.ucx-values { background: var(--x-sand); position: relative; }
.ucx-values::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 0%, rgba(184, 40, 120, .07), transparent 70%),
              radial-gradient(500px 300px at 0% 100%, rgba(8, 152, 184, .08), transparent 70%);
}
.ucx-values .container { position: relative; }
.ucx-values__top {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.ucx-values__top .ucx-h2 { margin-bottom: 0 !important; }
.ucx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px !important; }
.ucx-tags li {
  margin: 0; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--x-line);
  font-size: 14px; font-weight: 600; color: var(--x-teal-dk);
}
.ucx-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ucx-vcard {
  position: relative; padding: 32px 30px 36px; border-radius: 24px; background: #fff;
  border: 1px solid var(--x-line);
  box-shadow: 0 1px 2px rgba(30, 26, 38, .05), 0 10px 30px -18px rgba(30, 26, 38, .18);
  transition: transform .35s var(--x-ease), box-shadow .35s var(--x-ease);
}
.ucx-vcard::after {
  content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--x-grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--x-ease);
}
.ucx-vcard:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(11, 59, 79, .35); }
.ucx-vcard:hover::after { transform: scaleX(1); }
.ucx-vcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.ucx-vcard__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.ucx-vcard__icon svg { width: 28px; height: 28px; }
.ucx-vcard__icon--teal { background: linear-gradient(135deg, var(--x-teal), var(--x-teal-dk)); box-shadow: 0 14px 26px -14px rgba(8, 152, 184, .9); }
.ucx-vcard__icon--berry { background: linear-gradient(135deg, var(--x-berry), var(--x-plum)); box-shadow: 0 14px 26px -14px rgba(184, 40, 120, .9); }
.ucx-vcard__icon--orange { background: linear-gradient(135deg, var(--x-amber), var(--x-orange)); box-shadow: 0 14px 26px -14px rgba(248, 120, 24, .9); }
.ucx-vcard__num { font: italic 500 40px/1 "Fraunces", Georgia, serif; color: rgba(30, 26, 38, .12); }
.ucx .ucx-vcard h3 {
  font-family: var(--x-display) !important; font-weight: 700 !important; font-size: 26px !important;
  line-height: 1.15 !important; letter-spacing: -.02em !important; color: var(--x-ink) !important;
  margin: 0 0 12px !important; text-transform: none !important;
}
.ucx .ucx-vcard p { font-size: 16px; line-height: 1.75; }

/* ---------- 5. Steps ---------- */
.ucx-steps__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
  counter-reset: none; position: relative;
}
.ucx-steps__list::before {
  content: ""; position: absolute; left: 30px; right: calc((100% - 66px) / 4 - 30px); top: 30px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(184, 40, 120, .35) 0 8px, transparent 8px 16px);
}
.ucx-step { position: relative; margin: 0; padding: 0 6px 0 0; }
.ucx-step__num {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 24px;
  border-radius: 50%; background: #fff; border: 2px solid rgba(184, 40, 120, .25);
  font: italic 500 22px/1 "Fraunces", Georgia, serif; color: var(--x-berry);
  box-shadow: 0 12px 24px -14px rgba(184, 40, 120, .6);
  transition: background .3s var(--x-ease), color .3s var(--x-ease), border-color .3s var(--x-ease);
}
.ucx-step:hover .ucx-step__num { background: linear-gradient(135deg, var(--x-orange), var(--x-amber)); color: #fff; border-color: transparent; }
.ucx .ucx-step h3 {
  font-family: var(--x-display) !important; font-weight: 700 !important; font-size: 22px !important;
  line-height: 1.2 !important; letter-spacing: -.015em !important; color: var(--x-ink) !important;
  margin: 0 0 10px !important; text-transform: none !important;
}
.ucx .ucx-step p { font-size: 16px; line-height: 1.7; }
.ucx-steps__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(40px, 5vw, 56px); }
.ucx-link {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px;
  font-size: 16px; font-weight: 700; color: var(--x-ink) !important;
  border-bottom: 2px solid var(--x-berry);
}
.ucx-link svg { width: 18px; height: 18px; transition: transform .25s var(--x-ease); }
.ucx-link:hover { color: var(--x-berry) !important; }
.ucx-link:hover svg { transform: translateX(4px); }

/* ---------- 6. Areas ---------- */
.ucx-areas { padding-top: 0; }
.ucx-areas__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px 64px; align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: 32px; color: #fff;
  background: linear-gradient(120deg, #076A86 0%, #0898B8 55%, #12A6C2 100%);
  box-shadow: 0 40px 80px -40px rgba(7, 106, 134, .7);
}
.ucx-areas__panel::before {
  content: ""; position: absolute; z-index: -1; left: -120px; bottom: -220px; width: 460px; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18);
}
.ucx-areas__panel::after {
  content: ""; position: absolute; z-index: -1; right: -80px; top: -120px; width: 320px; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(248, 168, 40, .3) 0%, rgba(248, 168, 40, 0) 70%);
}
.ucx .ucx-areas__panel .ucx-h2 { color: #fff !important; }
.ucx .ucx-areas__panel .ucx-h2 em { background: none; color: #FFE2B8; -webkit-text-fill-color: #FFE2B8; }
.ucx .ucx-areas__head p { color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.ucx-areas__list { display: flex; flex-wrap: wrap; gap: 10px; }
.ucx-areas__list li { margin: 0; }
.ucx-areas__list a,
.ucx-areas__list span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: #fff !important;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
}
.ucx-areas__list a { background: #fff; color: var(--x-teal-dk) !important; border-color: #fff; transition: all .25s var(--x-ease); }
.ucx-areas__list a::after {
  content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 2px;
}
.ucx-areas__list a:hover { background: var(--x-orange); border-color: var(--x-orange); color: #fff !important; transform: translateY(-2px); }

/* ---------- Reveal ---------- */
.ucx--anim [data-ucx-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--x-ease), transform .8s var(--x-ease); }
.ucx--anim [data-ucx-reveal].is-in { opacity: 1; transform: none; }
.ucx--anim .ucx-purpose__grid > :nth-child(2),
.ucx--anim .ucx-values__grid > :nth-child(2),
.ucx--anim .ucx-steps__list > :nth-child(2) { transition-delay: .1s; }
.ucx--anim .ucx-values__grid > :nth-child(3),
.ucx--anim .ucx-steps__list > :nth-child(3) { transition-delay: .2s; }
.ucx--anim .ucx-steps__list > :nth-child(4) { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .ucx-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .ucx-steps__list::before { display: none; }
}
@media (max-width: 991.98px) {
  .ucx-hero { min-height: 620px; align-items: flex-end; }
  .ucx-hero__bg { object-position: 70% center; }
  .ucx-hero__shade { background: linear-gradient(0deg, rgba(7, 106, 134, .98) 0%, rgba(8, 136, 168, .9) 52%, rgba(8, 152, 184, .3) 100%); }
  .ucx-hero__content { padding: 180px 0 64px; }
  .ucx-hero__card { top: 20px; bottom: auto; right: 16px; }
  .ucx-who__grid,
  .ucx-purpose__grid,
  .ucx-values__top,
  .ucx-head--split,
  .ucx-areas__panel { grid-template-columns: minmax(0, 1fr); }
  .ucx-who__media { max-width: 480px; }
  .ucx-values__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .ucx p, .ucx .ucx-lead, .ucx .ucx-hero__text, .ucx .ucx-pcard p { font-size: 16px; }
  .ucx-hero__content { padding: 150px 0 52px; }
  .ucx-crumbs { margin-bottom: 16px; }
  .ucx-who__media { padding: 0 0 20px 20px; }
  .ucx-chip { right: 8px; top: 16px; font-size: 13px; padding: 10px 14px; }
  .ucx-checks { grid-template-columns: minmax(0, 1fr); }
  .ucx-call { width: 100%; }
  .ucx-steps__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ucx-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; }
  .ucx-step__num { width: 52px; height: 52px; margin: 0; grid-row: span 2; font-size: 19px; }
  .ucx-steps__cta .uc-btn { width: 100%; justify-content: center; }
  .ucx-areas__panel { border-radius: 24px; }
  .ucx-areas__panel .uc-btn { width: 100%; justify-content: center; }
  .ucx-pcard__num { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .ucx-hero__bg, .ucx-hero__content > * { animation: none !important; }
  .ucx-vcard, .ucx-checks li, .ucx-call, .ucx-areas__list a { transition: none; }
}
