/* ============================================================
   COLORGRAPHICS — TECHNOLOGY & EXPERTISE  ·  Elementor widget

   A scoped port of html-design/css/technology-expertise.css, rehomed
   under .cg-technology-expertise-v2 so it cannot reach the existing
   Hero Banner, Hero Banner Creative, About Creative, Products Intro,
   Products Showcase, Why Choose Us, Testimonials, FAQ, Inner Banner,
   Who We Are, Partner Carousel, header, footer or any global rule.

   Every selector below begins with the namespace. No JavaScript.

   Two deliberate differences from the source file, both required by
   the theme rather than chosen:

   1. The source's @import of Space Grotesk and Archivo is gone —
      inc/enqueue.php already loads both site-wide, and a second
      import would be a duplicate download.
   2. Values an editor may want to change are read through custom
      properties whose FALLBACK is the source's own number, so an
      untouched widget renders exactly what the design renders.

   The source's palette is kept verbatim rather than swapped for the
   theme tokens: its navy (#0b1438) and pink (#f20a63) are not the
   theme's, and "default render must match the source" outranks token
   reuse. They are scoped here, so they leak nowhere.
   ============================================================ */

.cg-technology-expertise-v2 {
  /* ---- brand tokens (scoped: they leak nowhere) ---- */
  --cg-te2-navy: #0b1438;
  --cg-te2-navy-soft: #4a5170;
  --cg-te2-charcoal: #161922;
  --cg-te2-pink: #f20a63;
  --cg-te2-orange: #ff8a3d;
  --cg-te2-yellow: #ffc928;
  --cg-te2-white: #ffffff;
  --cg-te2-paper: #fbfafc;
  --cg-te2-hair: #e7e5ed;

  --cg-te2-font-display: "Space Grotesk", "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --cg-te2-font-body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --cg-te2-gutter: clamp(22px, 5.4vw, 96px);
  --cg-te2-radius: 12px;
  --cg-te2-ease: cubic-bezier(0.22, 0.61, 0.24, 1);

  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;

  /*
   * SECTION PADDING — one declaration per side, resolved control first
   * and design value second. There is no second padding system: the
   * section is the only element carrying outer padding, and the Elementor
   * control simply supplies the custom property this rule already reads.
   * Leave the control empty and the design's own values render, including
   * the per-band ones further down.
   */
  padding-top: var(--cg-te2-pad-t, clamp(56px, 7vw, 116px));
  padding-right: var(--cg-te2-pad-r, 0px);
  padding-bottom: var(--cg-te2-pad-b, clamp(60px, 7.5vw, 124px));
  padding-left: var(--cg-te2-pad-l, 0px);

  min-height: var(--cg-te2-min-h, auto);
  background: var(--cg-te2-bg, var(--cg-te2-paper));
  color: var(--cg-te2-navy);
  font-family: var(--cg-te2-font-body);
  /*
   * The source is a standalone page resting on the browser's own
   * line-height and letter-spacing. This theme sets both on <body>
   * (tokens.css: --lh-body 1.65, --ls-body -.005em); inherited, they would
   * shift every element the design leaves unset. Restating the resting
   * values reproduces the design and insulates it from any host.
   */
  line-height: normal;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cg-technology-expertise-v2 *,
.cg-technology-expertise-v2 *::before,
.cg-technology-expertise-v2 *::after { box-sizing: border-box; }

.cg-technology-expertise-v2 a { text-decoration: none; color: inherit; }

.cg-technology-expertise-v2 a:focus-visible {
  outline: 2px solid var(--cg-te2-pink);
  outline-offset: 4px;
}

.cg-technology-expertise-v2__inner {
  display: grid;
  grid-template-columns:
    minmax(0, var(--cg-te2-col-visual, 48fr))
    minmax(0, var(--cg-te2-col-content, 52fr));
  align-items: var(--cg-te2-align, center);
  gap: var(--cg-te2-gap, clamp(36px, 4.6vw, 80px));
  width: 100%;
  max-width: var(--cg-te2-max-w, 1600px);
  margin: 0 auto;
  padding: 0 var(--cg-te2-gutter);
}

/* With only one of the two columns present the survivor takes the full
   measure instead of sitting in a 48fr / 52fr track. */
.cg-technology-expertise-v2 .cg-technology-expertise-v2__inner--single {
  grid-template-columns: minmax(0, 1fr);
}

/* ------------------------------------------------------------
   1 · LEFT — one photograph, light decor
   ------------------------------------------------------------ */

.cg-technology-expertise-v2__visual {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 40px) 0 clamp(18px, 2vw, 32px);
}

