/* Hand-written overrides on top of the Elementor export. */

/* Home case-study tiles: image fills the box, caption overlaid on a dark fade */
.gb-tile { position: relative; overflow: hidden; --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; padding: 0 !important; }
.gb-tile > .e-con-inner { padding: 0; max-width: none; width: 100%; gap: 0; }
.gb-tile .elementor-widget-image,
.gb-tile .elementor-widget-image .elementor-widget-container,
.gb-tile .elementor-widget-image a { display: block; width: 100% !important; margin: 0; }
.gb-tile .elementor-widget-image img { display: block; width: 100% !important; max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 !important; }
.gb-tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 24px 20px; color: #fff; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, 0)); }
.gb-tile-cap h3 { margin: 0; color: #fff; font-family: inherit; font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.2; }
/* Testimonial carousel (assets/js/gibbon.js): all cards share one grid cell, positions set by data-pos */
.gb-quotes { width: 100%; overflow: hidden; overflow: clip; padding: 8px 0 4px; outline: none; }
.gb-quotes-stage { display: grid; grid-template-columns: 100%; justify-items: center; }
.gb-quote { grid-area: 1 / 1; width: min(600px, 62%); margin: 0; padding: 32px; box-sizing: border-box; border-radius: 16px;
  background-color: var(--e-global-color-f54ddad); color: var(--e-global-color-7672d38);
  display: flex; flex-direction: column; gap: 24px; justify-content: space-between;
  transition: transform .45s ease, opacity .45s ease; }
.gb-quote[data-pos="center"] { z-index: 2; }
.gb-quote[data-pos="prev"] { transform: translateX(-82%) scale(.86); opacity: .4; cursor: pointer; }
.gb-quote[data-pos="next"] { transform: translateX(82%) scale(.86); opacity: .4; cursor: pointer; }
.gb-quote[data-pos="hidden"] { transform: scale(.8); opacity: 0; visibility: hidden; }
.gb-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--e-global-typography-8c1d877-font-family), sans-serif;
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; font-style: normal; color: inherit; }
.gb-quote figcaption { font-style: normal; color: inherit; display: flex; align-items: center; gap: 18px; }
.gb-quote figcaption img, .gb-quote .gb-initials { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.gb-quote .gb-initials { display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-weight: 600; }
.gb-quote strong { color: var(--e-global-color-7672d38); display: block; font-family: var(--e-global-typography-9f8b0b0-font-family), sans-serif; font-size: 16px; }
.gb-quote figcaption span { display: block; color: var(--e-global-color-824525c); font-size: 14px; }
.gb-quotes-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.gb-quotes .gb-quotes-nav button.gb-quotes-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent;
  color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s; }
.gb-quotes .gb-quotes-nav button.gb-quotes-btn:hover, .gb-quotes .gb-quotes-nav button.gb-quotes-btn:focus-visible { background: rgba(255, 255, 255, .12); }
.gb-quotes-dots { display: flex; gap: 8px; }
.gb-quotes .gb-quotes-nav button.gb-quotes-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .25s, background .25s; }
.gb-quotes .gb-quotes-nav button.gb-quotes-dot[aria-current="true"] { width: 24px; border-radius: 4px; background: #fff; }
@media (max-width: 767px) {
  .gb-quote { width: 84%; padding: 24px; }
  .gb-quote figcaption img, .gb-quote .gb-initials { width: 64px; height: 64px; }
  .gb-quote[data-pos="prev"] { transform: translateX(-96%) scale(.9); opacity: .3; }
  .gb-quote[data-pos="next"] { transform: translateX(96%) scale(.9); opacity: .3; }
}
@media (prefers-reduced-motion: reduce) { .gb-quote { transition: none; } }

.gb-tile-cap p { margin: 6px 0 0; color: rgba(255, 255, 255, .88); font-size: 14px; letter-spacing: .02em; line-height: 1.4; }

/* Home featured case study: one wide tile above the 2x2 grid, same width as the grid */
.gb-featured { width: 65.952%; margin: -20px auto 0; padding: 0 0 24px; box-sizing: border-box; }
.gb-feature-tile { position: relative; display: block; overflow: hidden; border-radius: 16px; box-shadow: 6px 12px 21px -11px rgba(96, 96, 96, .5); }
.gb-feature-tile img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; transition: transform .4s ease; }
.gb-feature-tile:hover img { transform: scale(1.02); }
.gb-feature-tile .gb-tile-cap { padding: 96px 32px 28px; }
.gb-feature-tile .gb-tile-cap h3 { font-size: clamp(26px, 3vw, 40px); }
.gb-feature-badge { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #111; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 767px) {
  .gb-featured { width: 100%; padding: 0 24px 16px; }
  .gb-feature-tile img { aspect-ratio: 4 / 3; }
  .gb-feature-tile .gb-tile-cap { padding: 64px 20px 20px; }
}
