/* HOME - Prototype Match (tokens + typography + components) */

/* Fonts: prototype uses Manrope for headings, Inter for body */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@600;700&display=swap");

/* ========================
   Design Tokens (from prototype)
   ======================== */
:root{
  --ink-900:#111827;
  --ink-700:#374151;
  --muted-500:#6B7280;
  --border-200:#E5E7EB;
  --surface:#FFFFFF;
  --subsurface:#F6F8FB;
  --accent-600:#2563EB;
  --accent-700:#1D4ED8;

  --shadow-card:0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-card-hover:0 12px 32px rgba(17, 24, 39, 0.10);
}

/* ========================
   Base
   ======================== */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background:var(--surface);
  color:var(--ink-900);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:24px;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{ text-decoration:none; color:inherit; }
a:visited{ color:inherit; } /* hotfixed for CTAs below */

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* Focus styles (prototype intent) */
*:focus-visible{
  outline:2px solid var(--accent-600);
  outline-offset:2px;
  border-radius:8px;
}

/* ========================
   Typography (from prototype)
   DO NOT override with random sizes
   ======================== */
h1{
  font-family:"Manrope",sans-serif;
  font-weight:700;
  font-size:44px;
  line-height:56px;
  letter-spacing:-0.02em;
  margin:0;
}
h2{
  font-family:"Manrope",sans-serif;
  font-weight:700;
  font-size:36px;
  line-height:44px;
  letter-spacing:-0.01em;
  margin:0;
}
h3{
  font-family:"Manrope",sans-serif;
  font-weight:600;
  font-size:28px;
  line-height:36px;
  margin:0;
}
h4{
  font-family:"Manrope",sans-serif;
  font-weight:600;
  font-size:16px;
  line-height:24px;
  margin:0;
}
small{
  font-size:14px;
  line-height:20px;
}

/* Tablet */
@media (max-width:1024px) and (min-width:768px){
  h1{ font-size:36px; line-height:44px; }
  h2{ font-size:30px; line-height:38px; }
  h3{ font-size:24px; line-height:32px; }
}
/* Mobile */
@media (max-width:430px){
  h1{ font-size:30px; line-height:40px; }
  h2{ font-size:26px; line-height:34px; }
  h3{ font-size:22px; line-height:30px; }
  h4{ font-size:18px; line-height:26px; }
}

/* ========================
   Header / Navbar (match prototype)
   ======================== */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--surface);
  border-bottom:1px solid var(--border-200);
}

.header-inner{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.site-brand{
  display:flex;
  align-items:center;
  gap:16px;
  transition:opacity .15s ease;
}
.site-brand:hover{ opacity:.85; }

.brand-text{
  font-family:"Manrope",sans-serif;
  font-weight:700;
  font-size:18px;
  line-height:24px;
  color:var(--ink-900);
}

.site-nav{
  display:flex;
  align-items:center;
  gap:22px;
}

.nav-link{
  position:relative;
  padding:8px 0;
  transition:color .15s ease;
  font-size:16px;
  font-weight:500;
  line-height:24px;
  letter-spacing:0.2px;
  color:#0B1220;
}

/* hover underline (subtle like prototype) */
.nav-link::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:2px;
  width:24px;
  height:2px;
  background:transparent;
  border-radius:999px;
  transition:background .15s ease;
}
.nav-link:hover::after{ background:rgba(26,76,224,0.30); }

.nav-link.is-active{
  color:#1A4CE0;
}
.nav-link.is-active::after{
  background:#1A4CE0;
}

/* Header CTA (exact metrics from prototype) */
.btn.btn-header{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 20px;
  border-radius:12px;
  font-size:16px;
  font-weight:500;
  line-height:24px;
  background:#1A4CE0;
  color:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  transition:background .15s ease, box-shadow .15s ease;
}
.btn.btn-header:hover{
  background:#1742C7;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
}

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px;
  border-radius:10px;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--ink-900);
  margin:5px 0;
  border-radius:2px;
}

/* ========================
   Mobile Drawer (prototype behavior)
   ======================== */