/* soft pink→orange wash behind the photo */
.cg-technology-expertise-v2__shape {
  position: absolute;
  left: -14%;
  top: -40%;
  z-index: 0;
  width: 78%;
  height: 165%;
  background: linear-gradient(162deg,
    rgba(242, 10, 99, 0) 0%,
    rgba(242, 10, 99, 0.12) 26%,
    rgba(255, 138, 61, 0.09) 62%,
    rgba(255, 201, 40, 0) 88%);
  transform: skewX(-13deg);
  filter: blur(34px);
  opacity: var(--cg-te2-shape-opacity, 1);
  pointer-events: none;
}

.cg-technology-expertise-v2__dots {
  position: absolute;
  right: 6%;
  bottom: clamp(30px, 4vw, 60px);
  z-index: 0;
  width: clamp(92px, 11vw, 150px);
  height: clamp(44px, 5vw, 70px);
  background-image: radial-gradient(var(--cg-te2-dots-color, rgba(11, 20, 56, 0.2)) 1.2px, transparent 1.2px);
  background-size: 19px 19px;
  pointer-events: none;
}

.cg-technology-expertise-v2__figure {
  position: relative;
  z-index: 1;
  margin: 0 0 0 auto;
  width: var(--cg-te2-figure-w, min(100%, 640px));
}

.cg-technology-expertise-v2__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--cg-te2-image-ratio, 5 / 4);
  object-fit: var(--cg-te2-image-fit, cover);
  object-position: var(--cg-te2-image-pos, 52% 56%);
  border-radius: var(--cg-te2-image-radius, var(--cg-te2-radius));
  box-shadow: 0 26px 60px rgba(11, 20, 56, 0.10);
}

/* gradient card overlapping the lower-left of the photo */
.cg-technology-expertise-v2__badge {
  position: absolute;
  left: var(--cg-te2-badge-x, clamp(-34px, -2.4vw, -18px));
  bottom: var(--cg-te2-badge-y, clamp(28px, 3.4vw, 56px));
  z-index: 2;
  display: block;
  width: var(--cg-te2-badge-w, clamp(168px, 15vw, 208px));
  padding: var(--cg-te2-badge-pad, clamp(20px, 1.8vw, 28px));
  border-radius: var(--cg-te2-badge-radius, var(--cg-te2-radius));
  background: var(--cg-te2-badge-bg,
    linear-gradient(155deg, var(--cg-te2-pink) 0%, #ff5a5f 52%, var(--cg-te2-orange) 100%));
  color: var(--cg-te2-badge-color, var(--cg-te2-white));
}

.cg-technology-expertise-v2__badge-rule {
  display: block;
  width: 34px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
}

.cg-technology-expertise-v2__badge-text {
  display: block;
  margin: 18px 0 0;
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 600;
  line-height: 1.72;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* low-contrast display type under the photo */
.cg-technology-expertise-v2__ghost {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  margin: clamp(26px, 3vw, 46px) 0 0;
  font-family: var(--cg-te2-font-display);
  font-size: clamp(22px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--cg-te2-ghost-color, rgba(11, 20, 56, 0.13));
  opacity: var(--cg-te2-ghost-opacity, 1);
  user-select: none;
  pointer-events: none;
}

.cg-technology-expertise-v2__ghost i { font-style: normal; }

.cg-technology-expertise-v2__ghost-rule {
  width: 42px;
  height: 3px;
  margin-top: 14px;
  background: var(--cg-te2-pink);
  opacity: 0.6;
}

/* ------------------------------------------------------------
   2 · RIGHT — copy
   ------------------------------------------------------------ */

.cg-technology-expertise-v2__content { min-width: 0; }

.cg-technology-expertise-v2__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--cg-te2-eyebrow-gap, 18px);
  margin: 0;
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cg-te2-eyebrow-color, var(--cg-te2-navy-soft));
}

