/* WordPress-compatible globals — no Tailwind build step required. Utilities come from Tailwind CDN. */

:root {
  --color-surface: #F5F4F8;
  --color-surface-dim: #e3d5ee;
  --color-surface-container-low: #faf0ff;
  --color-surface-container: #f6e9ff;
  --color-surface-container-high: #f1e3fd;
  --color-surface-container-highest: #ecddf7;
  --color-on-surface: #20182a;
  --color-on-surface-variant: #5a4043;
  --color-inverse-surface: #362d40;
  --color-inverse-on-surface: #f8edff;
  --color-primary: #900034;
  --color-primary-container: #bc0047;
  --color-on-primary: #ffffff;
  --color-primary-fixed: #ffd9dd;
  --color-primary-fixed-dim: #ffb2bc;
  --color-brand-pink: #E6175C;
  --color-secondary: #006972;
  --color-secondary-container: #68efff;
  --color-secondary-fixed: #8bf2ff;
  --color-on-secondary: #ffffff;
  --color-tertiary: #623f00;
  --color-tertiary-fixed: #ffddb4;
  --color-on-tertiary: #ffffff;
  --color-error: #ba1a1a;
  --color-outline: #8e6f73;
  --color-outline-variant: #e3bdc1;
  --color-dark-ink: #1C1426;
  --color-verified-green: #239B47;
  --color-star-amber: #FFB800;
  --color-ink-500: #7A7385;
  --color-teal-bright: #19BCCB;
  --color-chip-bg: #FFF1F6;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  font-family: var(--font-sans);
}

::selection {
  background-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

@keyframes coverage-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 23, 92, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(230, 23, 92, 0); }
}

.coverage-leaflet-map .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.85) !important;
  border-radius: 6px 0 0 0;
  padding: 2px 6px;
  margin: 0;
}

.coverage-pin-icon {
  background: transparent !important;
  border: none !important;
}

.coverage-pin {
  border-radius: 9999px;
  background: color-mix(in srgb, var(--color-brand-pink) 75%, white);
  box-shadow: 0 2px 8px rgba(28, 20, 38, 0.18);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.coverage-pin.is-focused {
  background: var(--color-brand-pink);
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(230, 23, 92, 0.25), 0 2px 10px rgba(28, 20, 38, 0.22);
}

.coverage-pin.is-dimmed { opacity: 0.45; }

.coverage-pin.is-pulse.is-focused {
  animation: coverage-pulse 2.8s ease-out infinite;
}

/* Hero process — timeline synced to trust loop video */
.hero-process-section {
  isolation: isolate;
}

.hero-process-ambient {
  background:
    radial-gradient(circle at 8% 20%, rgba(230, 23, 92, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 92% 80%, rgba(35, 155, 71, 0.06) 0%, transparent 36%);
}

.hero-process-inner {
  background: linear-gradient(160deg, #fff 0%, #faf6f1 100%);
}

.hero-process-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hero-process-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
  }
}

.hero-process-mobile-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(236, 234, 241, 0.9);
}

.hero-process-mobile-pill {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  color: #5a4043;
  background: rgba(245, 244, 248, 0.8);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-process-mobile-pill.is-active {
  background: #fff1f6;
  color: #e6175c;
}

.hero-process-mobile-pill.is-done {
  color: #239b47;
}

.hero-process-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}

@media (min-width: 768px) {
  .hero-process-timeline {
    padding: 1.5rem 1.25rem 1.5rem 1.75rem;
    border-right: 1px solid rgba(236, 234, 241, 0.9);
    min-height: 100%;
  }
}

.hero-process-rail {
  position: absolute;
  left: 2.05rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 2px;
  background: rgba(28, 20, 38, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.hero-process-rail-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #e6175c, #239b47);
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

.hero-process-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  opacity: 0.45;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-process-step.is-active {
  opacity: 1;
}

.hero-process-step.is-done {
  opacity: 0.72;
}

.hero-process-node {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #eceaf1;
  color: #5a4043;
  box-shadow: 0 8px 20px rgba(28, 20, 38, 0.06);
  transition:
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-process-step.is-active .hero-process-node {
  border-color: rgba(230, 23, 92, 0.35);
  color: #e6175c;
  box-shadow: 0 0 0 4px rgba(230, 23, 92, 0.12), 0 10px 24px rgba(28, 20, 38, 0.08);
  transform: scale(1.06);
}

.hero-process-step.is-done .hero-process-node {
  border-color: rgba(35, 155, 71, 0.35);
  color: #239b47;
  background: #f3fbf6;
}

.hero-process-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #1c1426;
}

.hero-process-desc {
  margin-top: 0.25rem;
  font-size: 13px;
  line-height: 1.45;
  color: #5a4043;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-process-step:not(.is-active) .hero-process-desc {
  opacity: 0.55;
}

.hero-process-video-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf6f1;
  min-height: 220px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-process-video-wrap {
    min-height: 100%;
    align-self: stretch;
  }
}

.hero-process-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #faf6f1;
}

