/* Homepage voices: standalone full-width section, independent of the home bento grid. */
.site-home .home-voices-container {
  width: 100%;
  box-sizing: border-box;
  padding-top: 0;
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}
.site-home .vt-section {
  --vt-navy: #103d65;
  --vt-ink: #183752;
  --vt-gold: #e5af12;
  --vt-muted: #526778;
  margin: 0;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  font-family: var(--font-ui, "Estedad", Tahoma, sans-serif);
  direction: rtl;
  scroll-margin-top: 7rem;
}
.site-home .vt-section,
.site-home .vt-section * { box-sizing: border-box; }
.site-home .vt-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(155deg, #f8fbff 0%, #fff 60%, #fffcf4 100%);
  border: 1px solid #e0e9f0;
  box-shadow: 0 18px 54px rgba(11, 47, 76, .09);
  padding: clamp(1rem, 2.8vw, 2rem);
}
.site-home .vt-shell::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  top: -275px;
  left: -150px;
  background: radial-gradient(circle, rgba(243, 188, 42, .13), transparent 73%);
  pointer-events: none;
}
.site-home .vt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  margin-bottom: 1.5rem;
  padding: clamp(1.4rem, 3.5vw, 2.35rem);
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(115deg, #0a2f50 0%, #104d79 58%, #0d6487 100%);
  box-shadow: 0 14px 32px rgba(8, 52, 82, .16);
}
.site-home .vt-header-copy { max-width: 760px; position: relative; z-index: 1; }
.site-home .vt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: #ffe2a1;
  margin-bottom: .55rem;
}
.site-home .vt-eyebrow-line {
  width: 26px;
  height: 2px;
  background: var(--vt-gold);
  border-radius: 5px;
}
.site-home .vt-header h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.9vw, 2.25rem);
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: -.025em;
  margin: 0;
}
.site-home .vt-header p {
  color: #dbeaf4;
  line-height: 2.05;
  font-size: .9rem;
  margin: .45rem 0 0;
  max-width: 670px;
}
.site-home .vt-header-visual {
  flex: none;
  width: 125px;
  height: 111px;
  border-radius: 27px;
  background: linear-gradient(145deg, #f8d878, #e5aa27);
  display: grid;
  justify-items: center;
  align-content: center;
  color: #0c3658;
  transform: rotate(-7deg);
  box-shadow: 0 15px 34px rgba(2, 20, 41, .24);
}
.site-home .vt-header-visual > span {
  height: 51px;
  font-family: Georgia, serif;
  font-size: 5.4rem;
  line-height: .95;
}
.site-home .vt-header-visual small {
  font-size: .62rem;
  color: #113d5a;
  font-weight: 600;
}
.site-home .vt-tabs {
  display: inline-flex;
  max-width: 100%;
  padding: .32rem;
  border-radius: 17px;
  border: 1px solid #e3e9ee;
  background: #edf3f8;
  gap: .25rem;
  margin-bottom: 1.25rem;
}
.site-home .vt-tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #506678;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.18rem;
  min-height: 48px;
  font: inherit;
  font-weight: 800;
  font-size: .86rem;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.site-home .vt-tab:hover { color: var(--vt-navy); }
.site-home .vt-tab.is-active {
  background: var(--vt-navy);
  border-color: var(--vt-navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(16, 61, 101, .18);
}
.site-home .vt-tab-badge {
  display: inline-flex;
  border-radius: 6px;
  background: rgba(16,61,101,.08);
  color: #4e6475;
  padding: .13rem .43rem;
  font-size: .68rem;
  font-weight: 700;
}
.site-home .vt-tab.is-active .vt-tab-badge {
  color: #ffe5a4;
  background: rgba(255,255,255,.12);
}
.site-home .vt-section.is-ready .vt-panel[hidden] { display: none !important; }
.site-home .vt-section:not(.is-ready) .vt-tabs,
.site-home .vt-section:not(.is-ready) .vt-panel-nav,
.site-home .vt-section:not(.is-ready) .vt-panel-bottom { display: none; }
.site-home .vt-section:not(.is-ready) .vt-panel + .vt-panel { margin-top: 2.5rem; }
.site-home .vt-section:not(.is-ready) .vt-track { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; }
.site-home .vt-section:not(.is-ready) .vt-card { scroll-snap-align: none; }
.site-home .vt-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 46px;
  margin-bottom: .8rem;
}
.site-home .vt-panel-toolbar p {
  color: #526778;
  font-size: .79rem;
  line-height: 1.8;
  margin: 0;
}
.site-home .vt-panel-nav { display: inline-flex; direction: rtl; align-items: center; gap: .6rem; flex: none; }
.site-home .vt-nav {
  appearance: none;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid #d6e4ee;
  background: linear-gradient(160deg, #fff 0%, #f4f8fc 100%);
  color: var(--vt-navy);
  box-shadow: 0 4px 12px rgba(14, 55, 87, .06);
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.site-home .vt-nav-icon { display: block; width: 19px; height: 19px; direction: ltr; }
.site-home .vt-nav:not(:disabled):hover {
  color: #fff;
  background: var(--vt-navy);
  border-color: var(--vt-navy);
  box-shadow: 0 7px 15px rgba(16, 61, 101, .16);
  transform: translateY(-1px);
}
.site-home .vt-nav:not(:disabled):active { transform: translateY(0); box-shadow: 0 2px 7px rgba(16, 61, 101, .13); }
.site-home .vt-nav:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.site-home .vt-track {
  display: flex;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1px;
  padding: .3rem 1px 1.1rem;
  scrollbar-width: none;
  direction: rtl;
}
.site-home .vt-track::-webkit-scrollbar { display: none; }
.site-home .vt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 0 0 calc((100% - 2rem)/3);
  min-height: 365px;
  border: 1px solid #dce7ef;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f9fcff 100%);
  padding: 1.5rem 1.45rem 1.2rem;
  scroll-snap-align: start;
  box-shadow: 0 9px 24px rgba(19, 51, 77, .06);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-home .vt-card:hover { border-color: #b5cfe1; box-shadow: 0 15px 38px rgba(19, 51, 77, .10); }
.site-home .vt-card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: .55rem; }
.site-home .vt-quote-glyph {
  display: block;
  height: 42px;
  color: #e4b535;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: .83;
}
.site-home .vt-card-index { font: 700 .76rem/1.5 var(--font-ui, "Estedad", Tahoma, sans-serif); color: #53687a; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.site-home .vt-quote-text {
  margin: .3rem 0 .6rem;
  padding: 0;
  border: 0;
  font-size: .93rem;
  color: #304a60;
  font-style: normal;
  font-weight: 500;
  line-height: 2.05;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.site-home .vt-section.is-ready .vt-quote-text.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.site-home .vt-expand {
  align-self: flex-start;
  margin: -.1rem 0 1.1rem;
  border: 0;
  border-bottom: 1px solid #d4e3ed;
  padding: .25rem 0 .32rem;
  color: #135582;
  background: transparent;
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.site-home .vt-expand[hidden] { display: none !important; }
.site-home .vt-expand:hover { color: #0a3456; border-bottom-color: #0a3456; }
.site-home .vt-expand-icon { display: block; width: 16px; height: 16px; flex: 0 0 16px; transition: transform .18s ease; }
.site-home .vt-expand[aria-expanded="true"] .vt-expand-icon { transform: rotate(180deg); }
.site-home .vt-card-footer {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #eef1f4;
}
.site-home .vt-avatar {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid #fff;
  outline: 1px solid #dfe7ec;
  background: linear-gradient(135deg, #dae9f3 0%, #eaf1f5 75%, #f7e4b2 100%);
  color: #1e5376;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
}
.site-home .vt-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; }
.site-home .vt-avatar img.is-loaded { opacity: 1; }
.site-home .vt-person-info { display: grid; gap: .08rem; min-width: 0; }
.site-home .vt-person-info strong { color: #163b5b; font-size: .84rem; line-height: 1.75; }
.site-home .vt-person-info small { font-size: .72rem; color: #596f80; }
.site-home .vt-card-ornament { width: 5px; height: 28px; background: linear-gradient(#f4d578,#eebc37); border-radius: 4px; margin-inline-start: auto; opacity: .76; }
.site-home .vt-panel-bottom { display: flex; align-items: center; gap: 1rem; padding-top: .2rem; }
.site-home .vt-carousel-counter { display: flex; align-items: baseline; gap: .35rem; color: #587083; direction: ltr; unicode-bidi: isolate; font: 700 .75rem/1.5 var(--font-ui, "Estedad", Tahoma, sans-serif); font-variant-numeric: tabular-nums; }
.site-home .vt-carousel-counter b { font-size: .98rem; color: var(--vt-navy); }
.site-home .vt-counter-divider { color: #53687a; }
.site-home .vt-swipe-hint { font-size: .72rem; color: #587083; }
.site-home .vt-progress { margin-inline-start: auto; width: 104px; height: 3px; border-radius: 20px; background: #e0e8ee; overflow: hidden; direction: rtl; }
.site-home .vt-progress > span { display: block; height: 100%; width: 20%; border-radius: inherit; background: #d5a72a; transition: width .2s ease; }
.site-home .vt-section :is(button, .vt-track):focus-visible {
  outline: 3px solid #e7ac19;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .site-home .vt-card { flex-basis: calc((100% - 1rem)/2); }
  .site-home .vt-header-visual { width: 90px; height: 94px; border-radius: 22px; }
  .site-home .vt-header-visual small { font-size: .52rem; }
}
@media (max-width: 650px) {
  .site-home .home-voices-container { padding-top: .8rem; padding-bottom: 2.5rem; }
  .site-home .vt-shell { border-radius: 22px; padding: 1.3rem 1rem; }
  .site-home .vt-header { gap: .7rem; margin-bottom: 1.1rem; border-radius: 17px; padding: 1.25rem 1.1rem; }
  .site-home .vt-header h2 { font-size: 1.35rem; }
  .site-home .vt-header p { font-size: .78rem; }
  .site-home .vt-header-visual { display: none; }
  .site-home .vt-tabs { display: flex; width: 100%; }
  .site-home .vt-tab { flex: 1; padding: .68rem .35rem; gap: .28rem; font-size: .79rem; }
  .site-home .vt-tab-badge { font-size: .63rem; padding-inline: .3rem; }
  .site-home .vt-panel-toolbar p { font-size: .74rem; }
  .site-home .vt-panel-nav { gap: .35rem; }
  .site-home .vt-nav { flex-basis: 44px; width: 44px; height: 44px; border-radius: 13px; }
  .site-home .vt-track { gap: .65rem; }
  .site-home .vt-card { flex-basis: 100%; }
  .site-home .vt-card { min-height: 315px; padding: 1.25rem 1.15rem 1rem; border-radius: 18px; }
  .site-home .vt-quote-text { font-size: .87rem; }
  .site-home .vt-panel-bottom { gap: .55rem; }
  .site-home .vt-swipe-hint { font-size: .65rem; }
  .site-home .vt-progress { width: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-home .vt-section *, .site-home .vt-section *::before, .site-home .vt-section *::after { transition-duration: .01ms !important; }
  .site-home .vt-track { scroll-behavior: auto; }
}

/* Narrow phones: preserve readable category buttons without horizontal page overflow. */
@media (max-width: 360px) {
  .site-home .vt-tab { white-space: normal; line-height: 1.5; flex-wrap: wrap; }
  .site-home .vt-tab-badge { flex-shrink: 0; }
  .site-home .vt-panel-toolbar { align-items: flex-start; }
  .site-home .vt-panel-toolbar p { min-width: 0; }
}

/* CMS-backed public testimonials: empty/loading states do not show stale legacy reviews. */
.site-home .vt-loading, .site-home .vt-empty {flex:1 0 100%;text-align:center;border:1px dashed #d2e2ec;border-radius:18px;background:#f7fbfd;padding:45px 15px;color:#637c90;font-size:.88rem;line-height:2}
