/**
 * Helper Home — Duty Hours, trust strips, Call/WhatsApp chrome
 */

:root {
  --hh-sticky-bar-h: 68px;
}

/* ---- Duty hours selector ---- */
.duty-hours-field label,
.enquiry-label {
  display: block;
}

.duty-hours-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .duty-hours-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.duty-hours-option {
  position: relative;
}

.duty-hours-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.duty-hours-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(209, 165, 92, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 253, 248, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.duty-hours-option input:checked + span,
.duty-hours-option span:hover {
  border-color: #d1a55c;
  background: rgba(209, 165, 92, 0.16);
  color: #e6b969;
}

.duty-hours-option input:focus-visible + span {
  outline: 2px solid #d1a55c;
  outline-offset: 2px;
}

/* Light forms (contact page) */
.form-light .duty-hours-option span,
#enquiryForm .duty-hours-option span {
  background: #f7f4ef;
  color: #171512;
  border-color: rgba(195, 143, 56, 0.35);
}

#enquiryForm .duty-hours-option input:checked + span,
#enquiryForm .duty-hours-option span:hover {
  background: rgba(209, 165, 92, 0.18);
  color: #9b681d;
  border-color: #c38f38;
}

/* ---- Flexible Duty Options section ---- */
.duty-options-section {
  padding: 4.5rem 0;
}

.duty-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .duty-options-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.duty-option-card {
  padding: 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(209, 165, 92, 0.28);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.duty-option-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(209, 165, 92, 0.15);
  color: #c38f38;
  margin-bottom: 0.85rem;
}

.duty-option-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #171512;
}

.duty-option-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(61, 57, 52, 0.85);
}

.duty-options-section.is-dark {
  background: #0b0b0b;
}

.duty-options-section.is-dark .duty-option-card {
  background: #121212;
  border-color: rgba(209, 165, 92, 0.3);
}

.duty-options-section.is-dark .duty-option-card h3 {
  color: #fffdf8;
}

.duty-options-section.is-dark .duty-option-card p {
  color: rgba(255, 253, 248, 0.72);
}

/* ---- Trust cards / Why Helper Home ---- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.trust-card {
  padding: 1.5rem 1.4rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(209, 165, 92, 0.25);
  background: #f7f4ef;
  min-height: 100%;
}

.trust-card__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(209, 165, 92, 0.16);
  color: #c38f38;
  margin-bottom: 0.9rem;
}

.trust-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #171512;
}

.trust-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(61, 57, 52, 0.85);
}

.trust-card .trust-duty-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #9b681d;
  font-weight: 700;
}

/* ---- Compact trust strip ---- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 165, 92, 0.28);
  background: rgba(11, 11, 11, 0.92);
  color: #fffdf8;
}

.trust-strip__item svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #e6b969;
  flex-shrink: 0;
}

.trust-strip__item span {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.trust-strip.is-light .trust-strip__item {
  background: #fff;
  color: #171512;
}

.trust-strip.is-light .trust-strip__item svg {
  color: #c38f38;
}

/* ---- Contact action buttons ---- */
.btn-call,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-call {
  background: transparent;
  color: #e6b969 !important;
  border: 1px solid rgba(230, 185, 105, 0.7);
}

.btn-call:hover {
  background: rgba(230, 185, 105, 0.12);
  color: #f0d399 !important;
}

.btn-whatsapp {
  background: #128c7e;
  color: #fff !important;
  border: 1px solid #128c7e;
}

.btn-whatsapp:hover {
  background: #0f7a6e;
  color: #fff !important;
}

.btn-call.is-hidden,
.btn-whatsapp.is-hidden,
.hh-social a.is-hidden,
.hh-social.is-empty,
a.is-hidden {
  display: none !important;
}

/* ---- Mobile sticky bar ---- */
.hh-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 10, 0.96);
  border-top: 1px solid rgba(209, 165, 92, 0.3);
  backdrop-filter: blur(10px);
}

.hh-sticky-bar a {
  flex: 1;
  min-height: 46px;
}

@media (max-width: 1023px) {
  .hh-sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: calc(var(--hh-sticky-bar-h) + env(safe-area-inset-bottom, 0px));
  }
}

/* ---- Desktop floating contact ---- */
.hh-float-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.35rem;
  z-index: 1100;
  display: none;
  flex-direction: column;
  gap: 0.55rem;
}

.hh-float-contact a {
  min-width: 118px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hh-float-contact a:hover {
  transform: translateY(-2px);
}

@media (min-width: 1024px) {
  .hh-float-contact {
    display: flex;
  }
}

/* ---- Social icons ---- */
.hh-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hh-social a:not(.footer-social-btn) {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(209, 165, 92, 0.35);
  color: #e6b969 !important;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, color 0.2s ease;
}

.hh-social a:not(.footer-social-btn):hover {
  background: rgba(209, 165, 92, 0.18);
  color: #f0d399 !important;
}

.hh-social a:not(.footer-social-btn) svg {
  width: 1rem;
  height: 1rem;
}

.replacement-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(209, 165, 92, 0.28);
  background: rgba(209, 165, 92, 0.08);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 253, 248, 0.86);
}

.replacement-note a {
  color: #e6b969 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.replacement-note.is-light {
  background: #fff8ee;
  color: #3d3934;
}

.header-call-btn {
  padding: 0.55rem 0.95rem !important;
  font-size: 0.68rem !important;
}
