/* Planes: los casos se recorren como un índice, la consulta tiene un botón propio. */
#planes .plan-grid {
  align-items: stretch;
  gap: clamp(16px, 2.2vw, 34px);
}

#planes .plan-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: clamp(24px, 3vw, 43px);
  color: #132f3d;
  background: #fffef8;
  border: 1px solid #c9d7d4;
  border-top: 3px solid #538e86;
  border-radius: 3px 23px 3px 3px;
  box-shadow: none;
}
#planes .plan-pro { border-top-color: #263e4a; }
#planes .plan-tag { color: #30665e; }
#planes .plan-card h3,
#planes .plus-card h3 {
  font: 400 clamp(2.6rem, 3.9vw, 4rem)/1.05 "Landing Editorial", Georgia, serif;
  letter-spacing: -.026em;
}
#planes .plan-card h3 { color: #132f3d; }
#planes .plan-price { color: #132f3d; }
#planes .plan-price small,
#planes .plan-lead { color: #415965; }
#planes .plan-card ul { margin-top: 7px; margin-bottom: 24px; }
#planes .plan-card li { border-color: #dce5df; }
#planes .plan-card li::before { background: #3c7667; width: 7px; height: 7px; }

#planes .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #80b8a6;
  background: #a3e3cf;
  color: #102c2c;
  box-shadow: none;
  text-decoration: none;
  font: 680 .9rem/1.3 Inter, sans-serif;
  transform: none;
}

#planes .plan-card > .button {
  align-self: flex-start;
  margin-top: auto;
}
#planes .button::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 14px;
  flex: none;
  border: 1.6px solid currentColor;
  border-radius: 7px 7px 7px 1px;
  background: radial-gradient(circle at center, currentColor 1px, transparent 1.4px) center / 4px 4px repeat-x;
}
#planes .button-disc {
  flex: none;
  width: 16px;
  height: auto;
  color: inherit;
  background: transparent;
  font: 460 1.18rem/1 Inter, sans-serif;
}

#planes .case-area {
  margin-top: 28px;
  padding-top: 0;
  border: 0;
}
#planes .case-area > p {
  margin: 0 0 7px;
  color: #3d615b;
  font: 700 .69rem/1.34 Inter, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#planes .case-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid #b7c9c2;
}
#planes .case-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #b7c9c2;
  border-radius: 0;
  color: #18383d;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
}
#planes .case-links .case-mark {
  flex: 0 0 1ch;
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #58746d;
  font: italic 400 1.08rem/1.3 "Landing Editorial", Georgia, serif;
}
#planes .case-links a > span:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  flex: 1;
  justify-content: space-between;
  align-items: baseline;
  gap: 3px 10px;
  font: 630 clamp(.98rem, 1.3vw, 1.18rem)/1.3 Inter, sans-serif;
  letter-spacing: -.025em;
}
#planes .case-links small {
  display: inline-block;
  margin: 0 0 0 auto;
  color: #37665e;
  font: 580 .77rem/1.5 Inter, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}
#planes .case-links a:focus-visible,
#planes .button:focus-visible {
  outline: 3px solid #176762;
  outline-offset: 3px;
}
#planes .plus-card .button:focus-visible { outline-color: #ffc565; }
#planes .plus-card {
  background: #102b37;
  border-radius: 3px 23px 3px 3px;
  color: #fffef8;
}
#planes .plus-card .plan-tag { color: #a3e3cf; }

@media (hover: hover) {
  #planes .button:hover { background: #bdf2de; border-color: #689f8f; }
  #planes .case-links a:hover { color: #075247; background: #f2f6ee; }
  #planes .case-links a:hover small { text-decoration: underline; text-underline-offset: 4px; }
}

@media (max-width: 820px) {
  #planes .plan-lead { min-height: 0; }
}
@media (max-width: 480px) {
  #planes .plan-card { padding: 24px 20px; }
  #planes .case-links a { min-height: 52px; }
}

/* Planes: producto, alcance y casos visuales */
#planes .plan-list-title {
  margin: 18px 0 0;
  color: #30665e;
  font: 800 .7rem/1.35 Inter, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#planes .plan-card ul { margin: 8px 0 24px; }
#planes .plan-card li { line-height: 1.48; }
#planes .case-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}
#planes .case-links a {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #e9efec;
  border: 1px solid #b7c9c2;
  border-radius: 4px 14px 4px 4px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
#planes .case-preview { display: block; aspect-ratio: 760 / 428; overflow: hidden; }
#planes .case-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
#planes .case-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  padding: 11px 12px;
  background: #fffef8;
  color: #18383d;
  font: 680 .76rem/1.3 Inter, sans-serif;
}
#planes .case-caption span:last-child { color: #37665e; white-space: nowrap; }
#planes .plan-common { max-width: 1040px; line-height: 1.6; }
@media (hover: hover) {
  #planes .case-links a:hover { transform: translateY(-3px); border-color: #367c6d; box-shadow: 0 10px 22px #102b371c; background: #fffef8; }
  #planes .case-links a:hover .case-caption span:last-child { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 480px) {
  #planes .case-links { gap: 9px; }
  #planes .case-caption { padding: 9px; font-size: .69rem; }
}
@media (max-width: 480px) { #planes .case-caption { display: block; line-height: 1.35; } #planes .case-caption span { display: block; } #planes .case-caption span + span { margin-top: 4px; } }
@media (max-width: 480px) { #planes .case-links a > .case-caption { display: block; padding: 9px; font: 680 .69rem/1.3 Inter, sans-serif; } #planes .case-links a > .case-caption span { display: block; } #planes .case-links a > .case-caption span + span { margin: 5px 0 0; } }
@media (max-width: 480px) { #planes .case-links a > span.case-caption:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font: 680 .72rem/1.25 Inter, sans-serif; } #planes .case-links a > span.case-caption:last-child span { margin: 0; } }
