/* Care review: local visual overrides. The shared Go styles and assets stay unchanged. */
body.care-page {
  --turquoise: #007f73;
  --coral: #c94537;
}

/* Keep the original palette, with text-safe shades for accented text and controls. */
body.care-page .badge-pill {
  color: #006f64;
}

body.care-page .btn-nav:hover,
body.care-page .btn-demo:hover,
body.care-page .btn-pricing-primary:hover {
  background-color: #006e63;
}

body.care-page .btn-domadoo:hover {
  background-color: #b63d30;
}

/* The real capture fills the phone: no notch, image edit, or decorative outer frame. */
body.care-page .phone-mockup-wrapper {
  padding: 2px;
  border-radius: 22px;
  background: #243244;
  box-shadow: 0 10px 22px rgba(10, 77, 140, 0.10), 0 1px 4px rgba(0, 0, 0, 0.10);
}

body.care-page .phone-mockup-wrapper [data-care-capture] {
  background: transparent;
}

body.care-page .care-capture-gallery [data-care-capture] {
  padding: 2px;
  border-radius: 22px;
  background: #243244;
  box-shadow: 0 10px 22px rgba(10, 77, 140, 0.10), 0 1px 4px rgba(0, 0, 0, 0.10);
}

body.care-page [data-care-capture] .care-capture-frame {
  border-radius: 20px;
}

body.care-page [data-care-capture] .care-capture-frame > img {
  border-radius: 20px !important;
}

/* Balance the existing explanatory card beside the taller contact illustration. */
body.care-page .care-capture-gallery .screen-card:has(> .screen-card-body:only-child) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Retain the same main action, while giving it a readable, comfortable target. */
body.care-page .hero-install .btn-primary {
  min-height: 52px;
  justify-content: center;
}

@media (max-width: 768px) {
  body.care-page header {
    min-height: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  }

  body.care-page .care-language {
    padding: 6px 16px !important;
    gap: 8px !important;
  }

  body.care-page .care-language label {
    font-size: 13px;
  }

  body.care-page .care-language select {
    min-height: 44px;
  }

  body.care-page .nav-container {
    padding: 6px 16px 8px !important;
    gap: 8px;
  }

  body.care-page .nav-container > div {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px !important;
  }

  body.care-page .nav-container > div > a:first-child {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-height: 44px;
  }

  body.care-page .brand-logo-img {
    width: 100%;
    height: 36px;
    max-width: 210px;
    object-fit: contain;
    object-position: left;
  }

  body.care-page .site-products {
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 6px;
  }

  body.care-page .site-products a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
  }

  body.care-page .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
    scrollbar-width: thin;
    scroll-padding-inline: 3px;
  }

  body.care-page .nav-links a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
  }

  body.care-page .nav-links a:focus-visible {
    outline-offset: -3px;
  }

  body.care-page .hero-install .btn-primary {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    line-height: 1.4;
  }
}

/* Keep the complete Care-to-Go label and arrow together in every locale. */
body.care-page .cross-product-banner .btn-cross-product {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  body.care-page .cross-product-banner {
    padding: 28px 12px;
  }

  body.care-page .cross-product-banner .btn-cross-product {
    padding: 12px 14px;
  }
}

/* Give the existing partner disclosure the full hardware row, with natural mobile wrapping. */
body.care-page .hardware-banner:has(> .care-partner-links) {
  row-gap: 18px;
}

body.care-page .hardware-banner > .care-partner-links {
  grid-column: 1 / -1;
  margin-top: 0 !important;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.care-page .hardware-banner > .care-partner-links a {
  white-space: nowrap;
}

@media (max-width: 900px) {
  body.care-page .hardware-banner > .care-partner-links {
    grid-row: 2;
  }

  body.care-page .hardware-banner:has(> .care-partner-links) > .hardware-image-box {
    grid-row: 3;
  }
}
