@import url("./intlTelInput.min.css");

.trust-heading,
.partners-heading,
.testimonial-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(36px, 6vw, 90px);
}

.partner-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.partner-marquee .partner-logos {
  display: flex;
  flex: none;
  grid-template-columns: none;
  width: max-content;
  border: 0;
}

.partner-marquee .partner-logos img {
  flex: 0 0 clamp(190px, 18vw, 270px);
  width: clamp(190px, 18vw, 270px);
  border-top: 0;
  border-bottom: 0;
}

.partner-marquee.is-ready .partner-logos {
  animation: partner-marquee 34s linear infinite;
}

.partner-marquee:hover .partner-logos,
.partner-marquee:focus-within .partner-logos {
  animation-play-state: paused;
}

@keyframes partner-marquee {
  to { transform: translateX(-100%); }
}

.trust-heading > div,
.partners-heading > div,
.testimonial-heading > div {
  max-width: 650px;
}

.trust-heading > div h2,
.partners-heading > div h2,
.testimonial-heading > div h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: .98;
}

.trust-heading > div .eyebrow,
.partners-heading > div .eyebrow,
.testimonial-heading > div .eyebrow {
  margin-bottom: 18px;
}

.trust-heading > p:last-child,
.partners-heading > p:last-child,
.testimonial-heading > p:last-child {
  max-width: 520px;
  margin: 0;
  line-height: 1.75;
}

