/* KIN & KEY - V25 public layout refinements. Loaded after the existing site styles.
   Scoped to the Home service wheel and public footer/contact elements.
   No changes to customer/vendor/admin dashboards, payments or subscriptions. */

/* The illustrated, five-card orbital layout follows the original circular HELP concept. */
.kk25-wheel .kk20-wheel-grid {
  position:relative;
  isolation:isolate;
  width:100%;
  max-width:1120px;
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,280px) minmax(0,1fr);
  grid-template-rows:171px 242px 171px;
  grid-template-areas:
    "kin . key"
    "medical help home"
    ". travel .";
  align-items:center;
  justify-items:center;
  gap:6px 37px;
}
.kk25-wheel .kk20-wheel-grid::before {
  content:"";
  position:absolute;
  top:50%;left:50%;
  width:435px;height:435px;
  max-width:90%;
  transform:translate(-50%,-50%);
  border:1.5px solid #dfbc7c;
  border-radius:50%;
  background:radial-gradient(circle at center,rgba(255,255,255,.50) 0%,rgba(250,239,215,.13) 58%,transparent 72%);
  pointer-events:none;
  z-index:-1;
}
.kk25-wheel .kk20-wheel-card,
.kk25-wheel .kk20-wheel-card:nth-child(6) {
  width:min(100%,267px);
  min-height:0;
  height:162px;
  padding:8px;
  gap:5px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  justify-self:center;
  position:relative;
  border-radius:15px;
  border:1px solid #d9e5da;
  background:#fff;
  box-shadow:0 3px 0 #e3e7dc,0 10px 27px rgba(8,49,34,.10);
  box-sizing:border-box;
  text-decoration:none;
  transform:none;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  z-index:1;
}
.kk25-wheel .kk20-wheel-card:hover,
.kk25-wheel .kk20-wheel-card:focus-visible {
  transform:translateY(-4px);
  box-shadow:0 4px 0 #e3e7dc,0 16px 34px rgba(8,49,34,.16);
  border-color:#afd0b6;
}
.kk25-wheel .kk20-wheel-card img {
  width:100%;height:76px;
  display:block;
  flex:none;
  object-fit:cover;
  object-position:center;
  border-radius:10px;
}
.kk25-wheel .kk20-wheel-copy {
  display:flex;
  flex:1;
  flex-direction:column;
  gap:2px;
  padding:1px 26px 0 2px;
  min-width:0;
}
.kk25-wheel .kk20-wheel-copy strong {
  margin:0;
  font-size:14px;
  line-height:1.2;
  font-weight:800;
  color:#0c4533;
}
.kk25-wheel .kk20-wheel-copy small {
  margin:0;
  font-size:10px;
  line-height:1.3;
  color:#5a7266;
}
.kk25-wheel .kk20-small-pill {
  padding:3px 7px;
  font-size:9px;
  border-radius:12px;
  line-height:1.15;
  margin-top:2px;
}
.kk25-wheel .kk20-arrow {
  position:absolute;
  right:10px;
  bottom:11px;
  display:grid;
  place-items:center;
  width:23px;height:23px;
  border-radius:50%;
  font-size:17px;
  line-height:1;
  background:#eaf5e9;
  color:#12623f;
}
.kk25-wheel .kk20-kin {grid-area:kin; margin-left:112px;}
.kk25-wheel .kk20-key {grid-area:key; margin-right:112px;}
.kk25-wheel .kk20-wheel-card:nth-child(3) {grid-area:medical;}
.kk25-wheel .kk20-wheel-card:nth-child(5) {grid-area:home;}
.kk25-wheel .kk20-wheel-card:nth-child(6) {grid-area:travel;}
.kk25-wheel .kk20-wheel-center {
  grid-area:help;
  justify-self:center;align-self:center;
  width:248px;height:248px;
  min-height:0;
  box-sizing:border-box;
  padding:26px 14px;
  gap:11px;
  border:9px solid #ebd6a0;
  border-radius:50%;
  background:radial-gradient(circle at 47% 38%,#185b44,#063927 72%);
  box-shadow:0 0 0 6px #fdfbf5,0 0 0 7px #d8ae6c,0 16px 34px rgba(9,58,41,.16);
  color:#fff;
  z-index:2;
}
.kk25-wheel .kk20-wheel-center-label {font-size:12px;letter-spacing:.12em;color:#e6d9b1;}
.kk25-wheel .kk20-wheel-center strong {font-size:clamp(2.5rem,4vw,3.4rem);letter-spacing:.025em;line-height:1.06;}
.kk25-wheel .kk20-wheel-center>a {color:#fff3b8;background:transparent;border:0;padding:4px 7px;font-size:12px;}
.kk25-wheel .kk20-wheel-center>a:hover,.kk25-wheel .kk20-wheel-center>a:focus-visible {color:white;text-decoration:underline;background:transparent;}

/* Updated floating actions: WhatsApp + email only; original call button removed in PHP. */
.kk20-floating-actions .kk20-floating-mail {background:#e6b14f;color:#083e2d;}
.kk20-floating-actions .kk20-floating-mail:hover {background:#f2c369;color:#063a2c;}
.kk20-floating-actions .kk20-floating-mail:focus-visible {outline:3px solid #073e2d;outline-offset:3px;}

/* Footer official Facebook and Instagram icons; no enquiry button. */
.footer .footer-social {display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;align-items:center;}
.footer .footer-social a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:auto;
  height:auto;
  min-height:43px;
  padding:9px 12px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.23);
  color:#f9fbf5;
  border-radius:10px;
  font-weight:600;
  font-size:13px;
  line-height:1.2;
  text-decoration:none;
  transition:background .2s ease,border-color .2s ease;
}
.footer .footer-social a:hover,.footer .footer-social a:focus-visible {background:rgba(255,255,255,.19);border-color:#e6c278;color:#fff;}
.footer .footer-social svg {width:19px;height:19px;display:block;flex:none;}
.footer .footer-social a[title="Instagram"] svg {fill:none;stroke:currentColor;stroke-width:1.9;}
.footer .footer-social a[title="Facebook"] svg {fill:currentColor;stroke:none;}

@media (max-width:1060px) {
  .kk25-wheel .kk20-wheel-grid {gap:10px 15px;grid-template-columns:minmax(0,1fr) 250px minmax(0,1fr);}
  .kk25-wheel .kk20-kin {margin-left:65px;}
  .kk25-wheel .kk20-key {margin-right:65px;}
  .kk25-wheel .kk20-wheel-card,.kk25-wheel .kk20-wheel-card:nth-child(6) {width:min(100%,245px);}
}
@media (max-width:850px) {
  .kk25-wheel .kk20-wheel-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:none;
    grid-template-areas:"help help" "kin key" "medical home" "travel travel";
    gap:18px;
  }
  .kk25-wheel .kk20-wheel-grid::before {display:none;}
  .kk25-wheel .kk20-kin,.kk25-wheel .kk20-key {margin:0;}
  .kk25-wheel .kk20-wheel-center {width:225px;height:225px;margin:4px auto 22px;}
  .kk25-wheel .kk20-wheel-card,.kk25-wheel .kk20-wheel-card:nth-child(6) {width:100%;max-width:320px;height:166px;}
  .kk25-wheel .kk20-wheel-card:nth-child(6) {width:min(100%,320px);}
}
@media (max-width:580px) {
  .kk25-wheel .kk20-wheel-grid {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"help" "kin" "key" "medical" "home" "travel";
    gap:14px;
  }
  .kk25-wheel .kk20-wheel-center {width:206px;height:206px;margin:8px auto 16px;}
  .kk25-wheel .kk20-wheel-center strong {font-size:2.7rem;}
  .kk25-wheel .kk20-wheel-card,.kk25-wheel .kk20-wheel-card:nth-child(6) {
    width:100%;max-width:520px;height:auto;min-height:118px;
    flex-direction:row;align-items:center;gap:12px;padding:9px;
  }
  .kk25-wheel .kk20-wheel-card img {width:118px;height:98px;flex:none;border-radius:10px;}
  .kk25-wheel .kk20-wheel-copy {padding:0 16px 0 0;gap:5px;justify-content:center;}
  .kk25-wheel .kk20-wheel-copy strong {font-size:16px;}
  .kk25-wheel .kk20-wheel-copy small {font-size:11px;}
  .kk25-wheel .kk20-small-pill {font-size:9px;}
  .kk25-wheel .kk20-arrow {bottom:11px;right:11px;}
  .footer .footer-social a {padding:10px 12px;}
}
@media (max-width:360px) {
  .kk25-wheel .kk20-wheel-card img {width:95px;height:92px;}
  .kk25-wheel .kk20-wheel-copy strong {font-size:14px;}
}
@media (prefers-reduced-motion:reduce) {
  .kk25-wheel .kk20-wheel-card,.footer .footer-social a {transition:none;}
}
