/* ServiHogar V15.1: inicio compacto, preguntas humanas y sonidos configurables. */

body.is-home-page .professional-invite-copy{
  display:block!important;
  width:100%;
  max-width:none!important;
}

body.is-home-page .professional-invite h2{
  width:100%;
  max-width:none!important;
  text-wrap:balance;
}

body.is-home-page .trust-section{
  padding-block:clamp(32px,5vw,48px);
  background:linear-gradient(145deg,#edf6ff,#fffefa 66%,#fff4eb);
}

body.is-home-page .trust-heading{
  margin-bottom:15px;
}

body.is-home-page .trust-heading h2,
body.is-home-page .faq-heading h2{
  margin:0;
  color:#123255;
  font-size:clamp(1.55rem,4.6vw,2.05rem);
  line-height:1.08;
  text-wrap:balance;
}

body.is-home-page .home-trust-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

body.is-home-page .home-trust-list li{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-width:0;
  padding:13px 14px;
  border:1px solid #cbdbea;
  border-radius:17px;
  background:rgba(255,255,255,.9);
  box-shadow:0 8px 22px rgba(16,55,94,.055);
}

body.is-home-page .home-trust-list li>span{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:13px;
  background:#e5f1ff;
  color:#0759b2;
}

body.is-home-page .home-trust-list li:nth-child(2)>span{background:#e9f6ef;color:#126447}
body.is-home-page .home-trust-list li:nth-child(3)>span{background:#fff1e6;color:#91400f}
body.is-home-page .home-trust-list li:nth-child(4)>span{background:#f1edff;color:#5846a0}
body.is-home-page .home-trust-list svg{width:21px;height:21px}
body.is-home-page .home-trust-list div{min-width:0}
body.is-home-page .home-trust-list strong{
  display:block;
  color:#123255;
  font-size:.93rem;
  line-height:1.25;
}
body.is-home-page .home-trust-list small{
  display:block;
  margin-top:2px;
  color:#536980;
  font-size:.78rem;
  line-height:1.28;
}

body.is-home-page .faq-section{
  padding-block:clamp(34px,5vw,50px);
}

body.is-home-page .faq-heading{
  margin-bottom:14px;
}

body.is-home-page .faq-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

body.is-home-page .faq-grid details{
  overflow:hidden;
  border:1px solid #cbd9e7;
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 20px rgba(16,55,94,.045);
}

body.is-home-page .faq-grid summary{
  position:relative;
  min-height:52px;
  display:flex;
  align-items:center;
  padding:13px 42px 13px 15px;
  color:#123255;
  font-size:.91rem;
  font-weight:800;
  line-height:1.28;
  cursor:pointer;
  list-style:none;
}

body.is-home-page .faq-grid summary::-webkit-details-marker{display:none}
body.is-home-page .faq-grid summary::after{
  content:"";
  position:absolute;
  right:17px;
  top:50%;
  width:8px;
  height:8px;
  border-right:2px solid #0759b2;
  border-bottom:2px solid #0759b2;
  transform:translateY(-65%) rotate(45deg);
}
body.is-home-page .faq-grid details:not([open]) summary::after{
  transform:translateY(-50%) rotate(-45deg);
}
body.is-home-page .faq-grid details[open] summary{background:#f5f9ff}
body.is-home-page .faq-grid summary:focus-visible{outline:3px solid #064aa8;outline-offset:-3px}
body.is-home-page .faq-grid details p{
  margin:0;
  padding:0 15px 14px;
  color:#536980;
  font-size:.84rem;
  line-height:1.44;
}

.account-sound-settings{
  display:grid;
  gap:14px;
}
.account-sound-settings h2{margin:4px 0;color:#123255}
.account-sound-settings p{margin:0;color:#536980}
.sound-toggle{
  width:100%;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 12px 10px 15px;
  border:1px solid #c8d8e8;
  border-radius:16px;
  background:#f7fbff;
  color:#123255;
  text-align:left;
  cursor:pointer;
}
.sound-toggle:hover{border-color:#7ea9d4;background:#edf6ff}
.sound-toggle:focus-visible{outline:3px solid #064aa8;outline-offset:3px}
.sound-toggle-copy strong,.sound-toggle-copy small{display:block}
.sound-toggle-copy strong{font-size:.95rem}
.sound-toggle-copy small{margin-top:2px;color:#536980;font-size:.76rem}
.sound-toggle-track{
  position:relative;
  flex:0 0 50px;
  width:50px;
  height:29px;
  border-radius:999px;
  background:#a9b7c5;
  box-shadow:inset 0 0 0 1px rgba(20,50,80,.12);
  transition:background-color .18s ease;
}
.sound-toggle-track span{
  position:absolute;
  top:4px;
  left:4px;
  width:21px;
  height:21px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(10,35,60,.25);
  transition:transform .18s ease;
}
.sound-toggle[aria-checked="true"] .sound-toggle-track{background:#0759b2}
.sound-toggle[aria-checked="true"] .sound-toggle-track span{transform:translateX(21px)}
.sound-toggle:disabled{cursor:not-allowed;opacity:.65}
.sound-setting-status{font-size:.76rem}

@media (max-width:599px){
  body.is-home-page .professional-invite{
    grid-template-columns:minmax(0,1fr)!important;
    padding:18px!important;
  }
  body.is-home-page .professional-invite-photos{display:none!important}
  body.is-home-page .professional-invite h2{
    font-size:clamp(1.65rem,8vw,2rem);
    line-height:1.04;
  }
  body.is-home-page .professional-invite p{font-size:.92rem;line-height:1.42}
  body.is-home-page .professional-invite-benefits{gap:6px}
  body.is-home-page .professional-invite-benefits span{font-size:.71rem}
  body.is-home-page .home-trust-list,
  body.is-home-page .faq-grid{grid-template-columns:1fr}
  body.is-home-page .trust-section,
  body.is-home-page .faq-section{padding-block:32px}
  body.is-home-page .home-trust-list li{padding:11px 12px}
}

@media (prefers-reduced-motion:reduce){
  .sound-toggle-track,.sound-toggle-track span{transition:none}
}
