/* ---------------------------------------------
   DiPStrategy -- E-Commerce Page
   style/ecommerce.css
   --------------------------------------------- */

/* --- HERO --- */
.ec-top-section {
  position: relative;
  width: 100%;
  background-color: var(--navy);
  overflow: hidden;
  padding-bottom: 0px;
}

.ec-top-pattern {
  position: absolute; inset: 0;
  background-image: url('../assets/pattern-01.png');
  background-repeat: repeat;
  opacity: 0.5; z-index: 0;
  pointer-events: none;
}

/* -- Hero image far: layer paling belakang, posisi lebih atas -- */
.ec-hero-img-far {
  position: absolute;
  top: 3%;
  
  width: 48%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
  object-position: top left;
  opacity: 0.85;
  will-change: transform;
}

.ec-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.55) 20%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0) 70%
  );
  z-index: 3; pointer-events: none;
}

/* -- Hero image: bottom left -- */
.ec-hero-img {
  position: absolute;
  bottom: 0; left: 0;
  width: 40%; height: auto;
  z-index: 5;
  pointer-events: none;
  object-fit: contain;
  object-position: bottom left;
  will-change: transform;
}

.ec-hero-content {
  position: relative; z-index: 10;
  padding: 180px 56px 60px;
  padding-left: calc(30% + 56px);
}

.ec-accent-line {
  width: 160px; height: 4px;
  background: var(--lime);
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.6s 0.2s forwards;
}

.ec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.6s 0.3s forwards;
}

.ec-label-star {
  width: 14px; height: 14px;
  animation: spin 12s linear infinite; flex-shrink: 0;
}

.ec-headline {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.0;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.7s 0.4s forwards;
}

.ec-headline .hl-1 {
  display: block;
  font-weight: 200;
  font-size: clamp(28px, 3.5vw, 60px);
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}

.ec-headline .hl-2 {
  display: block;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 72px);
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: uppercase;
}

.ec-headline .hl-3 {
  display: block;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 72px);
  letter-spacing: -0.04em;
  color: #DEFF2D;
  text-transform: uppercase;
}

.ec-subtext {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 560px; margin-bottom: 36px;
  opacity: 0; animation: fadeUp 0.7s 0.5s forwards;
}

.ec-cta-group {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 56px;
  opacity: 0; animation: fadeUp 0.7s 0.6s forwards;
}

.ec-cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #093564; background: #DEFF2D;
  border: none; border-radius: 999px;
  padding: 14px 28px; text-decoration: none;
  cursor: pointer; transition: background 0.25s, transform 0.2s;
}