.mobile-nav{
  position:fixed;
  inset:0;
  background:rgba(17,24,39,0.35);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
  z-index:99;
}
.mobile-nav.open{
  opacity:1;
  pointer-events:auto;
}
.mobile-panel{
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width:min(360px, 90vw);
  background:var(--surface);
  border-left:1px solid var(--border-200);
  padding:18px;
  transform:translateX(100%);
  transition:transform .18s ease;
}
.mobile-nav.open .mobile-panel{ transform:translateX(0); }

.mobile-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:10px;
}
.m-link{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  font-weight:500;
  color:var(--ink-700);
}
.m-link:hover{ background:var(--subsurface); }
.m-link.is-active{
  background:var(--subsurface);
  color:var(--accent-600);
}

.btn.btn-mobile{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  height:48px;
  border-radius:12px;
  background:var(--accent-600);
  color:#fff;
  font-weight:600;
}

/* ========================
   Hero (pattern bg + white overlay like prototype)
   ======================== */
.hero{
  position:relative;
  padding:72px 0 64px;
  background:var(--subsurface);
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:url("../assets/bg.png") center/cover no-repeat;
}

/* White gradient overlay for contrast */
.hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0.86) 0%,
    rgba(255,255,255,0.78) 40%,
    rgba(255,255,255,0.86) 100%
  );
}

/* Content */
.hero-inner{
  position:relative;
  text-align:center;
  max-width:880px;
  margin:0 auto;
}

.hero-sub{
  margin:12px auto 0;
  max-width:880px;
  color:var(--ink-700);
  font-size:16px;
  line-height:24px;
  font-weight:400;
}
.hero-sub strong{ font-weight:600; }

/* hero bullets */
.hero-bullets{
  margin:16px auto 0;
  padding:0;
  list-style:none;
  max-width:760px;
  display:grid;
  gap:10px;
  text-align:left;
}
.hero-bullets li{
  position:relative;
  padding-left:18px;
  color:var(--ink-700);
  font-size:15px;
  line-height:22px;
  font-weight:500;
}
.hero-bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:6px;
  height:6px;
  border-radius:999px;
  background:var(--accent-600);
}

/* CTAs */
.hero-actions{
  margin-top:16px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* Primary/Secondary buttons */
.btn-primary-hero{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 22px;
  border-radius:12px;
  background:var(--accent-600);
  color:#fff;
  font-weight:600;
  font-size:16px;
  line-height:24px;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}
.btn-primary-hero:hover{ background:var(--accent-700); }

.btn-secondary-hero{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 18px;
  border-radius:12px;
  background:var(--surface);
  border:1px solid var(--border-200);
  color:var(--ink-900);
  font-weight:600;
  font-size:16px;
  line-height:24px;
}
.btn-secondary-hero:hover{ background:var(--subsurface); }

/* Mobile hero background */
@media (max-width:430px){
  .hero{ padding:48px 0 44px; }
  .hero-bg{ background:url("../assets/bgm.png") center/cover no-repeat; }
  .hero-bullets{ text-align:left; }
}

/* ========================
   Trust strip
   ======================== */
.trust-strip{
  background:var(--surface);
  border-top:1px solid var(--border-200);
  border-bottom:1px solid var(--border-200);
  padding:18px 0;
}
.trust-inner{
  max-width:980px;
  margin:0 auto;
  text-align:center;
}
.trust-title{
  font-family:"Manrope",sans-serif;
  font-weight:700;
  font-size:16px;
  line-height:24px;
  color:var(--ink-900);
}
.trust-points{
  margin:12px auto 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px 18px;
  max-width:980px;
}
.trust-points li{
  position:relative;
  padding-left:18px;
  color:var(--ink-700);
  font-size:14px;
  line-height:20px;
  font-weight:500;
  text-align:left;
  max-width:320px;
}
.trust-points li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:6px;
  height:6px;
  border-radius:999px;
  background:var(--accent-600);
}
@media (max-width:1024px){
  .trust-points li{ max-width:unset; width:min(520px, 100%); }
}

/* ========================
   Fixed-Scope Sprints (Services)
   ======================== */
.fixed-scope{
  padding:56px 0 72px;
  background:var(--surface);
}

.fixed-title{
  text-align:center;
}
.fixed-sub{
  margin:10px auto 28px;
  max-width:880px;
  text-align:center;
  color:var(--ink-700);
  font-size:16px;
  line-height:24px;
}