.cg-technology-expertise-v2__eyebrow-line {
  display: block;
  flex: 0 0 auto;
  width: var(--cg-te2-eyebrow-line-w, clamp(28px, 3vw, 44px));
  height: var(--cg-te2-eyebrow-line-h, 2px);
  background: var(--cg-te2-eyebrow-line-color, var(--cg-te2-pink));
}

.cg-technology-expertise-v2__title {
  max-width: var(--cg-te2-title-max, none);
  margin: var(--cg-te2-title-gap, clamp(18px, 2vw, 28px)) 0 0;
  font-family: var(--cg-te2-font-display);
  font-size: clamp(32px, 3.5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--cg-te2-title-color, var(--cg-te2-navy));
}

.cg-technology-expertise-v2__title-accent {
  background-image: linear-gradient(95deg,
    var(--cg-te2-accent-1, var(--cg-te2-pink)) 0%,
    var(--cg-te2-accent-2, #ff4f77) 44%,
    var(--cg-te2-accent-3, var(--cg-te2-orange)) 78%,
    var(--cg-te2-accent-4, var(--cg-te2-yellow)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.cg-technology-expertise-v2__text {
  max-width: var(--cg-te2-text-max, 62ch);
  margin: var(--cg-te2-text-gap, clamp(18px, 1.8vw, 26px)) 0 0;
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.72;
  color: var(--cg-te2-text-color, var(--cg-te2-charcoal));
}

/* ---- feature cards ---- */

.cg-technology-expertise-v2__features {
  display: grid;
  gap: var(--cg-te2-card-row-gap, clamp(14px, 1.2vw, 20px))
       var(--cg-te2-card-col-gap, clamp(14px, 1.2vw, 20px));
  margin: var(--cg-te2-features-gap, clamp(28px, 2.8vw, 44px)) 0 0;
  padding: 0;
  list-style: none;  
  margin-top: 15px;
}

/*
 * Cards per band. The bands are the source file's own edges — 1181 / 901 /
 * 641 — not Elementor's device tabs, and they do not overlap, so a count
 * chosen for tablets cannot leak onto phones. The bare fallback in each band
 * is the source's own grid: two across, dropping to one on phones.
 *
 * The count comes from the data attribute alone, never from a separate
 * custom property, so the grid can never disagree with what PHP rendered.
 */
@media (min-width: 1181px) {
  .cg-technology-expertise-v2__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-dt="1"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-dt="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-dt="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-dt="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .cg-technology-expertise-v2__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-tl="1"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-tl="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-tl="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-tl="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 900px) {
  .cg-technology-expertise-v2__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-tp="1"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-tp="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-tp="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-tp="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cg-technology-expertise-v2__features { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-mb="1"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-mb="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-mb="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cg-technology-expertise-v2__features[data-cols-mb="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cg-technology-expertise-v2__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--cg-te2-card-icon-gap, clamp(14px, 1.2vw, 18px));
  min-height: var(--cg-te2-card-min-h, 0px);
  /* padding: var(--cg-te2-card-pad, clamp(18px, 1.5vw, 24px)); */
  padding: 10px;
  border: var(--cg-te2-card-border-w, 1px) solid var(--cg-te2-card-border, var(--cg-te2-hair));
  border-radius: var(--cg-te2-card-radius, var(--cg-te2-radius));
  background: var(--cg-te2-card-bg, var(--cg-te2-white));
  transition: border-color 260ms var(--cg-te2-ease), box-shadow 260ms var(--cg-te2-ease),
              transform 260ms var(--cg-te2-ease);
}

.cg-technology-expertise-v2__feature:hover {
  border-color: var(--cg-te2-card-border-hover, rgba(242, 10, 99, 0.35));
  background: var(--cg-te2-card-bg-hover, var(--cg-te2-card-bg, var(--cg-te2-white)));
  box-shadow: 0 14px 30px rgba(11, 20, 56, 0.06);
  transform: translateY(-2px);
}

.cg-technology-expertise-v2__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--cg-te2-icon-box, clamp(42px, 3.4vw, 52px));
  height: var(--cg-te2-icon-box, clamp(42px, 3.4vw, 52px));
  border-radius: var(--cg-te2-icon-radius, 10px);
  background: var(--cg-te2-icon-bg, rgba(242, 10, 99, 0.08));
  color: var(--cg-te2-icon-color, var(--cg-te2-pink));
}

.cg-technology-expertise-v2__feature-icon svg {
  width: var(--cg-te2-icon-size, 55%);
  height: var(--cg-te2-icon-size, 55%);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* A library icon is a font glyph, not an SVG, so it is sized by font-size. */
.cg-technology-expertise-v2__feature-icon-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--cg-te2-icon-font, 22px);
  line-height: 1;
  font-style: normal;
}
.cg-technology-expertise-v2__feature-icon-i svg {
  width: var(--cg-te2-icon-font, 22px);
  height: var(--cg-te2-icon-font, 22px);
  fill: currentColor;
  stroke: none;
}