.ec-cta-primary:hover { background: #f0ff50; transform: translateY(-2px); }

.ec-cta-secondary {
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 13px;
  color: rgba(255,255,255,0.55); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}

.ec-cta-secondary:hover { color: #DEFF2D; }

/* Anchor strip */
.ec-anchor-strip {
  position: relative; z-index: 10;
  display: flex; align-items: center;
  padding: 0 56px;
  padding-left: calc(30% + 56px);
  opacity: 0; animation: fadeUp 0.7s 0.7s forwards;
}

.ec-anchor-item {
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); text-decoration: none;
  padding: 16px 24px 16px 0;
  border-right: 1px solid rgba(255,255,255,0.12);
  margin-right: 24px;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}

.ec-anchor-item:last-child { border-right: none; margin-right: 0; }
.ec-anchor-item:hover { color: #DEFF2D; }
.ec-anchor-item svg { width: 12px; height: 12px; }

/* --- UNTUK SIAPA --- */
.ec-us-section {
  position: relative;
  background-color: #E8357A;
  padding: 96px 56px; overflow: visible;
}

.ec-us-pattern {
  position: absolute; inset: 0;
  background-image: url('../assets/pattern-01.png');
  background-repeat: repeat;
  opacity: 0.15; z-index: 0; pointer-events: none;
}

.ec-us-inner { position: relative; z-index: 1; overflow: hidden; }

/* Figure: kanan atas, sedikit overlap naik ke section hero di atasnya.
   Section ini & ec-top-section sengaja tidak diberi z-index sendiri,
   supaya tidak membentuk stacking context yang saling mengunci --
   z-index pada elemen gambar dibandingkan langsung lintas section. */
.ec-us-figure {
  position: absolute;
  right: 56px;
  top: -60px;
  width: 30%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
  object-position: top right;
}

/* Base (global) -- dipakai juga oleh Yang Dibangun */
.ec-section-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #093564;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}

.ec-section-star {
  width: 14px; height: 14px;
  animation: spin 12s linear infinite; flex-shrink: 0;
}

.ec-section-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: clamp(30px, 3vw, 85px);
  color: #093564; letter-spacing: -0.02em;
  margin-bottom: 16px; line-height: 1.2;
}

.ec-opening {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; 
  font-size: clamp(15px, 1.3vw, 16px);
  line-height: 1.35;
  color: black;
  max-width: 640px; margin-bottom: 48px;
}

/* Override khusus untuk section Untuk Siapa (background pink -> teks putih) */
.ec-us-section .ec-section-label { color: rgba(255,255,255,0.9); }
.ec-us-section .ec-section-star { stroke: #093564 !important; }
.ec-us-section .ec-section-star g { stroke: #093564; }
.ec-us-section .ec-section-headline { color: #fff; }
.ec-us-section .ec-opening { color: rgba(255,255,255,0.85); }

/* --- STAT DIVIDER (slim, lime) --- */
.ec-sd-section {
  background: #DEFF2D;
  padding: 56px 56px;
  overflow: hidden;
}

.ec-sd-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ec-sd-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(9,53,100,0.85);
}

.ec-sd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ec-sd-card {
  padding: 0 40px 0 0;
}

.ec-sd-card.has-border {
  border-right: 1px solid rgba(9,53,100,0.15);
  margin-right: 40px;
}

.ec-sd-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 64px);
  color: #093564;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.ec-sd-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 11px;
  color: #093564;
  text-transform: uppercase; letter-spacing: 0.1em;
  display: block; margin-bottom: 12px;
  line-height: 1.4;
}

.ec-sd-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; 
  font-size: clamp(15px 1.3vw 18px); 
  line-height: 1.35;
  color: rgba(9,53,100,0.85);
}

/* 4 cards, 1 baris 4 kolom -- accordion vertikal */
.ec-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: start;
}

.ec-us-card {
  background: var(--card-color, #fff);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.ec-us-card.active {
  box-shadow: 0 4px 24px rgba(9,53,100,0.12);
}

.ec-us-card-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.ec-us-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--card-text, #093564);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
}

.ec-us-card-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--card-text, #093564);
  position: relative;
  margin-top: 2px;
}

.ec-us-card-icon svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transition: opacity 0.25s;
}

.ec-us-card-icon .icon-minus { opacity: 0; }
.ec-us-card-icon .icon-plus  { opacity: 1; }

.ec-us-card.active .ec-us-card-icon .icon-minus { opacity: 1; }
.ec-us-card.active .ec-us-card-icon .icon-plus  { opacity: 0; }

.ec-us-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ec-us-card-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--card-text, #093564);
  opacity: 0.85;
  padding: 0 24px 28px;
  margin: 0;
}

/* --- YANG DIBANGUN: 30/70 sticky + 6 cards --- */
.ec-yb-section {
  position: relative;
  background-color: #f0f0e6;
  padding: 64px 56px 96px; overflow: hidden;
}

.ec-yb-pattern {
  position: absolute; inset: 0;
  background-image: url('../assets/pattern-01.png');
  background-repeat: repeat;
  opacity: 0.2; z-index: 0; pointer-events: none;
}

.ec-yb-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 64px; align-items: start;
}

.ec-yb-left { position: sticky; top: 100px; }

.ec-yb-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(30px, 2.5vw, 85px);
  color: #093564; letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 16px;
}

.ec-yb-headline strong { font-weight: 900; }

.ec-yb-subtext {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; 
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.35;
  color: rgba(9,53,100,0.75);
}

.ec-yb-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.ec-yb-card {
  background: #fff; border-radius: 12px; padding: 28px;
  box-shadow: 0 2px 12px rgba(9,53,100,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.ec-yb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(9,53,100,0.1);
}

.ec-yb-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 10px;
  letter-spacing: 0.2em;
  color: #DEFF2D; background: #093564;
  display: inline-block; padding: 2px 8px;
  border-radius: 999px; margin-bottom: 12px;
}

.ec-yb-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px;
  color: #093564; margin-bottom: 8px;
}

.ec-yb-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; font-size: 12.5px; line-height: 1.7;
  color: rgba(9,53,100,0.6);
}

/* --- REKAM JEJAK --- */
.ec-rj-section {
  position: relative;
  background: #04172e;
  padding: 96px 56px; overflow: hidden;
}