.hero-process-copy > * {
  animation: hero-fade-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-process-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-process-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-process-copy > *:nth-child(3) { animation-delay: 0.19s; }
.hero-process-copy > *:nth-child(4) { animation-delay: 0.26s; }
.hero-process-copy > *:nth-child(5) { animation-delay: 0.33s; }

[data-hero-process] {
  animation: hero-stage-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-stage-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-process-copy > *,
  [data-hero-process] {
    animation: none;
  }

  .hero-process-video {
    display: none;
  }

  .hero-process-video-wrap {
    background-image: var(--hero-trust-poster, none);
    background-size: cover;
    background-position: center;
    min-height: 260px;
  }

  .hero-process-rail-fill {
    display: none;
  }
}

.double-bezel {
  border: 1px solid #ECEAF1;
  border-radius: 22px;
  padding: 4px;
}

.double-bezel-inner {
  background: white;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(28, 20, 38, 0.08);
  padding: 24px;
}

.double-bezel-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.double-bezel:hover .double-bezel-lift,
.double-bezel-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28, 20, 38, 0.12);
}

.floating-slab {
  background: var(--color-dark-ink);
  border-radius: 40px;
  margin-left: 20px;
  margin-right: 20px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
}

/* Worker registration questionnaire */
.worker-registration-page {
  max-width: 1280px;
  margin-inline: auto;
  padding: 3rem 1.25rem;
}

@media (min-width: 768px) {
  .worker-registration-page {
    padding-inline: 1.5rem;
  }
}

.worker-registration-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .worker-registration-layout {
    grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
    align-items: start;
  }
}

.worker-registration-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.worker-form-card .double-bezel-inner {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .worker-form-card .double-bezel-inner {
    padding: 2.5rem 3rem;
  }
}

.worker-form-section + .worker-form-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(227, 189, 193, 0.35);
}

.worker-form-section__title {
  font-family: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: #20182a;
}

.worker-field + .worker-field {
  margin-top: 1.25rem;
}

.worker-field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #20182a;
}

.worker-field__hint {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5a4043;
  margin: -0.125rem 0 0.5rem;
}

.worker-form-input {
  width: 100%;
  border: 1px solid rgba(227, 189, 193, 0.5);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #20182a;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.worker-form-input:focus {
  outline: none;
  border-color: #006972;
  box-shadow: 0 0 0 2px rgba(0, 105, 114, 0.18);
}

.worker-form-input[type='date'] {
  max-width: 18rem;
}

.worker-yes-no {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.worker-yes-no__option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid rgba(227, 189, 193, 0.65);
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: #20182a;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.worker-yes-no__option:has(input:checked) {
  border-color: #E6175C;
  background: #FFF1F6;
}

.worker-yes-no__option input {
  accent-color: #E6175C;
}

.worker-choices--stack {
  flex-direction: column;
  align-items: stretch;
}

.worker-choices--stack .worker-yes-no__option {
  width: 100%;
  justify-content: flex-start;
}

.worker-registration-aside {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .worker-registration-aside {
    position: sticky;
    top: 6rem;
  }
}

.worker-registration-aside .double-bezel-inner {
  padding: 1.25rem 1.5rem;
}

.worker-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.worker-aside-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5a4043;
}

.worker-aside-list__item .material-symbols-outlined {
  flex-shrink: 0;
  margin-top: 0.0625rem;
  font-size: 1.125rem;
  color: #900034;
}

.worker-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.worker-whatsapp-btn:hover {
  opacity: 0.95;
  color: #fff;
}

.worker-whatsapp-btn:active {
  transform: scale(0.98);
}

.worker-whatsapp-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* Form success modal */
.mynanny-form-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mynanny-form-modal[hidden] {
  display: none;
}

.mynanny-form-modal.is-open {
  animation: mynanny-modal-fade-in 0.25s ease;
}

.mynanny-form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 38, 0.55);
  backdrop-filter: blur(4px);
}

.mynanny-form-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  animation: mynanny-modal-rise 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mynanny-form-modal__inner {
  position: relative;
  padding: 32px 28px 28px;
}

.mynanny-form-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-500, #7A7385);
  transition: background 0.2s ease, color 0.2s ease;
}

.mynanny-form-modal__close:hover {
  background: #f6e9ff;
  color: var(--color-dark-ink);
}

@keyframes mynanny-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mynanny-modal-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.mynanny-modal-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .floating-slab {
    margin-left: 24px;
    margin-right: 24px;
    max-width: calc(100vw - 48px);
  }
}

@media (min-width: 1328px) {
  .floating-slab {
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
  }
}

.plum-shadow {
  box-shadow: 0 12px 32px rgba(28, 20, 38, 0.08);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.faq-item .faq-answer {
  margin-top: 0.25rem;
}

.app-store-badges {
  align-items: center;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 155px;
  height: 52px;
  flex-shrink: 0;
}

.app-store-badge img,
.app-store-badge .badge-apple,
.app-store-badge .badge-google {
  display: block;
  width: 155px;
  height: 52px;
  max-width: 155px;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
}

/* Theme provides a single WhatsApp FAB — hide common duplicate chat plugins */
.joinchat,
.joinchat__button,
.ht-ctc-chat,
#click-to-chat-app,
.ccw_plugin,
.whatshelp-button,
.wa-chat-box,
#wa-widget-send-button {
  display: none !important;
}