/*
 * A card the editor has given a URL wraps its contents in an anchor. The
 * anchor has to BE the row, or the icon and the copy would stack inside it
 * as a single flex child instead of sitting side by side.
 */
.cg-technology-expertise-v2__feature-link {
  display: flex;
  align-items: flex-start;
  gap: var(--cg-te2-card-icon-gap, clamp(14px, 1.2vw, 18px));
  width: 100%;
  min-width: 0;
}

.cg-technology-expertise-v2__feature-body { min-width: 0; }

.cg-technology-expertise-v2__feature-title {
  margin: 0;
  font-family: var(--cg-te2-font-display);
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--cg-te2-card-title-color, var(--cg-te2-navy));
}

.cg-technology-expertise-v2__feature-text {
  margin: var(--cg-te2-card-text-gap, 9px) 0 0;
  font-size: clamp(13px, 0.92vw, 14.5px);
  line-height: 1.6;
  color: var(--cg-te2-card-text-color, var(--cg-te2-navy-soft));
}

/* ---- CTA strip ---- */

.cg-technology-expertise-v2__cta {
  display: flex;
  align-items: center;
  gap: var(--cg-te2-cta-gap, clamp(20px, 2.4vw, 40px));
  margin: var(--cg-te2-cta-top, clamp(16px, 1.4vw, 22px)) 0 0;
  padding: var(--cg-te2-cta-pad, clamp(16px, 1.4vw, 22px) clamp(18px, 1.6vw, 26px));
  border-radius: var(--cg-te2-cta-radius, var(--cg-te2-radius));
  background: var(--cg-te2-cta-bg,
    linear-gradient(100deg, rgba(242, 10, 99, 0.07) 0%, rgba(48, 76, 255, 0.06) 100%));
}

.cg-technology-expertise-v2__cta-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.cg-technology-expertise-v2__cta-bars {
  display: inline-flex;
  color: var(--cg-te2-cta-icon-color, var(--cg-te2-pink));
}

.cg-technology-expertise-v2__cta-bars svg {
  width: var(--cg-te2-cta-icon-size, 26px);
  height: var(--cg-te2-cta-icon-size, 26px);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.cg-technology-expertise-v2__cta-bars-i {
  display: inline-flex;
  align-items: center;
  font-size: var(--cg-te2-cta-icon-size, 26px);
  line-height: 1;
  font-style: normal;
}
.cg-technology-expertise-v2__cta-bars-i svg {
  width: var(--cg-te2-cta-icon-size, 26px);
  height: var(--cg-te2-cta-icon-size, 26px);
  fill: currentColor;
  stroke: none;
}

.cg-technology-expertise-v2__cta-stat-body { display: block; }

.cg-technology-expertise-v2__cta-value {
  display: block;
  font-family: var(--cg-te2-font-display);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cg-te2-cta-value-color, var(--cg-te2-navy));
}

.cg-technology-expertise-v2__cta-label {
  display: block;
  margin-top: 4px;
  font-size: clamp(12px, 0.85vw, 14px);
  color: var(--cg-te2-cta-label-color, var(--cg-te2-charcoal));
}

.cg-technology-expertise-v2__cta-text {
  flex: 1 1 auto;
  max-width: var(--cg-te2-cta-text-max, 30ch);
  margin: 0;
  padding-left: clamp(18px, 2vw, 34px);
  border-left: 1px solid var(--cg-te2-cta-rule, rgba(11, 20, 56, 0.12));
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.6;
  color: var(--cg-te2-cta-text-color, var(--cg-te2-charcoal));
}