/* grid */
.sprint-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

/* card */
.sprint-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--border-200);
  border-radius:16px;
  background:var(--surface);
  box-shadow:var(--shadow-card);
  padding:18px 18px 14px;
  display:flex;
  flex-direction:column;
  min-height:420px;
  transition:box-shadow .18s ease, transform .18s ease;
}

/* Background image layer */
.sprint-card::before{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:1;
  z-index:0;
}
/* White overlay for readability */
.sprint-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.90);
  z-index:1;
}

/* assign images */
.sprint-card--scan::before{ background-image:url("../assets/Scan-to-CAD Lite.png"); }
.sprint-card--enclosure::before{ background-image:url("../assets/Device Enclosure.png"); }
.sprint-card--concept::before{ background-image:url("../assets/Concept-to-Prototype Sprint.png"); }

/* raise content above overlays */
.sprint-card > *{ position:relative; z-index:2; }

.sprint-card:hover{
  box-shadow:var(--shadow-card-hover);
  transform:translateY(-2px);
}

/* Title spec */
.sprint-card h3{
  font-family:"Manrope",sans-serif;
  font-weight:600;
  font-size:22px;
  line-height:30px;
  margin:0;
}

/* Summary spec */
.sprint-card p{
  margin:8px 0 0;
  color:var(--ink-700);
  font-size:16px;
  line-height:24px;
}

/* Bullets */
.sprint-card ul{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:grid;
  gap:8px;
}
.sprint-card li{
  position:relative;
  padding-left:18px;
  color:var(--ink-700);
  font-size:14px;
  line-height:20px;
}
.sprint-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:6px;
  height:6px;
  border-radius:999px;
  background:var(--accent-600);
}

/* Spacer to push footer down */
.sprint-card .card-footer{ margin-top:auto; }

/* Footer */
.card-footer{
  height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* Price pill */
.price{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  padding:0 14px;
  border-radius:999px;
  background:var(--subsurface);
  border:1px solid var(--border-200);
  color:var(--ink-900);
  font-size:14px;
  line-height:20px;
  font-weight:500;
}

/* CTA link */
.card-link{
  color:var(--accent-600);
  font-size:16px;
  line-height:24px;
  font-weight:600;
}
.card-link:hover{
  text-decoration:underline;
}

/* View All Services link */
.view-all{
  margin-top:18px;
  text-align:center;
}
.view-all-link{
  color:var(--accent-600);
  font-weight:500;
}
.view-all-link:hover{ color:var(--accent-700); }

/* Responsive grid */
@media (max-width:1024px){
  .sprint-grid{ grid-template-columns:1fr; }
  .sprint-card{ min-height:auto; }
}

/* ========================
   Engineering Deliverables
   ======================== */
.deliverables{
  padding:56px 0 64px;
  background:var(--surface);
  border-top:1px solid var(--border-200);
}
.deliverables-title{
  text-align:center;
}
.deliverables-list{
  margin:18px auto 0;
  padding:0;
  list-style:none;
  max-width:820px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 18px;
}
.deliverables-list li{
  position:relative;
  padding-left:18px;
  color:var(--ink-700);
  font-size:14px;
  line-height:20px;
  font-weight:500;
}
.deliverables-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:6px;
  height:6px;
  border-radius:999px;
  background:var(--accent-600);
}
@media (max-width:768px){
  .deliverables-list{ grid-template-columns:1fr; }
}

/* ========================
   Featured Engineering Work
   ======================== */
.featured-work{
  padding:56px 0 72px;
  background:var(--subsurface);
  border-top:1px solid var(--border-200);
}
.fw-title{
  text-align:center;
}
.fw-sub{
  margin:10px auto 28px;
  max-width:880px;
  text-align:center;
  color:var(--ink-700);
  font-size:16px;
  line-height:24px;
}
.fw-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.fw-card{
  border:1px solid var(--border-200);
  border-radius:16px;
  background:var(--surface);
  box-shadow:var(--shadow-card);
  padding:16px;
  display:flex;
  flex-direction:column;
  min-height:220px;
}
.fw-card p{
  margin:8px 0 0;
  color:var(--ink-700);
  font-size:14px;
  line-height:20px;
}
.fw-meta{
  margin-top:10px;
  color:var(--muted-500);
  font-size:13px;
  line-height:18px;
  font-weight:600;
}
.fw-link{
  margin-top:auto;
  display:inline-flex;
  gap:6px;
  align-items:center;
  color:var(--accent-600);
  font-weight:600;
  font-size:14px;
  line-height:20px;
  padding-top:12px;
}
.fw-link:hover{ text-decoration:underline; }