@media (max-width: 760px) {
  .partner-marquee .partner-logos {
    grid-template-columns: none;
  }

  .partner-marquee .partner-logos img {
    flex-basis: 165px;
    width: 165px;
    height: 105px;
    padding: 20px;
  }

  .partner-marquee.is-ready .partner-logos {
    animation-duration: 25s;
  }

  .trust-heading,
  .partners-heading,
  .testimonial-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-heading > div h2,
  .partners-heading > div h2,
  .testimonial-heading > div h2 {
    font-size: clamp(36px, 11vw, 50px);
    line-height: 1.02;
  }

  .trust-heading > p:last-child,
  .partners-heading > p:last-child,
  .testimonial-heading > p:last-child {
    max-width: 62ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .partner-marquee.is-ready .partner-logos {
    animation: none;
  }

  .partner-marquee [data-partner-copy="true"] {
    display: none;
  }
}

.review-carousel { position: relative; }
.review-grid-legacy { display:none!important; }
.review-controls { display: flex; justify-content: flex-start; gap: 10px; margin: -18px 0 18px; }
.review-controls button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 20px; cursor: pointer; transition: background .2s ease,transform .2s ease; }
.review-controls button:hover,.review-controls button:focus-visible { background: var(--orange); transform: translateY(-2px); outline: 0; }
.google-reviews .review-grid { display:grid; grid-auto-flow:column; grid-auto-columns:clamp(300px,31vw,410px); grid-template-columns:none; gap:18px; overflow-x:auto; padding:8px 4px 22px; scroll-snap-type:x mandatory; scroll-padding-inline:4px; overscroll-behavior-inline:contain; scrollbar-width:none; cursor:grab; touch-action:pan-x pan-y; user-select:none; }
.google-reviews .review-grid::-webkit-scrollbar { display:none; }
.google-reviews .review-grid.is-dragging { cursor:grabbing; scroll-snap-type:none; }
.google-reviews .review-grid article { display:flex; flex-direction:column; min-height:360px; padding:30px; border:1px solid rgba(8,45,61,.09); border-radius:22px; box-shadow:0 10px 35px rgba(0,0,0,.12); scroll-snap-align:start; }
.google-reviews .review-grid blockquote { min-height:0; margin:28px 0 30px; font-family:inherit; font-size:17px; line-height:1.65; }
.google-reviews .review-grid article footer { margin-top:auto; }
.google-reviews .google-logo { width:64px; height:24px; object-fit:contain; object-position:left center; }
.review-drag-hint { display:flex; align-items:center; justify-content:center; gap:9px; margin:12px 0 0; color:#b2c8ce; font-size:12px; }
.review-drag-hint span { color:var(--orange); font-size:18px; }
@media (max-width:760px) { .review-controls{margin-top:0}.google-reviews .review-grid{grid-auto-columns:min(84vw,350px);gap:14px;margin-right:-20px}.google-reviews .review-grid article{min-height:350px;padding:25px;border-radius:19px} }

.testimonials:not(.videos-expanded) .video-grid .video-card:nth-child(n+5) { display:none; }
.video-reveal { display:flex; align-items:center; justify-content:center; gap:12px; min-width:210px; margin:34px auto 0; padding:14px 22px; border:1px solid rgba(8,45,61,.2); border-radius:999px; background:#fff; color:var(--navy); font:inherit; font-size:12px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; cursor:pointer; transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease; }
.video-reveal i { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:rgba(239,124,72,.13); color:var(--orange); font-style:normal; transition:transform .25s ease; }
.video-reveal:hover,.video-reveal:focus-visible { border-color:var(--orange); background:#fff8f4; transform:translateY(-2px); outline:0; }
.video-reveal[aria-expanded="true"] i { transform:rotate(180deg); }
@media(max-width:760px) { .testimonials:not(.videos-expanded) .video-grid .video-card:nth-child(n+4){display:none}.video-reveal{width:100%;margin-top:24px} }

.form-field { display:flex; flex-direction:column; gap:7px; margin-bottom:17px; }
.form-label { color:var(--navy); font-size:12px; font-weight:bold; }
.phone-control { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:stretch; height:48px; overflow:visible; border:1px solid #cbd6d8; border-radius:8px; background:#fff; transition:border-color .15s ease,box-shadow .15s ease; }
.phone-control:focus-within { border-color:var(--orange); box-shadow:0 0 0 3px rgba(239,124,72,.12); }
.lead-form .phone-control > input[data-phone-national] { align-self:stretch; min-width:0; height:100%; margin:0; padding:0 14px; border:0; border-radius:0 7px 7px 0; box-shadow:none; font-size:16px; line-height:46px; }
.lead-form .phone-control > input[data-phone-national]:focus { border:0; box-shadow:none; }
.country-selected { display:grid; grid-template-columns:auto auto 10px; align-items:center; align-self:stretch; gap:8px; min-width:105px; height:100%; margin:0; padding:0 12px; border:0; border-right:1px solid #cbd6d8; border-radius:7px 0 0 7px; background:#f8faf9; color:var(--navy); cursor:pointer; line-height:1; }
.country-selected > span { display:flex; align-items:center; min-width:21px; font-size:21px; line-height:1; }
.country-selected > span.iti-flag { display:block; flex:none; width:20px; min-width:20px; height:15px; background-image:url("./38025784bede-flags.png"); background-repeat:no-repeat; box-shadow:0 0 0 1px rgba(8,45,61,.12); }
.country-picker .iti-flag { display:block; width:20px; min-width:20px; height:15px; background-image:url("./38025784bede-flags.png"); background-repeat:no-repeat; box-shadow:0 0 0 1px rgba(8,45,61,.12); }
.country-selected > strong { display:flex; align-items:center; margin:0; font-size:13px; line-height:1; }
.country-selected > i { width:7px; height:7px; margin-left:auto; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.country-selected:focus-visible,.country-selected[aria-expanded="true"] { position:relative; z-index:2; outline:0; }
.country-picker[hidden] { display:none; }
.country-picker { position:absolute; z-index:30; top:56px; left:0; width:min(370px,calc(100vw - 80px)); padding:10px; border:1px solid rgba(8,45,61,.15); border-radius:16px; background:#fff; box-shadow:0 22px 55px rgba(4,31,41,.22); }
.country-search { position:relative; display:flex; align-items:center; margin-bottom:8px; }
.country-search > span { position:absolute; z-index:1; left:14px; color:#71848b; font-size:21px; pointer-events:none; }
.lead-form .country-search input { height:44px; padding:0 14px 0 42px; border-radius:10px; font-size:16px; }
.country-picker ul { max-height:260px; margin:0; padding:0; overflow-y:auto; list-style:none; scrollbar-width:thin; }
.country-picker li { margin:0; padding:0; }
.country-picker li[hidden] { display:none; }
.country-picker li button { display:grid; grid-template-columns:30px minmax(0,1fr) auto; align-items:center; gap:10px; width:100%; min-height:45px; padding:7px 10px; border:0; border-radius:9px; background:transparent; color:var(--navy); text-align:left; cursor:pointer; }
.country-picker li button:hover,.country-picker li button:focus-visible { background:#fff3ed; outline:0; }
.country-picker li button > span { font-size:21px; }
.country-picker li button > strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.country-picker li button > em { color:#677b83; font-size:12px; font-style:normal; }
.country-picker > p { margin:12px; color:var(--muted); font-size:12px; text-align:center; }
.lead-form select[name="treatment"] { border-radius:8px; font-size:14px; }
@media(max-width:760px) { .country-selected{min-width:102px}.country-picker{position:fixed;z-index:10001;top:auto;right:12px;bottom:12px;left:12px;width:auto;padding:14px;border-radius:20px}.country-picker ul{max-height:min(52vh,420px)}.country-picker li button{min-height:50px}.lead-form .phone-control > input[data-phone-national],.lead-form .country-search input{font-size:16px} }
.experience-grid article>a { display:block; height:100%; }
.experience-grid article>a>div { padding:26px; }
.experience-grid article>a strong { display:inline-flex; align-items:center; gap:10px; margin-top:19px; padding-bottom:3px; border-bottom:1px solid rgba(8,45,61,.22); color:var(--navy); font-size:12px; }
.experience-grid article>a strong i { color:var(--orange); font-style:normal; transition:transform .2s ease; }
.experience-grid article:hover>a strong i { transform:translateX(4px); }
.form-validation-message { margin:0 0 16px; padding:11px 13px; border-left:3px solid #d94b3d; border-radius:5px; background:#fff1ef; color:#8f2d24; font-size:12px; font-weight:700; }
.form-validation-message[hidden] { display:none; }
.form-validation-message.success { position:relative; min-height:54px; padding:15px 18px 15px 52px; overflow:hidden; border:1px solid #a9dec1; border-left:4px solid #22a75a; border-radius:12px; background:linear-gradient(135deg,#e9faef,#f4fff8); color:#126b39; box-shadow:0 12px 30px rgba(24,137,73,.16); font-size:14px; line-height:1.55; animation:form-success-in .48s cubic-bezier(.2,.8,.2,1) both; }
.form-validation-message.success::before { content:"✓"; position:absolute; left:15px; top:50%; width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:#22a75a; color:#fff; box-shadow:0 0 0 0 rgba(34,167,90,.3); transform:translateY(-50%); animation:form-success-check .55s .18s cubic-bezier(.2,.9,.2,1.25) both,form-success-pulse 1.4s .7s ease-out; }
.form-validation-message.success::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.72) 45%,transparent 70%); transform:translateX(-120%); animation:form-success-shine .85s .22s ease-out both; }
.form-validation-message.error { border-left-color:#d94b3d; background:#fff1ef; color:#8f2d24; }
@keyframes form-success-in { from{opacity:0;transform:translateY(10px) scale(.985)} to{opacity:1;transform:none} }
@keyframes form-success-check { from{opacity:0;transform:translateY(-50%) scale(.35) rotate(-18deg)} to{opacity:1;transform:translateY(-50%) scale(1) rotate(0)} }
@keyframes form-success-pulse { 0%{box-shadow:0 0 0 0 rgba(34,167,90,.3)} 100%{box-shadow:0 0 0 12px rgba(34,167,90,0)} }
@keyframes form-success-shine { to{transform:translateX(120%)} }
@media(prefers-reduced-motion:reduce) { .form-validation-message.success,.form-validation-message.success::before,.form-validation-message.success::after{animation:none} }
.lead-form .field-invalid > input,.lead-form .field-invalid > select,.lead-form input[aria-invalid="true"],.lead-form select[aria-invalid="true"],.lead-form textarea[aria-invalid="true"] { border-color:#d94b3d; }
.lead-form .field-invalid .phone-control { border-color:#d94b3d; box-shadow:0 0 0 3px rgba(217,75,61,.1); }

/* A document preview gives the registered brand its own quiet, readable feature. */
.credential-grid .credential-trademark{grid-column:1/-1;grid-template-columns:190px minmax(0,1fr);gap:42px;padding:32px 42px;background:linear-gradient(115deg,#f5f7f5,#fff);border-radius:4px}
.credential-trademark .trademark-preview{display:block;padding:12px;background:#fff;border:1px solid #dce4e2;box-shadow:0 10px 25px #082d3d12;transition:transform .2s}
.credential-trademark .trademark-preview:hover{transform:translateY(-3px)}
.credential-trademark .trademark-preview img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain}
.credential-trademark h3{max-width:650px;font-size:clamp(24px,3vw,34px);line-height:1.15}
.credential-trademark .trademark-number{color:var(--muted);font-size:13px;margin:0 0 22px}
.credential-trademark .trademark-links{display:flex;flex-wrap:wrap;gap:14px 26px}
@media(max-width:600px){.credential-grid .credential-trademark{grid-template-columns:minmax(0,1fr);gap:24px;padding:26px}.credential-trademark .trademark-preview{width:160px}.credential-trademark .trademark-preview img{width:100%;height:auto}}