/*
 * The pill is an <a> whenever it has a URL, and the reset near the top of
 * this file — .cg-technology-expertise-v2 a { color: inherit } — is one
 * specificity step stronger than a lone class. Left as a single class, that
 * reset wins: the label renders navy on pink instead of the white this rule
 * asks for, and the Text Colour control has no effect at all. Repeating the
 * namespace outranks the reset so the declared colour, and the control, both
 * apply. (Contrast is not the argument either way — navy on this pink is
 * 4.27:1 and white 4.20:1, both just under AA for text this size. The
 * argument is that the declaration and the control should be obeyed.)
 *
 * The source file has the same collision and renders its label navy; this is
 * a deliberate divergence, matching what that stylesheet asks for.
 */
.cg-technology-expertise-v2 .cg-technology-expertise-v2__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  padding: var(--cg-te2-btn-pad, 15px clamp(20px, 1.8vw, 28px));
  border: var(--cg-te2-btn-border-w, 0px) solid var(--cg-te2-btn-border, transparent);
  border-radius: var(--cg-te2-btn-radius, 999px);
  background: var(--cg-te2-btn-bg, var(--cg-te2-pink));
  color: var(--cg-te2-btn-color, var(--cg-te2-white));
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 600;
  transition: background-color 260ms var(--cg-te2-ease), transform 260ms var(--cg-te2-ease),
              border-color 260ms var(--cg-te2-ease), color 260ms var(--cg-te2-ease);
}