.ec-rj-pattern {
  position: absolute; inset: 0;
  background-image: url('../assets/pattern-01.png');
  background-repeat: repeat;
  opacity: 0.06; z-index: 0; pointer-events: none;
}

.ec-rj-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 64px; align-items: start;
}

.ec-rj-left { position: sticky; top: 100px; }

.ec-rj-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #DEFF2D;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}

.ec-rj-star {
  width: 14px; height: 14px;
  animation: spin 12s linear infinite;
}

.ec-rj-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200; font-size: clamp(22px, 2.5vw, 36px);
  color: #fff; letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 20px;
}

.ec-rj-headline strong { font-weight: 900; }

.ec-rj-opening {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; font-size: 13px; line-height: 1.75;
  color: rgba(255,255,255,0.45);
}

.ec-rj-diff-grid {
  display: flex; flex-direction: column; gap: 16px;
}

.ec-rj-diff-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 28px;
  transition: background 0.25s, border-color 0.25s;
}

.ec-rj-diff-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.ec-rj-diff-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px;
  color: #DEFF2D; margin-bottom: 10px; line-height: 1.35;
}

.ec-rj-diff-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; font-size: 13px; line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

/* --- CTA --- */
.ec-cta-section {
  background: #080808;
  padding: 80px 56px;
  position: relative; overflow: hidden; text-align: center;
}

.ec-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/pattern-01.png');
  background-repeat: repeat;
  opacity: 0.04; pointer-events: none;
}

.ec-cta-inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}

.ec-cta-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #DEFF2D;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}

.ec-cta-star { width: 14px; height: 14px; animation: spin 12s linear infinite; }

.ec-cta-headline { font-family: 'Montserrat', sans-serif; margin-bottom: 12px; }
.ec-cta-headline .hl-light {
  display: block; font-weight: 200;
  font-size: clamp(22px, 2.8vw, 40px);
  color: #fff; letter-spacing: -0.02em;
}
.ec-cta-headline .hl-bold {
  display: block; font-weight: 900;
  font-size: clamp(30px, 2.8vw, 85px);
  color: #DEFF2D; letter-spacing: -0.03em;
}

.ec-cta-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; 
  font-size: clamp(14px 1.3vw 18px);
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px; line-height: 1.35;
}

.ec-cta-form {
  display: flex; flex-direction: column; gap: 12px; text-align: left;
}

.ec-cta-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.ec-cta-field { display: flex; flex-direction: column; gap: 6px; }

.ec-cta-field-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.ec-cta-input,
.ec-cta-textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 12px 16px;
  color: rgba(255,255,255,0.88);
  font-family: 'Barlow', sans-serif; font-size: 14px;
  outline: none; transition: border-color 0.2s; width: 100%;
}

.ec-cta-input::placeholder,
.ec-cta-textarea::placeholder { color: rgba(255,255,255,0.22); }
.ec-cta-input:focus,
.ec-cta-textarea:focus { border-color: rgba(222,255,45,0.4); }

.ec-cta-textarea { resize: none; height: 90px; line-height: 1.6; }

