/*
=========================================================
CLA VISUAL SHORTCODES
Add this ENTIRE section to the BOTTOM of style.css
=========================================================
*/

.cla-shortcode-section {
  position: relative;
  width: 100%;
}

.cla-shortcode-section .cla-section-intro {
  margin-inline: auto;
}

/* Keep shortcode sections full-width inside Elementor/text areas */
.elementor-widget-shortcode .cla-shortcode-section,
.elementor-shortcode .cla-shortcode-section,
.entry-content .cla-shortcode-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Feature strip when used away from the hero */
.cla-shortcode-feature-wrap {
  position: relative;
  z-index: 5;
  padding: 26px 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(49,168,255,.18), transparent 30%),
    linear-gradient(135deg,#04152f,#072451 55%,#0b3f7f);
}

.cla-shortcode-feature-strip {
  margin: 0 auto;
}

/* Service cards get a little more visual depth */
.cla-shortcode-section .cla-service-card {
  position: relative;
  overflow: hidden;
  min-height: 285px;
}

.cla-shortcode-section .cla-service-card::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -58px;
  top: -62px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(49,168,255,.15),rgba(49,168,255,0) 72%);
  pointer-events: none;
}

.cla-shortcode-section .cla-service-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--cla-blue),var(--cla-cyan));
  transform: scaleX(.28);
  transform-origin: left center;
  opacity: .35;
  transition: transform .25s ease,opacity .25s ease;
}

.cla-shortcode-section .cla-service-card:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Why CLA visual stat row */
.cla-shortcode-stat-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 24px 0;
}

.cla-shortcode-stat-row > div {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
}

.cla-shortcode-stat-row strong,
.cla-shortcode-stat-row span {
  display: block;
}

.cla-shortcode-stat-row strong {
  color: #fff;
  font-size: .95rem;
}

.cla-shortcode-stat-row span {
  color: rgba(255,255,255,.62);
  margin-top: 3px;
  font-size: .78rem;
}

/* Process visual connector */
.cla-shortcode-section .cla-process-grid {
  position: relative;
}

.cla-shortcode-section .cla-process-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 58px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(15,101,217,.08),
    rgba(15,101,217,.34),
    rgba(27,142,255,.34),
    rgba(15,101,217,.08)
  );
  z-index: 0;
}

.cla-shortcode-section .cla-process-step {
  z-index: 1;
  overflow: hidden;
}

.cla-shortcode-section .cla-process-step::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  top: -75px;
  right: -65px;
  border-radius: 50%;
  background: linear-gradient(135deg,rgba(15,101,217,.12),rgba(95,206,255,.03));
}

.cla-shortcode-section .cla-step-number {
  font-size: .78rem;
  letter-spacing: .12em;
}

/* Contact visual upgrades */
.cla-shortcode-cta-cards {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin: 24px 0;
}

.cla-shortcode-cta-cards > div {
  position: relative;
  padding: 17px 16px 17px 50px;
  border-radius: 17px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
}

.cla-shortcode-check {
  position: absolute;
  left: 15px;
  top: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0560bd;
  background: #fff;
  font-weight: 900;
}

.cla-shortcode-cta-cards strong,
.cla-shortcode-cta-cards small {
  display: block;
}

.cla-shortcode-cta-cards strong {
  color: #fff;
}

.cla-shortcode-cta-cards small {
  margin-top: 2px;
  color: rgba(255,255,255,.72);
}

.cla-shortcode-form-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--cla-line);
}

.cla-shortcode-form-heading h3 {
  margin: 2px 0 0;
}

.cla-shortcode-form-heading > div > span {
  display: block;
  color: var(--cla-blue);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cla-shortcode-form-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--cla-blue);
  background: linear-gradient(145deg,#eef7ff,#dcedff);
}

.cla-shortcode-form-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

/*
=========================================================
SERVICE SPOTLIGHT SHORTCODES
[cla_web_design]
[cla_social_media]
[cla_home_automation]
[cla_voip]
[cla_graphic_design]
=========================================================
*/

.cla-shortcode-spotlight {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 82px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%,rgba(66,183,255,.24),transparent 22%),
    radial-gradient(circle at 86% 25%,rgba(22,131,255,.20),transparent 22%),
    linear-gradient(135deg,#03142f,#072451 58%,#0b3f7f);
}

.cla-shortcode-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size: 42px 42px;
}

.cla-shortcode-spotlight-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 54px;
  align-items: center;
}

.cla-shortcode-spotlight-copy .cla-kicker {
  color: #8fd6ff;
}

.cla-shortcode-spotlight-copy h2 {
  max-width: 670px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem,4.5vw,4.7rem);
  line-height: 1;
  letter-spacing: -.052em;
}

.cla-shortcode-spotlight-copy h2 span {
  color: #31a8ff;
}

.cla-shortcode-lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.80);
  font-size: 1.08rem;
}

.cla-shortcode-feature-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px 16px;
  margin-top: 24px;
}

.cla-shortcode-feature-list div {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

.cla-shortcode-feature-list span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06366d;
  background: #8fd6ff;
  font-size: .78rem;
}

.cla-shortcode-visual {
  position: relative;
  min-height: 500px;
}

