/* Static Hostinger-inspired masonry showcase. All selectors are section-scoped. */
.hms-static-testimonials {
  --hms-purple: #673de6;
  --hms-gap: 12px;
  background: #fff;
  color: #111318;
  padding: 54px 24px 62px;
  overflow: hidden;
  font-family: inherit;
}
.hms-static-testimonials, .hms-static-testimonials * { box-sizing: border-box; }
.hms-static-testimonials__inner { max-width: 752px; margin: 0 auto; }
.hms-static-testimonials__header { max-width: 500px; margin: 0 auto 32px; text-align: center; }
.hms-static-testimonials__header h2 {
  max-width: 440px; margin: 0 auto 10px; color: #111318;
  font-size: clamp(25px, 3vw, 31px); line-height: 1.16;
  letter-spacing: -1.05px; font-weight: 500;
}
.hms-static-testimonials__header p { margin: 0 0 18px; color: #858994; font-size: 10px; line-height: 1.5; }
.hms-static-testimonials__button {
  min-height: 25px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px; background: var(--hms-purple); color: #fff !important;
  text-decoration: none !important; font-size: 10px; font-weight: 600; line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.hms-static-testimonials__button:hover { background: #5025d1; transform: translateY(-1px); }
.hms-static-testimonials__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--hms-gap); align-items: start; }
.hms-static-testimonials__column { display: flex; flex-direction: column; gap: var(--hms-gap); min-width: 0; }
.hms-static-card { position: relative; min-width: 0; overflow: hidden; border-radius: 9px; }
.hms-static-card--quote {
  min-height: 197px; padding: 14px 13px 12px; display: flex; flex-direction: column; justify-content: space-between;
  background: #f4f4f6;
}
.hms-static-card--quote p { margin: 0; color: #555a63; font-size: 9px; line-height: 1.55; font-weight: 400; }
.hms-static-card--quote-tall { min-height: 220px; }
.hms-static-card--quote-long { min-height: 198px; }
.hms-static-card__person { display: flex; align-items: center; gap: 7px; margin-top: 20px; min-width: 0; }
.hms-static-card__person > span:last-child { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.hms-static-card__person strong { color: #555a63; font-size: 8px; font-weight: 600; line-height: 1.25; }
.hms-static-card__person small { color: #81858e; font-size: 7px; line-height: 1.3; }
.hms-static-card__avatar { width: 21px; height: 21px; flex: 0 0 21px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #d4dce5; color: #344054; font-size: 7px; font-weight: 700; }
.hms-avatar--jarrott { background: linear-gradient(135deg,#b4c7d7,#7a8a9b); }
.hms-avatar--agata { background: linear-gradient(135deg,#bd9273,#28231f); color: #fff; }
.hms-avatar--rishi { background: linear-gradient(135deg,#d4a98e,#718b9b); }
.hms-static-card--visual { aspect-ratio: .78; background: #e9edf2; }
.hms-static-card__tag { position: absolute; z-index: 4; top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 4px 7px; border-radius: 4px; background: rgba(24,29,36,.78); color: #fff; font-size: 7px; font-weight: 600; line-height: 1; }
.hms-static-card__tag--blue { background: #075d87; }
.hms-static-card__play { position: absolute; z-index: 4; top: 8px; right: 9px; color: #fff; font-size: 11px; }
.hms-static-card__caption { position: absolute; z-index: 3; bottom: 10px; left: 9px; color: #fff; font-size: 9px; font-weight: 600; line-height: 1.2; text-shadow: 0 1px 5px #000; }

/* CSS-built website preview cards, replace these with real project screenshots later if needed. */
.hms-project-preview { position: absolute; inset: 18% 7% 7%; overflow: hidden; background: #f7f7f7; box-shadow: 0 2px 10px #0002; border-radius: 5px; }
.hms-project-preview__top { height: 8px; display: flex; align-items: center; gap: 3px; padding: 0 7px; background: #181818; }
.hms-project-preview__top span { width: 3px; height: 3px; border-radius: 50%; background: #aaa; }
.hms-project-preview__estate-photo { position: absolute; top: 12%; right: 0; width: 57%; height: 38%; background: linear-gradient(135deg,#c8d3cb 0 25%,#6b7d6b 25% 47%,#d9b78d 47% 65%,#604c3b 65%); }
.hms-project-preview__estate-copy { position: absolute; bottom: 13%; left: 8%; color: #fff; display: flex; flex-direction: column; gap: 3px; }
.hms-project-preview__estate-copy small { font-size: 6px; }
.hms-project-preview__estate-copy strong { font-size: 9px; line-height: 1.1; }
.hms-visual--estate { background: linear-gradient(145deg,#343638,#777); }
.hms-visual--portfolio { background: linear-gradient(140deg,#0b3346,#4a8299 48%,#10222b); }
.hms-project-preview--portfolio { inset: 20% -8% 7% 16%; background: #fff; transform: rotate(-2deg); }
.hms-project-preview__nav { display: flex; justify-content: space-between; align-items: center; padding: 9px 8px; color: #32363b; font-size: 5px; }
.hms-project-preview__nav b { font-size: 7px; }
.hms-project-preview__portrait { position: absolute; top: 28%; left: 12%; right: 12%; bottom: 7%; background: linear-gradient(145deg,#17191b,#35383a 45%,#101112); }
.hms-project-preview__side-text { position: absolute; top: 30%; right: 2%; writing-mode: vertical-rl; color: #e74e4e; font-size: 5px; }
.hms-visual--veterinary { background: linear-gradient(160deg,#87b8cc,#e7d3b5); }
.hms-project-preview--vet { inset: 18% 7% 7%; background: linear-gradient(#283b3c 0 14%,#d9d0bf 14% 100%); }
.hms-project-preview--vet .hms-project-preview__nav { color: #fff; }
.hms-project-preview__dog { position: absolute; top: 20%; left: -5%; width: 110%; height: 48%; background: radial-gradient(ellipse at 55% 45%,#d8b48a 0 23%,transparent 24%),linear-gradient(160deg,#9e754c,#d7bd94 50%,#493b2f); }
.hms-project-preview__title { position: absolute; left: 8%; top: 65%; color: #fff; font-size: 19px; }
.hms-project-preview__description { position: absolute; left: 8%; right: 8%; bottom: 5%; color: #fff; font-size: 5px; }
.hms-visual--booking { background: linear-gradient(145deg,#83acd3,#c9d9e9); }
.hms-project-preview--booking { inset: 18% 7% 7%; background: #f8f9f8; }
.hms-project-preview__booking-copy { position: absolute; top: 20%; left: 8%; z-index: 2; color: #222; display: flex; flex-direction: column; gap: 7px; }
.hms-project-preview__booking-copy strong { font-size: 14px; line-height: .92; letter-spacing: -1px; }
.hms-project-preview__booking-copy span { font-size: 5px; }
.hms-project-preview__booking-person { position: absolute; width: 43%; height: 66%; right: 0; bottom: 0; background: radial-gradient(ellipse at 52% 25%,#d5b7a2 0 15%,transparent 16%),linear-gradient(100deg,transparent 18%,#333b42 19% 75%,transparent 76%); }
.hms-visual--ecommerce { background: linear-gradient(145deg,#8a9a9a,#d5d7d2); }
.hms-project-preview--ecommerce { inset: 22% -8% 7% 8%; padding: 5px 10px; background: #f6f4ee; transform: rotate(-1deg); }
.hms-project-preview--ecommerce .hms-project-preview__nav { padding: 6px 0; border-bottom: 1px solid #d6d2ca; }
.hms-project-preview--ecommerce h3 { margin: 5px 0 10px; color: #d47768; font-family: Georgia,serif; font-style: italic; font-size: 10px; font-weight: 400; }
.hms-project-preview__product-list { display: flex; flex-direction: column; gap: 6px; color: #333; font-family: Georgia,serif; font-size: 8px; }
.hms-visual--restaurant { background: linear-gradient(135deg,#87aaa9,#3c6568); }
.hms-project-preview--restaurant { inset: 23% 7% 7%; background: #050707; color: #e9e9e5; padding: 12px 9px; }
.hms-project-preview__restaurant-brand { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #777; font-family: Georgia,serif; font-size: 6px; }
.hms-project-preview__restaurant-info { margin: 10px 0; font-size: 4px; }
.hms-project-preview__restaurant-images { height: 48%; display: grid; grid-template-columns: repeat(2,1fr); gap: 4px; }
.hms-project-preview__restaurant-images span { background: linear-gradient(145deg,#8d8b7a,#292a26 45%,#aaa58e); }
.hms-project-preview__restaurant-images span:first-child { grid-row: span 2; }
.hms-visual--portrait { background: #5221ba; }
.hms-portrait-art { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 38%,#9252e8 0,#5420b7 55%,#31105f 100%); }
.hms-portrait-art:before { content: ""; position: absolute; left: 14%; right: 14%; bottom: -16%; height: 65%; border-radius: 48% 48% 0 0; background: linear-gradient(90deg,#151515,#282523 50%,#0c0c0c); }
.hms-portrait-art__face { position: absolute; z-index: 1; top: 13%; left: 33%; width: 36%; height: 37%; border-radius: 45% 45% 48% 48%; background: linear-gradient(100deg,#9b6d55,#d5a486 48%,#81513e); box-shadow: 0 -12px 0 4px #211b1d; }
.hms-portrait-art__face:before { content: ""; position: absolute; top: -8%; left: -10%; width: 120%; height: 35%; border-radius: 60% 60% 15% 15%; background: #201a1c; }
.hms-portrait-art__face:after { content: ""; position: absolute; left: 22%; right: 22%; top: 48%; height: 2px; background: #3a2722; box-shadow: 12px 0 0 #3a2722; }
.hms-portrait-art--one .hms-portrait-art__face { transform: rotate(-7deg); }
.hms-portrait-art--two .hms-portrait-art__face { left: 31%; top: 12%; background: linear-gradient(100deg,#9b6b4d,#d6a27d 50%,#6d4434); }
.hms-portrait-art--two .hms-portrait-art__face:before { background: #17191c; height: 45%; top: -15%; }
.hms-portrait-art__glasses { position: absolute; z-index: 2; left: 30%; top: 31%; width: 40%; height: 8%; border-top: 2px solid #161719; border-bottom: 2px solid #161719; }
.hms-portrait-art--three { background: radial-gradient(ellipse at 50% 30%,#6e3dc9,#3c1488 65%,#210a4e); }
.hms-portrait-art--three .hms-portrait-art__face { left: 32%; top: 12%; background: linear-gradient(100deg,#c08b70,#e0b59b 48%,#9c6a54); }
.hms-portrait-art--three:before { background: linear-gradient(90deg,#252322,#51443f 50%,#1c1a1a); }
@media (max-width: 700px) {
  .hms-static-testimonials { padding: 44px 16px 48px; }
  .hms-static-testimonials__inner { max-width: 520px; }
  .hms-static-testimonials__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hms-static-testimonials__column:nth-child(n+3) { display: none; }
  .hms-static-testimonials__header { margin-bottom: 26px; }
  .hms-static-card--quote { min-height: 180px; }
}
@media (max-width: 380px) {
  .hms-static-testimonials__grid, .hms-static-testimonials__column { gap: 9px; }
  .hms-static-card--quote { padding: 11px 10px; min-height: 165px; }
  .hms-static-card--quote p { font-size: 8px; }
  .hms-desktop-break { display: none; }
}