@media (max-width:1024px){
  .fw-grid{ grid-template-columns:1fr; }
  .fw-card{ min-height:auto; }
}

/* ========================
   How We Work
   ======================== */
.how-we-work{
  padding:44px 0 72px;
  background:var(--surface);
}

.hww-title{ text-align:center; }
.hww-subtitle{
  margin:10px auto 28px;
  max-width:880px;
  text-align:center;
  color:var(--ink-700);
  font-size:16px;
  line-height:24px;
}

.hww-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.hww-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px;
  border-radius:16px;
  border:1px solid var(--border-200);
  background:var(--subsurface);
}

.hww-icon{
  width:36px;
  height:36px;
  border-radius:12px;
  background:var(--surface);
  border:1px solid var(--border-200);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.hww-icon img{
  width:18px;
  height:18px;
  opacity:0.9;
}

.hww-content h4{
  font-family:"Manrope",sans-serif;
  font-weight:600;
  font-size:16px;
  line-height:24px;
  margin:0;
}
.hww-content p{
  margin:6px 0 0;
  color:var(--ink-700);
  font-size:14px;
  line-height:20px;
}

@media (max-width:1024px){
  .hww-grid{ grid-template-columns:1fr; }
}

/* ========================
   Industries
   ======================== */
.industries{
  padding:44px 0 64px;
  background:var(--surface);
  border-top:1px solid var(--border-200);
}
.industries-title{
  text-align:center;
}
.industries-list{
  margin:16px auto 0;
  padding:0;
  list-style:none;
  max-width:880px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}
.industries-list li{
  display:inline-flex;
  align-items:center;
  height:34px;
  padding:0 14px;
  border-radius:999px;
  background:var(--subsurface);
  border:1px solid var(--border-200);
  color:var(--ink-700);
  font-size:14px;
  line-height:20px;
  font-weight:600;
}

/* ========================
   Testimonials
   ======================== */
.testimonials{
  padding:56px 0 28px;
  background:var(--surface);
}

.testimonials h2{
  text-align:center;
  margin:0;
}

.testimonial-wrapper{
  margin:22px auto 0;
  max-width:1128px;
  overflow:hidden;
  padding:0 0;
}

.testimonial-track{
  display:flex;
  gap:24px;
  transition:transform 260ms ease;
}

.testimonial-card{
  width:360px;
  height:216px;
  border-radius:16px;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  border:1px solid var(--border-200);
  box-shadow:var(--shadow-card);
  position:relative;
  flex:0 0 auto;
}

.testimonial-overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:14px 14px 12px;
  background:linear-gradient(to top, rgba(17,24,39,0.78), rgba(17,24,39,0));
  color:#fff;
}

.testimonial-overlay h4{
  margin:0 0 6px;
  font-family:"Manrope",sans-serif;
  font-weight:600;
  font-size:14px;
  line-height:20px;
}
.testimonial-overlay p{
  margin:0;
  font-size:14px;
  line-height:20px;
  opacity:0.95;
}

/* dots */
.testimonial-dots{
  margin-top:12px;
  display:flex;
  justify-content:center;
  gap:10px;
}
.testimonial-dots span{
  width:5px;
  height:5px;
  border-radius:999px;
  background:#CBD5E1;
  cursor:pointer;
}
.testimonial-dots span.active{
  background:var(--accent-600);
}

/* ========================
   Final CTA
   ======================== */
.cta-section{
  padding:44px 0 72px;
  background:var(--subsurface);
  border-top:1px solid var(--border-200);
}

.cta-container{
  max-width:720px;
  margin:0 auto;
  text-align:center;
  padding:0 24px;
}

.cta-title{ margin:0; }
.cta-subtitle{
  margin:10px auto 18px;
  color:var(--ink-700);
  font-size:16px;
  line-height:24px;
}

