@charset "UTF-8";
/**
 * @file
 * Phase card styles — desktop only (hidden <992px via stepper parent).
 * Figma: Normal 326×326 (26:1836), Expanded 579×543 (26:1871).
 *
 * Animation uses transform:scale on the outer card and counter-scale
 * on .vel-phase-card__content so text stays crisp during transition.
 */
/* ==========================================================================
   Base card — Figma 26:1836 (326×326)
   ========================================================================== */
.vel-phase-card {
  position: relative;
  width: 326px;
  height: 326px;
  border-radius: var(--vel-card-radius-lg); /* 40px */
  border: 1px solid var(--vel-border);
  box-shadow: var(--vel-shadow-sm);
  background: var(--vel-gradient-card-subtle), var(--vel-bg-white);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center center;
}

.vel-phase-card:hover {
  box-shadow: var(--vel-shadow-deep);
}

/* Content wrapper — counter-scales during animation, anchored top-left */
.vel-phase-card__content {
  position: relative;
  width: 326px;
  height: 326px;
  padding: 54px 40px 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.4s ease;
  transform-origin: top left;
}

/* Chevron button — top-right corner */
.vel-phase-card__chevron {
  position: absolute;
  top: 27px;
  right: 27px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  color: var(--vel-accent);
  cursor: pointer;
  transition: transform 0.4s ease;
  z-index: 2;
}

.vel-phase-card__chevron-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* Icon */
.vel-phase-card__icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

/* Phase + Title wrapper — mimics single text block from Figma */
.vel-phase-card__text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

/* Phase number: "Fase X:" */
.vel-phase-card__phase {
  font-family: var(--vel-font-heading);
  font-size: var(--vel-text-4xl); /* 48px */
  font-weight: 700;
  color: var(--vel-primary);
  line-height: 1; /* 48px — matches font-size so box fits text */
}

/* Title: "Adhesión", "Análisis técnico", etc. */
.vel-phase-card__title {
  font-family: var(--vel-font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--vel-secondary); /* #0085AC */
  line-height: var(--vel-leading-heading-sm); /* 36px */
  margin: 0;
}

/* Body text — truncated with ellipsis in collapsed state, fade-in on expand */
.vel-phase-card__body {
  font-family: var(--vel-font-body);
  font-size: var(--vel-text-lg); /* 18px */
  font-weight: 500;
  color: #6a7282;
  line-height: var(--vel-leading-snug); /* 24px */
  margin: 0;
  flex: 1 1 0;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 0.5s ease 0.2s, max-height 0.6s ease 0.2s;
  max-height: 48px; /* 2 lines × 24px line-height */
}

/* ==========================================================================
   Expanded state — Figma 26:1871 (579×543)
   ========================================================================== */
.vel-phase-card--expanded {
  position: absolute;
  width: 579px;
  height: 543px;
  box-shadow: var(--vel-shadow-deep);
  z-index: 10;
}

/* Content fills expanded card */
.vel-phase-card--expanded .vel-phase-card__content {
  width: 579px;
  height: 543px;
  padding: 54px 40px 40px;
  gap: 15px; /* Same as collapsed */
}

/* Chevron rotated 180° when expanded */
.vel-phase-card--expanded .vel-phase-card__chevron {
  transform: rotate(180deg);
}

/* Phase number larger when expanded */
.vel-phase-card--expanded .vel-phase-card__phase {
  font-size: 64px;
}

/* Body fully visible when expanded — fade in with delay */
.vel-phase-card--expanded .vel-phase-card__body {
  display: block;
  -webkit-line-clamp: unset;
  overflow-y: auto;
  opacity: 1;
  max-height: 500px;
}

/* Placeholder keeps space in the flex row while card is absolute */
.vel-phase-card__placeholder {
  width: 326px;
  height: 326px;
  flex-shrink: 0;
}
/*# sourceMappingURL=phase-card.css.map */