/* Checkbox toggles */
.ec-checkbox-group {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.ec-checkbox-btn {
  font-family: 'Barlow', sans-serif;
  font-weight: 500; font-size: 12px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; color: rgba(255,255,255,0.55);
  cursor: pointer; transition: all 0.2s;
  user-select: none;
}

.ec-checkbox-btn.selected {
  background: rgba(222,255,45,0.15);
  border-color: #DEFF2D;
  color: #DEFF2D;
}

.ec-cta-submit {
  background: #DEFF2D; border: none; border-radius: 8px;
  padding: 15px 28px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #080808; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%; margin-top: 4px;
}

.ec-cta-submit:hover { background: #f0ff50; transform: translateY(-1px); }

.ec-cta-microcopy {
  font-family: 'Barlow', sans-serif;
  font-weight: 300; font-size: 11px;
  color: rgba(255,255,255,0.2);
  text-align: center; margin-top: 8px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .ec-us-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .ec-hero-img       { display: none; }
  .ec-hero-img-far   { display: none; }
  .ec-hero-content   { padding: 140px 24px 40px; }
  .ec-anchor-strip   { padding: 0 24px; flex-direction: column; gap: 0; }
  .ec-anchor-item    { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 12px 0; margin-right: 0; }
  .ec-us-section     { padding: 64px 24px; }
  .ec-us-figure      { display: none; }
  .ec-sd-section     { padding: 48px 24px; }
  .ec-sd-grid        { grid-template-columns: 1fr; gap: 32px; }
  .ec-sd-card        { padding: 0; }
  .ec-sd-card.has-border { border-right: none; margin-right: 0; border-bottom: 1px solid rgba(9,53,100,0.15); padding-bottom: 32px; }
  .ec-us-grid        { grid-template-columns: 1fr; }
  .ec-yb-section     { padding: 48px 24px 64px; }
  .ec-yb-inner       { grid-template-columns: 1fr; gap: 40px; }
  .ec-yb-left        { position: static; }
  .ec-yb-grid        { grid-template-columns: 1fr; }
  .ec-rj-section     { padding: 64px 24px; }
  .ec-rj-inner       { grid-template-columns: 1fr; gap: 40px; }
  .ec-rj-left        { position: static; }
  .ec-cta-section    { padding: 64px 24px; }
  .ec-cta-row        { grid-template-columns: 1fr; }
}

/* --- SAMPLE WORK (copied/adapted from Corporate Website) --- */
.ec-sw-section {
  position: relative;
  background-color: #f0f0e6;
  padding: 96px 56px;
  overflow: hidden;
}

.ec-sw-pattern {
  position: absolute; inset: 0;
  background-image: url('../assets/pattern-01.png');
  background-repeat: repeat;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.ec-sw-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

/* -- Section header -- */
.ec-sw-header {
  text-align: center;
  margin-bottom: 32px;
}

.ec-sw-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #093564;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ec-sw-star {
  width: 14px; height: 14px;
  animation: spin 12s linear infinite;
  flex-shrink: 0;
}

.ec-sw-subtitle {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 2.5vw, 85px);
  color: #093564;
  letter-spacing: -0.02em;
}

/* -- Intro text -- */
.ec-sw-intro {
  margin: 0 auto;
  padding: 0 10% 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(9,53,100,0.1);
  text-align: center;
}

.ec-sw-intro-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(15px 1.3vw 18px);
  line-height: 1.35;
  color: rgba(9,53,100,0.75);
  margin-bottom: 16px;
}

.ec-sw-intro-text:last-child { margin-bottom: 0; }

/* -- Carousel -- */
.ec-sw-carousel {
  position: relative;
  overflow: hidden;
}

.ec-sw-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* -- Card -- */
.ec-sw-card {
  flex: 0 0 calc((100% - 48px) / 3);
  cursor: pointer;
  position: relative;
}

.ec-sw-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.ec-sw-card-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.ec-sw-card:hover .ec-sw-card-img {
  transform: scale(1.04);
  filter: brightness(0.85);
}

/* Hover overlay */
.ec-sw-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.ec-sw-card:hover .ec-sw-card-overlay { opacity: 1; }

.ec-sw-card-overlay svg {
  width: 40px; height: 40px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Caption */
.ec-sw-card-caption {
  padding: 12px 4px 0;
}

.ec-sw-card-client {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #093564;
  display: block;
  margin-bottom: 2px;
}

.ec-sw-card-project {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: rgba(9,53,100,0.55);
}

/* -- Dots -- */
.ec-sw-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.ec-sw-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(9,53,100,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.ec-sw-dot.active {
  background: #093564;
  width: 20px;
  border-radius: 3px;
}

/* -- Lightbox -- */
.ec-sw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ec-sw-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.ec-sw-lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,23,46,0.92);
  backdrop-filter: blur(8px);
}

.ec-sw-lb-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 90vw;
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.95) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.ec-sw-lightbox.open .ec-sw-lb-content {
  transform: scale(1) translateY(0);
}

.ec-sw-lb-img {
  width: 100%;
  max-height: 65vh;
  object-fit: cover;
  display: block;
}

.ec-sw-lb-caption {
  background: #05213F;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ec-sw-lb-client {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.ec-sw-lb-project {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.ec-sw-lb-close {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.ec-sw-lb-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.ec-sw-lb-close svg { width: 15px; height: 15px; }

/* -- Responsive -- */
@media (max-width: 900px) {
  .ec-sw-section { padding: 64px 24px; }
  .ec-sw-intro   { padding: 0 4% 40px; }
  .ec-sw-card    { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 480px) {
  .ec-sw-card { flex: 0 0 100%; }
}