.cta-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 20px;
  border-radius:12px;
  background:var(--accent-600);
  color:#fff;
  font-size:16px;
  line-height:24px;
  font-weight:500;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}
.cta-button:hover{
  background:var(--accent-700);
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
}

/* ========================
   Footer
   ======================== */
.site-footer{
  background:var(--surface);
  border-top:1px solid var(--border-200);
  padding:56px 24px 28px;
  color:var(--ink-700);
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:44px;
}

.footer-brand .brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
  color:var(--ink-900);
  font-family:"Manrope",sans-serif;
  font-weight:700;
}

.footer-brand p{
  margin:0;
  font-size:14px;
  line-height:20px;
  color:var(--ink-700);
}

.footer-nav h4,
.footer-contact h4{
  margin:0 0 12px;
  color:var(--ink-900);
  font-family:"Manrope",sans-serif;
  font-weight:600;
}

.footer-nav a{
  display:block;
  margin:8px 0;
  color:var(--ink-700);
  font-size:14px;
  line-height:20px;
}
.footer-nav a:hover{ color:var(--ink-900); }

.footer-contact .email-link{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink-700);
}
.footer-contact img{ width:18px; height:18px; }

.socials{
  display:flex;
  gap:12px;
  margin-top:12px;
}
.socials img{ width:18px; height:18px; opacity:0.9; }

.footer-bottom{
  margin-top:28px;
  text-align:center;
  font-size:14px;
  line-height:20px;
  color:var(--muted-500);
}

@media (max-width:1024px){
  .footer-inner{ grid-template-columns:1fr; gap:22px; }
}

/* ========================
   Responsive header
   ======================== */
@media (max-width:1020px){
  .site-nav, .btn.btn-header{ display:none; }
  .nav-toggle{ display:block; }
}

/* ========================
   HOTFIXES
   ======================== */
a.btn.btn-header:visited,
a.btn-primary-hero:visited,
a.btn.btn-mobile:visited,
a.cta-button:visited{
  color:#fff;
}
a.btn-secondary-hero:visited{
  color:var(--ink-900);
}

/* ============================
   HOME FIX PATCH (spacing + alignment + layout)
   ============================ */

/* ---------- HERO: more vertical spacing + center bullet block ---------- */
.hero h1{
  margin-bottom: 16px;
}

.hero-sub{
  margin-top: 0;
  margin-bottom: 18px;
}

/* Center bullet block under heading/subhead (green box request) */
.hero-bullets{
  display: inline-grid;
  width: fit-content;
  max-width: min(760px, 100%);
  margin: 0 auto 22px;
  justify-items: start;
  gap: 12px;
}

.hero-actions{
  margin-top: 8px;
  gap: 14px;
}

/* ---------- TRUST STRIP: heading match Engineering Services style ---------- */
.trust-title{
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-align: center;
}

/* Trust bullets layout fix */
.trust-inner{
  max-width: 980px;
}

.trust-points{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  justify-items: start;
  margin-top: 0;
}

.trust-points li{
  width: 100%;
  max-width: none;
}

@media (max-width: 1024px){
  .trust-points{ grid-template-columns: 1fr; }
  .trust-title{ font-size: 30px; line-height: 38px; }
}

/* ---------- SECTION SPACING: increase distance ---------- */
.deliverables-title{ margin-bottom: 22px; }
.deliverables-list{ margin-top: 0; }

.fw-title{ margin-bottom: 10px; }
.fw-sub{ margin-top: 0; margin-bottom: 30px; }

.hww-title{ margin-bottom: 10px; }
.hww-subtitle{ margin-top: 0; margin-bottom: 34px; }

.industries-title{ margin-bottom: 18px; }
.industries-list{ margin-top: 0; }

/* ---------- ENGINEERING WORKFLOW: center last row (sky blue boxes) ---------- */
.hww-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.hww-item{
  flex: 0 1 360px;
  max-width: 360px;
}

@media (max-width:1024px){
  .hww-item{ flex: 1 1 100%; max-width: 100%; }
}

/* ---------- TESTIMONIALS: wrapper and track rendering stability ---------- */
.testimonial-wrapper{
  width: 100%;
  max-width: 1128px;
  margin: 22px auto 0;
  overflow: hidden;
}

.testimonial-track{
  will-change: transform;
}