.cla-shortcode-main-device {
  position: absolute;
  left: 60px;
  top: 34px;
  width: calc(100% - 90px);
  max-width: 560px;
  padding: 13px;
  border-radius: 28px;
  background: linear-gradient(180deg,#212b38,#080e15);
  box-shadow: 0 35px 90px rgba(0,0,0,.34);
  transform: perspective(1000px) rotateY(-5deg) rotateX(1deg);
}

.cla-shortcode-main-device::after {
  content: "";
  position: absolute;
  left: -26px;
  right: -26px;
  bottom: -15px;
  height: 17px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg,#d9e2ea,#778797);
}

.cla-shortcode-device-bar {
  display: flex;
  gap: 6px;
  padding: 4px 4px 11px;
}

.cla-shortcode-device-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}

.cla-shortcode-screen {
  min-height: 330px;
  padding: 25px;
  border-radius: 20px;
  color: var(--cla-text);
  background: linear-gradient(180deg,#f9fcff,#eaf3fb);
}

.cla-shortcode-screen-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cla-text);
}

.cla-shortcode-screen-title svg {
  width: 28px;
  height: 28px;
  color: var(--cla-blue);
  stroke: currentColor;
  fill: none;
}

.cla-shortcode-chart {
  height: 155px;
  display: flex;
  align-items: flex-end;
  gap: 13px;
  padding: 25px 22px 0;
  margin-top: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbe7f1;
}

.cla-shortcode-chart span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg,#78d8ff,#0f65d9);
}

.cla-shortcode-mini-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 13px;
}

.cla-shortcode-mini-cards div {
  padding: 13px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #dbe7f1;
}

.cla-shortcode-mini-cards strong,
.cla-shortcode-mini-cards span {
  display: block;
}

.cla-shortcode-mini-cards strong {
  font-size: .85rem;
}

.cla-shortcode-mini-cards span {
  margin-top: 2px;
  color: var(--cla-muted);
  font-size: .72rem;
}

.cla-shortcode-floating-card {
  position: absolute;
  z-index: 3;
  padding: 16px 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg,rgba(10,48,100,.96),rgba(4,22,51,.96));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}

.cla-shortcode-floating-card strong,
.cla-shortcode-floating-card small {
  display: block;
}

.cla-shortcode-floating-card small {
  margin-top: 3px;
  color: rgba(255,255,255,.64);
}

.cla-shortcode-floating-card-one {
  left: 0;
  bottom: 50px;
  min-width: 215px;
}

.cla-shortcode-floating-card-two {
  right: 0;
  top: 12px;
  min-width: 190px;
}

.cla-shortcode-floating-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 13px;
  color: #9fddff;
  background: rgba(95,206,255,.12);
}

.cla-shortcode-floating-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
}

.cla-shortcode-progress {
  display: block;
  width: 100%;
  height: 8px;
  margin: 11px 0 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.cla-shortcode-progress i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#5fceff,#1b8eff);
}

/* Subtle service-specific accent differences while retaining the CLA palette */
.cla-shortcode-spotlight-social {
  background:
    radial-gradient(circle at 15% 22%,rgba(85,177,255,.25),transparent 22%),
    radial-gradient(circle at 86% 20%,rgba(63,128,255,.18),transparent 24%),
    linear-gradient(135deg,#03142f,#09295b 58%,#143f84);
}

.cla-shortcode-spotlight-automation {
  background:
    radial-gradient(circle at 76% 18%,rgba(64,218,255,.18),transparent 24%),
    linear-gradient(135deg,#03142f,#07355c 58%,#075474);
}

.cla-shortcode-spotlight-voip {
  background:
    radial-gradient(circle at 80% 22%,rgba(49,168,255,.23),transparent 23%),
    linear-gradient(135deg,#03142f,#082650 58%,#0b3f7f);
}

.cla-shortcode-spotlight-design {
  background:
    radial-gradient(circle at 18% 20%,rgba(90,188,255,.24),transparent 22%),
    radial-gradient(circle at 84% 20%,rgba(77,108,255,.18),transparent 24%),
    linear-gradient(135deg,#03142f,#0a2857 60%,#193f85);
}

@media (max-width:1100px) {
  .cla-shortcode-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .cla-shortcode-visual {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width:980px) {
  .cla-shortcode-feature-strip {
    grid-template-columns: repeat(2,1fr);
  }

  .cla-shortcode-feature-strip .cla-strip-item {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
}

@media (max-width:767px) {
  .cla-shortcode-spotlight {
    padding: 62px 0 72px;
  }

  .cla-shortcode-spotlight-copy h2 {
    font-size: clamp(2.35rem,12vw,3.6rem);
  }

  .cla-shortcode-feature-list,
  .cla-shortcode-stat-row,
  .cla-shortcode-cta-cards {
    grid-template-columns: 1fr;
  }

  .cla-shortcode-feature-strip {
    grid-template-columns: 1fr;
  }

  .cla-shortcode-visual {
    min-height: 410px;
  }

  .cla-shortcode-main-device {
    left: 18px;
    width: calc(100% - 34px);
    transform: none;
  }

  .cla-shortcode-screen {
    min-height: 270px;
    padding: 17px;
  }

  .cla-shortcode-chart {
    height: 118px;
    gap: 8px;
    padding-inline: 14px;
  }

  .cla-shortcode-floating-card-one {
    left: 0;
    bottom: 12px;
    transform: scale(.88);
    transform-origin: left bottom;
  }

  .cla-shortcode-floating-card-two {
    right: 0;
    top: 4px;
    transform: scale(.82);
    transform-origin: right top;
  }

  .cla-shortcode-section .cla-process-grid::before {
    display: none;
  }
}
