/* =========================
   PROGRAMS SECTION
========================= */

.programs-section {
  position: relative;

  margin-top:60px;
  overflow: visible;

  padding:
    clamp(86px, 7vw, 132px)
    0
    clamp(76px, 6vw, 112px);

  background:
    radial-gradient(
      ellipse 50% 60% at 50% 40%,
      rgba(175, 71, 249, 0.5) 0%,
      rgba(144, 117, 241, 0.2) 38%,
      rgba(142, 81, 255, 0) 72%
    )
}

.programs-section__heading {
  max-width: 700px;
  margin: 0 auto clamp(42px, 3.4vw, 64px);
  padding-inline: 20px;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 21px;
  color: var(--lime);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.programs-section__heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 2.35vw, 45px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.section-description {
  margin: 21px 0 0;
  color: #756d84;
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 500;
  line-height: 1.55;
}
.programs-section::before {
  content: "";

  position: absolute;

  z-index: -1;

  top: -220px;
  right: -300px;

  width: 850px;
  height: 850px;

  pointer-events: none;

  background: radial-gradient(
    ellipse at center,
    rgba(202, 127, 255, 0.20) 0%,
    rgba(118, 81, 247, 0.10) 38%,
    transparent 72%
  );
}
/* =========================
   CAROUSEL
========================= */

.programs-carousel {
  --card-width: 500px;
  --card-half-width: 197.5px;
  --card-height: 500px;
  --card-gap: 60px;

  position: relative;
  width: 100%;
}

.programs-carousel__viewport {
  width: 100%;

  overflow: hidden;

  padding-block: 14px 24px;

  clip-path: inset(
    0
    max(0px, calc((100% - 1321px) / 2))
    0
    max(0px, calc((100% - 1321px) / 2))
  );
}

.programs-carousel__track {
  display: flex;
  align-items: center;
  gap: var(--card-gap);
  width: max-content;
  padding-inline: max(
    20px,
    calc(50vw - var(--card-half-width))
  );
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* =========================
   SINGLE PROGRAM CARD
========================= */

.program-card {
  --program-color: #c9e800;
  --program-soft: #f5ffd9;
  --program-dark: #819700;

  position: relative;

  display: flex;

  width: 395px;
  height: 400px;

  padding: 0;

  overflow: hidden;

  flex: 0 0 395px;
  flex-direction: column;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;

  color: #171126;
  background: #ffffff;

  box-shadow:
    0 8px 28px rgba(5, 0, 20, 0.18);

  opacity: 0.98;

  transform: scale(0.92);

  transform-origin: center;

  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.program-card.is-active {
  z-index: 2;

  opacity: 1;

  transform: scale(1);
  box-shadow:
    0 4px 15px rgba(255, 255, 255, 0.32),
    0 24px 52px rgba(255, 255, 255, 0.1);
}

/* =========================
   CATEGORY COLORS
========================= */

.program-card--home {
  --program-color: #c9e800;
  --program-soft: #f5ffd9;
  --program-dark: #c6e904;
}

.program-card--business {
  --program-color: #7651f7;
  --program-soft: #eee9ff;
  --program-dark: #5f3ed6;
}

.program-card--gas {
  --program-color: #ff8a26;
  --program-soft: #fff0e1;
  --program-dark: #df6600;
}
/* =========================
   IMAGE
========================= */

.program-card__media {
  position: relative;

  width: 100%;
  height: 138px;

  flex: 0 0 138px;

  overflow: visible;

  background: #eee;
}


.program-card__media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 450ms ease;
}


.program-card.is-active .program-card__media img {
  transform: scale(1.025);
}


/* =========================
   CATEGORY PILL
========================= */

.program-card__category {
  position: absolute;

  left: 18px;
  bottom: -12px;

  display: inline-flex;

  height: 23px;

  padding-inline: 12px;

  align-items: center;
  justify-content: center;

  border-radius: 8px;

  color: #171126;
  background: var(--program-color);

  font-size: 9px;
  font-weight: 800;

  line-height: 1;
  text-transform: uppercase;
}

/* =========================
   CATEGORY COLORS
========================= */

.program-card--home {
  --program-color: #c9e800;
  --program-soft: #f5ffd9;
  --program-dark: #819700;
}

.program-card--business {
  --program-color: #7651f7;
  --program-soft: #eee9ff;
  --program-dark: #5f3ed6;
}

.program-card--gas {
  --program-color: #ff8a26;
  --program-soft: #fff0e1;
  --program-dark: #df6600;
}


/* =========================
   FEATURED
========================= */

.program-card__badge {
  position: absolute;

  z-index: 4;

  top: 12px;
  left: 14px;

  display: inline-flex;

  height: 22px;

  padding-inline: 10px;

  align-items: center;
  gap: 5px;

  border-radius: 999px;

  color: #171126;
  background: var(--program-color);

  font-size: 8px;
  font-weight: 800;

  text-transform: uppercase;
}

.program-card__badge svg {
  display: none;
}


/* =========================
   TARIFF
========================= */

.program-card__tariff {
  position: absolute;

  z-index: 4;

  top: 12px;
  right: 14px;

  display: inline-flex;

  width: auto;
  height: 22px;

  padding-inline: 10px;

  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-size: 8px;
  font-weight: 800;
}


.program-card__tariff--fixed {
  color: #ffffff;
  background: #48c7e8;
}


.program-card__tariff--variable {
  color: #171126;
  background: #fcff49;
}

/* =========================
   MAIN CONTENT
========================= */

.program-card__top {
  display: block;

  padding:
    30px
    22px
    0;
}


/*
  Δεν θέλουμε πλέον το μεγάλο circle icon
  όπως στο παλιό template.
*/

.program-card__icon {
  display: none;
}


.program-card__heading {
  min-width: 0;
}


.program-card__heading h3 {
  margin: 0;

  color: #171126;

  font-size: 22px;
  font-weight: 800;

  letter-spacing: -0.035em;

  line-height: 1.15;
}

.program-card__heading p {
  margin: 12px 0 0;

  color: #655e70;

  font-size: 12px;
  font-weight: 500;

  line-height: 1.35;
}


/* =========================
   DETAILS
========================= */

.program-card__details {
  display: block;

  margin-top: 18px;

  padding-inline: 22px;
}


.program-card__details-left {
  display: none;
}


.program-card__details-right {
  display: flex;

  flex-direction: column;

  gap: 15px;
}


/* =========================
   PRICE
========================= */

.program-card__price-label {
  display: block;

  margin-bottom: 5px;

  color: #81798c;

  font-size: 10px;
  font-weight: 500;
}


.program-card__price-row {
  display: flex;

  align-items: flex-end;

  gap: 6px;
}


.program-card__price-row strong {
  color: #171126;

  font-size: 28px;
  font-weight: 700;

  letter-spacing: -0.06em;

  line-height: 0.95;
}


.program-card__price-unit {
  margin-bottom: 2px;

  color: #171126;

  font-size: 11px;
  font-weight: 800;
}

/* =========================
   BENEFITS
========================= */

.program-card__benefits {
  display: grid;

  gap: 12px;

  margin-top:12px;
  padding: 0;

  list-style: none;
}


.program-card__benefit {
  display: flex;

  align-items: center;

  gap: 7px;

  color: #5f586d;
  

  font-size: 11px;
  font-weight: 600;

  line-height: 1.25;
}


.program-card__benefit svg {
  width: 20px;
  height: 16px;

  flex: 0 0 16px;

  fill: none;

  stroke: #ffffff;

  stroke-width: 2.3;
  background: var(--program-color);
  border-radius: 25px;
}

/* =============================================================================
   CTA
   θα μπει πιο μετα 


.program-card__link {
  display: inline-flex;

  margin:
    auto
    22px
    20px;

  align-items: center;

  gap: 7px;

  align-self: flex-start;

  color: var(--program-dark);

  font-size: 11px;
  font-weight: 800;

  text-decoration: none;

  transition:
    transform 180ms ease,
    color 180ms ease;
}


.program-card__link:hover {
  color: var(--program-color);

  transform: translateX(3px);
}


.program-card__link span {
  font-size: 15px;
}========================= */

/* =========================
   ARROWS
========================= */

.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(23, 17, 38, 0.12);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  color: #171126;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(18, 8, 45, 0.1);
  transform: translateY(-50%);
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.carousel-arrow:hover:not(:disabled) {
  color: #171126;
  background: var(--lime);
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.carousel-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.carousel-arrow--prev {
  left: clamp(14px, 4vw, 74px);
}

.carousel-arrow--next {
  right: clamp(14px, 4vw, 74px);
}

/* =========================
   DOTS / ALL PROGRAMS
========================= */

.programs-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #d8d4e2;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dot.is-active {
  width: 22px;
  background: #7651f7;
}

.programs-section__all {
  display: flex;
  width: 266px;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin: 60px auto 0;
  padding: 0 24px;
  border-radius: 999px;
  color: #ffffff;
  background:rgba(71, 8, 82, 0.3);
  border: 1.5px solid rgba(208, 0, 249, 0.85);
  box-shadow: 0 12px 30px rgba(225, 32, 255, 0.16);
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}


.programs-section__all:hover {
  box-shadow: 0 10px 40px rgba(225, 32, 255, 0.28);
  transform: translateY(-3px);
}

.programs-section__all span {
  font-size: 18px;
  line-height: 1;
}


/* =========================================
   PROGRAMS — RESPONSIVE
   ΙΔΙΟ TEMPLATE / 10% ΜΙΚΡΟΤΕΡΟ
========================================= */

@media (max-width: 1100px) {

  /* inactive cards:
     desktop scale 0.92 × 0.90 = 0.828
  */

  .program-card {
    transform: scale(0.828);
    transform-origin: center center;
  }


  /* active card:
     desktop scale 1 × 0.90 = 0.90
  */

  .program-card.is-active {
    transform: scale(0.90);
    transform-origin: center center;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {

  /* ίδια ακριβώς κάρτα / ίδιο template */

  .program-card {
    transform: scale(0.828);
    transform-origin: center center;
  }


  .program-card.is-active {
    transform: scale(0.90);
    transform-origin: center center;
  }


  /* στο mobile κρύβουμε μόνο τα arrows */

  .carousel-arrow {
    display: none;
  }

}