/* E Windowtastic case study additions (Nov 2026): "The Result" stats and the client testimonial. */

/* The Result */
.ew-results { padding-top: 56px; }
.ew-results-inner { width: 100%; max-width: 1345px; margin-inline: auto; display: flex; flex-direction: column; gap: 32px; }
.ew-results h2 { font-size: 32px; line-height: 31px; color: #000; }
.ew-results-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #e4e6ec; /* shows through the 1px gaps as dividers */
  border-block: 1px solid #e4e6ec;
}
.ew-result { background: #fff; padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ew-result:first-child { padding-left: 0; }
.ew-result-value {
  font: 700 clamp(44px, 4.2vw, 56px)/1 var(--ew-bold);
  letter-spacing: -0.02em;
  color: var(--ew-blue);
  background: linear-gradient(100deg, #282eed, #5b6cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ew-result-label { font-size: 15px; line-height: 21px; color: #5b6170; max-width: 260px; }

/* Client testimonial (static, single quote) */
.ew-testimonial {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding: clamp(72px, 8.7vw, 167px) 24px clamp(72px, 7vw, 120px);
  background: linear-gradient(104deg, #37425d, #36415b 40%, #272f44);
  color: #fff;
}
.ew-testimonial-mark { position: absolute; top: 0; right: 2%; width: 178px; height: auto; opacity: .75; pointer-events: none; }
.ew-testimonial-slide {
  position: relative;
  width: min(1216px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 328fr 710fr;
  gap: clamp(40px, 9.5vw, 184px);
  align-items: center;
}
.ew-testimonial-portrait { aspect-ratio: 328 / 462; border-radius: 20px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.ew-testimonial-portrait img { width: 100%; height: auto; object-fit: contain; } /* logo file has its own white margin */
.ew-testimonial-stars { color: #e5dbff; font-size: 18px; letter-spacing: .25em; margin-bottom: 20px; }
.ew-testimonial blockquote { font: 700 clamp(23px, 1.78vw, 34px)/1.2 var(--ew-bold); letter-spacing: -.02em; }
.ew-testimonial-name { margin-top: 38px; font: 700 21px/1.3 var(--ew-bold); }
.ew-testimonial-role { margin-top: 10px; font-size: 17px; font-style: italic; color: #c1c5d0; }

@media (max-width: 899px) {
  .ew-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ew-result:nth-child(odd) { padding-left: 0; }
  .ew-testimonial-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
}
@media (max-width: 599px) {
  .ew-results { padding-top: 40px; }
  .ew-results h2 { font-size: 29px; line-height: 36px; }
  .ew-result { padding: 22px 16px 24px; }
  .ew-result-label { font-size: 14px; line-height: 20px; }
  .ew-testimonial { padding: 64px 20px 56px; margin-top: 40px; }
  .ew-testimonial-mark { right: -30px; width: 120px; opacity: .35; }
  .ew-testimonial-slide { grid-template-columns: 1fr; gap: 28px; }
  .ew-testimonial-portrait { width: 160px; aspect-ratio: 1; }
  .ew-testimonial blockquote { font-size: 24px; }
  .ew-testimonial-name { margin-top: 24px; }
}

/* Consultation button now closes "The Result" */
.ew-results-button { align-self: flex-start; margin-top: 8px; }

/* Start Your Project — Calendly booking (ported from homepage; rem values converted from the 10px homepage root) */
.home-booking { background: #fff; padding: 0 24px 80px; color: #202124; scroll-margin-top: 30px; }
.booking-panel { width: min(1360px, 100%); margin-inline: auto; padding: clamp(30px, 4.2vw, 80px) clamp(24px, 4vw, 80px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 90px); background: #e6e4e8; border-radius: 16px; }
.booking-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 100px; background: #cdd0d9; color: #405b70; padding: 6px 12px; font-size: 14px; line-height: 1.4; }
.booking-badge span { width: 6px; height: 6px; background: #506e84; border-radius: 50%; }
.booking-intro h2 { font-size: clamp(34px, 2.4vw, 46px); font-weight: 400; line-height: 1.25; margin: 29px 0 13px; color: #263640; }
.booking-intro > p:not(.booking-badge) { font-size: 15px; line-height: 1.6; }
.booking-proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.booking-portraits { display: flex; padding-left: 8px; flex-shrink: 0; }
.booking-portraits img { display: block; object-fit: cover; border-radius: 50%; border: 2px solid #e6e4e8; margin-left: -8px; }
.booking-proof p { color: #506e84; font-size: clamp(14px, 12px + .390625vw, 16px); line-height: 1.4; }
.booking-proof p span { display: block; margin-top: 2px; color: #99a7b6; font-size: .8125em; }
.booking-calendar { min-width: 0; }
.booking-calendar iframe { width: 100%; height: 780px; border: 0; border-radius: 12px; background: #fff; display: block; }
.booking-calendar > p { color: #4f5869; font-size: 13px; line-height: 1.6; margin-top: 16px; }
.booking-calendar a { color: #292ec8; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) {
  .booking-panel { grid-template-columns: 1fr; gap: 40px; }
  .booking-intro { max-width: 620px; }
  .booking-calendar iframe { height: 720px; }
}
@media (max-width: 599px) {
  .home-booking { padding: 0 20px 56px; }
  .booking-panel { padding: 30px 16px; }
  .booking-calendar iframe { height: 780px; }
  .booking-proof { align-items: flex-start; }
  .ew-results-button { width: 100%; }
}