.cg-technology-expertise-v2 .cg-technology-expertise-v2__cta-btn:hover,
.cg-technology-expertise-v2 .cg-technology-expertise-v2__cta-btn:focus-visible {
  background: var(--cg-te2-btn-bg-hover, #cf0854);
  border-color: var(--cg-te2-btn-border-hover, var(--cg-te2-btn-border, transparent));
  color: var(--cg-te2-btn-color-hover, var(--cg-te2-btn-color, var(--cg-te2-white)));
  transform: translateY(-1px);
}

.cg-technology-expertise-v2__cta-btn-icon {
  flex: 0 0 auto;
  width: var(--cg-te2-btn-icon-size, 18px);
  height: var(--cg-te2-btn-icon-size, 18px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 260ms var(--cg-te2-ease);
}

.cg-technology-expertise-v2__cta-btn-icon-i {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: var(--cg-te2-btn-icon-size, 18px);
  line-height: 1;
  font-style: normal;
  transition: transform 260ms var(--cg-te2-ease);
}
.cg-technology-expertise-v2__cta-btn-icon-i svg {
  width: var(--cg-te2-btn-icon-size, 18px);
  height: var(--cg-te2-btn-icon-size, 18px);
  fill: currentColor;
}

.cg-technology-expertise-v2__cta-btn:hover .cg-technology-expertise-v2__cta-btn-icon,
.cg-technology-expertise-v2__cta-btn:focus-visible .cg-technology-expertise-v2__cta-btn-icon,
.cg-technology-expertise-v2__cta-btn:hover .cg-technology-expertise-v2__cta-btn-icon-i,
.cg-technology-expertise-v2__cta-btn:focus-visible .cg-technology-expertise-v2__cta-btn-icon-i { transform: translateX(4px); }

/* ------------------------------------------------------------
   3 · MOTION — one gentle entrance
   ------------------------------------------------------------ */

.cg-technology-expertise-v2__content > *,
.cg-technology-expertise-v2__visual > * {
  animation: cg-te2-rise 900ms var(--cg-te2-ease) both;
}

.cg-technology-expertise-v2__figure { animation-delay: 80ms; }
.cg-technology-expertise-v2__ghost { animation-delay: 340ms; }
.cg-technology-expertise-v2__eyebrow { animation-delay: 60ms; }
.cg-technology-expertise-v2__title { animation-delay: 140ms; }
.cg-technology-expertise-v2__text { animation-delay: 220ms; }
.cg-technology-expertise-v2__features { animation-delay: 300ms; }
.cg-technology-expertise-v2__cta { animation-delay: 380ms; }

@keyframes cg-te2-rise {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cg-technology-expertise-v2 *,
  .cg-technology-expertise-v2 *::before,
  .cg-technology-expertise-v2 *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   4 · RESPONSIVE
   The source file's own breakpoints — 1360 / 1180 / 901 / 900 /
   640 / 380 — kept exactly as authored rather than remapped onto
   Elementor's device tabs.
   ============================================================ */

/* ---- 1280px ---- */
@media (max-width: 1360px) {
  .cg-technology-expertise-v2__inner { gap: var(--cg-te2-gap, clamp(28px, 3.2vw, 52px)); }
  .cg-technology-expertise-v2__figure { width: var(--cg-te2-figure-w, min(100%, 560px)); }
}

/* ---- small desktop / iPad landscape: keep two columns ---- */
@media (min-width: 901px) and (max-width: 1180px) {
  .cg-technology-expertise-v2 {
    padding-top: var(--cg-te2-pad-t, clamp(48px, 6vw, 76px));
    padding-bottom: var(--cg-te2-pad-b, clamp(48px, 6vw, 76px));
  }
  .cg-technology-expertise-v2__inner {
    grid-template-columns:
      minmax(0, var(--cg-te2-col-visual, 44fr))
      minmax(0, var(--cg-te2-col-content, 56fr));
    gap: var(--cg-te2-gap, 30px);
  }
  .cg-technology-expertise-v2__title { font-size: clamp(28px, 3.6vw, 38px); }
  .cg-technology-expertise-v2__text { font-size: 14.5px; line-height: 1.66; }
  .cg-technology-expertise-v2__visual { padding-bottom: clamp(14px, 2vw, 24px); }
  .cg-technology-expertise-v2__image { aspect-ratio: var(--cg-te2-image-ratio, 4 / 3.4); }
  .cg-technology-expertise-v2__badge {
    width: var(--cg-te2-badge-w, clamp(146px, 17vw, 176px));
    padding: var(--cg-te2-badge-pad, 16px);
    left: var(--cg-te2-badge-x, -16px);
    bottom: var(--cg-te2-badge-y, 22px);
  }
  .cg-technology-expertise-v2__badge-text { font-size: 10.5px; line-height: 1.66; letter-spacing: 0.1em; }
  .cg-technology-expertise-v2__ghost { font-size: clamp(18px, 2.6vw, 26px); }
  .cg-technology-expertise-v2__features {
    gap: var(--cg-te2-card-row-gap, 12px) var(--cg-te2-card-col-gap, 12px);
  }
  .cg-technology-expertise-v2__feature {
    padding: var(--cg-te2-card-pad, 15px);
    gap: var(--cg-te2-card-icon-gap, 12px);
  }
  .cg-technology-expertise-v2__feature-icon {
    width: var(--cg-te2-icon-box, 40px);
    height: var(--cg-te2-icon-box, 40px);
    border-radius: var(--cg-te2-icon-radius, 9px);
  }
  .cg-technology-expertise-v2__feature-title { font-size: 14.5px; }
  .cg-technology-expertise-v2__feature-text { font-size: 12.5px; margin-top: var(--cg-te2-card-text-gap, 7px); }
  .cg-technology-expertise-v2__cta {
    gap: var(--cg-te2-cta-gap, 16px);
    padding: var(--cg-te2-cta-pad, 14px 16px);
  }
  .cg-technology-expertise-v2__cta-text {
    padding-left: 16px;
    font-size: 12.5px;
  }
  .cg-technology-expertise-v2__cta-btn { padding: var(--cg-te2-btn-pad, 13px 18px); font-size: 13px; gap: 10px; }
  .cg-technology-expertise-v2__cta-value { font-size: 22px; }
  .cg-technology-expertise-v2__dots { display: none; }
}

/* ---- iPad portrait and below: stack, copy first ---- */
@media (max-width: 900px) {
  .cg-technology-expertise-v2__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--cg-te2-gap, clamp(44px, 7vw, 64px));
  }
  /* copy leads on narrow screens, the photograph closes the section */
  .cg-technology-expertise-v2__content { order: 1; }
  .cg-technology-expertise-v2__visual { order: 2; }

  .cg-technology-expertise-v2__text { max-width: var(--cg-te2-text-max, 68ch); }

  .cg-technology-expertise-v2__visual {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0 clamp(70px, 12vw, 104px);
    width: 100%;
  }
  .cg-technology-expertise-v2__figure {
    width: var(--cg-te2-figure-w, min(84%, 520px));
    margin: 0 0 0 auto;
  }
  .cg-technology-expertise-v2__image { aspect-ratio: var(--cg-te2-image-ratio, 4 / 3.2); }
  .cg-technology-expertise-v2__shape {
    left: -10%;
    top: -5%;
    width: 70%;
    height: 96%;
  }
  .cg-technology-expertise-v2__badge {
    left: var(--cg-te2-badge-x, -18px);
    bottom: var(--cg-te2-badge-y, 26px);
    width: var(--cg-te2-badge-w, clamp(160px, 26vw, 196px));
  }
  .cg-technology-expertise-v2__ghost { font-size: clamp(20px, 3.6vw, 30px); }
  .cg-technology-expertise-v2__dots { display: none; }
}

/* ---- mobile: single column everywhere ---- */
@media (max-width: 640px) {
  .cg-technology-expertise-v2 {
    padding-top: var(--cg-te2-pad-t, 56px);
    padding-bottom: var(--cg-te2-pad-b, 64px);
  }
  .cg-technology-expertise-v2__inner { gap: var(--cg-te2-gap, 40px); }
  .cg-technology-expertise-v2__eyebrow { gap: var(--cg-te2-eyebrow-gap, 14px); letter-spacing: 0.24em; }
  .cg-technology-expertise-v2__title { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.14; }
  .cg-technology-expertise-v2__text { font-size: 15px; line-height: 1.7; }

  .cg-technology-expertise-v2__features {
    gap: var(--cg-te2-card-row-gap, 12px) var(--cg-te2-card-col-gap, 12px);
    margin-top: var(--cg-te2-features-gap, 28px);
  }
  .cg-technology-expertise-v2__feature { padding: var(--cg-te2-card-pad, 16px); }

  /* the strip stacks rather than squeezing three items into one row */
  .cg-technology-expertise-v2__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--cg-te2-cta-gap, 16px);
    margin-top: var(--cg-te2-cta-top, 12px);
    padding: var(--cg-te2-cta-pad, 20px 18px);
  }
  .cg-technology-expertise-v2__cta-text {
    max-width: none;
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--cg-te2-cta-rule, rgba(11, 20, 56, 0.12));
    width: 100%;
  }
  .cg-technology-expertise-v2__cta-btn { width: 100%; justify-content: center; }

  /* photo goes full width; decoration is trimmed back */
  .cg-technology-expertise-v2__visual {
    max-width: none;
    padding-bottom: 8px;
  }
  .cg-technology-expertise-v2__figure { width: var(--cg-te2-figure-w, 100%); margin: 0; }
  .cg-technology-expertise-v2__image { aspect-ratio: var(--cg-te2-image-ratio, 4 / 3.4); }
  .cg-technology-expertise-v2__shape {
    left: -16%;
    top: 12%;
    width: 60%;
    height: 78%;
  }
  .cg-technology-expertise-v2__dots { display: none; }
  .cg-technology-expertise-v2__badge {
    left: var(--cg-te2-badge-x, 12px);
    bottom: var(--cg-te2-badge-y, 14px);
    width: var(--cg-te2-badge-w, 152px);
    padding: var(--cg-te2-badge-pad, 16px);
  }
  .cg-technology-expertise-v2__badge-text { font-size: 10.5px; line-height: 1.66; letter-spacing: 0.1em; }
  .cg-technology-expertise-v2__ghost { font-size: 20px; }
  .cg-technology-expertise-v2__ghost-rule { margin-top: 10px; }
}

/* ---- narrow phones ---- */
@media (max-width: 380px) {
  .cg-technology-expertise-v2__title { font-size: 25px; }
  .cg-technology-expertise-v2__feature {
    gap: var(--cg-te2-card-icon-gap, 12px);
    padding: var(--cg-te2-card-pad, 15px);
  }
  .cg-technology-expertise-v2__feature-icon {
    width: var(--cg-te2-icon-box, 40px);
    height: var(--cg-te2-icon-box, 40px);
  }
  .cg-technology-expertise-v2__badge {
    width: var(--cg-te2-badge-w, 152px);
    padding: var(--cg-te2-badge-pad, 16px);
    left: var(--cg-te2-badge-x, 8px);
  }
  .cg-technology-expertise-v2__badge-text { font-size: 10.5px; letter-spacing: 0.1em; }
  .cg-technology-expertise-v2__ghost { font-size: 18px; }
}

/* ------------------------------------------------------------
   5 · EDITOR-ONLY PLACEHOLDER
   ------------------------------------------------------------ */

.cg-technology-expertise-v2__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 40px 20px;
  font-family: var(--cg-te2-font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--cg-te2-navy-soft);
}
